|
|
@ -459,14 +459,14 @@ if test "$1" = "default"; then
|
|
|
|
if test "$kde_qtver" = "2"; then
|
|
|
|
if test "$kde_qtver" = "2"; then
|
|
|
|
kde_moduledir='\${libdir}/kde2'
|
|
|
|
kde_moduledir='\${libdir}/kde2'
|
|
|
|
else
|
|
|
|
else
|
|
|
|
kde_moduledir='\${libdir}/kde3'
|
|
|
|
kde_moduledir='\${libdir}/trinity'
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if test -z "$kde_styledir"; then
|
|
|
|
if test -z "$kde_styledir"; then
|
|
|
|
kde_styledir='\${libdir}/kde3/plugins/styles'
|
|
|
|
kde_styledir='\${libdir}/trinity/plugins/styles'
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if test -z "$kde_widgetdir"; then
|
|
|
|
if test -z "$kde_widgetdir"; then
|
|
|
|
kde_widgetdir='\${libdir}/kde3/plugins/designer'
|
|
|
|
kde_widgetdir='\${libdir}/trinity/plugins/designer'
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if test -z "$xdg_appsdir"; then
|
|
|
|
if test -z "$xdg_appsdir"; then
|
|
|
|
xdg_appsdir='\${datadir}/applications'
|
|
|
|
xdg_appsdir='\${datadir}/applications'
|
|
|
@ -528,7 +528,7 @@ AC_DEFUN(KDE_SUBST_PROGRAMS,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
AM_CONDITIONAL(include_ARTS, test "$build_arts" != "no")
|
|
|
|
AM_CONDITIONAL(include_ARTS, test "$build_arts" != "no")
|
|
|
|
|
|
|
|
|
|
|
|
kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/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="$KDEDIR/bin $kde_default_bindirs"
|
|
|
|
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
|
|
|
|
if test -n "$KDEDIRS"; then
|
|
|
|
if test -n "$KDEDIRS"; then
|
|
|
|
kde_save_IFS=$IFS
|
|
|
|
kde_save_IFS=$IFS
|
|
|
@ -553,7 +553,7 @@ AC_DEFUN(KDE_SUBST_PROGRAMS,
|
|
|
|
KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs])
|
|
|
|
KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs])
|
|
|
|
|
|
|
|
|
|
|
|
if test -n "$MEINPROC" && test ! "$MEINPROC" = "compiled"; then
|
|
|
|
if test -n "$MEINPROC" && test ! "$MEINPROC" = "compiled"; then
|
|
|
|
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/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="$KDEDIR/share $kde_sharedirs"
|
|
|
|
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/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
|
|
|
@ -1658,7 +1658,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/kde /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/kde /usr/include /opt/trinity/include /opt/kde/include $x_includes $qt_includes"
|
|
|
|
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
|
|
|
|
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $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)
|
|
|
@ -1670,7 +1670,7 @@ in the prefix, you've chosen, are no KDE headers installed. This will fail.
|
|
|
|
So, check this please and use another prefix!])
|
|
|
|
So, check this please and use another prefix!])
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
kde_libdirs="/usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
|
|
|
|
kde_libdirs="/usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/trinity /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/trinity/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
|
|
|
|
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
|
|
|
|
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $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)
|
|
|
@ -1678,7 +1678,7 @@ ac_kde_libraries="$kde_libdir"
|
|
|
|
|
|
|
|
|
|
|
|
kde_widgetdir=NO
|
|
|
|
kde_widgetdir=NO
|
|
|
|
dnl this might be somewhere else
|
|
|
|
dnl this might be somewhere else
|
|
|
|
AC_FIND_FILE("kde3/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
|
|
|
|
AC_FIND_FILE("trinity/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
|
|
|
|
|
|
|
|
|
|
|
|
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
|
|
|
|
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
|
|
|
|
AC_MSG_ERROR([
|
|
|
|
AC_MSG_ERROR([
|
|
|
@ -1686,14 +1686,14 @@ in the prefix, you've chosen, are no KDE libraries installed. This will fail.
|
|
|
|
So, check this please and use another prefix!])
|
|
|
|
So, check this please and use another prefix!])
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
|
|
|
|
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/trinity/plugins/designer/kdewidgets.la"; then
|
|
|
|
AC_MSG_ERROR([
|
|
|
|
AC_MSG_ERROR([
|
|
|
|
I can't find the designer plugins. These are required and should have been installed
|
|
|
|
I can't find the designer plugins. These are required and should have been installed
|
|
|
|
by kdelibs])
|
|
|
|
by kdelibs])
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if test -n "$kde_widgetdir"; then
|
|
|
|
if test -n "$kde_widgetdir"; then
|
|
|
|
kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
|
|
|
|
kde_widgetdir="$kde_widgetdir/trinity/plugins/designer"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|