summaryrefslogtreecommitdiff
path: root/graphics/gnuplot/patches/patch-configure
blob: 54134154d8ebb3cdbcf7fcdf06fd11bcd393c27f (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
$NetBSD: patch-configure,v 1.1 2017/11/03 15:00:10 adam Exp $

NetBSD editline keeps header files in "readline", not "editline".
Same applies to DragonFly.

Also get rid of a non-portable "test ... ==" instance.

--- configure.orig	2017-10-15 02:45:26.000000000 +0000
+++ configure
@@ -8891,7 +8891,7 @@ $as_echo "yes" >&6; }
 
 # Check whether --with-aquaterm was given.
 if test "${with_aquaterm+set}" = set; then :
-  withval=$with_aquaterm; if test "$withval" == yes; then
+  withval=$with_aquaterm; if test "$withval" = yes; then
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AquaTerm framework presence" >&5
 $as_echo_n "checking for AquaTerm framework presence... " >&6; }
@@ -10189,9 +10189,9 @@ fi
 
 $as_echo "#define HAVE_LIBEDITLINE 1" >>confdefs.h
 
-        for ac_header in editline/readline.h
+        for ac_header in readline/readline.h
 do :
-  ac_fn_c_check_header_mongrel "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
+  ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default"
 if test "x$ac_cv_header_editline_readline_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_EDITLINE_READLINE_H 1
@@ -16679,7 +16679,7 @@ $as_echo "    tek40xx, tek410x, texdraw,
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 $as_echo "" >&6; }
 
-if test "$with_bitmap_terminals" == yes; then
+if test "$with_bitmap_terminals" = yes; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: result:   dot-matrix terminals: yes ( --without-bitmap-terminals to disable)" >&5
 $as_echo "  dot-matrix terminals: yes ( --without-bitmap-terminals to disable)" >&6; }
 else
@@ -16756,7 +16756,7 @@ else
 $as_echo "  ggi terminal: no (use --with-ggi to enable, requires libggi)" >&6; }
 fi
 
-if test "$with_gpic" == yes; then
+if test "$with_gpic" = yes; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: result:   gpic terminal: yes" >&5
 $as_echo "  gpic terminal: yes" >&6; }
 else
@@ -16764,7 +16764,7 @@ else
 $as_echo "  gpic terminal: no   (use --with-gpic to enable)" >&6; }
 fi
 
-if test "$with_mif" == yes; then
+if test "$with_mif" = yes; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: result:   mif terminal: yes" >&5
 $as_echo "  mif terminal: yes" >&6; }
 else