summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-23 19:31:06 +0900
committerMichele Calgaro <[email protected]>2024-02-23 19:31:06 +0900
commitc295d595e9249794cf3c553e452a3341103c6e09 (patch)
tree37fcf862a483278b0e06efdb320ebddd7b2856ca /acinclude.m4
parentc6f6aa86d3d66887d4a8384b87dca8f8b26e65b6 (diff)
downloadkrecipes-c295d595e9249794cf3c553e452a3341103c6e09.tar.gz
krecipes-c295d595e9249794cf3c553e452a3341103c6e09.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m498
1 files changed, 49 insertions, 49 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index acc1c4b..8be8c96 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -241,8 +241,8 @@ AC_DEFUN([KDE_FIND_PATH],
AC_DEFUN([KDE_MOC_ERROR_MESSAGE],
[
- AC_MSG_ERROR([No Qt meta object compiler (moc) found!
-Please check whether you installed Qt correctly.
+ AC_MSG_ERROR([No TQt meta object compiler (moc) found!
+Please check whether you installed TQt correctly.
You need to have a running moc binary.
configure tried to run $ac_cv_path_moc and the test didn't
succeed. If configure shouldn't have tried this one, set
@@ -253,8 +253,8 @@ configure.
AC_DEFUN([KDE_UIC_ERROR_MESSAGE],
[
- AC_MSG_WARN([No Qt ui compiler (uic) found!
-Please check whether you installed Qt correctly.
+ AC_MSG_WARN([No TQt ui compiler (uic) found!
+Please check whether you installed TQt correctly.
You need to have a running uic binary.
configure tried to run $ac_cv_path_uic and the test didn't
succeed. If configure shouldn't have tried this one, set
@@ -306,7 +306,7 @@ AC_DEFUN([AC_PATH_TQT_MOC_UIC],
for dir in $kde_qt_dirs; do
qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
done
- qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
+ qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/tqt/bin"
if test ! "$ac_qt_bindir" = "NO"; then
qt_bindirs="$ac_qt_bindir $qt_bindirs"
fi
@@ -378,7 +378,7 @@ if AC_TRY_EVAL(ac_link) && test -s conftest; then
else
AC_MSG_ERROR([your system fails at linking a small KDE application!
Check, if your compiler is installed correctly and if you have used the
-same compiler to compile Qt and tdelibs as you did use now.
+same compiler to compile TQt and tdelibs as you did use now.
For more details about this problem, look at the end of config.log.])
fi
@@ -854,21 +854,21 @@ AC_REQUIRE([KDE_CHECK_LIB64])
AC_ARG_ENABLE(
embedded,
- AC_HELP_STRING([--enable-embedded],[link to Qt-embedded, don't use X]),
+ AC_HELP_STRING([--enable-embedded],[link to TQt-embedded, don't use X]),
kde_use_qt_emb=$enableval,
kde_use_qt_emb=no
)
AC_ARG_ENABLE(
qtopia,
- AC_HELP_STRING([--enable-qtopia],[link to Qt-embedded, link to the Qtopia Environment]),
+ AC_HELP_STRING([--enable-qtopia],[link to TQt-embedded, link to the Qtopia Environment]),
kde_use_qt_emb_palm=$enableval,
kde_use_qt_emb_palm=no
)
AC_ARG_ENABLE(
mac,
- AC_HELP_STRING([--enable-mac],[link to Qt/Mac (don't use X)]),
+ AC_HELP_STRING([--enable-mac],[link to TQt/Mac (don't use X)]),
kde_use_qt_mac=$enableval,
kde_use_qt_mac=no
)
@@ -1026,7 +1026,7 @@ LIB_XEXT="-lXext"
QTE_NORTTI=""
elif test "$kde_use_qt_emb" = "yes"; then
- dnl We're using QT Embedded
+ dnl We're using TQt Embedded
CPPFLAGS=-DQWS
CXXFLAGS="$CXXFLAGS -fno-rtti"
QTE_NORTTI="-fno-rtti -DQWS"
@@ -1040,7 +1040,7 @@ elif test "$kde_use_qt_emb" = "yes"; then
x_includes=""
x_libraries=""
elif test "$kde_use_qt_mac" = "yes"; then
- dnl We're using QT/Mac (I use QT_MAC so that ntqglobal.h doesn't *have* to
+ dnl We're using TQt/Mac (I use QT_MAC so that ntqglobal.h doesn't *have* to
dnl be included to get the information) --Sam
CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
@@ -1105,7 +1105,7 @@ EOF
AC_DEFUN([KDE_USE_TQT],
[
if test -z "$1"; then
- # Current default Qt version: 3.3
+ # Current default TQt version: 3.3
kde_qtver=3
kde_qtsubver=3
else
@@ -1118,7 +1118,7 @@ else
fi
if test -z "$2"; then
- kde_qt_minversion=">= Qt 3.3 and < 4.0"
+ kde_qt_minversion=">= TQt 3.3 and < 4.0"
else
kde_qt_minversion="$2"
fi
@@ -1132,14 +1132,14 @@ else
fi
if test $kde_qtver = 3; then
- kde_qt_dirs="$TQTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
+ kde_qt_dirs="$TQTDIR /usr/lib/qt3 /usr/lib/tqt /usr/share/qt3"
fi
])
AC_DEFUN([KDE_CHECK_QT_DIRECT],
[
AC_REQUIRE([KDE_USE_TQT])
-AC_MSG_CHECKING([if Qt compiles without flags])
+AC_MSG_CHECKING([if TQt compiles without flags])
AC_CACHE_VAL(kde_cv_qt_direct,
[
AC_LANG_SAVE
@@ -1194,7 +1194,7 @@ fi
])
dnl ------------------------------------------------------------------------
-dnl Try to find the Qt headers and libraries.
+dnl Try to find the TQt headers and libraries.
dnl $(QT_LDFLAGS) will be -Ltqtliblocation (if needed)
dnl and $(TQT_INCLUDES) will be -Iqthdrlocation (if needed)
dnl ------------------------------------------------------------------------
@@ -1206,12 +1206,12 @@ AC_REQUIRE([KDE_USE_TQT])
AC_REQUIRE([KDE_CHECK_LIB64])
dnl ------------------------------------------------------------------------
-dnl Add configure flag to enable linking to MT version of Qt library.
+dnl Add configure flag to enable linking to MT version of TQt library.
dnl ------------------------------------------------------------------------
AC_ARG_ENABLE(
mt,
- AC_HELP_STRING([--disable-mt],[link to non-threaded Qt (deprecated)]),
+ AC_HELP_STRING([--disable-mt],[link to non-threaded TQt (deprecated)]),
kde_use_qt_mt=$enableval,
[
if test $kde_qtver = 3; then
@@ -1246,7 +1246,7 @@ AC_SUBST(KDE_MT_LIBS)
kde_qt_was_given=yes
dnl ------------------------------------------------------------------------
-dnl If we haven't been told how to link to Qt, we work it out for ourselves.
+dnl If we haven't been told how to link to TQt, we work it out for ourselves.
dnl ------------------------------------------------------------------------
if test -z "$LIBTQT_GLOB"; then
if test "x$kde_use_qt_emb" = "xyes"; then
@@ -1257,12 +1257,12 @@ if test -z "$LIBTQT_GLOB"; then
fi
dnl ------------------------------------------------------------
-dnl If we got --enable-embedded then adjust the Qt library name.
+dnl If we got --enable-embedded then adjust the TQt library name.
dnl ------------------------------------------------------------
if test "x$kde_use_qt_emb" = "xyes"; then
tqtlib="qte"
else
- tqtlib="qt"
+ tqtlib="tqt"
fi
kde_int_qt="-l$tqtlib"
@@ -1283,7 +1283,7 @@ dnl ------------------------------------------------------------
fi
dnl ------------------------------------------------------------------------
-dnl If we got --enable-tqt-mt then adjust the Qt library name for the host.
+dnl If we got --enable-tqt-mt then adjust the TQt library name for the host.
dnl ------------------------------------------------------------------------
if test "x$kde_use_qt_mt" = "xyes"; then
@@ -1304,7 +1304,7 @@ if test $kde_qtver = 3; then
LIBTQT="$LIBTQT $LIBDL"
fi
-AC_MSG_CHECKING([for Qt])
+AC_MSG_CHECKING([for TQt])
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
LIBTQT="$LIBTQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
@@ -1312,35 +1312,35 @@ fi
ac_tqt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
qt_libraries=""
tqt_includes=""
-AC_ARG_WITH(qt-dir,
- AC_HELP_STRING([--with-qt-dir=DIR],[where the root of Qt is installed ]),
+AC_ARG_WITH(tqt-dir,
+ AC_HELP_STRING([--with-tqt-dir=DIR],[where the root of TQt is installed ]),
[ ac_tqt_includes="$withval"/include
ac_qt_libraries="$withval"/lib${tdelibsuff}
ac_qt_bindir="$withval"/bin
])
-AC_ARG_WITH(qt-includes,
- AC_HELP_STRING([--with-qt-includes=DIR],[where the Qt includes are. ]),
+AC_ARG_WITH(tqt-includes,
+ AC_HELP_STRING([--with-tqt-includes=DIR],[where the TQt includes are. ]),
[
ac_tqt_includes="$withval"
])
kde_qt_libs_given=no
-AC_ARG_WITH(qt-libraries,
- AC_HELP_STRING([--with-qt-libraries=DIR],[where the Qt library is installed.]),
+AC_ARG_WITH(tqt-libraries,
+ AC_HELP_STRING([--with-tqt-libraries=DIR],[where the TQt library is installed.]),
[ ac_qt_libraries="$withval"
kde_qt_libs_given=yes
])
AC_CACHE_VAL(ac_cv_have_qt,
-[#try to guess Qt locations
+[#try to guess TQt locations
qt_incdirs=""
for dir in $kde_qt_dirs; do
qt_incdirs="$qt_incdirs $dir/include $dir"
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/tqt/include /usr/include/tqt /usr/include /usr/X11R6/include/X11/tqt /usr/X11R6/include/tqt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes"
if test ! "$ac_tqt_includes" = "NO"; then
qt_incdirs="$ac_tqt_includes $qt_incdirs"
fi
@@ -1354,12 +1354,12 @@ qt_libdirs=""
for dir in $kde_qt_dirs; do
qt_libdirs="$qt_libdirs $dir/lib${tdelibsuff} $dir"
done
-qt_libdirs="$TQTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
+qt_libdirs="$TQTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/tqt/lib $x_libraries"
if test ! "$ac_qt_libraries" = "NO"; then
qt_libdir=$ac_qt_libraries
else
qt_libdirs="$ac_qt_libraries $qt_libdirs"
- # if the Qt was given, the chance is too big that libtqt.* doesn't exist
+ # if the TQt was given, the chance is too big that libtqt.* doesn't exist
qt_libdir=NONE
for dir in $qt_libdirs; do
try="ls -1 $dir/${LIBTQT_GLOB}"
@@ -1414,14 +1414,14 @@ if test "$ac_tqt_includes" = NO || test "$ac_qt_libraries" = NO; then
else
if test "x$kde_use_qt_mt" = "xyes"; then
missing_qt_mt="
-Make sure that you have compiled Qt with thread support!"
+Make sure that you have compiled TQt with thread support!"
ac_qt_notfound="(library $tqtlib-mt)";
else
ac_qt_notfound="(library $tqtlib)";
fi
fi
- AC_MSG_ERROR([Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
+ AC_MSG_ERROR([TQt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
For more details about this problem, look at the end of config.log.$missing_qt_mt])
else
have_qt="yes"
@@ -1539,10 +1539,10 @@ if test "$kde_cv_uic_plugins" != yes; then
AC_MSG_ERROR([
you need to install tdelibs first.
-If you did install tdelibs, then the Qt version that is picked up by
+If you did install tdelibs, then the TQt version that is picked up by
this configure is not the same version you used to compile tdelibs.
-The Qt Plugin installed by tdelibs is *ONLY* loadable if it is the
-_same Qt version_, compiled with the _same compiler_ and the same Qt
+The TQt Plugin installed by tdelibs is *ONLY* loadable if it is the
+_same TQt version_, compiled with the _same compiler_ and the same TQt
configuration settings.
])
fi
@@ -1910,14 +1910,14 @@ For more details about this problem, look at the end of config.log.])
AC_DEFUN([KDE_CHECK_KDEQTADDON],
[
-AC_MSG_CHECKING(for kde-qt-addon)
+AC_MSG_CHECKING(for kde-tqt-addon)
AC_CACHE_VAL(kde_cv_have_kdetqtaddon,
[
kde_ldflags_safe="$LDFLAGS"
kde_libs_safe="$LIBS"
kde_cxxflags_safe="$CXXFLAGS"
- LIBS="-lkde-qt-addon $LIBTQT $LIBS"
+ LIBS="-lkde-tqt-addon $LIBTQT $LIBS"
CXXFLAGS="$CXXFLAGS -I$prefix/include -I$prefix/include/tde $all_includes"
LDFLAGS="$LDFLAGS $all_libraries $USER_LDFLAGS"
@@ -1939,8 +1939,8 @@ AC_CACHE_VAL(kde_cv_have_kdetqtaddon,
AC_MSG_RESULT($kde_cv_have_kdetqtaddon)
if test "$kde_cv_have_kdetqtaddon" = "no"; then
- AC_MSG_ERROR([Can't find libkde-qt-addon. You need to install it first.
-It is a separate package (and CVS module) named kde-qt-addon.])
+ AC_MSG_ERROR([Can't find libkde-tqt-addon. You need to install it first.
+It is a separate package (and CVS module) named kde-tqt-addon.])
fi
])
@@ -2447,7 +2447,7 @@ AH_VERBATIM(_AC_CHECK_JPEG,
AC_DEFUN([KDE_CHECK_QT_JPEG],
[
if test -n "$LIBJPEG"; then
-AC_MSG_CHECKING([if Qt needs $LIBJPEG])
+AC_MSG_CHECKING([if TQt needs $LIBJPEG])
AC_CACHE_VAL(kde_cv_qt_jpeg,
[
AC_LANG_SAVE
@@ -3103,7 +3103,7 @@ AC_DEFUN([AC_CHECK_COMPILERS],
AM_CONDITIONAL(unsermake_enable_pch, test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes")
if test "$CXX" = "KCC"; then
dnl unfortunately we currently cannot disable exception support in KCC
- dnl because doing so is binary incompatible and Qt by default links with exceptions :-(
+ dnl because doing so is binary incompatible and TQt by default links with exceptions :-(
dnl KDE_CHECK_COMPILER_FLAG(-no_exceptions,[CXXFLAGS="$CXXFLAGS --no_exceptions"])
dnl KDE_CHECK_COMPILER_FLAG(-exceptions, [USE_EXCEPTIONS="--exceptions"], USE_EXCEPTIONS= )
@@ -3264,7 +3264,7 @@ AC_DEFUN([KDE_ENABLE_HIDDEN_VISIBILITY],
[kde_have_gcc_visibility=$enableval],
[kde_have_gcc_visibility=no])
- AC_CACHE_CHECK([if Qt is patched for -fvisibility], kde_cv_val_qt_gcc_visibility_patched,
+ AC_CACHE_CHECK([if TQt is patched for -fvisibility], kde_cv_val_qt_gcc_visibility_patched,
[
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
@@ -3850,7 +3850,7 @@ AC_DEFUN([AC_HAVE_GL],
AC_ARG_WITH(gl,AC_HELP_STRING([--without-gl],[disable 3D GL modes]),
gl_test=$withval, gl_test="yes")
if test "x$kde_use_qt_emb" = "xyes"; then
- # GL and Qt Embedded is a no-go for now.
+ # GL and TQt Embedded is a no-go for now.
ac_cv_have_gl=no
elif test "x$gl_test" = xno; then
ac_cv_have_gl=no
@@ -4539,7 +4539,7 @@ AC_LANG_RESTORE
if eval "test \"`echo $ac_cv_lib_qimgio`\" = yes"; then
LIBQIMGIO="-lqimgio -lpng -lz $LIBJPEG"
AC_MSG_RESULT(yes)
- AC_DEFINE_UNQUOTED(HAVE_QIMGIO, 1, [Define if you have the Qt extension qimgio available])
+ AC_DEFINE_UNQUOTED(HAVE_QIMGIO, 1, [Define if you have the TQt extension qimgio available])
AC_SUBST(LIBQIMGIO)
else
AC_MSG_RESULT(not found)
@@ -5360,13 +5360,13 @@ the end of config.log])
AC_DEFUN([KDE_INIT_DOXYGEN],
[
-AC_MSG_CHECKING([for Qt docs])
+AC_MSG_CHECKING([for TQt docs])
kde_qtdir=
if test "${with_qt_dir+set}" = set; then
kde_qtdir="$with_qt_dir"
fi
-AC_FIND_FILE(ntqsql.html, [ $kde_qtdir/doc/html $TQTDIR/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 ], TQTDOCDIR)
+AC_FIND_FILE(ntqsql.html, [ $kde_qtdir/doc/html $TQTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/tqt/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/tqt/html ], TQTDOCDIR)
AC_MSG_RESULT($TQTDOCDIR)
AC_SUBST(TQTDOCDIR)