Bug 910877 - SpiderMonkey: Fix autoconf detection of routines in libm. r=ted.mielczarek

This commit is contained in:
Dan Gohman 2013-09-17 09:13:24 -07:00
Родитель 027df3510d
Коммит de14e1d356
2 изменённых файлов: 4 добавлений и 3 удалений

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

@ -3155,7 +3155,7 @@ dnl Checks for library functions.
dnl ========================================================
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MEMCMP
AC_CHECK_FUNCS(random strerror lchown fchmod snprintf memmove rint stat64 lstat64 truncate64 setbuf isatty)
AC_CHECK_FUNCS(random strerror lchown fchmod snprintf memmove stat64 lstat64 truncate64 setbuf isatty)
AC_CHECK_FUNCS(statvfs64 statvfs statfs64 statfs)
AC_CHECK_FUNCS(flockfile getpagesize)
AC_CHECK_FUNCS(localtime_r strtok_r)

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

@ -2560,13 +2560,14 @@ dnl ========================================================
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MEMCMP
AC_CHECK_FUNCS([fchmod flockfile getc_unlocked _getc_nolock getpagesize \
lchown localtime_r lstat64 memmove random rint sbrk snprintf \
lchown localtime_r lstat64 memmove random sbrk snprintf \
stat64 statvfs statvfs64 strerror strtok_r truncate64])
dnl Checks for math functions.
dnl ========================================================
AC_CHECK_FUNCS(log2 log1p expm1 sqrt1pm1 acosh asinh atanh hypot trunc cbrt)
AC_CHECK_LIB(m, sin)
AC_CHECK_FUNCS([log2 log1p expm1 sqrt1pm1 acosh asinh atanh hypot trunc cbrt])
dnl check for wcrtomb/mbrtowc