mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00
Bug 1056263 - remove unneeded configure checks for ssize_t, stat.st_blksize, and siginfo_t; r=mshal
js/src/ retains the ssize_t check because ctypes needs it.
This commit is contained in:
parent
36f456593a
commit
9e4152607c
27
configure.in
27
configure.in
@ -2486,33 +2486,6 @@ AC_TYPE_PID_T
|
||||
AC_TYPE_SIZE_T
|
||||
AC_LANG_CPLUSPLUS
|
||||
AC_LANG_C
|
||||
AC_MSG_CHECKING(for ssize_t)
|
||||
AC_CACHE_VAL(ac_cv_type_ssize_t,
|
||||
[AC_TRY_COMPILE([#include <stdio.h>
|
||||
#include <sys/types.h>],
|
||||
[ssize_t foo = 0;],
|
||||
[ac_cv_type_ssize_t=true],
|
||||
[ac_cv_type_ssize_t=false])])
|
||||
if test "$ac_cv_type_ssize_t" = true ; then
|
||||
AC_DEFINE(HAVE_SSIZE_T)
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
AC_STRUCT_ST_BLKSIZE
|
||||
AC_MSG_CHECKING(for siginfo_t)
|
||||
AC_CACHE_VAL(ac_cv_siginfo_t,
|
||||
[AC_TRY_COMPILE([#define _POSIX_C_SOURCE 199506L
|
||||
#include <signal.h>],
|
||||
[siginfo_t* info;],
|
||||
[ac_cv_siginfo_t=true],
|
||||
[ac_cv_siginfo_t=false])])
|
||||
if test "$ac_cv_siginfo_t" = true ; then
|
||||
AC_DEFINE(HAVE_SIGINFO_T)
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
||||
|
@ -2058,20 +2058,6 @@ if test "$ac_cv_type_ssize_t" = true ; then
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
AC_STRUCT_ST_BLKSIZE
|
||||
AC_MSG_CHECKING(for siginfo_t)
|
||||
AC_CACHE_VAL(ac_cv_siginfo_t,
|
||||
[AC_TRY_COMPILE([#define _POSIX_C_SOURCE 199506L
|
||||
#include <signal.h>],
|
||||
[siginfo_t* info;],
|
||||
[ac_cv_siginfo_t=true],
|
||||
[ac_cv_siginfo_t=false])])
|
||||
if test "$ac_cv_siginfo_t" = true ; then
|
||||
AC_DEFINE(HAVE_SIGINFO_T)
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
MOZ_CHECK_HEADERS(endian.h)
|
||||
if test "$ac_cv_header_endian_h" = yes; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user