summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Winstein <keithw@mit.edu>2012-04-24 16:42:39 -0400
committerKeith Winstein <keithw@mit.edu>2012-04-24 16:56:23 -0400
commit6cd21080ef958ada304088fbea17c10ac9ae7c19 (patch)
tree869c76ae7d089bd648b47aea921786aba02f3ffa
parent29ef17550fc037385222858a2bc41116dbb2a103 (diff)
Fix test for Cygwin terminfo location
-rw-r--r--configure.ac2
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], ,