[rhmessaging-commits] rhmessaging commits: r3278 - mgmt/trunk/mace/cpp/m4.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Apr 9 16:02:53 EDT 2009


Author: nunofsantos
Date: 2009-04-09 16:02:53 -0400 (Thu, 09 Apr 2009)
New Revision: 3278

Modified:
   mgmt/trunk/mace/cpp/m4/extensions.m4
Log:
conditional define to work with autoconf 2.63

Modified: mgmt/trunk/mace/cpp/m4/extensions.m4
===================================================================
--- mgmt/trunk/mace/cpp/m4/extensions.m4	2009-04-09 19:24:35 UTC (rev 3277)
+++ mgmt/trunk/mace/cpp/m4/extensions.m4	2009-04-09 20:02:53 UTC (rev 3278)
@@ -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])])])




More information about the rhmessaging-commits mailing list