]> Savannah Git Hosting - gnulib.git/commitdiff
extensions: port to more ISO C TSes
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Sep 2016 17:32:54 +0000 (10:32 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Sep 2016 17:33:20 +0000 (10:33 -0700)
* m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Sync from Autoconf
master, to add support for more recent ISO C TRs and TSes.

ChangeLog
m4/extensions.m4

index a936166a9e3ad7b73e8f2eadc345d67c4f7d0783..b3247dff69fa81a9b2aafacc0ac3600998d4ea52 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-09-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       extensions: port to more ISO C TSes
+       * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Sync from Autoconf
+       master, to add support for more recent ISO C TRs and TSes.
+
 2016-09-13  Paul Eggert  <eggert@cs.ucla.edu>
 
        intprops: new macro TYPE_WIDTH
index ba54640b1e608959c8e94e6dc9c97ef80794da0f..87721a357741669e8f13c9daeee50d6e209f84e7 100644 (file)
@@ -72,18 +72,34 @@ dnl configure.ac when using autoheader 2.62.
 #ifndef _POSIX_PTHREAD_SEMANTICS
 # undef _POSIX_PTHREAD_SEMANTICS
 #endif
+/* Enable extensions specified by ISO/IEC TS 18661-5:2014.  */
+#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
+# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
+#endif
 /* Enable extensions specified by ISO/IEC TS 18661-1:2014.  */
 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
 # undef __STDC_WANT_IEC_60559_BFP_EXT__
 #endif
+/* Enable extensions specified by ISO/IEC TS 18661-2:2015.  */
+#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
+# undef __STDC_WANT_IEC_60559_DFP_EXT__
+#endif
 /* Enable extensions specified by ISO/IEC TS 18661-4:2015.  */
 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
 # undef __STDC_WANT_IEC_60559_FUNCS_EXT__
 #endif
+/* Enable extensions specified by ISO/IEC TS 18661-3:2015.  */
+#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
+# undef __STDC_WANT_IEC_60559_TYPES_EXT__
+#endif
 /* Enable extensions specified by ISO/IEC TR 24731-2:2010.  */
 #ifndef __STDC_WANT_LIB_EXT2__
 # undef __STDC_WANT_LIB_EXT2__
 #endif
+/* Enable extensions specified by ISO/IEC TR 24747:2009.  */
+#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
+# undef __STDC_WANT_MATH_SPEC_FUNCS__
+#endif
 /* Enable extensions on HP NonStop.  */
 #ifndef _TANDEM_SOURCE
 # undef _TANDEM_SOURCE
@@ -113,9 +129,13 @@ dnl configure.ac when using autoheader 2.62.
   AC_DEFINE([_DARWIN_C_SOURCE])
   AC_DEFINE([_GNU_SOURCE])
   AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
+  AC_DEFINE([__STDC_WANT_IEC_60559_ATTRIBS_EXT__])
   AC_DEFINE([__STDC_WANT_IEC_60559_BFP_EXT__])
+  AC_DEFINE([__STDC_WANT_IEC_60559_DFP_EXT__])
   AC_DEFINE([__STDC_WANT_IEC_60559_FUNCS_EXT__])
+  AC_DEFINE([__STDC_WANT_IEC_60559_TYPES_EXT__])
   AC_DEFINE([__STDC_WANT_LIB_EXT2__])
+  AC_DEFINE([__STDC_WANT_MATH_SPEC_FUNCS__])
   AC_DEFINE([_TANDEM_SOURCE])
   AC_CACHE_CHECK([whether _XOPEN_SOURCE should be defined],
     [ac_cv_should_define__xopen_source],