1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-09 21:30:42 +00:00

Fixed check for wget_wch to not rely on header

As per pasis suggestion at #421
This commit is contained in:
James Booth 2014-09-07 23:54:31 +01:00
parent b69c9aad87
commit f983438e97

View File

@ -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;
}
])],