From a70d216f2b3319bb3e0a774c06a2bf624cb6e119 Mon Sep 17 00:00:00 2001 From: Kimmo Suominen Date: Sun, 16 Jul 2000 03:36:42 +0000 Subject: [PATCH] Changed "--with-backup-prefix" to "--with-hash-backup" because # is too difficult for config.status to get right. --- ChangeLog | 3 ++- configure | 14 +++++++------- configure.in | 10 +++++----- stamp-h.in | 2 +- 4 files changed, 15 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6a63ff9..5367317 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ Sat Jul 15 23:13:49 EDT 2000 Kimmo Suominen - * Add configure option --with-backup-prefix so it can be set easily. + * Add configure option --with-hash-backup so the backup prefix can + be easily changed from "," to "#". Tue Jul 11 14:18:01 2000 Dan Harkless diff --git a/configure b/configure index 50b6ac5..4421c63 100755 --- a/configure +++ b/configure @@ -16,7 +16,7 @@ ac_help="$ac_help ac_help="$ac_help --enable-debug enable nmh code debugging" ac_help="$ac_help - --with-backup-prefix=, set the backup prefix [,]" + --with-hash-backup use # as the backup prefix (default: ,)" ac_help="$ac_help --enable-masquerade[='draft_from mmailid username_extension'] enable up to 3 types of address masquerading [none]" @@ -693,14 +693,14 @@ if test x"$enable_nmh_debug" = x"yes"; then enable_debug=yes fi -# Check whether --with-backup-prefix or --without-backup-prefix was given. -if test "${with_backup_prefix+set}" = set; then - withval="$with_backup_prefix" +# Check whether --with-hash-backup or --without-hash-backup was given. +if test "${with_hash_backup+set}" = set; then + withval="$with_hash_backup" : fi -if test x"$with_backup_prefix" != x -a x"$with_backup_prefix" != x"no"; then - backup_prefix="$with_backup_prefix" +if test x"$with_hash_backup" != x -a x"$with_hash_backup" != x"no"; then + backup_prefix="#" else backup_prefix="," fi @@ -5118,8 +5118,8 @@ binary install path : ${nmhbin2} libary install path : ${nmhlib2} config files install path : ${nmhsysconf2} man page install path : ${nmhman} -transport system : ${MTS} backup prefix : ${backup_prefix} +transport system : ${MTS} default smtp servers : ${smtpservers} default editor : ${editorpath} default pager : ${pagerpath} diff --git a/configure.in b/configure.in index 69728f8..c264d6e 100644 --- a/configure.in +++ b/configure.in @@ -52,10 +52,10 @@ fi dnl Set the backup prefix undefine([backup-prefix])dnl -AC_ARG_WITH([backup-prefix], - [ --with-backup-prefix=, set the backup prefix [,]]) -if test x"$with_backup_prefix" != x -a x"$with_backup_prefix" != x"no"; then - backup_prefix="$with_backup_prefix" +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 @@ -817,8 +817,8 @@ binary install path : ${nmhbin2} libary install path : ${nmhlib2} config files install path : ${nmhsysconf2} man page install path : ${nmhman} -transport system : ${MTS} backup prefix : ${backup_prefix} +transport system : ${MTS} default smtp servers : ${smtpservers} default editor : ${editorpath} default pager : ${pagerpath} diff --git a/stamp-h.in b/stamp-h.in index b6fbbb6..3fed572 100644 --- a/stamp-h.in +++ b/stamp-h.in @@ -1 +1 @@ -Thu Jul 13 14:25:10 PDT 2000 +Sat Jul 15 23:15:51 EDT 2000 -- 1.7.10.4