$NetBSD: patch-ag,v 1.4 2011/03/14 08:06:53 adam Exp $ NetBSD editline keeps header files in "readline", not "editline". Same applies to DragonFly. --- configure.orig 2010-09-23 04:22:39.000000000 +0000 +++ configure @@ -7119,9 +7119,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" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_EDITLINE_READLINE_H 1 @@ -7662,7 +7662,9 @@ else if test -d $withval/lib; then LDFLAGS="$LDFLAGS -L$withval/lib" fi + if test "x$with_x" = xyes; then TERMXLIBS="$X_LIBS -lXaw -lXmu -lXt -lXext -lX11" + fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pl_textangle in -lplot" >&5 $as_echo_n "checking for pl_textangle in -lplot... " >&6; } if test "${ac_cv_lib_plot_pl_textangle+set}" = set; then :