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 | 181c69c7b01ba157cc445ebe444fa82a6ff8e8bb (patch) | |
| tree | 5ba2e13f963c4e73e1a5935c9116c6d83c25b6ce /qpid/cpp/m4 | |
| parent | 5dae3e297d441e33881b19941dbc46b2b28e113a (diff) | |
| download | qpid-python-181c69c7b01ba157cc445ebe444fa82a6ff8e8bb.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@726999 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/m4')
| -rw-r--r-- | qpid/cpp/m4/extensions.m4 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qpid/cpp/m4/extensions.m4 b/qpid/cpp/m4/extensions.m4 index 143a9e5403..fe7398b046 100644 --- a/qpid/cpp/m4/extensions.m4 +++ b/qpid/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 # ------------------------ |
