Markus Moeller fixed the SPNEGO check and it nows defines HAVE_SPNEGO

This commit is contained in:
Daniel Stenberg 2003-11-27 09:52:13 +00:00
Родитель e80bdd66f9
Коммит f6413f2cb4
1 изменённых файлов: 12 добавлений и 7 удалений

Просмотреть файл

@ -495,14 +495,19 @@ AC_ARG_WITH(spnego,
AC_MSG_CHECKING([if SPNEGO support is requested]) AC_MSG_CHECKING([if SPNEGO support is requested])
if test x"$want_spnego" = xyes; then if test x"$want_spnego" = xyes; then
if test X"$SPNEGO_ROOT" = Xyes; then
AC_MSG_ERROR([FBOpenSSL libs and/or directories were not found where specified!])
AC_MSG_RESULT(no)
else
if test -z "$SPNEGO_LIB_DIR"; then if test -z "$SPNEGO_LIB_DIR"; then
LDFLAGS="$LDFLAGS -L$SPNEGO_ROOT $(wl)-R$SPNEGO_ROOT -lfbopenssl" LDFLAGS="$LDFLAGS -L$SPNEGO_ROOT ${wl}-R$SPNEGO_ROOT -lfbopenssl"
else else
LDFLAGS="$LDFLAGS $SPNEGO_LIB_DIR" LDFLAGS="$LDFLAGS $SPNEGO_LIB_DIR"
fi fi
AC_DEFINE(HAVE_SPNEGO, 1, [Define this if you have the SPNEGO library fbopenssl])
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_SPNEGO, 1, [Define this if you have the SPNEGO library fbopenssl])
fi
else else
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
fi fi