Prefer Qt3 files in tqt3 directories over files in qt3 directories

pull/1/head
Timothy Pearson 13 years ago
parent 10bae57b29
commit 4e7f0068a5

@ -324,7 +324,7 @@ AC_DEFUN([AC_PATH_QT_MOC_UIC],
fi fi
if test "$kde_qtver" = "3"; then if test "$kde_qtver" = "3"; then
qt_bindirs="/usr/share/qt3/bin $qt_bindirs" qt_bindirs="/usr/share/tqt3/bin /usr/share/qt3/bin $qt_bindirs"
fi fi
if test "$kde_qtver" = "4"; then if test "$kde_qtver" = "4"; then
@ -1349,7 +1349,7 @@ if test $kde_qtver = 4; then
kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4" kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
fi fi
if test $kde_qtver = 3; then if test $kde_qtver = 3; then
kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3 /usr/lib${kdelibsuff}/qt-3.3" kde_qt_dirs="$QTDIR /usr/lib/tqt3 /usr/lib/qt3 /usr/lib/qt /usr/share/tqt3 /usr/share/qt3 /usr/lib${kdelibsuff}/qt-3.3"
if test -z "$PKG_CONFIG"; then if test -z "$PKG_CONFIG"; then
AC_PATH_PROG(PKG_CONFIG, pkg-config, no) AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
fi fi
@ -1608,7 +1608,7 @@ if test "$PKG_CONFIG" != "no" ; then
qt_incdirs="$qt_incdirs `$PKG_CONFIG --variable=includedir qt-mt`" qt_incdirs="$qt_incdirs `$PKG_CONFIG --variable=includedir qt-mt`"
fi fi
fi fi
qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes" qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/include/tqt3 /usr/include/qt3 $x_includes"
if test ! "$ac_qt_includes" = "NO"; then if test ! "$ac_qt_includes" = "NO"; then
qt_incdirs="$ac_qt_includes $qt_incdirs" qt_incdirs="$ac_qt_includes $qt_incdirs"
fi fi
@ -5945,7 +5945,7 @@ if test "${with_qt_dir+set}" = set; then
kde_qtdir="$with_qt_dir" kde_qtdir="$with_qt_dir"
fi fi
AC_FIND_FILE(qsql.html, [ $kde_qtdir/doc/html $QTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/qt/doc /usr/lib/qt3/doc /usr/lib/qt3/doc/html /usr/doc/qt3/html /usr/doc/qt3 /usr/share/doc/qt3-doc /usr/share/qt3/doc/html /usr/X11R6/share/doc/qt/html ], QTDOCDIR) AC_FIND_FILE(qsql.html, [ $kde_qtdir/doc/html $QTDIR/doc/html /usr/share/doc/packages/tqt3/html /usr/share/doc/packages/qt3/html /usr/lib/qt/doc /usr/lib/tqt3/doc /usr/lib/qt3/doc /usr/lib/tqt3/doc/html /usr/lib/qt3/doc/html /usr/doc/tqt3/html /usr/doc/qt3/html /usr/doc/tqt3 /usr/doc/qt3 /usr/share/doc/tqt3-doc /usr/share/doc/qt3-doc /usr/share/tqt3/doc/html /usr/share/qt3/doc/html /usr/X11R6/share/doc/qt/html ], QTDOCDIR)
AC_MSG_RESULT($QTDOCDIR) AC_MSG_RESULT($QTDOCDIR)
AC_SUBST(QTDOCDIR) AC_SUBST(QTDOCDIR)

@ -12,7 +12,7 @@ $sysconfdir = "/etc";
$kde_includedir = "$kde_prefix/include/kde"; $kde_includedir = "$kde_prefix/include/kde";
$infodir = "$kde_prefix/share/info"; $infodir = "$kde_prefix/share/info";
$mandir = "$kde_prefix/share/man"; $mandir = "$kde_prefix/share/man";
$qtdir = "/usr/share/qt3"; $qtdir = "/usr/share/tqt3";
$kde_cgidir = "$kde_prefix/lib/cgi-bin"; $kde_cgidir = "$kde_prefix/lib/cgi-bin";
$kde_confdir = "$sysconfdir/trinity"; $kde_confdir = "$sysconfdir/trinity";

Loading…
Cancel
Save