$OpenBSD: patch-configure_in,v 1.5 2008/06/30 00:29:32 djm Exp $ --- configure.in.orig Wed Feb 13 15:17:17 2008 +++ configure.in Tue Apr 14 06:46:29 2009 @@ -201,7 +201,7 @@ case $ac_sys_system/$ac_sys_release in # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined, # even though select is a POSIX function. Reported by J. Ribbens. # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish. - OpenBSD/2.* | OpenBSD/3.@<:@0123456789@:>@ | OpenBSD/4.@<:@0@:>@) + OpenBSD* | FabBSD*) define_xopen_source=no # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is # also defined. This can be overridden by defining _BSD_SOURCE @@ -1525,20 +1525,8 @@ then else LDSHARED="ld -Bshareable ${LDFLAGS}" fi;; - OpenBSD*) - if [[ "`$CC -dM -E - ], @@ -3120,12 +3109,12 @@ fi # check for readline 4.0 AC_CHECK_LIB(readline, rl_pre_input_hook, AC_DEFINE(HAVE_RL_PRE_INPUT_HOOK, 1, - [Define if you have readline 4.0]), , ) + [Define if you have readline 4.0]), ,curses) # check for readline 4.2 AC_CHECK_LIB(readline, rl_completion_matches, AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1, - [Define if you have readline 4.2]), , ) + [Define if you have readline 4.2]), ,curses) # also in readline 4.2 AC_TRY_CPP([#include ],