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:

committed by
Rodney Dawes

parent
e7a2afd233
commit
35ef3e5a6e
@ -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.
|
||||
|
16
configure.in
16
configure.in
@ -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
|
||||
|
Reference in New Issue
Block a user