Revert "Automatically add include paths for ncurses on Cygwin"

This reverts commit cd7f1a15f8.

Contemporary Cygwin systems provide the correct symlinks on both 32-bit
and 64-bit installations to allow the transparent use of libncursesw as
libncurses.

Reversion of #1454.
This commit is contained in:
David Adam 2015-06-26 13:14:30 +08:00
parent ad237136e7
commit 6ec58a20c0

View file

@ -223,16 +223,6 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],
])
LDFLAGS="$prev_LDFLAGS"
#
# On Cygwin, we need to add some flags for ncurses.
#
case `uname` in
CYGWIN*)
echo "adding flags for ncurses on Cygwin"
CXXFLAGS="$CXXFLAGS -I/usr/include -I/usr/include/ncursesw"
LDFLAGS_FISH="$LDFLAGS_FISH -L/usr/lib/ncursesw"
;;
esac
#
# If we are compiling against glibc, set some flags to work around