From 181c69c7b01ba157cc445ebe444fa82a6ff8e8bb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 16 Dec 2008 09:27:45 +0000 Subject: 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 --- qpid/cpp/m4/extensions.m4 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'qpid/cpp') 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 # ------------------------ -- cgit v1.2.1