summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/configure
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2003-10-09 19:36:20 +0000
committernectar <nectar@FreeBSD.org>2003-10-09 19:36:20 +0000
commit5c90662d441c12cd30c694eb1172d6fea2f8f282 (patch)
treecb08d962a1d1ff9fd191e67849a7057861f42a50 /crypto/heimdal/configure
parent12eb3dee85137da9effa7d2df35e855dd0a3814a (diff)
downloadFreeBSD-src-5c90662d441c12cd30c694eb1172d6fea2f8f282.zip
FreeBSD-src-5c90662d441c12cd30c694eb1172d6fea2f8f282.tar.gz
Vendor import of Heimdal 0.6.
Diffstat (limited to 'crypto/heimdal/configure')
-rwxr-xr-xcrypto/heimdal/configure584
1 files changed, 461 insertions, 123 deletions
diff --git a/crypto/heimdal/configure b/crypto/heimdal/configure
index 59c2541..c2fecc8 100755
--- a/crypto/heimdal/configure
+++ b/crypto/heimdal/configure
@@ -1,7 +1,7 @@
#! /bin/sh
-# From configure.in Revision: 1.325.2.2 .
+# From configure.in Revision: 1.331.2.2 .
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.53 for Heimdal 0.5.1.
+# Generated by GNU Autoconf 2.53 for Heimdal 0.6.
#
# Report bugs to <heimdal-bugs@pdc.kth.se>.
#
@@ -416,8 +416,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='Heimdal'
PACKAGE_TARNAME='heimdal'
-PACKAGE_VERSION='0.5.1'
-PACKAGE_STRING='Heimdal 0.5.1'
+PACKAGE_VERSION='0.6'
+PACKAGE_STRING='Heimdal 0.6'
PACKAGE_BUGREPORT='heimdal-bugs@pdc.kth.se'
ac_unique_file="kuser/kinit.c"
@@ -923,7 +923,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 Heimdal 0.5.1 to adapt to many kinds of systems.
+\`configure' configures Heimdal 0.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -993,7 +993,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of Heimdal 0.5.1:";;
+ short | recursive ) echo "Configuration of Heimdal 0.6:";;
esac
cat <<\_ACEOF
@@ -1002,6 +1002,8 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking Speeds up one-time builds
--enable-dependency-tracking Do not reject slow dependency extractors
+ --enable-maintainer-mode enable make rules and dependencies not useful
+ (and sometimes confusing) to the casual installer
--disable-largefile omit support for large files
--enable-shared=PKGS build shared libraries default=no
--enable-static=PKGS build static libraries default=yes
@@ -1127,7 +1129,7 @@ fi
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-Heimdal configure 0.5.1
+Heimdal configure 0.6
generated by GNU Autoconf 2.53
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
@@ -1142,7 +1144,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by Heimdal $as_me 0.5.1, which was
+It was created by Heimdal $as_me 0.6, which was
generated by GNU Autoconf 2.53. Invocation command line was
$ $0 $@
@@ -2812,7 +2814,7 @@ fi
# Define the identity of the package.
PACKAGE=heimdal
- VERSION=0.5.1
+ VERSION=0.6
cat >>confdefs.h <<_ACEOF
@@ -3007,6 +3009,30 @@ CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
+echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
+ # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
+if test "${enable_maintainer_mode+set}" = set; then
+ enableval="$enable_maintainer_mode"
+ USE_MAINTAINER_MODE=$enableval
+else
+ USE_MAINTAINER_MODE=no
+fi;
+ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
+echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
+
+
+if test $USE_MAINTAINER_MODE = yes; then
+ MAINTAINER_MODE_TRUE=
+ MAINTAINER_MODE_FALSE='#'
+else
+ MAINTAINER_MODE_TRUE='#'
+ MAINTAINER_MODE_FALSE=
+fi
+
+ MAINT=$MAINTAINER_MODE_TRUE
+
+
@@ -3383,6 +3409,9 @@ fi
rm -f conftest*
fi
+if test "$enable_largefile" != no -a "$ac_cv_sys_large_files" != no; then
+ CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
+fi
cat >>confdefs.h <<\_ACEOF
@@ -5236,7 +5265,7 @@ test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 5239 "configure"' > conftest.$ac_ext
+ echo '#line 5268 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -5772,7 +5801,7 @@ chmod -w .
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
compiler_c_o=no
-if { (eval echo configure:5775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+if { (eval echo configure:5804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s out/conftest.err; then
@@ -7565,7 +7594,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 7568 "configure"
+#line 7597 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -7663,7 +7692,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 7666 "configure"
+#line 7695 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10253,7 +10282,10 @@ if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
ires=
for i in $INCLUDE_krb4; do
CFLAGS="-DHAVE_OPENSSL $i $save_CFLAGS"
- cat >conftest.$ac_ext <<_ACEOF
+ for j in $cdirs; do
+ for k in $clibs; do
+ LIBS="$j $k $save_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -10262,8 +10294,10 @@ if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
#include <openssl/md4.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
+ #define OPENSSL_DES_LIBDES_COMPATIBILITY
#include <openssl/des.h>
#include <openssl/rc4.h>
+ #include <openssl/rand.h>
#else
#include <md4.h>
#include <md5.h>
@@ -10304,6 +10338,9 @@ main ()
MD4_Init(&md4);
MD5_Init(&md5);
SHA1_Init(&sha1);
+ #ifdef HAVE_OPENSSL
+ RAND_status();
+ #endif
des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
RC4(0, 0, 0, 0);
@@ -10311,26 +10348,31 @@ main ()
return 0;
}
_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
- { ac_try='test -s conftest.$ac_objext'
+ { ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- openssl=yes ires="$i"; break
+ openssl=yes ires="$i" lres="$j $k"; break 3
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
-rm -f conftest.$ac_objext conftest.$ac_ext
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ done
+ done
CFLAGS="$i $save_CFLAGS"
- cat >conftest.$ac_ext <<_ACEOF
+ for j in $cdirs; do
+ for k in $clibs; do
+ LIBS="$j $k $save_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -10339,8 +10381,10 @@ rm -f conftest.$ac_objext conftest.$ac_ext
#include <openssl/md4.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
+ #define OPENSSL_DES_LIBDES_COMPATIBILITY
#include <openssl/des.h>
#include <openssl/rc4.h>
+ #include <openssl/rand.h>
#else
#include <md4.h>
#include <md5.h>
@@ -10381,114 +10425,41 @@ main ()
MD4_Init(&md4);
MD5_Init(&md5);
SHA1_Init(&sha1);
-
- des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
- RC4(0, 0, 0, 0);
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- openssl=no ires="$i"; break
-else
- echo "$as_me: failed program was:" >&5
-cat conftest.$ac_ext >&5
-fi
-rm -f conftest.$ac_objext conftest.$ac_ext
- CFLAGS="-DOLD_HASH_NAMES $i $save_CFLAGS"
- cat >conftest.$ac_ext <<_ACEOF
-#line $LINENO "configure"
-#include "confdefs.h"
-
- #undef KRB5 /* makes md4.h et al unhappy */
#ifdef HAVE_OPENSSL
- #include <openssl/md4.h>
- #include <openssl/md5.h>
- #include <openssl/sha.h>
- #include <openssl/des.h>
- #include <openssl/rc4.h>
- #else
- #include <md4.h>
- #include <md5.h>
- #include <sha.h>
- #include <des.h>
- #include <rc4.h>
- #endif
- #ifdef OLD_HASH_NAMES
- typedef struct md4 MD4_CTX;
- #define MD4_Init(C) md4_init((C))
- #define MD4_Update(C, D, L) md4_update((C), (D), (L))
- #define MD4_Final(D, C) md4_finito((C), (D))
- typedef struct md5 MD5_CTX;
- #define MD5_Init(C) md5_init((C))
- #define MD5_Update(C, D, L) md5_update((C), (D), (L))
- #define MD5_Final(D, C) md5_finito((C), (D))
- typedef struct sha SHA_CTX;
- #define SHA1_Init(C) sha_init((C))
- #define SHA1_Update(C, D, L) sha_update((C), (D), (L))
- #define SHA1_Final(D, C) sha_finito((C), (D))
+ RAND_status();
#endif
-#ifdef F77_DUMMY_MAIN
-# ifdef __cplusplus
- extern "C"
-# endif
- int F77_DUMMY_MAIN() { return 1; }
-#endif
-int
-main ()
-{
-
- void *schedule = 0;
- MD4_CTX md4;
- MD5_CTX md5;
- SHA_CTX sha1;
-
- MD4_Init(&md4);
- MD5_Init(&md5);
- SHA1_Init(&sha1);
-
des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
RC4(0, 0, 0, 0);
;
return 0;
}
_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
- { ac_try='test -s conftest.$ac_objext'
+ { ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- openssl=no ires="$i" old_hash=yes; break
+ openssl=no ires="$i" lres="$j $k"; break 3
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
-rm -f conftest.$ac_objext conftest.$ac_ext
- done
- lres=
- for i in $cdirs; do
- for j in $clibs; do
- LIBS="$i $j $save_LIBS"
- cat >conftest.$ac_ext <<_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ done
+ done
+ CFLAGS="-DHAVE_OLD_HASH_NAMES $i $save_CFLAGS"
+ for j in $cdirs; do
+ for k in $clibs; do
+ LIBS="$j $k $save_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -10497,8 +10468,10 @@ rm -f conftest.$ac_objext conftest.$ac_ext
#include <openssl/md4.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
+ #define OPENSSL_DES_LIBDES_COMPATIBILITY
#include <openssl/des.h>
#include <openssl/rc4.h>
+ #include <openssl/rand.h>
#else
#include <md4.h>
#include <md5.h>
@@ -10539,6 +10512,9 @@ main ()
MD4_Init(&md4);
MD5_Init(&md5);
SHA1_Init(&sha1);
+ #ifdef HAVE_OPENSSL
+ RAND_status();
+ #endif
des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
RC4(0, 0, 0, 0);
@@ -10558,14 +10534,16 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- lres="$i $j"; break 2
+ openssl=no ires="$i" lres="$j $k"; break 3
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ done
done
done
+
CFLAGS="$save_CFLAGS"
LIBS="$save_LIBS"
if test "$ires" -a "$lres"; then
@@ -10586,18 +10564,20 @@ if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
INCLUDE_des=
LIB_des=
if test "$with_openssl_include" != ""; then
- INCLUDE_des="-I${with_openssl}/include"
+ INCLUDE_des="-I${with_openssl_include}"
fi
if test "$with_openssl_lib" != ""; then
- LIB_des="-L${with_openssl}/lib"
+ LIB_des="-L${with_openssl_lib}"
fi
CFLAGS="-DHAVE_OPENSSL ${INCLUDE_des} ${CFLAGS}"
- LIB_des="${LIB_des} -lcrypto"
- LIB_des_a="$LIB_des"
- LIB_des_so="$LIB_des"
- LIB_des_appl="$LIB_des"
- LIBS="${LIBS} ${LIB_des}"
- cat >conftest.$ac_ext <<_ACEOF
+ saved_LIB_des="$LIB_des"
+ for lres in "" "-lnsl -lsocket"; do
+ LIB_des="${saved_LIB_des} -lcrypto $lres"
+ LIB_des_a="$LIB_des"
+ LIB_des_so="$LIB_des"
+ LIB_des_appl="$LIB_des"
+ LIBS="${LIBS} ${LIB_des}"
+ cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -10606,8 +10586,10 @@ if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
#include <openssl/md4.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
+ #define OPENSSL_DES_LIBDES_COMPATIBILITY
#include <openssl/des.h>
#include <openssl/rc4.h>
+ #include <openssl/rand.h>
#else
#include <md4.h>
#include <md5.h>
@@ -10648,6 +10630,9 @@ main ()
MD4_Init(&md4);
MD5_Init(&md5);
SHA1_Init(&sha1);
+ #ifdef HAVE_OPENSSL
+ RAND_status();
+ #endif
des_cbc_encrypt(0, 0, 0, schedule, 0, 0);
RC4(0, 0, 0, 0);
@@ -10668,8 +10653,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- crypto_lib=libcrypto openssl=yes
- echo "$as_me:$LINENO: result: libcrypto" >&5
+ crypto_lib=libcrypto openssl=yes
+ echo "$as_me:$LINENO: result: libcrypto" >&5
echo "${ECHO_T}libcrypto" >&6
else
@@ -10677,6 +10662,10 @@ else
cat conftest.$ac_ext >&5
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ if test "$crypto_lib" = libcrypto ; then
+ break;
+ fi
+ done
CFLAGS="$save_CFLAGS"
LIBS="$save_LIBS"
fi
@@ -15389,7 +15378,7 @@ if eval "test \"\$ac_cv_func_res_nsearch\" != yes" ; then
int
main ()
{
-res_nsearch(0,0,0,0,0)
+res_nsearch(0,0,0,0,0,0)
;
return 0;
}
@@ -15754,6 +15743,58 @@ if test "${ac_cv_var__res+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
+
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+#include "confdefs.h"
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+#ifdef HAVE_ARPA_NAMESER_H
+#include <arpa/nameser.h>
+#endif
+#ifdef HAVE_RESOLV_H
+#include <resolv.h>
+#endif
+ void * foo() { return &_res; }
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
+int
+main ()
+{
+foo()
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_var__res=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_cv_var__res=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+if test "$ac_cv_var__res" != yes ; then
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -15792,6 +15833,7 @@ cat conftest.$ac_ext >&5
ac_cv_var__res=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
fi
@@ -25440,6 +25482,51 @@ if test "${ac_cv_var_h_errno+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
+
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+#include "confdefs.h"
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_NETDB_H
+#include <netdb.h>
+#endif
+ void * foo() { return &h_errno; }
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
+int
+main ()
+{
+foo()
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_var_h_errno=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_cv_var_h_errno=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+if test "$ac_cv_var_h_errno" != yes ; then
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -25478,6 +25565,7 @@ cat conftest.$ac_ext >&5
ac_cv_var_h_errno=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
fi
@@ -25567,6 +25655,48 @@ if test "${ac_cv_var_h_errlist+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
+
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+#include "confdefs.h"
+#ifdef HAVE_NETDB_H
+#include <netdb.h>
+#endif
+ void * foo() { return &h_errlist; }
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
+int
+main ()
+{
+foo()
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_var_h_errlist=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_cv_var_h_errlist=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+if test "$ac_cv_var_h_errlist" != yes ; then
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -25605,6 +25735,7 @@ cat conftest.$ac_ext >&5
ac_cv_var_h_errlist=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
fi
@@ -25691,6 +25822,48 @@ if test "${ac_cv_var_h_nerr+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
+
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+#include "confdefs.h"
+#ifdef HAVE_NETDB_H
+#include <netdb.h>
+#endif
+ void * foo() { return &h_nerr; }
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
+int
+main ()
+{
+foo()
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_var_h_nerr=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_cv_var_h_nerr=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+if test "$ac_cv_var_h_nerr" != yes ; then
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -25729,6 +25902,7 @@ cat conftest.$ac_ext >&5
ac_cv_var_h_nerr=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
fi
@@ -25815,6 +25989,48 @@ if test "${ac_cv_var___progname+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
+
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+#include "confdefs.h"
+#ifdef HAVE_ERR_H
+#include <err.h>
+#endif
+ void * foo() { return &__progname; }
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
+int
+main ()
+{
+foo()
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_var___progname=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_cv_var___progname=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+if test "$ac_cv_var___progname" != yes ; then
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -25853,6 +26069,7 @@ cat conftest.$ac_ext >&5
ac_cv_var___progname=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
fi
@@ -26384,6 +26601,46 @@ if test "${ac_cv_var_timezone+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
+
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+#include "confdefs.h"
+#include <time.h>
+ void * foo() { return &timezone; }
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
+int
+main ()
+{
+foo()
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_var_timezone=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_cv_var_timezone=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+if test "$ac_cv_var_timezone" != yes ; then
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -26422,6 +26679,7 @@ cat conftest.$ac_ext >&5
ac_cv_var_timezone=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
fi
@@ -26505,6 +26763,46 @@ if test "${ac_cv_var_altzone+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
+
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+#include "confdefs.h"
+#include <time.h>
+ void * foo() { return &altzone; }
+#ifdef F77_DUMMY_MAIN
+# ifdef __cplusplus
+ extern "C"
+# endif
+ int F77_DUMMY_MAIN() { return 1; }
+#endif
+int
+main ()
+{
+foo()
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_var_altzone=yes
+else
+ echo "$as_me: failed program was:" >&5
+cat conftest.$ac_ext >&5
+ac_cv_var_altzone=no
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+if test "$ac_cv_var_altzone" != yes ; then
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
@@ -26543,6 +26841,7 @@ cat conftest.$ac_ext >&5
ac_cv_var_altzone=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
fi
@@ -35486,6 +35785,7 @@ fi
krb_cv_compile_et="no"
+krb_cv_com_err_need_r=""
if test "${COMPILE_ET}" = "compile_et"; then
echo "$as_me:$LINENO: checking whether compile_et has the features we need" >&5
@@ -35543,6 +35843,33 @@ fi
fi
echo "$as_me:$LINENO: result: ${krb_cv_compile_et}" >&5
echo "${ECHO_T}${krb_cv_compile_et}" >&6
+if test "${krb_cv_compile_et}" = "yes"; then
+ echo "$as_me:$LINENO: checking for if com_err needs to have a initialize_error_table_r" >&5
+echo $ECHO_N "checking for if com_err needs to have a initialize_error_table_r... $ECHO_C" >&6
+ save2_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS"
+ cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+#include "confdefs.h"
+#include "conftest_et.c"
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ egrep "initialize_error_table_r" >/dev/null 2>&1; then
+ krb_cv_com_err_need_r="initialize_error_table_r(0,0,0,0);"
+ CPPFLAGS="$save2_CPPFLAGS"
+else
+ CPPFLAGS="${save_CPPFLAGS}"
+fi
+rm -f conftest*
+
+ if test X"$krb_cv_com_err_need_r" = X ; then
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ else
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+ fi
+fi
rm -fr conftest*
fi
@@ -35567,6 +35894,7 @@ main ()
const char *p;
p = error_message(0);
+ $krb_cv_com_err_need_r
;
return 0;
@@ -35830,6 +36158,13 @@ echo "$as_me: error: conditional \"AMDEP\" was never defined.
Usually this means the macro was only invoked conditionally." >&2;}
{ (exit 1); exit 1; }; }
fi
+if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
if test -z "${KRB4_TRUE}" && test -z "${KRB4_FALSE}"; then
{ { echo "$as_me:$LINENO: error: conditional \"KRB4\" was never defined.
Usually this means the macro was only invoked conditionally." >&5
@@ -36240,7 +36575,7 @@ _ASBOX
} >&5
cat >&5 <<_CSEOF
-This file was extended by Heimdal $as_me 0.5.1, which was
+This file was extended by Heimdal $as_me 0.6, which was
generated by GNU Autoconf 2.53. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -36302,7 +36637,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-Heimdal config.status 0.5.1
+Heimdal config.status 0.6
configured by $0, generated by GNU Autoconf 2.53,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
@@ -36564,6 +36899,9 @@ s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
s,@CCDEPMODE@,$CCDEPMODE,;t t
+s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
+s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
+s,@MAINT@,$MAINT,;t t
s,@build@,$build,;t t
s,@build_cpu@,$build_cpu,;t t
s,@build_vendor@,$build_vendor,;t t
@@ -37305,7 +37643,7 @@ fi
cat > include/newversion.h.in <<EOF
const char *heimdal_long_version = "@(#)\$Version: $PACKAGE_STRING by @USER@ on @HOST@ ($host) @DATE@ \$";
-const char *heimdal_version = "Heimdal 0.5.1";
+const char *heimdal_version = "Heimdal 0.6";
EOF
if test -f include/version.h && cmp -s include/newversion.h.in include/version.h.in; then
OpenPOWER on IntegriCloud