Skip to content

Commit

Permalink
fix ncurses check to validate the discovered library location (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
berquist authored May 8, 2024
1 parent ae02be2 commit 8a774ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/sst_check_curses.m4
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ AC_DEFUN([SST_CHECK_CURSES],
CPPFLAGS="$CPPFLAGS $CURSES_CPPFLAGS"
LDFLAGS="$LDFLAGS $CURSES_LIBS"
dnl Check for specific header
dnl Check that the specific header exists and that the config-provided lib locations are correct.
AC_LANG_PUSH([C++])
AC_CHECK_HEADER([ncurses.h], [], [sst_check_curses_happy="no"])
AC_SEARCH_LIBS([initscr], [$CURSES_LIBS], [], [sst_check_curses_happy="no"])
AC_LANG_POP([C++])
CPPFLAGS="$CPPFLAGS_saved"
Expand Down

0 comments on commit 8a774ac

Please sign in to comment.