]> granicus.if.org Git - curl/commitdiff
AC_CHECK_TOOL is prolly better to use when checking for ar
authorDaniel Stenberg <daniel@haxx.se>
Wed, 5 May 2004 10:26:51 +0000 (10:26 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 5 May 2004 10:26:51 +0000 (10:26 +0000)
configure.ac

index 05e36d106f20cab2c680ba45c0fa2aeeada63f3b..b0a89f7cbf94d71ff40cc4d2cec408218e7c2438 100644 (file)
@@ -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)