diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 13bc7e3f9..1dfc4c5e4 100644 --- a/configure.in +++ b/configure.in @@ -8,6 +8,11 @@ VERSION=`sed -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' ${srcdir}/include/cu AM_INIT_AUTOMAKE(curl,$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` +AC_SUBST(VERSIONNUM) + +dnl dnl Detect the canonical host and target build environment dnl |