From: Taylor R Campbell Date: Sun, 8 Aug 2010 02:56:56 +0000 (+0000) Subject: Move the check for termcap-related headers. X-Git-Tag: 20101212-Gtk~115 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=958e51dbfb45549ceb4ddfc2515d5ba706bb32fd;p=mit-scheme.git Move the check for termcap-related headers. This puts the warning messages about emulating termcap or tparm closer to the checks, which makes configure's output make a trifle more sense. --- diff --git a/src/microcode/configure.ac b/src/microcode/configure.ac index a1364e4e9..b7fb859cf 100644 --- a/src/microcode/configure.ac +++ b/src/microcode/configure.ac @@ -691,6 +691,9 @@ dnl database, we can emulate `tparam' -- either in terms of `tparm' or dnl by pretending we know the format -- without bringing in the local dnl termcap reimplementation. +dnl Go for whatever header files we can. +AC_CHECK_HEADERS([ncurses.h curses.h term.h]) + if test "x${with_termcap}" = xyes; then AC_CHECK_LIB([ncurses], [tgetent], [have_ncurses=yes]) @@ -734,9 +737,6 @@ elif test "x${with_termcap}" != xno; then fi -dnl Go for whatever header files we can. -AC_CHECK_HEADERS([ncurses.h curses.h term.h]) - case "${with_termcap}" in yes) AC_MSG_WARN([No termcap library found; will emulate it])