autoconf and m4 both suck (autoconf choked on some comma and messed up badly after that)

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1208 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-09-18 18:16:49 +00:00
parent 3866bdd9f7
commit d4cd83fdf3
2 changed files with 12 additions and 10 deletions

18
configure vendored
View File

@@ -3402,9 +3402,7 @@ if test "${ac_cv_lib_crypto_BIO_new+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lcrypto eg. libssl-dev." >&5
echo "$as_me: error: Could not find libcrypto. Try --disable-openssl or install the
appropriate dependencies $LIBS"
LIBS="-lcrypto $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -3468,7 +3466,10 @@ _ACEOF
else
{ { echo "$as_me:$LINENO: error: Could not find libcrypto. Try --disable-openssl or install the
appropriate dependencies
appropriate dependencies eg. libssl-dev." >&5
echo "$as_me: error: Could not find libcrypto. Try --disable-openssl or install the
appropriate dependencies eg. libssl-dev." >&2;}
{ (exit 1); exit 1; }; }
fi
@@ -3478,9 +3479,7 @@ if test "${ac_cv_lib_ssl_SSL_shutdown+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lssl eg. libssl-dev." >&5
echo "$as_me: error: Could not find libssl. Try --disable-openssl or install the
appropriate dependencies $LIBS"
LIBS="-lssl $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -3544,7 +3543,10 @@ _ACEOF
else
{ { echo "$as_me:$LINENO: error: Could not find libssl. Try --disable-openssl or install the
appropriate dependencies
appropriate dependencies eg. libssl-dev." >&5
echo "$as_me: error: Could not find libssl. Try --disable-openssl or install the
appropriate dependencies eg. libssl-dev." >&2;}
{ (exit 1); exit 1; }; }
fi

View File

@@ -124,10 +124,10 @@ if test -z "$NOSSL"; then
# On some arches libssl depends on libcrypto without linking to it :(
AC_CHECK_LIB( crypto, BIO_new,,
AC_ERROR([Could not find libcrypto. Try --disable-openssl or install the
appropriate dependencies, eg. libssl-dev.]), )
appropriate dependencies eg. libssl-dev.]), )
AC_CHECK_LIB( ssl, SSL_shutdown,,
AC_ERROR([Could not find libssl. Try --disable-openssl or install the
appropriate dependencies, eg. libssl-dev.]), )
appropriate dependencies eg. libssl-dev.]), )
if test -z "$NOSSL"; then
appendCXX -DHAVE_LIBSSL