Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
gnunet
gnurl
0000-gnurl-fix-version-in-pc-file.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0000-gnurl-fix-version-in-pc-file.patch of Package gnurl
diff --git a/configure.ac b/configure.ac index eae012514..3090b5f77 100755 --- a/configure.ac +++ b/configure.ac @@ -122,13 +122,13 @@ AC_SUBST([AR]) AC_SUBST(libext) dnl figure out the libcurl version -CURLVERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)".*/\1/p' ${srcdir}/include/gnurl/curlver.h` +GNURLVERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)".*/\1/p' ${srcdir}/include/gnurl/curlver.h` XC_CHECK_PROG_CC XC_AUTOMAKE -AC_MSG_CHECKING([curl version]) -AC_MSG_RESULT($CURLVERSION) +AC_MSG_CHECKING([gnurl version]) +AC_MSG_RESULT($GNURLVERSION) -AC_SUBST(CURLVERSION) +AC_SUBST(GNURLVERSION) dnl dnl we extract the numerical version for curl-config only @@ -3044,7 +3044,7 @@ XC_AMEND_DISTCLEAN([lib src tests/unit tests/server tests/libtest docs/examples] AC_MSG_NOTICE([Configured to build gnurl/libgnurl: - curl version: ${CURLVERSION} + gnurl version: ${GNURLVERSION} Host setup: ${host} Install prefix: ${prefix} Compiler: ${CC} diff --git a/gnurl-config.in b/gnurl-config.in index 07bcefbf6..167e1e199 100644 --- a/gnurl-config.in +++ b/gnurl-config.in @@ -95,7 +95,7 @@ while test $# -gt 0; do ;; --version) - echo libgnurl @CURLVERSION@ + echo libgnurl @GNURLVERSION@ exit 0 ;; @@ -114,7 +114,7 @@ while test $# -gt 0; do # silent success exit 0 else - echo "requested version $checkfor is newer than existing @CURLVERSION@" + echo "requested version $checkfor is newer than existing @GNURLVERSION@" exit 1 fi ;; diff --git a/packages/vms/build_libcurl_pc.com b/packages/vms/build_libcurl_pc.com index 97e6ae643..8f99b0797 100644 --- a/packages/vms/build_libcurl_pc.com +++ b/packages/vms/build_libcurl_pc.com @@ -176,7 +176,7 @@ $ write pco "supported_features=""SSL IPv6 libz NTLM""" $ endif $ goto pc_file_loop $ endif -$ if f$locate("@CURLVERSION@", line_in) .lt line_in_len +$ if f$locate("@GNURLVERSION@", line_in) .lt line_in_len $ then $ write pco "Version: ''curl_version'" $ goto pc_file_loop
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor