aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-05-05 10:26:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-05-05 10:26:51 +0000
commit91018f4f24eb94d006b1b3a40b7f6e82453b0552 (patch)
treefd1b890081dc4821db45251585dd1ef7802702b8
parentfb086b57a81a06162ea7c3cb6563fc60cc15f4ef (diff)
AC_CHECK_TOOL is prolly better to use when checking for ar
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 05e36d106..b0a89f7cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,9 @@ if test "x$SED" = "xsed-was-not-found-by-configure"; then
fi
dnl AR is used by libtool, and try the odd Solaris path too
-AC_PATH_PROG( AR, ar,
+dnl we use AC_CHECK_TOOL since this should make a library for the target
+dnl platform
+AC_CHECK_TOOL(AR, ar,
ar-was-not-found-by-configure,
$PATH:/usr/bin:/usr/local/bin:/usr/ccs/bin)
AC_SUBST(AR)