Eric Blake wrote:
-----BEGIN PGP SIGNED MESSAGE-----
AH_BOTTOM is not quite right.  But it seems like the existing AH_VERBATIM
already in AC_USE_SYSTEM_EXTENSIONS would be the right place to experiment
with this.

I tried the following:

--- a/lib/autoconf/specific.m4
+++ b/lib/autoconf/specific.m4
@@ -410,6 +410,10 @@ dnl configure.ac when using autoheader 2.62.
 #ifndef _GNU_SOURCE
 # undef _GNU_SOURCE
 #endif
+/* Disable strict ansi compliance */
+#ifdef __STRICT_ANSI__
+# undef __STRICT_ANSI__
+#endif
 /* Enable threading extensions on Solaris.  */
 #ifndef _POSIX_PTHREAD_SEMANTICS
 # undef _POSIX_PTHREAD_SEMANTICS

and in config.h.in it gives:

/* Disable strict ansi compliance */


#ifdef __STRICT_ANSI__


# undef __STRICT_ANSI__


#endif



but in config.h I get:

/* Disable strict ansi compliance */
#ifdef __STRICT_ANSI__
/* # undef __STRICT_ANSI__ */
#endif

Cheers,
Chris


Reply via email to