mirror of
https://github.com/samba-team/samba.git
synced 2025-01-19 10:03:58 +03:00
libreplace: we should only have one location where we check for required functions
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25864 0c0555d6-39d7-0310-84fc-f1cc0bd64818
This commit is contained in:
parent
20ec1f4725
commit
760f24f10c
@ -280,9 +280,6 @@ AC_TRY_CPP([
|
|||||||
eprintf("bla", "bar");
|
eprintf("bla", "bar");
|
||||||
], AC_DEFINE(HAVE__VA_ARGS__MACRO, 1, [Whether the __VA_ARGS__ macro is available]))
|
], AC_DEFINE(HAVE__VA_ARGS__MACRO, 1, [Whether the __VA_ARGS__ macro is available]))
|
||||||
|
|
||||||
# Check prerequisites
|
|
||||||
AC_CHECK_FUNCS([memset printf syslog], [],
|
|
||||||
[ AC_MSG_ERROR([Required function not found])])
|
|
||||||
|
|
||||||
AC_CACHE_CHECK([for sig_atomic_t type],samba_cv_sig_atomic_t, [
|
AC_CACHE_CHECK([for sig_atomic_t type],samba_cv_sig_atomic_t, [
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
@ -331,7 +328,7 @@ m4_include(inet_pton.m4)
|
|||||||
m4_include(getaddrinfo.m4)
|
m4_include(getaddrinfo.m4)
|
||||||
m4_include(repdir.m4)
|
m4_include(repdir.m4)
|
||||||
|
|
||||||
AC_CHECK_FUNCS([syslog memset memcpy],,[AC_MSG_ERROR([Required function not found])])
|
AC_CHECK_FUNCS([syslog printf memset memcpy],,[AC_MSG_ERROR([Required function not found])])
|
||||||
|
|
||||||
echo "LIBREPLACE_BROKEN_CHECKS: END"
|
echo "LIBREPLACE_BROKEN_CHECKS: END"
|
||||||
]) dnl end AC_LIBREPLACE_BROKEN_CHECKS
|
]) dnl end AC_LIBREPLACE_BROKEN_CHECKS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user