diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-11-30 21:44:12 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-11-30 21:44:12 +0000 |
| commit | 7ac9d45f49caaddc56d1aeb5038fddfb53ce86ac (patch) | |
| tree | 026183398457a259a0a494508a170e3893248b98 /config | |
| parent | cd99debb3d0ff7c4ad7dd7f4b073d1631dd47908 (diff) | |
| download | postgresql-7ac9d45f49caaddc56d1aeb5038fddfb53ce86ac.tar.gz | |
Improve portability of 'tr' invocation in PGAC_ARG_CHECK. Reported by
Olivier Prenant, fixed by Peter.
Diffstat (limited to 'config')
| -rw-r--r-- | config/general.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/general.m4 b/config/general.m4 index 45edfc4c0e..efa90a6f86 100644 --- a/config/general.m4 +++ b/config/general.m4 @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/config/general.m4,v 1.7 2006/10/30 22:15:04 petere Exp $ +# $PostgreSQL: pgsql/config/general.m4,v 1.8 2006/11/30 21:44:12 tgl Exp $ # This file defines new macros to process configure command line # arguments, to replace the brain-dead AC_ARG_WITH and AC_ARG_ENABLE. @@ -82,7 +82,7 @@ AC_DEFUN([PGAC_ARG_CHECK], continue 2 fi done - pgac_txt=`echo $pgac_var | tr '_' '-'` + pgac_txt=`echo $pgac_var | tr 'a_b' 'a-b'` AC_MSG_WARN([option ignored: --$pgac_txt]) done])# PGAC_ARG_CHECK |
