Fix CC_FOR_BUILD detection

master
Dan Nicholson 2009-01-20 18:52:04 -08:00
parent 56c3e7440e
commit 732bade234
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ PKG_PROG_PKG_CONFIG
dnl Build native compiler needed for makekeys dnl Build native compiler needed for makekeys
AC_ARG_VAR([CC_FOR_BUILD], [Build native C compiler program]) AC_ARG_VAR([CC_FOR_BUILD], [Build native C compiler program])
if test "x$CC_FOR_BUILD" != x; then if test "x$CC_FOR_BUILD" = x; then
if test "$cross_compiling" != no; then if test "$cross_compiling" != no; then
AC_PATH_PROGS([CC_FOR_BUILD], [gcc cc], [cc]) AC_PATH_PROGS([CC_FOR_BUILD], [gcc cc], [cc])
else else