qt_includes => tqt_includes conversion

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 6 years ago
parent 1ef3c372f3
commit ba8d0e5c97
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1177,7 +1177,7 @@ ac_cxxflags_safe="$CXXFLAGS"
ac_ldflags_safe="$LDFLAGS" ac_ldflags_safe="$LDFLAGS"
ac_libs_safe="$LIBS" ac_libs_safe="$LIBS"
CXXFLAGS="$CXXFLAGS -I$qt_includes" CXXFLAGS="$CXXFLAGS -I$tqt_includes"
LDFLAGS="$LDFLAGS $X_LDFLAGS" LDFLAGS="$LDFLAGS $X_LDFLAGS"
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET" LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
@ -1349,12 +1349,12 @@ AC_MSG_CHECKING([for Qt])
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET" LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
fi fi
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO ac_tqt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
qt_libraries="" qt_libraries=""
qt_includes="" tqt_includes=""
AC_ARG_WITH(qt-dir, AC_ARG_WITH(qt-dir,
[ --with-qt-dir=DIR where the root of Qt is installed ], [ --with-qt-dir=DIR where the root of Qt is installed ],
[ ac_qt_includes="$withval"/include [ ac_tqt_includes="$withval"/include
ac_qt_libraries="$withval"/lib${tdelibsuff} ac_qt_libraries="$withval"/lib${tdelibsuff}
ac_qt_bindir="$withval"/bin ac_qt_bindir="$withval"/bin
]) ])
@ -1362,7 +1362,7 @@ AC_ARG_WITH(qt-dir,
AC_ARG_WITH(qt-includes, AC_ARG_WITH(qt-includes,
[ --with-qt-includes=DIR where the Qt includes are. ], [ --with-qt-includes=DIR where the Qt includes are. ],
[ [
ac_qt_includes="$withval" ac_tqt_includes="$withval"
]) ])
kde_qt_libs_given=no kde_qt_libs_given=no
@ -1381,8 +1381,8 @@ for dir in $kde_qt_dirs; do
qt_incdirs="$qt_incdirs $dir/include $dir" qt_incdirs="$qt_incdirs $dir/include $dir"
done done
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/qt3 $x_includes"
if test ! "$ac_qt_includes" = "NO"; then if test ! "$ac_tqt_includes" = "NO"; then
qt_incdirs="$ac_qt_includes $qt_incdirs" qt_incdirs="$ac_tqt_includes $qt_incdirs"
fi fi
if test "$kde_qtver" != "1"; then if test "$kde_qtver" != "1"; then
@ -1392,7 +1392,7 @@ else
fi fi
AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir) AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir)
ac_qt_includes="$qt_incdir" ac_tqt_includes="$qt_incdir"
qt_libdirs="" qt_libdirs=""
for dir in $kde_qt_dirs; do for dir in $kde_qt_dirs; do
@ -1445,11 +1445,11 @@ LDFLAGS="$ac_ldflags_safe"
LIBS="$ac_libs_safe" LIBS="$ac_libs_safe"
AC_LANG_RESTORE AC_LANG_RESTORE
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then if test "$ac_tqt_includes" = NO || test "$ac_qt_libraries" = NO; then
ac_cv_have_qt="have_qt=no" ac_cv_have_qt="have_qt=no"
ac_qt_notfound="" ac_qt_notfound=""
missing_qt_mt="" missing_qt_mt=""
if test "$ac_qt_includes" = NO; then if test "$ac_tqt_includes" = NO; then
if test "$ac_qt_libraries" = NO; then if test "$ac_qt_libraries" = NO; then
ac_qt_notfound="(headers and libraries)"; ac_qt_notfound="(headers and libraries)";
else else
@ -1478,11 +1478,11 @@ if test "$have_qt" != yes; then
AC_MSG_RESULT([$have_qt]); AC_MSG_RESULT([$have_qt]);
else else
ac_cv_have_qt="have_qt=yes \ ac_cv_have_qt="have_qt=yes \
ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries" ac_tqt_includes=$ac_tqt_includes ac_qt_libraries=$ac_qt_libraries"
AC_MSG_RESULT([libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT]) AC_MSG_RESULT([libraries $ac_qt_libraries, headers $ac_tqt_includes $USING_QT_MT])
qt_libraries="$ac_qt_libraries" qt_libraries="$ac_qt_libraries"
qt_includes="$ac_qt_includes" tqt_includes="$ac_tqt_includes"
fi fi
if test ! "$kde_qt_libs_given" = "yes"; then if test ! "$kde_qt_libs_given" = "yes"; then
@ -1490,12 +1490,12 @@ KDE_CHECK_QT_DIRECT(qt_libraries= ,[])
fi fi
AC_SUBST(qt_libraries) AC_SUBST(qt_libraries)
AC_SUBST(qt_includes) AC_SUBST(tqt_includes)
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then if test "$tqt_includes" = "$x_includes" || test -z "$tqt_includes"; then
TQT_INCLUDES="" TQT_INCLUDES=""
else else
TQT_INCLUDES="-I$qt_includes" TQT_INCLUDES="-I$tqt_includes"
all_includes="$TQT_INCLUDES $all_includes" all_includes="$TQT_INCLUDES $all_includes"
fi fi
@ -1688,7 +1688,7 @@ fi
if test -z "$1"; then if test -z "$1"; then
kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/tde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes" kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/tde /usr/include /opt/kde3/include /opt/kde/include $x_includes $tqt_includes"
test -n "$TDEDIR" && kde_incdirs="$TDEDIR/include $TDEDIR/include/tde $TDEDIR $kde_incdirs" test -n "$TDEDIR" && kde_incdirs="$TDEDIR/include $TDEDIR/include/tde $TDEDIR $kde_incdirs"
kde_incdirs="$ac_kde_includes $kde_incdirs" kde_incdirs="$ac_kde_includes $kde_incdirs"
AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir) AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)
@ -1771,7 +1771,7 @@ fi
AC_SUBST(kde_libraries) AC_SUBST(kde_libraries)
AC_SUBST(kde_includes) AC_SUBST(kde_includes)
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$tqt_includes" || test "$kde_includes" = "/usr/include"; then
KDE_INCLUDES="" KDE_INCLUDES=""
else else
KDE_INCLUDES="-I$kde_includes" KDE_INCLUDES="-I$kde_includes"

36
aclocal.m4 vendored

@ -1189,7 +1189,7 @@ ac_cxxflags_safe="$CXXFLAGS"
ac_ldflags_safe="$LDFLAGS" ac_ldflags_safe="$LDFLAGS"
ac_libs_safe="$LIBS" ac_libs_safe="$LIBS"
CXXFLAGS="$CXXFLAGS -I$qt_includes" CXXFLAGS="$CXXFLAGS -I$tqt_includes"
LDFLAGS="$LDFLAGS $X_LDFLAGS" LDFLAGS="$LDFLAGS $X_LDFLAGS"
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET" LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
@ -1361,12 +1361,12 @@ AC_MSG_CHECKING([for Qt])
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET" LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
fi fi
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO ac_tqt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
qt_libraries="" qt_libraries=""
qt_includes="" tqt_includes=""
AC_ARG_WITH(qt-dir, AC_ARG_WITH(qt-dir,
[ --with-qt-dir=DIR where the root of Qt is installed ], [ --with-qt-dir=DIR where the root of Qt is installed ],
[ ac_qt_includes="$withval"/include [ ac_tqt_includes="$withval"/include
ac_qt_libraries="$withval"/lib${tdelibsuff} ac_qt_libraries="$withval"/lib${tdelibsuff}
ac_qt_bindir="$withval"/bin ac_qt_bindir="$withval"/bin
]) ])
@ -1374,7 +1374,7 @@ AC_ARG_WITH(qt-dir,
AC_ARG_WITH(qt-includes, AC_ARG_WITH(qt-includes,
[ --with-qt-includes=DIR where the Qt includes are. ], [ --with-qt-includes=DIR where the Qt includes are. ],
[ [
ac_qt_includes="$withval" ac_tqt_includes="$withval"
]) ])
kde_qt_libs_given=no kde_qt_libs_given=no
@ -1393,8 +1393,8 @@ for dir in $kde_qt_dirs; do
qt_incdirs="$qt_incdirs $dir/include $dir" qt_incdirs="$qt_incdirs $dir/include $dir"
done done
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/qt3 $x_includes"
if test ! "$ac_qt_includes" = "NO"; then if test ! "$ac_tqt_includes" = "NO"; then
qt_incdirs="$ac_qt_includes $qt_incdirs" qt_incdirs="$ac_tqt_includes $qt_incdirs"
fi fi
if test "$kde_qtver" != "1"; then if test "$kde_qtver" != "1"; then
@ -1404,7 +1404,7 @@ else
fi fi
AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir) AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir)
ac_qt_includes="$qt_incdir" ac_tqt_includes="$qt_incdir"
qt_libdirs="" qt_libdirs=""
for dir in $kde_qt_dirs; do for dir in $kde_qt_dirs; do
@ -1457,11 +1457,11 @@ LDFLAGS="$ac_ldflags_safe"
LIBS="$ac_libs_safe" LIBS="$ac_libs_safe"
AC_LANG_RESTORE AC_LANG_RESTORE
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then if test "$ac_tqt_includes" = NO || test "$ac_qt_libraries" = NO; then
ac_cv_have_qt="have_qt=no" ac_cv_have_qt="have_qt=no"
ac_qt_notfound="" ac_qt_notfound=""
missing_qt_mt="" missing_qt_mt=""
if test "$ac_qt_includes" = NO; then if test "$ac_tqt_includes" = NO; then
if test "$ac_qt_libraries" = NO; then if test "$ac_qt_libraries" = NO; then
ac_qt_notfound="(headers and libraries)"; ac_qt_notfound="(headers and libraries)";
else else
@ -1490,11 +1490,11 @@ if test "$have_qt" != yes; then
AC_MSG_RESULT([$have_qt]); AC_MSG_RESULT([$have_qt]);
else else
ac_cv_have_qt="have_qt=yes \ ac_cv_have_qt="have_qt=yes \
ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries" ac_tqt_includes=$ac_tqt_includes ac_qt_libraries=$ac_qt_libraries"
AC_MSG_RESULT([libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT]) AC_MSG_RESULT([libraries $ac_qt_libraries, headers $ac_tqt_includes $USING_QT_MT])
qt_libraries="$ac_qt_libraries" qt_libraries="$ac_qt_libraries"
qt_includes="$ac_qt_includes" tqt_includes="$ac_tqt_includes"
fi fi
if test ! "$kde_qt_libs_given" = "yes"; then if test ! "$kde_qt_libs_given" = "yes"; then
@ -1502,12 +1502,12 @@ KDE_CHECK_QT_DIRECT(qt_libraries= ,[])
fi fi
AC_SUBST(qt_libraries) AC_SUBST(qt_libraries)
AC_SUBST(qt_includes) AC_SUBST(tqt_includes)
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then if test "$tqt_includes" = "$x_includes" || test -z "$tqt_includes"; then
TQT_INCLUDES="" TQT_INCLUDES=""
else else
TQT_INCLUDES="-I$qt_includes" TQT_INCLUDES="-I$tqt_includes"
all_includes="$TQT_INCLUDES $all_includes" all_includes="$TQT_INCLUDES $all_includes"
fi fi
@ -1700,7 +1700,7 @@ fi
if test -z "$1"; then if test -z "$1"; then
kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/tde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes" kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/tde /usr/include /opt/kde3/include /opt/kde/include $x_includes $tqt_includes"
test -n "$TDEDIR" && kde_incdirs="$TDEDIR/include $TDEDIR/include/tde $TDEDIR $kde_incdirs" test -n "$TDEDIR" && kde_incdirs="$TDEDIR/include $TDEDIR/include/tde $TDEDIR $kde_incdirs"
kde_incdirs="$ac_kde_includes $kde_incdirs" kde_incdirs="$ac_kde_includes $kde_incdirs"
AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir) AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)
@ -1783,7 +1783,7 @@ fi
AC_SUBST(kde_libraries) AC_SUBST(kde_libraries)
AC_SUBST(kde_includes) AC_SUBST(kde_includes)
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$tqt_includes" || test "$kde_includes" = "/usr/include"; then
KDE_INCLUDES="" KDE_INCLUDES=""
else else
KDE_INCLUDES="-I$kde_includes" KDE_INCLUDES="-I$kde_includes"

Loading…
Cancel
Save