Browse files

In FP_GCC_VERSION, test $CC not $GCC

$GCC is empty when autoreconf 2.56 or 2.59 is used, although it works
with 2.67. If testing $GCC with 2.5* worked in the past then I'm not
sure when/why it broke.
  • Loading branch information...
1 parent 431e804 commit 95d8658acc946f9a043ef62976d0514c0f1f449e @igfoo igfoo committed Dec 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 aclocal.m4
View
2 aclocal.m4
@@ -1049,7 +1049,7 @@ fi
# output variable GccVersion.
AC_DEFUN([FP_GCC_VERSION],
[AC_REQUIRE([AC_PROG_CC])
-if test -z "$GCC"
+if test -z "$CC"
then
AC_MSG_ERROR([gcc is required])
fi

0 comments on commit 95d8658

Please sign in to comment.