From c9da87d0f3c8507f5a30d2ca3850007bb2ce4399 Mon Sep 17 00:00:00 2001 From: proski Date: Mon, 15 Jun 2009 22:45:17 +0000 Subject: [PATCH] 2009-06-16 Pavel Roskin * configure.ac: Avoid '==' in test command, it's not portable. --- ChangeLog | 4 ++++ configure.ac | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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"