summaryrefslogtreecommitdiff
path: root/graphics/gnuplot/patches/patch-ag
blob: b86b025929991c9cd1449900b4482171747dfde8 (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-ag,v 1.6 2012/11/07 19:22:05 he 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	2012-09-26 23:06:30.000000000 +0000
+++ configure
@@ -9197,9 +9197,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
@@ -15340,7 +15340,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