get f4f5d4fd to build
This commit is contained in:
parent
f4f5d4fd43
commit
87676eab16
@ -23,7 +23,7 @@ AC_C_BIGENDIAN
|
|||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
AC_CHECK_HEADERS([ctype.h getopt.h locale.h math.h signal.h stdio.h stdlib.h \
|
AC_CHECK_HEADERS([ctype.h getopt.h locale.h math.h signal.h stdio.h stdlib.h \
|
||||||
string.h sys/stat.h sys/types.h sys/wait.h time.h unistd.h \
|
string.h sys/stat.h sys/types.h sys/wait.h time.h unistd.h \
|
||||||
fcntl.h paths.h errno.h limits.h regex.h])
|
fcntl.h paths.h errno.h limits.h regex.h wchar.h])
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# Checks for system libs
|
# Checks for system libs
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
@ -32,6 +32,9 @@ if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then
|
|||||||
AC_MSG_ERROR(Either ncurses or ncursesw library is required to build calcurse!)
|
AC_MSG_ERROR(Either ncurses or ncursesw library is required to build calcurse!)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_DEFINE([_XOPEN_SOURCE_EXTENDED], [1], [Enable wide-character support])
|
||||||
|
AC_DEFINE([NCURSES_WIDECHAR], [1], [Enable ncurses wide-character support])
|
||||||
|
|
||||||
LIBS="$LIBS $CURSES_LIBS"
|
LIBS="$LIBS $CURSES_LIBS"
|
||||||
|
|
||||||
AC_CHECK_HEADERS([pthread.h], [
|
AC_CHECK_HEADERS([pthread.h], [
|
||||||
|
@ -36,6 +36,8 @@
|
|||||||
|
|
||||||
#include "calcurse.h"
|
#include "calcurse.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <wchar.h>
|
||||||
|
#include <curses.h>
|
||||||
|
|
||||||
static unsigned ui_todo_view = 0;
|
static unsigned ui_todo_view = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user