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

index 54b04cf12df3af27e716a2de6b3833c617fff239..11ed137515842c339d04d3e7103860adf965a426 100644 (file)
@@ -1933,7 +1933,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(
@@ -1950,8 +1950,8 @@ 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
 ])