mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
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:
parent
c22c258029
commit
ee4c1206de
@ -126,6 +126,8 @@ AM_INIT_AUTOMAKE
|
|||||||
AC_MSG_CHECKING([curl version])
|
AC_MSG_CHECKING([curl version])
|
||||||
AC_MSG_RESULT($CURLVERSION)
|
AC_MSG_RESULT($CURLVERSION)
|
||||||
|
|
||||||
|
AC_SUBST(CURLVERSION)
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl we extract the numerical version for curl-config only
|
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`
|
VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\(.*\)/\1/p' ${srcdir}/include/curl/curlver.h`
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# | (__| |_| | _ <| |___
|
# | (__| |_| | _ <| |___
|
||||||
# \___|\___/|_| \_\_____|
|
# \___|\___/|_| \_\_____|
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
|
# Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
#
|
#
|
||||||
# This software is licensed as described in the file COPYING, which
|
# This software is licensed as described in the file COPYING, which
|
||||||
# you should have received as part of this distribution. The terms
|
# you should have received as part of this distribution. The terms
|
||||||
@ -33,7 +33,7 @@ supported_features="@SUPPORT_FEATURES@"
|
|||||||
Name: libcurl
|
Name: libcurl
|
||||||
URL: http://curl.haxx.se/
|
URL: http://curl.haxx.se/
|
||||||
Description: Library to transfer files with ftp, http, etc.
|
Description: Library to transfer files with ftp, http, etc.
|
||||||
Version: @VERSION@
|
Version: @CURLVERSION@
|
||||||
Libs: -L${libdir} -lcurl @LIBS@
|
Libs: -L${libdir} -lcurl @LIBS@
|
||||||
Libs.private: @LIBCURL_LIBS@ @LIBS@
|
Libs.private: @LIBCURL_LIBS@ @LIBS@
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user