Switch to using $SSL instead of $NOSSL in configure

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1893 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-04-07 16:13:17 +00:00
parent 0c64f53bc9
commit f023242555
2 changed files with 13 additions and 10 deletions
Vendored
+7 -5
View File
@@ -2778,7 +2778,9 @@ fi
# Check whether --enable-openssl was given.
if test "${enable_openssl+set}" = set; then :
enableval=$enable_openssl; if test "$enableval" = "no" ; then NOSSL=1; fi
enableval=$enable_openssl; SSL="$enableval"
else
SSL="yes"
fi
# Check whether --enable-perl was given.
@@ -3087,7 +3089,7 @@ $as_echo "$as_me: WARNING: \"c-ares was not found and thus disabled\"" >&2;}
fi
fi
if test -z "$NOSSL"; then
if test "x$SSL" != "xno"; then
if test -n "$OPENSSL"; then
appendLib -L${OPENSSL}/lib
appendCXX -I${OPENSSL}/include
@@ -3190,9 +3192,9 @@ else
fi
if test -z "$NOSSL"; then
appendCXX -DHAVE_LIBSSL
fi
appendCXX -DHAVE_LIBSSL
else
NOSSL=1
fi