summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Anderson <tanderson@caltech.edu>2015-04-15 03:42:32 +0000
committerThomas Anderson <tanderson@caltech.edu>2015-04-15 03:42:32 +0000
commit2dc984dcaa28fd4df90fe011a58fd8fe329bc7a1 (patch)
treebec567eb15ae406d89a9f6ce79da6f3d65ab6821
parent344264da2facfd2ffba4e2f567be6d2c14b6d63b (diff)
downloadlibtdevnc-2dc984dc.tar.gz
libtdevnc-2dc984dc.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.ac2
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