This is imported from gnulib.  gnulib also has an HP-UX 11.11 fix, but
let's see if we can do that another way, as it's pretty heaviweight.
---
 ChangeLog                |    6 ++++++
 lib/autoconf/specific.m4 |    6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e225350..2301762 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-22  Paul Eggert  <[email protected]>
+
+    * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Quote cleanly.
+    This is imported from gnulib.  gnulib also has an HP-UX 11.11 fix, but
+    let's see if we can do that another way, as it's pretty heaviweight.
+
 2011-07-22  Eric Blake  <[email protected]>
 
     docs: fix minor doc problems
diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4
index 2630edb..5a9ca94 100644
--- a/lib/autoconf/specific.m4
+++ b/lib/autoconf/specific.m4
@@ -402,9 +402,9 @@ dnl configure.ac when using autoheader 2.62.
   AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__],
     [ac_cv_safe_to_define___extensions__],
     [AC_COMPILE_IFELSE(
-       [AC_LANG_PROGRAM([
-#      define __EXTENSIONS__ 1
-      AC_INCLUDES_DEFAULT])],
+       [AC_LANG_PROGRAM([[
+#         define __EXTENSIONS__ 1
+          ]AC_INCLUDES_DEFAULT])],
        [ac_cv_safe_to_define___extensions__=yes],
        [ac_cv_safe_to_define___extensions__=no])])
   test $ac_cv_safe_to_define___extensions__ = yes &&
-- 
1.7.4.4


Reply via email to