mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-04-26 10:10:42 +02:00
applied patch by Timo Hoenig <thoenig at suse de> for better Qt 3 detection
This commit is contained in:
parent
2b9417707a
commit
396b9c9e70
1 changed files with 4 additions and 4 deletions
|
|
@ -933,10 +933,10 @@ AC_SUBST(DBUS_GTK_THREADS_LIBS)
|
|||
dnl Qt3 detection
|
||||
AC_PATH_PROG(QT3_MOC, moc, no)
|
||||
|
||||
have_qt=no
|
||||
have_qt3=no
|
||||
AC_MSG_CHECKING([for qglobal.h])
|
||||
if test -n "$QTDIR" -a -f "$QTDIR/include/qglobal.h"; then
|
||||
have_qt=yes
|
||||
have_qt3=yes
|
||||
DBUS_QT3_CXXFLAGS="-I$QTDIR/include"
|
||||
else
|
||||
for dir in "${prefix}/include/qt" "/usr/include/qt-3.1" "/usr/include/qt3" "/usr/include/qt" "/usr/lib/qt/include" "/usr/lib/qt-3.1/include"; do
|
||||
|
|
@ -947,13 +947,13 @@ else
|
|||
fi
|
||||
done
|
||||
fi
|
||||
if test x"$have_qt3" = x"yes"; then
|
||||
if test x$have_qt3 = xyes; then
|
||||
AC_MSG_RESULT([found])
|
||||
else
|
||||
AC_MSG_RESULT([not found])
|
||||
fi
|
||||
|
||||
if test x$have_qt3 = xno ; then
|
||||
if test x$have_qt3 = xno; then
|
||||
AC_MSG_WARN([Qt3 development libraries not found])
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue