Author: nunofsantos
Date: 2009-04-09 16:05:17 -0400 (Thu, 09 Apr 2009)
New Revision: 3279
Modified:
mgmt/trunk/sesame/cpp/m4/extensions.m4
Log:
conditional define to work with autoconf 2.63
Modified: mgmt/trunk/sesame/cpp/m4/extensions.m4
===================================================================
--- mgmt/trunk/sesame/cpp/m4/extensions.m4 2009-04-09 20:02:53 UTC (rev 3278)
+++ mgmt/trunk/sesame/cpp/m4/extensions.m4 2009-04-09 20:05:17 UTC (rev 3279)
@@ -16,6 +16,7 @@
# ------------------------
# Enable extensions on systems that normally disable them,
# typically due to standards-conformance issues.
+m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [], [
AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
[
AC_BEFORE([$0], [AC_COMPILE_IFELSE])
@@ -48,11 +49,12 @@
AC_DEFINE([__EXTENSIONS__])
AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
AC_DEFINE([_TANDEM_SOURCE])
-])
+])])
# gl_USE_SYSTEM_EXTENSIONS
# ------------------------
# Enable extensions on systems that normally disable them,
# typically due to standards-conformance issues.
+m4_ifdef([gl_USE_SYSTEM_EXTENSIONS], [], [
AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS],
- [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])])
+ [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])])])