diff options
author | Thomas Anderson <tanderson@caltech.edu> | 2015-04-15 03:42:32 +0000 |
---|---|---|
committer | Thomas Anderson <tanderson@caltech.edu> | 2015-04-15 03:42:32 +0000 |
commit | 2dc984dcaa28fd4df90fe011a58fd8fe329bc7a1 (patch) | |
tree | bec567eb15ae406d89a9f6ce79da6f3d65ab6821 | |
parent | 344264da2facfd2ffba4e2f567be6d2c14b6d63b (diff) | |
download | libtdevnc-2dc984dcaa28fd4df90fe011a58fd8fe329bc7a1.tar.gz libtdevnc-2dc984dcaa28fd4df90fe011a58fd8fe329bc7a1.zip |
configure.ac: Use AC_CHECK_TOOL for cross-compiling support.
When cross-compiling the ar program has the appropriate prefix prepended.
Respect that here and have autotools autodetect the appropriate tool.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index bcf5128..3069eed 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ test "x$GCC" = "xyes" && CFLAGS="$CFLAGS -Wall" AC_PROG_MAKE_SET AC_LIBTOOL_WIN32_DLL AC_PROG_LIBTOOL -AC_PATH_PROG([AR], [ar], [/usr/bin/ar], +AC_CHECK_TOOL([AR], [ar], [/usr/bin/ar], [$PATH:/usr/ccs/bin]) # Options |