* acinclude.m4 (grub_apple_cc): Remove; since the removal of nested
authorColin Watson <cjwatson@ubuntu.com>
Wed, 13 Nov 2013 12:01:39 +0000 (12:01 +0000)
committerColin Watson <cjwatson@ubuntu.com>
Wed, 13 Nov 2013 12:01:39 +0000 (12:01 +0000)
functions, we only need to check this for the target, not the host.
* configure.ac (grub_apple_cc): Likewise.

ChangeLog
acinclude.m4
configure.ac

index a922515..b501a0d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-11-13  Colin Watson  <cjwatson@ubuntu.com>
+
+       * acinclude.m4 (grub_apple_cc): Remove; since the removal of nested
+       functions, we only need to check this for the target, not the host.
+       * configure.ac (grub_apple_cc): Likewise.
+
 2013-11-13  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/kern/arm/cache.c (probe_caches): Move asm part to ...
index 3d6ffb9..ecbde95 100644 (file)
@@ -222,21 +222,6 @@ rm -f conftest*])
 
 AC_MSG_RESULT([$grub_cv_i386_asm_addr32])])
 
-dnl check if our compiler is apple cc
-dnl because it requires numerous workarounds
-AC_DEFUN([grub_apple_cc],
-[AC_REQUIRE([AC_PROG_CC])
-AC_MSG_CHECKING([whether our compiler is apple cc])
-AC_CACHE_VAL(grub_cv_apple_cc,
-[if $CC -v 2>&1 | grep "Apple Inc." > /dev/null; then
-  grub_cv_apple_cc=yes
-else
-  grub_cv_apple_cc=no
-fi
-])
-
-AC_MSG_RESULT([$grub_cv_apple_cc])])
-
 dnl check if our target compiler is apple cc
 dnl because it requires numerous workarounds
 AC_DEFUN([grub_apple_target_cc],
index e599377..00d88e2 100644 (file)
@@ -349,8 +349,6 @@ case "$host_os" in
    ;;
 esac
 
-grub_apple_cc
-
 if test x$USE_NLS = xno; then
   HOST_CFLAGS="$HOST_CFLAGS -fno-builtin-gettext"
 fi