mirror of
https://github.com/samba-team/samba.git
synced 2025-11-26 04:23:49 +03:00
r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE
metze
This commit is contained in:
@@ -48,8 +48,8 @@ LIBREPLACE_C99_STRUCT_INIT([],[AC_MSG_WARN([c99 structure initializer are not su
|
|||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
|
||||||
AC_ISC_POSIX
|
AC_ISC_POSIX
|
||||||
AC_EXTENSION_FLAG(_XOPEN_SOURCE_EXTENDED)
|
AC_N_DEFINE(_XOPEN_SOURCE_EXTENDED)
|
||||||
AC_EXTENSION_FLAG(_OSF_SOURCE)
|
AC_N_DEFINE(_OSF_SOURCE)
|
||||||
|
|
||||||
AC_SYS_LARGEFILE
|
AC_SYS_LARGEFILE
|
||||||
|
|
||||||
|
|||||||
@@ -87,19 +87,6 @@ fi
|
|||||||
rm -f conftest*
|
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 see if a declaration exists for a function or variable
|
||||||
dnl defines HAVE_function_DECL if it exists
|
dnl defines HAVE_function_DECL if it exists
|
||||||
dnl AC_HAVE_DECL(var, includes)
|
dnl AC_HAVE_DECL(var, includes)
|
||||||
|
|||||||
Reference in New Issue
Block a user