Changeset 5126:ac7355452a60

Show
Ignore:
Timestamp:
2007-04-11 14:19:34 (21 months ago)
Author:
Paul Eggert <eggert@…>
Children:
5127:eb5db1cd5251, 5137:0c47f7b06158
Branch:
HEAD
Message:

Make mutt more posixly-correct (closes #1615).

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r5124 r5126  
    1 2007-04-11 12:53 -0700  Brendan Cully  <brendan@kublai.com>  (cdac16f99c5f) 
     12007-04-11 14:06 -0700  Brendan Cully  <brendan@kublai.com>  (5393c104e08a) 
     2 
     3        * mkchangelog.sh: Remove un-POSIX TZ NOOP in mkchangelog.sh (see 
     4        #1615) 
     5 
     6        * account.c, globals.h, init.h: Add $smtp_pass (closes #2116) 
    27 
    38        * doc/Makefile.am: Explicit -j1 breaks some versions of make (see 
  • configure.ac

    r5096 r5126  
    665665AC_ARG_WITH([gnutls], AC_HELP_STRING([--with-gnutls[=PFX]], [Compile in SSL support for POP/IMAP/SMTP using gnutls]), 
    666666    [gnutls_prefix="$withval"], [gnutls_prefix="no"]) 
    667 if test "$gnutls_prefix" != "no" -a x"$need_ssl" != xyes 
     667if test "$gnutls_prefix" != "no" && test x"$need_ssl" != xyes 
    668668then 
    669669  if test "$need_socket" != "yes" 
     
    770770mutt_cv_inodesort=no 
    771771AC_ARG_ENABLE(inodesort,  AC_HELP_STRING([--enable-inodesort], [Read files in maildir folders sorted by inode]), 
    772        [if test x$enableval = xyes -a x$ac_cv_dirent_d_ino = xyes ; then mutt_cv_inodesort=yes; fi]) 
     772       [if test x$enableval = xyes && test x$ac_cv_dirent_d_ino = xyes ; then mutt_cv_inodesort=yes; fi]) 
    773773 
    774774if test $mutt_cv_inodesort = yes; then 
     
    782782fi]) 
    783783 
    784 if test x$GCC = xyes -a $mutt_cv_warnings = yes; then 
     784if test x$GCC = xyes && test $mutt_cv_warnings = yes; then 
    785785        CFLAGS="-Wall -pedantic $CFLAGS" 
    786786fi 
     
    836836    if test "$with_qdbm" != "no" 
    837837    then 
    838       if test -n "$with_qdbm" -a "$with_qdbm" != "yes" 
     838      if test -n "$with_qdbm" && test "$with_qdbm" != "yes" 
    839839      then 
    840840        if test -d $with_qdbm/include/qdbm; then 
     
    854854      AC_CHECK_LIB(qdbm, vlopen, [MUTTLIBS="$MUTTLIBS -lqdbm"; use_qdbm=yes]) 
    855855      LIBS="$saved_LIBS" 
    856       if test -n "$with_qdbm" -a "$use_qdbm" != yes 
     856      if test -n "$with_qdbm" && test "$use_qdbm" != yes 
    857857      then 
    858858        AC_MSG_ERROR([QDBM could not be used. Check config.log for details.]) 
     
    861861 
    862862    AC_ARG_WITH(gdbm, AC_HELP_STRING([--without-gdbm], [Don't use gdbm even if it is available])) 
    863     if test x$with_gdbm != xno -a $use_qdbm != yes; then 
     863    if test x$with_gdbm != xno && test $use_qdbm != yes; then 
    864864        if test "$with_gdbm" != "yes" 
    865865        then 
     
    878878    AC_ARG_WITH(bdb, AC_HELP_STRING([--with-bdb[=DIR]], [Use BerkeleyDB4 if gdbm is not available]), 
    879879        ac_bdb_prefix=$withval) 
    880     if test x$ac_bdb_prefix != xno -a x$ac_cv_gdbmopen != xyes -a $use_qdbm != yes; then 
     880    if test x$ac_bdb_prefix != xno && test x$ac_cv_gdbmopen != xyes && test $use_qdbm != yes; then 
    881881        test x$ac_bdb_prefix = xyes && ac_bdb_prefix="$mutt_cv_prefix /opt/csw/bdb4 /opt /usr/local /usr" 
    882882        for d in $ac_bdb_prefix; do 
     
    11111111        wc_funcs=$withval) 
    11121112 
    1113 if test "$wc_funcs" != yes -a "$wc_funcs" != no; then 
     1113if test "$wc_funcs" != yes && test "$wc_funcs" != no; then 
    11141114        AC_CACHE_CHECK([for wchar_t functions], mutt_cv_wc_funcs, 
    11151115                mutt_cv_wc_funcs=no 
  • muttbug.sh.in

    r5051 r5126  
    4242        echo 
    4343        echo "--- Begin $1" 
    44         sed -e 's/^-/- -/' $1 | egrep -v '^[    ]*(#|$)' 
     44        sed -e '/^[      ]*#/d; /^[      ]*$/d; s/^-/- -/' $1 
    4545        echo "--- End $1" 
    4646        echo