summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-09-08 18:26:43 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-09-08 18:26:43 +0000
commit7e7b77c1385cc93bdc7934c7c5e12bbe9e2528d3 (patch)
tree6ca078b41ab2a6d0ba599910e8dcd38fefe3dd5e /bootstrap
parent9d5b26c682e974158f5cfefa92eb579412353c12 (diff)
downloadbison-7e7b77c1385cc93bdc7934c7c5e12bbe9e2528d3.tar.gz
Undo previous change, then add comment as to why the
AM_LANGINFO_CODESET hack is needed.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap8
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 7b2f4c50..96c9bcb3 100755
--- a/bootstrap
+++ b/bootstrap
@@ -154,6 +154,14 @@ for gnulib_file in $gnulib_files; do
cp -p $GNULIB_SRCDIR/$gnulib_file $dest || exit
done
+# This suppresses a bogus diagnostic
+# "warning: macro `AM_LANGINFO_CODESET' not found in library".
+echo "$0: patching m4/gettext.m4 so that AM_INTL_SUBDIR is empty ..."
+sed '
+ /^AC_DEFUN(\[AM_INTL_SUBDIR],/,/^]/c\
+ AC_DEFUN([AM_INTL_SUBDIR], [])
+' m4/gettext.m4 >m4/gettext_gl.m4 || exit
+
# Get translations.