X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=configure;h=53a353a92538e023e6390cc0db4cf02e3d0f277d;hb=522138c8d86c20435f045eaee0944a9b008b1c5a;hp=7666c289b5a95fef348cee34128ef0277345801c;hpb=173c34078c1d520926a8dabeeec01d58d6c8615f;p=mmh diff --git a/configure b/configure index 7666c28..53a353a 100755 --- a/configure +++ b/configure @@ -1063,7 +1063,7 @@ if test -n "$auto_cflags"; then else test -z "$LDFLAGS" && LDFLAGS=-s if test -n "$GCC"; then - test -z "$CFLAGS" && CFLAGS=-O2 || CFLAGS="$CFLAGS -O2" + test -z "$CFLAGS" && CFLAGS="-Wall -O2" || CFLAGS="$CFLAGS -Wall -O2" else test -z "$CFLAGS" && CFLAGS=-O || CFLAGS="$CFLAGS -O" fi @@ -1082,7 +1082,7 @@ else int main() { /* Ultrix mips cc rejects this. */ -typedef int charset[2]; const charset x; +typedef int charset[2]; const charset x = {0,0}; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; @@ -2725,7 +2725,7 @@ fi for ac_func in waitpid wait3 sigaction sigprocmask sigblock sigsetmask \ sighold sigrelse writev lstat uname tzset killpg mkstemp \ - sethostent + sethostent getutent do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:2732: checking for $ac_func" >&5 @@ -4470,9 +4470,9 @@ ac_given_INSTALL="$INSTALL" trap 'rm -fr `echo "Makefile config/Makefile h/Makefile sbr/Makefile uip/Makefile \ zotnet/Makefile zotnet/mts/Makefile zotnet/tws/Makefile \ - zotnet/mf/Makefile zotnet/bboards/Makefile mts/Makefile \ - mts/smtp/Makefile mts/sendmail/Makefile mts/mmdf/Makefile \ - etc/Makefile docs/Makefile man/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 + mts/Makefile mts/smtp/Makefile \ + mts/sendmail/Makefile mts/mmdf/Makefile etc/Makefile \ + docs/Makefile man/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then @@ -4788,20 +4788,19 @@ eval "nmhsysconf=${sysconfdir}"; eval "nmhsysconf2=${nmhsysconf}" eval "nmhlib=${libdir}"; eval "nmhlib2=${nmhlib}" eval "nmhman=${mandir}" -pop_kinds="no" +pop_kinds=no if test x"$enable_pop" = x"yes"; then - pop_kinds="yes (pop" - if test x"$enable_apop" = x"yes"; then - pop_kinds="${pop_kinds} apop" - fi - if test x"$with_krb4" != x -a x"$with_krb4" != x"no"; then - pop_kinds="${pop_kinds} kpop" - fi - if test "$pop_kinds" = "yes (pop"; then - pop_kinds="yes" - else - pop_kinds="${pop_kinds})" - fi + pop_kinds="yes (" + + if test x"$enable_apop" = x"yes"; then + pop_kinds="${pop_kinds}APOP " + fi + + if test x"$with_krb4" != x -a x"$with_krb4" != x"no"; then + pop_kinds="${pop_kinds}KPOP " + fi + + pop_kinds="${pop_kinds}POP3)" fi echo "