summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-15 14:55:48 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:45:24 +0100
commitae75b115787994540ccf1aa1b384331955384fd9 (patch)
treedfae4cf01ff1b8c579065e6a1e46e0dade901885
parent0f134fab53489ad254ac23c740bc0a722ffa592c (diff)
downloadsamba-ae75b115787994540ccf1aa1b384331955384fd9.tar.gz
samba-ae75b115787994540ccf1aa1b384331955384fd9.tar.bz2
samba-ae75b115787994540ccf1aa1b384331955384fd9.zip
r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE
metze (This used to be commit 05b4619c5beff474488d1abe5e647acd94a3e20c)
-rw-r--r--source4/lib/replace/libreplace_cc.m44
-rw-r--r--source4/lib/replace/libreplace_macros.m413
2 files changed, 2 insertions, 15 deletions
diff --git a/source4/lib/replace/libreplace_cc.m4 b/source4/lib/replace/libreplace_cc.m4
index a01bf1b290..a0722b2fcf 100644
--- a/source4/lib/replace/libreplace_cc.m4
+++ b/source4/lib/replace/libreplace_cc.m4
@@ -48,8 +48,8 @@ LIBREPLACE_C99_STRUCT_INIT([],[AC_MSG_WARN([c99 structure initializer are not su
AC_PROG_INSTALL
AC_ISC_POSIX
-AC_EXTENSION_FLAG(_XOPEN_SOURCE_EXTENDED)
-AC_EXTENSION_FLAG(_OSF_SOURCE)
+AC_N_DEFINE(_XOPEN_SOURCE_EXTENDED)
+AC_N_DEFINE(_OSF_SOURCE)
AC_SYS_LARGEFILE
diff --git a/source4/lib/replace/libreplace_macros.m4 b/source4/lib/replace/libreplace_macros.m4
index 54e6b7ac75..1856eacf66 100644
--- a/source4/lib/replace/libreplace_macros.m4
+++ b/source4/lib/replace/libreplace_macros.m4
@@ -87,19 +87,6 @@ fi
rm -f conftest*
])])
-AC_DEFUN([AC_EXTENSION_FLAG],
-[
- cat >>confdefs.h <<\EOF
-#ifndef $1
-# define $1 1
-#endif
-EOF
-AH_VERBATIM([$1], [#ifndef $1
-# define $1 1
-#endif])
-])
-
-
dnl see if a declaration exists for a function or variable
dnl defines HAVE_function_DECL if it exists
dnl AC_HAVE_DECL(var, includes)