summaryrefslogtreecommitdiff
path: root/devel/rcs/patches/patch-aa
blob: b69da1206bdd9bc13ca1d6ca9d4855dd8b18d13a (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
$NetBSD: patch-aa,v 1.1 2001/10/08 16:20:46 seb Exp $

--- configure.in.orig	Fri Jun 16 08:19:24 1995
+++ configure.in
@@ -15,15 +15,22 @@
 1
 EOF
 
+# configure's patch is hand-trimmed after regen from patched configure.in
+
 AC_ARG_WITH(diffutils,
   [  --with-diffutils        assume GNU diffutils is similarly installed],
-  [with_diffutils=$withval],
+  [case $withval in
+    yes) with_diffutils=diff;;
+    *) with_diffutils=$withval;;
+   esac],
   [with_diffutils=no]
 )
 
 case $with_diffutils in
-yes)
-  : ${DIFF='$(bindir)/diff'}
+no)
+  :;;
+*)
+  : ${DIFF='$(bindir)/'$with_diffutils}
   : ${DIFF3=${DIFF}3}
   : ${DIFF3_BIN=1}
   : ${DIFFFLAGS=-an}