$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