[Xfce4-commits] <xfce4-session:master> Add xsession prefix.

Nick Schermer noreply at xfce.org
Thu Sep 22 18:00:02 CEST 2011


Updating branch refs/heads/master
         to 9fdbb00a9a434ead12fd77fe8e45e4ce64dd7524 (commit)
       from d3b0b414ee8f991fb808386ce117f0c2d9d07394 (commit)

commit 9fdbb00a9a434ead12fd77fe8e45e4ce64dd7524
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Sep 22 17:58:42 2011 +0200

    Add xsession prefix.
    
    Forgot to port this from xfce-utils.

 configure.in.in |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/configure.in.in b/configure.in.in
index 74ce270..141d427 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -110,6 +110,15 @@ else
   AC_MSG_ERROR([iceauth missing, please check your X11 installation])
 fi
 
+dnl Find a location for the session desktop file
+AC_MSG_CHECKING([what xsession-prefix to use])
+AC_ARG_WITH([xsession-prefix],
+            AC_HELP_STRING([--with-xsession-prefix=XSESSION_PREFIX], [What should be the prefix for the xsession .desktop file?]),
+  [], [with_xsession_prefix="/usr"])
+XSESSION_PREFIX=$with_xsession_prefix
+AC_SUBST([XSESSION_PREFIX])
+AC_MSG_RESULT([$with_xsession_prefix])
+
 dnl Check for rm
 AC_PATH_PROG([RM], [rm])
 if test x"$RM" != x""; then


More information about the Xfce4-commits mailing list