зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
726b97efc8
Коммит
35d8261b9c
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче