Fix CC_FOR_BUILD detection
authorDan Nicholson <dbn.lists@gmail.com>
Wed, 21 Jan 2009 02:52:04 +0000 (18:52 -0800)
committerDan Nicholson <dbn.lists@gmail.com>
Thu, 19 Mar 2009 18:51:09 +0000 (11:51 -0700)
configure.ac

index c71c5bd..fed23c9 100644 (file)
@@ -39,7 +39,7 @@ PKG_PROG_PKG_CONFIG
 
 dnl Build native compiler needed for makekeys
 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
         AC_PATH_PROGS([CC_FOR_BUILD], [gcc cc], [cc])
     else