]> granicus.if.org Git - php/commitdiff
- Fix buildconf failure with autoconf versions > 2.13
authorfoobar <sniper@php.net>
Thu, 30 Dec 2004 14:56:00 +0000 (14:56 +0000)
committerfoobar <sniper@php.net>
Thu, 30 Dec 2004 14:56:00 +0000 (14:56 +0000)
acinclude.m4

index 7cb360fa04ae9bfa7eac08fd3da9aea0c85efc4f..cf211c0bab7466f103e9a85ba4122164e93ef153 100644 (file)
@@ -2027,7 +2027,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(
@@ -2044,9 +2044,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
 ])