mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 07:10:32 -04:00
28 lines
1,014 B
Text
28 lines
1,014 B
Text
--- configure.orig 2011-02-15 22:30:29 UTC
|
|
+++ configure
|
|
@@ -4339,13 +4339,13 @@ if test "${with_curses+set}" = set; then
|
|
fi
|
|
|
|
|
|
-{ 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
|
|
@@ -4401,7 +4401,7 @@ fi
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
|
|
echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
|
|
if test $ac_cv_lib_curses_initscr = yes; then
|
|
- LIBS="$LIBS -lcurses"
|
|
+ LIBS="$LIBS -lncurses"
|
|
if test x$curses_loc = x/usr -a -d /usr/include/ncurses; then
|
|
CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
|
|
fi
|