aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authordavid <[email protected]>2026-07-24 19:45:32 -0300
committerdavid <[email protected]>2026-07-24 19:45:32 -0300
commitb145cdc432b374568b857fa25533d2096f36d457 (patch)
tree3e4e018628985357362696d25712f9f59737f4d4 /configure
parentb4353216cc94d7ef50a5e8d6b5e3117f49e73abb (diff)
downloadpetratc-b145cdc432b374568b857fa25533d2096f36d457.tar.gz
petratc-b145cdc432b374568b857fa25533d2096f36d457.zip
i should have written this by hand and not asked claude to do it
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure53
1 files changed, 1 insertions, 52 deletions
diff --git a/configure b/configure
index f6c8b01..79f4ebe 100755
--- a/configure
+++ b/configure
@@ -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