diff options
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 53 |
1 files changed, 1 insertions, 52 deletions
@@ -3349,57 +3349,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu #this will be useful only when i decide to port it to widnows CURSES_LIB="" -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5 -printf %s "checking for initscr in -lncursesw... " >&6; } -if test ${ac_cv_lib_ncursesw_initscr+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) ac_check_lib_save_LIBS=$LIBS -LIBS="-lncursesw $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. - The 'extern "C"' is for builds by C++ compilers; - although this is not generally supported in C code supporting it here - has little cost and some practical benefit (sr 110532). */ -#ifdef __cplusplus -extern "C" -#endif -char initscr (void); -int -main (void) -{ -return initscr (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO" -then : - ac_cv_lib_ncursesw_initscr=yes -else case e in #( - e) ac_cv_lib_ncursesw_initscr=no ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS ;; -esac -fi -{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5 -printf '%s\n' "$ac_cv_lib_ncursesw_initscr" >&6; } -if test "x$ac_cv_lib_ncursesw_initscr" = xyes -then : - CURSES_LIB="-lncursesw" -fi - -if test "x$CURSES_LIB" = "x" -then : - { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 +{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 printf %s "checking for initscr in -lncurses... " >&6; } if test ${ac_cv_lib_ncurses_initscr+y} then : @@ -3447,7 +3397,6 @@ then : CURSES_LIB="-lncurses" fi -fi if test "x$CURSES_LIB" = "x" then : { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5 |
