Fix KDE_APPLNK_DIR to not install to a diff prefix, and disable installing

2003-04-21  Rodney Dawes  <dobey@ximian.com>

	* configure.in: Fix KDE_APPLNK_DIR to not install to a diff prefix,
	and disable installing the file to the KDE applnk path by default

svn path=/trunk/; revision=20915
This commit is contained in:
Rodney Dawes
2003-04-22 14:54:15 +00:00
committed by Rodney Dawes
parent e7a2afd233
commit 35ef3e5a6e
2 changed files with 9 additions and 12 deletions

View File

@ -1,3 +1,8 @@
2003-04-21 Rodney Dawes <dobey@ximian.com>
* configure.in: Fix KDE_APPLNK_DIR to not install to a diff prefix,
and disable installing the file to the KDE applnk path by default
2003-04-11 Ettore Perazzoli <ettore@ximian.com>
* configure.in: 1.3.2.99.

View File

@ -1259,21 +1259,13 @@ dnl ********************
dnl KDE applnk directory
dnl ********************
AC_ARG_WITH(kde-applnk-path, [ --with-kde-applnk-path=PATH Location of KDE applnk files],
[with_kde_applnk_path="$withval"])
[with_kde_applnk_path="$withval"],
[with_kde_applnk_path="no"])
if test x"$with_kde_applnk_path" != x"no"; then
if test -z "$with_kde_applnk_path"; then
with_kde_applnk_path="$prefix/share/applnk"
fi
if test -d "$with_kde_applnk_path" ; then
KDE_APPLNK_DIR="$with_kde_applnk_path"
else
AC_PATH_PROG(KDECONFIG, kde-config)
if test -n "$KDECONFIG"; then
KDE_APPLNK_DIR=`$KDECONFIG --expandvars --install apps`
else
KDE_APPLNK_DIR=""
fi
with_kde_applnk_path="$datadir/applnk"
fi
KDE_APPLNK_DIR="$with_kde_applnk_path"
else
KDE_APPLNK_DIR=""
fi