]> git.alsa-project.org Git - alsa-tools.git/commitdiff
qlo10k1 - add --enable-qtforce32 switch (post 1.0.14 stuff)
authorJaroslav Kysela <perex@perex.cz>
Mon, 4 Jun 2007 11:49:12 +0000 (13:49 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 4 Jun 2007 11:49:12 +0000 (13:49 +0200)
qlo10k1/acinclude.m4

index 67e22e23aa61c540bfb3697a2a1f4d9be95a9081..9b2c11a642b0e46778e6c1fda7c8d47499d54db1 100644 (file)
@@ -18,6 +18,10 @@ if test x"$QTDIR" = x ; then
 fi
 AC_MSG_RESULT([$QTDIR])
 
+AC_MSG_CHECKING([QTFORCE32])
+AC_ARG_ENABLE([qtforce32], [  --enable-qtforce32      Force search for 32-bit Qt libraries], [QTFORCE32="$enableval"], [QTFORCE32="no"])
+AC_MSG_RESULT([$QTFORCE32])
+
 # Change backslashes in QTDIR to forward slashes to prevent escaping
 # problems later on in the build process, mainly for Cygwin build
 # environment using MSVC as the compiler
@@ -99,7 +103,7 @@ case "${host}" in
             if test "x$QT_IS_DYNAMIC" = x && test "x$QT_IS_DYNAMIC64" = x;  then
                 AC_MSG_ERROR([*** Couldn't find any Qt libraries])
             fi
-            if test "x$QT_IS_DYNAMIC64" != x;  then
+            if test "$QTFORCE32" = "no" && test "x$QT_IS_DYNAMIC64" != x;  then
                QT_LIB_DIR="lib64"
             fi
         fi