[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/configure.ac,v
From: |
Eric Blake |
Subject: |
Changes to m4/configure.ac,v |
Date: |
Thu, 16 Nov 2006 19:01:16 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 06/11/16 19:01:15
Index: configure.ac
===================================================================
RCS file: /sources/m4/m4/configure.ac,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -b -r1.61 -r1.62
--- configure.ac 31 Oct 2006 02:05:37 -0000 1.61
+++ configure.ac 16 Nov 2006 19:01:15 -0000 1.62
@@ -144,6 +144,18 @@
## ---------------- ##
## Gettext support. ##
## ---------------- ##
+dnl M4 1.4.4 and earlier had a bug that tracing a macro made it falsely
+dnl appear as defined with an empty definition, even though `invoking'
+dnl the macro resulted in the macro name. Gettext relies on whether
+dnl AM_GNU_GETTEXT_INTL_SUBDIR is defined, and automake traces this
+dnl macro, but we don't want to use an intl subdir, hence this workaround
+dnl to allow bootstrapping even on systems with old M4.
+dnl http://lists.gnu.org/archive/html/bug-gnu-utils/2006-11/msg00096.html
+m4_ifdef([AM_GNU_GETTEXT_INTL_SUBDIR],
+ [m4_if(m4_defn([AM_GNU_GETTEXT_INTL_SUBDIR]),[],
+ [m4_ifval(AM_GNU_GETTEXT_INTL_SUBDIR,
+ [m4_popdef([AM_GNU_GETTEXT_INTL_SUBDIR])])])])
+
AM_GNU_GETTEXT([external], [need-formatstring-macros])
AM_GNU_GETTEXT_VERSION([0.16])
M4_GNU_GETTEXT
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to m4/configure.ac,v,
Eric Blake <=