summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-02-02 11:07:22 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-02-02 11:07:24 +0100
commitd9d2d5936e71e65e8f35ca79cae3f07c00db3515 (patch)
tree5d01f349e882e01ee1b736924ac63a08073d833b
parente5c3fa44fb75b23dc7100202e52f3d4366447851 (diff)
Accept non-canonical cross-compilersHEADmaster
to let people use gnu 32bit compilers from e.g. Linux
-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]