head 1.9; access; symbols pkgsrc-2026Q1:1.9.0.114 pkgsrc-2026Q1-base:1.9 pkgsrc-2025Q4:1.9.0.112 pkgsrc-2025Q4-base:1.9 pkgsrc-2025Q3:1.9.0.110 pkgsrc-2025Q3-base:1.9 pkgsrc-2025Q2:1.9.0.108 pkgsrc-2025Q2-base:1.9 pkgsrc-2025Q1:1.9.0.106 pkgsrc-2025Q1-base:1.9 pkgsrc-2024Q4:1.9.0.104 pkgsrc-2024Q4-base:1.9 pkgsrc-2024Q3:1.9.0.102 pkgsrc-2024Q3-base:1.9 pkgsrc-2024Q2:1.9.0.100 pkgsrc-2024Q2-base:1.9 pkgsrc-2024Q1:1.9.0.98 pkgsrc-2024Q1-base:1.9 pkgsrc-2023Q4:1.9.0.96 pkgsrc-2023Q4-base:1.9 pkgsrc-2023Q3:1.9.0.94 pkgsrc-2023Q3-base:1.9 pkgsrc-2023Q2:1.9.0.92 pkgsrc-2023Q2-base:1.9 pkgsrc-2023Q1:1.9.0.90 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.9.0.88 pkgsrc-2022Q4-base:1.9 pkgsrc-2022Q3:1.9.0.86 pkgsrc-2022Q3-base:1.9 pkgsrc-2022Q2:1.9.0.84 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.82 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.80 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.78 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.76 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.74 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.72 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.70 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.66 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.46 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.68 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.64 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.62 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.60 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.58 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.56 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.54 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.9.0.52 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.9.0.50 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.48 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.44 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.42 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.40 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.38 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.36 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.34 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.32 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.30 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.28 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.26 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.24 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.22 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.20 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.18 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.16 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.14 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.12 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.10 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.9.0.8 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.6 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.4 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.2 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.8.0.78 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.76 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.74 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.72 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.70 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.68 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.66 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.64 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.62 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.60 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.58 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.8.0.56 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.8.0.54 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.52 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.50 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.48 pkgsrc-2008Q2-base:1.8 cwrapper:1.8.0.46 pkgsrc-2008Q1:1.8.0.44 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.42 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.40 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.38 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.36 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.34 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.32 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.30 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.28 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.8.0.26 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.8.0.24 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.8.0.22 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.8.0.20 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.8.0.18 pkgsrc-2004Q4-base:1.8 pkgsrc-2004Q3:1.8.0.16 pkgsrc-2004Q3-base:1.8 pkgsrc-2004Q2:1.8.0.14 pkgsrc-2004Q2-base:1.8 pkgsrc-2004Q1:1.8.0.12 pkgsrc-2004Q1-base:1.8 pkgsrc-2003Q4:1.8.0.10 pkgsrc-2003Q4-base:1.8 netbsd-1-6-1:1.8.0.6 netbsd-1-6-1-base:1.8 netbsd-1-6:1.8.0.8 netbsd-1-6-RELEASE-base:1.8 pkgviews:1.8.0.4 pkgviews-base:1.8 buildlink2:1.8.0.2 buildlink2-base:1.8 netbsd-1-5-PATCH003:1.8 netbsd-1-5-RELEASE:1.6 netbsd-1-4-PATCH003:1.6 netbsd-1-4-PATCH002:1.6 comdex-fall-1999:1.6 netbsd-1-4-PATCH001:1.4 netbsd-1-4-RELEASE:1.3 netbsd-1-3-PATCH003:1.3; locks; strict; comment @# @; 1.9 date 2012.03.22.14.13.29; author taca; state Exp; branches; next 1.8; 1.8 date 2001.06.10.15.08.41; author taca; state Exp; branches; next 1.7; 1.7 date 2000.12.11.17.23.04; author itojun; state dead; branches; next 1.6; 1.6 date 99.09.15.21.30.59; author tron; state Exp; branches; next 1.5; 1.5 date 99.09.07.17.58.22; author bad; state Exp; branches; next 1.4; 1.4 date 99.05.11.20.24.46; author tron; state Exp; branches; next 1.3; 1.3 date 98.08.07.11.09.54; author agc; state Exp; branches; next 1.2; 1.2 date 98.07.22.14.53.53; author bad; state Exp; branches; next 1.1; 1.1 date 98.07.10.09.11.51; author mycroft; state Exp; branches; next ; desc @@ 1.9 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-ag,v 1.8 2001/06/10 15:08:41 taca Exp $ --- man/popper.8.orig 2011-05-30 19:13:39.000000000 +0000 +++ man/popper.8 @@@@ -19,7 +19,7 @@@@ .SH NAME qpopper \-\- POP3 server (v4.1) .SH SYNOPSIS -.B /usr/local/lib/popper +.B @@PREFIX@@/libexec/qpopper [ .I [ address ] .I [ ":" ] @@@@ -829,7 +829,7 @@@@ Connection closed by foreign host. .PP The server implements several extended commands. .PP -XTND XMIT: Sends a mail message using /usr/lib/sendmail. +XTND XMIT: Sends a mail message using /usr/sbin/sendmail. .PP XTND XLIST header [num]: Extracts and returns the specified header line for the specified message number. If the "num" parameter is missing, @ 1.8 log @Update qpopper to 4.0.3 from 3.1.2. Here is brief new feature from Release note. 4.0 Supports TLS/SSL security. '-p' option now has value '4' to permit plain-text passwords under TLS/SSL. Now uses a cache file to retain spool index across sessions. This dramatically speeds up session start when no new mail has arrived. '-l' option added to specify TLS/SSL support. Lots of TLS/SSL options added. See the Administrator's Guide for details. '-v' option added to report current version and exit. 'make install' added. Lots of compile-time options now available at run-time. See the Administrator's Guide for details. Integrated poppassd into build. And here is changes from 4.0. Changes from 4.0.2 to 4.0.3: ---------------------------- 1. Don't call SSL_shutdown unless we tried to negotiate an SSL session. (As suggested by Kenneth Porter.) 2. Fix buffer overflow (reported by Gustavo Viscaino). 3. Fixed empty password treated as empty command (patch submitted by Michael Smith and others). 4. Added patch by Carles Xavier Munyoz to fix erroneous scanning for \n in getline(). 5. Fix from Arvin Schnell for warnings on 64-bit systems. 6. Added patch by Clifton Royston to change error message for nonauthfile and authfile tests. 7. Added 'uw-kludge' as synonym for 'uw-kluge'. Changes from 4.0.1 to 4.0.2: ---------------------------- 1. Added fix for XTND XMIT (sent in by Jacques Distler and others). 2. Fixed makefile problems with poppassd compile and install (sent in by Steven Champeon). 3. Increased maximum spool path length from 64 to 256. 4. Added more debug code when genpath() runs out of room. 5. Changed C++ style comments to C style in poppassd.c 6. Changed poppassd's UID check to be the same as Qpopper's (which is that if BLOCK_UID is defined we use that value, otherwise it defaults to 10). 7. Added poppassd expect strings for DEC True 64 (sent in by Andres Henckens). Changes from 4.0.1b1 to 4.0.1 (final): -------------------------------------- 1. Fixed typo in popper/pop_init.c if DONT_CHECK_HASH_SPOOL_DIR defined. Changes from 4.0 to 4.0.1b1: ---------------------------- 1. Messages with lines longer than 512 characters are no longer garbled when sent to the client. 2. Added patches from Michael C Tiernan to fix makefile problems. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- man/popper.8.orig Wed Apr 4 09:23:13 2001 d7 1 a7 1 qpopper \-\- POP3 server (v4.0) d10 1 a10 1 +.B /usr/local/lib/qpopper d14 1 a14 1 @@@@ -800,7 +803,7 @@@@ @ 1.7 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-ag,v 1.6 1999/09/15 21:30:59 tron Exp $ d3 3 a5 10 --- popper.8.orig Fri Jul 10 01:44:08 1998 +++ popper.8 Wed Sep 15 23:28:17 1999 @@@@ -10,11 +10,11 @@@@ .\" .\" @@(#)@@(#)popper.8 2.3 2.3 (CCS) 4/2/91 Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n .\" -.TH popper 8 "August 1990" +.TH qpopper 8 "August 1990" .UC 6 .ad d7 1 a7 2 -popper \- pop 3 server +qpopper \- Qualcomm pop 3 server d9 6 a14 12 .B /usr/etc/popper [ -d ] @@@@ -24,7 +24,7 @@@@ [ -T timeout] [ -b bulldir] .SH DESCRIPTION -.I Popper +.I Qpopper is an implementation of the Post Office Protocol server that runs on a variety of Unix computers to manage electronic mail for Macintosh and MS-DOS computers. The server was developed at the University of @@@@ -42,12 +42,12 @@@@ d16 1 a16 5 The .B \-k -flag enables kerberos authentication when popper has been compiled with +flag enables kerberos authentication when qpopper has been compiled with the KERBEROS define. You must already have libraries that support Kerberos. d18 2 a19 19 The .B \-s -flag turns on statistics logging using syslog(8). At the end of each popper +flag turns on statistics logging using syslog(8). At the end of each qpopper session, the following information is logged: username, number of messages deleted, number of bytes deleted, number of message left on server, number of bytes left on server. @@@@ -58,7 +58,7 @@@@ session with a pop client. When the server is waiting for a command to arrive from the client, it times out after the specified number of seconds and terminates the session. -This avoids having popper processes hang forever waiting for command input +This avoids having qpopper processes hang forever waiting for command input from clients which have terminated abnormally. A small value is ok for small to medium nets where the network delay is within a few seconds. In this case 15-30 seconds is @@@@ -99,19 +99,19 @@@@ is replaced by "To: username@@thishost", and any "Status:" header lines are deleted. Otherwise, the bulletin is copied as is. d21 2 a22 51 -When a new user checks for mail the first time, popper creates the .popbull +When a new user checks for mail the first time, qpopper creates the .popbull file in the user's home directory and seeds it with the current maximum bulletin number. Thus new users do not get old bulletins. .SH THE POP TRANSACTION CYCLE .PP -The Berkeley POP server is a single program (called popper) that is +The Qualcomm POP server is a single program (called qpopper) that is launched by inetd when it gets a service request on the POP TCP port. (The official port number specified in RFC 1081 for POP version 3 is port 110. However, some POP3 clients attempt to contact the server at port 109, the POP version 2 port. Unless you are running both POP2 and POP3 servers, you can simply define both ports for use by the POP3 server. This is explained in the installation instructions later on.) -The popper program initializes and verifies that the peer IP address is +The qpopper program initializes and verifies that the peer IP address is registered in the local domain, logging a warning message when a connection is made to a client whose IP address does not have a canonical name. For systems using BSD 4.3 bind, it also checks to see @@@@ -122,7 +122,7 @@@@ server's host machine. No other exchanges are allowed during this state (other than a request to quit.) If authentication fails, a warning message is logged and the session ends. Once the user is -identified, popper changes its user and group ids to match that of the +identified, qpopper changes its user and group ids to match that of the user and enters the transaction state. The server makes a temporary copy of the user's maildrop which is used for all subsequent transactions. These include the bulk of POP @@@@ -141,18 +141,18 @@@@ file, usually /usr/spool/mqueue/syslog. .SH DEBUGGING .PP -The popper program will log debugging information when the -d parameter +The qpopper program will log debugging information when the -d parameter is specified after its invocation in the inetd.conf file. Care should be exercised in using this option since it generates considerable output in the syslog file. Alternatively, the "-t " option will place debugging information into file "" using fprintf instead of syslog. .PP -For SunOS version 3.5, the popper program is launched by inetd from +For SunOS version 3.5, the qpopper program is launched by inetd from /etc/servers. This file does not allow you to specify command line arguments. Therefore, if you want to enable debugging, you can specify -a shell script in /etc/servers to be launched instead of popper and in -this script call popper with the desired arguments. +a shell script in /etc/servers to be launched instead of qpopper and in +this script call qpopper with the desired arguments. .PP You can confirm that the POP server is running on Unix by telneting to port 110 (or 109 if you set it up that way). For example: @ 1.6 log @Convert patches to unified format. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Make this DTRT wrt. Kerberos4 support. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.4 1999/05/11 20:24:46 tron Exp $ d3 104 a106 1227 --- configure.orig Fri Jul 10 01:44:06 1998 +++ configure Tue Sep 7 18:57:24 1999 @@@@ -1,7 +1,7 @@@@ #! /bin/sh # 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 - + 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.4 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$ d4 1 a4 1 +++ configure Tue May 11 22:12:01 1999 d14 10 a23 1 @@@@ -61,6 +61,7 @@@@ d31 1 a31 1 @@@@ -344,7 +345,7 @@@@ d40 1 a40 1 @@@@ -514,9 +515,11 @@@@ d53 1 a53 1 @@@@ -533,7 +536,7 @@@@ d58 1 a58 1 +echo "configure:540: checking whether ${MAKE-make} sets \${MAKE}" >&5 d62 1 a62 1 @@@@ -562,15 +565,16 @@@@ d67 1 a67 1 +echo "configure:569: checking for $ac_word" >&5 d82 1 a82 1 @@@@ -591,16 +595,17 @@@@ d87 1 a87 1 +echo "configure:599: checking for $ac_word" >&5 d103 1 a103 1 @@@@ -635,25 +640,61 @@@@ d113 1 a113 1 +echo "configure:650: checking for $ac_word" >&5 d146 1 a146 1 +echo "configure:682: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 d160 1 a160 1 +#line 693 "configure" d166 1 a166 1 +if { (eval echo configure:698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d170 1 a170 1 @@@@ -667,18 +708,24 @@@@ d187 1 a187 1 +echo "configure:724: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 d193 1 a193 1 +echo "configure:729: checking whether we are using GNU C" >&5 d197 1 a197 1 @@@@ -687,7 +734,7 @@@@ d202 1 a202 1 +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then d206 1 a206 1 @@@@ -698,11 +745,15 @@@@ d223 1 a223 1 +echo "configure:757: checking whether ${CC-cc} accepts -g" >&5 d227 1 a227 1 @@@@ -717,20 +768,24 @@@@ d255 1 a255 1 +echo "configure:789: checking for POSIXized ISC" >&5 d259 1 a259 1 @@@@ -753,7 +808,7 @@@@ d264 1 a264 1 +echo "configure:812: checking for main in -lcposix" >&5 d268 1 a268 1 @@@@ -761,14 +816,14 @@@@ d273 1 a273 1 +#line 820 "configure" d281 1 a281 1 +if { (eval echo configure:827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d285 1 a285 1 @@@@ -796,7 +851,7 @@@@ d290 1 a290 1 +echo "configure:855: checking for bzero in -linet" >&5 d294 1 a294 1 @@@@ -804,7 +859,7 @@@@ d299 1 a299 1 +#line 863 "configure" d303 1 a303 1 @@@@ -815,7 +870,7 @@@@ d308 1 a308 1 +if { (eval echo configure:874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d312 1 a312 1 @@@@ -838,7 +893,7 @@@@ d321 1 a321 1 @@@@ -1014,7 +1069,7 @@@@ d326 1 a326 1 +echo "configure:1073: checking size of unsigned long int" >&5 d330 1 a330 1 @@@@ -1022,7 +1077,7 @@@@ d335 1 a335 1 +#line 1081 "configure" d339 1 a339 1 @@@@ -1033,7 +1088,7 @@@@ d344 1 a344 1 +if { (eval echo configure:1092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d348 1 a348 1 @@@@ -1054,7 +1109,7 @@@@ d353 1 a353 1 +echo "configure:1113: checking for sendmail program" >&5 d357 1 a357 1 @@@@ -1081,7 +1136,7 @@@@ d362 1 a362 1 +echo "configure:1140: checking for mail spool directory" >&5 d366 1 a366 1 @@@@ -1164,7 +1219,7 @@@@ d371 1 a371 1 +echo "configure:1223: checking how to run the C preprocessor" >&5 d375 1 a375 1 @@@@ -1179,14 +1234,14 @@@@ d380 1 a380 1 +#line 1238 "configure" d388 1 a388 1 +{ (eval echo configure:1244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d393 1 a393 1 @@@@ -1196,14 +1251,31 @@@@ d398 9 a406 7 +#line 1255 "configure" +#include "confdefs.h" +#include +Syntax Error +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:1261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d417 7 a423 9 +#line 1272 "configure" #include "confdefs.h" #include 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:1278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d428 1 a428 1 @@@@ -1216,6 +1288,8 @@@@ d437 1 a437 1 @@@@ -1225,12 +1299,12 @@@@ d442 1 a442 1 +echo "configure:1303: checking for ANSI C header files" >&5 d448 1 a448 1 +#line 1308 "configure" d452 1 a452 1 @@@@ -1238,8 +1312,8 @@@@ d458 1 a458 1 +{ (eval echo configure:1316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d463 1 a463 1 @@@@ -1255,7 +1329,7 @@@@ d468 1 a468 1 +#line 1333 "configure" d472 1 a472 1 @@@@ -1273,7 +1347,7 @@@@ d477 1 a477 1 +#line 1351 "configure" d481 1 a481 1 @@@@ -1294,7 +1368,7 @@@@ d486 1 a486 1 +#line 1372 "configure" d490 1 a490 1 @@@@ -1305,7 +1379,7 @@@@ d495 1 a495 1 +if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null d499 1 a499 1 @@@@ -1333,12 +1407,12 @@@@ d504 1 a504 1 +echo "configure:1411: checking for $ac_hdr that defines DIR" >&5 d510 1 a510 1 +#line 1416 "configure" d514 1 a514 1 @@@@ -1346,7 +1420,7 @@@@ d519 1 a519 1 +if { (eval echo configure:1424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d523 1 a523 1 @@@@ -1371,7 +1445,7 @@@@ d528 1 a528 1 +echo "configure:1449: checking for opendir in -ldir" >&5 d532 1 a532 1 @@@@ -1379,7 +1453,7 @@@@ d537 1 a537 1 +#line 1457 "configure" d541 1 a541 1 @@@@ -1390,7 +1464,7 @@@@ d546 1 a546 1 +if { (eval echo configure:1468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d550 1 a550 1 @@@@ -1412,7 +1486,7 @@@@ d555 1 a555 1 +echo "configure:1490: checking for opendir in -lx" >&5 d559 1 a559 1 @@@@ -1420,7 +1494,7 @@@@ d564 1 a564 1 +#line 1498 "configure" d568 1 a568 1 @@@@ -1431,7 +1505,7 @@@@ d573 1 a573 1 +if { (eval echo configure:1509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d577 1 a577 1 @@@@ -1454,12 +1528,12 @@@@ d582 1 a582 1 +echo "configure:1532: checking for sys/wait.h that is POSIX.1 compatible" >&5 d588 1 a588 1 +#line 1537 "configure" d592 1 a592 1 @@@@ -1475,7 +1549,7 @@@@ d597 1 a597 1 +if { (eval echo configure:1553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d601 1 a601 1 @@@@ -1511,28 +1585,30 @@@@ d619 1 a619 1 +echo "configure:1601: checking for $ac_hdr" >&5 d625 1 a625 1 +#line 1606 "configure" d632 1 a632 1 +{ (eval echo configure:1611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } d637 1 a637 1 @@@@ -1560,7 +1636,7 @@@@ d642 1 a642 1 +echo "configure:1640: checking for t_accept in -lnsl" >&5 d646 1 a646 1 @@@@ -1568,7 +1644,7 @@@@ d651 1 a651 1 +#line 1648 "configure" d655 1 a655 1 @@@@ -1579,7 +1655,7 @@@@ d660 1 a660 1 +if { (eval echo configure:1659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d664 1 a664 1 @@@@ -1600,7 +1676,7 @@@@ d669 1 a669 1 +echo "configure:1680: checking for socket in -lsocket" >&5 d673 1 a673 1 @@@@ -1608,7 +1684,7 @@@@ d678 1 a678 1 +#line 1688 "configure" d682 1 a682 1 @@@@ -1619,7 +1695,7 @@@@ d687 1 a687 1 +if { (eval echo configure:1699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d691 1 a691 1 @@@@ -1640,7 +1716,7 @@@@ d696 1 a696 1 +echo "configure:1720: checking for res_init in -lresolv" >&5 d700 1 a700 1 @@@@ -1648,7 +1724,7 @@@@ d705 1 a705 1 +#line 1728 "configure" d709 1 a709 1 @@@@ -1659,7 +1735,7 @@@@ d714 1 a714 1 +if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d718 1 a718 1 @@@@ -1680,7 +1756,7 @@@@ d723 1 a723 1 +echo "configure:1760: checking for maillock in -lmail" >&5 d727 1 a727 1 @@@@ -1688,7 +1764,7 @@@@ d732 1 a732 1 +#line 1768 "configure" d736 1 a736 1 @@@@ -1699,7 +1775,7 @@@@ d741 1 a741 1 +if { (eval echo configure:1779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d745 2 a746 1 @@@@ -1723,7 +1799,7 @@@@ d749 9 d760 1 a760 1 +echo "configure:1803: checking for krb_recvauth in -lkrb" >&5 d764 1 a764 1 @@@@ -1731,7 +1807,7 @@@@ d769 1 a769 1 +#line 1811 "configure" d773 1 a773 1 @@@@ -1742,7 +1818,7 @@@@ d778 1 a778 1 +if { (eval echo configure:1822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d782 2 a783 1 @@@@ -1763,7 +1839,7 @@@@ d786 1 a786 1 echo $ac_n "checking for dbm_open in -lndbm""... $ac_c" 1>&6 d788 4 a791 2 +echo "configure:1843: checking for dbm_open in -lndbm" >&5 ac_lib_var=`echo ndbm'_'dbm_open | sed 'y%./+-%__p_%'` d794 1 a794 1 @@@@ -1771,7 +1847,7 @@@@ d796 2 a797 1 LIBS="-lndbm $LIBS" d800 1 a800 1 +#line 1851 "configure" d804 7 a810 2 @@@@ -1782,7 +1858,7 @@@@ dbm_open() d814 1 a814 1 +if { (eval echo configure:1862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d818 8 a825 1 @@@@ -1803,7 +1879,7 @@@@ d828 1 a828 1 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 d830 9 a838 2 +echo "configure:1883: checking for dbm_open in -ldbm" >&5 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` d841 1 a841 1 @@@@ -1811,7 +1887,7 @@@@ d843 2 a844 1 LIBS="-ldbm $LIBS" d847 1 a847 1 +#line 1891 "configure" d851 1 a851 1 @@@@ -1822,7 +1898,7 @@@@ d856 1 a856 1 +if { (eval echo configure:1902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d860 7 a866 1 @@@@ -1842,51 +1918,8 @@@@ d873 7 a879 4 -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" d881 2 a882 1 -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 d910 5 a914 4 -else - echo "$ac_t""no" 1>&6 -fi - d917 1 a917 1 +echo "configure:1923: checking for set_auth_parameters in -lsecurity" >&5 d921 1 a921 1 @@@@ -1894,7 +1927,7 @@@@ d926 1 a926 1 +#line 1931 "configure" d930 1 a930 1 @@@@ -1905,7 +1938,7 @@@@ d935 1 a935 1 +if { (eval echo configure:1942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d939 1 a939 1 @@@@ -1926,7 +1959,7 @@@@ d944 1 a944 1 +echo "configure:1963: checking for crypt in -lcrypt" >&5 d948 1 a948 1 @@@@ -1934,7 +1967,7 @@@@ d953 1 a953 1 +#line 1971 "configure" d957 1 a957 1 @@@@ -1945,7 +1978,7 @@@@ d962 1 a962 1 +if { (eval echo configure:1982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d966 1 a966 1 @@@@ -1966,7 +1999,7 @@@@ d971 1 a971 1 +echo "configure:2003: checking for pw_encrypt in -lshadow" >&5 d975 1 a975 1 @@@@ -1974,7 +2007,7 @@@@ d980 1 a980 1 +#line 2011 "configure" d984 1 a984 1 @@@@ -1985,7 +2018,7 @@@@ d989 1 a989 1 +if { (eval echo configure:2022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d993 1 a993 1 @@@@ -2013,12 +2046,12 @@@@ d998 1 a998 1 +echo "configure:2050: checking for working const" >&5 d1004 1 a1004 1 +#line 2055 "configure" d1008 1 a1008 1 @@@@ -2067,7 +2100,7 @@@@ d1013 1 a1013 1 +if { (eval echo configure:2104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1017 1 a1017 1 @@@@ -2088,12 +2121,12 @@@@ d1022 1 a1022 1 +echo "configure:2125: checking for uid_t in sys/types.h" >&5 d1028 1 a1028 1 +#line 2130 "configure" d1032 1 a1032 1 @@@@ -2122,12 +2155,12 @@@@ d1037 1 a1037 1 +echo "configure:2159: checking for off_t" >&5 d1043 1 a1043 1 +#line 2164 "configure" d1047 1 a1047 1 @@@@ -2136,7 +2169,7 @@@@ d1056 1 a1056 1 @@@@ -2155,12 +2188,12 @@@@ d1061 1 a1061 1 +echo "configure:2192: checking for size_t" >&5 d1067 1 a1067 1 +#line 2197 "configure" d1071 1 a1071 1 @@@@ -2169,7 +2202,7 @@@@ d1080 1 a1080 1 @@@@ -2188,12 +2221,12 @@@@ d1085 1 a1085 1 +echo "configure:2225: checking for sys_siglist declaration in signal.h or unistd.h" >&5 d1091 1 a1091 1 +#line 2230 "configure" d1095 1 a1095 1 @@@@ -2205,7 +2238,7 @@@@ d1100 1 a1100 1 +if { (eval echo configure:2242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1104 1 a1104 1 @@@@ -2227,12 +2260,12 @@@@ d1109 1 a1109 1 +echo "configure:2264: checking return type of signal handlers" >&5 d1115 1 a1115 1 +#line 2269 "configure" d1119 1 a1119 1 @@@@ -2249,7 +2282,7 @@@@ d1124 1 a1124 1 +if { (eval echo configure:2286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then d1128 1 a1128 1 @@@@ -2268,12 +2301,12 @@@@ d1133 1 a1133 1 +echo "configure:2305: checking for vprintf" >&5 d1139 1 a1139 1 +#line 2310 "configure" d1143 1 a1143 1 @@@@ -2296,7 +2329,7 @@@@ d1148 1 a1148 1 +if { (eval echo configure:2333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1152 1 a1152 1 @@@@ -2320,12 +2353,12 @@@@ d1157 1 a1157 1 +echo "configure:2357: checking for _doprnt" >&5 d1163 1 a1163 1 +#line 2362 "configure" d1167 1 a1167 1 @@@@ -2348,7 +2381,7 @@@@ d1172 1 a1172 1 +if { (eval echo configure:2385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1176 1 a1176 1 @@@@ -2386,12 +2419,12 @@@@ d1181 1 a1181 1 +echo "configure:2423: checking for $ac_func" >&5 d1187 1 a1187 1 +#line 2428 "configure" d1191 1 a1191 1 @@@@ -2414,7 +2447,7 @@@@ d1196 1 a1196 1 +if { (eval echo configure:2451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then d1200 1 a1200 1 @@@@ -2463,7 +2496,7 @@@@ d1209 1 a1209 1 @@@@ -2530,7 +2563,7 @@@@ d1218 1 a1218 1 @@@@ -2549,9 +2582,11 @@@@ @ 1.3 log @Add NetBSD RCS Ids. @ text @d3 1176 a1178 31 *** configure.in.orig Fri Jul 10 01:44:06 1998 --- configure.in Wed Jul 22 16:37:33 1998 *************** *** 13,19 **** fi if test "$GCC" = yes then ! CFLAGS="$CFLAGS -fstrength-reduce -fpcc-struct-return " fi AC_SUBST(CC) AC_SUBST(CFLAGS) --- 13,19 ---- fi if test "$GCC" = yes then ! CFLAGS="$CFLAGS -fstrength-reduce " fi AC_SUBST(CC) AC_SUBST(CFLAGS) *************** *** 195,200 **** --- 195,203 ---- syslog.h \ net/errno.h \ unistd.h \ + stdlib.h \ + string.h \ + time.h \ netinet/in.h \ maillock.h \ ndbm.h \ @ 1.2 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.1 log @Make the Kerberos support actually compile in. @ text @d1 31 a31 12 --- configure.in.orig Fri Jul 10 01:52:28 1998 +++ configure.in Fri Jul 10 02:01:46 1998 @@@@ -161,6 +161,9 @@@@ syslog.h \ net/errno.h \ unistd.h \ +stdlib.h \ +string.h \ +time.h \ netinet/in.h \ maillock.h \ ndbm.h \ @