ftop/ftop-ncurses.patch

40 lines
1.0 KiB
Diff
Raw Normal View History

--- configure.ac.orig 2010-06-15 21:31:28.000000000 +0200
+++ configure.ac 2010-06-15 21:31:38.000000000 +0200
@@ -14,7 +14,7 @@
AC_PROG_MAKE_SET
# Checks for libraries.
-AC_CHECK_LIB([curses], [initscr])
+AC_CHECK_LIB([ncurses], [initscr])
# Checks for header files.
AC_HEADER_STDC
--- configure.orig 2010-06-15 23:09:48.000000000 +0200
+++ configure 2010-06-15 23:10:39.000000000 +0200
@@ -3415,13 +3415,13 @@
# Checks for libraries.
-{ echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
-echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
+echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; }
if test "${ac_cv_lib_curses_initscr+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcurses $LIBS"
+LIBS="-lncurses $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -3481,7 +3481,7 @@
#define HAVE_LIBCURSES 1
_ACEOF
- LIBS="-lcurses $LIBS"
+ LIBS="-lncurses $LIBS"
fi