From: Jaroslav Kysela Date: Mon, 4 Jun 2007 11:49:12 +0000 (+0200) Subject: qlo10k1 - add --enable-qtforce32 switch (post 1.0.14 stuff) X-Git-Tag: v1.0.15~4 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=f98434ac4ca1db7d5579df9809a4896edf97beeb;p=alsa-tools.git qlo10k1 - add --enable-qtforce32 switch (post 1.0.14 stuff) --- diff --git a/qlo10k1/acinclude.m4 b/qlo10k1/acinclude.m4 index 67e22e2..9b2c11a 100644 --- a/qlo10k1/acinclude.m4 +++ b/qlo10k1/acinclude.m4 @@ -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