From 29dc5825782adf929bce41a18e6a6881ef975d22 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 25 Jul 2007 17:00:39 -0700 Subject: Bug #10530: xdm's path to xrdb could be configurable at compile time Add --with-xrdb=path & --with-default-session=command configure options X.Org Bug #10530: --- configure.ac | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 8a4911e..8f69423 100644 --- a/configure.ac +++ b/configure.ac @@ -422,11 +422,17 @@ AC_DEFINE_DIR(DEF_SERVER_LINE, DEF_SERVER_LINE, [Define to default Xserver file entry for local X server]) # -DXRDB_PROGRAM="$(BINDIR)/xrdb" -AC_DEFINE_DIR(XRDB_PROGRAM, bindir/xrdb, +AC_ARG_WITH(xrdb, AC_HELP_STRING([--with-xrdb=path], + [Use path for xrdb (default: bindir/xrdb)]), + [XRDB=$withval], [XRDB=bindir/xrdb]) +AC_DEFINE_DIR(XRDB_PROGRAM, XRDB, [Define to pathname for xrdb program]) # -DDEF_SESSION="$(BINDIR)/xterm -ls" -AC_DEFINE_DIR(DEF_SESSION, bindir/xterm -ls, +AC_ARG_WITH(default-session, AC_HELP_STRING([--with-default-session=command], + [Use command for default session (default: bindir/xterm -ls)]), + [DEF_SESSION=$withval], [DEF_SESSION="bindir/xterm -ls"]) +AC_DEFINE_DIR(DEF_SESSION, DEF_SESSION, [Define to default command to start X session]) # -DDEF_USER_PATH="$(DEF_USER_PATH)" -- cgit v1.2.3