summaryrefslogtreecommitdiff
path: root/lib/replace/autoconf-2.60.m4
diff options
context:
space:
mode:
authorAndreas Schneider <anschneider@suse.de>2008-10-29 14:12:04 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-26 16:44:50 +0100
commitb39611c36bb904774fd4032bf2f8003fbdeb5d34 (patch)
tree0ab849abac4e1390573fde093402ee2e2d1f8685 /lib/replace/autoconf-2.60.m4
parentf1d887251d33055d3f5dc858044a1ead63d25e78 (diff)
downloadsamba-b39611c36bb904774fd4032bf2f8003fbdeb5d34.tar.gz
samba-b39611c36bb904774fd4032bf2f8003fbdeb5d34.tar.bz2
samba-b39611c36bb904774fd4032bf2f8003fbdeb5d34.zip
Fix circular dependency error with autoconf 2.6.3.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Diffstat (limited to 'lib/replace/autoconf-2.60.m4')
-rw-r--r--lib/replace/autoconf-2.60.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/replace/autoconf-2.60.m4 b/lib/replace/autoconf-2.60.m4
index acdcd38efe..2d5dbc1661 100644
--- a/lib/replace/autoconf-2.60.m4
+++ b/lib/replace/autoconf-2.60.m4
@@ -179,6 +179,7 @@ AC_DEFUN([AC_PROG_CC_C99],
# ------------------------
# Enable extensions on systems that normally disable them,
# typically due to standards-conformance issues.
+m4_ifndef([AC_USE_SYSTEM_EXTENSIONS],[
AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
[
AC_BEFORE([$0], [AC_COMPILE_IFELSE])
@@ -208,3 +209,4 @@ AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
AC_DEFINE([__EXTENSIONS__])
AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
])
+])