|
|
|
@ -987,8 +987,8 @@ fi
|
|
|
|
|
LIB_XEXT="-lXext"
|
|
|
|
|
TQTE_NORTTI=""
|
|
|
|
|
|
|
|
|
|
CFLAGS="$CFLAGS -I/usr/include/tqt"
|
|
|
|
|
CXXFLAGS="$CXXFLAGS -I/usr/include/tqt"
|
|
|
|
|
CFLAGS="$CFLAGS -I/usr/include/tqt3 -I/usr/include/tqt"
|
|
|
|
|
CXXFLAGS="$CXXFLAGS -I/usr/include/tqt3 -I/usr/include/tqt"
|
|
|
|
|
|
|
|
|
|
elif test "$kde_use_tqt_emb" = "yes"; then
|
|
|
|
|
dnl We're using TQT Embedded
|
|
|
|
@ -1044,16 +1044,8 @@ if $PKG_CONFIG --exists tqt-mt ; then
|
|
|
|
|
cat >> conftest.$ac_ext <<EOF
|
|
|
|
|
#include <tqglobal.h>
|
|
|
|
|
#include <tqapplication.h>
|
|
|
|
|
EOF
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if test "$kde_tqtver" = "3"; then
|
|
|
|
|
if $PKG_CONFIG --exists tqt-mt ; then
|
|
|
|
|
cat >> conftest.$ac_ext <<EOF
|
|
|
|
|
#include <tqcursor.h>
|
|
|
|
|
#include <tqstylefactory.h>
|
|
|
|
|
#include <tqucomextra_p.h>
|
|
|
|
|
EOF
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
@ -1381,17 +1373,13 @@ if test "$PKG_CONFIG" != "no" ; then
|
|
|
|
|
tqt_incdirs="$tqt_incdirs `$PKG_CONFIG --variable=includedir tqt-mt`"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
tqt_incdirs="$TQTINC $tqt_incdirs /usr/include/tqt3 /usr/include /usr/X11R6/include/X11/tqt /usr/X11R6/include/tqt $x_includes"
|
|
|
|
|
tqt_incdirs="$TQTINC $tqt_incdirs /usr/include/tqt3 /usr/include/tqt /usr/include /usr/X11R6/include/X11/tqt /usr/X11R6/include/tqt $x_includes"
|
|
|
|
|
if test ! "$ac_tqt_includes" = "NO"; then
|
|
|
|
|
tqt_incdirs="$ac_tqt_includes $tqt_incdirs"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
kde_tqt_header=ntqstyle.h
|
|
|
|
|
|
|
|
|
|
kde_tqt_header=tqstyle.h
|
|
|
|
|
AC_FIND_FILE($kde_tqt_header, $tqt_incdirs, tqt_incdir)
|
|
|
|
|
if test "$tqt_incdir" = "NO"; then
|
|
|
|
|
AC_FIND_FILE($kde_tqt_header, $tqt_incdirs, tqt_incdir)
|
|
|
|
|
fi
|
|
|
|
|
ac_tqt_includes="$tqt_incdir"
|
|
|
|
|
|
|
|
|
|
tqt_libdirs=""
|
|
|
|
@ -4895,7 +4883,7 @@ AC_DEFINE_UNQUOTED(KDEMAXPATHLEN,$ac_cv_maxpathlen, [Define a safe value for MAX
|
|
|
|
|
AC_DEFUN([KDE_CHECK_HEADER],
|
|
|
|
|
[
|
|
|
|
|
kde_safe_cppflags=$CPPFLAGS
|
|
|
|
|
CPPFLAGS="$CPPFLAGS $all_includes -I$kde_incdir/tde -I/usr/include/tqt"
|
|
|
|
|
CPPFLAGS="$CPPFLAGS $all_includes -I$kde_incdir/tde -I/usr/include/tqt3 -I/usr/include/tqt"
|
|
|
|
|
AC_LANG_SAVE
|
|
|
|
|
AC_LANG_CPLUSPLUS
|
|
|
|
|
AC_CHECK_HEADER([$1], [$2], [$3], [$4])
|
|
|
|
@ -4908,7 +4896,7 @@ AC_DEFUN([KDE_CHECK_HEADERS],
|
|
|
|
|
AH_CHECK_HEADERS_TDE([$1])
|
|
|
|
|
AC_LANG_SAVE
|
|
|
|
|
kde_safe_cppflags=$CPPFLAGS
|
|
|
|
|
CPPFLAGS="$CPPFLAGS $all_includes -I$kde_incdir/tde -I/usr/include/tqt"
|
|
|
|
|
CPPFLAGS="$CPPFLAGS $all_includes -I$kde_incdir/tde -I/usr/include/tqt3 -I/usr/include/tqt"
|
|
|
|
|
AC_LANG_CPLUSPLUS
|
|
|
|
|
AC_CHECK_HEADERS([$1], [$2], [$3], [$4])
|
|
|
|
|
CPPFLAGS=$kde_safe_cppflags
|
|
|
|
@ -5549,7 +5537,7 @@ if test "${with_tqt_dir+set}" = set; then
|
|
|
|
|
kde_tqtdir="$with_tqt_dir"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
AC_FIND_FILE(ntqsql.html, [ $kde_tqtdir/doc/html $TQTDIR/doc/html /usr/share/doc/packages/tqt3/html /usr/lib/tqt3/doc /usr/lib/tqt3/doc/html /usr/doc/tqt3/html /usr/doc/tqt3 /usr/share/doc/tqt3-doc /usr/share/tqt3/doc/html /usr/X11R6/share/doc/tqt/html ], TQTDOCDIR)
|
|
|
|
|
AC_FIND_FILE(tqsql.html, [ $kde_tqtdir/doc/html $TQTDIR/doc/html /usr/share/doc/packages/tqt3/html /usr/lib/tqt3/doc /usr/lib/tqt3/doc/html /usr/doc/tqt3/html /usr/doc/tqt3 /usr/share/doc/tqt3-doc /usr/share/tqt3/doc/html /usr/X11R6/share/doc/tqt/html ], TQTDOCDIR)
|
|
|
|
|
AC_MSG_RESULT($TQTDOCDIR)
|
|
|
|
|
|
|
|
|
|
AC_SUBST(TQTDOCDIR)
|
|
|
|
@ -5570,7 +5558,7 @@ AC_SUBST(DOXYGEN_PROJECT_NAME)
|
|
|
|
|
AC_SUBST(DOXYGEN_PROJECT_NUMBER)
|
|
|
|
|
|
|
|
|
|
KDE_HAS_DOXYGEN=no
|
|
|
|
|
if test -n "$DOXYGEN" && test -x "$DOXYGEN" && test -f $TQTDOCDIR/ntqsql.html; then
|
|
|
|
|
if test -n "$DOXYGEN" && test -x "$DOXYGEN" && test -f $TQTDOCDIR/tqsql.html; then
|
|
|
|
|
KDE_HAS_DOXYGEN=yes
|
|
|
|
|
fi
|
|
|
|
|
AC_SUBST(KDE_HAS_DOXYGEN)
|
|
|
|
|