about summary refs log tree commit diff stats
path: root/configure.in
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2001-11-08 20:59:59 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2001-11-08 20:59:59 -0500
commit6cb04c09f063188e7dae5d1e5e5c69eb64703626 (patch)
tree46c2950351bf3f2cde1f610eae7bc9cfb52c5221 /configure.in
parentf78e27712a4f44dbdf3c1532c3d1958989bf40a5 (diff)
downloadlynx-snapshots-6cb04c09f063188e7dae5d1e5e5c69eb64703626.tar.gz
snapshot of project "lynx", label v2-8-5dev_4
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 11 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 9b5be075..90ebcccd 100644
--- a/configure.in
+++ b/configure.in
@@ -396,7 +396,7 @@ AC_ARG_WITH(screen,
                           (XXX is curses (default), ncurses or slang)],
 	[
 case $withval in
-curses|ncurses|pdcurses|slang)
+curses|ncurses|ncursesw|pdcurses|slang)
 	cf_cv_screen=$withval
 	;;
 *)	AC_ERROR(Unexpected value)
@@ -405,7 +405,7 @@ esac],
 	[cf_cv_screen=curses])])
 
 case $cf_cv_screen in
-ncurses|slang)
+ncurses|ncursesw|slang)
 	;;
 pdcurses)
 	cf_cv_ncurses_header=xcurses.h
@@ -430,6 +430,12 @@ ncurses)
 	CF_NCURSES_LIBS
 	CF_NCURSES_VERSION
 	;;
+ncursesw)
+	CF_UTF8_LIB
+	CF_NCURSES_CPPFLAGS(ncursesw)
+	CF_NCURSES_LIBS(ncursesw)
+	CF_NCURSES_VERSION
+	;;
 pdcurses)
 	# do this last, since it changes definition of main: CF_PDCURSES_X11
 	;;
@@ -553,6 +559,7 @@ AC_CHECK_FUNCS( \
 	gettimeofday \
 	getuid \
 	mktemp \
+	mkdtemp \
 	popen \
 	putenv \
 	readdir \
@@ -592,7 +599,7 @@ CF_CHECK_EXTERN_DATA(h_errno,int)
 ### These tests must be run after establishing the curses library.
 if test $cf_cv_screen != slang ; then
 	if test $cf_cv_screen != pdcurses ; then
-		AC_CHECK_HEADERS(ncurses/term.h term.h)
+		AC_CHECK_HEADERS($cf_cv_screen/term.h term.h)
 	fi
 	CF_ALT_CHAR_SET
 	CF_FANCY_CURSES
@@ -600,6 +607,7 @@ if test $cf_cv_screen != slang ; then
 	CF_COLOR_CURSES
 	CF_SIZECHANGE
 	CF_TTYTYPE
+	CF_WIDEC_CURSES
 	CF_CURSES_FUNCS( \
 		assume_default_colors \
 		cbreak \