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

index bfac6330a0f90e007aa7acbea892e5e1b0b620ec..8ed52027892033ed15eb8f1ec07d4afc1ab02494 100644 (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
 ])