summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-07-22 14:19:32 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-07-30 13:01:46 -0700
commitc35cade05f92ec70f7e32ba9c9974e80a1b2999e (patch)
treec5dcfd82de1f3749866669801d835368e4ae272e
parent4d2efc4563e660f548f6db529181a9f2e4735339 (diff)
downloadautoconf-c35cade05f92ec70f7e32ba9c9974e80a1b2999e.tar.gz
* 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.
-rw-r--r--ChangeLog6
-rw-r--r--lib/autoconf/specific.m46
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e2253508..2301762b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-22 Paul Eggert <eggert@cs.ucla.edu>
+
+ * 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 <eblake@redhat.com>
docs: fix minor doc problems
diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4
index 2630edb5..5a9ca94d 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 &&