[libsoup/wip/tpopela/negotiate] configure: Don't fail if the krb5-config is not found and --with-gssapi not explicitly set
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/tpopela/negotiate] configure: Don't fail if the krb5-config is not found and --with-gssapi not explicitly set
- Date: Tue, 23 Feb 2016 16:27:54 +0000 (UTC)
commit 3560941604a7b51d5a53eeff0c3043739ee53643
Author: Tomas Popela <tpopela redhat com>
Date: Tue Feb 23 16:59:19 2016 +0100
configure: Don't fail if the krb5-config is not found and --with-gssapi not explicitly set
configure.ac | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2425336..13a5880 100644
--- a/configure.ac
+++ b/configure.ac
@@ -326,8 +326,7 @@ dnl *** GSSAPI support ***
dnl **********************
AC_ARG_WITH(gssapi,
AS_HELP_STRING([--with-gssapi],
- [Build with GSSAPI support [default=auto]]),
- [if test $os_win32 = yes; then gssapi="no"; else gssapi="yes"; fi])
+ [Build with GSSAPI support [default=auto]]))
if test "$with_gssapi" != "no"; then
AC_ARG_WITH(krb5-config,
@@ -344,7 +343,9 @@ if test "$with_gssapi" != "no"; then
AC_DEFINE(LIBSOUP_HAVE_GSSAPI, 1, [Whether or not GSSAPI libs are available])
fi
else
- AC_MSG_ERROR([GSSAPI support requested but failed to found krb5-config. Try to set KRB5_CONFIG.])
+ if test "$with_gssapi" == "yes"; then
+ AC_MSG_ERROR([GSSAPI support requested but failed to found krb5-config. Try to set KRB5_CONFIG.])
+ fi
fi
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]