mirror of
https://github.com/samba-team/samba.git
synced 2025-09-24 05:44:20 +03:00
In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
etc. So check for that as well as the old names when including macros
and conditionally defining -DVALGRIND.
(This used to be commit 054ed6d86d
)
This commit is contained in:
@@ -557,6 +557,10 @@ AC_CHECK_HEADERS(sys/termio.h sys/statfs.h sys/dustat.h sys/statvfs.h stdarg.h s
|
|||||||
AC_CHECK_HEADERS(security/pam_modules.h security/_pam_macros.h ldap.h lber.h dlfcn.h)
|
AC_CHECK_HEADERS(security/pam_modules.h security/_pam_macros.h ldap.h lber.h dlfcn.h)
|
||||||
AC_CHECK_HEADERS(sys/syslog.h syslog.h)
|
AC_CHECK_HEADERS(sys/syslog.h syslog.h)
|
||||||
|
|
||||||
|
# In valgrind 1.0.x, it's just valgrind.h. In 1.9.x+ there's a
|
||||||
|
# subdirectory of headers.
|
||||||
|
AC_CHECK_HEADERS(valgrind.h valgrind/valgrind.h valgrind/memcheck.h)
|
||||||
|
|
||||||
#
|
#
|
||||||
# HPUX has a bug in that including shadow.h causes a re-definition of MAXINT.
|
# HPUX has a bug in that including shadow.h causes a re-definition of MAXINT.
|
||||||
# This causes configure to fail to detect it. Check for shadow separately on HPUX.
|
# This causes configure to fail to detect it. Check for shadow separately on HPUX.
|
||||||
|
Reference in New Issue
Block a user