diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-03-20 19:32:54 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-03-20 19:32:54 +0100 |
commit | 0355e33b5f7b234cf3ddd7d9deef0e8616e177ce (patch) | |
tree | 7dcbc764d339860d07ccee88df90e4787af634a8 | |
parent | e765afccb6b0b22fcc653cbaa938521997a27ec7 (diff) |
configure: avoid $VERSION
To reduce the risk of variable name conflicts, use CURLVERSION instead
of VERSION.
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 0f8c1c8e9..28ccbc6bf 100644 --- a/configure.ac +++ b/configure.ac @@ -120,10 +120,10 @@ if test -f ${srcdir}/include/curl/curlbuild.h; then fi dnl figure out the libcurl version -VERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' ${srcdir}/include/curl/curlver.h` +CURLVERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' ${srcdir}/include/curl/curlver.h` AM_INIT_AUTOMAKE AC_MSG_CHECKING([curl version]) -AC_MSG_RESULT($VERSION) +AC_MSG_RESULT($CURLVERSION) dnl dnl we extract the numerical version for curl-config only @@ -3066,7 +3066,7 @@ CURL_GENERATE_CONFIGUREHELP_PM AC_MSG_NOTICE([Configured to build curl/libcurl: - curl version: ${VERSION} + curl version: ${CURLVERSION} Host setup: ${host} Install prefix: ${prefix} Compiler: ${CC} |