$NetBSD: patch-ae,v 1.5 2003/07/12 10:07:35 wiz Exp $ --- configure.orig Fri Jun 6 21:19:19 2003 +++ configure @@ -8755,8 +8755,8 @@ echo "${ECHO_T}Configuring for Unix bina if test "$CURSES_CLIENT" != "no" ; then -echo "$as_me:$LINENO: checking for newterm in -lncurses" >&5 -echo $ECHO_N "checking for newterm in -lncurses... $ECHO_C" >&6 +echo "$as_me:$LINENO: checking for start_color in -lncurses" >&5 +echo $ECHO_N "checking for start_color in -lncurses... $ECHO_C" >&6 if test "${ac_cv_lib_ncurses_newterm+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -8776,11 +8776,11 @@ extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ -char newterm (); +char start_color (); int main () { -newterm (); +start_color (); ; return 0; } @@ -15091,7 +15091,10 @@ cat >>confdefs.h <<_ACEOF #define DPDATADIR "$DPDATADIR" _ACEOF - +DPLOCALSTATEDIR="${localstatedir}" +cat >>confdefs.h <<_ACEOF +#define DPLOCALSTATEDIR "$DPLOCALSTATEDIR" +_ACEOF localedir=${datadir}/locale @@ -15973,6 +15976,7 @@ s,@PLUGOBJS@,$PLUGOBJS,;t t s,@PLUGINS_TRUE@,$PLUGINS_TRUE,;t t s,@PLUGINS_FALSE@,$PLUGINS_FALSE,;t t s,@DPDATADIR@,$DPDATADIR,;t t +s,@DPLOCALSTATEDIR@,$DPLOCALSTATEDIR,;t t s,@localedir@,$localedir,;t t s,@GUI_CLIENT_TRUE@,$GUI_CLIENT_TRUE,;t t s,@GUI_CLIENT_FALSE@,$GUI_CLIENT_FALSE,;t t