2009-06-16 Pavel Roskin <proski@gnu.org>

* configure.ac: Avoid '==' in test command, it's not portable.
This commit is contained in:
proski 2009-06-15 22:45:17 +00:00
parent 9c6f459688
commit c9da87d0f3
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2009-06-16 Pavel Roskin <proski@gnu.org>
* configure.ac: Avoid '==' in test command, it's not portable.
2009-06-16 Vladimir Serbinenko <phcoder@gmail.com> 2009-06-16 Vladimir Serbinenko <phcoder@gmail.com>
Probe command Probe command

View file

@ -164,7 +164,7 @@ AC_CHECK_SIZEOF(void *)
AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(long)
grub_apple_cc 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" CFLAGS="$CFLAGS -DAPPLE_CC=1 -fnested-functions"
ASFLAGS="$ASFLAGS -DAPPLE_CC=1" ASFLAGS="$ASFLAGS -DAPPLE_CC=1"
fi fi
@ -273,7 +273,7 @@ if test "x$TARGET_CFLAGS" = x; then
fi fi
grub_apple_target_cc 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" TARGET_CFLAGS="$TARGET_CFLAGS -DAPPLE_CC=1 -fnested-functions"
CFLAGS="$CFLAGS -DAPPLE_CC=1 -fnested-functions" CFLAGS="$CFLAGS -DAPPLE_CC=1 -fnested-functions"
TARGET_ASFLAGS="$TARGET_ASFLAGS -DAPPLE_CC=1" TARGET_ASFLAGS="$TARGET_ASFLAGS -DAPPLE_CC=1"