]> eyrie.org Git - kerberos/krb5-strength.git/blobdiff - configure
Merge branch 'debian' into squeeze
[kerberos/krb5-strength.git] / configure
index 919f4aba384f644750ecadc75d6418a8e6175caf..f47a7f99c723f89eae1b61bf9836efc499ead05b 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,8 +1,8 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for krb5-strength 2.1.
+# Generated by GNU Autoconf 2.69 for krb5-strength 3.0.
 #
-# Report bugs to <rra@stanford.edu>.
+# Report bugs to <eagle@eyrie.org>.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -274,7 +274,7 @@ fi
     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   else
-    $as_echo "$0: Please tell bug-autoconf@gnu.org and rra@stanford.edu
+    $as_echo "$0: Please tell bug-autoconf@gnu.org and eagle@eyrie.org
 $0: about your system, including any error possibly output
 $0: before this message. Then install a modern shell, or
 $0: manually run the script under such a shell if you do
@@ -590,9 +590,9 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='krb5-strength'
 PACKAGE_TARNAME='krb5-strength'
-PACKAGE_VERSION='2.1'
-PACKAGE_STRING='krb5-strength 2.1'
-PACKAGE_BUGREPORT='rra@stanford.edu'
+PACKAGE_VERSION='3.0'
+PACKAGE_STRING='krb5-strength 3.0'
+PACKAGE_BUGREPORT='eagle@eyrie.org'
 PACKAGE_URL=''
 
 ac_config_libobj_dir=portable
@@ -636,6 +636,13 @@ ac_subst_vars='am__EXEEXT_FALSE
 am__EXEEXT_TRUE
 LTLIBOBJS
 DL_LIBS
+SQLITE_CFLAGS
+PKG_CONFIG_LIBDIR
+PKG_CONFIG_PATH
+PKG_CONFIG
+SQLITE_LIBS
+SQLITE_LDFLAGS
+SQLITE_CPPFLAGS
 LIBOBJS
 KRB5_USES_COM_ERR_FALSE
 KRB5_USES_COM_ERR_TRUE
@@ -790,6 +797,9 @@ with_krb5
 with_krb5_include
 with_krb5_lib
 enable_reduced_depends
+with_sqlite
+with_sqlite_include
+with_sqlite_lib
 '
       ac_precious_vars='build_alias
 host_alias
@@ -800,7 +810,12 @@ LDFLAGS
 LIBS
 CPPFLAGS
 CPP
-PATH_KRB5_CONFIG'
+PATH_KRB5_CONFIG
+PKG_CONFIG
+PKG_CONFIG_PATH
+PKG_CONFIG_LIBDIR
+SQLITE_CFLAGS
+SQLITE_LIBS'
 
 
 # Initialize some variables set by options.
@@ -1341,7 +1356,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures krb5-strength 2.1 to adapt to many kinds of systems.
+\`configure' configures krb5-strength 3.0 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1411,7 +1426,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of krb5-strength 2.1:";;
+     short | recursive ) echo "Configuration of krb5-strength 3.0:";;
    esac
   cat <<\_ACEOF
 
@@ -1456,6 +1471,10 @@ Optional Packages:
   --with-krb5=DIR         Location of Kerberos headers and libraries
   --with-krb5-include=DIR Location of Kerberos headers
   --with-krb5-lib=DIR     Location of Kerberos libraries
+  --with-sqlite[=DIR]     Location of SQLite headers and libraries
+  --with-sqlite-include=DIR
+                          Location of SQLite headers
+  --with-sqlite-lib=DIR   Location of SQLite libraries
 
 Some influential environment variables:
   CC          C compiler command
@@ -1468,11 +1487,19 @@ Some influential environment variables:
   CPP         C preprocessor
   PATH_KRB5_CONFIG
               Path to krb5-config
+  PKG_CONFIG  path to pkg-config utility
+  PKG_CONFIG_PATH
+              directories to add to pkg-config's search path
+  PKG_CONFIG_LIBDIR
+              path overriding pkg-config's built-in search path
+  SQLITE_CFLAGS
+              C compiler flags for SQLITE, overriding pkg-config
+  SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
 
 Use these variables to override the choices made by `configure' or to help
 it to find libraries and programs with nonstandard names/locations.
 
-Report bugs to <rra@stanford.edu>.
+Report bugs to <eagle@eyrie.org>.
 _ACEOF
 ac_status=$?
 fi
@@ -1535,7 +1562,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-krb5-strength configure 2.1
+krb5-strength configure 3.0
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1694,9 +1721,9 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( $as_echo "## ------------------------------- ##
-## Report this to rra@stanford.edu ##
-## ------------------------------- ##"
+( $as_echo "## ------------------------------ ##
+## Report this to eagle@eyrie.org ##
+## ------------------------------ ##"
      ) | sed "s/^/$as_me: WARNING:     /" >&2
     ;;
 esac
@@ -2241,7 +2268,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by krb5-strength $as_me 2.1, which was
+It was created by krb5-strength $as_me 3.0, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3106,7 +3133,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='krb5-strength'
- VERSION='2.1'
+ VERSION='3.0'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3199,6 +3226,7 @@ END
   fi
 fi
 
+
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
     # Check whether --enable-maintainer-mode was given.
@@ -7400,7 +7428,7 @@ ia64-*-hpux*)
   rm -rf conftest*
   ;;
 
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   # Find out which ABI we are using.
   echo 'int i;' > conftest.$ac_ext
@@ -7425,7 +7453,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                ;;
            esac
            ;;
-         ppc64-*linux*|powerpc64-*linux*)
+         powerpc64le-*)
+           LD="${LD-ld} -m elf32lppclinux"
+           ;;
+         powerpc64-*)
            LD="${LD-ld} -m elf32ppclinux"
            ;;
          s390x-*linux*)
@@ -7444,7 +7475,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
          x86_64-*linux*)
            LD="${LD-ld} -m elf_x86_64"
            ;;
-         ppc*-*linux*|powerpc*-*linux*)
+         powerpcle-*)
+           LD="${LD-ld} -m elf64lppc"
+           ;;
+         powerpc-*)
            LD="${LD-ld} -m elf64ppc"
            ;;
          s390*-*linux*|s390*-*tpf*)
 $as_echo "$ac_cv_lib_cdb_cdb_init" >&6; }
 if test "x$ac_cv_lib_cdb_cdb_init" = xyes; then :
   CDB_LIBS=-lcdb
-
-$as_echo "#define HAVE_CDB 1" >>confdefs.h
-
-     rra_use_CDB=true
 else
   if test x"true" = xtrue; then :
   as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
 $as_echo "$ac_cv_lib_cdb_cdb_init" >&6; }
 if test "x$ac_cv_lib_cdb_cdb_init" = xyes; then :
   CDB_LIBS=-lcdb
-
-$as_echo "#define HAVE_CDB 1" >>confdefs.h
-
-     rra_use_CDB=true
 else
   if test x"false" = xtrue; then :
   as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
@@ -12570,6 +12596,12 @@ done
  LDFLAGS="$rra_CDB_save_LDFLAGS"
  LIBS="$rra_CDB_save_LIBS"
 fi
+fi
+ if test x"$CDB_LIBS" != x; then :
+  rra_use_CDB=true
+
+$as_echo "#define HAVE_CDB 1" >>confdefs.h
+
 fi
 rra_system_cracklib=
  rra_cracklib_root=
@@ -12746,7 +12778,7 @@ fi
 rra_krb5_root=
  rra_krb5_libdir=
  rra_krb5_includedir=
- rra_use_kerberos=true
+ rra_use_KRB5=true
 
 
 
@@ -13046,7 +13078,11 @@ $as_echo "$ac_cv_lib_com_err_com_err" >&6; }
 if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
   KRB5_LIBS="$KRB5_LIBS -lcom_err"
 else
+  if test x"true" = xtrue; then :
   as_fn_error $? "cannot find usable com_err library" "$LINENO" 5
+else
+  KRB5_LIBS=""
+fi
 fi
 
                   for ac_header in et/com_err.h
@@ -16184,7 +16220,7 @@ done
 fi
 fi
  rra_krb5_uses_com_err=false
- case $LIBS in #(
+ case $KRB5_LIBS in #(
   *-lcom_err*) :
     rra_krb5_uses_com_err=true ;; #(
   *) :
@@ -16199,7 +16235,7 @@ else
 fi
 
 
-$as_echo "#define HAVE_KERBEROS 1" >>confdefs.h
+$as_echo "#define HAVE_KRB5 1" >>confdefs.h
 
 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
  rra_krb5_save_LDFLAGS="$LDFLAGS"
@@ -16265,9 +16301,9 @@ fi
 
 for ac_func in krb5_free_default_realm \
     krb5_free_string \
-    krb5_principal_get_realm \
     krb5_get_init_creds_opt_alloc \
     krb5_get_init_creds_opt_set_default_flags \
+    krb5_principal_get_realm \
     krb5_xfree
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
@@ -16355,6 +16391,624 @@ CPPFLAGS="$rra_krb5_save_CPPFLAGS"
  LDFLAGS="$rra_krb5_save_LDFLAGS"
  LIBS="$rra_krb5_save_LIBS"
 
+
+
+
+
+
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+       if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  case $PKG_CONFIG in
+  [\\/]* | ?:[\\/]*)
+  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+  ;;
+  *)
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+  ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_PKG_CONFIG"; then
+  ac_pt_PKG_CONFIG=$PKG_CONFIG
+  # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  case $ac_pt_PKG_CONFIG in
+  [\\/]* | ?:[\\/]*)
+  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
+  ;;
+  *)
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+  ;;
+esac
+fi
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
+if test -n "$ac_pt_PKG_CONFIG"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+  if test "x$ac_pt_PKG_CONFIG" = x; then
+    PKG_CONFIG=""
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    PKG_CONFIG=$ac_pt_PKG_CONFIG
+  fi
+else
+  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+fi
+
+fi
+if test -n "$PKG_CONFIG"; then
+       _pkg_min_version=0.9.0
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
+       if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+               { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+       else
+               { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+               PKG_CONFIG=""
+       fi
+fi
+rra_SQLITE_root=
+ rra_SQLITE_libdir=
+ rra_SQLITE_includedir=
+ rra_use_SQLITE=
+ SQLITE_CPPFLAGS=
+ SQLITE_LDFLAGS=
+ SQLITE_LIBS=
+
+
+
+
+# Check whether --with-sqlite was given.
+if test "${with_sqlite+set}" = set; then :
+  withval=$with_sqlite; if test x"$withval" = xno; then :
+  rra_use_SQLITE=false
+else
+  if test x"$withval" != xyes; then :
+  rra_SQLITE_root="$withval"
+fi
+         rra_use_SQLITE=true
+fi
+fi
+
+
+# Check whether --with-sqlite-include was given.
+if test "${with_sqlite_include+set}" = set; then :
+  withval=$with_sqlite_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
+  rra_SQLITE_includedir="$withval"
+fi
+fi
+
+
+# Check whether --with-sqlite-lib was given.
+if test "${with_sqlite_lib+set}" = set; then :
+  withval=$with_sqlite_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
+  rra_SQLITE_libdir="$withval"
+fi
+fi
+
+ if test x"$rra_use_SQLITE" != xfalse; then :
+  if test x"$rra_use_SQLITE" = xtrue; then :
+  if test x"$rra_SQLITE_libdir" != x; then :
+  SQLITE_LDFLAGS="-L$rra_SQLITE_libdir"
+else
+  if test x"$rra_SQLITE_root" != x; then :
+
+ if test -d "${rra_SQLITE_root}/$rra_lib_arch_name"; then :
+  if test x"" = x; then :
+  SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}"
+else
+  SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}/"
+fi
+else
+  if test x"" = x; then :
+  SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib"
+else
+  SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib/"
+fi
+fi
+ SQLITE_LDFLAGS=`echo "$SQLITE_LDFLAGS" | sed -e 's/^ *//'`
+fi
+fi
+ if test x"$rra_SQLITE_includedir" != x; then :
+  SQLITE_CPPFLAGS="-I$rra_SQLITE_includedir"
+else
+  if test x"$rra_SQLITE_root" != x; then :
+  if test x"$rra_SQLITE_root" != x/usr; then :
+  SQLITE_CPPFLAGS="-I${rra_SQLITE_root}/include"
+fi
+fi
+fi
+ if test x"$SQLITE_CPPFLAGS" = x && test x"$SQLITE_LDFLAGS" = x; then :
+  if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
+$as_echo_n "checking for SQLITE... " >&6; }
+
+if test -n "$SQLITE_CFLAGS"; then
+    pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+if test -n "$SQLITE_LIBS"; then
+    pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+        _pkg_short_errors_supported=yes
+else
+        _pkg_short_errors_supported=no
+fi
+        if test $_pkg_short_errors_supported = yes; then
+               SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
+        else
+               SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
+        fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$SQLITE_PKG_ERRORS" >&5
+
+       as_fn_error $? "Package requirements (sqlite3) were not met:
+
+$SQLITE_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables SQLITE_CFLAGS
+and SQLITE_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables SQLITE_CFLAGS
+and SQLITE_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+       SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
+       SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+         SQLITE_CPPFLAGS="$SQLITE_CFLAGS"
+fi
+fi
+ if test x"$SQLITE_LIBS" = x; then :
+  rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
+ rra_SQLITE_save_LDFLAGS="$LDFLAGS"
+ rra_SQLITE_save_LIBS="$LIBS"
+ CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
+ LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
+ LIBS="$SQLITE_LIBS $LIBS"
+     LIBS=
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
+$as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
+if ${ac_cv_search_sqlite3_open_v2+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_func_search_save_LIBS=$LIBS
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char sqlite3_open_v2 ();
+int
+main ()
+{
+return sqlite3_open_v2 ();
+  ;
+  return 0;
+}
+_ACEOF
+for ac_lib in '' sqlite3; do
+  if test -z "$ac_lib"; then
+    ac_res="none required"
+  else
+    ac_res=-l$ac_lib
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
+  fi
+  if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_search_sqlite3_open_v2=$ac_res
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext
+  if ${ac_cv_search_sqlite3_open_v2+:} false; then :
+  break
+fi
+done
+if ${ac_cv_search_sqlite3_open_v2+:} false; then :
+
+else
+  ac_cv_search_sqlite3_open_v2=no
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
+$as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
+ac_res=$ac_cv_search_sqlite3_open_v2
+if test "$ac_res" != no; then :
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+  SQLITE_LIBS="$LIBS"
+else
+  if test x"true" = xtrue; then :
+  as_fn_error $? "cannot find usable SQLite library" "$LINENO" 5
+fi
+fi
+
+     CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
+ LDFLAGS="$rra_SQLITE_save_LDFLAGS"
+ LIBS="$rra_SQLITE_save_LIBS"
+fi
+ rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
+ rra_SQLITE_save_LDFLAGS="$LDFLAGS"
+ rra_SQLITE_save_LIBS="$LIBS"
+ CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
+ LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
+ LIBS="$SQLITE_LIBS $LIBS"
+ for ac_header in sqlite3.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
+if test "x$ac_cv_header_sqlite3_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_SQLITE3_H 1
+_ACEOF
+
+fi
+
+done
+
+ CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
+ LDFLAGS="$rra_SQLITE_save_LDFLAGS"
+ LIBS="$rra_SQLITE_save_LIBS"
+else
+  if test x"$rra_SQLITE_libdir" != x; then :
+  SQLITE_LDFLAGS="-L$rra_SQLITE_libdir"
+else
+  if test x"$rra_SQLITE_root" != x; then :
+
+ if test -d "${rra_SQLITE_root}/$rra_lib_arch_name"; then :
+  if test x"" = x; then :
+  SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}"
+else
+  SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}/"
+fi
+else
+  if test x"" = x; then :
+  SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib"
+else
+  SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib/"
+fi
+fi
+ SQLITE_LDFLAGS=`echo "$SQLITE_LDFLAGS" | sed -e 's/^ *//'`
+fi
+fi
+ if test x"$rra_SQLITE_includedir" != x; then :
+  SQLITE_CPPFLAGS="-I$rra_SQLITE_includedir"
+else
+  if test x"$rra_SQLITE_root" != x; then :
+  if test x"$rra_SQLITE_root" != x/usr; then :
+  SQLITE_CPPFLAGS="-I${rra_SQLITE_root}/include"
+fi
+fi
+fi
+ if test x"$SQLITE_CPPFLAGS" = x && test x"$SQLITE_LDFLAGS" = x; then :
+  if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
+$as_echo_n "checking for SQLITE... " >&6; }
+
+if test -n "$SQLITE_CFLAGS"; then
+    pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+if test -n "$SQLITE_LIBS"; then
+    pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+    if test -n "$PKG_CONFIG" && \
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
+  pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
+                     test "x$?" != "x0" && pkg_failed=yes
+else
+  pkg_failed=yes
+fi
+ else
+    pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+        _pkg_short_errors_supported=yes
+else
+        _pkg_short_errors_supported=no
+fi
+        if test $_pkg_short_errors_supported = yes; then
+               SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
+        else
+               SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
+        fi
+       # Put the nasty error message in config.log where it belongs
+       echo "$SQLITE_PKG_ERRORS" >&5
+
+       as_fn_error $? "Package requirements (sqlite3) were not met:
+
+$SQLITE_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables SQLITE_CFLAGS
+and SQLITE_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details." "$LINENO" 5
+elif test $pkg_failed = untried; then
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+Alternatively, you may set the environment variables SQLITE_CFLAGS
+and SQLITE_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.
+See \`config.log' for more details" "$LINENO" 5; }
+else
+       SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
+       SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+fi
+         SQLITE_CPPFLAGS="$SQLITE_CFLAGS"
+fi
+fi
+ if test x"$SQLITE_LIBS" = x; then :
+  rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
+ rra_SQLITE_save_LDFLAGS="$LDFLAGS"
+ rra_SQLITE_save_LIBS="$LIBS"
+ CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
+ LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
+ LIBS="$SQLITE_LIBS $LIBS"
+     LIBS=
+     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
+$as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
+if ${ac_cv_search_sqlite3_open_v2+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_func_search_save_LIBS=$LIBS
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char sqlite3_open_v2 ();
+int
+main ()
+{
+return sqlite3_open_v2 ();
+  ;
+  return 0;
+}
+_ACEOF
+for ac_lib in '' sqlite3; do
+  if test -z "$ac_lib"; then
+    ac_res="none required"
+  else
+    ac_res=-l$ac_lib
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
+  fi
+  if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_search_sqlite3_open_v2=$ac_res
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext
+  if ${ac_cv_search_sqlite3_open_v2+:} false; then :
+  break
+fi
+done
+if ${ac_cv_search_sqlite3_open_v2+:} false; then :
+
+else
+  ac_cv_search_sqlite3_open_v2=no
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
+$as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
+ac_res=$ac_cv_search_sqlite3_open_v2
+if test "$ac_res" != no; then :
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+  SQLITE_LIBS="$LIBS"
+else
+  if test x"false" = xtrue; then :
+  as_fn_error $? "cannot find usable SQLite library" "$LINENO" 5
+fi
+fi
+
+     CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
+ LDFLAGS="$rra_SQLITE_save_LDFLAGS"
+ LIBS="$rra_SQLITE_save_LIBS"
+fi
+ rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
+ rra_SQLITE_save_LDFLAGS="$LDFLAGS"
+ rra_SQLITE_save_LIBS="$LIBS"
+ CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
+ LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
+ LIBS="$SQLITE_LIBS $LIBS"
+ for ac_header in sqlite3.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
+if test "x$ac_cv_header_sqlite3_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_SQLITE3_H 1
+_ACEOF
+
+fi
+
+done
+
+ CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
+ LDFLAGS="$rra_SQLITE_save_LDFLAGS"
+ LIBS="$rra_SQLITE_save_LIBS"
+fi
+fi
+ if test x"$SQLITE_LIBS" != x; then :
+  rra_use_SQLITE=true
+
+$as_echo "#define HAVE_SQLITE 1" >>confdefs.h
+
+fi
+
 save_LIBS="$LIBS"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
 $as_echo_n "checking for library containing dlopen... " >&6; }
@@ -16508,7 +17162,7 @@ $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
 
 fi
 
-for ac_header in sys/bittypes.h syslog.h
+for ac_header in sys/bittypes.h sys/select.h syslog.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
@@ -16860,6 +17514,32 @@ esac
 
 fi
 
+ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
+if test "x$ac_cv_func_mkstemp" = xyes; then :
+  $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
+
+else
+  case " $LIBOBJS " in
+  *" mkstemp.$ac_objext "* ) ;;
+  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
+ ;;
+esac
+
+fi
+
+ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
+if test "x$ac_cv_func_strndup" = xyes; then :
+  $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
+
+else
+  case " $LIBOBJS " in
+  *" strndup.$ac_objext "* ) ;;
+  *) LIBOBJS="$LIBOBJS strndup.$ac_objext"
+ ;;
+esac
+
+fi
+
 
 
 ac_config_files="$ac_config_files Makefile"
@@ -17408,7 +18088,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by krb5-strength $as_me 2.1, which was
+This file was extended by krb5-strength $as_me 3.0, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17468,13 +18148,13 @@ $config_headers
 Configuration commands:
 $config_commands
 
-Report bugs to <rra@stanford.edu>."
+Report bugs to <eagle@eyrie.org>."
 
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-krb5-strength config.status 2.1
+krb5-strength config.status 3.0
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"