[PATCH libX11] Add AC_ARG_VAR for GROFF and PS2PDF

Jeremy Huddleston jeremyhu at apple.com
Tue Oct 20 12:28:18 PDT 2009


This allows you to set these environment variables to choose which  
binary to
use rather than searching $PATH

Signed-off-by: Jeremy Huddleston <jeremyhu at freedesktop.org>
---
  configure.ac |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index db83f26..20f2f24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -429,7 +429,10 @@ AC_DEFINE_DIR(XERRORDB, XERRORDB, [Location of  
error message database])
  XORG_CHECK_MALLOC_ZERO

  # Specification documents are currently provided in troff format
+AC_ARG_VAR([GROFF], [Path to the 'groff' executable])
  AC_PATH_PROGS([GROFF], [groff], [none], [$PATH:/usr/gnu/bin])
+
+AC_ARG_VAR([PS2PDF], [Path to the 'ps2pdf' executable])
  AC_PATH_PROGS([PS2PDF], [ps2pdf], [none], [$PATH:/usr/gnu/bin])

  AC_MSG_CHECKING([whether to build specifications])
-- 
1.6.3.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5820 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20091020/9cf17a4b/attachment.bin 


More information about the xorg-devel mailing list