summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbwarsaw1998-06-05 22:08:26 +0000
committerbwarsaw1998-06-05 22:08:26 +0000
commitdc0f04e95e791f19b52db1a48402b15eed515f51 (patch)
tree3cb919bfec4f497c6dcf883b3e2698adb83a094f /configure
parent9d9d59112195fb6092adf90cd22af931dbd105a5 (diff)
downloadmailman-dc0f04e95e791f19b52db1a48402b15eed515f51.tar.gz
mailman-dc0f04e95e791f19b52db1a48402b15eed515f51.tar.zst
mailman-dc0f04e95e791f19b52db1a48402b15eed515f51.zip
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure115
1 files changed, 60 insertions, 55 deletions
diff --git a/configure b/configure
index 0d9967ddf..c03242771 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
-# From configure.in Revision: 1.12
+# From configure.in Revision: 1.13
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.12
@@ -964,12 +964,11 @@ fi
# Group `mailman' must exist
+echo $ac_n "checking for mailman GID""... $ac_c" 1>&6
+echo "configure:969: checking for mailman GID" >&5
# MAILMAN_GID == variable name
# mailman == user id to check for
-# mailman == purpose
-echo $ac_n "checking for mailman GID""... $ac_c" 1>&6
-echo "configure:973: checking for mailman GID" >&5
if test -z "$MAILMAN_GID"
@@ -1012,7 +1011,7 @@ fi
# owned by `mailman', it must have the group sticky bit set, and it
# must be a+rx
echo $ac_n "checking permissions on $prefix""... $ac_c" 1>&6
-echo "configure:1016: checking permissions on $prefix" >&5
+echo "configure:1015: checking permissions on $prefix" >&5
cat > conftest.py <<EOF
import os, grp, string
@@ -1054,8 +1053,8 @@ echo "$ac_t""okay" 1>&6
# Now find the UIDs and GIDs
# Support --with-mail-gid and --with-cgi-gid
-echo $ac_n "checking for --with-mail-gid""... $ac_c" 1>&6
-echo "configure:1059: checking for --with-mail-gid" >&5
+echo $ac_n "checking for mail wrapper GID""... $ac_c" 1>&6
+echo "configure:1058: checking for mail wrapper GID" >&5
# Check whether --with-mail-gid or --without-mail-gid was given.
if test "${with_mail_gid+set}" = set; then
withval="$with_mail_gid"
@@ -1064,15 +1063,18 @@ fi
if test -z "$with_mail_gid"
then
- with_mail_gid="other mail daemon"
+ if eval "test \"`echo '$''{'ac_cv_group_mail'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_cv_group_mail="other mail daemon"
+fi
+
+else
+ ac_cv_group_mail=$with_mail_gid
fi
-echo "$ac_t""$with_mail_gid" 1>&6
# MAIL_GID == variable name
-# $with_mail_gid == user id to check for
-# mail_wrapper == purpose
-echo $ac_n "checking for mail_wrapper GID""... $ac_c" 1>&6
-echo "configure:1076: checking for mail_wrapper GID" >&5
+# $ac_cv_group_mail == user id to check for
if test -z "$MAIL_GID"
@@ -1080,7 +1082,7 @@ then
cat > conftest.py <<EOF
import grp, string
gid = ''
-for group in string.split("$with_mail_gid"):
+for group in string.split("$ac_cv_group_mail"):
try:
try:
gid = grp.getgrgid(int(group))[2]
@@ -1112,8 +1114,8 @@ then
***** for details" 1>&2; exit 1; }
fi
-echo $ac_n "checking for --with-cgi-gid""... $ac_c" 1>&6
-echo "configure:1117: checking for --with-cgi-gid" >&5
+echo $ac_n "checking for CGI wrapper GID""... $ac_c" 1>&6
+echo "configure:1119: checking for CGI wrapper GID" >&5
# Check whether --with-cgi-gid or --without-cgi-gid was given.
if test "${with_cgi_gid+set}" = set; then
withval="$with_cgi_gid"
@@ -1122,15 +1124,18 @@ fi
if test -z "$with_cgi_gid"
then
- with_cgi_gid="www www-data nobody"
+ if eval "test \"`echo '$''{'ac_cv_group_cgi'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_cv_group_cgi="www www-data nobody"
+fi
+
+else
+ ac_cv_group_cgi=$with_cgi_gid
fi
-echo "$ac_t""$with_cgi_gid" 1>&6
# CGI_GID == variable name
-# $with_cgi_gid == user id to check for
-# cgi_wrapper == purpose
-echo $ac_n "checking for cgi_wrapper GID""... $ac_c" 1>&6
-echo "configure:1134: checking for cgi_wrapper GID" >&5
+# $ac_cv_group_cgi == user id to check for
if test -z "$CGI_GID"
@@ -1138,7 +1143,7 @@ then
cat > conftest.py <<EOF
import grp, string
gid = ''
-for group in string.split("$with_cgi_gid"):
+for group in string.split("$ac_cv_group_cgi"):
try:
try:
gid = grp.getgrgid(int(group))[2]
@@ -1205,14 +1210,14 @@ EOF
$PYTHON conftest.py
echo $ac_n "checking for default fully qualified host name""... $ac_c" 1>&6
-echo "configure:1209: checking for default fully qualified host name" >&5
+echo "configure:1214: checking for default fully qualified host name" >&5
if test -z "$FQDN"
then
FQDN=`head -1 conftest.out`
fi
echo "$ac_t""$FQDN" 1>&6
echo $ac_n "checking for default URL host component""... $ac_c" 1>&6
-echo "configure:1216: checking for default URL host component" >&5
+echo "configure:1221: checking for default URL host component" >&5
if test -z "$URL"
then
URL=`tail -1 conftest.out`
@@ -1224,12 +1229,12 @@ rm -f conftest.out conftest.py
for ac_func in strerror
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:1228: checking for $ac_func" >&5
+echo "configure:1233: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1233 "configure"
+#line 1238 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -1252,7 +1257,7 @@ $ac_func();
; return 0; }
EOF
-if { (eval echo configure:1256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -1279,7 +1284,7 @@ done
# Checks for header files.
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
-echo "configure:1283: checking how to run the C preprocessor" >&5
+echo "configure:1288: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
@@ -1294,13 +1299,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 1298 "configure"
+#line 1303 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
@@ -1311,13 +1316,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 1315 "configure"
+#line 1320 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
@@ -1340,12 +1345,12 @@ fi
echo "$ac_t""$CPP" 1>&6
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
-echo "configure:1344: checking for ANSI C header files" >&5
+echo "configure:1349: 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 <<EOF
-#line 1349 "configure"
+#line 1354 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
@@ -1353,7 +1358,7 @@ else
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -1370,7 +1375,7 @@ rm -f conftest*
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
-#line 1374 "configure"
+#line 1379 "configure"
#include "confdefs.h"
#include <string.h>
EOF
@@ -1388,7 +1393,7 @@ fi
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
-#line 1392 "configure"
+#line 1397 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
@@ -1409,7 +1414,7 @@ if test "$cross_compiling" = yes; then
:
else
cat > conftest.$ac_ext <<EOF
-#line 1413 "configure"
+#line 1418 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -1420,7 +1425,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
-if { (eval echo configure:1424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:1429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
:
else
@@ -1447,17 +1452,17 @@ for ac_hdr in syslog.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1451: checking for $ac_hdr" >&5
+echo "configure:1456: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1456 "configure"
+#line 1461 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -1486,12 +1491,12 @@ done
# Checks for typedefs, structures, and compiler characteristics.
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
-echo "configure:1490: checking for uid_t in sys/types.h" >&5
+echo "configure:1495: 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
-#line 1495 "configure"
+#line 1500 "configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
@@ -1520,7 +1525,7 @@ EOF
fi
echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
-echo "configure:1524: checking type of array argument to getgroups" >&5
+echo "configure:1529: checking type of array argument to getgroups" >&5
if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -1528,7 +1533,7 @@ else
ac_cv_type_getgroups=cross
else
cat > conftest.$ac_ext <<EOF
-#line 1532 "configure"
+#line 1537 "configure"
#include "confdefs.h"
/* Thanks to Mike Rendell for this test. */
@@ -1553,7 +1558,7 @@ main()
}
EOF
-if { (eval echo configure:1557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:1562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
ac_cv_type_getgroups=gid_t
else
@@ -1567,7 +1572,7 @@ fi
if test $ac_cv_type_getgroups = cross; then
cat > conftest.$ac_ext <<EOF
-#line 1571 "configure"
+#line 1576 "configure"
#include "confdefs.h"
#include <unistd.h>
EOF
@@ -1593,12 +1598,12 @@ EOF
# Checks for library functions.
echo $ac_n "checking for vprintf""... $ac_c" 1>&6
-echo "configure:1597: checking for vprintf" >&5
+echo "configure:1602: 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 <<EOF
-#line 1602 "configure"
+#line 1607 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vprintf(); below. */
@@ -1621,7 +1626,7 @@ vprintf();
; return 0; }
EOF
-if { (eval echo configure:1625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_vprintf=yes"
else
@@ -1645,12 +1650,12 @@ fi
if test "$ac_cv_func_vprintf" != yes; then
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
-echo "configure:1649: checking for _doprnt" >&5
+echo "configure:1654: 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 <<EOF
-#line 1654 "configure"
+#line 1659 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _doprnt(); below. */
@@ -1673,7 +1678,7 @@ _doprnt();
; return 0; }
EOF
-if { (eval echo configure:1677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func__doprnt=yes"
else