# Any additions from configure.in:
ac_help="$ac_help
--enable-athena Enable Athena-specific policy decisions"
-ac_help="$ac_help
- --with-com_err=PREFIX Specify location of com_err"
ac_help="$ac_help
--with-krb4=PREFIX Specify location of krb4"
+ac_help="$ac_help
+ --with-com_err=PREFIX Specify location of com_err"
ac_help="$ac_help
--with-hesiod=PREFIX Specify location of Hesiod"
ac_help="$ac_help
--with-zephyr=PREFIX Specify location of Zephyr"
ac_help="$ac_help
--with-gdss=PREFIX Specify location of GDSS"
+ac_help="$ac_help
+ --with-rsaref=PREFIX Specify location of RSAREF"
ac_help="$ac_help
--with-oracle=PREFIX Specify location of Oracle (for server)"
ac_help="$ac_help
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:552: checking for $ac_word" >&5
+echo "configure:554: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:581: checking for $ac_word" >&5
+echo "configure:583: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:629: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+echo "configure:631: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext <<EOF
-#line 639 "configure"
+#line 641 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
-if { (eval echo configure:643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
-echo "configure:663: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "configure:665: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
-echo "configure:668: checking whether we are using GNU C" >&5
+echo "configure:670: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
yes;
#endif
EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
-echo "configure:692: checking whether ${CC-cc} accepts -g" >&5
+echo "configure:694: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
-echo "configure:749: checking for a BSD compatible install" >&5
+echo "configure:751: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:801: checking for $ac_word" >&5
+echo "configure:803: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
-echo "configure:828: checking whether ${MAKE-make} sets \${MAKE}" >&5
+echo "configure:830: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Athena-local policy decisions
echo $ac_n "checking for Athena""... $ac_c" 1>&6
-echo "configure:870: checking for Athena" >&5
+echo "configure:872: checking for Athena" >&5
# Check whether --enable-athena or --disable-athena was given.
if test "${enable_athena+set}" = set; then
enableval="$enable_athena"
# Networking libraries
echo "checking network libraries..." 1>&6
-echo "configure:901: checking network libraries..." >&5
+echo "configure:903: checking network libraries..." >&5
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
-echo "configure:903: checking for gethostbyname" >&5
+echo "configure:905: checking for gethostbyname" >&5
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 908 "configure"
+#line 910 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
; return 0; }
EOF
-if { (eval echo configure:931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_gethostbyname=yes"
else
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
-echo "configure:949: checking for gethostbyname in -lnsl" >&5
+echo "configure:951: checking for gethostbyname in -lnsl" >&5
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lnsl $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 957 "configure"
+#line 959 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
gethostbyname()
; return 0; }
EOF
-if { (eval echo configure:968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for gethostbyname in -lresolv""... $ac_c" 1>&6
-echo "configure:994: checking for gethostbyname in -lresolv" >&5
+echo "configure:996: checking for gethostbyname in -lresolv" >&5
ac_lib_var=`echo resolv'_'gethostbyname | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lresolv $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1002 "configure"
+#line 1004 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
gethostbyname()
; return 0; }
EOF
-if { (eval echo configure:1013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
fi
echo $ac_n "checking for socket""... $ac_c" 1>&6
-echo "configure:1045: checking for socket" >&5
+echo "configure:1047: checking for socket" >&5
if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1050 "configure"
+#line 1052 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char socket(); below. */
; return 0; }
EOF
-if { (eval echo configure:1073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_socket=yes"
else
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
-echo "configure:1091: checking for socket in -lsocket" >&5
+echo "configure:1093: checking for socket in -lsocket" >&5
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lsocket $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1099 "configure"
+#line 1101 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
socket()
; return 0; }
EOF
-if { (eval echo configure:1110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
-echo "configure:1136: checking for socket in -lsocket" >&5
+echo "configure:1138: checking for socket in -lsocket" >&5
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lsocket -lnsl $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1144 "configure"
+#line 1146 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
socket()
; return 0; }
EOF
-if { (eval echo configure:1155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
fi
-# com_err (required, but can be built)
-echo $ac_n "checking for com_err""... $ac_c" 1>&6
-echo "configure:1183: checking for com_err" >&5
-# Check whether --with-com_err or --without-com_err was given.
-if test "${with_com_err+set}" = set; then
- withval="$with_com_err"
- echo "$ac_t""$withval" 1>&6
- if test $withval = "no"; then
- { echo "configure: error: com_err is required for Moira" 1>&2; exit 1; }
- fi
- if test $withval != "yes"; then
-
-
- case $CPPFLAGS in
- *-I$withval/include*) ;;
- *) CPPFLAGS=-I$withval/include\ $CPPFLAGS ;;
- esac
-
-
- case $PRO_C_INCLUDES in
- *INCLUDE=$withval/include*) ;;
- *) PRO_C_INCLUDES=INCLUDE=$withval/include\ $PRO_C_INCLUDES ;;
- esac
-
-
-
- case $LIBPATH in
- *-L$withval/lib*) ;;
- *) LIBPATH=-L$withval/lib\ $LIBPATH ;;
- esac
-
- fi
- COMPILE_ET=compile_et
-else
- echo "$ac_t""util/et" 1>&6
- COM_ERR_SUBDIR=util/et;
-
-
- case $CPPFLAGS in
- *-I`pwd`/util/et*) ;;
- *) CPPFLAGS=-I`pwd`/util/et\ $CPPFLAGS ;;
- esac
-
-
- case $PRO_C_INCLUDES in
- *INCLUDE=`pwd`/util/et*) ;;
- *) PRO_C_INCLUDES=INCLUDE=`pwd`/util/et\ $PRO_C_INCLUDES ;;
- esac
-
-
-
- case $LIBPATH in
- *-L`pwd`/util/et*) ;;
- *) LIBPATH=-L`pwd`/util/et\ $LIBPATH ;;
- esac
-
- COMPILE_ET=`pwd`/util/et/compile_et
- subdirs="$COM_ERR_SUBDIR"
-
-fi
-
-
-
-
# Kerberos (required)
echo $ac_n "checking for Kerberos 4""... $ac_c" 1>&6
-echo "configure:1247: checking for Kerberos 4" >&5
+echo "configure:1185: checking for Kerberos 4" >&5
# Check whether --with-krb4 or --without-krb4 was given.
if test "${with_krb4+set}" = set; then
withval="$with_krb4"
fi
echo $ac_n "checking for krb_rd_req in -lkrb4""... $ac_c" 1>&6
-echo "configure:1314: checking for krb_rd_req in -lkrb4" >&5
+echo "configure:1252: checking for krb_rd_req in -lkrb4" >&5
ac_lib_var=`echo krb4'_'krb_rd_req | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lkrb4 $LIBPATH -ldes425 -lkrb5 -lcrypto $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1322 "configure"
+#line 1260 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
krb_rd_req()
; return 0; }
EOF
-if { (eval echo configure:1333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for krb_rd_req in -lkrb""... $ac_c" 1>&6
-echo "configure:1352: checking for krb_rd_req in -lkrb" >&5
+echo "configure:1290: checking for krb_rd_req in -lkrb" >&5
ac_lib_var=`echo krb'_'krb_rd_req | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lkrb $LIBPATH -ldes $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1360 "configure"
+#line 1298 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
krb_rd_req()
; return 0; }
EOF
-if { (eval echo configure:1371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
fi
+# com_err (required, but can be built)
+echo $ac_n "checking for com_err""... $ac_c" 1>&6
+echo "configure:1335: checking for com_err" >&5
+# Check whether --with-com_err or --without-com_err was given.
+if test "${with_com_err+set}" = set; then
+ withval="$with_com_err"
+ echo "$ac_t""$withval" 1>&6
+ if test $withval = "no"; then
+ { echo "configure: error: com_err is required for Moira" 1>&2; exit 1; }
+ fi
+ if test $withval != "yes"; then
+
+
+ case $CPPFLAGS in
+ *-I$withval/include*) ;;
+ *) CPPFLAGS=-I$withval/include\ $CPPFLAGS ;;
+ esac
+
+
+ case $PRO_C_INCLUDES in
+ *INCLUDE=$withval/include*) ;;
+ *) PRO_C_INCLUDES=INCLUDE=$withval/include\ $PRO_C_INCLUDES ;;
+ esac
+
+
+
+ case $LIBPATH in
+ *-L$withval/lib*) ;;
+ *) LIBPATH=-L$withval/lib\ $LIBPATH ;;
+ esac
+
+ fi
+ COMPILE_ET=compile_et
+else
+ echo "$ac_t""util/et" 1>&6
+ COM_ERR_SUBDIR=util/et;
+
+
+ case $CPPFLAGS in
+ *-I`pwd`/util/et*) ;;
+ *) CPPFLAGS=-I`pwd`/util/et\ $CPPFLAGS ;;
+ esac
+
+
+ case $PRO_C_INCLUDES in
+ *INCLUDE=`pwd`/util/et*) ;;
+ *) PRO_C_INCLUDES=INCLUDE=`pwd`/util/et\ $PRO_C_INCLUDES ;;
+ esac
+
+
+
+ case $LIBPATH in
+ *-L`pwd`/util/et*) ;;
+ *) LIBPATH=-L`pwd`/util/et\ $LIBPATH ;;
+ esac
+
+ COMPILE_ET=`pwd`/util/et/compile_et
+ subdirs="$COM_ERR_SUBDIR"
+
+fi
+
+
+
+
# Hesiod support
echo $ac_n "checking for Hesiod""... $ac_c" 1>&6
-echo "configure:1397: checking for Hesiod" >&5
+echo "configure:1399: checking for Hesiod" >&5
# Check whether --with-hesiod or --without-hesiod was given.
if test "${with_hesiod+set}" = set; then
withval="$with_hesiod"
fi
echo $ac_n "checking for res_send""... $ac_c" 1>&6
-echo "configure:1431: checking for res_send" >&5
+echo "configure:1433: checking for res_send" >&5
if eval "test \"`echo '$''{'ac_cv_func_res_send'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1436 "configure"
+#line 1438 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char res_send(); below. */
; return 0; }
EOF
-if { (eval echo configure:1459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_res_send=yes"
else
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for res_send in -lresolv""... $ac_c" 1>&6
-echo "configure:1477: checking for res_send in -lresolv" >&5
+echo "configure:1479: checking for res_send in -lresolv" >&5
ac_lib_var=`echo resolv'_'res_send | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lresolv $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1485 "configure"
+#line 1487 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
res_send()
; return 0; }
EOF
-if { (eval echo configure:1496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
fi
echo $ac_n "checking for hes_resolve in -lhesiod""... $ac_c" 1>&6
-echo "configure:1526: checking for hes_resolve in -lhesiod" >&5
+echo "configure:1528: checking for hes_resolve in -lhesiod" >&5
ac_lib_var=`echo hesiod'_'hes_resolve | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lhesiod $LIBPATH $LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1534 "configure"
+#line 1536 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
hes_resolve()
; return 0; }
EOF
-if { (eval echo configure:1545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
# Zephyr support
echo $ac_n "checking for Zephyr""... $ac_c" 1>&6
-echo "configure:1582: checking for Zephyr" >&5
+echo "configure:1584: checking for Zephyr" >&5
# Check whether --with-zephyr or --without-zephyr was given.
if test "${with_zephyr+set}" = set; then
withval="$with_zephyr"
fi
echo $ac_n "checking for ZInitialize in -lzephyr""... $ac_c" 1>&6
-echo "configure:1616: checking for ZInitialize in -lzephyr" >&5
+echo "configure:1618: checking for ZInitialize in -lzephyr" >&5
ac_lib_var=`echo zephyr'_'ZInitialize | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lzephyr $LIBPATH $KRB4_LIBS -lcom_err $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1624 "configure"
+#line 1626 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
ZInitialize()
; return 0; }
EOF
-if { (eval echo configure:1635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
# GDSS support (default: build util/gdss if present)
echo $ac_n "checking for GDSS""... $ac_c" 1>&6
-echo "configure:1672: checking for GDSS" >&5
+echo "configure:1674: checking for GDSS" >&5
# Check whether --with-gdss or --without-gdss was given.
if test "${with_gdss+set}" = set; then
withval="$with_gdss"
+# RSAREF support (default: build util/rsaref if present)
+echo $ac_n "checking for RSAREF""... $ac_c" 1>&6
+echo "configure:1726: checking for RSAREF" >&5
+# Check whether --with-rsaref or --without-rsaref was given.
+if test "${with_rsaref+set}" = set; then
+ withval="$with_rsaref"
+ rsaref="$withval"
+ RSAREF_CPPFLAGS="-I$rsaref/include"
+ RSAREF_LIBS="$rsaref/lib/rsaref.a"
+else
+ RSAREF_SUBDIRS=reg_svr
+ if test -d $srcdir/util/rsaref; then
+ rsaref=$srcdir/util/rsaref
+ RSAREF_SUBDIRS="util/rsaref reg_svr"
+ RSAREF_OUTPUT_FILES="util/rsaref/Makefile"
+ # autoconf can't deal with creating util/rsaref if util doesn't exist
+ if test ! -d util; then
+ mkdir util
+ fi
+ RSAREF_CPPFLAGS="-I$(SRCTOP)/util/rsaref"
+ RSAREF_LIBS='$(BUILDTOP)/util/rsaref/rsaref.a'
+ else
+ rsaref=no
+ fi
+fi
+
+echo "$ac_t""$rsaref" 1>&6
+if test "$rsaref" != no; then
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_RSAREF 1
+EOF
+
+
+ case $PRO_C_DEFS in
+ *DEFINE=HAVE_RSAREF*) ;;
+ *) PRO_C_DEFS=DEFINE=HAVE_RSAREF\ $PRO_C_DEFS ;;
+ esac
+
+
+fi
+
+
+
+
# Oracle (default: yes, if $ORACLE_HOME is set)
echo $ac_n "checking for Oracle""... $ac_c" 1>&6
-echo "configure:1724: checking for Oracle" >&5
+echo "configure:1771: checking for Oracle" >&5
# Check whether --with-oracle or --without-oracle was given.
if test "${with_oracle+set}" = set; then
withval="$with_oracle"
# AFS support
echo $ac_n "checking for AFS""... $ac_c" 1>&6
-echo "configure:1754: checking for AFS" >&5
+echo "configure:1801: checking for AFS" >&5
# Check whether --with-afs or --without-afs was given.
if test "${with_afs+set}" = set; then
withval="$with_afs"
AFS_DIR=$afs
fi
echo $ac_n "checking for insque""... $ac_c" 1>&6
-echo "configure:1772: checking for insque" >&5
+echo "configure:1819: checking for insque" >&5
if eval "test \"`echo '$''{'ac_cv_func_insque'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1777 "configure"
+#line 1824 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char insque(); below. */
; return 0; }
EOF
-if { (eval echo configure:1800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_insque=yes"
else
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for insque in -lcompat""... $ac_c" 1>&6
-echo "configure:1818: checking for insque in -lcompat" >&5
+echo "configure:1865: checking for insque in -lcompat" >&5
ac_lib_var=`echo compat'_'insque | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lcompat $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1826 "configure"
+#line 1873 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
insque()
; return 0; }
EOF
-if { (eval echo configure:1837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
fi
echo $ac_n "checking for sigvec""... $ac_c" 1>&6
-echo "configure:1861: checking for sigvec" >&5
+echo "configure:1908: checking for sigvec" >&5
if eval "test \"`echo '$''{'ac_cv_func_sigvec'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1866 "configure"
+#line 1913 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char sigvec(); below. */
; return 0; }
EOF
-if { (eval echo configure:1889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_sigvec=yes"
else
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for sigvec in -lucb""... $ac_c" 1>&6
-echo "configure:1907: checking for sigvec in -lucb" >&5
+echo "configure:1954: checking for sigvec in -lucb" >&5
ac_lib_var=`echo ucb'_'sigvec | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lucb -L/usr/ucblib $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1915 "configure"
+#line 1962 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
sigvec()
; return 0; }
EOF
-if { (eval echo configure:1926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
fi
echo $ac_n "checking for pioctl in -lsys""... $ac_c" 1>&6
-echo "configure:1950: checking for pioctl in -lsys" >&5
+echo "configure:1997: checking for pioctl in -lsys" >&5
ac_lib_var=`echo sys'_'pioctl | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lsys $AFS_LIBS -lrx -llwp -lsys $AFS_EXTRA_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1958 "configure"
+#line 2005 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
pioctl()
; return 0; }
EOF
-if { (eval echo configure:1969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
# GNU readline
echo "checking for GNU readline..." 1>&6
-echo "configure:2011: checking for GNU readline..." >&5
+echo "configure:2058: checking for GNU readline..." >&5
# Check whether --with-readline or --without-readline was given.
if test "${with_readline+set}" = set; then
withval="$with_readline"
readline="$withval"
else
echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
-echo "configure:2018: checking for readline in -lreadline" >&5
+echo "configure:2065: checking for readline in -lreadline" >&5
ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lreadline -ltermcap $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2026 "configure"
+#line 2073 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
readline()
; return 0; }
EOF
-if { (eval echo configure:2037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
# Curses
curses=curses
echo "checking for curses" 1>&6
-echo "configure:2072: checking for curses" >&5
+echo "configure:2119: checking for curses" >&5
echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6
-echo "configure:2074: checking for main in -lcurses" >&5
+echo "configure:2121: checking for main in -lcurses" >&5
ac_lib_var=`echo curses'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lcurses $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2082 "configure"
+#line 2129 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
-if { (eval echo configure:2089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for main in -lncurses""... $ac_c" 1>&6
-echo "configure:2108: checking for main in -lncurses" >&5
+echo "configure:2155: checking for main in -lncurses" >&5
ac_lib_var=`echo ncurses'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lncurses $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2116 "configure"
+#line 2163 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
-if { (eval echo configure:2123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
OLDLIBS=$LIBS
LIBS=-l$curses
echo "checking if curses needs termcap" 1>&6
-echo "configure:2149: checking if curses needs termcap" >&5
+echo "configure:2196: checking if curses needs termcap" >&5
if test "$cross_compiling" = yes; then
:
else
cat > conftest.$ac_ext <<EOF
-#line 2154 "configure"
+#line 2201 "configure"
#include "confdefs.h"
#include <curses.h>
main(int argc, char **argv)
return 0;
}
EOF
-if { (eval echo configure:2164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
CURSES_LIBS="-l$curses"
else
:
else
cat > conftest.$ac_ext <<EOF
-#line 2176 "configure"
+#line 2223 "configure"
#include "confdefs.h"
#include <curses.h>
main(int argc, char **argv)
return 0;
}
EOF
-if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
CURSES_LIBS="-l$curses -ltermcap"
else
OLDLIBS=$LIBS
LIBS=$CURSES_LIBS
cat > conftest.$ac_ext <<EOF
-#line 2208 "configure"
+#line 2255 "configure"
#include "confdefs.h"
#include <curses.h>
int main() {
WINDOW *w; getmaxx(w);
; return 0; }
EOF
-if { (eval echo configure:2215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
:
else
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
-#line 2223 "configure"
+#line 2270 "configure"
#include "confdefs.h"
#include <curses.h>
int main() {
WINDOW *w; w->_maxx;
; return 0; }
EOF
-if { (eval echo configure:2230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
CURSES_CPPFLAGS="-D'getmaxx(w)=w->_maxx'"
else
for ac_func in getusershell
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:2256: checking for $ac_func" >&5
+echo "configure:2303: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2261 "configure"
+#line 2308 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:2284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
-echo "configure:2310: checking how to run the C preprocessor" >&5
+echo "configure:2357: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 2325 "configure"
+#line 2372 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 2342 "configure"
+#line 2389 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
ac_safe=`echo "crypt.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for crypt.h""... $ac_c" 1>&6
-echo "configure:2372: checking for crypt.h" >&5
+echo "configure:2419: checking for crypt.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2377 "configure"
+#line 2424 "configure"
#include "confdefs.h"
#include <crypt.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
fi
echo $ac_n "checking for crypt""... $ac_c" 1>&6
-echo "configure:2404: checking for crypt" >&5
+echo "configure:2451: checking for crypt" >&5
if eval "test \"`echo '$''{'ac_cv_func_crypt'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2409 "configure"
+#line 2456 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char crypt(); below. */
; return 0; }
EOF
-if { (eval echo configure:2432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_crypt=yes"
else
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
-echo "configure:2450: checking for crypt in -lcrypt" >&5
+echo "configure:2497: checking for crypt in -lcrypt" >&5
ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lcrypt $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2458 "configure"
+#line 2505 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
crypt()
; return 0; }
EOF
-if { (eval echo configure:2469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
clients/mrcheck/Makefile clients/mrtest/Makefile \
clients/passwd/Makefile clients/userreg/Makefile \
update/Makefile man/Makefile \
- $SERVER_OUTPUT_FILES $GDSS_OUTPUT_FILES" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+ $SERVER_OUTPUT_FILES $GDSS_OUTPUT_FILES $RSAREF_OUTPUT_FILES" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
s%@GDSS_OBJS@%$GDSS_OBJS%g
s%@GDSS_CFILES@%$GDSS_CFILES%g
s%@GDSS_TARGET@%$GDSS_TARGET%g
+s%@RSAREF_CPPFLAGS@%$RSAREF_CPPFLAGS%g
+s%@RSAREF_LIBS@%$RSAREF_LIBS%g
+s%@RSAREF_SUBDIRS@%$RSAREF_SUBDIRS%g
s%@PRO_C@%$PRO_C%g
s%@PRO_C_DEFS@%$PRO_C_DEFS%g
s%@PRO_C_INCLUDES@%$PRO_C_INCLUDES%g
clients/mrcheck/Makefile clients/mrtest/Makefile \
clients/passwd/Makefile clients/userreg/Makefile \
update/Makefile man/Makefile \
- $SERVER_OUTPUT_FILES $GDSS_OUTPUT_FILES"}
+ $SERVER_OUTPUT_FILES $GDSS_OUTPUT_FILES $RSAREF_OUTPUT_FILES"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then