From: Daniel Stenberg Date: Thu, 25 Mar 2004 16:03:41 +0000 (+0000) Subject: get the version number from the new curlver.h header file X-Git-Tag: curl-7_11_2~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=593170d1de01f3e7a80ec3f8df368714fc32eed0;p=thirdparty%2Fcurl.git get the version number from the new curlver.h header file --- diff --git a/configure.ac b/configure.ac index 9d5d653a72..082281a46a 100644 --- a/configure.ac +++ b/configure.ac @@ -24,14 +24,14 @@ 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` +VERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' ${srcdir}/include/curl/curlver.h` AM_INIT_AUTOMAKE(curl,$VERSION) AC_MSG_CHECKING([curl version]) AC_MSG_RESULT($VERSION) dnl dnl we extract the numerical version for curl-config only -VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\(.*\)/\1/p' ${srcdir}/include/curl/curl.h` +VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\(.*\)/\1/p' ${srcdir}/include/curl/curlver.h` AC_SUBST(VERSIONNUM) dnl Solaris pkgadd support definitions