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.
This commit is contained in:
Daniel Stenberg
2011-04-06 12:09:27 +02:00
parent c22c258029
commit ee4c1206de
2 changed files with 4 additions and 2 deletions

View File

@@ -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`