From: Tom Lane Date: Thu, 30 Nov 2006 21:44:12 +0000 (+0000) Subject: Improve portability of 'tr' invocation in PGAC_ARG_CHECK. Reported by X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=cbc775001989eb2e016e16d0762198694ef482c0;p=users%2Fbernd%2Fpostgres.git Improve portability of 'tr' invocation in PGAC_ARG_CHECK. Reported by Olivier Prenant, fixed by Peter. --- diff --git a/config/general.m4 b/config/general.m4 index fd61892385..c8b69e0e78 100644 --- a/config/general.m4 +++ b/config/general.m4 @@ -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 diff --git a/configure b/configure index 1d6e46fd65..41df0f7b3c 100755 --- a/configure +++ b/configure @@ -24413,7 +24413,7 @@ for pgac_var in `set | sed 's/=.*//' | $EGREP 'with_|enable_'`; do continue 2 fi done - pgac_txt=`echo $pgac_var | tr '_' '-'` + pgac_txt=`echo $pgac_var | tr 'a_b' 'a-b'` { echo "$as_me:$LINENO: WARNING: option ignored: --$pgac_txt" >&5 echo "$as_me: WARNING: option ignored: --$pgac_txt" >&2;} done