aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-12-19 16:08:07 +0100
committerYang Tse <yangsita@gmail.com>2012-12-19 16:08:07 +0100
commitc91a6cd78f86606cb9313db2d5a66957ac2c5609 (patch)
treebce1371bdb7ff0bec82e14a2429dc698bfe063c4
parent7d49d774fd12f435c6771fcd7a296be9820658b9 (diff)
configure.ac: clear local test intended variables before use
-rw-r--r--configure.ac25
1 files changed, 24 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 565488dac..32e8f5c5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1846,6 +1846,11 @@ if test "$curl_ssl_msg" = "$init_ssl_msg"; then
if test X"$OPT_GNUTLS" != Xno; then
addld=""
+ addlib=""
+ gtlslib=""
+ version=""
+ addcflags=""
+
if test "x$OPT_GNUTLS" = "xyes"; then
dnl this is with no partiular path given
CURL_CHECK_PKGCONFIG(gnutls)
@@ -2016,6 +2021,11 @@ if test "$curl_ssl_msg" = "$init_ssl_msg"; then
])
fi
+ addld=""
+ addlib=""
+ addcflags=""
+ polarssllib=""
+
if test "x$USE_POLARSSL" != "xyes"; then
dnl add the path and test again
addld=-L$OPT_POLARSSL/lib$libsuff
@@ -2099,6 +2109,11 @@ if test "$curl_ssl_msg" = "$init_ssl_msg"; then
])
fi
+ addld=""
+ addlib=""
+ addcflags=""
+ cyassllib=""
+
if test "x$USE_CYASSL" != "xyes"; then
dnl add the path and test again
addld=-L$OPT_CYASSL/lib$libsuff
@@ -2162,6 +2177,13 @@ AC_HELP_STRING([--without-nss], [disable NSS detection]),
if test "$curl_ssl_msg" = "$init_ssl_msg"; then
if test X"$OPT_NSS" != Xno; then
+
+ addld=""
+ addlib=""
+ addcflags=""
+ nssprefix=""
+ version=""
+
if test "x$OPT_NSS" = "xyes"; then
CURL_CHECK_PKGCONFIG(nss)
@@ -2329,11 +2351,12 @@ AC_HELP_STRING([--without-libmetalink], [disable libmetalink detection]),
if test X"$OPT_LIBMETALINK" != Xno; then
- addlib=""
addld=""
+ addlib=""
addcflags=""
version=""
libmetalinklib=""
+
PKGTEST="no"
if test "x$OPT_LIBMETALINK" = "xyes"; then
dnl this is with no partiular path given