head 1.12; access; symbols pkgsrc-2026Q1:1.12.0.114 pkgsrc-2026Q1-base:1.12 pkgsrc-2025Q4:1.12.0.112 pkgsrc-2025Q4-base:1.12 pkgsrc-2025Q3:1.12.0.110 pkgsrc-2025Q3-base:1.12 pkgsrc-2025Q2:1.12.0.108 pkgsrc-2025Q2-base:1.12 pkgsrc-2025Q1:1.12.0.106 pkgsrc-2025Q1-base:1.12 pkgsrc-2024Q4:1.12.0.104 pkgsrc-2024Q4-base:1.12 pkgsrc-2024Q3:1.12.0.102 pkgsrc-2024Q3-base:1.12 pkgsrc-2024Q2:1.12.0.100 pkgsrc-2024Q2-base:1.12 pkgsrc-2024Q1:1.12.0.98 pkgsrc-2024Q1-base:1.12 pkgsrc-2023Q4:1.12.0.96 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.12.0.94 pkgsrc-2023Q3-base:1.12 pkgsrc-2023Q2:1.12.0.92 pkgsrc-2023Q2-base:1.12 pkgsrc-2023Q1:1.12.0.90 pkgsrc-2023Q1-base:1.12 pkgsrc-2022Q4:1.12.0.88 pkgsrc-2022Q4-base:1.12 pkgsrc-2022Q3:1.12.0.86 pkgsrc-2022Q3-base:1.12 pkgsrc-2022Q2:1.12.0.84 pkgsrc-2022Q2-base:1.12 pkgsrc-2022Q1:1.12.0.82 pkgsrc-2022Q1-base:1.12 pkgsrc-2021Q4:1.12.0.80 pkgsrc-2021Q4-base:1.12 pkgsrc-2021Q3:1.12.0.78 pkgsrc-2021Q3-base:1.12 pkgsrc-2021Q2:1.12.0.76 pkgsrc-2021Q2-base:1.12 pkgsrc-2021Q1:1.12.0.74 pkgsrc-2021Q1-base:1.12 pkgsrc-2020Q4:1.12.0.72 pkgsrc-2020Q4-base:1.12 pkgsrc-2020Q3:1.12.0.70 pkgsrc-2020Q3-base:1.12 pkgsrc-2020Q2:1.12.0.66 pkgsrc-2020Q2-base:1.12 pkgsrc-2020Q1:1.12.0.46 pkgsrc-2020Q1-base:1.12 pkgsrc-2019Q4:1.12.0.68 pkgsrc-2019Q4-base:1.12 pkgsrc-2019Q3:1.12.0.64 pkgsrc-2019Q3-base:1.12 pkgsrc-2019Q2:1.12.0.62 pkgsrc-2019Q2-base:1.12 pkgsrc-2019Q1:1.12.0.60 pkgsrc-2019Q1-base:1.12 pkgsrc-2018Q4:1.12.0.58 pkgsrc-2018Q4-base:1.12 pkgsrc-2018Q3:1.12.0.56 pkgsrc-2018Q3-base:1.12 pkgsrc-2018Q2:1.12.0.54 pkgsrc-2018Q2-base:1.12 pkgsrc-2018Q1:1.12.0.52 pkgsrc-2018Q1-base:1.12 pkgsrc-2017Q4:1.12.0.50 pkgsrc-2017Q4-base:1.12 pkgsrc-2017Q3:1.12.0.48 pkgsrc-2017Q3-base:1.12 pkgsrc-2017Q2:1.12.0.44 pkgsrc-2017Q2-base:1.12 pkgsrc-2017Q1:1.12.0.42 pkgsrc-2017Q1-base:1.12 pkgsrc-2016Q4:1.12.0.40 pkgsrc-2016Q4-base:1.12 pkgsrc-2016Q3:1.12.0.38 pkgsrc-2016Q3-base:1.12 pkgsrc-2016Q2:1.12.0.36 pkgsrc-2016Q2-base:1.12 pkgsrc-2016Q1:1.12.0.34 pkgsrc-2016Q1-base:1.12 pkgsrc-2015Q4:1.12.0.32 pkgsrc-2015Q4-base:1.12 pkgsrc-2015Q3:1.12.0.30 pkgsrc-2015Q3-base:1.12 pkgsrc-2015Q2:1.12.0.28 pkgsrc-2015Q2-base:1.12 pkgsrc-2015Q1:1.12.0.26 pkgsrc-2015Q1-base:1.12 pkgsrc-2014Q4:1.12.0.24 pkgsrc-2014Q4-base:1.12 pkgsrc-2014Q3:1.12.0.22 pkgsrc-2014Q3-base:1.12 pkgsrc-2014Q2:1.12.0.20 pkgsrc-2014Q2-base:1.12 pkgsrc-2014Q1:1.12.0.18 pkgsrc-2014Q1-base:1.12 pkgsrc-2013Q4:1.12.0.16 pkgsrc-2013Q4-base:1.12 pkgsrc-2013Q3:1.12.0.14 pkgsrc-2013Q3-base:1.12 pkgsrc-2013Q2:1.12.0.12 pkgsrc-2013Q2-base:1.12 pkgsrc-2013Q1:1.12.0.10 pkgsrc-2013Q1-base:1.12 pkgsrc-2012Q4:1.12.0.8 pkgsrc-2012Q4-base:1.12 pkgsrc-2012Q3:1.12.0.6 pkgsrc-2012Q3-base:1.12 pkgsrc-2012Q2:1.12.0.4 pkgsrc-2012Q2-base:1.12 pkgsrc-2012Q1:1.12.0.2 pkgsrc-2012Q1-base:1.12 pkgsrc-2011Q4:1.11.0.52 pkgsrc-2011Q4-base:1.11 pkgsrc-2011Q3:1.11.0.50 pkgsrc-2011Q3-base:1.11 pkgsrc-2011Q2:1.11.0.48 pkgsrc-2011Q2-base:1.11 pkgsrc-2011Q1:1.11.0.46 pkgsrc-2011Q1-base:1.11 pkgsrc-2010Q4:1.11.0.44 pkgsrc-2010Q4-base:1.11 pkgsrc-2010Q3:1.11.0.42 pkgsrc-2010Q3-base:1.11 pkgsrc-2010Q2:1.11.0.40 pkgsrc-2010Q2-base:1.11 pkgsrc-2010Q1:1.11.0.38 pkgsrc-2010Q1-base:1.11 pkgsrc-2009Q4:1.11.0.36 pkgsrc-2009Q4-base:1.11 pkgsrc-2009Q3:1.11.0.34 pkgsrc-2009Q3-base:1.11 pkgsrc-2009Q2:1.11.0.32 pkgsrc-2009Q2-base:1.11 pkgsrc-2009Q1:1.11.0.30 pkgsrc-2009Q1-base:1.11 pkgsrc-2008Q4:1.11.0.28 pkgsrc-2008Q4-base:1.11 pkgsrc-2008Q3:1.11.0.26 pkgsrc-2008Q3-base:1.11 cube-native-xorg:1.11.0.24 cube-native-xorg-base:1.11 pkgsrc-2008Q2:1.11.0.22 pkgsrc-2008Q2-base:1.11 cwrapper:1.11.0.20 pkgsrc-2008Q1:1.11.0.18 pkgsrc-2008Q1-base:1.11 pkgsrc-2007Q4:1.11.0.16 pkgsrc-2007Q4-base:1.11 pkgsrc-2007Q3:1.11.0.14 pkgsrc-2007Q3-base:1.11 pkgsrc-2007Q2:1.11.0.12 pkgsrc-2007Q2-base:1.11 pkgsrc-2007Q1:1.11.0.10 pkgsrc-2007Q1-base:1.11 pkgsrc-2006Q4:1.11.0.8 pkgsrc-2006Q4-base:1.11 pkgsrc-2006Q3:1.11.0.6 pkgsrc-2006Q3-base:1.11 pkgsrc-2006Q2:1.11.0.4 pkgsrc-2006Q2-base:1.11 pkgsrc-2006Q1:1.11.0.2 pkgsrc-2006Q1-base:1.11 pkgsrc-2005Q4:1.10.0.18 pkgsrc-2005Q4-base:1.10 pkgsrc-2005Q3:1.10.0.16 pkgsrc-2005Q3-base:1.10 pkgsrc-2005Q2:1.10.0.14 pkgsrc-2005Q2-base:1.10 pkgsrc-2005Q1:1.10.0.12 pkgsrc-2005Q1-base:1.10 pkgsrc-2004Q4:1.10.0.10 pkgsrc-2004Q4-base:1.10 pkgsrc-2004Q3:1.10.0.8 pkgsrc-2004Q3-base:1.10 pkgsrc-2004Q2:1.10.0.6 pkgsrc-2004Q2-base:1.10 pkgsrc-2004Q1:1.10.0.4 pkgsrc-2004Q1-base:1.10 pkgsrc-2003Q4:1.10.0.2 pkgsrc-2003Q4-base:1.10 buildlink2-base:1.10 netbsd-1-5-RELEASE:1.9 netbsd-1-4-PATCH003:1.9 netbsd-1-4-PATCH002:1.9 comdex-fall-1999:1.9 netbsd-1-4-PATCH001:1.7 netbsd-1-4-RELEASE:1.6 netbsd-1-3-PATCH003:1.6 netbsd-1-3-PATCH002:1.1; locks; strict; comment @# @; 1.12 date 2012.03.22.14.13.29; author taca; state Exp; branches; next 1.11; 1.11 date 2006.01.08.17.34.47; author joerg; state Exp; branches; next 1.10; 1.10 date 2000.12.11.17.23.03; author itojun; state dead; branches; next 1.9; 1.9 date 99.09.15.21.30.59; author tron; state Exp; branches; next 1.8; 1.8 date 99.09.07.17.58.22; author bad; state Exp; branches; next 1.7; 1.7 date 99.05.11.20.24.46; author tron; state Exp; branches; next 1.6; 1.6 date 98.08.07.11.09.53; author agc; state Exp; branches; next 1.5; 1.5 date 98.07.22.14.53.53; author bad; state Exp; branches; next 1.4; 1.4 date 98.07.18.13.18.51; author frueauf; state Exp; branches; next 1.3; 1.3 date 98.07.10.09.11.51; author mycroft; state Exp; branches; next 1.2; 1.2 date 98.07.02.07.09.04; author hubertf; state Exp; branches; next 1.1; 1.1 date 98.02.13.02.06.59; author mellon; state Exp; branches; next ; desc @@ 1.12 log @Update qpopper to 4.1.0. 4.1 * IPv6 support * Significantly improved performance * Cygwin compatibility (for use under Windows) * Ability to execute arbitrary programs when users log in * And lots more @ text @$NetBSD: patch-ac,v 1.11 2006/01/08 17:34:47 joerg Exp $ --- popper/popper.h.orig 2011-05-30 19:13:40.000000000 +0000 +++ popper/popper.h @@@@ -308,8 +308,6 @@@@ typedef struct _pop_sasl pop_ # define WILDCARD_SHELL "/POPPER/ANY/SHELL/" #endif /* CHECK_SHELL */ -extern int errno; - #if !( defined(BSD) && (BSD >= 199306) ) && !defined(__USE_BSD) extern int sys_nerr; # ifndef FREEBSD @ 1.11 log @Fix errno. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.1 2006/01/08 17:22:29 joerg Exp $ d3 1 a3 1 --- popper/popper.h.orig 2006-01-08 17:09:15.000000000 +0000 d5 1 a5 1 @@@@ -287,8 +287,6 @@@@ typedef struct _pop_tls pop_ @ 1.10 log @upgrde to 3.1.2, as 2.x had security issues and there's no support given any longer to 2.x. NOTE: kerberos support is dropped, kerberos guru please re-do it... from ftp://ftp.qualcomm.com/eudora/servers/unix/popper/Release.Notes Release Notes: 3.1 Can now set server mode and kerberos service name using run-time options. Can now specify plain-text password handling when APOP is available using '-p 0|1|2|3' run-time option. 0 is default; 1 means clear text passwords are never permitted for any user; 2 means they are always permitted (even if an APOP entry exists), which allows them to be used as a fallback when clients don't support APOP); 3 means they are permitted on the local interface (127.*.*.*) only. Added '-D drac-host' run-time option to specify the drac host. Only valid if compiled with --enable-drac. The default is localhost. Added '-f config-file' run-time option. Additional run-time options are read from the specified file. All current run-time options can now be set this way. See INSTALL file for option names and syntax. Added '-u' run-time option to read '.qpopper-options' file in user's home directory. Added Kerberos V support. BULLDB access now uses usleep(3C) if available, resulting in many more access attempts with a shorter maximum delay. Added run-time options 'bulldb-nonfatal' (-B) and 'bulldb-max-retries' to allow fine control over BULLDB access behavior. 'bulldb-nonfatal' allows a session to continue if the bulletin database can't be locked. 'bulldb-max-retries' sets the maximum number of attempts to lock the database. This value should only be changed if you know if your system has usleep(3C) or not. On systems with usleep(3C), this can be a large value (the default is 75). On systems without usleep(3C), this should remain small (the default is 10). Added new ./configure flags (see INSTALL for more details): --enable-timing to write log records with elapsed time for authentication, initialization, and cleanup. --enable-old-uidl to generates UIDs using old (pre-3.x) style encoding. This is only useful if you also set NO_STATUS and have existing users with old (pre-3.x) spool files and you want to keep the UIDs the same. --disable-status to prevent Qpopper from writing 'Status' or 'X-UIDL' headers (sets NO_STATUS). This forces UIDs for each message to be recalculated in each session. --enable-keep-temp-drop to prevents Qpopper from deleting the temp drop files. --disable-check-pw-max to prevent Qpopper from checking for expired passwords. --disable-old-spool-loc to not check for old .user.pop files in old locations when HASH_SPOOL or HOMEDIRMAIL used. --disable-check-hash-dir to not check for or create hash spool directories. Use this if you pre-create the directories. --enable-server-mode-group-include=group to set server mode for users in the specified group. --enable-server-mode-group-exclude=group to set server mode OFF for users in the specified group. --enable-secure-nis-plus for use with secure NIS+. --disable-optimizations to turn off compiler optimizations. --with-kerberos5 for Kerberos V support (using patch from Ken Hornstein). --enable-any-kerberos-principal to accept any principal in the client request. --enable-kuserok to use kuserok() to vet users. --enable-ksockinst to use getsockinst() for Kerberos instance. --enable-standalone to create standalone POP daemon instead of being run out of inetd. Can specify IP address and/or port number to bind to as parameter 1, e.g., 'popper 199.46.50.7:8110 -S' or 'popper 8110 -S -T600'. If not specified, IP address defaults to all available. The default port is 110 except when _DEBUG (not simply DEBUG) is defined, then it is 8765. --enable-auth-file=path to permit access only to users listed in the specified file. Format is one user per line. --enable-nonauth-file=path to deny access to users listed in the specified file. Format is one user per line. --disable-update-abort to avoid the default behavior of going into update mode if the session aborts (the default behavior violates of RFC 1939, but was found to be needed when noisy dialup lines otherwise prevented users from ever deleting messages). ([RCG]) 3.0 Both dot-locking and flock() now used on all platforms. (On some systems we emulate flock() using fcntl). Added POP3 extensions(CAPA). The extensions added so far are X-MANGLE, LOGIN-DELAY and EXPIRE. X-MANGLE condenses Mime messages into a single part for ease of use by lightweight clients. The transformations supported through X-MANGLE are to and from text/plain, format=flowed, and text/html. As a way to enable MIME-mangling with clients that do not support XMANGLE, add "-no-mime" to the user name. For example, if the userid is"mary", enter it in the client as "mary-no-mime". The optional LOGIN-DELAY and EXPIRE values are only announced through the CAPA command. The values to announce are passed as command line switches. Actual enforcement of minimum login delay and message expiration is up to the site by some other means. (For example, a simple script run from crontab could be used for message expiration.) Qpopper does support automatic deletion of downloaded messages through the --enable-auto-delete configure flag. This can be used to effect EXPIRE 0 (no retention). Added new run-time options: -R to disable reverse-lookups on client IP addresses; -c to downcase user name. A failure at some point in a transaction now releases all locks explicitly. Certain paths do not release locks where SysV .lock files are created. Fixed bugs with Bulletin Services and Server mode. DEBUGn macros for debug and trace messages. Added new ./configure flags (see INSTALL for more details): --with-warnings for extra compiler warnings. --enable-shy to hide qpopper's version number in the banner and CAPA IMPLEMENTATION tag. --enable-auto-delete to automatically mark for deletion all messages downloaded with RETR. --enable-hash-spool=1|2 to use hashed spool directories. --enable-home-dir-mail=file to use a spool file in the user's home directory. --enable-bulldb=path to enable bulletins and set the path for the bulletin directory. --with-new-bulls=number to specify the maximum number of bulletins for new users (default is 10). --enable-popbulldir=path to specify an alternate location for users' popbull files. --enable-log-login to log successful user logins. This can be used, for example, to validate subsequent SMTP sessions from the same IP address within a short time period, in the absence of SMTP AUTH support by client and server. (Suggested by Andy Harper et al). --with-pam=service-name to authenticate using PAM (based on patch contributed by German Poo). --with-log-facility=name to specify the log facility. Default is LOG_LOCAL1 or LOG_MAIL, depending on the OS. --enable-uw-kludge to check for and hide a UW IMAP status message. --enable-group-bulls to show bulletins by groups (group name is second element in bulletin name). Based on patch by Mikolaj Rydzewski. --enable-timing to report timing information in the log. --enable-drac to use DRAC. Based on patches by Mike McHenry, Forrest Aldrich, Steven Champeon, and others. Added file popper/banner.h -- modify this file to add a custom banner and CAPA IMPLEMENTATION tag suffix. Note that if you modify qpopper you should indicate this using banner.h. Improved error messages and warnings: warning "Unable to get canonical name of client" now includes IP address of client; logging added for I/O errors and discarded input (line too long); added errno to POP EOF -ERR message; "Possible probe of account" warning now logged as WARNING, not CRITICAL. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.9 1999/09/15 21:30:59 tron Exp $ d3 5 a7 4 --- configure.orig Fri Jul 10 01:44:06 1998 +++ configure Wed Sep 15 23:28:18 1999 @@@@ -1,7 +1,7 @@@@ #! /bin/sh d9 1 a9 901 # Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.12 +# Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation @@@@ -23,6 +23,8 @@@@ --enable-apop=path Set the pop.auth file path [/etc/pop.auth]" ac_help="$ac_help --with-apopuid=pop Set the user who would own the pop.auth file. [pop]" +ac_help="$ac_help + --enable-kerberos compile in Kerberos authentification support" # Initialize some variables set by options. # The variables have the same names as the options, with @@@@ -61,6 +63,7 @@@@ # Initialize some other variables. subdirs= MFLAGS= MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. ac_max_here_lines=12 @@@@ -344,7 +347,7 @@@@ verbose=yes ;; -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.12" + echo "configure generated by autoconf version 2.13" exit 0 ;; -with-* | --with-*) @@@@ -514,9 +517,11 @@@@ # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross +ac_exeext= +ac_objext=o if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then @@@@ -533,7 +538,7 @@@@ echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:537: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:542: 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 @@@@ -562,15 +567,16 @@@@ # 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:566: checking for $ac_word" >&5 +echo "configure:571: 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 if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_prog_CC="gcc" @@@@ -591,16 +597,17 @@@@ # 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:595: checking for $ac_word" >&5 +echo "configure:601: 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 if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_prog_rejected=no - for ac_dir in $PATH; do + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then @@@@ -635,25 +642,61 @@@@ echo "$ac_t""no" 1>&6 fi + if test -z "$CC"; then + case "`uname -s`" in + *win32* | *WIN32*) + # Extract the first word of "cl", so it can be a program name with args. +set dummy cl; ac_word=$2 +echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +echo "configure:652: 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 + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" + ac_dummy="$PATH" + for ac_dir in $ac_dummy; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + ac_cv_prog_CC="cl" + break + fi + done + IFS="$ac_save_ifs" +fi +fi +CC="$ac_cv_prog_CC" +if test -n "$CC"; then + echo "$ac_t""$CC" 1>&6 +else + echo "$ac_t""no" 1>&6 +fi + ;; + esac + fi test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:643: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:684: 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. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross -cat > conftest.$ac_ext < conftest.$ac_ext << EOF + +#line 695 "configure" #include "confdefs.h" + main(){return(0);} EOF -if { (eval echo configure:657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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 @@@@ -667,18 +710,24 @@@@ ac_cv_prog_cc_works=no fi rm -fr conftest* +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 if test $ac_cv_prog_cc_works = no; 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:677: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:726: 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:682: checking whether we are using GNU C" >&5 +echo "configure:731: 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 @@@@ -687,7 +736,7 @@@@ yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:691: \"$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:740: \"$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 @@@@ -698,11 +747,15 @@@@ if test $ac_cv_prog_gcc = yes; then GCC=yes - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS= - echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:706: checking whether ${CC-cc} accepts -g" >&5 +else + GCC= +fi + +ac_test_CFLAGS="${CFLAGS+set}" +ac_save_CFLAGS="$CFLAGS" +CFLAGS= +echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 +echo "configure:759: 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 @@@@ -717,20 +770,24 @@@@ fi echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - elif test $ac_cv_prog_cc_g = yes; then +if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then CFLAGS="-g -O2" else - CFLAGS="-O2" + CFLAGS="-g" fi else - GCC= - test "${CFLAGS+set}" = set || CFLAGS="-g" + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi fi echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 -echo "configure:734: checking for POSIXized ISC" >&5 +echo "configure:791: checking for POSIXized ISC" >&5 if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then @@@@ -753,7 +810,7 @@@@ if test "$ISC" = yes then echo $ac_n "checking for main in -lcposix""... $ac_c" 1>&6 -echo "configure:757: checking for main in -lcposix" >&5 +echo "configure:814: checking for main in -lcposix" >&5 ac_lib_var=`echo cposix'_'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 @@@@ -761,14 +818,14 @@@@ ac_save_LIBS="$LIBS" LIBS="-lcposix $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:829: \"$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 @@@@ -796,7 +853,7 @@@@ fi echo $ac_n "checking for bzero in -linet""... $ac_c" 1>&6 -echo "configure:800: checking for bzero in -linet" >&5 +echo "configure:857: checking for bzero in -linet" >&5 ac_lib_var=`echo inet'_'bzero | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -804,7 +861,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-linet $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:876: \"$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 @@@@ -838,7 +895,7 @@@@ fi if test "$GCC" = yes then - CFLAGS="$CFLAGS -fstrength-reduce -fpcc-struct-return " + CFLAGS="$CFLAGS -fstrength-reduce " fi @@@@ -1014,7 +1071,7 @@@@ echo $ac_n "checking size of unsigned long int""... $ac_c" 1>&6 -echo "configure:1018: checking size of unsigned long int" >&5 +echo "configure:1075: checking size of unsigned long int" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long_int'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@@@ -1022,7 +1079,7 @@@@ ac_cv_sizeof_unsigned_long_int=4 else cat > conftest.$ac_ext < main() @@@@ -1033,7 +1090,7 @@@@ exit(0); } EOF -if { (eval echo configure:1037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_unsigned_long_int=`cat conftestval` else @@@@ -1054,7 +1111,7 @@@@ echo $ac_n "checking for sendmail program""... $ac_c" 1>&6 -echo "configure:1058: checking for sendmail program" >&5 +echo "configure:1115: checking for sendmail program" >&5 if test -x /usr/sbin/sendmail then cat >> confdefs.h <<\EOF @@@@ -1081,7 +1138,7 @@@@ exit 1 fi echo $ac_n "checking for mail spool directory""... $ac_c" 1>&6 -echo "configure:1085: checking for mail spool directory" >&5 +echo "configure:1142: checking for mail spool directory" >&5 if test -d /usr/mail then cat >> confdefs.h <<\EOF @@@@ -1164,7 +1221,7 @@@@ fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1168: checking how to run the C preprocessor" >&5 +echo "configure:1225: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@@@ -1179,14 +1236,14 @@@@ # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:1246: \"$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 @@@@ -1196,14 +1253,31 @@@@ rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:1263: \"$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 < +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1280: \"$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 @@@@ -1216,6 +1290,8 @@@@ rm -f conftest* fi rm -f conftest* +fi +rm -f conftest* ac_cv_prog_CPP="$CPP" fi CPP="$ac_cv_prog_CPP" @@@@ -1225,12 +1301,12 @@@@ echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:1229: checking for ANSI C header files" >&5 +echo "configure:1305: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@@@ -1238,8 +1314,8 @@@@ #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:1318: \"$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* ac_cv_header_stdc=yes @@@@ -1255,7 +1331,7 @@@@ if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@@@ -1273,7 +1349,7 @@@@ if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@@@ -1294,7 +1370,7 @@@@ : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@@@ -1305,7 +1381,7 @@@@ exit (0); } EOF -if { (eval echo configure:1309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@@@ -1333,12 +1409,12 @@@@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 -echo "configure:1337: checking for $ac_hdr that defines DIR" >&5 +echo "configure:1413: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> @@@@ -1346,7 +1422,7 @@@@ DIR *dirp = 0; ; return 0; } EOF -if { (eval echo configure:1350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else @@@@ -1371,7 +1447,7 @@@@ # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 -echo "configure:1375: checking for opendir in -ldir" >&5 +echo "configure:1451: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1379,7 +1455,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1470: \"$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 @@@@ -1412,7 +1488,7 @@@@ else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 -echo "configure:1416: checking for opendir in -lx" >&5 +echo "configure:1492: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1420,7 +1496,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1511: \"$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 @@@@ -1454,12 +1530,12 @@@@ fi echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 -echo "configure:1458: checking for sys/wait.h that is POSIX.1 compatible" >&5 +echo "configure:1534: checking for sys/wait.h that is POSIX.1 compatible" >&5 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@@@ -1475,7 +1551,7 @@@@ s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } EOF -if { (eval echo configure:1479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_sys_wait_h=yes else @@@@ -1511,28 +1587,30 @@@@ syslog.h \ net/errno.h \ unistd.h \ +stdlib.h \ +string.h \ +time.h \ netinet/in.h \ maillock.h \ ndbm.h \ -gdbm.h \ dbm.h \ shadow.h \ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1525: checking for $ac_hdr" >&5 +echo "configure:1603: 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 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:1613: \"$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" @@@@ -1560,7 +1638,7 @@@@ echo $ac_n "checking for t_accept in -lnsl""... $ac_c" 1>&6 -echo "configure:1564: checking for t_accept in -lnsl" >&5 +echo "configure:1642: checking for t_accept in -lnsl" >&5 ac_lib_var=`echo nsl'_'t_accept | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1568,7 +1646,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1661: \"$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 @@@@ -1600,7 +1678,7 @@@@ fi echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 -echo "configure:1604: checking for socket in -lsocket" >&5 +echo "configure:1682: 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 @@@@ -1608,7 +1686,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1701: \"$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 @@@@ -1640,7 +1718,7 @@@@ fi echo $ac_n "checking for res_init in -lresolv""... $ac_c" 1>&6 -echo "configure:1644: checking for res_init in -lresolv" >&5 +echo "configure:1722: checking for res_init in -lresolv" >&5 ac_lib_var=`echo resolv'_'res_init | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1648,7 +1726,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lresolv $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1741: \"$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 @@@@ -1680,7 +1758,7 @@@@ fi echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 -echo "configure:1684: checking for maillock in -lmail" >&5 +echo "configure:1762: checking for maillock in -lmail" >&5 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1688,7 +1766,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lmail $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1781: \"$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 @@@@ -1722,8 +1800,17 @@@@ echo "$ac_t""no" 1>&6 fi +# Check whether --enable-kerberos or --disable-kerberos was given. +if test "${enable_kerberos+set}" = set; then + enableval="$enable_kerberos" + with_kerberos=$enableval +else + with_kerberos=no +fi + +if test "$with_kerberos" = "yes" ;then echo $ac_n "checking for krb_recvauth in -lkrb""... $ac_c" 1>&6 -echo "configure:1727: checking for krb_recvauth in -lkrb" >&5 +echo "configure:1814: checking for krb_recvauth in -lkrb" >&5 ac_lib_var=`echo krb'_'krb_recvauth | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1731,7 +1818,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lkrb $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1833: \"$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 @@@@ -1762,27 +1849,27 @@@@ echo "$ac_t""no" 1>&6 fi -echo $ac_n "checking for dbm_open in -lndbm""... $ac_c" 1>&6 -echo "configure:1767: checking for dbm_open in -lndbm" >&5 -ac_lib_var=`echo ndbm'_'dbm_open | sed 'y%./+-%__p_%'` +echo $ac_n "checking for des_set_key in -ldes""... $ac_c" 1>&6 +echo "configure:1854: checking for des_set_key in -ldes" >&5 +ac_lib_var=`echo des'_'des_set_key | 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="-lndbm $LIBS" +LIBS="-ldes $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1873: \"$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 @@@@ -1797,21 +1884,26 @@@@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 - DBM_LIBS="-lndbm" + KERBEROS_LIBS="$KERBEROS_LIBS -ldes" else echo "$ac_t""no" 1>&6 fi -echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 -echo "configure:1807: checking for dbm_open in -ldbm" >&5 -ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` +cat >> confdefs.h <<\EOF +#define KERBEROS 1 +EOF + +fi +echo $ac_n "checking for dbm_open in -lndbm""... $ac_c" 1>&6 +echo "configure:1899: checking for dbm_open in -lndbm" >&5 +ac_lib_var=`echo ndbm'_'dbm_open | 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="-ldbm $LIBS" +LIBS="-lndbm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1918: \"$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 @@@@ -1837,32 +1929,32 @@@@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 - DBM_LIBS="-ldbm" + DBM_LIBS="-lndbm" else echo "$ac_t""no" 1>&6 fi -echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 -echo "configure:1847: checking for gdbm_open in -lgdbm" >&5 -ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` +echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 +echo "configure:1939: checking for dbm_open in -ldbm" >&5 +ac_lib_var=`echo dbm'_'dbm_open | 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="-lgdbm $LIBS" +LIBS="-ldbm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1958: \"$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 @@@@ -1877,16 +1969,13 @@@@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 - DBM_LIBS="-lgdbm"; cat >> confdefs.h <<\EOF -#define GDBM 1 -EOF d11 3 a13 320 + DBM_LIBS="-ldbm" else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for set_auth_parameters in -lsecurity""... $ac_c" 1>&6 -echo "configure:1890: checking for set_auth_parameters in -lsecurity" >&5 +echo "configure:1979: checking for set_auth_parameters in -lsecurity" >&5 ac_lib_var=`echo security'_'set_auth_parameters | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1894,7 +1983,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lsecurity $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1998: \"$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 @@@@ -1926,7 +2015,7 @@@@ fi echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 -echo "configure:1930: checking for crypt in -lcrypt" >&5 +echo "configure:2019: 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 @@@@ -1934,7 +2023,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lcrypt $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2038: \"$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 @@@@ -1966,7 +2055,7 @@@@ fi echo $ac_n "checking for pw_encrypt in -lshadow""... $ac_c" 1>&6 -echo "configure:1970: checking for pw_encrypt in -lshadow" >&5 +echo "configure:2059: checking for pw_encrypt in -lshadow" >&5 ac_lib_var=`echo shadow'_'pw_encrypt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1974,7 +2063,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lshadow $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2078: \"$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 @@@@ -2013,12 +2102,12 @@@@ echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:2017: checking for working const" >&5 +echo "configure:2106: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@@@ -2088,12 +2177,12 @@@@ fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:2092: checking for uid_t in sys/types.h" >&5 +echo "configure:2181: checking for uid_t in sys/types.h" >&5 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF @@@@ -2122,12 +2211,12 @@@@ fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:2126: checking for off_t" >&5 +echo "configure:2215: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@@@ -2136,7 +2225,7 @@@@ #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_off_t=yes else @@@@ -2155,12 +2244,12 @@@@ fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:2159: checking for size_t" >&5 +echo "configure:2248: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@@@ -2169,7 +2258,7 @@@@ #endif EOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then + egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_size_t=yes else @@@@ -2188,12 +2277,12 @@@@ fi echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 -echo "configure:2192: checking for sys_siglist declaration in signal.h or unistd.h" >&5 +echo "configure:2281: checking for sys_siglist declaration in signal.h or unistd.h" >&5 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@@@ -2205,7 +2294,7 @@@@ char *msg = *(sys_siglist + 1); ; return 0; } EOF -if { (eval echo configure:2209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_siglist=yes else @@@@ -2227,12 +2316,12 @@@@ echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:2231: checking return type of signal handlers" >&5 +echo "configure:2320: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@@@ -2249,7 +2338,7 @@@@ int i; ; return 0; } EOF -if { (eval echo configure:2253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@@@ -2268,12 +2357,12 @@@@ echo $ac_n "checking for vprintf""... $ac_c" 1>&6 -echo "configure:2272: checking for vprintf" >&5 +echo "configure:2361: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else @@@@ -2320,12 +2409,12 @@@@ if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 -echo "configure:2324: checking for _doprnt" >&5 +echo "configure:2413: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func__doprnt=yes" else @@@@ -2386,12 +2475,12 @@@@ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2390: checking for $ac_func" >&5 +echo "configure:2479: 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 <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2507: \"$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 @@@@ -2463,7 +2552,7 @@@@ # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. (set) 2>&1 | - case `(ac_space=' '; set) 2>&1` in + case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). @@@@ -2530,7 +2619,7 @@@@ echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "$CONFIG_STATUS generated by autoconf version 2.12" + echo "$CONFIG_STATUS generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) echo "\$ac_cs_usage"; exit 0 ;; @@@@ -2549,9 +2638,11 @@@@ s/@@@@/%@@/; s/@@@@/@@%/; s/@@g\$/%g/' > conftest.subs <<\\CEOF $ac_vpsub $extrasub +s%@@SHELL@@%$SHELL%g s%@@CFLAGS@@%$CFLAGS%g s%@@CPPFLAGS@@%$CPPFLAGS%g s%@@CXXFLAGS@@%$CXXFLAGS%g +s%@@FFLAGS@@%$FFLAGS%g s%@@DEFS@@%$DEFS%g s%@@LDFLAGS@@%$LDFLAGS%g s%@@LIBS@@%$LIBS%g @ 1.9 log @Convert patches to unified format. @ text @d1 1 a1 1 $NetBSD$ @ 1.8 log @Make this DTRT wrt. Kerberos4 support. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 1999/05/11 20:24:46 tron Exp $ d3 310 a312 3 --- configure.in.orig Thu Jul 9 16:44:06 1998 +++ configure.in Tue Sep 7 09:51:28 1999 @@@@ -13,7 +13,7 @@@@ d319 283 a601 3 AC_SUBST(CC) AC_SUBST(CFLAGS) @@@@ -195,10 +195,12 @@@@ d614 143 a756 9 ) @@@@ -209,10 +211,17 @@@@ AC_CHECK_LIB(socket, socket, NETWORK_LIBS="$NETWORK_LIBS -lsocket") AC_CHECK_LIB(resolv, res_init, NETWORK_LIBS="$NETWORK_LIBS -lresolv") AC_CHECK_LIB(mail, maillock, NETWORK_LIBS="$NETWORK_LIBS -lmail"; AC_DEFINE(MAILOCK)) +AC_ARG_ENABLE(kerberos, + [ --enable-kerberos compile in Kerberos authentification support], + [with_kerberos=$enableval], + [with_kerberos=no]) d758 472 a1229 10 AC_CHECK_LIB(krb, krb_recvauth, KERBEROS_LIBS="$KERBEROS_LIBS -lkrb") +AC_CHECK_LIB(des, des_set_key, KERBEROS_LIBS="$KERBEROS_LIBS -ldes") +AC_DEFINE(KERBEROS) +fi AC_CHECK_LIB(ndbm, dbm_open, DBM_LIBS="-lndbm") AC_CHECK_LIB(dbm, dbm_open, DBM_LIBS="-ldbm") -AC_CHECK_LIB(gdbm, gdbm_open, DBM_LIBS="-lgdbm"; AC_DEFINE(GDBM)) AC_CHECK_LIB(security, set_auth_parameters, LIBS="$LIBS -lsecurity") AC_CHECK_LIB(crypt, crypt, LIBS="$LIBS -lcrypt") AC_CHECK_LIB(shadow, pw_encrypt, LIBS="$LIBS -lshadow") @ 1.7 log @Nuke check for "gdbm" library from "configure" which is not needed but can be found by mistake. Problem noted by Dean Huxley. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- configure.in.orig Fri Jul 10 01:44:06 1998 +++ configure.in Tue May 11 22:11:08 1999 d28 9 a36 1 @@@@ -212,7 +214,6 @@@@ d38 3 @ 1.6 log @Add NetBSD RCS Ids. @ text @d3 33 a35 989 *** configure.orig Fri Jul 10 01:44:06 1998 --- configure Wed Jul 22 16:37:43 1998 *************** *** 838,844 **** fi if test "$GCC" = yes then ! CFLAGS="$CFLAGS -fstrength-reduce -fpcc-struct-return " fi --- 838,844 ---- fi if test "$GCC" = yes then ! CFLAGS="$CFLAGS -fstrength-reduce " fi *************** *** 1511,1516 **** --- 1511,1519 ---- syslog.h \ net/errno.h \ unistd.h \ + stdlib.h \ + string.h \ + time.h \ netinet/in.h \ maillock.h \ ndbm.h \ *************** *** 1521,1537 **** do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1525: 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 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* --- 1524,1540 ---- do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ! echo "configure:1528: 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 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ! { (eval echo configure:1538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* *************** *** 1560,1566 **** echo $ac_n "checking for t_accept in -lnsl""... $ac_c" 1>&6 ! echo "configure:1564: checking for t_accept in -lnsl" >&5 ac_lib_var=`echo nsl'_'t_accept | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1563,1569 ---- echo $ac_n "checking for t_accept in -lnsl""... $ac_c" 1>&6 ! echo "configure:1567: checking for t_accept in -lnsl" >&5 ac_lib_var=`echo nsl'_'t_accept | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1568,1574 **** ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1582,1588 ---- t_accept() ; return 0; } EOF ! if { (eval echo configure:1586: \"$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 *************** *** 1600,1606 **** fi echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 ! echo "configure:1604: 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 --- 1603,1609 ---- fi echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 ! echo "configure:1607: 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 *************** *** 1608,1614 **** ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1622,1628 ---- socket() ; return 0; } EOF ! if { (eval echo configure:1626: \"$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 *************** *** 1640,1646 **** fi echo $ac_n "checking for res_init in -lresolv""... $ac_c" 1>&6 ! echo "configure:1644: checking for res_init in -lresolv" >&5 ac_lib_var=`echo resolv'_'res_init | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1643,1649 ---- fi echo $ac_n "checking for res_init in -lresolv""... $ac_c" 1>&6 ! echo "configure:1647: checking for res_init in -lresolv" >&5 ac_lib_var=`echo resolv'_'res_init | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1648,1654 **** ac_save_LIBS="$LIBS" LIBS="-lresolv $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1662,1668 ---- res_init() ; return 0; } EOF ! if { (eval echo configure:1666: \"$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 *************** *** 1680,1686 **** fi echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 ! echo "configure:1684: checking for maillock in -lmail" >&5 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1683,1689 ---- fi echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 ! echo "configure:1687: checking for maillock in -lmail" >&5 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1688,1694 **** ac_save_LIBS="$LIBS" LIBS="-lmail $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1702,1708 ---- maillock() ; return 0; } EOF ! if { (eval echo configure:1706: \"$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 *************** *** 1723,1729 **** fi echo $ac_n "checking for krb_recvauth in -lkrb""... $ac_c" 1>&6 ! echo "configure:1727: checking for krb_recvauth in -lkrb" >&5 ac_lib_var=`echo krb'_'krb_recvauth | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1726,1732 ---- fi echo $ac_n "checking for krb_recvauth in -lkrb""... $ac_c" 1>&6 ! echo "configure:1730: checking for krb_recvauth in -lkrb" >&5 ac_lib_var=`echo krb'_'krb_recvauth | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1731,1737 **** ac_save_LIBS="$LIBS" LIBS="-lkrb $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1745,1751 ---- krb_recvauth() ; return 0; } EOF ! if { (eval echo configure:1749: \"$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 *************** *** 1757,1769 **** fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ! KERBEROS_LIBS="$KERBEROS_LIBS -lkrb" else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for dbm_open in -lndbm""... $ac_c" 1>&6 ! echo "configure:1767: checking for dbm_open in -lndbm" >&5 ac_lib_var=`echo ndbm'_'dbm_open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1760,1775 ---- fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ! KERBEROS_LIBS="$KERBEROS_LIBS -lkrb"; cat >> confdefs.h <<\EOF ! #define KERBEROS 1 ! EOF ! else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for dbm_open in -lndbm""... $ac_c" 1>&6 ! echo "configure:1773: checking for dbm_open in -lndbm" >&5 ac_lib_var=`echo ndbm'_'dbm_open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1771,1777 **** ac_save_LIBS="$LIBS" LIBS="-lndbm $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1788,1794 ---- dbm_open() ; return 0; } EOF ! if { (eval echo configure:1792: \"$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 *************** *** 1803,1809 **** fi echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 ! echo "configure:1807: checking for dbm_open in -ldbm" >&5 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1809,1815 ---- fi echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 ! echo "configure:1813: checking for dbm_open in -ldbm" >&5 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1811,1817 **** ac_save_LIBS="$LIBS" LIBS="-ldbm $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1828,1834 ---- dbm_open() ; return 0; } EOF ! if { (eval echo configure:1832: \"$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 *************** *** 1843,1849 **** fi echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 ! echo "configure:1847: checking for gdbm_open in -lgdbm" >&5 ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1849,1855 ---- fi echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 ! echo "configure:1853: checking for gdbm_open in -lgdbm" >&5 ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1851,1857 **** ac_save_LIBS="$LIBS" LIBS="-lgdbm $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1868,1874 ---- gdbm_open() ; return 0; } EOF ! if { (eval echo configure:1872: \"$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 *************** *** 1886,1892 **** fi echo $ac_n "checking for set_auth_parameters in -lsecurity""... $ac_c" 1>&6 ! echo "configure:1890: checking for set_auth_parameters in -lsecurity" >&5 ac_lib_var=`echo security'_'set_auth_parameters | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1892,1898 ---- fi echo $ac_n "checking for set_auth_parameters in -lsecurity""... $ac_c" 1>&6 ! echo "configure:1896: checking for set_auth_parameters in -lsecurity" >&5 ac_lib_var=`echo security'_'set_auth_parameters | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1894,1900 **** ac_save_LIBS="$LIBS" LIBS="-lsecurity $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1911,1917 ---- set_auth_parameters() ; return 0; } EOF ! if { (eval echo configure:1915: \"$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 *************** *** 1926,1932 **** fi echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 ! echo "configure:1930: 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 --- 1932,1938 ---- fi echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 ! echo "configure:1936: 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 *************** *** 1934,1940 **** ac_save_LIBS="$LIBS" LIBS="-lcrypt $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1951,1957 ---- crypt() ; return 0; } EOF ! if { (eval echo configure:1955: \"$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 *************** *** 1966,1972 **** fi echo $ac_n "checking for pw_encrypt in -lshadow""... $ac_c" 1>&6 ! echo "configure:1970: checking for pw_encrypt in -lshadow" >&5 ac_lib_var=`echo shadow'_'pw_encrypt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 --- 1972,1978 ---- fi echo $ac_n "checking for pw_encrypt in -lshadow""... $ac_c" 1>&6 ! echo "configure:1976: checking for pw_encrypt in -lshadow" >&5 ac_lib_var=`echo shadow'_'pw_encrypt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 *************** *** 1974,1980 **** ac_save_LIBS="$LIBS" LIBS="-lshadow $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else --- 1991,1997 ---- pw_encrypt() ; return 0; } EOF ! if { (eval echo configure:1995: \"$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 *************** *** 2013,2024 **** echo $ac_n "checking for working const""... $ac_c" 1>&6 ! echo "configure:2017: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:2023: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else --- 2073,2079 ---- ; return 0; } EOF ! if { (eval echo configure:2077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else *************** *** 2088,2099 **** fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 ! echo "configure:2092: checking for uid_t in sys/types.h" >&5 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF --- 2094,2105 ---- fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 ! echo "configure:2098: checking for uid_t in sys/types.h" >&5 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF *************** *** 2122,2133 **** fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 ! echo "configure:2126: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS --- 2128,2139 ---- fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 ! echo "configure:2132: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS *************** *** 2155,2166 **** fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 ! echo "configure:2159: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS --- 2161,2172 ---- fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 ! echo "configure:2165: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS *************** *** 2188,2199 **** fi echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 ! echo "configure:2192: checking for sys_siglist declaration in signal.h or unistd.h" >&5 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 2194,2205 ---- fi echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 ! echo "configure:2198: checking for sys_siglist declaration in signal.h or unistd.h" >&5 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 2205,2211 **** char *msg = *(sys_siglist + 1); ; return 0; } EOF ! if { (eval echo configure:2209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_siglist=yes else --- 2211,2217 ---- char *msg = *(sys_siglist + 1); ; return 0; } EOF ! if { (eval echo configure:2215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_siglist=yes else *************** *** 2227,2238 **** echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:2231: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include --- 2233,2244 ---- echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 ! echo "configure:2237: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include *************** *** 2249,2255 **** int i; ; return 0; } EOF ! if { (eval echo configure:2253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else --- 2255,2261 ---- int i; ; return 0; } EOF ! if { (eval echo configure:2259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else *************** *** 2268,2279 **** echo $ac_n "checking for vprintf""... $ac_c" 1>&6 ! echo "configure:2272: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:2278: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else --- 2302,2308 ---- ; return 0; } EOF ! if { (eval echo configure:2306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else *************** *** 2320,2331 **** if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 ! echo "configure:2324: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 ! echo "configure:2330: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func__doprnt=yes" else --- 2354,2360 ---- ; return 0; } EOF ! if { (eval echo configure:2358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func__doprnt=yes" else *************** *** 2386,2397 **** do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ! echo "configure:2390: 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 <&6 ! echo "configure:2396: 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 <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else --- 2420,2426 ---- ; return 0; } EOF ! if { (eval echo configure:2424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @ 1.5 log @Do not use -fpcc-struct-return. Fixes qpopper/qpopauth core dumping when accessing the APOP database. Fix provided by Fukaumi Naoki . @ text @d1 2 @ 1.4 log @Update qpopper to 2.53. @ text @d1 989 a989 529 --- configure.orig Fri Jul 10 01:44:06 1998 +++ configure Sat Jul 18 14:46:55 1998 @@@@ -1511,6 +1511,9 @@@@ syslog.h \ net/errno.h \ unistd.h \ +stdlib.h \ +string.h \ +time.h \ netinet/in.h \ maillock.h \ ndbm.h \ @@@@ -1521,17 +1524,17 @@@@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1525: checking for $ac_hdr" >&5 +echo "configure:1528: 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 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@@@ -1560,7 +1563,7 @@@@ echo $ac_n "checking for t_accept in -lnsl""... $ac_c" 1>&6 -echo "configure:1564: checking for t_accept in -lnsl" >&5 +echo "configure:1567: checking for t_accept in -lnsl" >&5 ac_lib_var=`echo nsl'_'t_accept | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1568,7 +1571,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1586: \"$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 @@@@ -1600,7 +1603,7 @@@@ fi echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 -echo "configure:1604: checking for socket in -lsocket" >&5 +echo "configure:1607: 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 @@@@ -1608,7 +1611,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1626: \"$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 @@@@ -1640,7 +1643,7 @@@@ fi echo $ac_n "checking for res_init in -lresolv""... $ac_c" 1>&6 -echo "configure:1644: checking for res_init in -lresolv" >&5 +echo "configure:1647: checking for res_init in -lresolv" >&5 ac_lib_var=`echo resolv'_'res_init | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1648,7 +1651,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lresolv $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1666: \"$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 @@@@ -1680,7 +1683,7 @@@@ fi echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 -echo "configure:1684: checking for maillock in -lmail" >&5 +echo "configure:1687: checking for maillock in -lmail" >&5 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1688,7 +1691,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lmail $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1706: \"$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 @@@@ -1723,7 +1726,7 @@@@ fi echo $ac_n "checking for krb_recvauth in -lkrb""... $ac_c" 1>&6 -echo "configure:1727: checking for krb_recvauth in -lkrb" >&5 +echo "configure:1730: checking for krb_recvauth in -lkrb" >&5 ac_lib_var=`echo krb'_'krb_recvauth | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1731,7 +1734,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lkrb $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1749: \"$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 @@@@ -1757,13 +1760,16 @@@@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 - KERBEROS_LIBS="$KERBEROS_LIBS -lkrb" + KERBEROS_LIBS="$KERBEROS_LIBS -lkrb"; cat >> confdefs.h <<\EOF +#define KERBEROS 1 +EOF + else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for dbm_open in -lndbm""... $ac_c" 1>&6 -echo "configure:1767: checking for dbm_open in -lndbm" >&5 +echo "configure:1773: checking for dbm_open in -lndbm" >&5 ac_lib_var=`echo ndbm'_'dbm_open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1771,7 +1777,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lndbm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1792: \"$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 @@@@ -1803,7 +1809,7 @@@@ fi echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 -echo "configure:1807: checking for dbm_open in -ldbm" >&5 +echo "configure:1813: checking for dbm_open in -ldbm" >&5 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1811,7 +1817,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-ldbm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1832: \"$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 @@@@ -1843,7 +1849,7 @@@@ fi echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 -echo "configure:1847: checking for gdbm_open in -lgdbm" >&5 +echo "configure:1853: checking for gdbm_open in -lgdbm" >&5 ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1851,7 +1857,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lgdbm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1872: \"$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 @@@@ -1886,7 +1892,7 @@@@ fi echo $ac_n "checking for set_auth_parameters in -lsecurity""... $ac_c" 1>&6 -echo "configure:1890: checking for set_auth_parameters in -lsecurity" >&5 +echo "configure:1896: checking for set_auth_parameters in -lsecurity" >&5 ac_lib_var=`echo security'_'set_auth_parameters | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1894,7 +1900,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lsecurity $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1915: \"$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 @@@@ -1926,7 +1932,7 @@@@ fi echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 -echo "configure:1930: checking for crypt in -lcrypt" >&5 +echo "configure:1936: 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 @@@@ -1934,7 +1940,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lcrypt $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1955: \"$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 @@@@ -1966,7 +1972,7 @@@@ fi echo $ac_n "checking for pw_encrypt in -lshadow""... $ac_c" 1>&6 -echo "configure:1970: checking for pw_encrypt in -lshadow" >&5 +echo "configure:1976: checking for pw_encrypt in -lshadow" >&5 ac_lib_var=`echo shadow'_'pw_encrypt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@@@ -1974,7 +1980,7 @@@@ ac_save_LIBS="$LIBS" LIBS="-lshadow $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1995: \"$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 @@@@ -2013,12 +2019,12 @@@@ echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:2017: checking for working const" >&5 +echo "configure:2023: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@@@ -2088,12 +2094,12 @@@@ fi echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:2092: checking for uid_t in sys/types.h" >&5 +echo "configure:2098: checking for uid_t in sys/types.h" >&5 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF @@@@ -2122,12 +2128,12 @@@@ fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:2126: checking for off_t" >&5 +echo "configure:2132: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@@@ -2155,12 +2161,12 @@@@ fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:2159: checking for size_t" >&5 +echo "configure:2165: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@@@ -2188,12 +2194,12 @@@@ fi echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 -echo "configure:2192: checking for sys_siglist declaration in signal.h or unistd.h" >&5 +echo "configure:2198: checking for sys_siglist declaration in signal.h or unistd.h" >&5 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@@@ -2205,7 +2211,7 @@@@ char *msg = *(sys_siglist + 1); ; return 0; } EOF -if { (eval echo configure:2209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_siglist=yes else @@@@ -2227,12 +2233,12 @@@@ echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:2231: checking return type of signal handlers" >&5 +echo "configure:2237: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@@@ -2249,7 +2255,7 @@@@ int i; ; return 0; } EOF -if { (eval echo configure:2253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@@@ -2268,12 +2274,12 @@@@ echo $ac_n "checking for vprintf""... $ac_c" 1>&6 -echo "configure:2272: checking for vprintf" >&5 +echo "configure:2278: checking for vprintf" >&5 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_vprintf=yes" else @@@@ -2320,12 +2326,12 @@@@ if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 -echo "configure:2324: checking for _doprnt" >&5 +echo "configure:2330: checking for _doprnt" >&5 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func__doprnt=yes" else @@@@ -2386,12 +2392,12 @@@@ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2390: checking for $ac_func" >&5 +echo "configure:2396: 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 <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @ 1.3 log @Make the Kerberos support actually compile in. @ text @d1 3 a3 3 --- configure.orig Wed Jul 1 12:54:51 1998 +++ configure Fri Jul 10 02:02:26 1998 @@@@ -1451,6 +1451,9 @@@@ d13 1 a13 1 @@@@ -1460,17 +1463,17 @@@@ d17 2 a18 2 -echo "configure:1464: checking for $ac_hdr" >&5 +echo "configure:1467: checking for $ac_hdr" >&5 d23 2 a24 2 -#line 1469 "configure" +#line 1472 "configure" d29 2 a30 2 -{ (eval echo configure:1474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d34 1 a34 1 @@@@ -1499,7 +1502,7 @@@@ d38 2 a39 2 -echo "configure:1503: checking for t_accept in -lnsl" >&5 +echo "configure:1506: checking for t_accept in -lnsl" >&5 d43 1 a43 1 @@@@ -1507,7 +1510,7 @@@@ d47 2 a48 2 -#line 1511 "configure" +#line 1514 "configure" d52 1 a52 1 @@@@ -1518,7 +1521,7 @@@@ d56 2 a57 2 -if { (eval echo configure:1522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d61 1 a61 1 @@@@ -1539,7 +1542,7 @@@@ d65 2 a66 2 -echo "configure:1543: checking for socket in -lsocket" >&5 +echo "configure:1546: checking for socket in -lsocket" >&5 d70 1 a70 1 @@@@ -1547,7 +1550,7 @@@@ d74 2 a75 2 -#line 1551 "configure" +#line 1554 "configure" d79 1 a79 1 @@@@ -1558,7 +1561,7 @@@@ d83 2 a84 2 -if { (eval echo configure:1562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d88 1 a88 1 @@@@ -1579,7 +1582,7 @@@@ d92 2 a93 2 -echo "configure:1583: checking for res_init in -lresolv" >&5 +echo "configure:1586: checking for res_init in -lresolv" >&5 d97 1 a97 1 @@@@ -1587,7 +1590,7 @@@@ d101 2 a102 2 -#line 1591 "configure" +#line 1594 "configure" d106 1 a106 1 @@@@ -1598,7 +1601,7 @@@@ d110 2 a111 2 -if { (eval echo configure:1602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d115 1 a115 1 @@@@ -1619,7 +1622,7 @@@@ d119 2 a120 2 -echo "configure:1623: checking for maillock in -lmail" >&5 +echo "configure:1626: checking for maillock in -lmail" >&5 d124 1 a124 1 @@@@ -1627,7 +1630,7 @@@@ d128 2 a129 2 -#line 1631 "configure" +#line 1634 "configure" d133 1 a133 1 @@@@ -1638,7 +1641,7 @@@@ d137 2 a138 2 -if { (eval echo configure:1642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d142 1 a142 1 @@@@ -1662,7 +1665,7 @@@@ d146 2 a147 2 -echo "configure:1666: checking for krb_recvauth in -lkrb" >&5 +echo "configure:1669: checking for krb_recvauth in -lkrb" >&5 d151 1 a151 1 @@@@ -1670,7 +1673,7 @@@@ d155 2 a156 2 -#line 1674 "configure" +#line 1677 "configure" d160 1 a160 1 @@@@ -1681,7 +1684,7 @@@@ d164 2 a165 2 -if { (eval echo configure:1685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d169 1 a169 1 @@@@ -1696,13 +1699,16 @@@@ d183 2 a184 2 -echo "configure:1706: checking for dbm_open in -lndbm" >&5 +echo "configure:1712: checking for dbm_open in -lndbm" >&5 d188 1 a188 1 @@@@ -1710,7 +1716,7 @@@@ d192 2 a193 2 -#line 1714 "configure" +#line 1720 "configure" d197 1 a197 1 @@@@ -1721,7 +1727,7 @@@@ d201 2 a202 2 -if { (eval echo configure:1725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d206 1 a206 1 @@@@ -1742,7 +1748,7 @@@@ d210 2 a211 2 -echo "configure:1746: checking for dbm_open in -ldbm" >&5 +echo "configure:1752: checking for dbm_open in -ldbm" >&5 d215 1 a215 1 @@@@ -1750,7 +1756,7 @@@@ d219 2 a220 2 -#line 1754 "configure" +#line 1760 "configure" d224 1 a224 1 @@@@ -1761,7 +1767,7 @@@@ d228 2 a229 2 -if { (eval echo configure:1765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d233 1 a233 1 @@@@ -1782,7 +1788,7 @@@@ d237 2 a238 2 -echo "configure:1786: checking for gdbm_open in -lgdbm" >&5 +echo "configure:1792: checking for gdbm_open in -lgdbm" >&5 d242 1 a242 1 @@@@ -1790,7 +1796,7 @@@@ d246 2 a247 2 -#line 1794 "configure" +#line 1800 "configure" d251 1 a251 1 @@@@ -1801,7 +1807,7 @@@@ d255 2 a256 2 -if { (eval echo configure:1805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d260 1 a260 1 @@@@ -1825,7 +1831,7 @@@@ d264 2 a265 2 -echo "configure:1829: checking for set_auth_parameters in -lsecurity" >&5 +echo "configure:1835: checking for set_auth_parameters in -lsecurity" >&5 d269 1 a269 1 @@@@ -1833,7 +1839,7 @@@@ d273 2 a274 2 -#line 1837 "configure" +#line 1843 "configure" d278 1 a278 1 @@@@ -1844,7 +1850,7 @@@@ d282 2 a283 2 -if { (eval echo configure:1848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d287 1 a287 1 @@@@ -1865,7 +1871,7 @@@@ d291 2 a292 2 -echo "configure:1869: checking for crypt in -lcrypt" >&5 +echo "configure:1875: checking for crypt in -lcrypt" >&5 d296 1 a296 1 @@@@ -1873,7 +1879,7 @@@@ d300 2 a301 2 -#line 1877 "configure" +#line 1883 "configure" d305 1 a305 1 @@@@ -1884,7 +1890,7 @@@@ d309 29 a337 2 -if { (eval echo configure:1888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d341 1 a341 1 @@@@ -1912,12 +1918,12 @@@@ d345 2 a346 2 -echo "configure:1916: checking for working const" >&5 +echo "configure:1922: checking for working const" >&5 d351 2 a352 2 -#line 1921 "configure" +#line 1927 "configure" d356 1 a356 1 @@@@ -1966,7 +1972,7 @@@@ d360 2 a361 2 -if { (eval echo configure:1970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d365 1 a365 1 @@@@ -1987,12 +1993,12 @@@@ d369 2 a370 2 -echo "configure:1991: checking for uid_t in sys/types.h" >&5 +echo "configure:1997: checking for uid_t in sys/types.h" >&5 d375 2 a376 2 -#line 1996 "configure" +#line 2002 "configure" d380 1 a380 1 @@@@ -2021,12 +2027,12 @@@@ d384 2 a385 2 -echo "configure:2025: checking for off_t" >&5 +echo "configure:2031: checking for off_t" >&5 d390 2 a391 2 -#line 2030 "configure" +#line 2036 "configure" d395 1 a395 1 @@@@ -2054,12 +2060,12 @@@@ d399 2 a400 2 -echo "configure:2058: checking for size_t" >&5 +echo "configure:2064: checking for size_t" >&5 d405 2 a406 2 -#line 2063 "configure" +#line 2069 "configure" d410 1 a410 1 @@@@ -2087,12 +2093,12 @@@@ d414 2 a415 2 -echo "configure:2091: checking for sys_siglist declaration in signal.h or unistd.h" >&5 +echo "configure:2097: checking for sys_siglist declaration in signal.h or unistd.h" >&5 d420 2 a421 2 -#line 2096 "configure" +#line 2102 "configure" d425 1 a425 1 @@@@ -2104,7 +2110,7 @@@@ d429 2 a430 2 -if { (eval echo configure:2108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d434 1 a434 1 @@@@ -2126,12 +2132,12 @@@@ d438 2 a439 2 -echo "configure:2130: checking return type of signal handlers" >&5 +echo "configure:2136: checking return type of signal handlers" >&5 d444 2 a445 2 -#line 2135 "configure" +#line 2141 "configure" d449 1 a449 1 @@@@ -2148,7 +2154,7 @@@@ d453 2 a454 2 -if { (eval echo configure:2152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d458 1 a458 1 @@@@ -2167,12 +2173,12 @@@@ d462 2 a463 2 -echo "configure:2171: checking for vprintf" >&5 +echo "configure:2177: checking for vprintf" >&5 d468 2 a469 2 -#line 2176 "configure" +#line 2182 "configure" d473 1 a473 1 @@@@ -2195,7 +2201,7 @@@@ d477 2 a478 2 -if { (eval echo configure:2199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d482 1 a482 1 @@@@ -2219,12 +2225,12 @@@@ d486 2 a487 2 -echo "configure:2223: checking for _doprnt" >&5 +echo "configure:2229: checking for _doprnt" >&5 d492 2 a493 2 -#line 2228 "configure" +#line 2234 "configure" d497 1 a497 1 @@@@ -2247,7 +2253,7 @@@@ d501 2 a502 2 -if { (eval echo configure:2251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then d506 1 a506 1 @@@@ -2285,12 +2291,12 @@@@ d510 2 a511 2 -echo "configure:2289: checking for $ac_func" >&5 +echo "configure:2295: checking for $ac_func" >&5 d516 2 a517 2 -#line 2294 "configure" +#line 2300 "configure" d521 1 a521 1 @@@@ -2313,7 +2319,7 @@@@ d525 2 a526 2 -if { (eval echo configure:2317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then @ 1.2 log @Update to V2.52 @ text @d1 9 a9 3 --- configure.orig Thu Jul 2 08:57:27 1998 +++ configure Thu Jul 2 09:01:53 1998 @@@@ -1454,7 +1454,6 @@@@ d13 158 a170 5 -gdbm.h \ dbm.h \ stdlib.h \ string.h \ @@@@ -1783,49 +1782,6 @@@@ d173 64 a236 6 DBM_LIBS="-ldbm" -else - echo "$ac_t""no" 1>&6 -fi - -echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 d238 8 a245 7 -ac_lib_var=`echo gdbm'_'gdbm_open | 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="-lgdbm $LIBS" -cat > conftest.$ac_ext <&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 - DBM_LIBS="-lgdbm" cat >> confdefs.h <<\EOF -#define GDBM 1 -EOF - d260 124 a383 1 echo "$ac_t""no" 1>&6 d385 118 @ 1.1 log @Make popper compile without errors or warnings, with kerberos. @ text @d1 60 a60 74 *** configure Wed Nov 19 13:20:39 1997 --- configure Thu Feb 12 17:27:17 1998 *************** *** 1418,1421 **** --- 1418,1424 ---- gdbm.h \ dbm.h \ + stdlib.h \ + string.h \ + time.h \ do *************** *** 1630,1634 **** else ac_save_LIBS="$LIBS" ! LIBS="-lkrb $LIBS" cat > conftest.$ac_ext < conftest.$ac_ext <&6 ! KERBEROS_LIBS="$KERBEROS_LIBS -lkrb" else echo "$ac_t""no" 1>&6 --- 1659,1666 ---- if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ! KERBEROS_LIBS="$KERBEROS_LIBS -lkrb -ldes" ! cat >> confdefs.h <<\EOF ! #define KERBEROS 1 ! EOF else echo "$ac_t""no" 1>&6 *** configure.in Wed Nov 19 13:20:38 1997 --- configure.in Thu Feb 12 17:26:54 1998 *************** *** 166,169 **** --- 166,172 ---- gdbm.h \ dbm.h \ + stdlib.h \ + string.h \ + time.h \ ) *************** *** 174,181 **** AC_CHECK_LIB(resolv, res_init, NETWORK_LIBS="$NETWORK_LIBS -lresolv") AC_CHECK_LIB(mail, maillock, NETWORK_LIBS="$NETWORK_LIBS -lmail"; AC_DEFINE(MAILOCK)) ! AC_CHECK_LIB(krb, krb_recvauth, KERBEROS_LIBS="$KERBEROS_LIBS -lkrb") AC_CHECK_LIB(ndbm, dbm_open, DBM_LIBS="-lndbm") AC_CHECK_LIB(dbm, dbm_open, DBM_LIBS="-ldbm") ! AC_CHECK_LIB(gdbm, gdbm_open, DBM_LIBS="-lgdbm" AC_DEFINE(GDBM)) AC_CHECK_LIB(security, set_auth_parameters, LIBS="$LIBS -lsecurity") AC_CHECK_LIB(crypt, crypt, LIBS="$LIBS -lcrypt") --- 175,184 ---- AC_CHECK_LIB(resolv, res_init, NETWORK_LIBS="$NETWORK_LIBS -lresolv") AC_CHECK_LIB(mail, maillock, NETWORK_LIBS="$NETWORK_LIBS -lmail"; AC_DEFINE(MAILOCK)) ! AC_CHECK_LIB(krb, krb_recvauth, KERBEROS_LIBS="-lkrb -ldes" ! AC_DEFINE(KERBEROS)) AC_CHECK_LIB(ndbm, dbm_open, DBM_LIBS="-lndbm") AC_CHECK_LIB(dbm, dbm_open, DBM_LIBS="-ldbm") ! AC_CHECK_LIB(gdbm, gdbm_open, DBM_LIBS="-lgdbm" ! AC_DEFINE(GDBM)) AC_CHECK_LIB(security, set_auth_parameters, LIBS="$LIBS -lsecurity") AC_CHECK_LIB(crypt, crypt, LIBS="$LIBS -lcrypt") @