2009-06-10 12:32:35 +00:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
|
|
|
@@ -10972,7 +10972,7 @@ if test "${ac_cv_lib_curses_tputs+set}"
|
2006-08-07 09:53:12 +00:00
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
else
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
-LIBS="-lcurses $LIBS"
|
|
|
|
+#LIBS="-lcurses $LIBS"
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
/* confdefs.h. */
|
|
|
|
_ACEOF
|
2009-06-10 12:32:35 +00:00
|
|
|
@@ -11108,7 +11108,8 @@ if test $ac_cv_lib_ncurses_tputs = yes;
|
2006-08-07 09:53:12 +00:00
|
|
|
#define HAVE_LIBNCURSES 1
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
- LIBS="-lncurses $LIBS"
|
|
|
|
+# LIBS="-lncurses $LIBS"
|
|
|
|
+CURSES=-lncurses
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
2009-06-10 12:32:35 +00:00
|
|
|
@@ -11125,7 +11126,7 @@ if test "${ac_cv_lib_readline_main+set}"
|
2006-08-07 09:53:12 +00:00
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
else
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
-LIBS="-lreadline $LIBS"
|
|
|
|
+LIBS="-lreadline $CURSES $LIBS"
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
/* confdefs.h. */
|
|
|
|
_ACEOF
|
2009-06-10 12:32:35 +00:00
|
|
|
@@ -11182,7 +11183,8 @@ if test $ac_cv_lib_readline_main = yes;
|
2006-08-07 09:53:12 +00:00
|
|
|
#define HAVE_LIBREADLINE 1
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
- LIBS="-lreadline $LIBS"
|
|
|
|
+# LIBS="-lreadline $LIBS"
|
|
|
|
+CURSES="$CURSES -lreadline"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
2009-06-10 12:32:35 +00:00
|
|
|
@@ -11342,7 +11344,7 @@ if test "${ac_cv_lib_readline_rl_complet
|
2006-08-07 09:53:12 +00:00
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
else
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
-LIBS="-lreadline $LIBS"
|
|
|
|
+LIBS="-lreadline $CURSES $LIBS"
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
/* confdefs.h. */
|
|
|
|
_ACEOF
|
2009-06-10 12:32:35 +00:00
|
|
|
@@ -11405,7 +11407,7 @@ if test $ac_cv_lib_readline_rl_completio
|
2006-08-07 09:53:12 +00:00
|
|
|
#define HAVE_LIBREADLINE 1
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
- LIBS="-lreadline $LIBS"
|
|
|
|
+# LIBS="-lreadline $LIBS"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|