summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e4645bd..7effa43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,7 +42,7 @@ AC_HEADER_STDC
TARGET_CC='${CC}'
else]
AC_CHECK_PROG([TARGET_CC], [$target_alias-gcc], [$target_alias-gcc], [none])
- [if [ x"$TARGET_CC" != x"$target_alias"-gcc ]; then]
+ [if [ x"$TARGET_CC" = xnone ]; then]
AC_MSG_ERROR([could not find a compiler for the target you requested])
[fi
fi]