--- configure.ac.orig 2011-07-29 16:04:03.000000000 +0200 +++ configure.ac 2013-06-21 21:11:18.000000000 +0200 @@ -23,6 +23,15 @@ [xsesspath="\${datarootdir}/xsessions"]) AC_SUBST(xsesspath) +# xdg data of path +AC_ARG_WITH([xdg-path], + AS_HELP_STRING( + [--with-xdg-path=PATH], + [set the install path of xdg data [[DATAROOTDIR/applications]]]), + [test x$withval != x && xdgpath="$withval"], + [xdgpath="\${datarootdir}/applications"]) +AC_SUBST(xdgpath) + if test x"$enable_man" = x"yes"; then AC_PATH_PROG([XSLTPROC], [xsltproc])