From 7f0310f4ae22345c44215304a6ffe14126c156ee Mon Sep 17 00:00:00 2001 From: etisserant Date: Fri, 1 Feb 2008 17:01:05 +0000 Subject: [PATCH] little fix on arch detection when using mingw32-only compiler from within cygwin's bash --- configure | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/configure b/configure index a553f56..c3c0d70 100755 --- a/configure +++ b/configure @@ -223,14 +223,19 @@ if [ "$A_NAME" = "arm" ]; then SUB_ARCH_NAME=arm fi +# mingw32 +if [ "$A_NAME" = "mingw32" ]; then + SUB_ARCH_NAME=mingw32 +fi + if [ "$SUB_ARCH_NAME" = "" ]; then echo "Error: could not detect what architecture this system is running!" echo "Please supply manually instead with \"--arch=foo\"" exit -1 fi -echo "Using OS: ${SUB_OS_NAME}" -echo "Using architecture: ${SUB_ARCH_NAME}" +echo "Host OS: ${SUB_OS_NAME}" +echo "Host arch: ${SUB_ARCH_NAME}" if [ "$SUB_ARCH_NAME" = "x86_64" -a "$CC" = "gcc" ]; then # Only if we are on x86_64 and using gcc -- 2.39.2