build: Make configure.ac for lock-obj-pub.native.h ideomatic
AcceptedPublic

Authored by Ericson2314 on Jun 19 2020, 2:45 PM.

Details

Reviewers
gniibe
Summary
  • AC_CHECK_TOOL will automatically prepend the right prefix
  • OBJDUMP (as opposed to OBJDUMP_FOR_BUILD) is already the one targetting the host platform, so we can just use that.
Test Plan

I ran ./configure in a cross environment provided by my distro, NixOS.
(nix-shell '<nixpkgs>' -A pkgsCross.aarch64-multiplatform.libgpgerror.)

Diff Detail

Repository
rE libgpg-error
Branch
configure-cross-ideoms (branched from master)
Lint
No Linters Available
Unit
No Unit Test Coverage
Ericson2314 created this revision.Jun 19 2020, 2:45 PM
gniibe accepted this revision.Dec 7 2020, 4:00 AM
gniibe added a subscriber: gniibe.

Thank you. I'm going to apply it, modifying a bit.

This revision is now accepted and ready to land.Dec 7 2020, 4:00 AM

Thank you! And for what it's worth, I think your version,