fix xsession data path
authorJürgen Hötzel <juergen@archlinux.org>
Fri, 20 Mar 2009 23:16:07 +0000 (23:16 +0000)
committerJürgen Hötzel <juergen@archlinux.org>
Fri, 20 Mar 2009 23:16:07 +0000 (23:16 +0000)
configure.ac

index df075e7..0ed857b 100644 (file)
@@ -12,9 +12,9 @@ AC_PROG_LN_S
 AC_ARG_WITH([xsession-path],
     AS_HELP_STRING(
         [--with-xsession-path=PATH],
-        [set the install path of xsession data (default=/usr/share/xsessions)]),
+        [set the install path of xsession data [[DATAROOTDIR/xsessions]]]),
         [test x$withval != x && xsesspath="$withval"],
-        [xsesspath=/usr/share/xsessions])
+        [xsesspath="\${datarootdir}/xsessions"])
 AC_SUBST(xsesspath)