Never link the ZNC binary against libsasl2

Stupid autoconf...


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1050 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-05-11 18:32:17 +00:00
parent ff7a6c231a
commit bc2af5d49a
2 changed files with 4 additions and 9 deletions
Vendored
+2 -8
View File
@@ -3819,8 +3819,7 @@ echo "$as_me: error: Could not find perl binary. Try --disable-perl" >&2;}
fi
if test -n "$SASL"; then
{ echo "$as_me:$LINENO: checking for sasl_server_init in -lsasl2" >&5
{ echo "$as_me:$LINENO: checking for sasl_server_init in -lsasl2" >&5
echo $ECHO_N "checking for sasl_server_init in -lsasl2... $ECHO_C" >&6; }
if test "${ac_cv_lib_sasl2_sasl_server_init+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3882,12 +3881,7 @@ fi
{ echo "$as_me:$LINENO: result: $ac_cv_lib_sasl2_sasl_server_init" >&5
echo "${ECHO_T}$ac_cv_lib_sasl2_sasl_server_init" >&6; }
if test $ac_cv_lib_sasl2_sasl_server_init = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBSASL2 1
_ACEOF
LIBS="-lsasl2 $LIBS"
: Dont let autoconf add -lsasl2, Makefile handles that
else
{ { echo "$as_me:$LINENO: error: Could not find libsasl2. Try --disable-sasl." >&5
echo "$as_me: error: Could not find libsasl2. Try --disable-sasl." >&2;}
+2 -1
View File
@@ -174,7 +174,8 @@ if test "$MODULES" = "yes"; then
fi
if test -n "$SASL"; then
AC_CHECK_LIB( sasl2, sasl_server_init,,
AC_CHECK_LIB( sasl2, sasl_server_init,
[: Dont let autoconf add -lsasl2, Makefile handles that],
AC_ERROR([Could not find libsasl2. Try --disable-sasl.]))
fi
fi