diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e6de2e4..e682ba0 100644 --- a/configure.ac +++ b/configure.ac @@ -228,7 +228,7 @@ AC_CHECK_FUNCS([gettimeofday setrlimit inet_ntoa iswprint memchr memset nl_langi AC_SEARCH_LIBS([clock_gettime], [rt], [AC_DEFINE([HAVE_CLOCK_GETTIME], [1], [Define if clock_gettime is available.])]) AS_IF([test x"$__CYGWIN__" != x && test x"$TINFO_CPPFLAGS" = x], - [TINFO_CPPFLAGS="-I/usr/include/ncurses"]) + [AC_SUBST([CPPFLAGS], ["$CPPFLAGS -I/usr/include/ncurses"])]) PKG_CHECK_MODULES([TINFO], [tinfo], , [PKG_CHECK_MODULES([TINFO], [ncurses], , |