$NetBSD: patch-aa,v 1.5 2004/03/29 03:11:03 grant Exp $ --- configure.orig 2001-11-10 00:58:04.000000000 +1100 +++ configure @@ -1209,6 +1209,8 @@ echo "configure:1191: checking Open Clie SYBASE_OS="-lm -ldl -ldgc";; aix*) SYBASE_OS="-lm";; + netbsd*) + SYBASE_OS="-lm";; *) SYBASE_OS="-lm -ldl";; esac @@ -1373,7 +1375,7 @@ else CPPFLAGS="${CPPFLAGS} -L${READLINE_LIBDIR}" fi - for lib in "-lHcurses" "-lcurses" "-lncurses" "-ltermcap" \ + for lib in "-ltermcap" "-lHcurses" "-lcurses" "-lncurses" \ "-ltermcap -lucb" do LIBS="${ORIG_LIBS} -lreadline ${lib}" @@ -1459,7 +1461,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lreadline "${READLINE_LIBS}" $LIBS" +LIBS="-lreadline ${READLINE_LIBS} $LIBS" cat > conftest.$ac_ext <&6