[uim-commit] r475 - trunk

kzk at freedesktop.org kzk at freedesktop.org
Wed Feb 2 01:24:14 PST 2005


Author: kzk
Date: 2005-02-02 01:24:11 -0800 (Wed, 02 Feb 2005)
New Revision: 475

Modified:
   trunk/configure.ac
Log:
* configure.ac
  - guess $QTDIR and $QTINCDIR more properly
    Thank you for reportin, tkng-san!


Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2005-02-02 07:40:55 UTC (rev 474)
+++ trunk/configure.ac	2005-02-02 09:24:11 UTC (rev 475)
@@ -395,14 +395,32 @@
     QT_VERSION=3.2.0
     QT_VERSION_NUM=320
 
+    # GUESS $QTDIR
     if test -z "$QTDIR"; then
+      QTDIR="/usr/lib/qt3"
+    fi
+    if test -z "$QTDIR"; then
+      QTDIR="/usr/lib/qt"
+    fi
+    if test -z "$QTDIR"; then
+      QTDIR="/usr/share/qt3"
+    fi
+    if test -z "$QTDIR"; then
       QTDIR="/usr"
     fi
+
+    # GUESS $QTINCDIR
     QTINCDIR="/include/qt"
     if test ! -d "$QTDIR$QTINCDIR"; then
        QTINCDIR="/include/X11/qt"
     fi
     if test ! -d "$QTDIR$QTINCDIR"; then
+       QTINCDIR="/include/qt3"
+    fi
+    if test ! -d "$QTDIR$QTINCDIR"; then
+       QTINCDIR="/include/qt"
+    fi
+    if test ! -d "$QTDIR$QTINCDIR"; then
        QTINCDIR="/include"
     fi
 



More information about the Uim-commit mailing list