aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-04-06 12:09:27 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-04-06 12:09:27 +0200
commitee4c1206de9ab08054b48b675fb049e64066deec (patch)
treee849a744dea506ac2b60b1274c3b3c6ae18e8c9a /configure.ac
parentc22c258029101f451a7af3eab47e96d4f648ef29 (diff)
libcurl.pc: version number fix
This hasn't show the version number correctly since the $VERSION change in the configure, and now it works again.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 628666ba8..08f30fa90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,6 +126,8 @@ AM_INIT_AUTOMAKE
AC_MSG_CHECKING([curl version])
AC_MSG_RESULT($CURLVERSION)
+AC_SUBST(CURLVERSION)
+
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/curlver.h`