mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 05:46:20 +00:00
Fixed check for wget_wch to not rely on header
As per pasis suggestion at #421
This commit is contained in:
@@ -103,9 +103,9 @@ CFLAGS_RESTORE="$CFLAGS"
|
||||
CFLAGS="$CFLAGS $NCURSES_CFLAGS"
|
||||
AC_CACHE_CHECK([for wget_wch support in $NCURSES], ncurses_cv_wget_wch,
|
||||
[AC_LINK_IFELSE([AC_LANG_SOURCE([
|
||||
#include <ncurses.h>
|
||||
void wget_wch(void);
|
||||
int main() {
|
||||
(void)wget_wch(NULL, NULL);
|
||||
wget_wch();
|
||||
return 0;
|
||||
}
|
||||
])],
|
||||
|
||||
Reference in New Issue
Block a user