@ -382,13 +382,13 @@ same compiler to compile Qt and tdelibs as you did use now.
For more details about this problem, look at the end of config.log.])
For more details about this problem, look at the end of config.log.])
fi
fi
if eval `K DEDIR= ./conftest 2>&5`; then
if eval `T DEDIR= ./conftest 2>&5`; then
kde_result=done
kde_result=done
else
else
kde_result=problems
kde_result=problems
fi
fi
K DEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
T DEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
kde_have_all_paths=yes
kde_have_all_paths=yes
KDE_SET_PATHS($kde_result)
KDE_SET_PATHS($kde_result)
@ -547,11 +547,11 @@ Please check whether you installed aRts correctly or use
AC_DEFUN([KDE_SET_DEFAULT_BINDIRS],
AC_DEFUN([KDE_SET_DEFAULT_BINDIRS],
[
[
kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/trinity/bin /usr/kde/bin /usr/local/kde/bin"
kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/trinity/bin /usr/kde/bin /usr/local/kde/bin"
test -n "$KDEDIR" && kde_default_bindirs="$K DEDIR/bin $kde_default_bindirs"
test -n "$TDEDIR" && kde_default_bindirs="$T DEDIR/bin $kde_default_bindirs"
if test -n "$K DEDIRS"; then
if test -n "$T DEDIRS"; then
kde_save_IFS=$IFS
kde_save_IFS=$IFS
IFS=:
IFS=:
for dir in $K DEDIRS; do
for dir in $T DEDIRS; do
kde_default_bindirs="$dir/bin $kde_default_bindirs "
kde_default_bindirs="$dir/bin $kde_default_bindirs "
done
done
IFS=$kde_save_IFS
IFS=$kde_save_IFS
@ -613,7 +613,7 @@ AC_DEFUN([KDE_SUBST_PROGRAMS],
if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/trinity/share /opt/kde/share $prefix/share"
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/trinity/share /opt/kde/share $prefix/share"
test -n "$KDEDIR" && kde_sharedirs="$K DEDIR/share $kde_sharedirs"
test -n "$TDEDIR" && kde_sharedirs="$T DEDIR/share $kde_sharedirs"
AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET)
AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET)
if test "$KDE_XSL_STYLESHEET" = "NO"; then
if test "$KDE_XSL_STYLESHEET" = "NO"; then
KDE_XSL_STYLESHEET=""
KDE_XSL_STYLESHEET=""
@ -1818,7 +1818,7 @@ fi
if test -z "$1"; then
if test -z "$1"; then
kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/trinity/include /opt/kde/include $x_includes $qt_includes"
kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/trinity/include /opt/kde/include $x_includes $qt_includes"
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $K DEDIR $kde_incdirs"
test -n "$TDEDIR" && kde_incdirs="$TDEDIR/include $TDEDIR/include/kde $T DEDIR $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)
ac_kde_includes="$kde_incdir"
ac_kde_includes="$kde_incdir"
@ -1830,7 +1830,7 @@ So, check this please and use another prefix!])
fi
fi
kde_libdirs="$kde_libs_prefix/lib${tdelibsuff} /usr/lib/kde/lib${tdelibsuff} /usr/local/kde/lib${tdelibsuff} /usr/kde/lib${tdelibsuff} /usr/lib${tdelibsuff}/kde /usr/lib${tdelibsuff}/trinity /usr/lib${tdelibsuff} /usr/X11R6/lib${tdelibsuff} /usr/local/lib${tdelibsuff} /opt/trinity/lib${tdelibsuff} /opt/kde/lib${tdelibsuff} /usr/X11R6/kde/lib${tdelibsuff}"
kde_libdirs="$kde_libs_prefix/lib${tdelibsuff} /usr/lib/kde/lib${tdelibsuff} /usr/local/kde/lib${tdelibsuff} /usr/kde/lib${tdelibsuff} /usr/lib${tdelibsuff}/kde /usr/lib${tdelibsuff}/trinity /usr/lib${tdelibsuff} /usr/X11R6/lib${tdelibsuff} /usr/local/lib${tdelibsuff} /opt/trinity/lib${tdelibsuff} /opt/kde/lib${tdelibsuff} /usr/X11R6/kde/lib${tdelibsuff}"
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${tdelibsuff} $K DEDIR $kde_libdirs"
test -n "$TDEDIR" && kde_libdirs="$TDEDIR/lib${tdelibsuff} $T DEDIR $kde_libdirs"
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir)
AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir)
ac_kde_libraries="$kde_libdir"
ac_kde_libraries="$kde_libdir"
@ -3574,7 +3574,7 @@ AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
AC_ARG_PROGRAM
AM_INIT_AUTOMAKE($1, $2)
AM_INIT_AUTOMAKE($1, $2)
AM_DISABLE_LIBRARIES
AM_DISABLE_LIBRARIES
AC_PREFIX_DEFAULT(${K DEDIR:-/usr/local/kde})
AC_PREFIX_DEFAULT(${T DEDIR:-/usr/local/kde})
AC_CHECK_COMPILERS
AC_CHECK_COMPILERS
KDE_PROG_LIBTOOL
KDE_PROG_LIBTOOL
AM_KDE_WITH_NLS
AM_KDE_WITH_NLS
@ -4973,12 +4973,12 @@ AC_DEFUN([KDE_CONF_FILES],
dnl This sets the prefix, for arts and tdelibs
dnl This sets the prefix, for arts and tdelibs
dnl Do NOT use in any other module.
dnl Do NOT use in any other module.
dnl It only looks at --prefix, K DEDIR and falls back to /usr/local/kde
dnl It only looks at --prefix, T DEDIR and falls back to /usr/local/kde
AC_DEFUN([KDE_SET_PREFIX_CORE],
AC_DEFUN([KDE_SET_PREFIX_CORE],
[
[
unset CDPATH
unset CDPATH
dnl make $K DEDIR the default for the installation
dnl make $T DEDIR the default for the installation
AC_PREFIX_DEFAULT(${K DEDIR:-/usr/local/kde})
AC_PREFIX_DEFAULT(${T DEDIR:-/usr/local/kde})
if test "x$prefix" = "xNONE"; then
if test "x$prefix" = "xNONE"; then
prefix=$ac_default_prefix
prefix=$ac_default_prefix
@ -5002,7 +5002,7 @@ AC_DEFUN([KDE_SET_PREFIX],
unset CDPATH
unset CDPATH
dnl We can't give real code to that macro, only a value.
dnl We can't give real code to that macro, only a value.
dnl It only matters for --help, since we set the prefix in this function anyway.
dnl It only matters for --help, since we set the prefix in this function anyway.
AC_PREFIX_DEFAULT(${K DEDIR:-the kde prefix})
AC_PREFIX_DEFAULT(${T DEDIR:-the kde prefix})
KDE_SET_DEFAULT_BINDIRS
KDE_SET_DEFAULT_BINDIRS
if test "x$prefix" = "xNONE"; then
if test "x$prefix" = "xNONE"; then