From 2f1f70713548e6740d2909da4dae501c6fc5306d Mon Sep 17 00:00:00 2001 From: Ademar de Souza Reis Jr Date: Tue, 3 Jul 2007 15:41:09 -0300 Subject: [PATCH] introduce --with-xprint-configdir Now it's possible to set xpconfigdir via configure, which is not hardcoded anymore. --- configure.ac | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index afa5f72..3ec9aea 100644 --- a/configure.ac +++ b/configure.ac @@ -1593,7 +1593,9 @@ if test "x$XPRINT" = xyes; then AC_SUBST([XPRINT_CFLAGS]) AC_SUBST([XPRINT_LIBS]) - xpconfigdir=$sysconfdir/X11/xprint + AC_ARG_WITH(xprint-configdir, AS_HELP_STRING([--xprint-configdir=PATH], [Directory to store xprint configuration data (default: ${sysconfdir}/X11/xprint)]), + [ xpconfigdir="$withval" ], + [ xpconfigdir="$sysconfdir/X11/xprint" ]) AC_SUBST([xpconfigdir]) AC_PATH_PROG(MKFONTSCALE, mkfontscale) -- 1.5.2.2