X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=configure.in;h=76e920f2d76c44fc43c9c7ec02d3702d60a829ff;hb=c4dffde1321c04eddde696b28c05c4c68d85a617;hp=c264d6eceba8bb801b170fdcf5d9e6116c66dd14;hpb=a70d216f2b3319bb3e0a774c06a2bf624cb6e119;p=mmh diff --git a/configure.in b/configure.in index c264d6e..76e920f 100644 --- a/configure.in +++ b/configure.in @@ -14,11 +14,13 @@ dnl define a macro or two dnl --------------------- AC_DEFUN(NMH_PROG_GNU_LIBTOOL, [ +if test -n "$LIBTOOL" ; then tmptest=`$LIBTOOL --version 2>&1 | grep GNU` if test x"$tmptest" != x ; then GNU_LIBTOOL=1 AC_SUBST(GNU_LIBTOOL)dnl fi +fi ] ) @@ -50,17 +52,6 @@ if test x"$enable_nmh_debug" = x"yes"; then enable_debug=yes fi -dnl Set the backup prefix -undefine([backup-prefix])dnl -AC_ARG_WITH([hash-backup], - [ --with-hash-backup use # as the backup prefix (default: ,)]) -if test x"$with_hash_backup" != x -a x"$with_hash_backup" != x"no"; then - backup_prefix="#" -else - backup_prefix="," -fi -AC_DEFINE_UNQUOTED(BACKUP_PREFIX, "$backup_prefix")dnl - dnl Allow users to send email from addresses other than their default? undefine([masquerade])dnl AC_ARG_ENABLE(masquerade, @@ -93,6 +84,17 @@ if test x"$enable_nmh_pop" = x"yes"; then enable_pop=yes fi +dnl Set the backup prefix +undefine([backup-prefix])dnl +AC_ARG_WITH([hash-backup], + [ --with-hash-backup use # as the backup prefix (default: ,)]) +if test x"$with_hash_backup" != x -a x"$with_hash_backup" != x"no"; then + backup_prefix="#" +else + backup_prefix="," +fi +AC_DEFINE_UNQUOTED(BACKUP_PREFIX, "$backup_prefix")dnl + dnl Do you want support for hesiod AC_ARG_WITH(hesiod, [ --with-hesiod=PREFIX specify location of Hesiod])