diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2004-07-01 00:09:10 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2004-07-01 00:09:10 -0400 |
commit | ceb4156db8546c98875607dd91a799101b02c22f (patch) | |
tree | 23470c5e32d7f12c3346806358dcb2503d2ce282 /configure | |
parent | 06cddc6badf9b4a4791361cfbeffc5b1e2d2d6a6 (diff) | |
download | lynx-snapshots-ceb4156db8546c98875607dd91a799101b02c22f.tar.gz |
snapshot of project "lynx", label v2-8-6dev_5
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 468 |
1 files changed, 278 insertions, 190 deletions
diff --git a/configure b/configure index 4a67cd37..b0f85aa7 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in 2.8.6dev.3. +# From configure.in 2.8.6dev.4. # Guess values for system-dependent variables and create Makefiles. # Generated by Autoconf 2.52.20030208. # @@ -704,8 +704,8 @@ Basic Configuration Options: --with-gnutls=path link with experimental gnutls support --with-socks=path link with socks library if available --with-socks5=path link with socks5 library if available - --with-screen=XXX select screen type - (XXX is curses (default), ncurses or slang) + --with-screen=XXX select screen type (XXX is curses (default), + ncurses, ncursesw, pdcurses or slang) --with-curses-dir=DIR directory in which (n)curses is installed --with-charsets=list limit charsets to given list of MIME names Experimental Options: @@ -1184,7 +1184,7 @@ fi PACKAGE=lynx # $Format: "VERSION=$ProjectVersion$"$ -VERSION=2.8.6dev.4 +VERSION=2.8.6dev.5 test -z "$ALL_LINGUAS" && ALL_LINGUAS=`test -d $srcdir/po && cd $srcdir/po && echo *.po|sed -e 's/\.po//g' -e 's/*//'` @@ -6123,7 +6123,7 @@ hpux*) #(vi irix6.*) #(vi CPPFLAGS="$CPPFLAGS -D_SGI_SOURCE" ;; -linux*) #(vi +linux*|gnu*) #(vi echo "$as_me:6128: checking if we must define _GNU_SOURCE" >&5 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6 @@ -22671,25 +22671,61 @@ fi cf_x_athena=${cf_x_athena-Xaw} +echo "$as_me:22674: checking if you want to link with Xaw 3d library" >&5 +echo $ECHO_N "checking if you want to link with Xaw 3d library... $ECHO_C" >&6 +withval= + # Check whether --with-Xaw3d or --without-Xaw3d was given. if test "${with_Xaw3d+set}" = set; then withval="$with_Xaw3d" - cf_x_athena=Xaw3d + fi; +if test "$withval" = yes ; then + cf_x_athena=Xaw3d + echo "$as_me:22685: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else + echo "$as_me:22688: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +echo "$as_me:22692: checking if you want to link with neXT Athena library" >&5 +echo $ECHO_N "checking if you want to link with neXT Athena library... $ECHO_C" >&6 +withval= # Check whether --with-neXtaw or --without-neXtaw was given. if test "${with_neXtaw+set}" = set; then withval="$with_neXtaw" - cf_x_athena=neXtaw + fi; +if test "$withval" = yes ; then + cf_x_athena=neXtaw + echo "$as_me:22703: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else + echo "$as_me:22706: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +echo "$as_me:22710: checking if you want to link with Athena-Plus library" >&5 +echo $ECHO_N "checking if you want to link with Athena-Plus library... $ECHO_C" >&6 +withval= # Check whether --with-XawPlus or --without-XawPlus was given. if test "${with_XawPlus+set}" = set; then withval="$with_XawPlus" - cf_x_athena=XawPlus + fi; +if test "$withval" = yes ; then + cf_x_athena=XawPlus + echo "$as_me:22721: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +else + echo "$as_me:22724: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi -echo "$as_me:22692: checking for XextCreateExtension in -lXext" >&5 +echo "$as_me:22728: checking for XextCreateExtension in -lXext" >&5 echo $ECHO_N "checking for XextCreateExtension in -lXext... $ECHO_C" >&6 if test "${ac_cv_lib_Xext_XextCreateExtension+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -22697,7 +22733,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lXext $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 22700 "configure" +#line 22736 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -22716,16 +22752,16 @@ XextCreateExtension (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22719: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22755: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22722: \$? = $ac_status" >&5 + echo "$as_me:22758: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22725: \"$ac_try\"") >&5 + { (eval echo "$as_me:22761: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22728: \$? = $ac_status" >&5 + echo "$as_me:22764: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_Xext_XextCreateExtension=yes else @@ -22736,7 +22772,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:22739: result: $ac_cv_lib_Xext_XextCreateExtension" >&5 +echo "$as_me:22775: result: $ac_cv_lib_Xext_XextCreateExtension" >&5 echo "${ECHO_T}$ac_cv_lib_Xext_XextCreateExtension" >&6 if test $ac_cv_lib_Xext_XextCreateExtension = yes; then LIBS="-lXext $LIBS" @@ -22758,14 +22794,14 @@ do cf_test=X11/$cf_x_athena_root/SimpleMenu.h if test $cf_path != default ; then CPPFLAGS="-I$cf_path/include $cf_save" - echo "$as_me:22761: checking for $cf_test in $cf_path" >&5 + echo "$as_me:22797: checking for $cf_test in $cf_path" >&5 echo $ECHO_N "checking for $cf_test in $cf_path... $ECHO_C" >&6 else - echo "$as_me:22764: checking for $cf_test" >&5 + echo "$as_me:22800: checking for $cf_test" >&5 echo $ECHO_N "checking for $cf_test... $ECHO_C" >&6 fi cat >conftest.$ac_ext <<_ACEOF -#line 22768 "configure" +#line 22804 "configure" #include "confdefs.h" #include <X11/Intrinsic.h> @@ -22779,16 +22815,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:22782: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22818: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22785: \$? = $ac_status" >&5 + echo "$as_me:22821: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:22788: \"$ac_try\"") >&5 + { (eval echo "$as_me:22824: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22791: \$? = $ac_status" >&5 + echo "$as_me:22827: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_result=yes else @@ -22797,7 +22833,7 @@ cat conftest.$ac_ext >&5 cf_result=no fi rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:22800: result: $cf_result" >&5 + echo "$as_me:22836: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test "$cf_result" = yes ; then cf_x_athena_include=$cf_path @@ -22809,7 +22845,7 @@ echo "${ECHO_T}$cf_result" >&6 done if test -z "$cf_x_athena_include" ; then - { echo "$as_me:22812: WARNING: Unable to successfully find Athena header files with test program" >&5 + { echo "$as_me:22848: WARNING: Unable to successfully find Athena header files with test program" >&5 echo "$as_me: WARNING: Unable to successfully find Athena header files with test program" >&2;} elif test "$cf_x_athena_include" != default ; then CPPFLAGS="$CPPFLAGS -I$cf_x_athena_include" @@ -22834,17 +22870,17 @@ do cf_test=XawSimpleMenuAddGlobalActions if test $cf_path != default ; then LIBS="-L$cf_path/lib $cf_lib $LIBS" - echo "$as_me:22837: checking for $cf_lib in $cf_path" >&5 + echo "$as_me:22873: checking for $cf_lib in $cf_path" >&5 echo $ECHO_N "checking for $cf_lib in $cf_path... $ECHO_C" >&6 else LIBS="$cf_lib $LIBS" - echo "$as_me:22841: checking for $cf_test in $cf_lib" >&5 + echo "$as_me:22877: checking for $cf_test in $cf_lib" >&5 echo $ECHO_N "checking for $cf_test in $cf_lib... $ECHO_C" >&6 fi cf_SAVE="$LIBS" LIBS="$X_PRE_LIBS $LIBS $X_EXTRA_LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 22847 "configure" +#line 22883 "configure" #include "confdefs.h" int @@ -22856,16 +22892,16 @@ $cf_test() } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22859: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22895: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22862: \$? = $ac_status" >&5 + echo "$as_me:22898: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:22865: \"$ac_try\"") >&5 + { (eval echo "$as_me:22901: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22868: \$? = $ac_status" >&5 + echo "$as_me:22904: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_result=yes else @@ -22874,7 +22910,7 @@ cat conftest.$ac_ext >&5 cf_result=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - echo "$as_me:22877: result: $cf_result" >&5 + echo "$as_me:22913: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test "$cf_result" = yes ; then cf_x_athena_lib="$cf_lib" @@ -22888,7 +22924,7 @@ echo "${ECHO_T}$cf_result" >&6 done if test -z "$cf_x_athena_lib" ; then - { { echo "$as_me:22891: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&5 + { { echo "$as_me:22927: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&5 echo "$as_me: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&2;} { (exit 1); exit 1; }; } fi @@ -22979,7 +23015,7 @@ fi if test "$cf_check_cflags" != "$CFLAGS" ; then cat >conftest.$ac_ext <<_ACEOF -#line 22982 "configure" +#line 23018 "configure" #include "confdefs.h" #include <stdio.h> int @@ -22991,16 +23027,16 @@ printf("Hello world"); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:22994: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23030: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22997: \$? = $ac_status" >&5 + echo "$as_me:23033: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:23000: \"$ac_try\"") >&5 + { (eval echo "$as_me:23036: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23003: \$? = $ac_status" >&5 + echo "$as_me:23039: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else @@ -23017,7 +23053,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:23020: checking for XOpenDisplay in -lX11" >&5 +echo "$as_me:23056: checking for XOpenDisplay in -lX11" >&5 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23025,7 +23061,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lX11 $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 23028 "configure" +#line 23064 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -23044,16 +23080,16 @@ XOpenDisplay (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:23047: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23083: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23050: \$? = $ac_status" >&5 + echo "$as_me:23086: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:23053: \"$ac_try\"") >&5 + { (eval echo "$as_me:23089: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23056: \$? = $ac_status" >&5 + echo "$as_me:23092: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_X11_XOpenDisplay=yes else @@ -23064,13 +23100,13 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:23067: result: $ac_cv_lib_X11_XOpenDisplay" >&5 +echo "$as_me:23103: result: $ac_cv_lib_X11_XOpenDisplay" >&5 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6 if test $ac_cv_lib_X11_XOpenDisplay = yes; then LIBS="-lX11 $LIBS" fi -echo "$as_me:23073: checking for XCurses library" >&5 +echo "$as_me:23109: checking for XCurses library" >&5 echo $ECHO_N "checking for XCurses library... $ECHO_C" >&6 if test "${cf_cv_lib_XCurses+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23078,7 +23114,7 @@ else LIBS="-lXCurses $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 23081 "configure" +#line 23117 "configure" #include "confdefs.h" #include <xcurses.h> @@ -23093,16 +23129,16 @@ XCursesExit(); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:23096: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23132: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23099: \$? = $ac_status" >&5 + echo "$as_me:23135: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:23102: \"$ac_try\"") >&5 + { (eval echo "$as_me:23138: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23105: \$? = $ac_status" >&5 + echo "$as_me:23141: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_lib_XCurses=yes else @@ -23113,7 +23149,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:23116: result: $cf_cv_lib_XCurses" >&5 +echo "$as_me:23152: result: $cf_cv_lib_XCurses" >&5 echo "${ECHO_T}$cf_cv_lib_XCurses" >&6 if test $cf_cv_lib_XCurses = yes ; then cat >>confdefs.h <<\EOF @@ -23129,14 +23165,14 @@ EOF EOF else - { { echo "$as_me:23132: error: Cannot link with XCurses" >&5 + { { echo "$as_me:23168: error: Cannot link with XCurses" >&5 echo "$as_me: error: Cannot link with XCurses" >&2;} { (exit 1); exit 1; }; } fi else -echo "$as_me:23139: checking if we can include termio.h with curses" >&5 +echo "$as_me:23175: checking if we can include termio.h with curses" >&5 echo $ECHO_N "checking if we can include termio.h with curses... $ECHO_C" >&6 if test "${cf_cv_termio_and_curses+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23146,7 +23182,7 @@ else CPPFLAGS="$CPPFLAGS -DHAVE_CONFIG_H -I. -I${srcdir-.} -I${srcdir-.}/src -I${srcdir-.}/WWW/Library/Implementation" touch lynx_cfg.h cat >conftest.$ac_ext <<_ACEOF -#line 23149 "configure" +#line 23185 "configure" #include "confdefs.h" #include <LYCurses.h> @@ -23160,16 +23196,16 @@ putchar(0x0a) } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:23163: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23199: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23166: \$? = $ac_status" >&5 + echo "$as_me:23202: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23169: \"$ac_try\"") >&5 + { (eval echo "$as_me:23205: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23172: \$? = $ac_status" >&5 + echo "$as_me:23208: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_termio_and_curses=yes else @@ -23182,7 +23218,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext rm -f lynx_cfg.h fi -echo "$as_me:23185: result: $cf_cv_termio_and_curses" >&5 +echo "$as_me:23221: result: $cf_cv_termio_and_curses" >&5 echo "${ECHO_T}$cf_cv_termio_and_curses" >&6 test $cf_cv_termio_and_curses = yes && cat >>confdefs.h <<\EOF @@ -23197,23 +23233,23 @@ if test $cf_cv_screen != slang ; then for ac_header in $cf_cv_screen/term.h term.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:23200: checking for $ac_header" >&5 +echo "$as_me:23236: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 23206 "configure" +#line 23242 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:23210: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:23246: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:23216: \$? = $ac_status" >&5 + echo "$as_me:23252: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -23232,7 +23268,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:23235: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:23271: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF @@ -23242,7 +23278,7 @@ EOF fi done -echo "$as_me:23245: checking if curses supports alternate-character set" >&5 +echo "$as_me:23281: checking if curses supports alternate-character set" >&5 echo $ECHO_N "checking if curses supports alternate-character set... $ECHO_C" >&6 if test "${cf_cv_alt_char_set+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23251,7 +23287,7 @@ else for mapname in acs_map _acs_map do cat >conftest.$ac_ext <<_ACEOF -#line 23254 "configure" +#line 23290 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header-curses.h}> @@ -23265,16 +23301,16 @@ chtype x = $mapname['l']; $mapname['m'] = 0 } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:23268: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23304: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23271: \$? = $ac_status" >&5 + echo "$as_me:23307: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:23274: \"$ac_try\"") >&5 + { (eval echo "$as_me:23310: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23277: \$? = $ac_status" >&5 + echo "$as_me:23313: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_alt_char_set=$mapname break @@ -23288,20 +23324,20 @@ done fi -echo "$as_me:23291: result: $cf_cv_alt_char_set" >&5 +echo "$as_me:23327: result: $cf_cv_alt_char_set" >&5 echo "${ECHO_T}$cf_cv_alt_char_set" >&6 test $cf_cv_alt_char_set != no && cat >>confdefs.h <<EOF #define ALT_CHAR_SET $cf_cv_alt_char_set EOF -echo "$as_me:23297: checking if curses supports fancy attributes" >&5 +echo "$as_me:23333: checking if curses supports fancy attributes" >&5 echo $ECHO_N "checking if curses supports fancy attributes... $ECHO_C" >&6 if test "${cf_cv_fancy_curses+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 23304 "configure" +#line 23340 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header-curses.h}> @@ -23319,16 +23355,16 @@ attrset(A_UNDERLINE|A_BOLD|A_REVERSE); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:23322: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23358: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23325: \$? = $ac_status" >&5 + echo "$as_me:23361: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:23328: \"$ac_try\"") >&5 + { (eval echo "$as_me:23364: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23331: \$? = $ac_status" >&5 + echo "$as_me:23367: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_fancy_curses=yes else @@ -23340,21 +23376,73 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:23343: result: $cf_cv_fancy_curses" >&5 +echo "$as_me:23379: result: $cf_cv_fancy_curses" >&5 echo "${ECHO_T}$cf_cv_fancy_curses" >&6 test $cf_cv_fancy_curses = yes && cat >>confdefs.h <<\EOF #define FANCY_CURSES 1 EOF +echo "$as_me:23385: checking for function curses_version" >&5 +echo $ECHO_N "checking for function curses_version... $ECHO_C" >&6 +if test "${cf_cv_func_curses_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + +if test "$cross_compiling" = yes; then + cf_cv_func_curses_version=unknown +else + cat >conftest.$ac_ext <<_ACEOF +#line 23395 "configure" +#include "confdefs.h" + +#include <${cf_cv_ncurses_header-curses.h}> +int main() +{ + char temp[1024]; + sprintf(temp, "%s\n", curses_version()); + exit(0); +} + +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:23408: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:23411: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:23413: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:23416: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cf_cv_func_curses_version=yes + +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +cf_cv_func_curses_version=no + +fi +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +rm -f core +fi +echo "$as_me:23431: result: $cf_cv_func_curses_version" >&5 +echo "${ECHO_T}$cf_cv_func_curses_version" >&6 +test "$cf_cv_func_curses_version" = yes && cat >>confdefs.h <<\EOF +#define HAVE_CURSES_VERSION 1 +EOF + if test "$cf_cv_ncurses_version" != no ; then -echo "$as_me:23350: checking for obsolete/broken version of ncurses" >&5 +echo "$as_me:23438: checking for obsolete/broken version of ncurses" >&5 echo $ECHO_N "checking for obsolete/broken version of ncurses... $ECHO_C" >&6 if test "${cf_cv_ncurses_broken+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 23357 "configure" +#line 23445 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header-curses.h}> @@ -23373,16 +23461,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:23376: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23464: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23379: \$? = $ac_status" >&5 + echo "$as_me:23467: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23382: \"$ac_try\"") >&5 + { (eval echo "$as_me:23470: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23385: \$? = $ac_status" >&5 + echo "$as_me:23473: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_ncurses_broken=no else @@ -23394,10 +23482,10 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:23397: result: $cf_cv_ncurses_broken" >&5 +echo "$as_me:23485: result: $cf_cv_ncurses_broken" >&5 echo "${ECHO_T}$cf_cv_ncurses_broken" >&6 if test "$cf_cv_ncurses_broken" = yes ; then - { echo "$as_me:23400: WARNING: hmm... you should get an up-to-date version of ncurses" >&5 + { echo "$as_me:23488: WARNING: hmm... you should get an up-to-date version of ncurses" >&5 echo "$as_me: WARNING: hmm... you should get an up-to-date version of ncurses" >&2;} cat >>confdefs.h <<\EOF #define NCURSES_BROKEN 1 @@ -23406,14 +23494,14 @@ EOF fi fi -echo "$as_me:23409: checking if curses supports color attributes" >&5 +echo "$as_me:23497: checking if curses supports color attributes" >&5 echo $ECHO_N "checking if curses supports color attributes... $ECHO_C" >&6 if test "${cf_cv_color_curses+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 23416 "configure" +#line 23504 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header-curses.h}> @@ -23433,16 +23521,16 @@ chtype x = COLOR_BLUE; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:23436: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23524: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23439: \$? = $ac_status" >&5 + echo "$as_me:23527: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:23442: \"$ac_try\"") >&5 + { (eval echo "$as_me:23530: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23445: \$? = $ac_status" >&5 + echo "$as_me:23533: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_color_curses=yes else @@ -23454,7 +23542,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:23457: result: $cf_cv_color_curses" >&5 +echo "$as_me:23545: result: $cf_cv_color_curses" >&5 echo "${ECHO_T}$cf_cv_color_curses" >&6 if test $cf_cv_color_curses = yes ; then cat >>confdefs.h <<\EOF @@ -23474,23 +23562,23 @@ unistd.h \ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:23477: checking for $ac_header" >&5 +echo "$as_me:23565: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 23483 "configure" +#line 23571 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:23487: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:23575: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:23493: \$? = $ac_status" >&5 + echo "$as_me:23581: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -23509,7 +23597,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:23512: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:23600: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF @@ -23524,23 +23612,23 @@ if test "$ISC" = yes ; then for ac_header in sys/termio.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:23527: checking for $ac_header" >&5 +echo "$as_me:23615: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 23533 "configure" +#line 23621 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:23537: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:23625: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:23543: \$? = $ac_status" >&5 + echo "$as_me:23631: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -23559,7 +23647,7 @@ else fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:23562: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "$as_me:23650: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<EOF @@ -23577,10 +23665,10 @@ if test "$ac_cv_header_termios_h" = yes ; then *) termios_bad=maybe ;; esac if test "$termios_bad" = maybe ; then - echo "$as_me:23580: checking whether termios.h needs _POSIX_SOURCE" >&5 + echo "$as_me:23668: checking whether termios.h needs _POSIX_SOURCE" >&5 echo $ECHO_N "checking whether termios.h needs _POSIX_SOURCE... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 23583 "configure" +#line 23671 "configure" #include "confdefs.h" #include <termios.h> int @@ -23592,16 +23680,16 @@ struct termios foo; int x = foo.c_iflag } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:23595: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23683: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23598: \$? = $ac_status" >&5 + echo "$as_me:23686: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23601: \"$ac_try\"") >&5 + { (eval echo "$as_me:23689: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23604: \$? = $ac_status" >&5 + echo "$as_me:23692: \$? = $ac_status" >&5 (exit $ac_status); }; }; then termios_bad=no else @@ -23609,7 +23697,7 @@ else cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 23612 "configure" +#line 23700 "configure" #include "confdefs.h" #define _POSIX_SOURCE @@ -23623,16 +23711,16 @@ struct termios foo; int x = foo.c_iflag } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:23626: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23714: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23629: \$? = $ac_status" >&5 + echo "$as_me:23717: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23632: \"$ac_try\"") >&5 + { (eval echo "$as_me:23720: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23635: \$? = $ac_status" >&5 + echo "$as_me:23723: \$? = $ac_status" >&5 (exit $ac_status); }; }; then termios_bad=unknown else @@ -23647,12 +23735,12 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.$ac_objext conftest.$ac_ext - echo "$as_me:23650: result: $termios_bad" >&5 + echo "$as_me:23738: result: $termios_bad" >&5 echo "${ECHO_T}$termios_bad" >&6 fi fi -echo "$as_me:23655: checking declaration of size-change" >&5 +echo "$as_me:23743: checking declaration of size-change" >&5 echo $ECHO_N "checking declaration of size-change... $ECHO_C" >&6 if test "${cf_cv_sizechange+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23667,7 +23755,7 @@ do CPPFLAGS="$cf_save_CPPFLAGS" test -n "$cf_opts" && CPPFLAGS="$CPPFLAGS -D$cf_opts" cat >conftest.$ac_ext <<_ACEOF -#line 23670 "configure" +#line 23758 "configure" #include "confdefs.h" #include <sys/types.h> #ifdef HAVE_TERMIOS_H @@ -23711,16 +23799,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:23714: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23802: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23717: \$? = $ac_status" >&5 + echo "$as_me:23805: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23720: \"$ac_try\"") >&5 + { (eval echo "$as_me:23808: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23723: \$? = $ac_status" >&5 + echo "$as_me:23811: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_sizechange=yes else @@ -23739,7 +23827,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext done fi -echo "$as_me:23742: result: $cf_cv_sizechange" >&5 +echo "$as_me:23830: result: $cf_cv_sizechange" >&5 echo "${ECHO_T}$cf_cv_sizechange" >&6 if test "$cf_cv_sizechange" != no ; then cat >>confdefs.h <<\EOF @@ -23756,14 +23844,14 @@ EOF esac fi -echo "$as_me:23759: checking if ttytype is declared in curses library" >&5 +echo "$as_me:23847: checking if ttytype is declared in curses library" >&5 echo $ECHO_N "checking if ttytype is declared in curses library... $ECHO_C" >&6 if test "${cf_cv_have_ttytype+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 23766 "configure" +#line 23854 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header-curses.h}> int @@ -23775,16 +23863,16 @@ char *x = &ttytype[1]; *x = 1 } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:23778: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23866: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23781: \$? = $ac_status" >&5 + echo "$as_me:23869: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:23784: \"$ac_try\"") >&5 + { (eval echo "$as_me:23872: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23787: \$? = $ac_status" >&5 + echo "$as_me:23875: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_have_ttytype=yes else @@ -23796,20 +23884,20 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:23799: result: $cf_cv_have_ttytype" >&5 +echo "$as_me:23887: result: $cf_cv_have_ttytype" >&5 echo "${ECHO_T}$cf_cv_have_ttytype" >&6 test $cf_cv_have_ttytype = yes && cat >>confdefs.h <<\EOF #define HAVE_TTYTYPE 1 EOF -echo "$as_me:23805: checking if curses supports wide characters" >&5 +echo "$as_me:23893: checking if curses supports wide characters" >&5 echo $ECHO_N "checking if curses supports wide characters... $ECHO_C" >&6 if test "${cf_cv_widec_curses+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 23812 "configure" +#line 23900 "configure" #include "confdefs.h" #include <stdlib.h> @@ -23828,16 +23916,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:23831: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23919: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23834: \$? = $ac_status" >&5 + echo "$as_me:23922: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:23837: \"$ac_try\"") >&5 + { (eval echo "$as_me:23925: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23840: \$? = $ac_status" >&5 + echo "$as_me:23928: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_widec_curses=yes else @@ -23848,7 +23936,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:23851: result: $cf_cv_widec_curses" >&5 +echo "$as_me:23939: result: $cf_cv_widec_curses" >&5 echo "${ECHO_T}$cf_cv_widec_curses" >&6 if test "$cf_cv_widec_curses" = yes ; then @@ -23857,14 +23945,14 @@ if test "$cf_cv_widec_curses" = yes ; then EOF # This is needed on Tru64 5.0 to declare mbstate_t - echo "$as_me:23860: checking if we must include wchar.h to declare mbstate_t" >&5 + echo "$as_me:23948: checking if we must include wchar.h to declare mbstate_t" >&5 echo $ECHO_N "checking if we must include wchar.h to declare mbstate_t... $ECHO_C" >&6 if test "${cf_cv_widec_mbstate+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 23867 "configure" +#line 23955 "configure" #include "confdefs.h" #include <stdlib.h> @@ -23878,23 +23966,23 @@ mbstate_t state } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:23881: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23969: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23884: \$? = $ac_status" >&5 + echo "$as_me:23972: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23887: \"$ac_try\"") >&5 + { (eval echo "$as_me:23975: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23890: \$? = $ac_status" >&5 + echo "$as_me:23978: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_widec_mbstate=no else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 23897 "configure" +#line 23985 "configure" #include "confdefs.h" #include <stdlib.h> @@ -23909,16 +23997,16 @@ mbstate_t state } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:23912: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:24000: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23915: \$? = $ac_status" >&5 + echo "$as_me:24003: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:23918: \"$ac_try\"") >&5 + { (eval echo "$as_me:24006: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23921: \$? = $ac_status" >&5 + echo "$as_me:24009: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_widec_mbstate=yes else @@ -23930,7 +24018,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:23933: result: $cf_cv_widec_mbstate" >&5 +echo "$as_me:24021: result: $cf_cv_widec_mbstate" >&5 echo "${ECHO_T}$cf_cv_widec_mbstate" >&6 if test "$cf_cv_widec_mbstate" = yes ; then @@ -23949,14 +24037,14 @@ fi fi -echo "$as_me:23952: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5 +echo "$as_me:24040: checking if we must define _XOPEN_SOURCE_EXTENDED" >&5 echo $ECHO_N "checking if we must define _XOPEN_SOURCE_EXTENDED... $ECHO_C" >&6 if test "${cf_cv_need_xopen_extension+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 23959 "configure" +#line 24047 "configure" #include "confdefs.h" #include <stdlib.h> @@ -23973,23 +24061,23 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:23976: \"$ac_link\"") >&5 +if { (eval echo "$as_me:24064: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23979: \$? = $ac_status" >&5 + echo "$as_me:24067: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:23982: \"$ac_try\"") >&5 + { (eval echo "$as_me:24070: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23985: \$? = $ac_status" >&5 + echo "$as_me:24073: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_need_xopen_extension=no else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF -#line 23992 "configure" +#line 24080 "configure" #include "confdefs.h" #define _XOPEN_SOURCE_EXTENDED @@ -24007,16 +24095,16 @@ main () } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:24010: \"$ac_link\"") >&5 +if { (eval echo "$as_me:24098: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24013: \$? = $ac_status" >&5 + echo "$as_me:24101: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:24016: \"$ac_try\"") >&5 + { (eval echo "$as_me:24104: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24019: \$? = $ac_status" >&5 + echo "$as_me:24107: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_need_xopen_extension=yes else @@ -24028,11 +24116,11 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:24031: result: $cf_cv_need_xopen_extension" >&5 +echo "$as_me:24119: result: $cf_cv_need_xopen_extension" >&5 echo "${ECHO_T}$cf_cv_need_xopen_extension" >&6 test $cf_cv_need_xopen_extension = yes && CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED" -echo "$as_me:24035: checking for term.h" >&5 +echo "$as_me:24123: checking for term.h" >&5 echo $ECHO_N "checking for term.h... $ECHO_C" >&6 if test "${cf_cv_term_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -24045,7 +24133,7 @@ for cf_header in \ term.h do cat >conftest.$ac_ext <<_ACEOF -#line 24048 "configure" +#line 24136 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header-curses.h}> @@ -24059,16 +24147,16 @@ WINDOW *x } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:24062: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:24150: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24065: \$? = $ac_status" >&5 + echo "$as_me:24153: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:24068: \"$ac_try\"") >&5 + { (eval echo "$as_me:24156: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24071: \$? = $ac_status" >&5 + echo "$as_me:24159: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_cv_term_header=$cf_header break @@ -24081,7 +24169,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext done fi -echo "$as_me:24084: result: $cf_cv_term_header" >&5 +echo "$as_me:24172: result: $cf_cv_term_header" >&5 echo "${ECHO_T}$cf_cv_term_header" >&6 case $cf_cv_term_header in #(vi @@ -24131,10 +24219,10 @@ do cf_tr_func=`echo "$cf_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` - echo "$as_me:24134: checking for ${cf_func}" >&5 + echo "$as_me:24222: checking for ${cf_func}" >&5 echo $ECHO_N "checking for ${cf_func}... $ECHO_C" >&6 -echo "(line 24137) testing ${cf_func} ..." 1>&5 +echo "(line 24225) testing ${cf_func} ..." 1>&5 if eval "test \"\${cf_cv_func_$cf_func+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -24143,7 +24231,7 @@ else eval cf_result='$ac_cv_func_'$cf_func if test ".$cf_result" != ".no"; then cat >conftest.$ac_ext <<_ACEOF -#line 24146 "configure" +#line 24234 "configure" #include "confdefs.h" #ifdef HAVE_XCURSES @@ -24177,16 +24265,16 @@ exit(foo == 0); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:24180: \"$ac_link\"") >&5 +if { (eval echo "$as_me:24268: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24183: \$? = $ac_status" >&5 + echo "$as_me:24271: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:24186: \"$ac_try\"") >&5 + { (eval echo "$as_me:24274: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24189: \$? = $ac_status" >&5 + echo "$as_me:24277: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cf_result=yes else @@ -24202,7 +24290,7 @@ fi # use the computed/retrieved cache-value: eval 'cf_result=$cf_cv_func_'$cf_func - echo "$as_me:24205: result: $cf_result" >&5 + echo "$as_me:24293: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test $cf_result != no; then cat >>confdefs.h <<EOF @@ -24216,12 +24304,12 @@ fi if test $use_color_style != no ; then if test .$cf_cv_color_curses != .yes ; then - { { echo "$as_me:24219: error: Configuration does not support color-styles" >&5 + { { echo "$as_me:24307: error: Configuration does not support color-styles" >&5 echo "$as_me: error: Configuration does not support color-styles" >&2;} { (exit 1); exit 1; }; } fi if test $cf_cv_screen = slang ; then - { { echo "$as_me:24224: error: Configuration does not support color-styles" >&5 + { { echo "$as_me:24312: error: Configuration does not support color-styles" >&5 echo "$as_me: error: Configuration does not support color-styles" >&2;} { (exit 1); exit 1; }; } fi @@ -24229,7 +24317,7 @@ fi if test $use_scrollbar != no ; then if test .$cf_cv_fancy_curses != .yes ; then - { echo "$as_me:24232: WARNING: Configuration does not support ACS_xxx definitions" >&5 + { echo "$as_me:24320: WARNING: Configuration does not support ACS_xxx definitions" >&5 echo "$as_me: WARNING: Configuration does not support ACS_xxx definitions" >&2;} else cat >>confdefs.h <<\EOF @@ -24334,7 +24422,7 @@ DEFS=-DHAVE_CONFIG_H : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:24337: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:24425: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -24510,7 +24598,7 @@ cat >>$CONFIG_STATUS <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:24513: error: ambiguous option: $1 + { { echo "$as_me:24601: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} @@ -24529,7 +24617,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:24532: error: unrecognized option: $1 + -*) { { echo "$as_me:24620: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} @@ -24582,7 +24670,7 @@ do "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; "$CONFIG_H" ) CONFIG_HEADERS="$CONFIG_HEADERS $CONFIG_H:config.hin" ;; - *) { { echo "$as_me:24585: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:24673: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -24888,7 +24976,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:24891: creating $ac_file" >&5 + { echo "$as_me:24979: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -24906,7 +24994,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:24909: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:24997: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -24919,7 +25007,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:24922: error: cannot find input file: $f" >&5 + { { echo "$as_me:25010: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -24985,7 +25073,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue * ) ac_file_in=$ac_file.in ;; esac - test x"$ac_file" != x- && { echo "$as_me:24988: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:25076: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -24996,7 +25084,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:24999: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:25087: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -25009,7 +25097,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:25012: error: cannot find input file: $f" >&5 + { { echo "$as_me:25100: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -25127,7 +25215,7 @@ cat >>$CONFIG_STATUS <<\EOF rm -f $tmp/in if test x"$ac_file" != x-; then if cmp -s $ac_file $tmp/config.h 2>/dev/null; then - { echo "$as_me:25130: $ac_file is unchanged" >&5 + { echo "$as_me:25218: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |