Skip to content

Commit

Permalink
Update configure scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
garazdawi committed Jan 31, 2024
1 parent 168eca3 commit caef2bb
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
9 changes: 9 additions & 0 deletions erts/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,9 @@
/* Define if you have cpuset_getaffinity/cpuset_setaffinity */
#undef HAVE_CPUSET_xETAFFINITY

/* Define to 1 if you have the <curses.h> header file. */
#undef HAVE_CURSES_H

/* Define to 1 if you have the declaration of `getrlimit', and to 0 if you
don't. */
#undef HAVE_DECL_GETRLIMIT
Expand Down Expand Up @@ -1146,6 +1149,12 @@
/* Define if termcap functions exists */
#undef HAVE_TERMCAP

/* Define to 1 if you have the <termcap.h> header file. */
#undef HAVE_TERMCAP_H

/* Define to 1 if you have the <term.h> header file. */
#undef HAVE_TERM_H

/* Define to 1 if you have the `time2posix' function. */
#undef HAVE_TIME2POSIX

Expand Down
19 changes: 19 additions & 0 deletions erts/configure
Original file line number Diff line number Diff line change
Expand Up @@ -15817,6 +15817,25 @@ fi
fi


ac_fn_c_check_header_compile "$LINENO" "termcap.h" "ac_cv_header_termcap_h" "$ac_includes_default"
if test "x$ac_cv_header_termcap_h" = xyes
then :
printf "%s\n" "#define HAVE_TERMCAP_H 1" >>confdefs.h

fi
ac_fn_c_check_header_compile "$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default"
if test "x$ac_cv_header_curses_h" = xyes
then :
printf "%s\n" "#define HAVE_CURSES_H 1" >>confdefs.h

fi
ac_fn_c_check_header_compile "$LINENO" "term.h" "ac_cv_header_term_h" "$ac_includes_default"
if test "x$ac_cv_header_term_h" = xyes
then :
printf "%s\n" "#define HAVE_TERM_H 1" >>confdefs.h

fi


if test "x$TERMCAP_LIB" != "x"; then

Expand Down

0 comments on commit caef2bb

Please sign in to comment.