Bug 1269517 - Remove header checks from old-configure that are no longer needed. r=glandium

This patch removes the checks for compat.h, sys/bittypes.h, gnu/libc-version.h,
X11/XKBlib.h, sys/sysmacros.h, and sys/cdefs.h from old-configure, because they
are not checked meaningfully in the tree.

The check for memory.h is removed, because while there are checks for
HAVE_MEMORY_H in the tree, they are in places this is set by a third party
build system.

The check for io.h is also removed, because while there are checks for
HAVE_IO_H, they're only relevant on windows, where this is set manually in
old-configure.

MozReview-Commit-ID: MOI50CP00k
This commit is contained in:
Chris Manchester 2016-07-26 15:27:19 -07:00
Родитель 726b97efc8
Коммит 35d8261b9c
3 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@ -3,7 +3,6 @@ dnl License, v. 2.0. If a copy of the MPL was not distributed with this
dnl file, You can obtain one at http://mozilla.org/MPL/2.0/.
AC_DEFUN(MOZ_CHECK_COMMON_HEADERS,
MOZ_CHECK_HEADERS(sys/byteorder.h compat.h getopt.h sys/bitypes.h \
memory.h unistd.h gnu/libc-version.h nl_types.h malloc.h \
X11/XKBlib.h io.h cpuid.h)
MOZ_CHECK_HEADERS(sys/byteorder.h getopt.h unistd.h nl_types.h \
malloc.h cpuid.h)
)

Просмотреть файл

@ -1249,8 +1249,6 @@ if test "x$enable_dtrace" = "xyes"; then
fi
AC_SUBST(HAVE_DTRACE)
MOZ_CHECK_HEADERS(sys/cdefs.h)
MOZ_LINUX_PERF_EVENT
dnl Checks for libraries.

Просмотреть файл

@ -1582,7 +1582,7 @@ dnl These are all the places some variant of statfs can be hiding.
MOZ_CHECK_HEADERS(sys/statvfs.h sys/statfs.h sys/vfs.h sys/mount.h)
dnl Quota support
MOZ_CHECK_HEADERS(sys/quota.h sys/sysmacros.h)
MOZ_CHECK_HEADERS(sys/quota.h)
MOZ_CHECK_HEADERS([linux/quota.h],,,[#include <sys/socket.h>])
dnl SCTP support - needs various network include headers