From f983438e97d92b639d053e0c188ea2fc0bed49fa Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 7 Sep 2014 23:54:31 +0100 Subject: [PATCH] Fixed check for wget_wch to not rely on header As per pasis suggestion at #421 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index fab773a4..efc25770 100644 --- a/configure.ac +++ b/configure.ac @@ -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 + void wget_wch(void); int main() { - (void)wget_wch(NULL, NULL); + wget_wch(); return 0; } ])],