$NetBSD: patch-ab,v 1.5 2009/08/19 08:59:46 yyamano Exp $ --- configure.orig 2005-07-23 15:14:17.000000000 -0700 +++ configure @@ -9682,6 +9682,7 @@ cat >>confdefs.h <<\_ACEOF _ACEOF have_readline="yes" + LIBS="-lreadline -lcurses $LIBS" fi fi fi @@ -10378,6 +10379,20 @@ echo $ECHO_N "checking if this is FreeBS echo "${ECHO_T}$this_is_freebsd" >&6 fi +this_is_netbsd=no +if test x$we_have_sed = xyes; then + echo "$as_me:$LINENO: checking if this is NetBSD" >&5 +echo $ECHO_N "checking if this is NetBSD... $ECHO_C" >&6 + x=`echo $target_os |tr A-Z a-z |sed "s/.*netbsd.*/netbsd/"` + if test x$x = xnetbsd; then + this_is_netbsd=yes + PHYSFSLDFLAGS="$PHYSFSLDFLAGS -pthread" + fi + + echo "$as_me:$LINENO: result: $this_is_netbsd" >&5 +echo "${ECHO_T}$this_is_netbsd" >&6 +fi + this_is_openbsd=no if test x$we_have_sed = xyes; then echo "$as_me:$LINENO: checking if this is OpenBSD" >&5