[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gettext 0.11.1 minor porting problem on POSIX 1003.1-2001 hosts
From: |
Paul Eggert |
Subject: |
gettext 0.11.1 minor porting problem on POSIX 1003.1-2001 hosts |
Date: |
Thu, 14 Mar 2002 00:01:58 -0800 (PST) |
The new POSIX standard (IEEE Std 1003.1-2001) has removed support for
many digit-string utility options, one of which gettextize uses. I'm
using an experimental environment that insists on the new standard,
and I ran into this problem when trying to gettextize a copy of GNU
diffutils with gettext 0.11.1.
Here is a patch.
2002-03-13 Paul Eggert <address@hidden>
* gettextize.in (config.rpath): `head -1' -> `sed q', to avoid
a porting problem to POSIX 1003.1-2001 environments.
===================================================================
RCS file: misc/gettextize.in,v
retrieving revision 0.11.1.0
retrieving revision 0.11.1.1
diff -pu -r0.11.1.0 -r0.11.1.1
--- gettextize.in 2002/02/19 14:15:08 0.11.1.0
+++ gettextize.in 2002/03/14 06:59:56 0.11.1.1
@@ -200,7 +200,7 @@ for file in *; do
{ $echo "Copying file $file"; cp $file $srcdir/$file; }
;;
config.rpath)
- auxdir=`cat $srcdir/$configure_in | grep '^AC_CONFIG_AUX_DIR' | sed -n
-e 's/AC_CONFIG_AUX_DIR(\([^()]*\))/\1/p' | sed -e 's/^\[\(.*\)\]$/\1/' | head
-1`
+ auxdir=`cat $srcdir/$configure_in | grep '^AC_CONFIG_AUX_DIR' | sed -n
-e 's/AC_CONFIG_AUX_DIR(\([^()]*\))/\1/p' | sed -e 's/^\[\(.*\)\]$/\1/' -e q`
if test -n "$auxdir"; then
auxdir="$auxdir/"
fi
- gettext 0.11.1 minor porting problem on POSIX 1003.1-2001 hosts,
Paul Eggert <=