[PATCH 4/4] introduce --with-xprint-configdir

Ademar de Souza Reis Jr ademar at mandriva.com.br
Tue Jul 3 12:05:51 PDT 2007


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 8e422db..26f6b6f 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




More information about the xorg mailing list