Displaying 1 result from an estimated 1 matches for "ac_path_tool".
2012 Apr 02
2
[Bug 1996] New: pkg-config tweaks for cross-compiling
...for the
architecture you're building for rather than the architecture you're
building on. The standard convention for this is to call it
HOST-pkg-config, e.g. "arm-linux-gnueabi-pkg-config", just as is
normally done for cross-compilers. This implies that configure.ac
should use AC_PATH_TOOL rather than AC_PATH_PROG. (Compare with pkg.m4
shipped by pkg-config itself, which uses AC_PATH_TOOL.)
contrib/Makefile has a similar issue, but this file isn't generated by
autoconf. Perhaps it should be, but in the meantime a simple
non-intrusive change is to make pkg-config a variable so...