diff options
author | James Booth <boothj5@gmail.com> | 2014-03-08 23:52:14 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-03-08 23:52:14 +0000 |
commit | ea16cacf91fdfa72958386484be3c700add29b87 (patch) | |
tree | c74b84dcbded5312e89fa548f717b3771c39e8b8 | |
parent | 2b3d64514712e17f52dd7df3e4d1bfa41c92c892 (diff) | |
download | profani-tty-ea16cacf91fdfa72958386484be3c700add29b87.tar.gz |
Uncommented ncurses check
-rw-r--r-- | configure.ac | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac index 3abf8c1e..3bc7d182 100644 --- a/configure.ac +++ b/configure.ac @@ -96,23 +96,23 @@ AM_CPPFLAGS="$AM_CPPFLAGS $NCURSES_CFLAGS" LIBS="$LIBS $NCURSES_LIBS" ### Check wide characters support in ncurses library -###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> -### int main() { -### (void)wget_wch(NULL, NULL); -### return 0; -### } -### ])], -### [ncurses_cv_wget_wch=yes], -### [ncurses_cv_wget_wch=no]) -### ]) -###CFLAGS="$CFLAGS_RESTORE" - -###AS_IF([test "x$ncurses_cv_wget_wch" != xyes], -### [AC_MSG_ERROR([ncurses does not support wide characters])]) +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> + int main() { + (void)wget_wch(NULL, NULL); + return 0; + } + ])], + [ncurses_cv_wget_wch=yes], + [ncurses_cv_wget_wch=no]) + ]) +CFLAGS="$CFLAGS_RESTORE" + +AS_IF([test "x$ncurses_cv_wget_wch" != xyes], + [AC_MSG_ERROR([ncurses does not support wide characters])]) ### Check for other profanity dependencies PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.26], [], |