]> git.sur5r.net Git - openldap/blobdiff - configure
krb5_get_init_creds_opt_init is deprecated
[openldap] / configure
index 81eccdf840fe1e1e8c42ae863467d33cce54f79c..ca07dba8a1ddb26b05231025bf9818939d31d8f4 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,9 +1,9 @@
 #! /bin/sh
-# From configure.in Id: f0f8d996f3de4fb2ff4449711e14444f62107475 .
+# From configure.in Id: 72cd4c0631fb2e0f29b8d66eb4786d97441f5249 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.65.
 #
-# Copyright 1998-2013 The OpenLDAP Foundation. All rights reserved.
+# Copyright 1998-2015 The OpenLDAP Foundation. All rights reserved.
 # Restrictions apply, see COPYRIGHT and LICENSE files.
 #
 #
@@ -1672,7 +1672,7 @@ SLAPD Backend Options:
     --enable-backends    enable all available backends no|yes|mod
     --enable-bdb         enable Berkeley DB backend no|yes|mod [no]
     --enable-dnssrv      enable dnssrv backend no|yes|mod [no]
-    --enable-hdb         enable Hierarchical DB backend no|yes|mod [yes]
+    --enable-hdb         enable Hierarchical DB backend no|yes|mod [no]
     --enable-ldap        enable ldap backend no|yes|mod [no]
     --enable-mdb         enable mdb database backend no|yes|mod [yes]
     --enable-meta        enable metadirectory backend no|yes|mod [no]
@@ -1819,7 +1819,7 @@ Copyright (C) 2009 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.
 
-Copyright 1998-2013 The OpenLDAP Foundation. All rights reserved.
+Copyright 1998-2015 The OpenLDAP Foundation. All rights reserved.
 Restrictions apply, see COPYRIGHT and LICENSE files.
 _ACEOF
   exit
@@ -4147,7 +4147,7 @@ if test "${enable_hdb+set}" = set; then :
        ol_enable_hdb="$ol_arg"
 
 else
-       ol_enable_hdb=${ol_enable_backends:-yes}
+       ol_enable_hdb=${ol_enable_backends:-no}
 fi
 
 # end --enable-hdb
@@ -15639,6 +15639,23 @@ done
 
 
                if test $ac_cv_header_gnutls_gnutls_h = yes ; then
+                       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <gnutls/gnutls.h>
+#if GNUTLS_VERSION_NUMBER < 0x020c00
+#error "GnuTLS 2.12.0 or newer required"
+#endif
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error "GnuTLS is too old
+See \`config.log' for more details." "$LINENO" 5; }
+fi
+rm -f conftest.err conftest.$ac_ext
+
                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_init in -lgnutls" >&5
 $as_echo_n "checking for gnutls_init in -lgnutls... " >&6; }
 if test "${ac_cv_lib_gnutls_gnutls_init+set}" = set; then :
@@ -20307,7 +20324,7 @@ else
 __db_version DB_VERSION_MAJOR
 
 _ACEOF
-       set X `eval "$ac_cpp conftest.$ac_ext" | $EGREP __db_version` none none
+       set X `eval "$ac_cpp -P conftest.$ac_ext" | $EGREP __db_version` none none
        ol_cv_bdb_major=${3}
 
 fi
@@ -20333,7 +20350,7 @@ else
 __db_version DB_VERSION_MINOR
 
 _ACEOF
-       set X `eval "$ac_cpp conftest.$ac_ext" | $EGREP __db_version` none none
+       set X `eval "$ac_cpp -P conftest.$ac_ext" | $EGREP __db_version` none none
        ol_cv_bdb_minor=${3}
 
 fi
@@ -20361,13 +20378,19 @@ else
 #ifndef DB_VERSION_MINOR
 #      define DB_VERSION_MINOR 0
 #endif
+#ifndef DB_VERSION_PATCH
+#      define DB_VERSION_PATCH 0
+#endif
 
-#define DB_VERSION_MM  ((DB_VERSION_MAJOR<<8)|DB_VERSION_MINOR)
+#define DB_VERSION_FULL        ((DB_VERSION_MAJOR<<16)|(DB_VERSION_MINOR<<8)|DB_VERSION_PATCH)
 
-/* require 4.4 or later */
-#if DB_VERSION_MM >= 0x0404
+/* require 4.4 or later, but less than 6.0.20 */
+#if DB_VERSION_FULL >= 0x040400 && DB_VERSION_FULL < 0x060014
        __db_version_compat
 #endif
+#if DB_VERSION_FULL >= 0x060014
+#error "BerkeleyDB 6.0.20+ license is incompatible with LDAP"
+#endif
 
 _ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
@@ -21617,7 +21640,7 @@ done
 
 
        sql_LIBS="$LIBS"
-       LIBS="$LTHREAD_LIBS"
+       LIBS="$LTHREAD_LIBS $LIBS"
 
        if test $ol_with_odbc = auto ; then
                ol_with_odbc="iodbc unixodbc odbc32"
@@ -26206,7 +26229,7 @@ rm -f $BACKENDSC
 cat > $BACKENDSC << ENDX
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2013 The OpenLDAP Foundation.
+ * Copyright 1998-2015 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -26257,7 +26280,7 @@ rm -f $OVERLAYSC
 cat > $OVERLAYSC << ENDX
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2013 The OpenLDAP Foundation.
+ * Copyright 1998-2015 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without