Skip to content

Commit 746330e

Browse files
committed
Better solution to the tr problem: use sed instead. Per Martijn and Andrew.
1 parent 7ac9d45 commit 746330e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config/general.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/config/general.m4,v 1.8 2006/11/30 21:44:12 tgl Exp $
1+
# $PostgreSQL: pgsql/config/general.m4,v 1.9 2006/11/30 22:21:23 tgl Exp $
22

33
# This file defines new macros to process configure command line
44
# arguments, to replace the brain-dead AC_ARG_WITH and AC_ARG_ENABLE.
@@ -82,7 +82,7 @@ AC_DEFUN([PGAC_ARG_CHECK],
8282
continue 2
8383
fi
8484
done
85-
pgac_txt=`echo $pgac_var | tr 'a_b' 'a-b'`
85+
pgac_txt=`echo $pgac_var | sed 's/_/-/g'`
8686
AC_MSG_WARN([option ignored: --$pgac_txt])
8787
done])# PGAC_ARG_CHECK
8888

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24413,7 +24413,7 @@ for pgac_var in `set | sed 's/=.*//' | $EGREP 'with_|enable_'`; do
2441324413
continue 2
2441424414
fi
2441524415
done
24416-
pgac_txt=`echo $pgac_var | tr 'a_b' 'a-b'`
24416+
pgac_txt=`echo $pgac_var | sed 's/_/-/g'`
2441724417
{ echo "$as_me:$LINENO: WARNING: option ignored: --$pgac_txt" >&5
2441824418
echo "$as_me: WARNING: option ignored: --$pgac_txt" >&2;}
2441924419
done

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy