gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11645: Don't prevent the QT4 librar


From: Bastiaan Jacques
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11645: Don't prevent the QT4 library tests from running when --with-qt4-incl was specified (should fix bug #26114).
Date: Sun, 22 Nov 2009 15:07:48 +0100
User-agent: Bazaar (1.16.1)

------------------------------------------------------------
revno: 11645
committer: Bastiaan Jacques <address@hidden>
branch nick: trunk
timestamp: Sun 2009-11-22 15:07:48 +0100
message:
  Don't prevent the QT4 library tests from running when --with-qt4-incl was 
specified (should fix bug #26114).
modified:
  macros/qt4.m4
=== modified file 'macros/qt4.m4'
--- a/macros/qt4.m4     2009-03-05 19:32:46 +0000
+++ b/macros/qt4.m4     2009-11-22 14:07:48 +0000
@@ -33,17 +33,19 @@
     fi
   ])                           dnl end of cache ac_cv_path_qt4_incl
 
-  dnl Only run these tests if this version was specified by the user, and they
-  dnl haven't spcified a custom path.
-  if test x"${build_qt4}" = xyes -a x"${ac_cv_path_qt4_incl}" = x; then
-    dnl if QTDIR is set in the users environment, use that, as that's what
-    dnl most QT programmers do, as it's required by the QT build system.
-    if test x$QTDIR != x; then
-      if test -f $QTDIR/include/QtCore/qobject.h; then
-        qt_base=`basename $QTDIR`
-        dnl Only support version 4 in this file.
-        if test x"${qt_base}" != x"qt4"; then
-          AC_MSG_ERROR([Mismatched QT versions! Reset QTDIR in your 
environment!])
+  dnl Only run these tests if this version was specified by the user.
+  if test x"${build_qt4}" = xyes; then
+
+    if test x"${ac_cv_path_qt4_incl}" = x; then
+      dnl if QTDIR is set in the users environment, use that, as that's what
+      dnl most QT programmers do, as it's required by the QT build system.
+      if test x$QTDIR != x; then
+        if test -f $QTDIR/include/QtCore/qobject.h; then
+          qt_base=`basename $QTDIR`
+          dnl Only support version 4 in this file.
+          if test x"${qt_base}" != x"qt4"; then
+            AC_MSG_ERROR([Mismatched QT versions! Reset QTDIR in your 
environment!])
+          fi
         fi
       fi
     fi


reply via email to

[Prev in Thread] Current Thread [Next in Thread]