mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Commented ncurses wget_wch test
This commit is contained in:
parent
15fce2cf95
commit
2c976d3523
32
configure.ac
32
configure.ac
@ -96,23 +96,23 @@ AM_CPPFLAGS="$AM_CPPFLAGS $NCURSES_CFLAGS"
|
|||||||
LIBS="$LIBS $NCURSES_LIBS"
|
LIBS="$LIBS $NCURSES_LIBS"
|
||||||
|
|
||||||
### Check wide characters support in ncurses library
|
### Check wide characters support in ncurses library
|
||||||
CFLAGS_RESTORE="$CFLAGS"
|
###CFLAGS_RESTORE="$CFLAGS"
|
||||||
CFLAGS="$CFLAGS $NCURSES_CFLAGS"
|
###CFLAGS="$CFLAGS $NCURSES_CFLAGS"
|
||||||
AC_CACHE_CHECK([for wget_wch support in $NCURSES], ncurses_cv_wget_wch,
|
###AC_CACHE_CHECK([for wget_wch support in $NCURSES], ncurses_cv_wget_wch,
|
||||||
[AC_LINK_IFELSE([AC_LANG_SOURCE([
|
### [AC_LINK_IFELSE([AC_LANG_SOURCE([
|
||||||
#include <ncurses.h>
|
### #include <ncurses.h>
|
||||||
int main() {
|
### int main() {
|
||||||
(void)wget_wch(NULL, NULL);
|
### (void)wget_wch(NULL, NULL);
|
||||||
return 0;
|
### return 0;
|
||||||
}
|
### }
|
||||||
])],
|
### ])],
|
||||||
[ncurses_cv_wget_wch=yes],
|
### [ncurses_cv_wget_wch=yes],
|
||||||
[ncurses_cv_wget_wch=no])
|
### [ncurses_cv_wget_wch=no])
|
||||||
])
|
### ])
|
||||||
CFLAGS="$CFLAGS_RESTORE"
|
###CFLAGS="$CFLAGS_RESTORE"
|
||||||
|
|
||||||
AS_IF([test "x$ncurses_cv_wget_wch" != xyes],
|
###AS_IF([test "x$ncurses_cv_wget_wch" != xyes],
|
||||||
[AC_MSG_ERROR([ncurses does not support wide characters])])
|
### [AC_MSG_ERROR([ncurses does not support wide characters])])
|
||||||
|
|
||||||
### Check for other profanity dependencies
|
### Check for other profanity dependencies
|
||||||
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.26], [],
|
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.26], [],
|
||||||
|
Loading…
Reference in New Issue
Block a user