diff options
| author | bwarsaw | 1999-01-15 04:22:16 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-01-15 04:22:16 +0000 |
| commit | afdc7fa4d45d65a1d6192405cae3826d80db4f72 (patch) | |
| tree | 720565f5154391d8123a9ce1eb047d3076f56ce2 | |
| parent | 6db5b8e16dd193fbed573cb344da0a84b1bbe19f (diff) | |
| download | mailman-afdc7fa4d45d65a1d6192405cae3826d80db4f72.tar.gz mailman-afdc7fa4d45d65a1d6192405cae3826d80db4f72.tar.zst mailman-afdc7fa4d45d65a1d6192405cae3826d80db4f72.zip | |
VERSION is no longer set in configure because it's too hard to
propagate version string changes to the public (you have to
autoreconf, then reconfigure and reinstall).
Now, VERSION is set directory in Defaults.py.in and the Release.py
script updates that file directly. Now we just need to run
./config.status and do a re-install. I hope this will make things
easier.
I'm also bumping the version to 1.0b8, so I can do a release tomorrow.
| -rw-r--r-- | Mailman/Archiver/Makefile.in | 2 | ||||
| -rw-r--r-- | Mailman/Cgi/Makefile.in | 2 | ||||
| -rw-r--r-- | Mailman/Defaults.py.in | 13 | ||||
| -rw-r--r-- | Mailman/Logging/Makefile.in | 2 | ||||
| -rw-r--r-- | Mailman/pythonlib/Makefile.in | 2 | ||||
| -rw-r--r-- | Makefile.in | 1 | ||||
| -rwxr-xr-x | admin/bin/Release.py | 22 | ||||
| -rw-r--r-- | admin/www/index.html | 4 | ||||
| -rw-r--r-- | admin/www/todo.html | 13 | ||||
| -rw-r--r-- | bin/Makefile.in | 2 | ||||
| -rwxr-xr-x | configure | 260 | ||||
| -rw-r--r-- | configure.in | 7 | ||||
| -rw-r--r-- | cron/Makefile.in | 2 | ||||
| -rw-r--r-- | filters/Makefile.in | 2 | ||||
| -rw-r--r-- | mail/Makefile.in | 2 | ||||
| -rw-r--r-- | misc/Makefile.in | 2 | ||||
| -rw-r--r-- | scripts/Makefile.in | 2 | ||||
| -rw-r--r-- | src/Makefile.in | 2 | ||||
| -rw-r--r-- | templates/Makefile.in | 2 |
19 files changed, 197 insertions, 147 deletions
diff --git a/Mailman/Archiver/Makefile.in b/Mailman/Archiver/Makefile.in index 214700d94..7bf39fd68 100644 --- a/Mailman/Archiver/Makefile.in +++ b/Mailman/Archiver/Makefile.in @@ -20,8 +20,6 @@ # Variables set by configure -VERSION= @VERSION@ - VPATH= @srcdir@ srcdir= @srcdir@ bindir= @bindir@ diff --git a/Mailman/Cgi/Makefile.in b/Mailman/Cgi/Makefile.in index 16c18cb98..290d57719 100644 --- a/Mailman/Cgi/Makefile.in +++ b/Mailman/Cgi/Makefile.in @@ -20,8 +20,6 @@ # Variables set by configure -VERSION= @VERSION@ - VPATH= @srcdir@ srcdir= @srcdir@ bindir= @bindir@ diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index 518e0dfca..4d0d22b9d 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -278,18 +278,7 @@ PUBLIC_ARCHIVE_FILE_DIR = os.path.join(PREFIX, 'archives/public') PRIVATE_ARCHIVE_FILE_DIR = os.path.join(PREFIX, 'archives/private') # The Mailman version, also set by configure -VERSION = '@VERSION@' +VERSION = "1.0b8" # Data file version number DATA_FILE_VERSION = 13 - - - - - - - - - - - diff --git a/Mailman/Logging/Makefile.in b/Mailman/Logging/Makefile.in index 80a2859c9..39d3ddf6b 100644 --- a/Mailman/Logging/Makefile.in +++ b/Mailman/Logging/Makefile.in @@ -20,8 +20,6 @@ # Variables set by configure -VERSION= @VERSION@ - VPATH= @srcdir@ srcdir= @srcdir@ bindir= @bindir@ diff --git a/Mailman/pythonlib/Makefile.in b/Mailman/pythonlib/Makefile.in index 15bcf63b5..ccf178991 100644 --- a/Mailman/pythonlib/Makefile.in +++ b/Mailman/pythonlib/Makefile.in @@ -20,8 +20,6 @@ # Variables set by configure -VERSION= @VERSION@ - VPATH= @srcdir@ srcdir= @srcdir@ bindir= @bindir@ diff --git a/Makefile.in b/Makefile.in index a2fdafd45..e528849f4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -21,7 +21,6 @@ # Variables set by configure SHELL= /bin/sh -VERSION= @VERSION@ VPATH= @srcdir@ srcdir= @srcdir@ diff --git a/admin/bin/Release.py b/admin/bin/Release.py index 1ffa9a106..19974e515 100755 --- a/admin/bin/Release.py +++ b/admin/bin/Release.py @@ -36,6 +36,7 @@ Where: import sys import os import string +import re import time import tempfile import getopt @@ -117,23 +118,26 @@ def do_bump(newvers): fp.write(text) fp.close() # hack the configure.in file - print 'configure.in...', - fp_in = open('configure.in') - fp_out = open('configure.in.new', 'w') + print 'Defaults.py.in...', + fp_in = open('Mailman/Defaults.py.in') + fp_out = open('Mailman/Defaults.py.in.new', 'w') matched = 0 + cre = re.compile(r'^VERSION(?P<ws>[ \t]*)=') while 1: line = fp_in.readline() if not line: + if not matched: + print 'Error! VERSION line not found' break - if not matched and line[:8] == 'VERSION=': - fp_out.write('VERSION=' + newvers + '\n') - matched = 1 - else: + mo = cre.search(line) + if matched or not mo: fp_out.write(line) + else: + fp_out.write('VERSION%s= "%s"\n' % (mo.group('ws'), newvers)) + matched = 1 fp_in.close() fp_out.close() - os.rename('configure.in.new', 'configure.in') - os.system('autoreconf') + os.rename('Mailman/Defaults.py.in.new', 'Mailman/Defaults.py.in') # update the TODO file print 'TODO...' os.system('admin/bin/mm2do') diff --git a/admin/www/index.html b/admin/www/index.html index 3b77606eb..fd75d2473 100644 --- a/admin/www/index.html +++ b/admin/www/index.html @@ -52,8 +52,8 @@ Before you can run Mailman, you need to download and install the <p>The first GNU release is not out yet. For now, you can get the last pre-GNU beta release -(<!-VERSION--->1.0b7<!-VERSION--->, -released <!-DATE--->Dec 31 1998<!-DATE--->) +(<!-VERSION--->1.0b8<!-VERSION--->, +released <!-DATE--->Jan 14 1999<!-DATE--->) <A HREF="ftp://list.org/pub/mailman/">here</a>. </td> </tr> diff --git a/admin/www/todo.html b/admin/www/todo.html index 124cbe4f4..97b7c8674 100644 --- a/admin/www/todo.html +++ b/admin/www/todo.html @@ -47,19 +47,23 @@ <LI> A web UI to the -urgent address.</LI> <LI> Better options for the policy on bundling digests (periodic w/ arbitrary periods, size based, a combo of the two, etc).</LI> <LI> A button that will bundle a digest right now (tm).</LI> +<LI> Ability to set the next digest volume and issue number from the Web</LI> <LI> A generic error template page.</LI> <LI> An option for setting the precedence header.</LI> <LI> Make the MM-tags accept useful options where appropriate.</LI> <LI> Revamp the admindb user interface, it's fairly clunky (include a decent cataloging mechanism based on the file system).</LI> <LI> Be able to edit ALL the web pages, as well as the mail messages.</LI> -<LI> Use templates from the templates dir until the list owner changes the page, so the site admin can change them...</LI> +<LI> Use templates from the templates dir until the list owner changes the page, so the site admin can change them...</LI> +<LI> All the list-admin to require approvals for unsubs</LI> +<LI> Allow the admin to disable option settings by users</LI> </UL> <A NAME=c5><H3>List Member UI</H3> <UL> <LI> Editing your user options should put you back to the edit-options page. </LI> <LI> Allow the user to be excluded from postings if they're getting them in the to: or cc: headers.</LI> -<LI> An option to change your email address.</LI> +<LI> An option to change your email address. Or what might be easier: allow a user to clone the options of an existing user into a new address.</LI> <LI> Allow users to specify a different address for password reminders (w/ confirmation), or come up w/ a better strategy for remailing lists (could be done as the default, given a generic filter mechanism).</LI> +<LI> Allow the user to get BOTH normal and digested delivery (but I still don't understand why someone would want this)</LI> </UL> <A NAME=c6><H3>Site Administrator's UI</H3> <UL> @@ -76,6 +80,7 @@ <A NAME=c8><H3>Mailcmd interface</H3> <UL> <LI> Provide an email interface to administrative commands.</LI> +<LI> Allow email unsubs from matching address to unsubscribe, possibly adding an "allow open unsubscribes" option to control this. Also, adding a confirmation with hit-reply to resubscribe.</LI> </UL> <A NAME=c9><H3>Portability concerns</H3> <UL> @@ -96,6 +101,8 @@ <LI> Provide downloadable tar.gz's of the html archives</LI> <LI> sort by date should go most-recent to oldest</LI> <LI> allow list owner to edit archive messages</LI> +<LI> support for alternative archiving systems, e.g. MHonArc, Hypermail</LI> +<LI> archive link should do *something* reasonable before the first message has been posted to the list.</LI> </UL> <A NAME=c12><H3>Code cleanup</H3> <UL> @@ -114,6 +121,6 @@ <LI> The threaded server should be able to off its workload to friendly machines if it is overworked (distributed support).</LI> <LI> Refine locking to lock only necessary sections to get rid of superfluous contention.</LI> <LI> Implement member profiles, using a class to store name, organization, description, etc, and default option settings. The lists still can have their own data, but the user can set defaults in their profile...</LI> -<LI> Need to go through and verify there are no obvious security problems.</LI> +<LI> Need to go through and verify there are no obvious security problems. Local Variables: mode: indented-text indent-tabs-mode: nil End:</LI> </UL> </BODY></HTML> diff --git a/bin/Makefile.in b/bin/Makefile.in index 88d508a95..0a4034e67 100644 --- a/bin/Makefile.in +++ b/bin/Makefile.in @@ -20,8 +20,6 @@ # Variables set by configure -VERSION= @VERSION@ - VPATH= @srcdir@ srcdir= @srcdir@ bindir= @bindir@ @@ -1,9 +1,9 @@ #! /bin/sh -# From configure.in Revision: 1.27 +# From configure.in Revision: 1.28 # 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 @@ -63,6 +63,7 @@ mandir='${prefix}/man' # 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 @@ -346,7 +347,7 @@ EOF 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-*) @@ -516,9 +517,11 @@ 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 +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 @@ -534,18 +537,13 @@ fi -# Set VERSION so we only need to edit it in one place - -VERSION=1.0b7+ - - # /home/mailman is the default installation directory # Check for Python! Better be found on $PATH echo $ac_n "checking for --with-python""... $ac_c" 1>&6 -echo "configure:549: checking for --with-python" >&5 +echo "configure:547: checking for --with-python" >&5 # Check whether --with-python or --without-python was given. if test "${with_python+set}" = set; then withval="$with_python" @@ -559,7 +557,7 @@ then # Extract the first word of "python", so it can be a program name with args. set dummy python; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:563: checking for $ac_word" >&5 +echo "configure:561: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_with_python'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -567,9 +565,13 @@ else /*) ac_cv_path_with_python="$with_python" # Let the user override the test with a path. ;; + ?:/*) + ac_cv_path_with_python="$with_python" # Let the user override the test with a dos path. + ;; *) - 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_path_with_python="$ac_dir/$ac_word" @@ -591,7 +593,7 @@ fi fi echo $ac_n "checking Python interpreter""... $ac_c" 1>&6 -echo "configure:595: checking Python interpreter" >&5 +echo "configure:597: checking Python interpreter" >&5 if test ! -x $with_python then { echo "configure: error: @@ -631,28 +633,30 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:639: checking for a BSD compatible install" >&5 +echo "configure:642: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" + IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" for ac_dir in $PATH; do # Account for people who put trailing slashes in PATH elements. case "$ac_dir/" in /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. - for ac_prog in ginstall installbsd scoinst install; do + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do if test -f $ac_dir/$ac_prog; then if test $ac_prog = install && grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. - # OSF/1 installbsd also uses dspmsg, but is usable. : else ac_cv_path_install="$ac_dir/$ac_prog -c" @@ -682,10 +686,12 @@ echo "$ac_t""$INSTALL" 1>&6 # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' + test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:689: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:695: 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 @@ -714,7 +720,7 @@ fi # Find compiler, allow alternatives to gcc echo $ac_n "checking for --without-gcc""... $ac_c" 1>&6 -echo "configure:718: checking for --without-gcc" >&5 +echo "configure:724: checking for --without-gcc" >&5 # Check whether --with-gcc or --without-gcc was given. if test "${with_gcc+set}" = set; then withval="$with_gcc" @@ -743,15 +749,16 @@ fi # 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:747: checking for $ac_word" >&5 +echo "configure:753: 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" @@ -772,16 +779,17 @@ if test -z "$CC"; then # 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:776: checking for $ac_word" >&5 +echo "configure:783: 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 @@ -816,25 +824,61 @@ else 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:834: 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:824: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:866: 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 <<EOF -#line 834 "configure" +cat > conftest.$ac_ext << EOF + +#line 877 "configure" #include "confdefs.h" + main(){return(0);} EOF -if { (eval echo configure:838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:882: \"$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 @@ -848,18 +892,24 @@ else 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:858: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:908: 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:863: checking whether we are using GNU C" >&5 +echo "configure:913: 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 @@ -868,7 +918,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:872: \"$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:922: \"$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 @@ -879,11 +929,15 @@ echo "$ac_t""$ac_cv_prog_gcc" 1>&6 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:887: 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:941: 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 @@ -898,16 +952,20 @@ rm -f conftest* 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 @@ -931,7 +989,7 @@ fi # Pull the hash mark out of the macro call to avoid m4 problems. ac_msg="whether #! works in shell scripts" echo $ac_n "checking $ac_msg""... $ac_c" 1>&6 -echo "configure:935: checking $ac_msg" >&5 +echo "configure:993: checking $ac_msg" >&5 if eval "test \"`echo '$''{'ac_cv_sys_interpreter'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -949,6 +1007,7 @@ rm -f conftest fi echo "$ac_t""$ac_cv_sys_interpreter" 1>&6 +interpval="$ac_cv_sys_interpreter" if test "$ac_cv_sys_interpreter" != "yes" then @@ -968,7 +1027,7 @@ fi # User `mailman' must exist echo $ac_n "checking for mailman UID""... $ac_c" 1>&6 -echo "configure:972: checking for mailman UID" >&5 +echo "configure:1031: checking for mailman UID" >&5 # MAILMAN_UID == variable name # mailman == user id to check for @@ -1011,7 +1070,7 @@ fi # Group `mailman' must exist echo $ac_n "checking for mailman GID""... $ac_c" 1>&6 -echo "configure:1015: checking for mailman GID" >&5 +echo "configure:1074: checking for mailman GID" >&5 # MAILMAN_GID == variable name # mailman == user id to check for @@ -1063,7 +1122,7 @@ else fi echo $ac_n "checking permissions on $prefixcheck""... $ac_c" 1>&6 -echo "configure:1067: checking permissions on $prefixcheck" >&5 +echo "configure:1126: checking permissions on $prefixcheck" >&5 cat > conftest.py <<EOF import os, grp, string @@ -1109,7 +1168,7 @@ 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 mail wrapper GID""... $ac_c" 1>&6 -echo "configure:1113: checking for mail wrapper GID" >&5 +echo "configure:1172: 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" @@ -1170,7 +1229,7 @@ fi echo $ac_n "checking for CGI wrapper GID""... $ac_c" 1>&6 -echo "configure:1174: checking for CGI wrapper GID" >&5 +echo "configure:1233: 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" @@ -1265,14 +1324,14 @@ EOF $PYTHON conftest.py echo $ac_n "checking for default fully qualified host name""... $ac_c" 1>&6 -echo "configure:1269: checking for default fully qualified host name" >&5 +echo "configure:1328: 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:1276: checking for default URL host component" >&5 +echo "configure:1335: checking for default URL host component" >&5 if test -z "$URL" then URL=`tail -1 conftest.out` @@ -1284,12 +1343,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:1288: checking for $ac_func" >&5 +echo "configure:1347: 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 1293 "configure" +#line 1352 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -1312,7 +1371,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:1316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1375: \"$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 @@ -1339,7 +1398,7 @@ done # Checks for header files. echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1343: checking how to run the C preprocessor" >&5 +echo "configure:1402: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -1354,14 +1413,14 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext <<EOF -#line 1358 "configure" +#line 1417 "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:1364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:1423: \"$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 @@ -1371,14 +1430,31 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext <<EOF -#line 1375 "configure" +#line 1434 "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:1440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +if test -z "$ac_err"; then + : +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + CPP="${CC-cc} -nologo -E" + cat > conftest.$ac_ext <<EOF +#line 1451 "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:1381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:1457: \"$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 @@ -1391,6 +1467,8 @@ fi rm -f conftest* fi rm -f conftest* +fi +rm -f conftest* ac_cv_prog_CPP="$CPP" fi CPP="$ac_cv_prog_CPP" @@ -1400,12 +1478,12 @@ fi echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:1404: checking for ANSI C header files" >&5 +echo "configure:1482: 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 1409 "configure" +#line 1487 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> @@ -1413,8 +1491,8 @@ else #include <float.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:1495: \"$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 @@ -1430,7 +1508,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 1434 "configure" +#line 1512 "configure" #include "confdefs.h" #include <string.h> EOF @@ -1448,7 +1526,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 1452 "configure" +#line 1530 "configure" #include "confdefs.h" #include <stdlib.h> EOF @@ -1469,7 +1547,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext <<EOF -#line 1473 "configure" +#line 1551 "configure" #include "confdefs.h" #include <ctype.h> #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -1480,7 +1558,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:1484: \"$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${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -1507,18 +1585,18 @@ 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:1511: checking for $ac_hdr" >&5 +echo "configure:1589: 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 1516 "configure" +#line 1594 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` +{ (eval echo configure:1599: \"$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" @@ -1546,12 +1624,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:1550: checking for uid_t in sys/types.h" >&5 +echo "configure:1628: 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 1555 "configure" +#line 1633 "configure" #include "confdefs.h" #include <sys/types.h> EOF @@ -1580,7 +1658,7 @@ EOF fi echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6 -echo "configure:1584: checking type of array argument to getgroups" >&5 +echo "configure:1662: 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 @@ -1588,7 +1666,7 @@ else ac_cv_type_getgroups=cross else cat > conftest.$ac_ext <<EOF -#line 1592 "configure" +#line 1670 "configure" #include "confdefs.h" /* Thanks to Mike Rendell for this test. */ @@ -1613,7 +1691,7 @@ main() } EOF -if { (eval echo configure:1617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_type_getgroups=gid_t else @@ -1627,7 +1705,7 @@ fi if test $ac_cv_type_getgroups = cross; then cat > conftest.$ac_ext <<EOF -#line 1631 "configure" +#line 1709 "configure" #include "confdefs.h" #include <unistd.h> EOF @@ -1653,12 +1731,12 @@ EOF # Checks for library functions. echo $ac_n "checking for vprintf""... $ac_c" 1>&6 -echo "configure:1657: checking for vprintf" >&5 +echo "configure:1735: 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 1662 "configure" +#line 1740 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char vprintf(); below. */ @@ -1681,7 +1759,7 @@ vprintf(); ; return 0; } EOF -if { (eval echo configure:1685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1763: \"$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 @@ -1705,12 +1783,12 @@ fi if test "$ac_cv_func_vprintf" != yes; then echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 -echo "configure:1709: checking for _doprnt" >&5 +echo "configure:1787: 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 1714 "configure" +#line 1792 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _doprnt(); below. */ @@ -1733,7 +1811,7 @@ _doprnt(); ; return 0; } EOF -if { (eval echo configure:1737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1815: \"$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 @@ -1781,7 +1859,7 @@ EOF # 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 \). @@ -1860,7 +1938,7 @@ do 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 ;; @@ -1886,9 +1964,11 @@ sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 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 @@ -1907,10 +1987,10 @@ s%@includedir@%$includedir%g s%@oldincludedir@%$oldincludedir%g s%@infodir@%$infodir%g s%@mandir@%$mandir%g -s%@VERSION@%$VERSION%g s%@with_python@%$with_python%g s%@PYTHON@%$PYTHON%g s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g +s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g s%@INSTALL_DATA@%$INSTALL_DATA%g s%@SET_MAKE@%$SET_MAKE%g s%@CC@%$CC%g diff --git a/configure.in b/configure.in index 4c7236238..3c64d1fae 100644 --- a/configure.in +++ b/configure.in @@ -15,16 +15,11 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl Process this file with autoconf to produce a configure script. -AC_REVISION($Revision: 1360 $) +AC_REVISION($Revision: 1418 $) AC_PREREQ(2.0) AC_INIT(src/alias-wrapper.c) -# Set VERSION so we only need to edit it in one place -AC_SUBST(VERSION) -VERSION=1.0b7+ - - # /home/mailman is the default installation directory AC_PREFIX_DEFAULT(/home/mailman) diff --git a/cron/Makefile.in b/cron/Makefile.in index cb2a9a050..967cb1d6d 100644 --- a/cron/Makefile.in +++ b/cron/Makefile.in @@ -20,8 +20,6 @@ # Variables set by configure -VERSION= @VERSION@ - VPATH= @srcdir@ srcdir= @srcdir@ bindir= @bindir@ diff --git a/filters/Makefile.in b/filters/Makefile.in index 563ebe358..7548612eb 100644 --- a/filters/Makefile.in +++ b/filters/Makefile.in @@ -20,8 +20,6 @@ # Variables set by configure -VERSION= @VERSION@ - VPATH= @srcdir@ srcdir= @srcdir@ bindir= @bindir@ diff --git a/mail/Makefile.in b/mail/Makefile.in index 52f23f3e1..f5de61da3 100644 --- a/mail/Makefile.in +++ b/mail/Makefile.in @@ -20,8 +20,6 @@ # Variables set by configure -VERSION= @VERSION@ - VPATH= @srcdir@ srcdir= @srcdir@ bindir= @bindir@ diff --git a/misc/Makefile.in b/misc/Makefile.in index 1efb11e45..6b1b91a23 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -20,8 +20,6 @@ # Variables set by configure -VERSION= @VERSION@ - VPATH= @srcdir@ srcdir= @srcdir@ bindir= @bindir@ diff --git a/scripts/Makefile.in b/scripts/Makefile.in index 91b833435..ccc28f918 100644 --- a/scripts/Makefile.in +++ b/scripts/Makefile.in @@ -20,8 +20,6 @@ # Variables set by configure -VERSION= @VERSION@ - VPATH= @srcdir@ srcdir= @srcdir@ bindir= @bindir@ diff --git a/src/Makefile.in b/src/Makefile.in index c6af9cafa..0489c1c9b 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -20,8 +20,6 @@ # Variables set by configure -VERSION= @VERSION@ - prefix= @prefix@ exec_prefix= @exec_prefix@ VPATH= @srcdir@ diff --git a/templates/Makefile.in b/templates/Makefile.in index 31c7545b5..6d5a26ce8 100644 --- a/templates/Makefile.in +++ b/templates/Makefile.in @@ -20,8 +20,6 @@ # Variables set by configure -VERSION= @VERSION@ - VPATH= @srcdir@ srcdir= @srcdir@ bindir= @bindir@ |
