From 2b8b9b2883627ffd6a932e7be1b241509b49c606 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 11 Nov 2008 14:54:47 +0000 Subject: documentation updates --- configure.in | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index de8e2dd..e008db6 100644 --- a/configure.in +++ b/configure.in @@ -144,13 +144,22 @@ if test "x${with_ncurses}" != "xno"; then CPPFLAGS="$CPPFLAGS $CURSES_CFLAGS" AC_CHECK_HEADER(ncurses.h, - HAVE_CURSES=yes - AC_DEFINE(HAVE_CURSES, 1, [Define this if you have ncurses]) + HAVE_CURSES=ncurses + AC_DEFINE(HAVE_CURSES, 1, [Define this if you have the curses library]) CURSES_LIBS="$NCURSES_LIBS -lncurses", HAVE_CURSES=no ) - CPPFLAGS="$save_CPPFLAGS" + if test "x${HAVE_CURSES}" = "xno"; then + AC_CHECK_HEADER(curses.h, + HAVE_CURSES=pdcurses + AC_DEFINE(HAVE_CURSES, 1, [Define this if you have the curses library]) + CURSES_LIBS="$NCURSES_LIBS -lpdcurses", + HAVE_CURSES=no + ) + fi + + CPPFLAGS="$save_CPPFLAGS" fi AC_SUBST(CURSES_CFLAGS) AC_SUBST(CURSES_LIBS) @@ -302,7 +311,7 @@ Configuration summary: platform ........... $host flags .............. $CXXFLAGS libraries .......... $HOST_LIBS $LIBJPG_LIBS $LIBPNG_LIBS - ncurses ............ $HAVE_CURSES + curses ............. $HAVE_CURSES build client ....... $BUILD_CLIENT opengl ............. $GL_LIBS openal ............. $AL_LIBS -- cgit v1.2.3