--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
+ --with-ldap=PREFIX Specify location of LDAP libs (for server)"
ac_help="$ac_help
--with-afs=PREFIX Specify location of AFS libs (for server)"
ac_help="$ac_help
if test "$athena" = true; then
enable_athena=yes
- prefix=/afs/athena.mit.edu/system/moira
+ prefix=/afs/.athena.mit.edu/system/moira
bindir=$prefix/arch/$ATHENA_SYS/bin
sbindir=$bindir
fi
+echo $ac_n "checking for main in -lcrypto""... $ac_c" 1>&6
+echo "configure:1410: checking for main in -lcrypto" >&5
+ac_lib_var=`echo crypto'_'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
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lcrypto $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 1418 "configure"
+#include "confdefs.h"
+
+int main() {
+main()
+; return 0; }
+EOF
+if { (eval echo configure:1425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ crypto="crypto"
+else
+ echo "$ac_t""no" 1>&6
+echo $ac_n "checking for main in -lk5crypto""... $ac_c" 1>&6
+echo "configure:1444: checking for main in -lk5crypto" >&5
+ac_lib_var=`echo k5crypto'_'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
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lk5crypto $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 1452 "configure"
+#include "confdefs.h"
+
+int main() {
+main()
+; return 0; }
+EOF
+if { (eval echo configure:1459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ crypto="k5crypto"
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+fi
+
echo $ac_n "checking for krb_rd_req in -lkrb4""... $ac_c" 1>&6
-echo "configure:1410: checking for krb_rd_req in -lkrb4" >&5
+echo "configure:1482: 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
else
ac_save_LIBS="$LIBS"
-LIBS="-lkrb4 $LIBPATH -ldes425 -lkrb5 -lcrypto -lcom_err $LIBS"
+LIBS="-lkrb4 $LIBPATH -ldes425 -lkrb5 -l${crypto} -lcom_err $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1418 "configure"
+#line 1490 "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:1429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -lcrypto"
+ KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -l${crypto}"
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for krb_rd_req in -lkrb""... $ac_c" 1>&6
-echo "configure:1448: checking for krb_rd_req in -lkrb" >&5
+echo "configure:1520: 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 1456 "configure"
+#line 1528 "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:1467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo $ac_n "checking for Kerberos 5""... $ac_c" 1>&6
-echo "configure:1492: checking for Kerberos 5" >&5
+echo "configure:1564: checking for Kerberos 5" >&5
# Check whether --with-krb5 or --without-krb5 was given.
if test "${with_krb5+set}" = set; then
withval="$with_krb5"
REG_SVR_INCLUDES=-I$krb5/include
REG_SVR_LIBS=-L$krb5/lib
fi
- REG_SVR_LIBS="$REG_SVR_LIBS -lkadm5clnt -lgssapi_krb5 -lgssrpc -ldyn -lkrb4 -ldes425 -lkrb5 -lcrypto"
+ REG_SVR_LIBS="$REG_SVR_LIBS -lkadm5clnt -lgssapi_krb5 -lgssrpc -ldyn -lkrb4 -ldes425 -lkrb5 -l${crypto}"
else
REG_SVR_DEFS=-DKRB4
REG_SVR_LIBS=-lkadm
# Hesiod support
echo $ac_n "checking for Hesiod""... $ac_c" 1>&6
-echo "configure:1519: checking for Hesiod" >&5
+echo "configure:1591: 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:1553: checking for res_send" >&5
+echo "configure:1625: 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 1558 "configure"
+#line 1630 "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:1581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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:1599: checking for res_send in -lresolv" >&5
+echo "configure:1671: 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 1607 "configure"
+#line 1679 "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:1618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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:1648: checking for hes_resolve in -lhesiod" >&5
+echo "configure:1720: 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 1656 "configure"
+#line 1728 "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:1667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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:1704: checking for Zephyr" >&5
+echo "configure:1776: 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:1738: checking for ZInitialize in -lzephyr" >&5
+echo "configure:1810: 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 1746 "configure"
+#line 1818 "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:1757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
fi
-# GDSS support (default: build util/gdss if present)
-echo $ac_n "checking for GDSS""... $ac_c" 1>&6
-echo "configure:1794: checking for GDSS" >&5
-if test "$cross_compiling" = yes; then
- with_gdss=no
-else
- cat > conftest.$ac_ext <<EOF
-#line 1799 "configure"
-#include "confdefs.h"
- int main() { return sizeof(long)!=4; }
-EOF
-if { (eval echo configure:1803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- :
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- with_gdss=no
-fi
-rm -fr conftest*
-fi
-
-# Check whether --with-gdss or --without-gdss was given.
-if test "${with_gdss+set}" = set; then
- withval="$with_gdss"
- gdss="$withval"
- if test "$gdss" != no; then
-
-
- case $CPPFLAGS in
- *-I"$gdss/include"*) ;;
- *) CPPFLAGS=-I"$gdss/include"\ $CPPFLAGS ;;
- esac
-
-
- case $PRO_C_INCLUDES in
- *INCLUDE="$gdss/include"*) ;;
- *) PRO_C_INCLUDES=INCLUDE="$gdss/include"\ $PRO_C_INCLUDES ;;
- esac
-
-
- GDSS_LIBS="-L$gdss/lib -lgdss"
- fi
-else
- if test -d $srcdir/util/gdss; then
- gdss=$srcdir/util/gdss
- GDSS_SUBDIR=util/gdss
- GDSS_OUTPUT_FILES="util/gdss/Makefile util/gdss/lib/Makefile \
- util/gdss/lib/crypto/Makefile util/gdss/lib/crypto/bignum/Makefile \
- util/gdss/lib/crypto/algorithm/Makefile"
- # autoconf can't deal with creating util/gdss if util doesn't exist
- if test ! -d util; then
- mkdir util
- fi
-
-
- case $CPPFLAGS in
- *-I'$(SRCTOP)/util/gdss/include'*) ;;
- *) CPPFLAGS=-I'$(SRCTOP)/util/gdss/include'\ $CPPFLAGS ;;
- esac
-
-
- case $PRO_C_INCLUDES in
- *INCLUDE='$(SRCTOP)/util/gdss/include'*) ;;
- *) PRO_C_INCLUDES=INCLUDE='$(SRCTOP)/util/gdss/include'\ $PRO_C_INCLUDES ;;
- esac
-
-
- GDSS_LIBS='-L$(BUILDTOP)/util/gdss/lib -lgdss'
- GDSS_LIBDEP='$(BUILDTOP)/util/gdss/lib/libgdss.a'
- else
- gdss=no
- fi
-fi
-
-echo "$ac_t""$gdss" 1>&6
-if test "$gdss" != no; then
- GDSS_OBJS='$(GDSS_OBJS)'
- GDSS_CFILES='$(GDSS_CFILES)'
- GDSS_TARGET='$(GDSS_TARGET)'
-
- cat >> confdefs.h <<\EOF
-#define HAVE_GDSS 1
-EOF
-
-
- case $PRO_C_DEFS in
- *DEFINE=HAVE_GDSS*) ;;
- *) PRO_C_DEFS=DEFINE=HAVE_GDSS\ $PRO_C_DEFS ;;
- esac
-
-
-fi
-
-
-
-
-
-
-
-
# RSAREF support (default: build util/rsaref if present)
echo $ac_n "checking for RSAREF""... $ac_c" 1>&6
-echo "configure:1896: checking for RSAREF" >&5
+echo "configure:1866: checking for RSAREF" >&5
# Check whether --with-rsaref or --without-rsaref was given.
if test "${with_rsaref+set}" = set; then
withval="$with_rsaref"
# Oracle (default: yes, if $ORACLE_HOME is set)
echo $ac_n "checking for Oracle""... $ac_c" 1>&6
-echo "configure:1943: checking for Oracle" >&5
+echo "configure:1913: checking for Oracle" >&5
# Check whether --with-oracle or --without-oracle was given.
if test "${with_oracle+set}" = set; then
withval="$with_oracle"
echo "$ac_t""$oracle" 1>&6
if test "$oracle" != no; then
echo $ac_n "checking Pro*C version""... $ac_c" 1>&6
-echo "configure:1959: checking Pro*C version" >&5
+echo "configure:1929: checking Pro*C version" >&5
ORACLE_HOME=$oracle release=`$ORACLE_HOME/bin/proc | awk '/Release/ {print $3;}'`
echo "$ac_t""$release" 1>&6
case $release in
;;
esac
SVRSUBDIRS='$(SVRDIRS)'
- SERVER_OUTPUT_FILES="db/Makefile server/Makefile backup/Makefile dbck/Makefile dcm/Makefile gen/Makefile reg_svr/Makefile regtape/Makefile"
+ SERVER_OUTPUT_FILES="db/Makefile server/Makefile backup/Makefile dbck/Makefile dcm/Makefile gen/Makefile incremental/Makefile reg_svr/Makefile regtape/Makefile"
PRO_C=$oracle/bin/proc
PRO_C_OPTS=CODE=ANSI_C
PRO_C_DEFS="DEFINE=_PROC_ $PRO_C_DEFS"
+# LDAP support
+echo $ac_n "checking for LDAP""... $ac_c" 1>&6
+echo "configure:1955: checking for LDAP" >&5
+# Check whether --with-ldap or --without-ldap was given.
+if test "${with_ldap+set}" = set; then
+ withval="$with_ldap"
+ ldap="$withval"
+else
+ if test -n "$LDAP_HOME" -a -d "$LDAP_HOME"; then
+ ldap=$LDAP_HOME
+ else
+ ldap=no
+ fi
+fi
+
+echo "$ac_t""$ldap" 1>&6
+if test "$ldap" != no -a "$oracle" != no; then
+ if test "$ldap" != yes; then
+ LDAP_CPPFLAGS="-I$ldap/include"
+ LDAP_LIBS="-L$ldap/lib"
+ fi
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_LDAP 1
+EOF
+
+
+ case $PRO_C_DEFS in
+ *DEFINE=HAVE_LDAP*) ;;
+ *) PRO_C_DEFS=DEFINE=HAVE_LDAP\ $PRO_C_DEFS ;;
+ esac
+
+
+
+ WINAD_SUBDIRS="winad"
+ WINAD_OUTPUT_FILES="incremental/winad/Makefile"
+fi
+
+
+
+
# AFS support
echo $ac_n "checking for AFS""... $ac_c" 1>&6
-echo "configure:1985: checking for AFS" >&5
+echo "configure:1996: 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:2003: checking for insque" >&5
+echo "configure:2014: 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 2008 "configure"
+#line 2019 "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:2031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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:2049: checking for insque in -lcompat" >&5
+echo "configure:2060: 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 2057 "configure"
+#line 2068 "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:2068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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:2092: checking for sigvec" >&5
+echo "configure:2103: 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 2097 "configure"
+#line 2108 "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:2120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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:2138: checking for sigvec in -lucb" >&5
+echo "configure:2149: 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 2146 "configure"
+#line 2157 "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:2157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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:2181: checking for pioctl in -lsys" >&5
+echo "configure:2192: 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 2189 "configure"
+#line 2200 "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:2200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
- AFS_SUBDIRS="incremental"
- AFS_OUTPUT_FILES="incremental/Makefile"
+ AFS_SUBDIRS="afs"
+ AFS_OUTPUT_FILES="incremental/afs/Makefile"
if test -d $srcdir/afssync; then
- AFS_SUBDIRS="$AFS_SUBDIRS afssync"
+ AFS_SYNCDIR="afssync"
AFS_OUTPUT_FILES="$AFS_OUTPUT_FILES afssync/Makefile"
fi
fi
+
# GNU readline
echo "checking for GNU readline..." 1>&6
-echo "configure:2250: checking for GNU readline..." >&5
+echo "configure:2262: 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"; echo "$ac_t""$withval" 1>&6
else
echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
-echo "configure:2257: checking for readline in -lreadline" >&5
+echo "configure:2269: 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 2265 "configure"
+#line 2277 "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:2276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
if test "$athena" = true; then
unset ac_cv_lib_readline_readline
echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
-echo "configure:2297: checking for readline in -lreadline" >&5
+echo "configure:2309: 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 -L/mit/gnu/lib -ltermcap $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2305 "configure"
+#line 2317 "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:2316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
if test "$readline" != no; then
if test "$readline" != yes; then
- READLINE_CPPFLAGS="-I$readline/include -I$readline/include/readline"
+ READLINE_CPPFLAGS="-I$readline/include"
READLINE_LIBS="-L$readline/lib"
- else
- READLINE_CPPFLAGS="-I/usr/include/readline"
fi
READLINE_CPPFLAGS="$READLINE_CPPFLAGS -DHAVE_READLINE"
READLINE_LIBS="$READLINE_LIBS -lreadline -ltermcap"
# Curses
curses=curses
echo "checking for curses" 1>&6
-echo "configure:2358: checking for curses" >&5
+echo "configure:2368: checking for curses" >&5
echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6
-echo "configure:2360: checking for main in -lcurses" >&5
+echo "configure:2370: 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 2368 "configure"
+#line 2378 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
-if { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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:2394: checking for main in -lncurses" >&5
+echo "configure:2404: 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 2402 "configure"
+#line 2412 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
-if { (eval echo configure:2409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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:2435: checking if curses needs termcap" >&5
+echo "configure:2445: checking if curses needs termcap" >&5
if test "$cross_compiling" = yes; then
:
else
cat > conftest.$ac_ext <<EOF
-#line 2440 "configure"
+#line 2450 "configure"
#include "confdefs.h"
#include <curses.h>
main(int argc, char **argv)
return 0;
}
EOF
-if { (eval echo configure:2450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
CURSES_LIBS="-l$curses"
else
:
else
cat > conftest.$ac_ext <<EOF
-#line 2462 "configure"
+#line 2472 "configure"
#include "confdefs.h"
#include <curses.h>
main(int argc, char **argv)
return 0;
}
EOF
-if { (eval echo configure:2472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
CURSES_LIBS="-l$curses -ltermcap"
else
OLDLIBS=$LIBS
LIBS=$CURSES_LIBS
cat > conftest.$ac_ext <<EOF
-#line 2494 "configure"
+#line 2504 "configure"
#include "confdefs.h"
#include <curses.h>
int main() {
WINDOW *w; getmaxx(w);
; return 0; }
EOF
-if { (eval echo configure:2501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
:
else
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
-#line 2509 "configure"
+#line 2519 "configure"
#include "confdefs.h"
#include <curses.h>
int main() {
WINDOW *w; w->_maxx;
; return 0; }
EOF
-if { (eval echo configure:2516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
CURSES_CPPFLAGS="-D'getmaxx(w)=w->_maxx'"
else
fi
rm -f conftest*
cat > conftest.$ac_ext <<EOF
-#line 2529 "configure"
+#line 2539 "configure"
#include "confdefs.h"
#include <curses.h>
int main() {
newterm(NULL, NULL, NULL);
; return 0; }
EOF
-if { (eval echo configure:2536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
CURSES_CPPFLAGS="$CURSES_CPPFLAGS -DCURSES_HAS_NEWTERM"
else
-for ac_func in getusershell
+for ac_func in getusershell strlcpy strlcat uname
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:2558: checking for $ac_func" >&5
+echo "configure:2568: 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 2563 "configure"
+#line 2573 "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:2586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
done
+echo $ac_n "checking for sigaction""... $ac_c" 1>&6
+echo "configure:2622: checking for sigaction" >&5
+if eval "test \"`echo '$''{'ac_cv_func_sigaction'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 2627 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char sigaction(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char sigaction();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_sigaction) || defined (__stub___sigaction)
+choke me
+#else
+sigaction();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:2650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_sigaction=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_sigaction=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'sigaction`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ cat >> confdefs.h <<\EOF
+#define HAVE_POSIX_SIGNALS 1
+EOF
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+
+echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
+echo "configure:2674: checking how to run the C preprocessor" >&5
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ # This must be in double quotes, not single quotes, because CPP may get
+ # substituted into the Makefile and "${CC-cc}" will confuse make.
+ CPP="${CC-cc} -E"
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp.
+ cat > conftest.$ac_ext <<EOF
+#line 2689 "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:2695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ :
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ CPP="${CC-cc} -E -traditional-cpp"
+ cat > conftest.$ac_ext <<EOF
+#line 2706 "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:2712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ :
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ CPP="${CC-cc} -nologo -E"
+ cat > conftest.$ac_ext <<EOF
+#line 2723 "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:2729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ :
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ CPP=/lib/cpp
+fi
+rm -f conftest*
+fi
+rm -f conftest*
+fi
+rm -f conftest*
+ ac_cv_prog_CPP="$CPP"
+fi
+ CPP="$ac_cv_prog_CPP"
+else
+ ac_cv_prog_CPP="$CPP"
+fi
+echo "$ac_t""$CPP" 1>&6
+
+for ac_hdr in unistd.h getopt.h netinet/in.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:2757: checking for $ac_hdr" >&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 2762 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:2767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
+
case $PRO_C_INCLUDES in
*INCLUDE='$(srcdir)'*) ;;
trap 'rm -fr `echo "Makefile lib/Makefile include/Makefile clients/Makefile \
clients/lib/Makefile clients/addusr/Makefile \
- clients/blanche/Makefile clients/mailmaint/Makefile
- clients/moira/Makefile clients/mrcheck/Makefile
- clients/mrtest/Makefile clients/passwd/Makefile
- update/Makefile man/Makefile \
- $SERVER_OUTPUT_FILES $AFS_OUTPUT_FILES \
- $GDSS_OUTPUT_FILES $RSAREF_OUTPUT_FILES" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+ clients/blanche/Makefile clients/chfn/Makefile \
+ clients/chpobox/Makefile clients/chsh/Makefile \
+ clients/mailmaint/Makefile clients/moira/Makefile \
+ clients/mrcheck/Makefile clients/mrtest/Makefile \
+ clients/stella/Makefile update/Makefile man/Makefile \
+ $SERVER_OUTPUT_FILES $WINAD_OUTPUT_FILES $AFS_OUTPUT_FILES \
+ $RSAREF_OUTPUT_FILES" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
s%@REG_SVR_DEFS@%$REG_SVR_DEFS%g
s%@REG_SVR_INCLUDES@%$REG_SVR_INCLUDES%g
s%@REG_SVR_LIBS@%$REG_SVR_LIBS%g
-s%@GDSS_CPPFLAGS@%$GDSS_CPPFLAGS%g
-s%@GDSS_LIBS@%$GDSS_LIBS%g
-s%@GDSS_SUBDIR@%$GDSS_SUBDIR%g
-s%@GDSS_OBJS@%$GDSS_OBJS%g
-s%@GDSS_CFILES@%$GDSS_CFILES%g
-s%@GDSS_TARGET@%$GDSS_TARGET%g
-s%@GDSS_LIBDEP@%$GDSS_LIBDEP%g
s%@RSAREF_CPPFLAGS@%$RSAREF_CPPFLAGS%g
s%@RSAREF_LIBS@%$RSAREF_LIBS%g
s%@RSAREF_SUBDIRS@%$RSAREF_SUBDIRS%g
s%@PRO_C_OPTS@%$PRO_C_OPTS%g
s%@SQL_LIBS@%$SQL_LIBS%g
s%@SVRSUBDIRS@%$SVRSUBDIRS%g
+s%@LDAP_CPPFLAGS@%$LDAP_CPPFLAGS%g
+s%@LDAP_LIBS@%$LDAP_LIBS%g
+s%@WINAD_SUBDIRS@%$WINAD_SUBDIRS%g
s%@AFS_CPPFLAGS@%$AFS_CPPFLAGS%g
s%@AFS_PRO_C_INCLUDES@%$AFS_PRO_C_INCLUDES%g
s%@AFS_LIBS@%$AFS_LIBS%g
s%@AFS_EXTRA_LIBS@%$AFS_EXTRA_LIBS%g
s%@AFS_DIR@%$AFS_DIR%g
s%@AFS_SUBDIRS@%$AFS_SUBDIRS%g
+s%@AFS_SYNCDIR@%$AFS_SYNCDIR%g
s%@READLINE_CPPFLAGS@%$READLINE_CPPFLAGS%g
s%@READLINE_LIBS@%$READLINE_LIBS%g
s%@CURSES_CPPFLAGS@%$CURSES_CPPFLAGS%g
s%@CURSES_LIBS@%$CURSES_LIBS%g
s%@CURSES_SUBDIRS@%$CURSES_SUBDIRS%g
+s%@CPP@%$CPP%g
s%@KLIBS@%$KLIBS%g
s%@MR_LIBDEP@%$MR_LIBDEP%g
CONFIG_FILES=\${CONFIG_FILES-"Makefile lib/Makefile include/Makefile clients/Makefile \
clients/lib/Makefile clients/addusr/Makefile \
- clients/blanche/Makefile clients/mailmaint/Makefile
- clients/moira/Makefile clients/mrcheck/Makefile
- clients/mrtest/Makefile clients/passwd/Makefile
- update/Makefile man/Makefile \
- $SERVER_OUTPUT_FILES $AFS_OUTPUT_FILES \
- $GDSS_OUTPUT_FILES $RSAREF_OUTPUT_FILES"}
+ clients/blanche/Makefile clients/chfn/Makefile \
+ clients/chpobox/Makefile clients/chsh/Makefile \
+ clients/mailmaint/Makefile clients/moira/Makefile \
+ clients/mrcheck/Makefile clients/mrtest/Makefile \
+ clients/stella/Makefile update/Makefile man/Makefile \
+ $SERVER_OUTPUT_FILES $WINAD_OUTPUT_FILES $AFS_OUTPUT_FILES \
+ $RSAREF_OUTPUT_FILES"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then