aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-11-27 09:52:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-11-27 09:52:13 +0000
commitf6413f2cb41e953238796da051d0b1cd3954841e (patch)
tree83b7c3674d1dc3a0687a487ce8df0cb0f17ff608
parente80bdd66f9292bf43f9b7d5d9ae4df419877cdaf (diff)
Markus Moeller fixed the SPNEGO check and it nows defines HAVE_SPNEGO
-rw-r--r--configure.ac19
1 files changed, 12 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index a7e0efcb3..e570e846e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -494,15 +494,20 @@ AC_ARG_WITH(spnego,
)
AC_MSG_CHECKING([if SPNEGO support is requested])
if test x"$want_spnego" = xyes; then
-
- if test -z "$SPNEGO_LIB_DIR"; then
- LDFLAGS="$LDFLAGS -L$SPNEGO_ROOT $(wl)-R$SPNEGO_ROOT -lfbopenssl"
+
+ 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
- LDFLAGS="$LDFLAGS $SPNEGO_LIB_DIR"
- fi
+ if test -z "$SPNEGO_LIB_DIR"; then
+ LDFLAGS="$LDFLAGS -L$SPNEGO_ROOT ${wl}-R$SPNEGO_ROOT -lfbopenssl"
+ else
+ LDFLAGS="$LDFLAGS $SPNEGO_LIB_DIR"
+ 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
AC_MSG_RESULT(no)
fi