From: Daiki Ueno Date: Tue, 24 Sep 2013 03:51:16 +0000 (+0900) Subject: autopoint: recognize multiple arguments of AM_GNU_GETTEXT when tracing X-Git-Tag: v0.18.3.2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23f42c8f4752b8c02faf98479afb12d58564aa4f;p=thirdparty%2Fgettext.git autopoint: recognize multiple arguments of AM_GNU_GETTEXT when tracing --- diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index ea9134c2a..635251855 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -1,3 +1,11 @@ +2013-09-24 Daiki Ueno + + * autopoint.in: Recognize multiple arguments of AM_GNU_GETTEXT + when tracing. + * gettextize.in: Likewise. + Reported by Gary V. Vaughan in + . + 2013-08-12 Daiki Ueno autopoint: make macro trace in autom4te robuster diff --git a/gettext-tools/misc/autopoint.in b/gettext-tools/misc/autopoint.in index 51f85511b..2c0356261 100644 --- a/gettext-tools/misc/autopoint.in +++ b/gettext-tools/misc/autopoint.in @@ -350,12 +350,14 @@ fi # Check whether to omit the intl/ directory. omitintl= xargs=`func_trace AM_GNU_GETTEXT "$configure_in"` +save_IFS="$IFS"; IFS=: for arg in $xargs; do if test 'external' = "$arg"; then omitintl=yes break fi done +IFS="$save_IFS" # Check in which directory or directories the po/* infrastructure belongs. configfiles=`func_trace AC_CONFIG_FILES "$configure_in"` diff --git a/gettext-tools/misc/gettextize.in b/gettext-tools/misc/gettextize.in index 6278a3d90..be837b9c9 100644 --- a/gettext-tools/misc/gettextize.in +++ b/gettext-tools/misc/gettextize.in @@ -675,12 +675,14 @@ else # Tell the user what to put into configure.ac, if it is not already there. external= xargs=`func_trace AM_GNU_GETTEXT "$srcdir/$configure_in"` + save_IFS="$IFS"; IFS=: for arg in $xargs; do if test 'external' = "$arg"; then external=yes break fi done + IFS="$save_IFS" if test -z "$external"; then please="$please Please use AM_GNU_GETTEXT([external]) in order to cause autoconfiguration