]> rtime.felk.cvut.cz Git - CanFestival-3.git/commitdiff
little fix on arch detection when using mingw32-only compiler from within cygwin...
authoretisserant <etisserant>
Fri, 1 Feb 2008 17:01:05 +0000 (17:01 +0000)
committeretisserant <etisserant>
Fri, 1 Feb 2008 17:01:05 +0000 (17:01 +0000)
configure

index a553f562dc77e1873e5ea1ace7413ab3149893a8..c3c0d70442942cb7f76d30c5c199896daff566c3 100755 (executable)
--- 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