diff options
| author | Jim Meyering <meyering@apache.org> | 2008-12-16 09:27:45 +0000 |
|---|---|---|
| committer | Jim Meyering <meyering@apache.org> | 2008-12-16 09:27:45 +0000 |
| commit | c577198e734987592394ccbbd26c5a73ea219258 (patch) | |
| tree | 5f7a0fafb8756c59e9262c3cf63977f9439ca624 /cpp | |
| parent | 15a5e3bf313425aea3455ab1a94681095d0f45c9 (diff) | |
| download | qpid-python-c577198e734987592394ccbbd26c5a73ea219258.tar.gz | |
avoid bootstrap failure when using newer autoconf
* qpid/cpp/m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Define only
if undefined.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@726999 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/m4/extensions.m4 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/m4/extensions.m4 b/cpp/m4/extensions.m4 index 143a9e5403..fe7398b046 100644 --- a/cpp/m4/extensions.m4 +++ b/cpp/m4/extensions.m4 @@ -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_DEFUN([AC_USE_SYSTEM_EXTENSIONS], AC_DEFINE([__EXTENSIONS__]) AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) AC_DEFINE([_TANDEM_SOURCE]) -]) +])]) # gl_USE_SYSTEM_EXTENSIONS # ------------------------ |
