1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 03:03:26 +02:00

MFH: Fix buildconf failure with autoconf > 2.13

This commit is contained in:
foobar
2004-12-30 14:56:23 +00:00
parent 41dde12bbd
commit c1aa774082
+4 -4
View File
@@ -2004,7 +2004,7 @@ dnl PHP_C_BIGENDIAN
dnl Replacement macro for AC_C_BIGENDIAN
dnl
AC_DEFUN([PHP_C_BIGENDIAN],
[AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian_php,
[AC_CACHE_CHECK([whether byte ordering is bigendian], ac_cv_c_bigendian_php,
[
ac_cv_c_bigendian_php=unknown
AC_TRY_RUN(
@@ -2021,9 +2021,9 @@ int main(void)
}
}
], [ac_cv_c_bigendian_php=yes], [ac_cv_c_bigendian_php=no], [ac_cv_c_bigendian_php=unknown])
if test $ac_cv_c_bigendian_php = yes; then
AC_DEFINE(WORDS_BIGENDIAN, [], [Define if processor uses big-endian word])
fi
])
if test $ac_cv_c_bigendian_php = yes; then
AC_DEFINE(WORDS_BIGENDIAN, [], [Define if processor uses big-endian word])
fi
])