mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
libreplace: Don't check for standards.h on darwin (Lion)
standards.h on Lion holds a #warning that standards.h will be removed. This is annoying during the build.
This commit is contained in:
@ -102,9 +102,17 @@ case "$host_os" in
|
||||
;;
|
||||
esac
|
||||
|
||||
# Do not check for standards.h on darwin, we get nasty warnings on
|
||||
# OS/X Lion. Probably a positive-list of OS'es like IRIX and AIX
|
||||
# would be the better choice, but this seems to work fine
|
||||
|
||||
|
||||
AC_CHECK_HEADERS([standards.h])
|
||||
case "$host_os" in
|
||||
*darwin*)
|
||||
;;
|
||||
*)
|
||||
AC_CHECK_HEADERS([standards.h])
|
||||
;;
|
||||
esac
|
||||
|
||||
# Solaris needs HAVE_LONG_LONG defined
|
||||
AC_CHECK_TYPES(long long)
|
||||
|
Reference in New Issue
Block a user