about summary refs log tree commit diff stats
path: root/configure.in
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1997-07-22 11:57:03 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1997-07-22 11:57:03 -0400
commit36863953e4886d5269a325c93bd433847694a5fb (patch)
tree485d1197eea38785b908bcdc1e0f228ab90b80e1 /configure.in
parent57bfc74ff4ec4c2980b2330f2badc54a8990842d (diff)
downloadlynx-snapshots-36863953e4886d5269a325c93bd433847694a5fb.tar.gz
snapshot of project "lynx", label v2-7-1ac_0-38
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in15
1 files changed, 9 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index e957507b..c96deb90 100644
--- a/configure.in
+++ b/configure.in
@@ -58,6 +58,7 @@ dnl --------------------------------------------------------------------------
 dnl If we're able to run this script, this is true!
 AC_DEFINE(UNIX)
 
+CF_ANSI_CC
 AC_C_CONST
 
 case $host_os in
@@ -89,7 +90,10 @@ isc*)
 	LIBS="$LIBS -linet -lnsl_s -lcposix"
 	;;
 irix*)
-	CFLAGS="$CFLAGS -cckr" 
+	# The original makefile used the $CFLAGS option -cckr for some form
+	# of K&R compatibility.  However, this causes compilation warnings for
+	# varargs on IRIX 5.2, and does not appear to be needed.
+	#removed: CFLAGS="$CFLAGS -cckr" 
 	;;
 linux*)
 	CFLAGS="$CFLAGS -DLINUX" 
@@ -226,7 +230,7 @@ dnl --------------------------------------------------------------------------
 AC_MSG_CHECKING(if color-style code should be used)
 AC_CACHE_VAL(cf_cv_color_style,[
 AC_ARG_WITH(color-style,
-[  --with-color-style=XXX  enable color style (types are ncurses, slang)],
+[  --with-color-style      enable color style],
 	[cf_cv_color_style=$withval],
 	[cf_cv_color_style=no])])
 
@@ -234,6 +238,9 @@ if test $cf_cv_color_style != no ; then
 	if test .$cf_cv_color_curses != .yes ; then
 		AC_ERROR(Configuration does not support color-styles)
 	fi
+	if test $cf_cv_screen = slang ; then
+		AC_ERROR(Configuration does not support color-styles)
+	fi
 	AC_DEFINE(USEHASH)
 	AC_DEFINE(UNPAINT_CACHE)
 	AC_DEFINE(LINKEDSTYLES)
@@ -243,10 +250,6 @@ case $cf_cv_color_style in
 no)
 	AC_MSG_RESULT(no)
 	;;
-slang)
-	AC_DEFINE(SLCS)
-	AC_MSG_RESULT(slang-style)
-	;;
 *)
 	AC_DEFINE(USE_COLOR_STYLE)
 	AC_MSG_RESULT(curses-style)