You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by me...@apache.org on 2008/12/16 10:27:46 UTC

svn commit: r726999 - /qpid/trunk/qpid/cpp/m4/extensions.m4

Author: meyering
Date: Tue Dec 16 01:27:45 2008
New Revision: 726999

URL: http://svn.apache.org/viewvc?rev=726999&view=rev
Log:
avoid bootstrap failure when using newer autoconf

* qpid/cpp/m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Define only
if undefined.

Modified:
    qpid/trunk/qpid/cpp/m4/extensions.m4

Modified: qpid/trunk/qpid/cpp/m4/extensions.m4
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/m4/extensions.m4?rev=726999&r1=726998&r2=726999&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/m4/extensions.m4 (original)
+++ qpid/trunk/qpid/cpp/m4/extensions.m4 Tue Dec 16 01:27:45 2008
@@ -1,7 +1,7 @@
-# serial 4  -*- Autoconf -*-
+# serial 5  -*- Autoconf -*-
 # Enable extensions on systems that normally disable them.
 
-# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2006, 2008 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -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,7 +49,7 @@
     AC_DEFINE([__EXTENSIONS__])
   AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
   AC_DEFINE([_TANDEM_SOURCE])
-])
+])])
 
 # gl_USE_SYSTEM_EXTENSIONS
 # ------------------------