summaryrefslogtreecommitdiff
path: root/print/ja-vflib-lib/patches/patch-ab
blob: 9d068e595d10f513252bd3f2ac6da3c0d907be6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 12:59:53 seb Exp $

--- configure.in.orig	Wed Feb 17 23:58:02 1999
+++ configure.in	Wed Jul 19 17:36:22 2000
@@ -54,6 +54,11 @@
 fi
 AC_SUBST(XX_CFLAGS)
 
+AC_ARG_ENABLE(
+ tools,
+ [  --enable-tools                   Build VFlib tools],
+ build_tools=yes,
+ build_tools=no)
 
 AC_SUBST(freetype_includedir)
 AC_SUBST(freetype_libdir)
@@ -117,6 +122,7 @@
 AC_CONFIG_HEADER(src/with.h src/config.h)
 AC_OUTPUT(Makefile make-sub src/Makefile tools/Imakefile)
 
+if test "$build_tools" = "yes" ; then
 if test -d /usr/openwin ; then \
 	(cd tools; \
 	 OPENWINHOME=/usr/openwin; \
@@ -124,6 +130,7 @@
      	 xmkmf;)  \
 else \
 	(cd tools; xmkmf -a) \
+fi
 fi
 
 dnl EOF