diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-11-15 14:55:48 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-01-18 17:02:10 +0100 |
commit | 2e0dc77bdad8e6c88920cfb8624a8dac981dd4c8 (patch) | |
tree | e95d920fa5d4079f512b294c1db0e828ff984109 | |
parent | 928f899948d25a133c9622a2ac8208e4499ba260 (diff) | |
download | samba-2e0dc77bdad8e6c88920cfb8624a8dac981dd4c8.tar.gz samba-2e0dc77bdad8e6c88920cfb8624a8dac981dd4c8.tar.xz samba-2e0dc77bdad8e6c88920cfb8624a8dac981dd4c8.zip |
r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE
metze
(cherry picked from commit 05b4619c5beff474488d1abe5e647acd94a3e20c)
(This used to be commit 58932ca791024bd9a543ff5e21bc26970ceed477)
-rw-r--r-- | source3/lib/replace/libreplace_cc.m4 | 4 | ||||
-rw-r--r-- | source3/lib/replace/libreplace_macros.m4 | 13 |
2 files changed, 2 insertions, 15 deletions
diff --git a/source3/lib/replace/libreplace_cc.m4 b/source3/lib/replace/libreplace_cc.m4 index a01bf1b290..a0722b2fcf 100644 --- a/source3/lib/replace/libreplace_cc.m4 +++ b/source3/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/source3/lib/replace/libreplace_macros.m4 b/source3/lib/replace/libreplace_macros.m4 index 54e6b7ac75..1856eacf66 100644 --- a/source3/lib/replace/libreplace_macros.m4 +++ b/source3/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) |