summaryrefslogtreecommitdiff
path: root/devel/pilrc/patches/patch-ab
blob: df46e381aed86916c8dd18773781cc6998081d6b (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
$NetBSD: patch-ab,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $

--- configure.orig	Thu Mar 22 15:09:11 2001
+++ configure	Thu Mar 22 15:09:18 2001
@@ -12,6 +12,8 @@
 ac_default_prefix=/usr/local
 # Any additions from configure.in:
 ac_help="$ac_help
+  --enable-pilrcui        build pilrcui (needs gtk; default: enabled)"
+ac_help="$ac_help
   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)"
 ac_help="$ac_help
   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
@@ -558,7 +560,7 @@
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 # ./install, which can be erroneously created by make from ./install.sh.
 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
-echo "configure:562: checking for a BSD compatible install" >&5
+echo "configure:564: checking for a BSD compatible install" >&5
 if test -z "$INSTALL"; then
 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -611,7 +613,7 @@
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
-echo "configure:615: checking whether build environment is sane" >&5
+echo "configure:617: checking whether build environment is sane" >&5
 # Just in case
 sleep 1
 echo timestamp > conftestfile
@@ -1033,7 +1035,19 @@
 fi
 
 
-# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
+# Check whether --enable-pilrcui or --disable-pilrcui was given.
+if test "${enable_pilrcui+set}" = set; then
+  enableval="$enable_pilrcui"
+  :
+fi
+
+
+echo $ac_n "checking whether pilrcui should be built""... $ac_c" 1>&6
+echo "configure:1047: checking whether pilrcui should be built" >&5
+if test -z "$enable_pilrcui" -o "$enable_pilrcui" = yes
+then
+    echo "$ac_t""yes" 1>&6
+    # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
 if test "${with_gtk_prefix+set}" = set; then
   withval="$with_gtk_prefix"
   gtk_config_prefix="$withval"
@@ -1315,12 +1329,24 @@
   PILRCUI_TRUE='#'
   PILRCUI_FALSE=
 fi
-
+    
   fi
   
   
   rm -f conf.gtktest
 
+else
+    echo "$ac_t""no" 1>&6
+    
+
+if false; then
+  PILRCUI_TRUE=
+  PILRCUI_FALSE='#'
+else
+  PILRCUI_TRUE='#'
+  PILRCUI_FALSE=
+fi
+fi
 
 # Check for warnings flag if gcc was detected.
 if test "x$ac_cv_prog_gcc" = "xyes"; then