summaryrefslogtreecommitdiff
path: root/gnulib-tool
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-01-05 08:03:10 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2013-01-05 08:03:30 -0800
commit8e858e6d77dd239e9102626b292519eae170679a (patch)
treee5e4c289b3768700286b095568bc45bd40b0e4e4 /gnulib-tool
parent84d1749c4b5ad026522be96537320556ec6f7a57 (diff)
downloadgnulib-8e858e6d77dd239e9102626b292519eae170679a.tar.gz
gnulib-tool: fix incompatibility with autopoint 0.18.2
* gnulib-tool: Don't indent AM_GNU_GETTEXT_VERSION line. Problem reported by Tom G. Christensen in <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00053.html>.
Diffstat (limited to 'gnulib-tool')
-rwxr-xr-xgnulib-tool4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnulib-tool b/gnulib-tool
index 2e7f1da9c0..c5ab13b387 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -3930,7 +3930,9 @@ func_emit_autoconf_snippet ()
| { if $disable_gettext; then
sed -e 's/AM_GNU_GETTEXT(\[external\])/dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac./'
else
- cat
+ # Don't indent AM_GNU_GETTEXT_VERSION line, as that confuses
+ # autopoint through at least GNU gettext version 0.18.2.
+ sed -e 's/^ *AM_GNU_GETTEXT_VERSION/AM_GNU_GETTEXT_VERSION/'
fi
}
if test "$module" = 'alloca' && test "$libtool" = true && ! $disable_libtool; then