diff --git a/ChangeLog b/ChangeLog index e86f95237..5549c4cfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-06-16 Pavel Roskin + + * configure.ac: Avoid '==' in test command, it's not portable. + 2009-06-16 Vladimir Serbinenko Probe command diff --git a/configure.ac b/configure.ac index b0f7bb728..371c32d03 100644 --- a/configure.ac +++ b/configure.ac @@ -164,7 +164,7 @@ AC_CHECK_SIZEOF(void *) AC_CHECK_SIZEOF(long) grub_apple_cc -if test x$grub_cv_apple_cc == xyes ; then +if test x$grub_cv_apple_cc = xyes ; then CFLAGS="$CFLAGS -DAPPLE_CC=1 -fnested-functions" ASFLAGS="$ASFLAGS -DAPPLE_CC=1" fi @@ -273,7 +273,7 @@ if test "x$TARGET_CFLAGS" = x; then fi grub_apple_target_cc -if test x$grub_cv_apple_target_cc == xyes ; then +if test x$grub_cv_apple_target_cc = xyes ; then TARGET_CFLAGS="$TARGET_CFLAGS -DAPPLE_CC=1 -fnested-functions" CFLAGS="$CFLAGS -DAPPLE_CC=1 -fnested-functions" TARGET_ASFLAGS="$TARGET_ASFLAGS -DAPPLE_CC=1"