diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-07-30 15:10:26 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-07-30 15:10:26 +0000 |
commit | 9f7c634133b493ab2c869283ba51278244401e6d (patch) | |
tree | a826b5d486c6b9854f51afbc62225da13c2c042f | |
parent | da20d68a121e1d269c7f1db76fa46ebe5c931f9d (diff) |
add a check for 'ar' since the lack of it bit Jared Ingersoll
we might need to check for some other tools too that on Solaris are put
in those weird dirs...
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d99b3ab3a..edbc94ad9 100644 --- a/configure.ac +++ b/configure.ac @@ -17,9 +17,14 @@ AC_CONFIG_SRCDIR([lib/urldata.h]) AM_CONFIG_HEADER(lib/config.h src/config.h tests/server/config.h ) AM_MAINTAINER_MODE +dnl SED is needed by some of the tools AC_PATH_PROG( SED, sed, , $PATH:/usr/bin:/usr/local/bin) AC_SUBST(SED) +dnl AR is used by libtool, and try the odd Solaris path too +AC_PATH_PROG( AR, ar, , $PATH:/usr/bin:/usr/local/bin:/usr/ccs/bin) +AC_SUBST(AR) + dnl figure out the libcurl version VERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' ${srcdir}/include/curl/curl.h` AM_INIT_AUTOMAKE(curl,$VERSION) |