diff options
-rw-r--r-- | acinclude.m4 | 1 | ||||
-rw-r--r-- | admin/acinclude.m4.in | 1 | ||||
-rwxr-xr-x | configure.in | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 306c0b7f..18157ed6 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2201,6 +2201,7 @@ AC_DEFUN([AC_SS_FIND_KDE_INCLUDE_DIR], ss_kde_include_test_dirs="$ss_kde_include_test_dirs /usr/include/kde /usr/local/include/kde /include/kde /usr/X11R6/include/kde /usr/build/kde/include" ss_kde_include_test_dirs="$ss_kde_include_test_dirs /usr/include/kde2 /usr/local/include/kde2 /include/kde2 /usr/X11R6/include/kde2 /usr/include/X11/kde2" test -n "$SS_KDE_GENERAL_DIR" && ss_kde_include_test_dirs="$SS_KDE_GENERAL_DIR/include $ss_kde_include_test_dirs" + test -n "$SS_KDE_GENERAL_DIR" && ss_kde_include_test_dirs="`$SS_KDE_GENERAL_DIR/bin/kde-config --expandvars --install include` $ss_kde_include_test_dirs" AC_SS_FIND_FILE_PATH($SS_KDE_INCLUDE_FILE_TO_SEARCH,$ss_kde_include_test_dirs,SS_KDE_INCDIR) diff --git a/admin/acinclude.m4.in b/admin/acinclude.m4.in index 0d7272c6..ae6bb147 100644 --- a/admin/acinclude.m4.in +++ b/admin/acinclude.m4.in @@ -2201,6 +2201,7 @@ AC_DEFUN([AC_SS_FIND_KDE_INCLUDE_DIR], ss_kde_include_test_dirs="$ss_kde_include_test_dirs /usr/include/kde /usr/local/include/kde /include/kde /usr/X11R6/include/kde /usr/build/kde/include" ss_kde_include_test_dirs="$ss_kde_include_test_dirs /usr/include/kde2 /usr/local/include/kde2 /include/kde2 /usr/X11R6/include/kde2 /usr/include/X11/kde2" test -n "$SS_KDE_GENERAL_DIR" && ss_kde_include_test_dirs="$SS_KDE_GENERAL_DIR/include $ss_kde_include_test_dirs" + test -n "$SS_KDE_GENERAL_DIR" && ss_kde_include_test_dirs="`$SS_KDE_GENERAL_DIR/bin/kde-config --expandvars --install include` $ss_kde_include_test_dirs" AC_SS_FIND_FILE_PATH($SS_KDE_INCLUDE_FILE_TO_SEARCH,$ss_kde_include_test_dirs,SS_KDE_INCDIR) diff --git a/configure.in b/configure.in index cf125676..b250f413 100755 --- a/configure.in +++ b/configure.in @@ -101,7 +101,7 @@ AC_SS_FIND_QT AC_SS_HEADER([Checking KDE]) SS_KDE_GENERAL_FILE_TO_SEARCH="bin/kde-config" -SS_KDE_INCLUDE_FILE_TO_SEARCH="kde-config" +SS_KDE_INCLUDE_FILE_TO_SEARCH="kdeversion.h" AC_SS_FIND_KDE |