autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS):, Quot


From: Paul Eggert
Subject: [PATCH 1/3] * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS):, Quote cleanly.
Date: Sun, 31 Jul 2011 00:57:29 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11

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  <address@hidden>
+
+    * 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  <address@hidden>
 
     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

[Prev in Thread] Current Thread [Next in Thread]