diff options
Diffstat (limited to 'source4/lib/replace/libreplace_macros.m4')
-rw-r--r-- | source4/lib/replace/libreplace_macros.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace_macros.m4 b/source4/lib/replace/libreplace_macros.m4 index 6c1110dc4b..6c4cfc465d 100644 --- a/source4/lib/replace/libreplace_macros.m4 +++ b/source4/lib/replace/libreplace_macros.m4 @@ -87,6 +87,19 @@ fi rm -f conftest* ])]) +AC_DEFUN([AC_EXTENSION_FLAG], +[ + cat >>confdefs.h <<\EOF +#ifndef $1 +# define $1 +#endif +EOF +AH_VERBATIM([$1], [#ifndef $1 +# define $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) |