ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure
(Generate patch)

Comparing rxvt-unicode/configure (file contents):
Revision 1.69 by root, Mon Jan 16 11:26:39 2006 UTC vs.
Revision 1.106 by ayin, Tue Jun 26 22:08:16 2007 UTC

307#endif 307#endif
308#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS afterimage_config XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PKG_CONFIG XFT_CONFIG PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O LIBAFTERIMAGE_CFLAGS AFTERIMAGE_LIBS include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS'
313ac_subst_files='MCOMMON' 313ac_subst_files=''
314 314
315# Initialize some variables set by options. 315# Initialize some variables set by options.
316ac_init_help= 316ac_init_help=
317ac_init_version=false 317ac_init_version=false
318# The variables have the same names as the options, with 318# The variables have the same names as the options, with
870 NOTE: automatically enabled with --enable-shared 870 NOTE: automatically enabled with --enable-shared
871 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 871 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
872 --enable-combining enable composition of base and combining characters 872 --enable-combining enable composition of base and combining characters
873 --enable-xft enable xft support on systems that have it 873 --enable-xft enable xft support on systems that have it
874 --enable-font-styles enable bold and italic support 874 --enable-font-styles enable bold and italic support
875 --enable-utmp enable utmp (utmpx) support
876 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
877 --enable-lastlog enable lastlog support (requires --enable-utmp)
878 --enable-xpm-background enable XPM background pixmaps 875 --enable-xpm-background enable background pixmaps
876 --enable-afterimage enable integration with libAfterImage for background images
877 --enable-afterstep enable integration with AfterStep window manager
879 --enable-transparency enable transparent backgrounds 878 --enable-transparency enable transparent backgrounds
880 --enable-tinting enable tinting of transparent bg 879 --enable-tinting enable tinting of transparent bg
881 --enable-fading enable colors fading when off focus 880 --enable-fading enable colors fading when off focus
882 --enable-menubar enable menubar
883 --enable-rxvt-scroll enable rxvt style scrollbar 881 --enable-rxvt-scroll enable rxvt style scrollbar
884 --enable-next-scroll enable NeXT style scrollbar 882 --enable-next-scroll enable NeXT style scrollbar
885 --enable-xterm-scroll enable Xterm style scrollbar 883 --enable-xterm-scroll enable Xterm style scrollbar
886 --enable-perl enable embedded perl interpreter 884 --enable-perl enable embedded perl interpreter
887 --enable-plain-scroll enable plain style scrollbar 885 --enable-plain-scroll enable plain style scrollbar
888 --enable-half-shadow use half width/height shadow on rxvt scrollbar
889 --enable-xim XIM (X Input Method) protocol support 886 --enable-xim XIM (X Input Method) protocol support
890 --enable-ttygid enable tty setting to group named "tty"
891 --disable-backspace-key disable handling of the backspace key 887 --disable-backspace-key disable handling of the backspace key
892 --disable-delete-key disable handling of the delete key 888 --disable-delete-key disable handling of the delete key
893 --disable-resources disable all resource checking 889 --disable-resources disable all resource checking
894 --enable-8bitctrls enable 8 bit control sequences (not recommended) 890 --enable-8bitctrls enable 8 bit control sequences (not recommended)
895 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 891 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
896 --disable-swapscreen disable swap screen support 892 --disable-swapscreen disable swap screen support
897 --enable-iso14755 enable support for extended ISO 14755 modes 893 --enable-iso14755 enable support for extended ISO 14755 modes
898 --enable-frills enable support for rarely used features 894 --enable-frills enable support for rarely used features
899 --enable-24bit enable support for using 24bit visuals if available
900 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 895 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
901 --enable-selectionscrolling enable scrolling during selections 896 --enable-selectionscrolling enable scrolling during selections
902 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 897 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
903 --enable-slipwheeling enable slip wheel scrolling (requires previous) 898 --enable-slipwheeling enable slip wheel scrolling (requires previous)
904 --enable-dmalloc enable Gray Watson's malloc - for debugging use
905 --enable-dlmalloc enable Doug Lea's malloc - for production use
906 NOTE: enable only one malloc package
907 --enable-smart-resize enable smart growth/shrink behaviour 899 --enable-smart-resize enable smart growth/shrink behaviour
908 --enable-text-blink enable blinking text 900 --enable-text-blink enable blinking text
909 --enable-pointer-blank enable pointer blank when typing or inactive pointer 901 --enable-pointer-blank enable pointer blank when typing or inactive pointer
902 --enable-utmp enable utmp (utmpx) support
903 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
904 --enable-lastlog enable lastlog support (requires --enable-utmp)
910 905
911Optional Packages: 906Optional Packages:
912 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 907 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
913 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 908 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
909 --with-afterimage-config=DIR use libAfterImage config script in DIR
914 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) 910 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)
915 --with-res-name=NAME use this as default resource name (default: urxvt) 911 --with-res-name=NAME use this as default resource name (default: urxvt)
916 --with-res-class=CLASS use this as the resource class (default: URxvt) 912 --with-res-class=CLASS use this as the resource class (default: URxvt)
917 --with-name=NAME set the basename for the installed binaries (default: urxvt) 913 --with-name=NAME set the basename for the installed binaries (default: urxvt)
918 --with-term=NAME set the terminal to NAME (default: rxvt) 914 --with-term=NAME set the terminal to NAME (default: rxvt)
1023 echo 1019 echo
1024 $ac_configure --help 1020 $ac_configure --help
1025 else 1021 else
1026 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1022 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1027 fi 1023 fi
1028 cd "$ac_popdir" 1024 cd $ac_popdir
1029 done 1025 done
1030fi 1026fi
1031 1027
1032test -n "$ac_init_help" && exit 0 1028test -n "$ac_init_help" && exit 0
1033if $ac_init_version; then 1029if $ac_init_version; then
1371 1367
1372 1368
1373 1369
1374 1370
1375 1371
1372
1373 ac_config_headers="$ac_config_headers config.h:config.h.in"
1374
1375
1376ac_aux_dir= 1376ac_aux_dir=
1377for ac_dir in autoconf $srcdir/autoconf; do 1377for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1378 if test -f $ac_dir/install-sh; then 1378 if test -f $ac_dir/install-sh; then
1379 ac_aux_dir=$ac_dir 1379 ac_aux_dir=$ac_dir
1380 ac_install_sh="$ac_aux_dir/install-sh -c" 1380 ac_install_sh="$ac_aux_dir/install-sh -c"
1381 break 1381 break
1382 elif test -f $ac_dir/install.sh; then 1382 elif test -f $ac_dir/install.sh; then
1388 ac_install_sh="$ac_aux_dir/shtool install -c" 1388 ac_install_sh="$ac_aux_dir/shtool install -c"
1389 break 1389 break
1390 fi 1390 fi
1391done 1391done
1392if test -z "$ac_aux_dir"; then 1392if test -z "$ac_aux_dir"; then
1393 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5 1393 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1394echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;} 1394echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1395 { (exit 1); exit 1; }; } 1395 { (exit 1); exit 1; }; }
1396fi 1396fi
1397ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1397ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1398ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1398ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1399ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1399ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1400
1401 ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in"
1402
1403 1400
1404# Make sure we can run config.sub. 1401# Make sure we can run config.sub.
1405$ac_config_sub sun4 >/dev/null 2>&1 || 1402$ac_config_sub sun4 >/dev/null 2>&1 ||
1406 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1403 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1407echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1404echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1456VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1460DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1457DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1461echo "" 1458echo ""
1462echo "configuring for rxvt $VERSION" 1459echo "configuring for rxvt $VERSION"
1463echo "" 1460echo ""
1461
1462orig_CXXFLAGS="$CXXFLAGS"
1464 1463
1465 1464
1466ac_ext=c 1465ac_ext=c
1467ac_cpp='$CPP $CPPFLAGS' 1466ac_cpp='$CPP $CPPFLAGS'
1468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2029 grep -v '^ *+' conftest.er1 >conftest.err 2028 grep -v '^ *+' conftest.er1 >conftest.err
2030 rm -f conftest.er1 2029 rm -f conftest.er1
2031 cat conftest.err >&5 2030 cat conftest.err >&5
2032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033 (exit $ac_status); } && 2032 (exit $ac_status); } &&
2034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2033 { ac_try='test -z "$ac_c_werror_flag"
2034 || test ! -s conftest.err'
2035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2036 (eval $ac_try) 2>&5 2036 (eval $ac_try) 2>&5
2037 ac_status=$? 2037 ac_status=$?
2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2039 (exit $ac_status); }; } && 2039 (exit $ac_status); }; } &&
2087 grep -v '^ *+' conftest.er1 >conftest.err 2087 grep -v '^ *+' conftest.er1 >conftest.err
2088 rm -f conftest.er1 2088 rm -f conftest.er1
2089 cat conftest.err >&5 2089 cat conftest.err >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); } && 2091 (exit $ac_status); } &&
2092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2092 { ac_try='test -z "$ac_c_werror_flag"
2093 || test ! -s conftest.err'
2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2094 (eval $ac_try) 2>&5 2095 (eval $ac_try) 2>&5
2095 ac_status=$? 2096 ac_status=$?
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; } && 2098 (exit $ac_status); }; } &&
2203 grep -v '^ *+' conftest.er1 >conftest.err 2204 grep -v '^ *+' conftest.er1 >conftest.err
2204 rm -f conftest.er1 2205 rm -f conftest.er1
2205 cat conftest.err >&5 2206 cat conftest.err >&5
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); } && 2208 (exit $ac_status); } &&
2208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2209 { ac_try='test -z "$ac_c_werror_flag"
2210 || test ! -s conftest.err'
2209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2210 (eval $ac_try) 2>&5 2212 (eval $ac_try) 2>&5
2211 ac_status=$? 2213 ac_status=$?
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }; } && 2215 (exit $ac_status); }; } &&
2257 grep -v '^ *+' conftest.er1 >conftest.err 2259 grep -v '^ *+' conftest.er1 >conftest.err
2258 rm -f conftest.er1 2260 rm -f conftest.er1
2259 cat conftest.err >&5 2261 cat conftest.err >&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); } && 2263 (exit $ac_status); } &&
2262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2264 { ac_try='test -z "$ac_c_werror_flag"
2265 || test ! -s conftest.err'
2263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 (eval $ac_try) 2>&5 2267 (eval $ac_try) 2>&5
2265 ac_status=$? 2268 ac_status=$?
2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); }; } && 2270 (exit $ac_status); }; } &&
2302 grep -v '^ *+' conftest.er1 >conftest.err 2305 grep -v '^ *+' conftest.er1 >conftest.err
2303 rm -f conftest.er1 2306 rm -f conftest.er1
2304 cat conftest.err >&5 2307 cat conftest.err >&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); } && 2309 (exit $ac_status); } &&
2307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2310 { ac_try='test -z "$ac_c_werror_flag"
2311 || test ! -s conftest.err'
2308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2309 (eval $ac_try) 2>&5 2313 (eval $ac_try) 2>&5
2310 ac_status=$? 2314 ac_status=$?
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }; } && 2316 (exit $ac_status); }; } &&
2346 grep -v '^ *+' conftest.er1 >conftest.err 2350 grep -v '^ *+' conftest.er1 >conftest.err
2347 rm -f conftest.er1 2351 rm -f conftest.er1
2348 cat conftest.err >&5 2352 cat conftest.err >&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } && 2354 (exit $ac_status); } &&
2351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2355 { ac_try='test -z "$ac_c_werror_flag"
2356 || test ! -s conftest.err'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 (eval $ac_try) 2>&5 2358 (eval $ac_try) 2>&5
2354 ac_status=$? 2359 ac_status=$?
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; } && 2361 (exit $ac_status); }; } &&
2530 grep -v '^ *+' conftest.er1 >conftest.err 2535 grep -v '^ *+' conftest.er1 >conftest.err
2531 rm -f conftest.er1 2536 rm -f conftest.er1
2532 cat conftest.err >&5 2537 cat conftest.err >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); } && 2539 (exit $ac_status); } &&
2535 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 2540 { ac_try='test -z "$ac_cxx_werror_flag"
2541 || test ! -s conftest.err'
2536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2537 (eval $ac_try) 2>&5 2543 (eval $ac_try) 2>&5
2538 ac_status=$? 2544 ac_status=$?
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; } && 2546 (exit $ac_status); }; } &&
2588 grep -v '^ *+' conftest.er1 >conftest.err 2594 grep -v '^ *+' conftest.er1 >conftest.err
2589 rm -f conftest.er1 2595 rm -f conftest.er1
2590 cat conftest.err >&5 2596 cat conftest.err >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); } && 2598 (exit $ac_status); } &&
2593 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 2599 { ac_try='test -z "$ac_cxx_werror_flag"
2600 || test ! -s conftest.err'
2594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2595 (eval $ac_try) 2>&5 2602 (eval $ac_try) 2>&5
2596 ac_status=$? 2603 ac_status=$?
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; } && 2605 (exit $ac_status); }; } &&
2659 grep -v '^ *+' conftest.er1 >conftest.err 2666 grep -v '^ *+' conftest.er1 >conftest.err
2660 rm -f conftest.er1 2667 rm -f conftest.er1
2661 cat conftest.err >&5 2668 cat conftest.err >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } && 2670 (exit $ac_status); } &&
2664 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 2671 { ac_try='test -z "$ac_cxx_werror_flag"
2672 || test ! -s conftest.err'
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666 (eval $ac_try) 2>&5 2674 (eval $ac_try) 2>&5
2667 ac_status=$? 2675 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; } && 2677 (exit $ac_status); }; } &&
2703 grep -v '^ *+' conftest.er1 >conftest.err 2711 grep -v '^ *+' conftest.er1 >conftest.err
2704 rm -f conftest.er1 2712 rm -f conftest.er1
2705 cat conftest.err >&5 2713 cat conftest.err >&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } && 2715 (exit $ac_status); } &&
2708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 2716 { ac_try='test -z "$ac_cxx_werror_flag"
2717 || test ! -s conftest.err'
2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2710 (eval $ac_try) 2>&5 2719 (eval $ac_try) 2>&5
2711 ac_status=$? 2720 ac_status=$?
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; } && 2722 (exit $ac_status); }; } &&
3049 3058
3050test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3059test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3051 3060
3052test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3061test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3053 3062
3054for ac_prog in gawk mawk nawk awk
3055do
3056 # Extract the first word of "$ac_prog", so it can be a program name with args.
3057set dummy $ac_prog; ac_word=$2
3058echo "$as_me:$LINENO: checking for $ac_word" >&5
3059echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3060if test "${ac_cv_prog_AWK+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3062else
3063 if test -n "$AWK"; then
3064 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3065else
3066as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067for as_dir in $PATH
3068do
3069 IFS=$as_save_IFS
3070 test -z "$as_dir" && as_dir=.
3071 for ac_exec_ext in '' $ac_executable_extensions; do
3072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3073 ac_cv_prog_AWK="$ac_prog"
3074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 break 2
3076 fi
3077done
3078done
3079 3063
3080fi
3081fi
3082AWK=$ac_cv_prog_AWK
3083if test -n "$AWK"; then
3084 echo "$as_me:$LINENO: result: $AWK" >&5
3085echo "${ECHO_T}$AWK" >&6
3086else
3087 echo "$as_me:$LINENO: result: no" >&5
3088echo "${ECHO_T}no" >&6
3089fi
3090
3091 test -n "$AWK" && break
3092done
3093
3094
3095ac_ext=c
3096ac_cpp='$CPP $CPPFLAGS'
3097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099ac_compiler_gnu=$ac_cv_c_compiler_gnu
3100
3101
3102if test -z "$orig_CXXFLAGS"; then
3103 CXXFLAGS='-O'
3104 if test x$GCC = xyes && test "x$GXX" = xyes; then
3105 CXXFLAGS="-g -O3"
3106 fi
3107 CFLAGS="$CXXFLAGS"
3108fi
3109
3110LINKER="$CXX"
3111if test x$GCC = xyes && test x$GXX = xyes; then
3112
3113echo "$as_me:$LINENO: checking for main in -lsupc++" >&5
3114echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6
3115if test "${ac_cv_lib_supcpp_main+set}" = set; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3117else
3118 ac_check_lib_save_LIBS=$LIBS
3119LIBS="-lsupc++ $LIBS"
3120cat >conftest.$ac_ext <<_ACEOF
3121/* confdefs.h. */
3122_ACEOF
3123cat confdefs.h >>conftest.$ac_ext
3124cat >>conftest.$ac_ext <<_ACEOF
3125/* end confdefs.h. */
3126
3127
3128int
3129main ()
3130{
3131main ();
3132 ;
3133 return 0;
3134}
3135_ACEOF
3136rm -f conftest.$ac_objext conftest$ac_exeext
3137if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3138 (eval $ac_link) 2>conftest.er1
3139 ac_status=$?
3140 grep -v '^ *+' conftest.er1 >conftest.err
3141 rm -f conftest.er1
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } &&
3145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3147 (eval $ac_try) 2>&5
3148 ac_status=$?
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); }; } &&
3151 { ac_try='test -s conftest$ac_exeext'
3152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3153 (eval $ac_try) 2>&5
3154 ac_status=$?
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); }; }; then
3157 ac_cv_lib_supcpp_main=yes
3158else
3159 echo "$as_me: failed program was:" >&5
3160sed 's/^/| /' conftest.$ac_ext >&5
3161
3162ac_cv_lib_supcpp_main=no
3163fi
3164rm -f conftest.err conftest.$ac_objext \
3165 conftest$ac_exeext conftest.$ac_ext
3166LIBS=$ac_check_lib_save_LIBS
3167fi
3168echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5
3169echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6
3170if test $ac_cv_lib_supcpp_main = yes; then
3171
3172 LINKER="$CC"
3173 LIBS="$LIBS -lsupc++"
3174
3175fi
3176
3177fi
3178LINKER=$LINKER
3179
3180
3181
3182cat >>confdefs.h <<\_ACEOF
3183#define _GNU_SOURCE 1
3184_ACEOF
3185
3186
3187case $host in
3188 *-*-solaris* )
3189
3190cat >>confdefs.h <<\_ACEOF
3191#define _XOPEN_SOURCE_EXTENDED 1
3192_ACEOF
3193
3194
3195cat >>confdefs.h <<\_ACEOF
3196#define _XOPEN_SOURCE 2
3197_ACEOF
3198
3199
3200cat >>confdefs.h <<\_ACEOF
3201#define __EXTENSIONS__ 1
3202_ACEOF
3203
3204 ;;
3205esac
3206
3207
3208ac_ext=cc
3209ac_cpp='$CXXCPP $CPPFLAGS'
3210ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3211ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3212ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3213
3214
3215
3216ac_ext=cc
3217ac_cpp='$CXXCPP $CPPFLAGS'
3218ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3219ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3220ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3221echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3222echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
3223if test -z "$CXXCPP"; then
3224 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3225 echo $ECHO_N "(cached) $ECHO_C" >&6
3226else
3227 # Double quotes because CXXCPP needs to be expanded
3228 for CXXCPP in "$CXX -E" "/lib/cpp"
3229 do
3230 ac_preproc_ok=false
3231for ac_cxx_preproc_warn_flag in '' yes
3232do
3233 # Use a header file that comes with gcc, so configuring glibc
3234 # with a fresh cross-compiler works.
3235 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3236 # <limits.h> exists even on freestanding compilers.
3237 # On the NeXT, cc -E runs the code through the compiler's parser,
3238 # not just through cpp. "Syntax error" is here to catch this case.
3239 cat >conftest.$ac_ext <<_ACEOF
3240/* confdefs.h. */
3241_ACEOF
3242cat confdefs.h >>conftest.$ac_ext
3243cat >>conftest.$ac_ext <<_ACEOF
3244/* end confdefs.h. */
3245#ifdef __STDC__
3246# include <limits.h>
3247#else
3248# include <assert.h>
3249#endif
3250 Syntax error
3251_ACEOF
3252if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3254 ac_status=$?
3255 grep -v '^ *+' conftest.er1 >conftest.err
3256 rm -f conftest.er1
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } >/dev/null; then
3260 if test -s conftest.err; then
3261 ac_cpp_err=$ac_cxx_preproc_warn_flag
3262 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3263 else
3264 ac_cpp_err=
3265 fi
3266else
3267 ac_cpp_err=yes
3268fi
3269if test -z "$ac_cpp_err"; then
3270 :
3271else
3272 echo "$as_me: failed program was:" >&5
3273sed 's/^/| /' conftest.$ac_ext >&5
3274
3275 # Broken: fails on valid input.
3276continue
3277fi
3278rm -f conftest.err conftest.$ac_ext
3279
3280 # OK, works on sane cases. Now check whether non-existent headers
3281 # can be detected and how.
3282 cat >conftest.$ac_ext <<_ACEOF
3283/* confdefs.h. */
3284_ACEOF
3285cat confdefs.h >>conftest.$ac_ext
3286cat >>conftest.$ac_ext <<_ACEOF
3287/* end confdefs.h. */
3288#include <ac_nonexistent.h>
3289_ACEOF
3290if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3292 ac_status=$?
3293 grep -v '^ *+' conftest.er1 >conftest.err
3294 rm -f conftest.er1
3295 cat conftest.err >&5
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); } >/dev/null; then
3298 if test -s conftest.err; then
3299 ac_cpp_err=$ac_cxx_preproc_warn_flag
3300 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3301 else
3302 ac_cpp_err=
3303 fi
3304else
3305 ac_cpp_err=yes
3306fi
3307if test -z "$ac_cpp_err"; then
3308 # Broken: success on invalid input.
3309continue
3310else
3311 echo "$as_me: failed program was:" >&5
3312sed 's/^/| /' conftest.$ac_ext >&5
3313
3314 # Passes both tests.
3315ac_preproc_ok=:
3316break
3317fi
3318rm -f conftest.err conftest.$ac_ext
3319
3320done
3321# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3322rm -f conftest.err conftest.$ac_ext
3323if $ac_preproc_ok; then
3324 break
3325fi
3326
3327 done
3328 ac_cv_prog_CXXCPP=$CXXCPP
3329
3330fi
3331 CXXCPP=$ac_cv_prog_CXXCPP
3332else
3333 ac_cv_prog_CXXCPP=$CXXCPP
3334fi
3335echo "$as_me:$LINENO: result: $CXXCPP" >&5
3336echo "${ECHO_T}$CXXCPP" >&6
3337ac_preproc_ok=false
3338for ac_cxx_preproc_warn_flag in '' yes
3339do
3340 # Use a header file that comes with gcc, so configuring glibc
3341 # with a fresh cross-compiler works.
3342 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3343 # <limits.h> exists even on freestanding compilers.
3344 # On the NeXT, cc -E runs the code through the compiler's parser,
3345 # not just through cpp. "Syntax error" is here to catch this case.
3346 cat >conftest.$ac_ext <<_ACEOF
3347/* confdefs.h. */
3348_ACEOF
3349cat confdefs.h >>conftest.$ac_ext
3350cat >>conftest.$ac_ext <<_ACEOF
3351/* end confdefs.h. */
3352#ifdef __STDC__
3353# include <limits.h>
3354#else
3355# include <assert.h>
3356#endif
3357 Syntax error
3358_ACEOF
3359if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3360 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3361 ac_status=$?
3362 grep -v '^ *+' conftest.er1 >conftest.err
3363 rm -f conftest.er1
3364 cat conftest.err >&5
3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 (exit $ac_status); } >/dev/null; then
3367 if test -s conftest.err; then
3368 ac_cpp_err=$ac_cxx_preproc_warn_flag
3369 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3370 else
3371 ac_cpp_err=
3372 fi
3373else
3374 ac_cpp_err=yes
3375fi
3376if test -z "$ac_cpp_err"; then
3377 :
3378else
3379 echo "$as_me: failed program was:" >&5
3380sed 's/^/| /' conftest.$ac_ext >&5
3381
3382 # Broken: fails on valid input.
3383continue
3384fi
3385rm -f conftest.err conftest.$ac_ext
3386
3387 # OK, works on sane cases. Now check whether non-existent headers
3388 # can be detected and how.
3389 cat >conftest.$ac_ext <<_ACEOF
3390/* confdefs.h. */
3391_ACEOF
3392cat confdefs.h >>conftest.$ac_ext
3393cat >>conftest.$ac_ext <<_ACEOF
3394/* end confdefs.h. */
3395#include <ac_nonexistent.h>
3396_ACEOF
3397if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3399 ac_status=$?
3400 grep -v '^ *+' conftest.er1 >conftest.err
3401 rm -f conftest.er1
3402 cat conftest.err >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); } >/dev/null; then
3405 if test -s conftest.err; then
3406 ac_cpp_err=$ac_cxx_preproc_warn_flag
3407 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3408 else
3409 ac_cpp_err=
3410 fi
3411else
3412 ac_cpp_err=yes
3413fi
3414if test -z "$ac_cpp_err"; then
3415 # Broken: success on invalid input.
3416continue
3417else
3418 echo "$as_me: failed program was:" >&5
3419sed 's/^/| /' conftest.$ac_ext >&5
3420
3421 # Passes both tests.
3422ac_preproc_ok=:
3423break
3424fi
3425rm -f conftest.err conftest.$ac_ext
3426
3427done
3428# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3429rm -f conftest.err conftest.$ac_ext
3430if $ac_preproc_ok; then
3431 :
3432else
3433 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3434See \`config.log' for more details." >&5
3435echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3436See \`config.log' for more details." >&2;}
3437 { (exit 1); exit 1; }; }
3438fi
3439
3440ac_ext=cc
3441ac_cpp='$CXXCPP $CPPFLAGS'
3442ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3443ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3444ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3445 3064
3446 3065
3447echo "$as_me:$LINENO: checking for egrep" >&5 3066echo "$as_me:$LINENO: checking for egrep" >&5
3448echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3067echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3449if test "${ac_cv_prog_egrep+set}" = set; then 3068if test "${ac_cv_prog_egrep+set}" = set; then
3524 grep -v '^ *+' conftest.er1 >conftest.err 3143 grep -v '^ *+' conftest.er1 >conftest.err
3525 rm -f conftest.er1 3144 rm -f conftest.er1
3526 cat conftest.err >&5 3145 cat conftest.err >&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); } && 3147 (exit $ac_status); } &&
3529 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3148 { ac_try='test -z "$ac_c_werror_flag"
3149 || test ! -s conftest.err'
3530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3531 (eval $ac_try) 2>&5 3151 (eval $ac_try) 2>&5
3532 ac_status=$? 3152 ac_status=$?
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); }; } && 3154 (exit $ac_status); }; } &&
3578 grep -v '^ *+' conftest.er1 >conftest.err 3198 grep -v '^ *+' conftest.er1 >conftest.err
3579 rm -f conftest.er1 3199 rm -f conftest.er1
3580 cat conftest.err >&5 3200 cat conftest.err >&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); } && 3202 (exit $ac_status); } &&
3583 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3203 { ac_try='test -z "$ac_c_werror_flag"
3204 || test ! -s conftest.err'
3584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3585 (eval $ac_try) 2>&5 3206 (eval $ac_try) 2>&5
3586 ac_status=$? 3207 ac_status=$?
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); }; } && 3209 (exit $ac_status); }; } &&
3609echo "${ECHO_T}$ac_cv_search_strerror" >&6 3230echo "${ECHO_T}$ac_cv_search_strerror" >&6
3610if test "$ac_cv_search_strerror" != no; then 3231if test "$ac_cv_search_strerror" != no; then
3611 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3232 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3612 3233
3613fi 3234fi
3235
3236ac_ext=cc
3237ac_cpp='$CXXCPP $CPPFLAGS'
3238ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3239ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3240ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3241
3242
3243if test x$GCC = xyes && test x$GXX = xyes; then
3244 echo "$as_me:$LINENO: checking for working libsupc++" >&5
3245echo $ECHO_N "checking for working libsupc++... $ECHO_C" >&6
3246 save_CXX="$CXX"
3247 save_LIBS="$LIBS"
3248 CXX="$CC"
3249 LIBS="$LIBS -lsupc++"
3250 LINKER="$CC"
3251
3252cat >conftest.$ac_ext <<_ACEOF
3253/* confdefs.h. */
3254_ACEOF
3255cat confdefs.h >>conftest.$ac_ext
3256cat >>conftest.$ac_ext <<_ACEOF
3257/* end confdefs.h. */
3258struct test { }; void f() try { throw new test; } catch (...) { throw; }
3259int
3260main ()
3261{
3262
3263 ;
3264 return 0;
3265}
3266_ACEOF
3267rm -f conftest.$ac_objext conftest$ac_exeext
3268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3269 (eval $ac_link) 2>conftest.er1
3270 ac_status=$?
3271 grep -v '^ *+' conftest.er1 >conftest.err
3272 rm -f conftest.er1
3273 cat conftest.err >&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); } &&
3276 { ac_try='test -z "$ac_cxx_werror_flag"
3277 || test ! -s conftest.err'
3278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279 (eval $ac_try) 2>&5
3280 ac_status=$?
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }; } &&
3283 { ac_try='test -s conftest$ac_exeext'
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285 (eval $ac_try) 2>&5
3286 ac_status=$?
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; }; then
3289 echo "$as_me:$LINENO: result: ok" >&5
3290echo "${ECHO_T}ok" >&6
3291else
3292 echo "$as_me: failed program was:" >&5
3293sed 's/^/| /' conftest.$ac_ext >&5
3294
3295
3296 echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5
3297echo "${ECHO_T}no, making everything bigger and slower" >&6
3298 LIBS="$save_LIBS"
3299 LINKER="$save_CXX"
3300
3301
3302fi
3303rm -f conftest.err conftest.$ac_objext \
3304 conftest$ac_exeext conftest.$ac_ext
3305 CXX="$save_CXX"
3306fi
3307LINKER=$LINKER
3308
3309
3310if test -z "$orig_CXXFLAGS"; then
3311 if test x$GCC = xyes && test "x$GXX" = xyes; then
3312 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3313 cat >conftest.$ac_ext <<_ACEOF
3314/* confdefs.h. */
3315_ACEOF
3316cat confdefs.h >>conftest.$ac_ext
3317cat >>conftest.$ac_ext <<_ACEOF
3318/* end confdefs.h. */
3319
3320int
3321main ()
3322{
3323
3324 ;
3325 return 0;
3326}
3327_ACEOF
3328rm -f conftest.$ac_objext
3329if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3330 (eval $ac_compile) 2>conftest.er1
3331 ac_status=$?
3332 grep -v '^ *+' conftest.er1 >conftest.err
3333 rm -f conftest.er1
3334 cat conftest.err >&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); } &&
3337 { ac_try='test -z "$ac_cxx_werror_flag"
3338 || test ! -s conftest.err'
3339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3340 (eval $ac_try) 2>&5
3341 ac_status=$?
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }; } &&
3344 { ac_try='test -s conftest.$ac_objext'
3345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3346 (eval $ac_try) 2>&5
3347 ac_status=$?
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); }; }; then
3350 :
3351else
3352 echo "$as_me: failed program was:" >&5
3353sed 's/^/| /' conftest.$ac_ext >&5
3354
3355CXXFLAGS="-g -O3"
3356fi
3357rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3358 else
3359 CXXFLAGS="-O"
3360 fi
3361 CFLAGS="$CXXFLAGS"
3362fi
3363
3364
3365cat >>confdefs.h <<\_ACEOF
3366#define _GNU_SOURCE 1
3367_ACEOF
3368
3369
3370case $host in
3371 *-*-solaris* )
3372
3373cat >>confdefs.h <<\_ACEOF
3374#define _XOPEN_SOURCE 500
3375_ACEOF
3376
3377 ;;
3378esac
3614 3379
3615 3380
3616echo "$as_me:$LINENO: checking for setlocale" >&5 3381echo "$as_me:$LINENO: checking for setlocale" >&5
3617echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 3382echo $ECHO_N "checking for setlocale... $ECHO_C" >&6
3618if test "${ac_cv_func_setlocale+set}" = set; then 3383if test "${ac_cv_func_setlocale+set}" = set; then
3676 grep -v '^ *+' conftest.er1 >conftest.err 3441 grep -v '^ *+' conftest.er1 >conftest.err
3677 rm -f conftest.er1 3442 rm -f conftest.er1
3678 cat conftest.err >&5 3443 cat conftest.err >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); } && 3445 (exit $ac_status); } &&
3681 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3446 { ac_try='test -z "$ac_cxx_werror_flag"
3447 || test ! -s conftest.err'
3682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683 (eval $ac_try) 2>&5 3449 (eval $ac_try) 2>&5
3684 ac_status=$? 3450 ac_status=$?
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); }; } && 3452 (exit $ac_status); }; } &&
3741 grep -v '^ *+' conftest.er1 >conftest.err 3507 grep -v '^ *+' conftest.er1 >conftest.err
3742 rm -f conftest.er1 3508 rm -f conftest.er1
3743 cat conftest.err >&5 3509 cat conftest.err >&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } && 3511 (exit $ac_status); } &&
3746 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3512 { ac_try='test -z "$ac_cxx_werror_flag"
3513 || test ! -s conftest.err'
3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3748 (eval $ac_try) 2>&5 3515 (eval $ac_try) 2>&5
3749 ac_status=$? 3516 ac_status=$?
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); }; } && 3518 (exit $ac_status); }; } &&
3838 grep -v '^ *+' conftest.er1 >conftest.err 3605 grep -v '^ *+' conftest.er1 >conftest.err
3839 rm -f conftest.er1 3606 rm -f conftest.er1
3840 cat conftest.err >&5 3607 cat conftest.err >&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); } && 3609 (exit $ac_status); } &&
3843 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3610 { ac_try='test -z "$ac_cxx_werror_flag"
3611 || test ! -s conftest.err'
3844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3845 (eval $ac_try) 2>&5 3613 (eval $ac_try) 2>&5
3846 ac_status=$? 3614 ac_status=$?
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); }; } && 3616 (exit $ac_status); }; } &&
3903 grep -v '^ *+' conftest.er1 >conftest.err 3671 grep -v '^ *+' conftest.er1 >conftest.err
3904 rm -f conftest.er1 3672 rm -f conftest.er1
3905 cat conftest.err >&5 3673 cat conftest.err >&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); } && 3675 (exit $ac_status); } &&
3908 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3676 { ac_try='test -z "$ac_cxx_werror_flag"
3677 || test ! -s conftest.err'
3909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3910 (eval $ac_try) 2>&5 3679 (eval $ac_try) 2>&5
3911 ac_status=$? 3680 ac_status=$?
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); }; } && 3682 (exit $ac_status); }; } &&
3999 grep -v '^ *+' conftest.er1 >conftest.err 3768 grep -v '^ *+' conftest.er1 >conftest.err
4000 rm -f conftest.er1 3769 rm -f conftest.er1
4001 cat conftest.err >&5 3770 cat conftest.err >&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); } && 3772 (exit $ac_status); } &&
4004 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3773 { ac_try='test -z "$ac_cxx_werror_flag"
3774 || test ! -s conftest.err'
4005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4006 (eval $ac_try) 2>&5 3776 (eval $ac_try) 2>&5
4007 ac_status=$? 3777 ac_status=$?
4008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009 (exit $ac_status); }; } && 3779 (exit $ac_status); }; } &&
4064 grep -v '^ *+' conftest.er1 >conftest.err 3834 grep -v '^ *+' conftest.er1 >conftest.err
4065 rm -f conftest.er1 3835 rm -f conftest.er1
4066 cat conftest.err >&5 3836 cat conftest.err >&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } && 3838 (exit $ac_status); } &&
4069 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3839 { ac_try='test -z "$ac_cxx_werror_flag"
3840 || test ! -s conftest.err'
4070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4071 (eval $ac_try) 2>&5 3842 (eval $ac_try) 2>&5
4072 ac_status=$? 3843 ac_status=$?
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); }; } && 3845 (exit $ac_status); }; } &&
4096fi 3867fi
4097 3868
4098fi 3869fi
4099 3870
4100 3871
4101echo "$as_me:$LINENO: checking for sched_yield" >&5
4102echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
4103if test "${ac_cv_func_sched_yield+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4105else
4106 cat >conftest.$ac_ext <<_ACEOF
4107/* confdefs.h. */
4108_ACEOF
4109cat confdefs.h >>conftest.$ac_ext
4110cat >>conftest.$ac_ext <<_ACEOF
4111/* end confdefs.h. */
4112/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
4113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4114#define sched_yield innocuous_sched_yield
4115
4116/* System header to define __stub macros and hopefully few prototypes,
4117 which can conflict with char sched_yield (); below.
4118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4119 <limits.h> exists even on freestanding compilers. */
4120
4121#ifdef __STDC__
4122# include <limits.h>
4123#else
4124# include <assert.h>
4125#endif
4126
4127#undef sched_yield
4128
4129/* Override any gcc2 internal prototype to avoid an error. */
4130#ifdef __cplusplus
4131extern "C"
4132{
4133#endif
4134/* We use char because int might match the return type of a gcc2
4135 builtin and then its argument prototype would still apply. */
4136char sched_yield ();
4137/* The GNU C library defines this for functions which it implements
4138 to always fail with ENOSYS. Some functions are actually named
4139 something starting with __ and the normal name is an alias. */
4140#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
4141choke me
4142#else
4143char (*f) () = sched_yield;
4144#endif
4145#ifdef __cplusplus
4146}
4147#endif
4148
4149int
4150main ()
4151{
4152return f != sched_yield;
4153 ;
4154 return 0;
4155}
4156_ACEOF
4157rm -f conftest.$ac_objext conftest$ac_exeext
4158if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4159 (eval $ac_link) 2>conftest.er1
4160 ac_status=$?
4161 grep -v '^ *+' conftest.er1 >conftest.err
4162 rm -f conftest.er1
4163 cat conftest.err >&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); } &&
4166 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4168 (eval $ac_try) 2>&5
4169 ac_status=$?
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); }; } &&
4172 { ac_try='test -s conftest$ac_exeext'
4173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4174 (eval $ac_try) 2>&5
4175 ac_status=$?
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; }; then
4178 ac_cv_func_sched_yield=yes
4179else
4180 echo "$as_me: failed program was:" >&5
4181sed 's/^/| /' conftest.$ac_ext >&5
4182
4183ac_cv_func_sched_yield=no
4184fi
4185rm -f conftest.err conftest.$ac_objext \
4186 conftest$ac_exeext conftest.$ac_ext
4187fi
4188echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
4189echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
4190if test $ac_cv_func_sched_yield = yes; then
4191 :
4192else
4193 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
4194echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
4195if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
4196 echo $ECHO_N "(cached) $ECHO_C" >&6
4197else
4198 ac_check_lib_save_LIBS=$LIBS
4199LIBS="-lrt $LIBS"
4200cat >conftest.$ac_ext <<_ACEOF
4201/* confdefs.h. */
4202_ACEOF
4203cat confdefs.h >>conftest.$ac_ext
4204cat >>conftest.$ac_ext <<_ACEOF
4205/* end confdefs.h. */
4206
4207/* Override any gcc2 internal prototype to avoid an error. */
4208#ifdef __cplusplus
4209extern "C"
4210#endif
4211/* We use char because int might match the return type of a gcc2
4212 builtin and then its argument prototype would still apply. */
4213char sched_yield ();
4214int
4215main ()
4216{
4217sched_yield ();
4218 ;
4219 return 0;
4220}
4221_ACEOF
4222rm -f conftest.$ac_objext conftest$ac_exeext
4223if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4224 (eval $ac_link) 2>conftest.er1
4225 ac_status=$?
4226 grep -v '^ *+' conftest.er1 >conftest.err
4227 rm -f conftest.er1
4228 cat conftest.err >&5
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); } &&
4231 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4233 (eval $ac_try) 2>&5
4234 ac_status=$?
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); }; } &&
4237 { ac_try='test -s conftest$ac_exeext'
4238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4239 (eval $ac_try) 2>&5
4240 ac_status=$?
4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242 (exit $ac_status); }; }; then
4243 ac_cv_lib_rt_sched_yield=yes
4244else
4245 echo "$as_me: failed program was:" >&5
4246sed 's/^/| /' conftest.$ac_ext >&5
4247
4248ac_cv_lib_rt_sched_yield=no
4249fi
4250rm -f conftest.err conftest.$ac_objext \
4251 conftest$ac_exeext conftest.$ac_ext
4252LIBS=$ac_check_lib_save_LIBS
4253fi
4254echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
4255echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
4256if test $ac_cv_lib_rt_sched_yield = yes; then
4257 LIBS="$LIBS -lrt"
4258fi
4259
4260fi
4261
4262
4263echo "$as_me:$LINENO: checking for sched_yield support" >&5
4264echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6
4265cat >conftest.$ac_ext <<_ACEOF
4266/* confdefs.h. */
4267_ACEOF
4268cat confdefs.h >>conftest.$ac_ext
4269cat >>conftest.$ac_ext <<_ACEOF
4270/* end confdefs.h. */
4271#include <sched.h>
4272int
4273main ()
4274{
4275sched_yield ()
4276 ;
4277 return 0;
4278}
4279_ACEOF
4280rm -f conftest.$ac_objext conftest$ac_exeext
4281if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4282 (eval $ac_link) 2>conftest.er1
4283 ac_status=$?
4284 grep -v '^ *+' conftest.er1 >conftest.err
4285 rm -f conftest.er1
4286 cat conftest.err >&5
4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288 (exit $ac_status); } &&
4289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4291 (eval $ac_try) 2>&5
4292 ac_status=$?
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); }; } &&
4295 { ac_try='test -s conftest$ac_exeext'
4296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4297 (eval $ac_try) 2>&5
4298 ac_status=$?
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); }; }; then
4301 echo "$as_me:$LINENO: result: yes" >&5
4302echo "${ECHO_T}yes" >&6
4303
4304cat >>confdefs.h <<\_ACEOF
4305#define HAVE_SCHED_YIELD 1
4306_ACEOF
4307
4308else
4309 echo "$as_me: failed program was:" >&5
4310sed 's/^/| /' conftest.$ac_ext >&5
4311
4312echo "$as_me:$LINENO: result: no" >&5
4313echo "${ECHO_T}no" >&6
4314fi
4315rm -f conftest.err conftest.$ac_objext \
4316 conftest$ac_exeext conftest.$ac_ext
4317
4318
4319MALLOC_TYPE=S
4320 3872
4321support_frills=yes 3873support_frills=yes
4322support_inheritpixmap=yes 3874support_inheritpixmap=yes
4323support_tinting=yes 3875support_tinting=yes
4324support_fading=yes 3876support_fading=yes
4325support_keepscrolling=yes 3877support_keepscrolling=yes
4326support_selectionscrolling=yes 3878support_selectionscrolling=yes
4327support_menubar=no
4328support_mousewheel=yes 3879support_mousewheel=yes
4329support_mouseslipwheel=yes 3880support_mouseslipwheel=yes
4330support_utmp=yes
4331support_wtmp=yes
4332support_lastlog=yes
4333support_text_blink=yes 3881support_text_blink=yes
4334support_pointer_blank=yes 3882support_pointer_blank=yes
4335support_scroll_rxvt=yes 3883support_scroll_rxvt=yes
4336support_scroll_next=yes 3884support_scroll_next=yes
4337support_scroll_xterm=yes 3885support_scroll_xterm=yes
4338support_scroll_plain=yes 3886support_scroll_plain=yes
4339support_xim=yes 3887support_xim=yes
4340support_xpm=yes 3888support_xpm=yes
3889support_afterimage=yes
3890support_afterstep=yes
4341support_xft=yes 3891support_xft=yes
4342support_unicode3=no 3892support_unicode3=no
4343support_combining=yes 3893support_combining=yes
4344support_8bitctrls=no 3894support_8bitctrls=no
4345support_iso14755=yes 3895support_iso14755=yes
4361# Check whether --enable-everything or --disable-everything was given. 3911# Check whether --enable-everything or --disable-everything was given.
4362if test "${enable_everything+set}" = set; then 3912if test "${enable_everything+set}" = set; then
4363 enableval="$enable_everything" 3913 enableval="$enable_everything"
4364 3914
4365 if test x$enableval = xno; then 3915 if test x$enableval = xno; then
4366 support_24bit=no
4367 support_frills=no 3916 support_frills=no
4368 support_inheritpixmap=no 3917 support_inheritpixmap=no
4369 support_tinting=no 3918 support_tinting=no
4370 support_fading=no 3919 support_fading=no
4371 support_keepscrolling=no 3920 support_keepscrolling=no
4372 support_selectionscrolling=no 3921 support_selectionscrolling=no
4373 support_lastlog=no 3922 support_lastlog=no
4374 support_menubar=no
4375 support_mousewheel=no 3923 support_mousewheel=no
4376 support_mouseslipwheel=no 3924 support_mouseslipwheel=no
4377 support_text_blink=no 3925 support_text_blink=no
4378 support_pointer_blank=no 3926 support_pointer_blank=no
4379 support_scroll_rxvt=no 3927 support_scroll_rxvt=no
4382 support_scroll_plain=no 3930 support_scroll_plain=no
4383 support_utmp=no 3931 support_utmp=no
4384 support_wtmp=no 3932 support_wtmp=no
4385 support_xim=no 3933 support_xim=no
4386 support_xpm=no 3934 support_xpm=no
3935 support_afterimage=no
3936 support_afterstep=no
4387 support_xft=no 3937 support_xft=no
4388 support_unicode3=no 3938 support_unicode3=no
4389 support_combining=no 3939 support_combining=no
4390 support_8bitctrls=no 3940 support_8bitctrls=no
4391 support_iso14755=no 3941 support_iso14755=no
4392 support_styles=no 3942 support_styles=no
4393 support_perl=no 3943 support_perl=no
4394 codesets= 3944 codesets=
4395 fi 3945 fi
4396 if test x$enableval = xyes; then 3946 if test x$enableval = xyes; then
4397 support_24bit=yes
4398 support_frills=yes 3947 support_frills=yes
4399 support_inheritpixmap=yes 3948 support_inheritpixmap=yes
4400 support_tinting=yes 3949 support_tinting=yes
4401 support_fading=yes 3950 support_fading=yes
4402 support_keepscrolling=yes 3951 support_keepscrolling=yes
4403 support_selectionscrolling=yes 3952 support_selectionscrolling=yes
4404 support_lastlog=yes 3953 support_lastlog=yes
4405 support_menubar=yes
4406 support_mousewheel=yes 3954 support_mousewheel=yes
4407 support_mouseslipwheel=yes 3955 support_mouseslipwheel=yes
4408 support_text_blink=yes 3956 support_text_blink=yes
4409 support_pointer_blank=yes 3957 support_pointer_blank=yes
4410 support_scroll_rxvt=yes 3958 support_scroll_rxvt=yes
4413 support_scroll_plain=yes 3961 support_scroll_plain=yes
4414 support_utmp=yes 3962 support_utmp=yes
4415 support_wtmp=yes 3963 support_wtmp=yes
4416 support_xim=yes 3964 support_xim=yes
4417 support_xpm=yes 3965 support_xpm=yes
3966 support_afterimage=yes
3967 support_afterstep=yes
4418 support_xft=yes 3968 support_xft=yes
4419 support_unicode3=yes 3969 support_unicode3=yes
4420 support_combining=yes 3970 support_combining=yes
4421 #support_8bitctrls=yes 3971 #support_8bitctrls=yes
4422 support_iso14755=yes 3972 support_iso14755=yes
4457 if test x$enableval = xyes -o x$enableval = xno; then 4007 if test x$enableval = xyes -o x$enableval = xno; then
4458 support_styles=$enableval 4008 support_styles=$enableval
4459 fi 4009 fi
4460fi; 4010fi;
4461 4011
4462# Check whether --enable-utmp or --disable-utmp was given.
4463if test "${enable_utmp+set}" = set; then
4464 enableval="$enable_utmp"
4465 if test x$enableval = xyes -o x$enableval = xno; then
4466 support_utmp=$enableval
4467 fi
4468fi;
4469
4470# Check whether --enable-wtmp or --disable-wtmp was given.
4471if test "${enable_wtmp+set}" = set; then
4472 enableval="$enable_wtmp"
4473 if test x$enableval = xyes -o x$enableval = xno; then
4474 support_wtmp=$enableval
4475 fi
4476fi;
4477
4478# Check whether --enable-lastlog or --disable-lastlog was given.
4479if test "${enable_lastlog+set}" = set; then
4480 enableval="$enable_lastlog"
4481 if test x$enableval = xyes -o x$enableval = xno; then
4482 support_lastlog=$enableval
4483 fi
4484fi;
4485
4486# Check whether --enable-xpm-background or --disable-xpm-background was given. 4012# Check whether --enable-xpm-background or --disable-xpm-background was given.
4487if test "${enable_xpm_background+set}" = set; then 4013if test "${enable_xpm_background+set}" = set; then
4488 enableval="$enable_xpm_background" 4014 enableval="$enable_xpm_background"
4489 if test x$enableval = xyes -o x$enableval = xno; then 4015 if test x$enableval = xyes -o x$enableval = xno; then
4490 support_xpm=$enableval 4016 support_xpm=$enableval
4491 fi 4017 fi
4492fi; 4018fi;
4493 4019
4020# Check whether --enable-afterimage or --disable-afterimage was given.
4021if test "${enable_afterimage+set}" = set; then
4022 enableval="$enable_afterimage"
4023 if test x$enableval = xyes -o x$enableval = xno; then
4024 support_afterimage=$enableval
4025 fi
4026fi;
4027
4028
4029# Check whether --with-afterimage_config or --without-afterimage_config was given.
4030if test "${with_afterimage_config+set}" = set; then
4031 withval="$with_afterimage_config"
4032 if test "x$withval" != x; then
4033 afterimage_config=$withval/afterimage-config
4034 fi
4035fi;
4036
4037# Check whether --enable-afterstep or --disable-afterstep was given.
4038if test "${enable_afterstep+set}" = set; then
4039 enableval="$enable_afterstep"
4040 if test x$enableval = xyes -o x$enableval = xno; then
4041 support_afterstep=$enableval
4042 fi
4043fi;
4044
4494# Check whether --enable-transparency or --disable-transparency was given. 4045# Check whether --enable-transparency or --disable-transparency was given.
4495if test "${enable_transparency+set}" = set; then 4046if test "${enable_transparency+set}" = set; then
4496 enableval="$enable_transparency" 4047 enableval="$enable_transparency"
4497 if test x$enableval = xyes -o x$enableval = xno; then 4048 if test x$enableval = xyes -o x$enableval = xno; then
4498 support_inheritpixmap=$enableval 4049 support_inheritpixmap=$enableval
4513 if test x$enableval = xyes -o x$enableval = xno; then 4064 if test x$enableval = xyes -o x$enableval = xno; then
4514 support_fading=$enableval 4065 support_fading=$enableval
4515 fi 4066 fi
4516fi; 4067fi;
4517 4068
4518# Check whether --enable-menubar or --disable-menubar was given.
4519if test "${enable_menubar+set}" = set; then
4520 enableval="$enable_menubar"
4521 if test x$enableval = xyes -o x$enableval = xno; then
4522 support_menubar=$enableval
4523 fi
4524fi;
4525
4526# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. 4069# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given.
4527if test "${enable_rxvt_scroll+set}" = set; then 4070if test "${enable_rxvt_scroll+set}" = set; then
4528 enableval="$enable_rxvt_scroll" 4071 enableval="$enable_rxvt_scroll"
4529 if test x$enableval = xyes -o x$enableval = xno; then 4072 if test x$enableval = xyes -o x$enableval = xno; then
4530 support_scroll_rxvt=$enableval 4073 support_scroll_rxvt=$enableval
4561 if test x$enableval = xyes -o x$enableval = xno; then 4104 if test x$enableval = xyes -o x$enableval = xno; then
4562 support_scroll_plain=$enableval 4105 support_scroll_plain=$enableval
4563 fi 4106 fi
4564fi; 4107fi;
4565 4108
4566# Check whether --enable-half-shadow or --disable-half-shadow was given.
4567if test "${enable_half_shadow+set}" = set; then
4568 enableval="$enable_half_shadow"
4569 if test x$enableval = xyes; then
4570
4571cat >>confdefs.h <<\_ACEOF
4572#define HALFSHADOW 1
4573_ACEOF
4574
4575 fi
4576fi;
4577
4578 4109
4579# Check whether --with-codesets or --without-codesets was given. 4110# Check whether --with-codesets or --without-codesets was given.
4580if test "${with_codesets+set}" = set; then 4111if test "${with_codesets+set}" = set; then
4581 withval="$with_codesets" 4112 withval="$with_codesets"
4582 codesets="$withval" 4113 codesets="$withval"
4588 if test x$enableval = xyes -o x$enableval = xno; then 4119 if test x$enableval = xyes -o x$enableval = xno; then
4589 support_xim=$enableval 4120 support_xim=$enableval
4590 fi 4121 fi
4591fi; 4122fi;
4592 4123
4593# Check whether --enable-ttygid or --disable-ttygid was given.
4594if test "${enable_ttygid+set}" = set; then
4595 enableval="$enable_ttygid"
4596 if test x$enableval = xyes; then
4597
4598cat >>confdefs.h <<\_ACEOF
4599#define TTY_GID_SUPPORT 1
4600_ACEOF
4601
4602 fi
4603fi;
4604
4605# Check whether --enable-backspace-key or --disable-backspace-key was given. 4124# Check whether --enable-backspace-key or --disable-backspace-key was given.
4606if test "${enable_backspace_key+set}" = set; then 4125if test "${enable_backspace_key+set}" = set; then
4607 enableval="$enable_backspace_key" 4126 enableval="$enable_backspace_key"
4608 if test x$enableval = xno; then 4127 if test x$enableval = xno; then
4609 4128
4733 if test x$enableval = xyes -o x$enableval = xno; then 4252 if test x$enableval = xyes -o x$enableval = xno; then
4734 support_frills=$enableval 4253 support_frills=$enableval
4735 fi 4254 fi
4736fi; 4255fi;
4737 4256
4738# Check whether --enable-24bit or --disable-24bit was given.
4739if test "${enable_24bit+set}" = set; then
4740 enableval="$enable_24bit"
4741 if test x$enableval = xyes -o x$enableval = xno; then
4742 support_24bit=$enableval
4743 fi
4744fi;
4745
4746# Check whether --enable-keepscrolling or --disable-keepscrolling was given. 4257# Check whether --enable-keepscrolling or --disable-keepscrolling was given.
4747if test "${enable_keepscrolling+set}" = set; then 4258if test "${enable_keepscrolling+set}" = set; then
4748 enableval="$enable_keepscrolling" 4259 enableval="$enable_keepscrolling"
4749 if test x$enableval = xyes -o x$enableval = xno; then 4260 if test x$enableval = xyes -o x$enableval = xno; then
4750 support_keepscrolling=$enableval 4261 support_keepscrolling=$enableval
4773 if test x$enableval = xyes -o x$enableval = xno; then 4284 if test x$enableval = xyes -o x$enableval = xno; then
4774 support_mouseslipwheel=$enableval 4285 support_mouseslipwheel=$enableval
4775 fi 4286 fi
4776fi; 4287fi;
4777 4288
4778# Check whether --enable-dmalloc or --disable-dmalloc was given.
4779if test "${enable_dmalloc+set}" = set; then
4780 enableval="$enable_dmalloc"
4781 if test x$enableval = xyes; then
4782 MALLOC_TYPE=G
4783 DEBUG=-DDEBUG_MALLOC
4784 DLIB="-L/usr/local/lib -ldmalloc"
4785 DINCLUDE=-I/usr/local/include
4786 fi
4787fi;
4788
4789# Check whether --enable-dlmalloc or --disable-dlmalloc was given.
4790if test "${enable_dlmalloc+set}" = set; then
4791 enableval="$enable_dlmalloc"
4792 if test x$enableval = xyes; then
4793 MALLOC_TYPE=D
4794 DEBUG=
4795 DLIB="-L/usr/local/lib -ldlmalloc"
4796 DINCLUDE=
4797 fi
4798fi;
4799
4800# Check whether --enable-smart-resize or --disable-smart-resize was given. 4289# Check whether --enable-smart-resize or --disable-smart-resize was given.
4801if test "${enable_smart_resize+set}" = set; then 4290if test "${enable_smart_resize+set}" = set; then
4802 enableval="$enable_smart_resize" 4291 enableval="$enable_smart_resize"
4803 if test x$enableval = xyes; then 4292 if test x$enableval = xyes; then
4804 4293
4849_ACEOF 4338_ACEOF
4850 terminfo="$withval" 4339 terminfo="$withval"
4851 fi 4340 fi
4852fi; 4341fi;
4853 4342
4854
4855
4856cat >>confdefs.h <<\_ACEOF
4857#define PROTOTYPES 1
4858_ACEOF
4859
4860
4861# Extract the first word of "mv", so it can be a program name with args.
4862set dummy mv; ac_word=$2
4863echo "$as_me:$LINENO: checking for $ac_word" >&5
4864echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4865if test "${ac_cv_path_MV+set}" = set; then
4866 echo $ECHO_N "(cached) $ECHO_C" >&6
4867else
4868 case $MV in
4869 [\\/]* | ?:[\\/]*)
4870 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4871 ;;
4872 *)
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874for as_dir in $PATH
4875do
4876 IFS=$as_save_IFS
4877 test -z "$as_dir" && as_dir=.
4878 for ac_exec_ext in '' $ac_executable_extensions; do
4879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4880 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4882 break 2
4883 fi
4884done
4885done
4886
4887 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
4888 ;;
4889esac
4890fi
4891MV=$ac_cv_path_MV
4892
4893if test -n "$MV"; then
4894 echo "$as_me:$LINENO: result: $MV" >&5
4895echo "${ECHO_T}$MV" >&6
4896else
4897 echo "$as_me:$LINENO: result: no" >&5
4898echo "${ECHO_T}no" >&6
4899fi
4900
4901# Extract the first word of "rm", so it can be a program name with args.
4902set dummy rm; ac_word=$2
4903echo "$as_me:$LINENO: checking for $ac_word" >&5
4904echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4905if test "${ac_cv_path_RM+set}" = set; then
4906 echo $ECHO_N "(cached) $ECHO_C" >&6
4907else
4908 case $RM in
4909 [\\/]* | ?:[\\/]*)
4910 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4911 ;;
4912 *)
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914for as_dir in $PATH
4915do
4916 IFS=$as_save_IFS
4917 test -z "$as_dir" && as_dir=.
4918 for ac_exec_ext in '' $ac_executable_extensions; do
4919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4920 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 break 2
4923 fi
4924done
4925done
4926
4927 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
4928 ;;
4929esac
4930fi
4931RM=$ac_cv_path_RM
4932
4933if test -n "$RM"; then
4934 echo "$as_me:$LINENO: result: $RM" >&5
4935echo "${ECHO_T}$RM" >&6
4936else
4937 echo "$as_me:$LINENO: result: no" >&5
4938echo "${ECHO_T}no" >&6
4939fi
4940
4941# Extract the first word of "cp", so it can be a program name with args.
4942set dummy cp; ac_word=$2
4943echo "$as_me:$LINENO: checking for $ac_word" >&5
4944echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4945if test "${ac_cv_path_CP+set}" = set; then
4946 echo $ECHO_N "(cached) $ECHO_C" >&6
4947else
4948 case $CP in
4949 [\\/]* | ?:[\\/]*)
4950 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4951 ;;
4952 *)
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954for as_dir in $PATH
4955do
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4960 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 break 2
4963 fi
4964done
4965done
4966
4967 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
4968 ;;
4969esac
4970fi
4971CP=$ac_cv_path_CP
4972
4973if test -n "$CP"; then
4974 echo "$as_me:$LINENO: result: $CP" >&5
4975echo "${ECHO_T}$CP" >&6
4976else
4977 echo "$as_me:$LINENO: result: no" >&5
4978echo "${ECHO_T}no" >&6
4979fi
4980
4981# Extract the first word of "ln", so it can be a program name with args.
4982set dummy ln; ac_word=$2
4983echo "$as_me:$LINENO: checking for $ac_word" >&5
4984echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4985if test "${ac_cv_path_LN+set}" = set; then
4986 echo $ECHO_N "(cached) $ECHO_C" >&6
4987else
4988 case $LN in
4989 [\\/]* | ?:[\\/]*)
4990 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4991 ;;
4992 *)
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994for as_dir in $PATH
4995do
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5000 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
5001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5003 fi
5004done
5005done
5006
5007 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
5008 ;;
5009esac
5010fi
5011LN=$ac_cv_path_LN
5012
5013if test -n "$LN"; then
5014 echo "$as_me:$LINENO: result: $LN" >&5
5015echo "${ECHO_T}$LN" >&6
5016else
5017 echo "$as_me:$LINENO: result: no" >&5
5018echo "${ECHO_T}no" >&6
5019fi
5020
5021# Extract the first word of "sed", so it can be a program name with args.
5022set dummy sed; ac_word=$2
5023echo "$as_me:$LINENO: checking for $ac_word" >&5
5024echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5025if test "${ac_cv_path_SED+set}" = set; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
5027else
5028 case $SED in
5029 [\\/]* | ?:[\\/]*)
5030 ac_cv_path_SED="$SED" # Let the user override the test with a path.
5031 ;;
5032 *)
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034for as_dir in $PATH
5035do
5036 IFS=$as_save_IFS
5037 test -z "$as_dir" && as_dir=.
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5040 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
5041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 break 2
5043 fi
5044done
5045done
5046
5047 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
5048 ;;
5049esac
5050fi
5051SED=$ac_cv_path_SED
5052
5053if test -n "$SED"; then
5054 echo "$as_me:$LINENO: result: $SED" >&5
5055echo "${ECHO_T}$SED" >&6
5056else
5057 echo "$as_me:$LINENO: result: no" >&5
5058echo "${ECHO_T}no" >&6
5059fi
5060
5061# Extract the first word of "echo", so it can be a program name with args.
5062set dummy echo; ac_word=$2
5063echo "$as_me:$LINENO: checking for $ac_word" >&5
5064echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5065if test "${ac_cv_path_ECHO+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5067else
5068 case $ECHO in
5069 [\\/]* | ?:[\\/]*)
5070 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
5071 ;;
5072 *)
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074for as_dir in $PATH
5075do
5076 IFS=$as_save_IFS
5077 test -z "$as_dir" && as_dir=.
5078 for ac_exec_ext in '' $ac_executable_extensions; do
5079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5080 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
5081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 break 2
5083 fi
5084done
5085done
5086
5087 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
5088 ;;
5089esac
5090fi
5091ECHO=$ac_cv_path_ECHO
5092
5093if test -n "$ECHO"; then
5094 echo "$as_me:$LINENO: result: $ECHO" >&5
5095echo "${ECHO_T}$ECHO" >&6
5096else
5097 echo "$as_me:$LINENO: result: no" >&5
5098echo "${ECHO_T}no" >&6
5099fi
5100
5101# Extract the first word of "cmp", so it can be a program name with args.
5102set dummy cmp; ac_word=$2
5103echo "$as_me:$LINENO: checking for $ac_word" >&5
5104echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5105if test "${ac_cv_path_CMP+set}" = set; then
5106 echo $ECHO_N "(cached) $ECHO_C" >&6
5107else
5108 case $CMP in
5109 [\\/]* | ?:[\\/]*)
5110 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
5111 ;;
5112 *)
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114for as_dir in $PATH
5115do
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5120 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
5121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5123 fi
5124done
5125done
5126
5127 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
5128 ;;
5129esac
5130fi
5131CMP=$ac_cv_path_CMP
5132
5133if test -n "$CMP"; then
5134 echo "$as_me:$LINENO: result: $CMP" >&5
5135echo "${ECHO_T}$CMP" >&6
5136else
5137 echo "$as_me:$LINENO: result: no" >&5
5138echo "${ECHO_T}no" >&6
5139fi
5140
5141# Extract the first word of "tbl", so it can be a program name with args.
5142set dummy tbl; ac_word=$2
5143echo "$as_me:$LINENO: checking for $ac_word" >&5
5144echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5145if test "${ac_cv_path_TBL+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5147else
5148 case $TBL in
5149 [\\/]* | ?:[\\/]*)
5150 ac_cv_path_TBL="$TBL" # Let the user override the test with a path.
5151 ;;
5152 *)
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154for as_dir in $PATH
5155do
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5160 ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext"
5161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5163 fi
5164done
5165done
5166
5167 ;;
5168esac
5169fi
5170TBL=$ac_cv_path_TBL
5171
5172if test -n "$TBL"; then
5173 echo "$as_me:$LINENO: result: $TBL" >&5
5174echo "${ECHO_T}$TBL" >&6
5175else
5176 echo "$as_me:$LINENO: result: no" >&5
5177echo "${ECHO_T}no" >&6
5178fi
5179 4343
5180# Extract the first word of "tic", so it can be a program name with args. 4344# Extract the first word of "tic", so it can be a program name with args.
5181set dummy tic; ac_word=$2 4345set dummy tic; ac_word=$2
5182echo "$as_me:$LINENO: checking for $ac_word" >&5 4346echo "$as_me:$LINENO: checking for $ac_word" >&5
5183echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4347echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5217fi 4381fi
5218 4382
5219 4383
5220 4384
5221 4385
4386ac_ext=cc
4387ac_cpp='$CXXCPP $CPPFLAGS'
4388ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4389ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4390ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4391echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4392echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4393if test -z "$CXXCPP"; then
4394 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4396else
4397 # Double quotes because CXXCPP needs to be expanded
4398 for CXXCPP in "$CXX -E" "/lib/cpp"
4399 do
4400 ac_preproc_ok=false
4401for ac_cxx_preproc_warn_flag in '' yes
4402do
4403 # Use a header file that comes with gcc, so configuring glibc
4404 # with a fresh cross-compiler works.
4405 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4406 # <limits.h> exists even on freestanding compilers.
4407 # On the NeXT, cc -E runs the code through the compiler's parser,
4408 # not just through cpp. "Syntax error" is here to catch this case.
4409 cat >conftest.$ac_ext <<_ACEOF
4410/* confdefs.h. */
4411_ACEOF
4412cat confdefs.h >>conftest.$ac_ext
4413cat >>conftest.$ac_ext <<_ACEOF
4414/* end confdefs.h. */
4415#ifdef __STDC__
4416# include <limits.h>
4417#else
4418# include <assert.h>
4419#endif
4420 Syntax error
4421_ACEOF
4422if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4424 ac_status=$?
4425 grep -v '^ *+' conftest.er1 >conftest.err
4426 rm -f conftest.er1
4427 cat conftest.err >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); } >/dev/null; then
4430 if test -s conftest.err; then
4431 ac_cpp_err=$ac_cxx_preproc_warn_flag
4432 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4433 else
4434 ac_cpp_err=
4435 fi
4436else
4437 ac_cpp_err=yes
4438fi
4439if test -z "$ac_cpp_err"; then
4440 :
4441else
4442 echo "$as_me: failed program was:" >&5
4443sed 's/^/| /' conftest.$ac_ext >&5
5222 4444
5223if test "x$ac_path_x_has_been_run" != xyes; then 4445 # Broken: fails on valid input.
4446continue
4447fi
4448rm -f conftest.err conftest.$ac_ext
4449
4450 # OK, works on sane cases. Now check whether non-existent headers
4451 # can be detected and how.
4452 cat >conftest.$ac_ext <<_ACEOF
4453/* confdefs.h. */
4454_ACEOF
4455cat confdefs.h >>conftest.$ac_ext
4456cat >>conftest.$ac_ext <<_ACEOF
4457/* end confdefs.h. */
4458#include <ac_nonexistent.h>
4459_ACEOF
4460if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4462 ac_status=$?
4463 grep -v '^ *+' conftest.er1 >conftest.err
4464 rm -f conftest.er1
4465 cat conftest.err >&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); } >/dev/null; then
4468 if test -s conftest.err; then
4469 ac_cpp_err=$ac_cxx_preproc_warn_flag
4470 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4471 else
4472 ac_cpp_err=
4473 fi
4474else
4475 ac_cpp_err=yes
4476fi
4477if test -z "$ac_cpp_err"; then
4478 # Broken: success on invalid input.
4479continue
4480else
4481 echo "$as_me: failed program was:" >&5
4482sed 's/^/| /' conftest.$ac_ext >&5
4483
4484 # Passes both tests.
4485ac_preproc_ok=:
4486break
4487fi
4488rm -f conftest.err conftest.$ac_ext
4489
4490done
4491# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4492rm -f conftest.err conftest.$ac_ext
4493if $ac_preproc_ok; then
4494 break
4495fi
4496
4497 done
4498 ac_cv_prog_CXXCPP=$CXXCPP
4499
4500fi
4501 CXXCPP=$ac_cv_prog_CXXCPP
4502else
4503 ac_cv_prog_CXXCPP=$CXXCPP
4504fi
4505echo "$as_me:$LINENO: result: $CXXCPP" >&5
4506echo "${ECHO_T}$CXXCPP" >&6
4507ac_preproc_ok=false
4508for ac_cxx_preproc_warn_flag in '' yes
4509do
4510 # Use a header file that comes with gcc, so configuring glibc
4511 # with a fresh cross-compiler works.
4512 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4513 # <limits.h> exists even on freestanding compilers.
4514 # On the NeXT, cc -E runs the code through the compiler's parser,
4515 # not just through cpp. "Syntax error" is here to catch this case.
4516 cat >conftest.$ac_ext <<_ACEOF
4517/* confdefs.h. */
4518_ACEOF
4519cat confdefs.h >>conftest.$ac_ext
4520cat >>conftest.$ac_ext <<_ACEOF
4521/* end confdefs.h. */
4522#ifdef __STDC__
4523# include <limits.h>
4524#else
4525# include <assert.h>
4526#endif
4527 Syntax error
4528_ACEOF
4529if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4530 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4531 ac_status=$?
4532 grep -v '^ *+' conftest.er1 >conftest.err
4533 rm -f conftest.er1
4534 cat conftest.err >&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } >/dev/null; then
4537 if test -s conftest.err; then
4538 ac_cpp_err=$ac_cxx_preproc_warn_flag
4539 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4540 else
4541 ac_cpp_err=
4542 fi
4543else
4544 ac_cpp_err=yes
4545fi
4546if test -z "$ac_cpp_err"; then
4547 :
4548else
4549 echo "$as_me: failed program was:" >&5
4550sed 's/^/| /' conftest.$ac_ext >&5
4551
4552 # Broken: fails on valid input.
4553continue
4554fi
4555rm -f conftest.err conftest.$ac_ext
4556
4557 # OK, works on sane cases. Now check whether non-existent headers
4558 # can be detected and how.
4559 cat >conftest.$ac_ext <<_ACEOF
4560/* confdefs.h. */
4561_ACEOF
4562cat confdefs.h >>conftest.$ac_ext
4563cat >>conftest.$ac_ext <<_ACEOF
4564/* end confdefs.h. */
4565#include <ac_nonexistent.h>
4566_ACEOF
4567if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4568 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4569 ac_status=$?
4570 grep -v '^ *+' conftest.er1 >conftest.err
4571 rm -f conftest.er1
4572 cat conftest.err >&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); } >/dev/null; then
4575 if test -s conftest.err; then
4576 ac_cpp_err=$ac_cxx_preproc_warn_flag
4577 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4578 else
4579 ac_cpp_err=
4580 fi
4581else
4582 ac_cpp_err=yes
4583fi
4584if test -z "$ac_cpp_err"; then
4585 # Broken: success on invalid input.
4586continue
4587else
4588 echo "$as_me: failed program was:" >&5
4589sed 's/^/| /' conftest.$ac_ext >&5
4590
4591 # Passes both tests.
4592ac_preproc_ok=:
4593break
4594fi
4595rm -f conftest.err conftest.$ac_ext
4596
4597done
4598# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4599rm -f conftest.err conftest.$ac_ext
4600if $ac_preproc_ok; then
4601 :
4602else
4603 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4604See \`config.log' for more details." >&5
4605echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4606See \`config.log' for more details." >&2;}
4607 { (exit 1); exit 1; }; }
4608fi
4609
4610ac_ext=cc
4611ac_cpp='$CXXCPP $CPPFLAGS'
4612ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4613ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4614ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4615
4616
5224 echo "$as_me:$LINENO: checking for X" >&5 4617echo "$as_me:$LINENO: checking for X" >&5
5225echo $ECHO_N "checking for X... $ECHO_C" >&6 4618echo $ECHO_N "checking for X... $ECHO_C" >&6
5226 4619
5227ac_path_x_has_been_run=yes
5228 4620
5229# Check whether --with-x or --without-x was given. 4621# Check whether --with-x or --without-x was given.
5230if test "${with_x+set}" = set; then 4622if test "${with_x+set}" = set; then
5231 withval="$with_x" 4623 withval="$with_x"
5232 4624
5315 4707
5316/usr/openwin/include 4708/usr/openwin/include
5317/usr/openwin/share/include' 4709/usr/openwin/share/include'
5318 4710
5319if test "$ac_x_includes" = no; then 4711if test "$ac_x_includes" = no; then
5320 # Guess where to find include files, by looking for a specified header file. 4712 # Guess where to find include files, by looking for Intrinsic.h.
5321 # First, try using that file with no special directory specified. 4713 # First, try using that file with no special directory specified.
5322 cat >conftest.$ac_ext <<_ACEOF 4714 cat >conftest.$ac_ext <<_ACEOF
5323/* confdefs.h. */ 4715/* confdefs.h. */
5324_ACEOF 4716_ACEOF
5325cat confdefs.h >>conftest.$ac_ext 4717cat confdefs.h >>conftest.$ac_ext
5326cat >>conftest.$ac_ext <<_ACEOF 4718cat >>conftest.$ac_ext <<_ACEOF
5327/* end confdefs.h. */ 4719/* end confdefs.h. */
5328#include <X11/Xlib.h> 4720#include <X11/Intrinsic.h>
5329_ACEOF 4721_ACEOF
5330if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4722if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5331 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5332 ac_status=$? 4724 ac_status=$?
5333 grep -v '^ *+' conftest.er1 >conftest.err 4725 grep -v '^ *+' conftest.er1 >conftest.err
5350else 4742else
5351 echo "$as_me: failed program was:" >&5 4743 echo "$as_me: failed program was:" >&5
5352sed 's/^/| /' conftest.$ac_ext >&5 4744sed 's/^/| /' conftest.$ac_ext >&5
5353 4745
5354 for ac_dir in $ac_x_header_dirs; do 4746 for ac_dir in $ac_x_header_dirs; do
5355 if test -r "$ac_dir/X11/Xlib.h"; then 4747 if test -r "$ac_dir/X11/Intrinsic.h"; then
5356 ac_x_includes=$ac_dir 4748 ac_x_includes=$ac_dir
5357 break 4749 break
5358 fi 4750 fi
5359done 4751done
5360fi 4752fi
5364if test "$ac_x_libraries" = no; then 4756if test "$ac_x_libraries" = no; then
5365 # Check for the libraries. 4757 # Check for the libraries.
5366 # See if we find them without any special options. 4758 # See if we find them without any special options.
5367 # Don't add to $LIBS permanently. 4759 # Don't add to $LIBS permanently.
5368 ac_save_LIBS=$LIBS 4760 ac_save_LIBS=$LIBS
5369 LIBS="-lX11 $LIBS" 4761 LIBS="-lXt $LIBS"
5370 cat >conftest.$ac_ext <<_ACEOF 4762 cat >conftest.$ac_ext <<_ACEOF
5371/* confdefs.h. */ 4763/* confdefs.h. */
5372_ACEOF 4764_ACEOF
5373cat confdefs.h >>conftest.$ac_ext 4765cat confdefs.h >>conftest.$ac_ext
5374cat >>conftest.$ac_ext <<_ACEOF 4766cat >>conftest.$ac_ext <<_ACEOF
5375/* end confdefs.h. */ 4767/* end confdefs.h. */
5376#include <X11/Xlib.h> 4768#include <X11/Intrinsic.h>
5377int 4769int
5378main () 4770main ()
5379{ 4771{
5380XrmInitialize () 4772XtMalloc (0)
5381 ; 4773 ;
5382 return 0; 4774 return 0;
5383} 4775}
5384_ACEOF 4776_ACEOF
5385rm -f conftest.$ac_objext conftest$ac_exeext 4777rm -f conftest.$ac_objext conftest$ac_exeext
5389 grep -v '^ *+' conftest.er1 >conftest.err 4781 grep -v '^ *+' conftest.er1 >conftest.err
5390 rm -f conftest.er1 4782 rm -f conftest.er1
5391 cat conftest.err >&5 4783 cat conftest.err >&5
5392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5393 (exit $ac_status); } && 4785 (exit $ac_status); } &&
5394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 4786 { ac_try='test -z "$ac_cxx_werror_flag"
4787 || test ! -s conftest.err'
5395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5396 (eval $ac_try) 2>&5 4789 (eval $ac_try) 2>&5
5397 ac_status=$? 4790 ac_status=$?
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); }; } && 4792 (exit $ac_status); }; } &&
5413LIBS=$ac_save_LIBS 4806LIBS=$ac_save_LIBS
5414for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 4807for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5415do 4808do
5416 # Don't even attempt the hair of trying to link an X program! 4809 # Don't even attempt the hair of trying to link an X program!
5417 for ac_extension in a so sl; do 4810 for ac_extension in a so sl; do
5418 if test -r $ac_dir/libX11.$ac_extension; then 4811 if test -r $ac_dir/libXt.$ac_extension; then
5419 ac_x_libraries=$ac_dir 4812 ac_x_libraries=$ac_dir
5420 break 2 4813 break 2
5421 fi 4814 fi
5422 done 4815 done
5423done 4816done
5449 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 4842 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5450 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 4843 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5451 # Update the cache value to reflect the command line values. 4844 # Update the cache value to reflect the command line values.
5452 ac_cv_have_x="have_x=yes \ 4845 ac_cv_have_x="have_x=yes \
5453 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 4846 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5454 # It might be that x_includes is empty (headers are found in the
5455 # standard search path. Then output the corresponding message
5456 ac_out_x_includes=$x_includes
5457 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
5458 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 4847 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5459echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 4848echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5460fi 4849fi
5461 4850
5462fi
5463if test "$no_x" = yes; then 4851if test "$no_x" = yes; then
5464 # Not all programs may use this symbol, but it does not hurt to define it. 4852 # Not all programs may use this symbol, but it does not hurt to define it.
5465 4853
5466cat >>confdefs.h <<\_ACEOF 4854cat >>confdefs.h <<\_ACEOF
5467#define X_DISPLAY_MISSING 1 4855#define X_DISPLAY_MISSING 1
5505 grep -v '^ *+' conftest.er1 >conftest.err 4893 grep -v '^ *+' conftest.er1 >conftest.err
5506 rm -f conftest.er1 4894 rm -f conftest.er1
5507 cat conftest.err >&5 4895 cat conftest.err >&5
5508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509 (exit $ac_status); } && 4897 (exit $ac_status); } &&
5510 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 4898 { ac_try='test -z "$ac_cxx_werror_flag"
4899 || test ! -s conftest.err'
5511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5512 (eval $ac_try) 2>&5 4901 (eval $ac_try) 2>&5
5513 ac_status=$? 4902 ac_status=$?
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); }; } && 4904 (exit $ac_status); }; } &&
5556 grep -v '^ *+' conftest.er1 >conftest.err 4945 grep -v '^ *+' conftest.er1 >conftest.err
5557 rm -f conftest.er1 4946 rm -f conftest.er1
5558 cat conftest.err >&5 4947 cat conftest.err >&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); } && 4949 (exit $ac_status); } &&
5561 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 4950 { ac_try='test -z "$ac_cxx_werror_flag"
4951 || test ! -s conftest.err'
5562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5563 (eval $ac_try) 2>&5 4953 (eval $ac_try) 2>&5
5564 ac_status=$? 4954 ac_status=$?
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); }; } && 4956 (exit $ac_status); }; } &&
5632 grep -v '^ *+' conftest.er1 >conftest.err 5022 grep -v '^ *+' conftest.er1 >conftest.err
5633 rm -f conftest.er1 5023 rm -f conftest.er1
5634 cat conftest.err >&5 5024 cat conftest.err >&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); } && 5026 (exit $ac_status); } &&
5637 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5027 { ac_try='test -z "$ac_cxx_werror_flag"
5028 || test ! -s conftest.err'
5638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5639 (eval $ac_try) 2>&5 5030 (eval $ac_try) 2>&5
5640 ac_status=$? 5031 ac_status=$?
5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642 (exit $ac_status); }; } && 5033 (exit $ac_status); }; } &&
5687 grep -v '^ *+' conftest.er1 >conftest.err 5078 grep -v '^ *+' conftest.er1 >conftest.err
5688 rm -f conftest.er1 5079 rm -f conftest.er1
5689 cat conftest.err >&5 5080 cat conftest.err >&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); } && 5082 (exit $ac_status); } &&
5692 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5083 { ac_try='test -z "$ac_cxx_werror_flag"
5084 || test ! -s conftest.err'
5693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5694 (eval $ac_try) 2>&5 5086 (eval $ac_try) 2>&5
5695 ac_status=$? 5087 ac_status=$?
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); }; } && 5089 (exit $ac_status); }; } &&
5755 grep -v '^ *+' conftest.er1 >conftest.err 5147 grep -v '^ *+' conftest.er1 >conftest.err
5756 rm -f conftest.er1 5148 rm -f conftest.er1
5757 cat conftest.err >&5 5149 cat conftest.err >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); } && 5151 (exit $ac_status); } &&
5760 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5152 { ac_try='test -z "$ac_cxx_werror_flag"
5153 || test ! -s conftest.err'
5761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5762 (eval $ac_try) 2>&5 5155 (eval $ac_try) 2>&5
5763 ac_status=$? 5156 ac_status=$?
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); }; } && 5158 (exit $ac_status); }; } &&
5863 grep -v '^ *+' conftest.er1 >conftest.err 5256 grep -v '^ *+' conftest.er1 >conftest.err
5864 rm -f conftest.er1 5257 rm -f conftest.er1
5865 cat conftest.err >&5 5258 cat conftest.err >&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); } && 5260 (exit $ac_status); } &&
5868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5261 { ac_try='test -z "$ac_cxx_werror_flag"
5262 || test ! -s conftest.err'
5869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5870 (eval $ac_try) 2>&5 5264 (eval $ac_try) 2>&5
5871 ac_status=$? 5265 ac_status=$?
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); }; } && 5267 (exit $ac_status); }; } &&
5927 grep -v '^ *+' conftest.er1 >conftest.err 5321 grep -v '^ *+' conftest.er1 >conftest.err
5928 rm -f conftest.er1 5322 rm -f conftest.er1
5929 cat conftest.err >&5 5323 cat conftest.err >&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); } && 5325 (exit $ac_status); } &&
5932 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5326 { ac_try='test -z "$ac_cxx_werror_flag"
5327 || test ! -s conftest.err'
5933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5934 (eval $ac_try) 2>&5 5329 (eval $ac_try) 2>&5
5935 ac_status=$? 5330 ac_status=$?
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); }; } && 5332 (exit $ac_status); }; } &&
5995 grep -v '^ *+' conftest.er1 >conftest.err 5390 grep -v '^ *+' conftest.er1 >conftest.err
5996 rm -f conftest.er1 5391 rm -f conftest.er1
5997 cat conftest.err >&5 5392 cat conftest.err >&5
5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999 (exit $ac_status); } && 5394 (exit $ac_status); } &&
6000 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5395 { ac_try='test -z "$ac_cxx_werror_flag"
5396 || test ! -s conftest.err'
6001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6002 (eval $ac_try) 2>&5 5398 (eval $ac_try) 2>&5
6003 ac_status=$? 5399 ac_status=$?
6004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); }; } && 5401 (exit $ac_status); }; } &&
6099 grep -v '^ *+' conftest.er1 >conftest.err 5495 grep -v '^ *+' conftest.er1 >conftest.err
6100 rm -f conftest.er1 5496 rm -f conftest.er1
6101 cat conftest.err >&5 5497 cat conftest.err >&5
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); } && 5499 (exit $ac_status); } &&
6104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5500 { ac_try='test -z "$ac_cxx_werror_flag"
5501 || test ! -s conftest.err'
6105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6106 (eval $ac_try) 2>&5 5503 (eval $ac_try) 2>&5
6107 ac_status=$? 5504 ac_status=$?
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); }; } && 5506 (exit $ac_status); }; } &&
6163 grep -v '^ *+' conftest.er1 >conftest.err 5560 grep -v '^ *+' conftest.er1 >conftest.err
6164 rm -f conftest.er1 5561 rm -f conftest.er1
6165 cat conftest.err >&5 5562 cat conftest.err >&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } && 5564 (exit $ac_status); } &&
6168 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5565 { ac_try='test -z "$ac_cxx_werror_flag"
5566 || test ! -s conftest.err'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6170 (eval $ac_try) 2>&5 5568 (eval $ac_try) 2>&5
6171 ac_status=$? 5569 ac_status=$?
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; } && 5571 (exit $ac_status); }; } &&
6260 grep -v '^ *+' conftest.er1 >conftest.err 5658 grep -v '^ *+' conftest.er1 >conftest.err
6261 rm -f conftest.er1 5659 rm -f conftest.er1
6262 cat conftest.err >&5 5660 cat conftest.err >&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); } && 5662 (exit $ac_status); } &&
6265 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5663 { ac_try='test -z "$ac_cxx_werror_flag"
5664 || test ! -s conftest.err'
6266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6267 (eval $ac_try) 2>&5 5666 (eval $ac_try) 2>&5
6268 ac_status=$? 5667 ac_status=$?
6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 (exit $ac_status); }; } && 5669 (exit $ac_status); }; } &&
6324 grep -v '^ *+' conftest.er1 >conftest.err 5723 grep -v '^ *+' conftest.er1 >conftest.err
6325 rm -f conftest.er1 5724 rm -f conftest.er1
6326 cat conftest.err >&5 5725 cat conftest.err >&5
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); } && 5727 (exit $ac_status); } &&
6329 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5728 { ac_try='test -z "$ac_cxx_werror_flag"
5729 || test ! -s conftest.err'
6330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6331 (eval $ac_try) 2>&5 5731 (eval $ac_try) 2>&5
6332 ac_status=$? 5732 ac_status=$?
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); }; } && 5734 (exit $ac_status); }; } &&
6421 grep -v '^ *+' conftest.er1 >conftest.err 5821 grep -v '^ *+' conftest.er1 >conftest.err
6422 rm -f conftest.er1 5822 rm -f conftest.er1
6423 cat conftest.err >&5 5823 cat conftest.err >&5
6424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425 (exit $ac_status); } && 5825 (exit $ac_status); } &&
6426 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5826 { ac_try='test -z "$ac_cxx_werror_flag"
5827 || test ! -s conftest.err'
6427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6428 (eval $ac_try) 2>&5 5829 (eval $ac_try) 2>&5
6429 ac_status=$? 5830 ac_status=$?
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); }; } && 5832 (exit $ac_status); }; } &&
6485 grep -v '^ *+' conftest.er1 >conftest.err 5886 grep -v '^ *+' conftest.er1 >conftest.err
6486 rm -f conftest.er1 5887 rm -f conftest.er1
6487 cat conftest.err >&5 5888 cat conftest.err >&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); } && 5890 (exit $ac_status); } &&
6490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5891 { ac_try='test -z "$ac_cxx_werror_flag"
5892 || test ! -s conftest.err'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6492 (eval $ac_try) 2>&5 5894 (eval $ac_try) 2>&5
6493 ac_status=$? 5895 ac_status=$?
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; } && 5897 (exit $ac_status); }; } &&
6564 grep -v '^ *+' conftest.er1 >conftest.err 5966 grep -v '^ *+' conftest.er1 >conftest.err
6565 rm -f conftest.er1 5967 rm -f conftest.er1
6566 cat conftest.err >&5 5968 cat conftest.err >&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); } && 5970 (exit $ac_status); } &&
6569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5971 { ac_try='test -z "$ac_cxx_werror_flag"
5972 || test ! -s conftest.err'
6570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6571 (eval $ac_try) 2>&5 5974 (eval $ac_try) 2>&5
6572 ac_status=$? 5975 ac_status=$?
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); }; } && 5977 (exit $ac_status); }; } &&
6599 6002
6600fi 6003fi
6601 6004
6602 6005
6603 6006
6007LIBAFTERIMAGE_CFLAGS=
6008AFTERIMAGE_LIBS=
6009have_afterimage=
6010
6604if test x$support_xpm = xyes; then 6011if test x$support_afterimage = xyes; then
6012 support_afterimage=no
6013
6014 if test "x$afterimage_config" = "x" ; then
6015 # Extract the first word of "afterimage-config", so it can be a program name with args.
6016set dummy afterimage-config; ac_word=$2
6017echo "$as_me:$LINENO: checking for $ac_word" >&5
6018echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6019if test "${ac_cv_path_afterimage_config+set}" = set; then
6020 echo $ECHO_N "(cached) $ECHO_C" >&6
6021else
6022 case $afterimage_config in
6023 [\\/]* | ?:[\\/]*)
6024 ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path.
6025 ;;
6026 *)
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028for as_dir in $PATH
6029do
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext"
6035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6037 fi
6038done
6039done
6040
6041 test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no"
6042 ;;
6043esac
6044fi
6045afterimage_config=$ac_cv_path_afterimage_config
6046
6047if test -n "$afterimage_config"; then
6048 echo "$as_me:$LINENO: result: $afterimage_config" >&5
6049echo "${ECHO_T}$afterimage_config" >&6
6050else
6051 echo "$as_me:$LINENO: result: no" >&5
6052echo "${ECHO_T}no" >&6
6053fi
6054
6055 fi
6056
6057 echo "$as_me:$LINENO: checking for libAfterImage" >&5
6058echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6
6059 if $afterimage_config --version >/dev/null 2>&1 ; then
6060 LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags`
6061 AFTERIMAGE_LIBS=`$afterimage_config --libs`
6062 if test "x$AFTERIMAGE_LIBS" != "x"; then
6063 support_afterimage=yes
6064 fi
6065 fi
6066
6067 if test "x$support_afterimage" = "xyes"; then
6068 echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5
6069echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6
6070 else
6071 echo "$as_me:$LINENO: result: no" >&5
6072echo "${ECHO_T}no" >&6
6073 fi
6074fi
6075
6076if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then
6605 6077
6606 6078
6607 6079
6608# Initialize some more variables set by options. 6080# Initialize some more variables set by options.
6609# The variables have the same names as the options, with 6081# The variables have the same names as the options, with
6780 grep -v '^ *+' conftest.er1 >conftest.err 6252 grep -v '^ *+' conftest.er1 >conftest.err
6781 rm -f conftest.er1 6253 rm -f conftest.er1
6782 cat conftest.err >&5 6254 cat conftest.err >&5
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); } && 6256 (exit $ac_status); } &&
6785 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6257 { ac_try='test -z "$ac_cxx_werror_flag"
6258 || test ! -s conftest.err'
6786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6787 (eval $ac_try) 2>&5 6260 (eval $ac_try) 2>&5
6788 ac_status=$? 6261 ac_status=$?
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); }; } && 6263 (exit $ac_status); }; } &&
6994 grep -v '^ *+' conftest.er1 >conftest.err 6467 grep -v '^ *+' conftest.er1 >conftest.err
6995 rm -f conftest.er1 6468 rm -f conftest.er1
6996 cat conftest.err >&5 6469 cat conftest.err >&5
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); } && 6471 (exit $ac_status); } &&
6999 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6472 { ac_try='test -z "$ac_cxx_werror_flag"
6473 || test ! -s conftest.err'
7000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7001 (eval $ac_try) 2>&5 6475 (eval $ac_try) 2>&5
7002 ac_status=$? 6476 ac_status=$?
7003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004 (exit $ac_status); }; } && 6478 (exit $ac_status); }; } &&
7058 grep -v '^ *+' conftest.er1 >conftest.err 6532 grep -v '^ *+' conftest.er1 >conftest.err
7059 rm -f conftest.er1 6533 rm -f conftest.er1
7060 cat conftest.err >&5 6534 cat conftest.err >&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } && 6536 (exit $ac_status); } &&
7063 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6537 { ac_try='test -z "$ac_cxx_werror_flag"
6538 || test ! -s conftest.err'
7064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7065 (eval $ac_try) 2>&5 6540 (eval $ac_try) 2>&5
7066 ac_status=$? 6541 ac_status=$?
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); }; } && 6543 (exit $ac_status); }; } &&
7228 grep -v '^ *+' conftest.er1 >conftest.err 6703 grep -v '^ *+' conftest.er1 >conftest.err
7229 rm -f conftest.er1 6704 rm -f conftest.er1
7230 cat conftest.err >&5 6705 cat conftest.err >&5
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); } && 6707 (exit $ac_status); } &&
7233 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6708 { ac_try='test -z "$ac_cxx_werror_flag"
6709 || test ! -s conftest.err'
7234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7235 (eval $ac_try) 2>&5 6711 (eval $ac_try) 2>&5
7236 ac_status=$? 6712 ac_status=$?
7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7238 (exit $ac_status); }; } && 6714 (exit $ac_status); }; } &&
7278 6754
7279 6755
7280 6756
7281 6757
7282 6758
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292for ac_header in \ 6759for ac_header in \
7293 assert.h \ 6760 assert.h \
7294 fcntl.h \ 6761 fcntl.h \
7295 grp.h \
7296 libc.h \
7297 lastlog.h \
7298 stdarg.h \ 6762 stdarg.h \
7299 stdlib.h \ 6763 stdlib.h \
7300 string.h \ 6764 string.h \
7301 termios.h \ 6765 termios.h \
7302 unistd.h \ 6766 unistd.h \
7303 sys/byteorder.h \ 6767 sys/byteorder.h \
7304 sys/ioctl.h \ 6768 sys/ioctl.h \
7305 sys/select.h \ 6769 sys/select.h \
7306 sys/sockio.h \ 6770 sys/sockio.h \
7307 sys/strredir.h \ 6771 sys/strredir.h \
7308 sys/stropts.h \
7309 sys/time.h \ 6772 sys/time.h \
7310 utmp.h \ 6773 stdint.h \
7311 utmpx.h \ 6774 wchar.h \
7312 stdint.h \ 6775 cwchar \
7313 pty.h \ 6776 clocale \
7314 util.h \
7315 libutil.h \
7316 wchar.h \
7317 cwchar \
7318 clocale \
7319 6777
7320do 6778do
7321as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6779as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7322if eval "test \"\${$as_ac_Header+set}\" = set"; then 6780if eval "test \"\${$as_ac_Header+set}\" = set"; then
7323 echo "$as_me:$LINENO: checking for $ac_header" >&5 6781 echo "$as_me:$LINENO: checking for $ac_header" >&5
7347 grep -v '^ *+' conftest.er1 >conftest.err 6805 grep -v '^ *+' conftest.er1 >conftest.err
7348 rm -f conftest.er1 6806 rm -f conftest.er1
7349 cat conftest.err >&5 6807 cat conftest.err >&5
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); } && 6809 (exit $ac_status); } &&
7352 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6810 { ac_try='test -z "$ac_cxx_werror_flag"
6811 || test ! -s conftest.err'
7353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7354 (eval $ac_try) 2>&5 6813 (eval $ac_try) 2>&5
7355 ac_status=$? 6814 ac_status=$?
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); }; } && 6816 (exit $ac_status); }; } &&
7496 grep -v '^ *+' conftest.er1 >conftest.err 6955 grep -v '^ *+' conftest.er1 >conftest.err
7497 rm -f conftest.er1 6956 rm -f conftest.er1
7498 cat conftest.err >&5 6957 cat conftest.err >&5
7499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500 (exit $ac_status); } && 6959 (exit $ac_status); } &&
7501 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6960 { ac_try='test -z "$ac_cxx_werror_flag"
6961 || test ! -s conftest.err'
7502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7503 (eval $ac_try) 2>&5 6963 (eval $ac_try) 2>&5
7504 ac_status=$? 6964 ac_status=$?
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); }; } && 6966 (exit $ac_status); }; } &&
7561 grep -v '^ *+' conftest.er1 >conftest.err 7021 grep -v '^ *+' conftest.er1 >conftest.err
7562 rm -f conftest.er1 7022 rm -f conftest.er1
7563 cat conftest.err >&5 7023 cat conftest.err >&5
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); } && 7025 (exit $ac_status); } &&
7566 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7026 { ac_try='test -z "$ac_cxx_werror_flag"
7027 || test ! -s conftest.err'
7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7568 (eval $ac_try) 2>&5 7029 (eval $ac_try) 2>&5
7569 ac_status=$? 7030 ac_status=$?
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); }; } && 7032 (exit $ac_status); }; } &&
7584fi 7045fi
7585rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7046rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7586fi 7047fi
7587echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 7048echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7588echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6 7049echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6
7589
7590if test -n "$GCC"; then
7591 LDARG="-Wl,"
7592else
7593 LDARG=""
7594fi
7595R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g'
7596
7597ac_save_CFLAGS=$CFLAGS
7598ac_save_LIBS=$LIBS
7599CFLAGS="$CFLAGS $X_CFLAGS"
7600LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7601echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5
7602echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6
7603if test "${rxvt_cv_rpath+set}" = set; then
7604 echo $ECHO_N "(cached) $ECHO_C" >&6
7605else
7606 if test "$cross_compiling" = yes; then
7607 { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5
7608echo "$as_me: WARNING: You may need to check the LIBS line" >&2;}
7609else
7610 cat >conftest.$ac_ext <<_ACEOF
7611/* confdefs.h. */
7612_ACEOF
7613cat confdefs.h >>conftest.$ac_ext
7614cat >>conftest.$ac_ext <<_ACEOF
7615/* end confdefs.h. */
7616
7617main()
7618{
7619 exit(0);
7620 (void) XOpenDisplay("foobar");
7621}
7622_ACEOF
7623rm -f conftest$ac_exeext
7624if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7625 (eval $ac_link) 2>&5
7626 ac_status=$?
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7630 (eval $ac_try) 2>&5
7631 ac_status=$?
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633 (exit $ac_status); }; }; then
7634 rxvt_cv_rpath=yes
7635else
7636 echo "$as_me: program exited with status $ac_status" >&5
7637echo "$as_me: failed program was:" >&5
7638sed 's/^/| /' conftest.$ac_ext >&5
7639
7640( exit $ac_status )
7641rxvt_cv_rpath=no
7642fi
7643rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7644fi
7645fi
7646echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5
7647echo "${ECHO_T}$rxvt_cv_rpath" >&6
7648if test x$rxvt_cv_rpath != xyes; then
7649 R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g'
7650 LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7651 echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5
7652echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6
7653if test "${rxvt_cv_R+set}" = set; then
7654 echo $ECHO_N "(cached) $ECHO_C" >&6
7655else
7656 if test "$cross_compiling" = yes; then
7657 rxvt_cv_R=no
7658else
7659 cat >conftest.$ac_ext <<_ACEOF
7660/* confdefs.h. */
7661_ACEOF
7662cat confdefs.h >>conftest.$ac_ext
7663cat >>conftest.$ac_ext <<_ACEOF
7664/* end confdefs.h. */
7665
7666main()
7667{
7668 exit(0);
7669 (void) XOpenDisplay("foobar");
7670}
7671_ACEOF
7672rm -f conftest$ac_exeext
7673if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7674 (eval $ac_link) 2>&5
7675 ac_status=$?
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7679 (eval $ac_try) 2>&5
7680 ac_status=$?
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); }; }; then
7683 rxvt_cv_R=yes
7684else
7685 echo "$as_me: program exited with status $ac_status" >&5
7686echo "$as_me: failed program was:" >&5
7687sed 's/^/| /' conftest.$ac_ext >&5
7688
7689( exit $ac_status )
7690rxvt_cv_R=no
7691fi
7692rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7693fi
7694fi
7695echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5
7696echo "${ECHO_T}$rxvt_cv_R" >&6
7697 if test x$rxvt_cv_R != xyes; then
7698 LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
7699 fi
7700fi
7701 7050
7702echo "$as_me:$LINENO: checking for XPointer" >&5 7051echo "$as_me:$LINENO: checking for XPointer" >&5
7703echo $ECHO_N "checking for XPointer... $ECHO_C" >&6 7052echo $ECHO_N "checking for XPointer... $ECHO_C" >&6
7704if test "${rxvt_cv_xpointer+set}" = set; then 7053if test "${rxvt_cv_xpointer+set}" = set; then
7705 echo $ECHO_N "(cached) $ECHO_C" >&6 7054 echo $ECHO_N "(cached) $ECHO_C" >&6
7726 grep -v '^ *+' conftest.er1 >conftest.err 7075 grep -v '^ *+' conftest.er1 >conftest.err
7727 rm -f conftest.er1 7076 rm -f conftest.er1
7728 cat conftest.err >&5 7077 cat conftest.err >&5
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 (exit $ac_status); } && 7079 (exit $ac_status); } &&
7731 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7080 { ac_try='test -z "$ac_cxx_werror_flag"
7081 || test ! -s conftest.err'
7732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7733 (eval $ac_try) 2>&5 7083 (eval $ac_try) 2>&5
7734 ac_status=$? 7084 ac_status=$?
7735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736 (exit $ac_status); }; } && 7086 (exit $ac_status); }; } &&
7759 7109
7760fi 7110fi
7761LIBS=$ac_save_LIBS 7111LIBS=$ac_save_LIBS
7762CFLAGS=$ac_save_CFLAGS 7112CFLAGS=$ac_save_CFLAGS
7763 7113
7114echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7115echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6
7116if test "${rxvt_xlib_illegal_access+set}" = set; then
7117 echo $ECHO_N "(cached) $ECHO_C" >&6
7118else
7119 cat >conftest.$ac_ext <<_ACEOF
7120/* confdefs.h. */
7121_ACEOF
7122cat confdefs.h >>conftest.$ac_ext
7123cat >>conftest.$ac_ext <<_ACEOF
7124/* end confdefs.h. */
7125
7126#define XLIB_ILLEGAL_ACCESS
7127#include <X11/Xlib.h>
7128
7129int
7130main ()
7131{
7132
7133 Display *dpy;
7134 dpy->xdefaults = (char *)0;
7135
7136 ;
7137 return 0;
7138}
7139_ACEOF
7140rm -f conftest.$ac_objext
7141if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7142 (eval $ac_compile) 2>conftest.er1
7143 ac_status=$?
7144 grep -v '^ *+' conftest.er1 >conftest.err
7145 rm -f conftest.er1
7146 cat conftest.err >&5
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); } &&
7149 { ac_try='test -z "$ac_cxx_werror_flag"
7150 || test ! -s conftest.err'
7151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7152 (eval $ac_try) 2>&5
7153 ac_status=$?
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; } &&
7156 { ac_try='test -s conftest.$ac_objext'
7157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7158 (eval $ac_try) 2>&5
7159 ac_status=$?
7160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); }; }; then
7162 rxvt_xlib_illegal_access=yes
7163else
7164 echo "$as_me: failed program was:" >&5
7165sed 's/^/| /' conftest.$ac_ext >&5
7166
7167rxvt_xlib_illegal_access=no
7168
7169fi
7170rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7171fi
7172echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5
7173echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6
7174if test x$rxvt_xlib_illegal_access = xyes; then
7175
7176cat >>confdefs.h <<\_ACEOF
7177#define XLIB_ILLEGAL_ACCESS 1
7178_ACEOF
7179
7180fi
7764 7181
7765echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7182echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7766echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7183echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7767if test "${ac_cv_c_const+set}" = set; then 7184if test "${ac_cv_c_const+set}" = set; then
7768 echo $ECHO_N "(cached) $ECHO_C" >&6 7185 echo $ECHO_N "(cached) $ECHO_C" >&6
7835 grep -v '^ *+' conftest.er1 >conftest.err 7252 grep -v '^ *+' conftest.er1 >conftest.err
7836 rm -f conftest.er1 7253 rm -f conftest.er1
7837 cat conftest.err >&5 7254 cat conftest.err >&5
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); } && 7256 (exit $ac_status); } &&
7840 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7257 { ac_try='test -z "$ac_cxx_werror_flag"
7258 || test ! -s conftest.err'
7841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7842 (eval $ac_try) 2>&5 7260 (eval $ac_try) 2>&5
7843 ac_status=$? 7261 ac_status=$?
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 (exit $ac_status); }; } && 7263 (exit $ac_status); }; } &&
7895 grep -v '^ *+' conftest.er1 >conftest.err 7313 grep -v '^ *+' conftest.er1 >conftest.err
7896 rm -f conftest.er1 7314 rm -f conftest.er1
7897 cat conftest.err >&5 7315 cat conftest.err >&5
7898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7899 (exit $ac_status); } && 7317 (exit $ac_status); } &&
7900 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7318 { ac_try='test -z "$ac_cxx_werror_flag"
7319 || test ! -s conftest.err'
7901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7902 (eval $ac_try) 2>&5 7321 (eval $ac_try) 2>&5
7903 ac_status=$? 7322 ac_status=$?
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); }; } && 7324 (exit $ac_status); }; } &&
7970 grep -v '^ *+' conftest.er1 >conftest.err 7389 grep -v '^ *+' conftest.er1 >conftest.err
7971 rm -f conftest.er1 7390 rm -f conftest.er1
7972 cat conftest.err >&5 7391 cat conftest.err >&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); } && 7393 (exit $ac_status); } &&
7975 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7394 { ac_try='test -z "$ac_cxx_werror_flag"
7395 || test ! -s conftest.err'
7976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977 (eval $ac_try) 2>&5 7397 (eval $ac_try) 2>&5
7978 ac_status=$? 7398 ac_status=$?
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); }; } && 7400 (exit $ac_status); }; } &&
8035 grep -v '^ *+' conftest.er1 >conftest.err 7455 grep -v '^ *+' conftest.er1 >conftest.err
8036 rm -f conftest.er1 7456 rm -f conftest.er1
8037 cat conftest.err >&5 7457 cat conftest.err >&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } && 7459 (exit $ac_status); } &&
8040 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7460 { ac_try='test -z "$ac_cxx_werror_flag"
7461 || test ! -s conftest.err'
8041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8042 (eval $ac_try) 2>&5 7463 (eval $ac_try) 2>&5
8043 ac_status=$? 7464 ac_status=$?
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); }; } && 7466 (exit $ac_status); }; } &&
8139 grep -v '^ *+' conftest.er1 >conftest.err 7560 grep -v '^ *+' conftest.er1 >conftest.err
8140 rm -f conftest.er1 7561 rm -f conftest.er1
8141 cat conftest.err >&5 7562 cat conftest.err >&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); } && 7564 (exit $ac_status); } &&
8144 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7565 { ac_try='test -z "$ac_cxx_werror_flag"
7566 || test ! -s conftest.err'
8145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8146 (eval $ac_try) 2>&5 7568 (eval $ac_try) 2>&5
8147 ac_status=$? 7569 ac_status=$?
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; } && 7571 (exit $ac_status); }; } &&
8201 grep -v '^ *+' conftest.er1 >conftest.err 7623 grep -v '^ *+' conftest.er1 >conftest.err
8202 rm -f conftest.er1 7624 rm -f conftest.er1
8203 cat conftest.err >&5 7625 cat conftest.err >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); } && 7627 (exit $ac_status); } &&
8206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7628 { ac_try='test -z "$ac_cxx_werror_flag"
7629 || test ! -s conftest.err'
8207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8208 (eval $ac_try) 2>&5 7631 (eval $ac_try) 2>&5
8209 ac_status=$? 7632 ac_status=$?
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; } && 7634 (exit $ac_status); }; } &&
8241 grep -v '^ *+' conftest.er1 >conftest.err 7664 grep -v '^ *+' conftest.er1 >conftest.err
8242 rm -f conftest.er1 7665 rm -f conftest.er1
8243 cat conftest.err >&5 7666 cat conftest.err >&5
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); } && 7668 (exit $ac_status); } &&
8246 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7669 { ac_try='test -z "$ac_cxx_werror_flag"
7670 || test ! -s conftest.err'
8247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8248 (eval $ac_try) 2>&5 7672 (eval $ac_try) 2>&5
8249 ac_status=$? 7673 ac_status=$?
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8251 (exit $ac_status); }; } && 7675 (exit $ac_status); }; } &&
8297 grep -v '^ *+' conftest.er1 >conftest.err 7721 grep -v '^ *+' conftest.er1 >conftest.err
8298 rm -f conftest.er1 7722 rm -f conftest.er1
8299 cat conftest.err >&5 7723 cat conftest.err >&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); } && 7725 (exit $ac_status); } &&
8302 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7726 { ac_try='test -z "$ac_cxx_werror_flag"
7727 || test ! -s conftest.err'
8303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8304 (eval $ac_try) 2>&5 7729 (eval $ac_try) 2>&5
8305 ac_status=$? 7730 ac_status=$?
8306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8307 (exit $ac_status); }; } && 7732 (exit $ac_status); }; } &&
8337 grep -v '^ *+' conftest.er1 >conftest.err 7762 grep -v '^ *+' conftest.er1 >conftest.err
8338 rm -f conftest.er1 7763 rm -f conftest.er1
8339 cat conftest.err >&5 7764 cat conftest.err >&5
8340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341 (exit $ac_status); } && 7766 (exit $ac_status); } &&
8342 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7767 { ac_try='test -z "$ac_cxx_werror_flag"
7768 || test ! -s conftest.err'
8343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8344 (eval $ac_try) 2>&5 7770 (eval $ac_try) 2>&5
8345 ac_status=$? 7771 ac_status=$?
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); }; } && 7773 (exit $ac_status); }; } &&
8401 grep -v '^ *+' conftest.er1 >conftest.err 7827 grep -v '^ *+' conftest.er1 >conftest.err
8402 rm -f conftest.er1 7828 rm -f conftest.er1
8403 cat conftest.err >&5 7829 cat conftest.err >&5
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); } && 7831 (exit $ac_status); } &&
8406 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7832 { ac_try='test -z "$ac_cxx_werror_flag"
7833 || test ! -s conftest.err'
8407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8408 (eval $ac_try) 2>&5 7835 (eval $ac_try) 2>&5
8409 ac_status=$? 7836 ac_status=$?
8410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8411 (exit $ac_status); }; } && 7838 (exit $ac_status); }; } &&
8432See \`config.log' for more details." >&2;} 7859See \`config.log' for more details." >&2;}
8433 { (exit 1); exit 1; }; } ;; 7860 { (exit 1); exit 1; }; } ;;
8434esac 7861esac
8435else 7862else
8436 if test "$cross_compiling" = yes; then 7863 if test "$cross_compiling" = yes; then
8437 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 7864 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8438echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 7865See \`config.log' for more details." >&5
7866echo "$as_me: error: cannot run test program while cross compiling
7867See \`config.log' for more details." >&2;}
8439 { (exit 1); exit 1; }; } 7868 { (exit 1); exit 1; }; }
8440else 7869else
8441 cat >conftest.$ac_ext <<_ACEOF 7870 cat >conftest.$ac_ext <<_ACEOF
8442/* confdefs.h. */ 7871/* confdefs.h. */
8443_ACEOF 7872_ACEOF
8545 grep -v '^ *+' conftest.er1 >conftest.err 7974 grep -v '^ *+' conftest.er1 >conftest.err
8546 rm -f conftest.er1 7975 rm -f conftest.er1
8547 cat conftest.err >&5 7976 cat conftest.err >&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); } && 7978 (exit $ac_status); } &&
8550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7979 { ac_try='test -z "$ac_cxx_werror_flag"
7980 || test ! -s conftest.err'
8551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8552 (eval $ac_try) 2>&5 7982 (eval $ac_try) 2>&5
8553 ac_status=$? 7983 ac_status=$?
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); }; } && 7985 (exit $ac_status); }; } &&
8607 grep -v '^ *+' conftest.er1 >conftest.err 8037 grep -v '^ *+' conftest.er1 >conftest.err
8608 rm -f conftest.er1 8038 rm -f conftest.er1
8609 cat conftest.err >&5 8039 cat conftest.err >&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); } && 8041 (exit $ac_status); } &&
8612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8042 { ac_try='test -z "$ac_cxx_werror_flag"
8043 || test ! -s conftest.err'
8613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614 (eval $ac_try) 2>&5 8045 (eval $ac_try) 2>&5
8615 ac_status=$? 8046 ac_status=$?
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; } && 8048 (exit $ac_status); }; } &&
8647 grep -v '^ *+' conftest.er1 >conftest.err 8078 grep -v '^ *+' conftest.er1 >conftest.err
8648 rm -f conftest.er1 8079 rm -f conftest.er1
8649 cat conftest.err >&5 8080 cat conftest.err >&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); } && 8082 (exit $ac_status); } &&
8652 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8083 { ac_try='test -z "$ac_cxx_werror_flag"
8084 || test ! -s conftest.err'
8653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8654 (eval $ac_try) 2>&5 8086 (eval $ac_try) 2>&5
8655 ac_status=$? 8087 ac_status=$?
8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); }; } && 8089 (exit $ac_status); }; } &&
8703 grep -v '^ *+' conftest.er1 >conftest.err 8135 grep -v '^ *+' conftest.er1 >conftest.err
8704 rm -f conftest.er1 8136 rm -f conftest.er1
8705 cat conftest.err >&5 8137 cat conftest.err >&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); } && 8139 (exit $ac_status); } &&
8708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8140 { ac_try='test -z "$ac_cxx_werror_flag"
8141 || test ! -s conftest.err'
8709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 (eval $ac_try) 2>&5 8143 (eval $ac_try) 2>&5
8711 ac_status=$? 8144 ac_status=$?
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); }; } && 8146 (exit $ac_status); }; } &&
8743 grep -v '^ *+' conftest.er1 >conftest.err 8176 grep -v '^ *+' conftest.er1 >conftest.err
8744 rm -f conftest.er1 8177 rm -f conftest.er1
8745 cat conftest.err >&5 8178 cat conftest.err >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); } && 8180 (exit $ac_status); } &&
8748 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8181 { ac_try='test -z "$ac_cxx_werror_flag"
8182 || test ! -s conftest.err'
8749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8750 (eval $ac_try) 2>&5 8184 (eval $ac_try) 2>&5
8751 ac_status=$? 8185 ac_status=$?
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); }; } && 8187 (exit $ac_status); }; } &&
8807 grep -v '^ *+' conftest.er1 >conftest.err 8241 grep -v '^ *+' conftest.er1 >conftest.err
8808 rm -f conftest.er1 8242 rm -f conftest.er1
8809 cat conftest.err >&5 8243 cat conftest.err >&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); } && 8245 (exit $ac_status); } &&
8812 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8246 { ac_try='test -z "$ac_cxx_werror_flag"
8247 || test ! -s conftest.err'
8813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8814 (eval $ac_try) 2>&5 8249 (eval $ac_try) 2>&5
8815 ac_status=$? 8250 ac_status=$?
8816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817 (exit $ac_status); }; } && 8252 (exit $ac_status); }; } &&
8838See \`config.log' for more details." >&2;} 8273See \`config.log' for more details." >&2;}
8839 { (exit 1); exit 1; }; } ;; 8274 { (exit 1); exit 1; }; } ;;
8840esac 8275esac
8841else 8276else
8842 if test "$cross_compiling" = yes; then 8277 if test "$cross_compiling" = yes; then
8843 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8278 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8844echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8279See \`config.log' for more details." >&5
8280echo "$as_me: error: cannot run test program while cross compiling
8281See \`config.log' for more details." >&2;}
8845 { (exit 1); exit 1; }; } 8282 { (exit 1); exit 1; }; }
8846else 8283else
8847 cat >conftest.$ac_ext <<_ACEOF 8284 cat >conftest.$ac_ext <<_ACEOF
8848/* confdefs.h. */ 8285/* confdefs.h. */
8849_ACEOF 8286_ACEOF
8951 grep -v '^ *+' conftest.er1 >conftest.err 8388 grep -v '^ *+' conftest.er1 >conftest.err
8952 rm -f conftest.er1 8389 rm -f conftest.er1
8953 cat conftest.err >&5 8390 cat conftest.err >&5
8954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 (exit $ac_status); } && 8392 (exit $ac_status); } &&
8956 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8393 { ac_try='test -z "$ac_cxx_werror_flag"
8394 || test ! -s conftest.err'
8957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8958 (eval $ac_try) 2>&5 8396 (eval $ac_try) 2>&5
8959 ac_status=$? 8397 ac_status=$?
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); }; } && 8399 (exit $ac_status); }; } &&
9013 grep -v '^ *+' conftest.er1 >conftest.err 8451 grep -v '^ *+' conftest.er1 >conftest.err
9014 rm -f conftest.er1 8452 rm -f conftest.er1
9015 cat conftest.err >&5 8453 cat conftest.err >&5
9016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017 (exit $ac_status); } && 8455 (exit $ac_status); } &&
9018 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8456 { ac_try='test -z "$ac_cxx_werror_flag"
8457 || test ! -s conftest.err'
9019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9020 (eval $ac_try) 2>&5 8459 (eval $ac_try) 2>&5
9021 ac_status=$? 8460 ac_status=$?
9022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023 (exit $ac_status); }; } && 8462 (exit $ac_status); }; } &&
9053 grep -v '^ *+' conftest.er1 >conftest.err 8492 grep -v '^ *+' conftest.er1 >conftest.err
9054 rm -f conftest.er1 8493 rm -f conftest.er1
9055 cat conftest.err >&5 8494 cat conftest.err >&5
9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 (exit $ac_status); } && 8496 (exit $ac_status); } &&
9058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8497 { ac_try='test -z "$ac_cxx_werror_flag"
8498 || test ! -s conftest.err'
9059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9060 (eval $ac_try) 2>&5 8500 (eval $ac_try) 2>&5
9061 ac_status=$? 8501 ac_status=$?
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); }; } && 8503 (exit $ac_status); }; } &&
9109 grep -v '^ *+' conftest.er1 >conftest.err 8549 grep -v '^ *+' conftest.er1 >conftest.err
9110 rm -f conftest.er1 8550 rm -f conftest.er1
9111 cat conftest.err >&5 8551 cat conftest.err >&5
9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 (exit $ac_status); } && 8553 (exit $ac_status); } &&
9114 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8554 { ac_try='test -z "$ac_cxx_werror_flag"
8555 || test ! -s conftest.err'
9115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9116 (eval $ac_try) 2>&5 8557 (eval $ac_try) 2>&5
9117 ac_status=$? 8558 ac_status=$?
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); }; } && 8560 (exit $ac_status); }; } &&
9149 grep -v '^ *+' conftest.er1 >conftest.err 8590 grep -v '^ *+' conftest.er1 >conftest.err
9150 rm -f conftest.er1 8591 rm -f conftest.er1
9151 cat conftest.err >&5 8592 cat conftest.err >&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); } && 8594 (exit $ac_status); } &&
9154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8595 { ac_try='test -z "$ac_cxx_werror_flag"
8596 || test ! -s conftest.err'
9155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9156 (eval $ac_try) 2>&5 8598 (eval $ac_try) 2>&5
9157 ac_status=$? 8599 ac_status=$?
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); }; } && 8601 (exit $ac_status); }; } &&
9213 grep -v '^ *+' conftest.er1 >conftest.err 8655 grep -v '^ *+' conftest.er1 >conftest.err
9214 rm -f conftest.er1 8656 rm -f conftest.er1
9215 cat conftest.err >&5 8657 cat conftest.err >&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); } && 8659 (exit $ac_status); } &&
9218 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8660 { ac_try='test -z "$ac_cxx_werror_flag"
8661 || test ! -s conftest.err'
9219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9220 (eval $ac_try) 2>&5 8663 (eval $ac_try) 2>&5
9221 ac_status=$? 8664 ac_status=$?
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); }; } && 8666 (exit $ac_status); }; } &&
9244See \`config.log' for more details." >&2;} 8687See \`config.log' for more details." >&2;}
9245 { (exit 1); exit 1; }; } ;; 8688 { (exit 1); exit 1; }; } ;;
9246esac 8689esac
9247else 8690else
9248 if test "$cross_compiling" = yes; then 8691 if test "$cross_compiling" = yes; then
9249 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8692 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9250echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8693See \`config.log' for more details." >&5
8694echo "$as_me: error: cannot run test program while cross compiling
8695See \`config.log' for more details." >&2;}
9251 { (exit 1); exit 1; }; } 8696 { (exit 1); exit 1; }; }
9252else 8697else
9253 cat >conftest.$ac_ext <<_ACEOF 8698 cat >conftest.$ac_ext <<_ACEOF
9254/* confdefs.h. */ 8699/* confdefs.h. */
9255_ACEOF 8700_ACEOF
9357 grep -v '^ *+' conftest.er1 >conftest.err 8802 grep -v '^ *+' conftest.er1 >conftest.err
9358 rm -f conftest.er1 8803 rm -f conftest.er1
9359 cat conftest.err >&5 8804 cat conftest.err >&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); } && 8806 (exit $ac_status); } &&
9362 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8807 { ac_try='test -z "$ac_cxx_werror_flag"
8808 || test ! -s conftest.err'
9363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9364 (eval $ac_try) 2>&5 8810 (eval $ac_try) 2>&5
9365 ac_status=$? 8811 ac_status=$?
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); }; } && 8813 (exit $ac_status); }; } &&
9419 grep -v '^ *+' conftest.er1 >conftest.err 8865 grep -v '^ *+' conftest.er1 >conftest.err
9420 rm -f conftest.er1 8866 rm -f conftest.er1
9421 cat conftest.err >&5 8867 cat conftest.err >&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 (exit $ac_status); } && 8869 (exit $ac_status); } &&
9424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8870 { ac_try='test -z "$ac_cxx_werror_flag"
8871 || test ! -s conftest.err'
9425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9426 (eval $ac_try) 2>&5 8873 (eval $ac_try) 2>&5
9427 ac_status=$? 8874 ac_status=$?
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429 (exit $ac_status); }; } && 8876 (exit $ac_status); }; } &&
9459 grep -v '^ *+' conftest.er1 >conftest.err 8906 grep -v '^ *+' conftest.er1 >conftest.err
9460 rm -f conftest.er1 8907 rm -f conftest.er1
9461 cat conftest.err >&5 8908 cat conftest.err >&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); } && 8910 (exit $ac_status); } &&
9464 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8911 { ac_try='test -z "$ac_cxx_werror_flag"
8912 || test ! -s conftest.err'
9465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9466 (eval $ac_try) 2>&5 8914 (eval $ac_try) 2>&5
9467 ac_status=$? 8915 ac_status=$?
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); }; } && 8917 (exit $ac_status); }; } &&
9515 grep -v '^ *+' conftest.er1 >conftest.err 8963 grep -v '^ *+' conftest.er1 >conftest.err
9516 rm -f conftest.er1 8964 rm -f conftest.er1
9517 cat conftest.err >&5 8965 cat conftest.err >&5
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 (exit $ac_status); } && 8967 (exit $ac_status); } &&
9520 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8968 { ac_try='test -z "$ac_cxx_werror_flag"
8969 || test ! -s conftest.err'
9521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9522 (eval $ac_try) 2>&5 8971 (eval $ac_try) 2>&5
9523 ac_status=$? 8972 ac_status=$?
9524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); }; } && 8974 (exit $ac_status); }; } &&
9555 grep -v '^ *+' conftest.er1 >conftest.err 9004 grep -v '^ *+' conftest.er1 >conftest.err
9556 rm -f conftest.er1 9005 rm -f conftest.er1
9557 cat conftest.err >&5 9006 cat conftest.err >&5
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559 (exit $ac_status); } && 9008 (exit $ac_status); } &&
9560 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9009 { ac_try='test -z "$ac_cxx_werror_flag"
9010 || test ! -s conftest.err'
9561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9562 (eval $ac_try) 2>&5 9012 (eval $ac_try) 2>&5
9563 ac_status=$? 9013 ac_status=$?
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); }; } && 9015 (exit $ac_status); }; } &&
9619 grep -v '^ *+' conftest.er1 >conftest.err 9069 grep -v '^ *+' conftest.er1 >conftest.err
9620 rm -f conftest.er1 9070 rm -f conftest.er1
9621 cat conftest.err >&5 9071 cat conftest.err >&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); } && 9073 (exit $ac_status); } &&
9624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9074 { ac_try='test -z "$ac_cxx_werror_flag"
9075 || test ! -s conftest.err'
9625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9626 (eval $ac_try) 2>&5 9077 (eval $ac_try) 2>&5
9627 ac_status=$? 9078 ac_status=$?
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); }; } && 9080 (exit $ac_status); }; } &&
9650See \`config.log' for more details." >&2;} 9101See \`config.log' for more details." >&2;}
9651 { (exit 1); exit 1; }; } ;; 9102 { (exit 1); exit 1; }; } ;;
9652esac 9103esac
9653else 9104else
9654 if test "$cross_compiling" = yes; then 9105 if test "$cross_compiling" = yes; then
9655 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 9106 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9656echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 9107See \`config.log' for more details." >&5
9108echo "$as_me: error: cannot run test program while cross compiling
9109See \`config.log' for more details." >&2;}
9657 { (exit 1); exit 1; }; } 9110 { (exit 1); exit 1; }; }
9658else 9111else
9659 cat >conftest.$ac_ext <<_ACEOF 9112 cat >conftest.$ac_ext <<_ACEOF
9660/* confdefs.h. */ 9113/* confdefs.h. */
9661_ACEOF 9114_ACEOF
9762 grep -v '^ *+' conftest.er1 >conftest.err 9215 grep -v '^ *+' conftest.er1 >conftest.err
9763 rm -f conftest.er1 9216 rm -f conftest.er1
9764 cat conftest.err >&5 9217 cat conftest.err >&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); } && 9219 (exit $ac_status); } &&
9767 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9220 { ac_try='test -z "$ac_cxx_werror_flag"
9221 || test ! -s conftest.err'
9768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9769 (eval $ac_try) 2>&5 9223 (eval $ac_try) 2>&5
9770 ac_status=$? 9224 ac_status=$?
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); }; } && 9226 (exit $ac_status); }; } &&
9844 grep -v '^ *+' conftest.er1 >conftest.err 9298 grep -v '^ *+' conftest.er1 >conftest.err
9845 rm -f conftest.er1 9299 rm -f conftest.er1
9846 cat conftest.err >&5 9300 cat conftest.err >&5
9847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9848 (exit $ac_status); } && 9302 (exit $ac_status); } &&
9849 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9303 { ac_try='test -z "$ac_cxx_werror_flag"
9304 || test ! -s conftest.err'
9850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851 (eval $ac_try) 2>&5 9306 (eval $ac_try) 2>&5
9852 ac_status=$? 9307 ac_status=$?
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); }; } && 9309 (exit $ac_status); }; } &&
9926 grep -v '^ *+' conftest.er1 >conftest.err 9381 grep -v '^ *+' conftest.er1 >conftest.err
9927 rm -f conftest.er1 9382 rm -f conftest.er1
9928 cat conftest.err >&5 9383 cat conftest.err >&5
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); } && 9385 (exit $ac_status); } &&
9931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9386 { ac_try='test -z "$ac_cxx_werror_flag"
9387 || test ! -s conftest.err'
9932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933 (eval $ac_try) 2>&5 9389 (eval $ac_try) 2>&5
9934 ac_status=$? 9390 ac_status=$?
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); }; } && 9392 (exit $ac_status); }; } &&
10008 grep -v '^ *+' conftest.er1 >conftest.err 9464 grep -v '^ *+' conftest.er1 >conftest.err
10009 rm -f conftest.er1 9465 rm -f conftest.er1
10010 cat conftest.err >&5 9466 cat conftest.err >&5
10011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012 (exit $ac_status); } && 9468 (exit $ac_status); } &&
10013 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9469 { ac_try='test -z "$ac_cxx_werror_flag"
9470 || test ! -s conftest.err'
10014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10015 (eval $ac_try) 2>&5 9472 (eval $ac_try) 2>&5
10016 ac_status=$? 9473 ac_status=$?
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); }; } && 9475 (exit $ac_status); }; } &&
10120 grep -v '^ *+' conftest.er1 >conftest.err 9577 grep -v '^ *+' conftest.er1 >conftest.err
10121 rm -f conftest.er1 9578 rm -f conftest.er1
10122 cat conftest.err >&5 9579 cat conftest.err >&5
10123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10124 (exit $ac_status); } && 9581 (exit $ac_status); } &&
10125 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9582 { ac_try='test -z "$ac_cxx_werror_flag"
9583 || test ! -s conftest.err'
10126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10127 (eval $ac_try) 2>&5 9585 (eval $ac_try) 2>&5
10128 ac_status=$? 9586 ac_status=$?
10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130 (exit $ac_status); }; } && 9588 (exit $ac_status); }; } &&
10150#define RETSIGTYPE $ac_cv_type_signal 9608#define RETSIGTYPE $ac_cv_type_signal
10151_ACEOF 9609_ACEOF
10152 9610
10153 9611
10154 9612
10155case "$host_alias" in
10156 *ultrix) ac_cv_func_setsid='no' ;;
10157 *) break;;
10158esac
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176 9613
10177 9614
10178 9615
10179for ac_func in \ 9616for ac_func in \
10180 atexit \
10181 revoke \
10182 unsetenv \ 9617 unsetenv \
10183 setutent \ 9618 setutent \
10184 seteuid \
10185 setreuid \
10186 setsid \
10187 setpgrp \
10188 setpgid \
10189 _getpty \
10190 posix_openpt \
10191 grantpt \
10192 unlockpt \
10193 isastream \
10194 on_exit \ 9619 on_exit \
10195 nanosleep \
10196 updwtmp \
10197 updwtmpx \
10198 ttyslot \
10199 9620
10200do 9621do
10201as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9622as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10202echo "$as_me:$LINENO: checking for $ac_func" >&5 9623echo "$as_me:$LINENO: checking for $ac_func" >&5
10203echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9624echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10262 grep -v '^ *+' conftest.er1 >conftest.err 9683 grep -v '^ *+' conftest.er1 >conftest.err
10263 rm -f conftest.er1 9684 rm -f conftest.er1
10264 cat conftest.err >&5 9685 cat conftest.err >&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); } && 9687 (exit $ac_status); } &&
10267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9688 { ac_try='test -z "$ac_cxx_werror_flag"
9689 || test ! -s conftest.err'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5 9691 (eval $ac_try) 2>&5
10270 ac_status=$? 9692 ac_status=$?
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; } && 9694 (exit $ac_status); }; } &&
10296fi 9718fi
10297done 9719done
10298 9720
10299 9721
10300 9722
9723support_utmp=yes
9724support_wtmp=yes
9725support_lastlog=yes
9726
9727# Check whether --enable-utmp or --disable-utmp was given.
9728if test "${enable_utmp+set}" = set; then
9729 enableval="$enable_utmp"
9730 if test x$enableval = xyes -o x$enableval = xno; then
9731 support_utmp=$enableval
9732 fi
9733fi;
9734
9735# Check whether --enable-wtmp or --disable-wtmp was given.
9736if test "${enable_wtmp+set}" = set; then
9737 enableval="$enable_wtmp"
9738 if test x$enableval = xyes -o x$enableval = xno; then
9739 support_wtmp=$enableval
9740 fi
9741fi;
9742
9743# Check whether --enable-lastlog or --disable-lastlog was given.
9744if test "${enable_lastlog+set}" = set; then
9745 enableval="$enable_lastlog"
9746 if test x$enableval = xyes -o x$enableval = xno; then
9747 support_lastlog=$enableval
9748 fi
9749fi;
9750
9751if test x$support_utmp = xyes; then
9752
9753cat >>confdefs.h <<\_ACEOF
9754#define UTMP_SUPPORT 1
9755_ACEOF
9756
9757fi
9758if test x$support_wtmp = xyes; then
9759
9760cat >>confdefs.h <<\_ACEOF
9761#define WTMP_SUPPORT 1
9762_ACEOF
9763
9764fi
9765if test x$support_lastlog = xyes; then
9766
9767cat >>confdefs.h <<\_ACEOF
9768#define LASTLOG_SUPPORT 1
9769_ACEOF
9770
9771fi
9772
9773
9774
9775
9776for ac_func in \
9777 ttyslot \
9778 updwtmp \
9779 updwtmpx \
9780
9781do
9782as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9783echo "$as_me:$LINENO: checking for $ac_func" >&5
9784echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9785if eval "test \"\${$as_ac_var+set}\" = set"; then
9786 echo $ECHO_N "(cached) $ECHO_C" >&6
9787else
9788 cat >conftest.$ac_ext <<_ACEOF
9789/* confdefs.h. */
9790_ACEOF
9791cat confdefs.h >>conftest.$ac_ext
9792cat >>conftest.$ac_ext <<_ACEOF
9793/* end confdefs.h. */
9794/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9796#define $ac_func innocuous_$ac_func
9797
9798/* System header to define __stub macros and hopefully few prototypes,
9799 which can conflict with char $ac_func (); below.
9800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9801 <limits.h> exists even on freestanding compilers. */
9802
9803#ifdef __STDC__
9804# include <limits.h>
9805#else
9806# include <assert.h>
9807#endif
9808
9809#undef $ac_func
9810
9811/* Override any gcc2 internal prototype to avoid an error. */
9812#ifdef __cplusplus
9813extern "C"
9814{
9815#endif
9816/* We use char because int might match the return type of a gcc2
9817 builtin and then its argument prototype would still apply. */
9818char $ac_func ();
9819/* The GNU C library defines this for functions which it implements
9820 to always fail with ENOSYS. Some functions are actually named
9821 something starting with __ and the normal name is an alias. */
9822#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9823choke me
9824#else
9825char (*f) () = $ac_func;
9826#endif
9827#ifdef __cplusplus
9828}
9829#endif
9830
9831int
9832main ()
9833{
9834return f != $ac_func;
9835 ;
9836 return 0;
9837}
9838_ACEOF
9839rm -f conftest.$ac_objext conftest$ac_exeext
9840if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9841 (eval $ac_link) 2>conftest.er1
9842 ac_status=$?
9843 grep -v '^ *+' conftest.er1 >conftest.err
9844 rm -f conftest.er1
9845 cat conftest.err >&5
9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9847 (exit $ac_status); } &&
9848 { ac_try='test -z "$ac_cxx_werror_flag"
9849 || test ! -s conftest.err'
9850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851 (eval $ac_try) 2>&5
9852 ac_status=$?
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); }; } &&
9855 { ac_try='test -s conftest$ac_exeext'
9856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9857 (eval $ac_try) 2>&5
9858 ac_status=$?
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); }; }; then
9861 eval "$as_ac_var=yes"
9862else
9863 echo "$as_me: failed program was:" >&5
9864sed 's/^/| /' conftest.$ac_ext >&5
9865
9866eval "$as_ac_var=no"
9867fi
9868rm -f conftest.err conftest.$ac_objext \
9869 conftest$ac_exeext conftest.$ac_ext
9870fi
9871echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9872echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9873if test `eval echo '${'$as_ac_var'}'` = yes; then
9874 cat >>confdefs.h <<_ACEOF
9875#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9876_ACEOF
9877
9878fi
9879done
9880
9881
9882
9883
9884
9885for ac_header in \
9886 utmp.h \
9887 utmpx.h \
9888 lastlog.h \
9889
9890do
9891as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9892if eval "test \"\${$as_ac_Header+set}\" = set"; then
9893 echo "$as_me:$LINENO: checking for $ac_header" >&5
9894echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9895if eval "test \"\${$as_ac_Header+set}\" = set"; then
9896 echo $ECHO_N "(cached) $ECHO_C" >&6
9897fi
9898echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9899echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9900else
9901 # Is the header compilable?
9902echo "$as_me:$LINENO: checking $ac_header usability" >&5
9903echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9904cat >conftest.$ac_ext <<_ACEOF
9905/* confdefs.h. */
9906_ACEOF
9907cat confdefs.h >>conftest.$ac_ext
9908cat >>conftest.$ac_ext <<_ACEOF
9909/* end confdefs.h. */
9910$ac_includes_default
9911#include <$ac_header>
9912_ACEOF
9913rm -f conftest.$ac_objext
9914if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9915 (eval $ac_compile) 2>conftest.er1
9916 ac_status=$?
9917 grep -v '^ *+' conftest.er1 >conftest.err
9918 rm -f conftest.er1
9919 cat conftest.err >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try='test -z "$ac_cxx_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 (eval $ac_try) 2>&5
9926 ac_status=$?
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try='test -s conftest.$ac_objext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 (eval $ac_try) 2>&5
9932 ac_status=$?
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 ac_header_compiler=yes
9936else
9937 echo "$as_me: failed program was:" >&5
9938sed 's/^/| /' conftest.$ac_ext >&5
9939
9940ac_header_compiler=no
9941fi
9942rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9943echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9944echo "${ECHO_T}$ac_header_compiler" >&6
9945
9946# Is the header present?
9947echo "$as_me:$LINENO: checking $ac_header presence" >&5
9948echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9949cat >conftest.$ac_ext <<_ACEOF
9950/* confdefs.h. */
9951_ACEOF
9952cat confdefs.h >>conftest.$ac_ext
9953cat >>conftest.$ac_ext <<_ACEOF
9954/* end confdefs.h. */
9955#include <$ac_header>
9956_ACEOF
9957if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9958 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9959 ac_status=$?
9960 grep -v '^ *+' conftest.er1 >conftest.err
9961 rm -f conftest.er1
9962 cat conftest.err >&5
9963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9964 (exit $ac_status); } >/dev/null; then
9965 if test -s conftest.err; then
9966 ac_cpp_err=$ac_cxx_preproc_warn_flag
9967 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9968 else
9969 ac_cpp_err=
9970 fi
9971else
9972 ac_cpp_err=yes
9973fi
9974if test -z "$ac_cpp_err"; then
9975 ac_header_preproc=yes
9976else
9977 echo "$as_me: failed program was:" >&5
9978sed 's/^/| /' conftest.$ac_ext >&5
9979
9980 ac_header_preproc=no
9981fi
9982rm -f conftest.err conftest.$ac_ext
9983echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9984echo "${ECHO_T}$ac_header_preproc" >&6
9985
9986# So? What about this header?
9987case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9988 yes:no: )
9989 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9990echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9992echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9993 ac_header_preproc=yes
9994 ;;
9995 no:yes:* )
9996 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9997echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9998 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9999echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10000 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10001echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10002 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10003echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10005echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10006 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10007echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10008 (
10009 cat <<\_ASBOX
10010## ------------------------------------------ ##
10011## Report this to the AC_PACKAGE_NAME lists. ##
10012## ------------------------------------------ ##
10013_ASBOX
10014 ) |
10015 sed "s/^/$as_me: WARNING: /" >&2
10016 ;;
10017esac
10018echo "$as_me:$LINENO: checking for $ac_header" >&5
10019echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10020if eval "test \"\${$as_ac_Header+set}\" = set"; then
10021 echo $ECHO_N "(cached) $ECHO_C" >&6
10022else
10023 eval "$as_ac_Header=\$ac_header_preproc"
10024fi
10025echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10026echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10027
10028fi
10029if test `eval echo '${'$as_ac_Header'}'` = yes; then
10030 cat >>confdefs.h <<_ACEOF
10031#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10032_ACEOF
10033
10034fi
10035
10036done
10037
10038
10039
10301if test "${ac_cv_header_utmp_h+set}" = set; then 10040if test "${ac_cv_header_utmp_h+set}" = set; then
10302 echo "$as_me:$LINENO: checking for utmp.h" >&5 10041 echo "$as_me:$LINENO: checking for utmp.h" >&5
10303echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 10042echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6
10304if test "${ac_cv_header_utmp_h+set}" = set; then 10043if test "${ac_cv_header_utmp_h+set}" = set; then
10305 echo $ECHO_N "(cached) $ECHO_C" >&6 10044 echo $ECHO_N "(cached) $ECHO_C" >&6
10326 grep -v '^ *+' conftest.er1 >conftest.err 10065 grep -v '^ *+' conftest.er1 >conftest.err
10327 rm -f conftest.er1 10066 rm -f conftest.er1
10328 cat conftest.err >&5 10067 cat conftest.err >&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); } && 10069 (exit $ac_status); } &&
10331 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10070 { ac_try='test -z "$ac_cxx_werror_flag"
10071 || test ! -s conftest.err'
10332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10333 (eval $ac_try) 2>&5 10073 (eval $ac_try) 2>&5
10334 ac_status=$? 10074 ac_status=$?
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); }; } && 10076 (exit $ac_status); }; } &&
10435 10175
10436fi 10176fi
10437if test $ac_cv_header_utmp_h = yes; then 10177if test $ac_cv_header_utmp_h = yes; then
10438 echo "$as_me:$LINENO: checking for struct utmp" >&5 10178 echo "$as_me:$LINENO: checking for struct utmp" >&5
10439echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 10179echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6
10440if test "${rxvt_cv_struct_utmp+set}" = set; then 10180if test "${struct_utmp+set}" = set; then
10441 echo $ECHO_N "(cached) $ECHO_C" >&6 10181 echo $ECHO_N "(cached) $ECHO_C" >&6
10442else 10182else
10443 cat >conftest.$ac_ext <<_ACEOF 10183 cat >conftest.$ac_ext <<_ACEOF
10444/* confdefs.h. */ 10184/* confdefs.h. */
10445_ACEOF 10185_ACEOF
10446cat confdefs.h >>conftest.$ac_ext 10186cat confdefs.h >>conftest.$ac_ext
10447cat >>conftest.$ac_ext <<_ACEOF 10187cat >>conftest.$ac_ext <<_ACEOF
10448/* end confdefs.h. */ 10188/* end confdefs.h. */
10449#include <sys/types.h> 10189#include <sys/types.h>
10450#include <stdint.h>
10451#include <utmp.h> 10190#include <utmp.h>
10452int 10191int
10453main () 10192main ()
10454{ 10193{
10455struct utmp ut; 10194struct utmp ut;
10464 grep -v '^ *+' conftest.er1 >conftest.err 10203 grep -v '^ *+' conftest.er1 >conftest.err
10465 rm -f conftest.er1 10204 rm -f conftest.er1
10466 cat conftest.err >&5 10205 cat conftest.err >&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); } && 10207 (exit $ac_status); } &&
10469 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10208 { ac_try='test -z "$ac_cxx_werror_flag"
10209 || test ! -s conftest.err'
10470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10471 (eval $ac_try) 2>&5 10211 (eval $ac_try) 2>&5
10472 ac_status=$? 10212 ac_status=$?
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); }; } && 10214 (exit $ac_status); }; } &&
10476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10477 (eval $ac_try) 2>&5 10217 (eval $ac_try) 2>&5
10478 ac_status=$? 10218 ac_status=$?
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); }; }; then 10220 (exit $ac_status); }; }; then
10481 rxvt_cv_struct_utmp=yes 10221 struct_utmp=yes
10482else 10222else
10483 echo "$as_me: failed program was:" >&5 10223 echo "$as_me: failed program was:" >&5
10484sed 's/^/| /' conftest.$ac_ext >&5 10224sed 's/^/| /' conftest.$ac_ext >&5
10485 10225
10486rxvt_cv_struct_utmp=no 10226struct_utmp=no
10487fi 10227fi
10488rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10228rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10489fi 10229fi
10490echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 10230echo "$as_me:$LINENO: result: $struct_utmp" >&5
10491echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 10231echo "${ECHO_T}$struct_utmp" >&6
10492if test x$rxvt_cv_struct_utmp = xyes; then 10232if test x$struct_utmp = xyes; then
10493 10233
10494cat >>confdefs.h <<\_ACEOF 10234cat >>confdefs.h <<\_ACEOF
10495#define HAVE_STRUCT_UTMP 1 10235#define HAVE_STRUCT_UTMP 1
10496_ACEOF 10236_ACEOF
10497 10237
10498fi 10238fi
10499 10239
10500 10240
10501echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 10241echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5
10502echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 10242echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6
10503if test "${rxvt_cv_struct_utmp_host+set}" = set; then 10243if test "${struct_utmp_host+set}" = set; then
10504 echo $ECHO_N "(cached) $ECHO_C" >&6 10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10505else 10245else
10506 cat >conftest.$ac_ext <<_ACEOF 10246 cat >conftest.$ac_ext <<_ACEOF
10507/* confdefs.h. */ 10247/* confdefs.h. */
10508_ACEOF 10248_ACEOF
10526 grep -v '^ *+' conftest.er1 >conftest.err 10266 grep -v '^ *+' conftest.er1 >conftest.err
10527 rm -f conftest.er1 10267 rm -f conftest.er1
10528 cat conftest.err >&5 10268 cat conftest.err >&5
10529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10530 (exit $ac_status); } && 10270 (exit $ac_status); } &&
10531 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10271 { ac_try='test -z "$ac_cxx_werror_flag"
10272 || test ! -s conftest.err'
10532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10533 (eval $ac_try) 2>&5 10274 (eval $ac_try) 2>&5
10534 ac_status=$? 10275 ac_status=$?
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); }; } && 10277 (exit $ac_status); }; } &&
10538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10539 (eval $ac_try) 2>&5 10280 (eval $ac_try) 2>&5
10540 ac_status=$? 10281 ac_status=$?
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); }; }; then 10283 (exit $ac_status); }; }; then
10543 rxvt_cv_struct_utmp_host=yes 10284 struct_utmp_host=yes
10544else 10285else
10545 echo "$as_me: failed program was:" >&5 10286 echo "$as_me: failed program was:" >&5
10546sed 's/^/| /' conftest.$ac_ext >&5 10287sed 's/^/| /' conftest.$ac_ext >&5
10547 10288
10548rxvt_cv_struct_utmp_host=no 10289struct_utmp_host=no
10549fi 10290fi
10550rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10291rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10551fi 10292fi
10552echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 10293echo "$as_me:$LINENO: result: $struct_utmp_host" >&5
10553echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 10294echo "${ECHO_T}$struct_utmp_host" >&6
10554if test x$rxvt_cv_struct_utmp_host = xyes; then 10295if test x$struct_utmp_host = xyes; then
10555 10296
10556cat >>confdefs.h <<\_ACEOF 10297cat >>confdefs.h <<\_ACEOF
10557#define HAVE_UTMP_HOST 1 10298#define HAVE_UTMP_HOST 1
10558_ACEOF 10299_ACEOF
10559 10300
10560fi 10301fi
10561 10302
10562echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 10303echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5
10563echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 10304echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6
10564if test "${rxvt_cv_struct_utmp_pid+set}" = set; then 10305if test "${struct_utmp_pid+set}" = set; then
10565 echo $ECHO_N "(cached) $ECHO_C" >&6 10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10566else 10307else
10567 cat >conftest.$ac_ext <<_ACEOF 10308 cat >conftest.$ac_ext <<_ACEOF
10568/* confdefs.h. */ 10309/* confdefs.h. */
10569_ACEOF 10310_ACEOF
10587 grep -v '^ *+' conftest.er1 >conftest.err 10328 grep -v '^ *+' conftest.er1 >conftest.err
10588 rm -f conftest.er1 10329 rm -f conftest.er1
10589 cat conftest.err >&5 10330 cat conftest.err >&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); } && 10332 (exit $ac_status); } &&
10592 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10333 { ac_try='test -z "$ac_cxx_werror_flag"
10334 || test ! -s conftest.err'
10593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10594 (eval $ac_try) 2>&5 10336 (eval $ac_try) 2>&5
10595 ac_status=$? 10337 ac_status=$?
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); }; } && 10339 (exit $ac_status); }; } &&
10599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10600 (eval $ac_try) 2>&5 10342 (eval $ac_try) 2>&5
10601 ac_status=$? 10343 ac_status=$?
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 (exit $ac_status); }; }; then 10345 (exit $ac_status); }; }; then
10604 rxvt_cv_struct_utmp_pid=yes 10346 struct_utmp_pid=yes
10605else 10347else
10606 echo "$as_me: failed program was:" >&5 10348 echo "$as_me: failed program was:" >&5
10607sed 's/^/| /' conftest.$ac_ext >&5 10349sed 's/^/| /' conftest.$ac_ext >&5
10608 10350
10609rxvt_cv_struct_utmp_pid=no 10351struct_utmp_pid=no
10610fi 10352fi
10611rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10353rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10612fi 10354fi
10613echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 10355echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5
10614echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 10356echo "${ECHO_T}$struct_utmp_pid" >&6
10615if test x$rxvt_cv_struct_utmp_pid = xyes; then 10357if test x$struct_utmp_pid = xyes; then
10616 10358
10617cat >>confdefs.h <<\_ACEOF 10359cat >>confdefs.h <<\_ACEOF
10618#define HAVE_UTMP_PID 1 10360#define HAVE_UTMP_PID 1
10619_ACEOF 10361_ACEOF
10620 10362
10652 grep -v '^ *+' conftest.er1 >conftest.err 10394 grep -v '^ *+' conftest.er1 >conftest.err
10653 rm -f conftest.er1 10395 rm -f conftest.er1
10654 cat conftest.err >&5 10396 cat conftest.err >&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); } && 10398 (exit $ac_status); } &&
10657 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10399 { ac_try='test -z "$ac_cxx_werror_flag"
10400 || test ! -s conftest.err'
10658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659 (eval $ac_try) 2>&5 10402 (eval $ac_try) 2>&5
10660 ac_status=$? 10403 ac_status=$?
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }; } && 10405 (exit $ac_status); }; } &&
10761 10504
10762fi 10505fi
10763if test $ac_cv_header_utmpx_h = yes; then 10506if test $ac_cv_header_utmpx_h = yes; then
10764 echo "$as_me:$LINENO: checking for struct utmpx" >&5 10507 echo "$as_me:$LINENO: checking for struct utmpx" >&5
10765echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 10508echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6
10766if test "${rxvt_cv_struct_utmpx+set}" = set; then 10509if test "${struct_utmpx+set}" = set; then
10767 echo $ECHO_N "(cached) $ECHO_C" >&6 10510 echo $ECHO_N "(cached) $ECHO_C" >&6
10768else 10511else
10769 cat >conftest.$ac_ext <<_ACEOF 10512 cat >conftest.$ac_ext <<_ACEOF
10770/* confdefs.h. */ 10513/* confdefs.h. */
10771_ACEOF 10514_ACEOF
10789 grep -v '^ *+' conftest.er1 >conftest.err 10532 grep -v '^ *+' conftest.er1 >conftest.err
10790 rm -f conftest.er1 10533 rm -f conftest.er1
10791 cat conftest.err >&5 10534 cat conftest.err >&5
10792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793 (exit $ac_status); } && 10536 (exit $ac_status); } &&
10794 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10537 { ac_try='test -z "$ac_cxx_werror_flag"
10538 || test ! -s conftest.err'
10795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10796 (eval $ac_try) 2>&5 10540 (eval $ac_try) 2>&5
10797 ac_status=$? 10541 ac_status=$?
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; } && 10543 (exit $ac_status); }; } &&
10801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10802 (eval $ac_try) 2>&5 10546 (eval $ac_try) 2>&5
10803 ac_status=$? 10547 ac_status=$?
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); }; }; then 10549 (exit $ac_status); }; }; then
10806 rxvt_cv_struct_utmpx=yes 10550 struct_utmpx=yes
10807else 10551else
10808 echo "$as_me: failed program was:" >&5 10552 echo "$as_me: failed program was:" >&5
10809sed 's/^/| /' conftest.$ac_ext >&5 10553sed 's/^/| /' conftest.$ac_ext >&5
10810 10554
10811rxvt_cv_struct_utmpx=no 10555struct_utmpx=no
10812fi 10556fi
10813rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10557rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10814fi 10558fi
10815echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 10559echo "$as_me:$LINENO: result: $struct_utmpx" >&5
10816echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 10560echo "${ECHO_T}$struct_utmpx" >&6
10817if test x$rxvt_cv_struct_utmpx = xyes; then 10561if test x$struct_utmpx = xyes; then
10818 10562
10819cat >>confdefs.h <<\_ACEOF 10563cat >>confdefs.h <<\_ACEOF
10820#define HAVE_STRUCT_UTMPX 1 10564#define HAVE_STRUCT_UTMPX 1
10821_ACEOF 10565_ACEOF
10822 10566
10823fi 10567fi
10824 10568
10825 10569
10826echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 10570echo "$as_me:$LINENO: checking for host in utmpx struct" >&5
10827echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 10571echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6
10828if test "${rxvt_cv_struct_utmpx_host+set}" = set; then 10572if test "${struct_utmpx_host+set}" = set; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6 10573 echo $ECHO_N "(cached) $ECHO_C" >&6
10830else 10574else
10831 cat >conftest.$ac_ext <<_ACEOF 10575 cat >conftest.$ac_ext <<_ACEOF
10832/* confdefs.h. */ 10576/* confdefs.h. */
10833_ACEOF 10577_ACEOF
10851 grep -v '^ *+' conftest.er1 >conftest.err 10595 grep -v '^ *+' conftest.er1 >conftest.err
10852 rm -f conftest.er1 10596 rm -f conftest.er1
10853 cat conftest.err >&5 10597 cat conftest.err >&5
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); } && 10599 (exit $ac_status); } &&
10856 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10600 { ac_try='test -z "$ac_cxx_werror_flag"
10601 || test ! -s conftest.err'
10857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10858 (eval $ac_try) 2>&5 10603 (eval $ac_try) 2>&5
10859 ac_status=$? 10604 ac_status=$?
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); }; } && 10606 (exit $ac_status); }; } &&
10863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864 (eval $ac_try) 2>&5 10609 (eval $ac_try) 2>&5
10865 ac_status=$? 10610 ac_status=$?
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); }; }; then 10612 (exit $ac_status); }; }; then
10868 rxvt_cv_struct_utmpx_host=yes 10613 struct_utmpx_host=yes
10869else 10614else
10870 echo "$as_me: failed program was:" >&5 10615 echo "$as_me: failed program was:" >&5
10871sed 's/^/| /' conftest.$ac_ext >&5 10616sed 's/^/| /' conftest.$ac_ext >&5
10872 10617
10873rxvt_cv_struct_utmpx_host=no 10618struct_utmpx_host=no
10874fi 10619fi
10875rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10620rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10876fi 10621fi
10877echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 10622echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5
10878echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 10623echo "${ECHO_T}$struct_utmpx_host" >&6
10879if test x$rxvt_cv_struct_utmpx_host = xyes; then 10624if test x$struct_utmpx_host = xyes; then
10880 10625
10881cat >>confdefs.h <<\_ACEOF 10626cat >>confdefs.h <<\_ACEOF
10882#define HAVE_UTMPX_HOST 1 10627#define HAVE_UTMPX_HOST 1
10883_ACEOF 10628_ACEOF
10884 10629
10885fi 10630fi
10886 10631
10887echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 10632echo "$as_me:$LINENO: checking for session in utmpx struct" >&5
10888echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 10633echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6
10889if test "${rxvt_cv_struct_utmpx_session+set}" = set; then 10634if test "${struct_utmpx_session+set}" = set; then
10890 echo $ECHO_N "(cached) $ECHO_C" >&6 10635 echo $ECHO_N "(cached) $ECHO_C" >&6
10891else 10636else
10892 cat >conftest.$ac_ext <<_ACEOF 10637 cat >conftest.$ac_ext <<_ACEOF
10893/* confdefs.h. */ 10638/* confdefs.h. */
10894_ACEOF 10639_ACEOF
10912 grep -v '^ *+' conftest.er1 >conftest.err 10657 grep -v '^ *+' conftest.er1 >conftest.err
10913 rm -f conftest.er1 10658 rm -f conftest.er1
10914 cat conftest.err >&5 10659 cat conftest.err >&5
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); } && 10661 (exit $ac_status); } &&
10917 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10662 { ac_try='test -z "$ac_cxx_werror_flag"
10663 || test ! -s conftest.err'
10918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5 10665 (eval $ac_try) 2>&5
10920 ac_status=$? 10666 ac_status=$?
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; } && 10668 (exit $ac_status); }; } &&
10924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10925 (eval $ac_try) 2>&5 10671 (eval $ac_try) 2>&5
10926 ac_status=$? 10672 ac_status=$?
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); }; }; then 10674 (exit $ac_status); }; }; then
10929 rxvt_cv_struct_utmpx_session=yes 10675 struct_utmpx_session=yes
10930else 10676else
10931 echo "$as_me: failed program was:" >&5 10677 echo "$as_me: failed program was:" >&5
10932sed 's/^/| /' conftest.$ac_ext >&5 10678sed 's/^/| /' conftest.$ac_ext >&5
10933 10679
10934rxvt_cv_struct_utmpx_session=no 10680struct_utmpx_session=no
10935fi 10681fi
10936rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10682rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10937fi 10683fi
10938echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 10684echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5
10939echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 10685echo "${ECHO_T}$struct_utmpx_session" >&6
10940if test x$rxvt_cv_struct_utmpx_session = xyes; then 10686if test x$struct_utmpx_session = xyes; then
10941 10687
10942cat >>confdefs.h <<\_ACEOF 10688cat >>confdefs.h <<\_ACEOF
10943#define HAVE_UTMPX_SESSION 1 10689#define HAVE_UTMPX_SESSION 1
10944_ACEOF 10690_ACEOF
10945 10691
10948fi 10694fi
10949 10695
10950 10696
10951echo "$as_me:$LINENO: checking for struct lastlog" >&5 10697echo "$as_me:$LINENO: checking for struct lastlog" >&5
10952echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 10698echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
10953if test "${rxvt_cv_struct_lastlog+set}" = set; then 10699if test "${struct_lastlog+set}" = set; then
10954 echo $ECHO_N "(cached) $ECHO_C" >&6 10700 echo $ECHO_N "(cached) $ECHO_C" >&6
10955else 10701else
10956 cat >conftest.$ac_ext <<_ACEOF 10702 cat >conftest.$ac_ext <<_ACEOF
10957/* confdefs.h. */ 10703/* confdefs.h. */
10958_ACEOF 10704_ACEOF
10980 grep -v '^ *+' conftest.er1 >conftest.err 10726 grep -v '^ *+' conftest.er1 >conftest.err
10981 rm -f conftest.er1 10727 rm -f conftest.er1
10982 cat conftest.err >&5 10728 cat conftest.err >&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); } && 10730 (exit $ac_status); } &&
10985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10731 { ac_try='test -z "$ac_cxx_werror_flag"
10732 || test ! -s conftest.err'
10986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10987 (eval $ac_try) 2>&5 10734 (eval $ac_try) 2>&5
10988 ac_status=$? 10735 ac_status=$?
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); }; } && 10737 (exit $ac_status); }; } &&
10992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10993 (eval $ac_try) 2>&5 10740 (eval $ac_try) 2>&5
10994 ac_status=$? 10741 ac_status=$?
10995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 (exit $ac_status); }; }; then 10743 (exit $ac_status); }; }; then
10997 rxvt_cv_struct_lastlog=yes 10744 struct_lastlog=yes
10998else 10745else
10999 echo "$as_me: failed program was:" >&5 10746 echo "$as_me: failed program was:" >&5
11000sed 's/^/| /' conftest.$ac_ext >&5 10747sed 's/^/| /' conftest.$ac_ext >&5
11001 10748
11002rxvt_cv_struct_lastlog=no 10749struct_lastlog=no
11003fi 10750fi
11004rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10751rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11005fi 10752fi
11006echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 10753echo "$as_me:$LINENO: result: $struct_lastlog" >&5
11007echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 10754echo "${ECHO_T}$struct_lastlog" >&6
11008if test x$rxvt_cv_struct_lastlog = xyes; then 10755if test x$struct_lastlog = xyes; then
11009 10756
11010cat >>confdefs.h <<\_ACEOF 10757cat >>confdefs.h <<\_ACEOF
11011#define HAVE_STRUCT_LASTLOG 1 10758#define HAVE_STRUCT_LASTLOG 1
11012_ACEOF 10759_ACEOF
11013 10760
11014fi 10761fi
11015 10762
11016echo "$as_me:$LINENO: checking for struct lastlogx" >&5 10763echo "$as_me:$LINENO: checking for struct lastlogx" >&5
11017echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 10764echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6
11018if test "${rxvt_cv_struct_lastlogx+set}" = set; then 10765if test "${struct_lastlogx+set}" = set; then
11019 echo $ECHO_N "(cached) $ECHO_C" >&6 10766 echo $ECHO_N "(cached) $ECHO_C" >&6
11020else 10767else
11021 cat >conftest.$ac_ext <<_ACEOF 10768 cat >conftest.$ac_ext <<_ACEOF
11022/* confdefs.h. */ 10769/* confdefs.h. */
11023_ACEOF 10770_ACEOF
11045 grep -v '^ *+' conftest.er1 >conftest.err 10792 grep -v '^ *+' conftest.er1 >conftest.err
11046 rm -f conftest.er1 10793 rm -f conftest.er1
11047 cat conftest.err >&5 10794 cat conftest.err >&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); } && 10796 (exit $ac_status); } &&
11050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10797 { ac_try='test -z "$ac_cxx_werror_flag"
10798 || test ! -s conftest.err'
11051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11052 (eval $ac_try) 2>&5 10800 (eval $ac_try) 2>&5
11053 ac_status=$? 10801 ac_status=$?
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); }; } && 10803 (exit $ac_status); }; } &&
11057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11058 (eval $ac_try) 2>&5 10806 (eval $ac_try) 2>&5
11059 ac_status=$? 10807 ac_status=$?
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); }; }; then 10809 (exit $ac_status); }; }; then
11062 rxvt_cv_struct_lastlogx=yes 10810 struct_lastlogx=yes
11063else 10811else
11064 echo "$as_me: failed program was:" >&5 10812 echo "$as_me: failed program was:" >&5
11065sed 's/^/| /' conftest.$ac_ext >&5 10813sed 's/^/| /' conftest.$ac_ext >&5
11066 10814
11067rxvt_cv_struct_lastlogx=no 10815struct_lastlogx=no
11068fi 10816fi
11069rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10817rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11070fi 10818fi
11071echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 10819echo "$as_me:$LINENO: result: $struct_lastlogx" >&5
11072echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 10820echo "${ECHO_T}$struct_lastlogx" >&6
11073if test x$rxvt_cv_struct_lastlogx = xyes; then 10821if test x$struct_lastlogx = xyes; then
11074 10822
11075cat >>confdefs.h <<\_ACEOF 10823cat >>confdefs.h <<\_ACEOF
11076#define HAVE_STRUCT_LASTLOGX 1 10824#define HAVE_STRUCT_LASTLOGX 1
11077_ACEOF 10825_ACEOF
11078 10826
11079fi 10827fi
11080 10828
11081 10829
11082echo "$as_me:$LINENO: checking where utmp is located" >&5 10830echo "$as_me:$LINENO: checking where utmp is located" >&5
11083echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 10831echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6
11084if test "${rxvt_cv_path_utmp+set}" = set; then 10832if test "${path_utmp+set}" = set; then
11085 echo $ECHO_N "(cached) $ECHO_C" >&6 10833 echo $ECHO_N "(cached) $ECHO_C" >&6
11086else 10834else
11087 if test "$cross_compiling" = yes; then 10835 if test "$cross_compiling" = yes; then
11088 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 10836 { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5
11089echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} 10837echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
11090else 10838else
11091 cat >conftest.$ac_ext <<_ACEOF 10839 cat >conftest.$ac_ext <<_ACEOF
11092/* confdefs.h. */ 10840/* confdefs.h. */
11093_ACEOF 10841_ACEOF
11094cat confdefs.h >>conftest.$ac_ext 10842cat confdefs.h >>conftest.$ac_ext
11095cat >>conftest.$ac_ext <<_ACEOF 10843cat >>conftest.$ac_ext <<_ACEOF
11096/* end confdefs.h. */ 10844/* end confdefs.h. */
11097#include <stdio.h> 10845#include <stdio.h>
10846#include <stdlib.h>
11098#include <sys/types.h> 10847#include <sys/types.h>
11099#include <utmp.h> 10848#include <utmp.h>
11100#include <errno.h> 10849#include <errno.h>
11101main() 10850main()
11102{ 10851{
11130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11131 (eval $ac_try) 2>&5 10880 (eval $ac_try) 2>&5
11132 ac_status=$? 10881 ac_status=$?
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; }; then 10883 (exit $ac_status); }; }; then
11135 rxvt_cv_path_utmp=`cat conftestval` 10884 path_utmp=`cat conftestval`
11136else 10885else
11137 echo "$as_me: program exited with status $ac_status" >&5 10886 echo "$as_me: program exited with status $ac_status" >&5
11138echo "$as_me: failed program was:" >&5 10887echo "$as_me: failed program was:" >&5
11139sed 's/^/| /' conftest.$ac_ext >&5 10888sed 's/^/| /' conftest.$ac_ext >&5
11140 10889
11141( exit $ac_status ) 10890( exit $ac_status )
11142rxvt_cv_path_utmp= 10891path_utmp=
11143fi 10892fi
11144rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10893rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11145fi 10894fi
11146fi 10895fi
11147echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 10896echo "$as_me:$LINENO: result: $path_utmp" >&5
11148echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 10897echo "${ECHO_T}$path_utmp" >&6
11149if test x$rxvt_cv_path_utmp != x; then 10898if test x$path_utmp != x; then
11150 10899
11151cat >>confdefs.h <<_ACEOF 10900cat >>confdefs.h <<_ACEOF
11152#define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" 10901#define UTMP_FILE "$path_utmp"
11153_ACEOF 10902_ACEOF
11154 10903
11155fi 10904fi
11156 10905
11157 10906
11158echo "$as_me:$LINENO: checking where utmpx is located" >&5 10907echo "$as_me:$LINENO: checking where utmpx is located" >&5
11159echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 10908echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6
11160if test "${rxvt_cv_path_utmpx+set}" = set; then 10909if test "${path_utmpx+set}" = set; then
11161 echo $ECHO_N "(cached) $ECHO_C" >&6 10910 echo $ECHO_N "(cached) $ECHO_C" >&6
11162else 10911else
11163 if test "$cross_compiling" = yes; then 10912 if test "$cross_compiling" = yes; then
11164 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 10913 { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5
11165echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} 10914echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;}
11166else 10915else
11167 cat >conftest.$ac_ext <<_ACEOF 10916 cat >conftest.$ac_ext <<_ACEOF
11168/* confdefs.h. */ 10917/* confdefs.h. */
11169_ACEOF 10918_ACEOF
11170cat confdefs.h >>conftest.$ac_ext 10919cat confdefs.h >>conftest.$ac_ext
11171cat >>conftest.$ac_ext <<_ACEOF 10920cat >>conftest.$ac_ext <<_ACEOF
11172/* end confdefs.h. */ 10921/* end confdefs.h. */
11173#include <stdio.h> 10922#include <stdio.h>
10923#include <stdlib.h>
11174#include <sys/types.h> 10924#include <sys/types.h>
11175#include <utmpx.h> 10925#include <utmpx.h>
11176#include <errno.h> 10926#include <errno.h>
11177#include <sys/stat.h> 10927#include <sys/stat.h>
11178#ifdef HAVE_STRING_H 10928#ifdef HAVE_STRING_H
11216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11217 (eval $ac_try) 2>&5 10967 (eval $ac_try) 2>&5
11218 ac_status=$? 10968 ac_status=$?
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); }; }; then 10970 (exit $ac_status); }; }; then
11221 rxvt_cv_path_utmpx=`cat conftestval` 10971 path_utmpx=`cat conftestval`
11222else 10972else
11223 echo "$as_me: program exited with status $ac_status" >&5 10973 echo "$as_me: program exited with status $ac_status" >&5
11224echo "$as_me: failed program was:" >&5 10974echo "$as_me: failed program was:" >&5
11225sed 's/^/| /' conftest.$ac_ext >&5 10975sed 's/^/| /' conftest.$ac_ext >&5
11226 10976
11227( exit $ac_status ) 10977( exit $ac_status )
11228rxvt_cv_path_utmpx= 10978path_utmpx=
11229fi 10979fi
11230rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10980rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11231fi 10981fi
11232fi 10982fi
11233echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 10983echo "$as_me:$LINENO: result: $path_utmpx" >&5
11234echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 10984echo "${ECHO_T}$path_utmpx" >&6
11235if test x$rxvt_cv_path_utmpx != x; then 10985if test x$path_utmpx != x; then
11236 10986
11237cat >>confdefs.h <<_ACEOF 10987cat >>confdefs.h <<_ACEOF
11238#define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" 10988#define UTMPX_FILE "$path_utmpx"
11239_ACEOF 10989_ACEOF
11240 10990
11241fi 10991fi
11242 10992
11243 10993
11244echo "$as_me:$LINENO: checking where wtmp is located" >&5 10994echo "$as_me:$LINENO: checking where wtmp is located" >&5
11245echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 10995echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6
11246if test "${rxvt_cv_path_wtmp+set}" = set; then 10996if test "${path_wtmp+set}" = set; then
11247 echo $ECHO_N "(cached) $ECHO_C" >&6 10997 echo $ECHO_N "(cached) $ECHO_C" >&6
11248else 10998else
11249 if test "$cross_compiling" = yes; then 10999 if test "$cross_compiling" = yes; then
11250 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 11000 { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5
11251echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} 11001echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
11252else 11002else
11253 cat >conftest.$ac_ext <<_ACEOF 11003 cat >conftest.$ac_ext <<_ACEOF
11254/* confdefs.h. */ 11004/* confdefs.h. */
11255_ACEOF 11005_ACEOF
11256cat confdefs.h >>conftest.$ac_ext 11006cat confdefs.h >>conftest.$ac_ext
11257cat >>conftest.$ac_ext <<_ACEOF 11007cat >>conftest.$ac_ext <<_ACEOF
11258/* end confdefs.h. */ 11008/* end confdefs.h. */
11259#include <stdio.h> 11009#include <stdio.h>
11010#include <stdlib.h>
11260#include <sys/types.h> 11011#include <sys/types.h>
11261#ifdef HAVE_UTMP_H 11012#ifdef HAVE_UTMP_H
11262#include <utmp.h> 11013#include <utmp.h>
11263#endif 11014#endif
11264#include <errno.h> 11015#include <errno.h>
11294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11295 (eval $ac_try) 2>&5 11046 (eval $ac_try) 2>&5
11296 ac_status=$? 11047 ac_status=$?
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); }; }; then 11049 (exit $ac_status); }; }; then
11299 rxvt_cv_path_wtmp=`cat conftestval` 11050 path_wtmp=`cat conftestval`
11300else 11051else
11301 echo "$as_me: program exited with status $ac_status" >&5 11052 echo "$as_me: program exited with status $ac_status" >&5
11302echo "$as_me: failed program was:" >&5 11053echo "$as_me: failed program was:" >&5
11303sed 's/^/| /' conftest.$ac_ext >&5 11054sed 's/^/| /' conftest.$ac_ext >&5
11304 11055
11305( exit $ac_status ) 11056( exit $ac_status )
11306rxvt_cv_path_wtmp= 11057path_wtmp=
11307fi 11058fi
11308rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11059rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11309fi 11060fi
11310fi 11061fi
11311echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 11062echo "$as_me:$LINENO: result: $path_wtmp" >&5
11312echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 11063echo "${ECHO_T}$path_wtmp" >&6
11313if test x$rxvt_cv_path_wtmp != x; then 11064if test x$path_wtmp != x; then
11314 11065
11315cat >>confdefs.h <<_ACEOF 11066cat >>confdefs.h <<_ACEOF
11316#define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" 11067#define WTMP_FILE "$path_wtmp"
11317_ACEOF 11068_ACEOF
11318 11069
11319fi 11070fi
11320 11071
11321echo "$as_me:$LINENO: checking where wtmpx is located" >&5 11072echo "$as_me:$LINENO: checking where wtmpx is located" >&5
11322echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 11073echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6
11323if test "${rxvt_cv_path_wtmpx+set}" = set; then 11074if test "${path_wtmpx+set}" = set; then
11324 echo $ECHO_N "(cached) $ECHO_C" >&6 11075 echo $ECHO_N "(cached) $ECHO_C" >&6
11325else 11076else
11326 if test "$cross_compiling" = yes; then 11077 if test "$cross_compiling" = yes; then
11327 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 11078 { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5
11328echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} 11079echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;}
11329else 11080else
11330 cat >conftest.$ac_ext <<_ACEOF 11081 cat >conftest.$ac_ext <<_ACEOF
11331/* confdefs.h. */ 11082/* confdefs.h. */
11332_ACEOF 11083_ACEOF
11333cat confdefs.h >>conftest.$ac_ext 11084cat confdefs.h >>conftest.$ac_ext
11334cat >>conftest.$ac_ext <<_ACEOF 11085cat >>conftest.$ac_ext <<_ACEOF
11335/* end confdefs.h. */ 11086/* end confdefs.h. */
11336#include <stdio.h> 11087#include <stdio.h>
11088#include <stdlib.h>
11337#ifdef HAVE_UTMPX_H 11089#ifdef HAVE_UTMPX_H
11338#include <utmpx.h> 11090#include <utmpx.h>
11339#endif 11091#endif
11340#include <errno.h> 11092#include <errno.h>
11341main() 11093main()
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5 11123 (eval $ac_try) 2>&5
11372 ac_status=$? 11124 ac_status=$?
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; }; then 11126 (exit $ac_status); }; }; then
11375 rxvt_cv_path_wtmpx=`cat conftestval` 11127 path_wtmpx=`cat conftestval`
11376else 11128else
11377 echo "$as_me: program exited with status $ac_status" >&5 11129 echo "$as_me: program exited with status $ac_status" >&5
11378echo "$as_me: failed program was:" >&5 11130echo "$as_me: failed program was:" >&5
11379sed 's/^/| /' conftest.$ac_ext >&5 11131sed 's/^/| /' conftest.$ac_ext >&5
11380 11132
11381( exit $ac_status ) 11133( exit $ac_status )
11382rxvt_cv_path_wtmpx= 11134path_wtmpx=
11383fi 11135fi
11384rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11136rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11385fi 11137fi
11386fi 11138fi
11387echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 11139echo "$as_me:$LINENO: result: $path_wtmpx" >&5
11388echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 11140echo "${ECHO_T}$path_wtmpx" >&6
11389if test x$rxvt_cv_path_wtmpx != x; then 11141if test x$path_wtmpx != x; then
11390 11142
11391cat >>confdefs.h <<_ACEOF 11143cat >>confdefs.h <<_ACEOF
11392#define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" 11144#define WTMPX_FILE "$path_wtmpx"
11393_ACEOF 11145_ACEOF
11394 11146
11395fi 11147fi
11396 11148
11397echo "$as_me:$LINENO: checking where lastlog is located" >&5 11149echo "$as_me:$LINENO: checking where lastlog is located" >&5
11398echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 11150echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6
11399if test "${rxvt_cv_path_lastlog+set}" = set; then 11151if test "${path_lastlog+set}" = set; then
11400 echo $ECHO_N "(cached) $ECHO_C" >&6 11152 echo $ECHO_N "(cached) $ECHO_C" >&6
11401else 11153else
11402 if test "$cross_compiling" = yes; then 11154 if test "$cross_compiling" = yes; then
11403 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 11155 { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5
11404echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} 11156echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;}
11405else 11157else
11406 cat >conftest.$ac_ext <<_ACEOF 11158 cat >conftest.$ac_ext <<_ACEOF
11407/* confdefs.h. */ 11159/* confdefs.h. */
11408_ACEOF 11160_ACEOF
11409cat confdefs.h >>conftest.$ac_ext 11161cat confdefs.h >>conftest.$ac_ext
11410cat >>conftest.$ac_ext <<_ACEOF 11162cat >>conftest.$ac_ext <<_ACEOF
11411/* end confdefs.h. */ 11163/* end confdefs.h. */
11412#include <stdio.h> 11164#include <stdio.h>
11165#include <stdlib.h>
11413#include <sys/types.h> 11166#include <sys/types.h>
11414#ifdef HAVE_UTMPX_H 11167#ifdef HAVE_UTMPX_H
11415#include <utmpx.h> 11168#include <utmpx.h>
11416#elif defined(HAVE_UTMP_H) 11169#elif defined(HAVE_UTMP_H)
11417#include <utmp.h> 11170#include <utmp.h>
11451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11452 (eval $ac_try) 2>&5 11205 (eval $ac_try) 2>&5
11453 ac_status=$? 11206 ac_status=$?
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); }; }; then 11208 (exit $ac_status); }; }; then
11456 rxvt_cv_path_lastlog=`cat conftestval` 11209 path_lastlog=`cat conftestval`
11457else 11210else
11458 echo "$as_me: program exited with status $ac_status" >&5 11211 echo "$as_me: program exited with status $ac_status" >&5
11459echo "$as_me: failed program was:" >&5 11212echo "$as_me: failed program was:" >&5
11460sed 's/^/| /' conftest.$ac_ext >&5 11213sed 's/^/| /' conftest.$ac_ext >&5
11461 11214
11462( exit $ac_status ) 11215( exit $ac_status )
11463rxvt_cv_path_lastlog= 11216path_lastlog=
11464fi 11217fi
11465rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11218rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11466fi 11219fi
11467fi 11220fi
11468echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 11221echo "$as_me:$LINENO: result: $path_lastlog" >&5
11469echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 11222echo "${ECHO_T}$path_lastlog" >&6
11470if test x$rxvt_cv_path_lastlog != x; then 11223if test x$path_lastlog != x; then
11471 11224
11472cat >>confdefs.h <<_ACEOF 11225cat >>confdefs.h <<_ACEOF
11473#define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" 11226#define LASTLOG_FILE "$path_lastlog"
11474_ACEOF 11227_ACEOF
11475 11228
11476 if test -d "$rxvt_cv_path_lastlog"; then 11229 if test -d "$path_lastlog"; then
11477 11230
11478cat >>confdefs.h <<\_ACEOF 11231cat >>confdefs.h <<\_ACEOF
11479#define LASTLOG_IS_DIR 1 11232#define LASTLOG_IS_DIR 1
11480_ACEOF 11233_ACEOF
11481 11234
11482 fi 11235 fi
11483fi 11236fi
11484 11237
11485echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11238echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11486echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 11239echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6
11487if test "${rxvt_cv_path_lastlogx+set}" = set; then 11240if test "${path_lastlogx+set}" = set; then
11488 echo $ECHO_N "(cached) $ECHO_C" >&6 11241 echo $ECHO_N "(cached) $ECHO_C" >&6
11489else 11242else
11490 if test "$cross_compiling" = yes; then 11243 if test "$cross_compiling" = yes; then
11491 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 11244 { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5
11492echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} 11245echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;}
11493else 11246else
11494 cat >conftest.$ac_ext <<_ACEOF 11247 cat >conftest.$ac_ext <<_ACEOF
11495/* confdefs.h. */ 11248/* confdefs.h. */
11496_ACEOF 11249_ACEOF
11497cat confdefs.h >>conftest.$ac_ext 11250cat confdefs.h >>conftest.$ac_ext
11498cat >>conftest.$ac_ext <<_ACEOF 11251cat >>conftest.$ac_ext <<_ACEOF
11499/* end confdefs.h. */ 11252/* end confdefs.h. */
11500#include <stdio.h> 11253#include <stdio.h>
11254#include <stdlib.h>
11501#ifdef HAVE_UTMPX_H 11255#ifdef HAVE_UTMPX_H
11502#include <utmpx.h> 11256#include <utmpx.h>
11503#endif 11257#endif
11504#include <errno.h> 11258#include <errno.h>
11505main() 11259main()
11533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11534 (eval $ac_try) 2>&5 11288 (eval $ac_try) 2>&5
11535 ac_status=$? 11289 ac_status=$?
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); }; }; then 11291 (exit $ac_status); }; }; then
11538 rxvt_cv_path_lastlogx=`cat conftestval` 11292 path_lastlogx=`cat conftestval`
11539else 11293else
11540 echo "$as_me: program exited with status $ac_status" >&5 11294 echo "$as_me: program exited with status $ac_status" >&5
11541echo "$as_me: failed program was:" >&5 11295echo "$as_me: failed program was:" >&5
11542sed 's/^/| /' conftest.$ac_ext >&5 11296sed 's/^/| /' conftest.$ac_ext >&5
11543 11297
11544( exit $ac_status ) 11298( exit $ac_status )
11545rxvt_cv_path_lastlogx= 11299path_lastlogx=
11546fi 11300fi
11547rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11301rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11548fi 11302fi
11549fi 11303fi
11550echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 11304echo "$as_me:$LINENO: result: $path_lastlogx" >&5
11551echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 11305echo "${ECHO_T}$path_lastlogx" >&6
11552if test x$rxvt_cv_path_lastlogx != x; then 11306if test x$path_lastlogx != x; then
11553 11307
11554cat >>confdefs.h <<_ACEOF 11308cat >>confdefs.h <<_ACEOF
11555#define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" 11309#define LASTLOGX_FILE "$path_lastlogx"
11556_ACEOF 11310_ACEOF
11557 11311
11558fi 11312fi
11313
11559 11314
11560 11315
11561echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 11316echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11562echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 11317echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6
11563if test "${rxvt_cv_path_ttytab+set}" = set; then 11318if test "${rxvt_cv_path_ttytab+set}" = set; then
11585 11340
11586ac_save_LIBS=$LIBS 11341ac_save_LIBS=$LIBS
11587ac_save_CFLAGS=$CFLAGS 11342ac_save_CFLAGS=$CFLAGS
11588CFLAGS="$CFLAGS $X_CFLAGS" 11343CFLAGS="$CFLAGS $X_CFLAGS"
11589LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11344LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
11590if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
11591 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
11592fi
11593echo "$as_me:$LINENO: checking for working Xlocale" >&5 11345echo "$as_me:$LINENO: checking for working Xlocale" >&5
11594echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 11346echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6
11595if test "${rxvt_cv_func_xlocale+set}" = set; then 11347if test "${rxvt_cv_func_xlocale+set}" = set; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6 11348 echo $ECHO_N "(cached) $ECHO_C" >&6
11597else 11349else
11598 if test "$cross_compiling" = yes; then 11350 if test "$cross_compiling" = yes; then
11599 { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 11351 :
11600echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;}
11601else 11352else
11602 cat >conftest.$ac_ext <<_ACEOF 11353 cat >conftest.$ac_ext <<_ACEOF
11603/* confdefs.h. */ 11354/* confdefs.h. */
11604_ACEOF 11355_ACEOF
11605cat confdefs.h >>conftest.$ac_ext 11356cat confdefs.h >>conftest.$ac_ext
11606cat >>conftest.$ac_ext <<_ACEOF 11357cat >>conftest.$ac_ext <<_ACEOF
11607/* end confdefs.h. */ 11358/* end confdefs.h. */
11608#include <X11/Xlib.h> 11359#include <X11/Xlib.h>
11360#include <stdlib.h>
11609main() { 11361main() {
11610char *p; 11362char *p;
11611if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 11363if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
11612exit (XSupportsLocale() ? 0 : 1); 11364exit (XSupportsLocale() ? 0 : 1);
11613else 11365else
11636rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11388rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11637fi 11389fi
11638fi 11390fi
11639echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 11391echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5
11640echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 11392echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6
11393if test x$support_xim = xyes; then
11641if test x$rxvt_cv_func_xlocale = xyes; then 11394 if test x$rxvt_cv_func_xlocale = xyes; then
11642 11395
11643cat >>confdefs.h <<\_ACEOF 11396cat >>confdefs.h <<\_ACEOF
11644#define HAVE_XLOCALE 1 11397#define USE_XIM 1
11645_ACEOF 11398_ACEOF
11646 11399
11400 fi
11647fi 11401fi
11648 11402
11649echo "$as_me:$LINENO: checking for working X setlocale" >&5 11403echo "$as_me:$LINENO: checking for working X setlocale" >&5
11650echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 11404echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6
11651if test "${rxvt_cv_func_xsetlocale+set}" = set; then 11405if test "${rxvt_cv_func_xsetlocale+set}" = set; then
11674 grep -v '^ *+' conftest.er1 >conftest.err 11428 grep -v '^ *+' conftest.er1 >conftest.err
11675 rm -f conftest.er1 11429 rm -f conftest.er1
11676 cat conftest.err >&5 11430 cat conftest.err >&5
11677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678 (exit $ac_status); } && 11432 (exit $ac_status); } &&
11679 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11433 { ac_try='test -z "$ac_cxx_werror_flag"
11434 || test ! -s conftest.err'
11680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11681 (eval $ac_try) 2>&5 11436 (eval $ac_try) 2>&5
11682 ac_status=$? 11437 ac_status=$?
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); }; } && 11439 (exit $ac_status); }; } &&
11737 grep -v '^ *+' conftest.er1 >conftest.err 11492 grep -v '^ *+' conftest.er1 >conftest.err
11738 rm -f conftest.er1 11493 rm -f conftest.er1
11739 cat conftest.err >&5 11494 cat conftest.err >&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); } && 11496 (exit $ac_status); } &&
11742 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11497 { ac_try='test -z "$ac_cxx_werror_flag"
11498 || test ! -s conftest.err'
11743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11744 (eval $ac_try) 2>&5 11500 (eval $ac_try) 2>&5
11745 ac_status=$? 11501 ac_status=$?
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }; } && 11503 (exit $ac_status); }; } &&
11798 grep -v '^ *+' conftest.er1 >conftest.err 11554 grep -v '^ *+' conftest.er1 >conftest.err
11799 rm -f conftest.er1 11555 rm -f conftest.er1
11800 cat conftest.err >&5 11556 cat conftest.err >&5
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); } && 11558 (exit $ac_status); } &&
11803 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11559 { ac_try='test -z "$ac_cxx_werror_flag"
11560 || test ! -s conftest.err'
11804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11805 (eval $ac_try) 2>&5 11562 (eval $ac_try) 2>&5
11806 ac_status=$? 11563 ac_status=$?
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 (exit $ac_status); }; } && 11565 (exit $ac_status); }; } &&
11830#define HAVE_NL_LANGINFO 1 11587#define HAVE_NL_LANGINFO 1
11831_ACEOF 11588_ACEOF
11832 11589
11833fi 11590fi
11834 11591
11592
11835echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 11593echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5
11836echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 11594echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6
11837if test "${rxvt_can_pass_fds+set}" = set; then 11595if test "${can_pass_fds+set}" = set; then
11838 echo $ECHO_N "(cached) $ECHO_C" >&6 11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11839else 11597else
11840 cat >conftest.$ac_ext <<_ACEOF 11598 cat >conftest.$ac_ext <<_ACEOF
11841/* confdefs.h. */ 11599/* confdefs.h. */
11842_ACEOF 11600_ACEOF
11843cat confdefs.h >>conftest.$ac_ext 11601cat confdefs.h >>conftest.$ac_ext
11844cat >>conftest.$ac_ext <<_ACEOF 11602cat >>conftest.$ac_ext <<_ACEOF
11845/* end confdefs.h. */ 11603/* end confdefs.h. */
11846 11604
11605#include <cstddef> // broken bsds (is that redundant?) need this
11847#include <sys/types.h> 11606#include <sys/types.h>
11848#include <sys/socket.h> 11607#include <sys/socket.h>
11608#include <sys/uio.h>
11849 11609
11850int 11610int
11851main () 11611main ()
11852{ 11612{
11853 11613
11886 grep -v '^ *+' conftest.er1 >conftest.err 11646 grep -v '^ *+' conftest.er1 >conftest.err
11887 rm -f conftest.er1 11647 rm -f conftest.er1
11888 cat conftest.err >&5 11648 cat conftest.err >&5
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); } && 11650 (exit $ac_status); } &&
11891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11651 { ac_try='test -z "$ac_cxx_werror_flag"
11652 || test ! -s conftest.err'
11892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11893 (eval $ac_try) 2>&5 11654 (eval $ac_try) 2>&5
11894 ac_status=$? 11655 ac_status=$?
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }; } && 11657 (exit $ac_status); }; } &&
11898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11899 (eval $ac_try) 2>&5 11660 (eval $ac_try) 2>&5
11900 ac_status=$? 11661 ac_status=$?
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); }; }; then 11663 (exit $ac_status); }; }; then
11903 rxvt_can_pass_fds=yes 11664 can_pass_fds=yes
11904else 11665else
11905 echo "$as_me: failed program was:" >&5 11666 echo "$as_me: failed program was:" >&5
11906sed 's/^/| /' conftest.$ac_ext >&5 11667sed 's/^/| /' conftest.$ac_ext >&5
11907 11668
11908rxvt_can_pass_fds=no 11669can_pass_fds=no
11909fi 11670fi
11910rm -f conftest.err conftest.$ac_objext \ 11671rm -f conftest.err conftest.$ac_objext \
11911 conftest$ac_exeext conftest.$ac_ext 11672 conftest$ac_exeext conftest.$ac_ext
11912fi 11673fi
11913echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 11674echo "$as_me:$LINENO: result: $can_pass_fds" >&5
11914echo "${ECHO_T}$rxvt_can_pass_fds" >&6 11675echo "${ECHO_T}$can_pass_fds" >&6
11915if test x$rxvt_can_pass_fds = xyes; then 11676if test x$can_pass_fds = xyes; then
11916 11677
11917cat >>confdefs.h <<\_ACEOF 11678cat >>confdefs.h <<\_ACEOF
11918#define HAVE_UNIX_FDPASS 1 11679#define HAVE_UNIX_FDPASS 1
11919_ACEOF 11680_ACEOF
11920 11681
11682else
11683 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5
11684echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
11685 { (exit 1); exit 1; }; }
11921fi 11686fi
11687
11922 11688
11923echo "$as_me:$LINENO: checking for broken XIM callback" >&5 11689echo "$as_me:$LINENO: checking for broken XIM callback" >&5
11924echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 11690echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
11925if test "${rxvt_broken_ximcb+set}" = set; then 11691if test "${rxvt_broken_ximcb+set}" = set; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6 11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 grep -v '^ *+' conftest.er1 >conftest.err 11710 grep -v '^ *+' conftest.er1 >conftest.err
11945 rm -f conftest.er1 11711 rm -f conftest.er1
11946 cat conftest.err >&5 11712 cat conftest.err >&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); } && 11714 (exit $ac_status); } &&
11949 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11715 { ac_try='test -z "$ac_cxx_werror_flag"
11716 || test ! -s conftest.err'
11950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951 (eval $ac_try) 2>&5 11718 (eval $ac_try) 2>&5
11952 ac_status=$? 11719 ac_status=$?
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }; } && 11721 (exit $ac_status); }; } &&
11976#define XIMCB_PROTO_BROKEN 1 11743#define XIMCB_PROTO_BROKEN 1
11977_ACEOF 11744_ACEOF
11978 11745
11979fi 11746fi
11980 11747
11981if test x$rxvt_cv_func_posix_openpt = xno; then
11982 echo "$as_me:$LINENO: checking for openpty" >&5
11983echo $ECHO_N "checking for openpty... $ECHO_C" >&6
11984if test "${ac_cv_func_openpty+set}" = set; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6
11986else
11987 cat >conftest.$ac_ext <<_ACEOF
11988/* confdefs.h. */
11989_ACEOF
11990cat confdefs.h >>conftest.$ac_ext
11991cat >>conftest.$ac_ext <<_ACEOF
11992/* end confdefs.h. */
11993/* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
11994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11995#define openpty innocuous_openpty
11996 11748
11997/* System header to define __stub macros and hopefully few prototypes,
11998 which can conflict with char openpty (); below.
11999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12000 <limits.h> exists even on freestanding compilers. */
12001 11749
12002#ifdef __STDC__
12003# include <limits.h>
12004#else
12005# include <assert.h>
12006#endif
12007 11750
12008#undef openpty
12009 11751
12010/* Override any gcc2 internal prototype to avoid an error. */
12011#ifdef __cplusplus
12012extern "C"
12013{
12014#endif
12015/* We use char because int might match the return type of a gcc2
12016 builtin and then its argument prototype would still apply. */
12017char openpty ();
12018/* The GNU C library defines this for functions which it implements
12019 to always fail with ENOSYS. Some functions are actually named
12020 something starting with __ and the normal name is an alias. */
12021#if defined (__stub_openpty) || defined (__stub___openpty)
12022choke me
12023#else
12024char (*f) () = openpty;
12025#endif
12026#ifdef __cplusplus
12027}
12028#endif
12029 11752
12030int
12031main ()
12032{
12033return f != openpty;
12034 ;
12035 return 0;
12036}
12037_ACEOF
12038rm -f conftest.$ac_objext conftest$ac_exeext
12039if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12040 (eval $ac_link) 2>conftest.er1
12041 ac_status=$?
12042 grep -v '^ *+' conftest.er1 >conftest.err
12043 rm -f conftest.er1
12044 cat conftest.err >&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); } &&
12047 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12049 (eval $ac_try) 2>&5
12050 ac_status=$?
12051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12052 (exit $ac_status); }; } &&
12053 { ac_try='test -s conftest$ac_exeext'
12054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12055 (eval $ac_try) 2>&5
12056 ac_status=$?
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); }; }; then
12059 ac_cv_func_openpty=yes
12060else
12061 echo "$as_me: failed program was:" >&5
12062sed 's/^/| /' conftest.$ac_ext >&5
12063 11753
12064ac_cv_func_openpty=no 11754for ac_header in \
12065fi 11755 pty.h \
12066rm -f conftest.err conftest.$ac_objext \ 11756 util.h \
12067 conftest$ac_exeext conftest.$ac_ext 11757 libutil.h \
12068fi 11758 sys/ioctl.h \
12069echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 11759 sys/stropts.h \
12070echo "${ECHO_T}$ac_cv_func_openpty" >&6
12071if test $ac_cv_func_openpty = yes; then
12072 :
12073else
12074 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
12075echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
12076if test "${ac_cv_lib_util_openpty+set}" = set; then
12077 echo $ECHO_N "(cached) $ECHO_C" >&6
12078else
12079 ac_check_lib_save_LIBS=$LIBS
12080LIBS="-lutil $LIBS"
12081cat >conftest.$ac_ext <<_ACEOF
12082/* confdefs.h. */
12083_ACEOF
12084cat confdefs.h >>conftest.$ac_ext
12085cat >>conftest.$ac_ext <<_ACEOF
12086/* end confdefs.h. */
12087 11760
12088/* Override any gcc2 internal prototype to avoid an error. */
12089#ifdef __cplusplus
12090extern "C"
12091#endif
12092/* We use char because int might match the return type of a gcc2
12093 builtin and then its argument prototype would still apply. */
12094char openpty ();
12095int
12096main ()
12097{
12098openpty ();
12099 ;
12100 return 0;
12101}
12102_ACEOF
12103rm -f conftest.$ac_objext conftest$ac_exeext
12104if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12105 (eval $ac_link) 2>conftest.er1
12106 ac_status=$?
12107 grep -v '^ *+' conftest.er1 >conftest.err
12108 rm -f conftest.er1
12109 cat conftest.err >&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } &&
12112 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12115 ac_status=$?
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; } &&
12118 { ac_try='test -s conftest$ac_exeext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12121 ac_status=$?
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12124 ac_cv_lib_util_openpty=yes
12125else
12126 echo "$as_me: failed program was:" >&5
12127sed 's/^/| /' conftest.$ac_ext >&5
12128
12129ac_cv_lib_util_openpty=no
12130fi
12131rm -f conftest.err conftest.$ac_objext \
12132 conftest$ac_exeext conftest.$ac_ext
12133LIBS=$ac_check_lib_save_LIBS
12134fi
12135echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
12136echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
12137if test $ac_cv_lib_util_openpty = yes; then
12138 LIBS="$LIBS -lutil"
12139fi
12140
12141fi
12142
12143fi
12144
12145echo "$as_me:$LINENO: checking for pty/tty type" >&5
12146echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6
12147if test "${rxvt_cv_ptys+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12149else
12150 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
12151 rxvt_cv_ptys=OPENPTY
12152 else if test x$ac_cv_func_posix_openpt = xyes; then
12153 rxvt_cv_ptys=POSIX
12154 else if test x$ac_cv_func__getpty = xyes; then
12155 rxvt_cv_ptys=SGI4
12156 else if test -c /dev/ttyp20; then
12157 rxvt_cv_ptys=SCO
12158 else if test -c /dev/ptym/clone; then
12159 rxvt_cv_ptys=HPUX
12160 else if test -c /dev/ptc -a -c /dev/pts; then
12161 rxvt_cv_ptys=PTC
12162 else if test -c /dev/ptc -a -d /dev/pts; then
12163 rxvt_cv_ptys=PTC
12164 else if test -c /dev/ptmx -a -c /dev/pts/0; then
12165 rxvt_cv_ptys=STREAMS
12166 else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then
12167 rxvt_cv_ptys=STREAMS
12168 else
12169 rxvt_cv_ptys=BSD
12170fi
12171fi
12172fi
12173fi
12174fi
12175fi
12176fi
12177fi
12178fi
12179
12180fi
12181echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
12182echo "${ECHO_T}$rxvt_cv_ptys" >&6
12183
12184if test x$rxvt_cv_ptys = xPOSIX; then
12185
12186cat >>confdefs.h <<\_ACEOF
12187#define PTYS_ARE_POSIX 1
12188_ACEOF
12189
12190fi
12191if test x$rxvt_cv_ptys = xOPENPTY; then
12192
12193cat >>confdefs.h <<\_ACEOF
12194#define PTYS_ARE_OPENPTY 1
12195_ACEOF
12196
12197fi
12198if test x$rxvt_cv_ptys = xSCO; then
12199
12200cat >>confdefs.h <<\_ACEOF
12201#define PTYS_ARE_NUMERIC 1
12202_ACEOF
12203
12204fi
12205if test x$rxvt_cv_ptys = xSTREAMS; then
12206
12207cat >>confdefs.h <<\_ACEOF
12208#define PTYS_ARE_PTMX 1
12209_ACEOF
12210
12211fi
12212if test x$rxvt_cv_ptys = xPTC; then
12213
12214cat >>confdefs.h <<\_ACEOF
12215#define PTYS_ARE_PTC 1
12216_ACEOF
12217
12218fi
12219if test x$rxvt_cv_ptys = xSGI4; then
12220
12221cat >>confdefs.h <<\_ACEOF
12222#define PTYS_ARE__GETPTY 1
12223_ACEOF
12224
12225fi
12226if test x$rxvt_cv_ptys = xHPUX; then
12227
12228cat >>confdefs.h <<\_ACEOF
12229#define PTYS_ARE_CLONE 1
12230_ACEOF
12231
12232fi
12233if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then
12234
12235cat >>confdefs.h <<\_ACEOF
12236#define PTYS_ARE_SEARCHED 1
12237_ACEOF
12238
12239fi
12240
12241
12242{ echo "$as_me:$LINENO: checking for pty ranges..." >&5
12243echo "$as_me: checking for pty ranges..." >&6;}
12244ptys=`echo /dev/pty??`
12245pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'`
12246pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'`
12247if test x$pch1 != x; then
12248
12249cat >>confdefs.h <<_ACEOF
12250#define PTYCHAR1 "$pch1"
12251_ACEOF
12252
12253fi
12254if test x$pch2 != x; then
12255
12256cat >>confdefs.h <<_ACEOF
12257#define PTYCHAR2 "$pch2"
12258_ACEOF
12259
12260fi
12261
12262if test x$support_xft = xyes; then
12263 LIBS="$LIBS `pkg-config xft --libs`"
12264 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
12265
12266
12267for ac_header in X11/Xft/Xft.h
12268do 11761do
12269as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11762as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12270if eval "test \"\${$as_ac_Header+set}\" = set"; then 11763if eval "test \"\${$as_ac_Header+set}\" = set"; then
12271 echo "$as_me:$LINENO: checking for $ac_header" >&5 11764 echo "$as_me:$LINENO: checking for $ac_header" >&5
12272echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11765echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12295 grep -v '^ *+' conftest.er1 >conftest.err 11788 grep -v '^ *+' conftest.er1 >conftest.err
12296 rm -f conftest.er1 11789 rm -f conftest.er1
12297 cat conftest.err >&5 11790 cat conftest.err >&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); } && 11792 (exit $ac_status); } &&
12300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11793 { ac_try='test -z "$ac_cxx_werror_flag"
11794 || test ! -s conftest.err'
12301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12302 (eval $ac_try) 2>&5 11796 (eval $ac_try) 2>&5
12303 ac_status=$? 11797 ac_status=$?
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); }; } && 11799 (exit $ac_status); }; } &&
12406if test `eval echo '${'$as_ac_Header'}'` = yes; then 11900if test `eval echo '${'$as_ac_Header'}'` = yes; then
12407 cat >>confdefs.h <<_ACEOF 11901 cat >>confdefs.h <<_ACEOF
12408#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11902#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12409_ACEOF 11903_ACEOF
12410 11904
11905fi
11906
11907done
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919for ac_func in \
11920 revoke \
11921 _getpty \
11922 getpt \
11923 posix_openpt \
11924 isastream \
11925 setuid \
11926 seteuid \
11927 setreuid \
11928 setresuid \
11929
11930do
11931as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11932echo "$as_me:$LINENO: checking for $ac_func" >&5
11933echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11934if eval "test \"\${$as_ac_var+set}\" = set"; then
11935 echo $ECHO_N "(cached) $ECHO_C" >&6
11936else
11937 cat >conftest.$ac_ext <<_ACEOF
11938/* confdefs.h. */
11939_ACEOF
11940cat confdefs.h >>conftest.$ac_ext
11941cat >>conftest.$ac_ext <<_ACEOF
11942/* end confdefs.h. */
11943/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11945#define $ac_func innocuous_$ac_func
11946
11947/* System header to define __stub macros and hopefully few prototypes,
11948 which can conflict with char $ac_func (); below.
11949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11950 <limits.h> exists even on freestanding compilers. */
11951
11952#ifdef __STDC__
11953# include <limits.h>
11954#else
11955# include <assert.h>
11956#endif
11957
11958#undef $ac_func
11959
11960/* Override any gcc2 internal prototype to avoid an error. */
11961#ifdef __cplusplus
11962extern "C"
11963{
11964#endif
11965/* We use char because int might match the return type of a gcc2
11966 builtin and then its argument prototype would still apply. */
11967char $ac_func ();
11968/* The GNU C library defines this for functions which it implements
11969 to always fail with ENOSYS. Some functions are actually named
11970 something starting with __ and the normal name is an alias. */
11971#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11972choke me
11973#else
11974char (*f) () = $ac_func;
11975#endif
11976#ifdef __cplusplus
11977}
11978#endif
11979
11980int
11981main ()
11982{
11983return f != $ac_func;
11984 ;
11985 return 0;
11986}
11987_ACEOF
11988rm -f conftest.$ac_objext conftest$ac_exeext
11989if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11990 (eval $ac_link) 2>conftest.er1
11991 ac_status=$?
11992 grep -v '^ *+' conftest.er1 >conftest.err
11993 rm -f conftest.er1
11994 cat conftest.err >&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); } &&
11997 { ac_try='test -z "$ac_cxx_werror_flag"
11998 || test ! -s conftest.err'
11999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12000 (eval $ac_try) 2>&5
12001 ac_status=$?
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); }; } &&
12004 { ac_try='test -s conftest$ac_exeext'
12005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 (eval $ac_try) 2>&5
12007 ac_status=$?
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; }; then
12010 eval "$as_ac_var=yes"
12011else
12012 echo "$as_me: failed program was:" >&5
12013sed 's/^/| /' conftest.$ac_ext >&5
12014
12015eval "$as_ac_var=no"
12016fi
12017rm -f conftest.err conftest.$ac_objext \
12018 conftest$ac_exeext conftest.$ac_ext
12019fi
12020echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12021echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12022if test `eval echo '${'$as_ac_var'}'` = yes; then
12023 cat >>confdefs.h <<_ACEOF
12024#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12025_ACEOF
12026
12027fi
12028done
12029
12030
12031have_clone=no
12032
12033echo "$as_me:$LINENO: checking for /dev/ptym/clone" >&5
12034echo $ECHO_N "checking for /dev/ptym/clone... $ECHO_C" >&6
12035if test -e /dev/ptym/clone; then
12036 echo "$as_me:$LINENO: result: yes" >&5
12037echo "${ECHO_T}yes" >&6
12038
12039cat >>confdefs.h <<\_ACEOF
12040#define HAVE_DEV_CLONE 1
12041_ACEOF
12042
12043
12044cat >>confdefs.h <<\_ACEOF
12045#define CLONE_DEVICE "/dev/ptym/clone"
12046_ACEOF
12047
12048 have_clone=yes
12049else
12050 echo "$as_me:$LINENO: result: no" >&5
12051echo "${ECHO_T}no" >&6
12052fi
12053
12054echo "$as_me:$LINENO: checking for /dev/ptc" >&5
12055echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6
12056if test -e /dev/ptc; then
12057 echo "$as_me:$LINENO: result: yes" >&5
12058echo "${ECHO_T}yes" >&6
12059
12060cat >>confdefs.h <<\_ACEOF
12061#define HAVE_DEV_PTC 1
12062_ACEOF
12063
12064
12065cat >>confdefs.h <<\_ACEOF
12066#define CLONE_DEVICE "/dev/ptc"
12067_ACEOF
12068
12069 have_clone=yes
12070else
12071 echo "$as_me:$LINENO: result: no" >&5
12072echo "${ECHO_T}no" >&6
12073fi
12074
12075case $host in
12076 *-*-cygwin*)
12077 have_clone=yes
12078
12079cat >>confdefs.h <<\_ACEOF
12080#define CLONE_DEVICE "/dev/ptmx"
12081_ACEOF
12082
12083 ;;
12084 *)
12085 echo "$as_me:$LINENO: checking for /dev/ptmx" >&5
12086echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6
12087 if test -e /dev/ptmx; then
12088 echo "$as_me:$LINENO: result: yes" >&5
12089echo "${ECHO_T}yes" >&6
12090
12091cat >>confdefs.h <<\_ACEOF
12092#define HAVE_DEV_PTMX 1
12093_ACEOF
12094
12095
12096cat >>confdefs.h <<\_ACEOF
12097#define CLONE_DEVICE "/dev/ptmx"
12098_ACEOF
12099
12100 have_clone=yes
12101 else
12102 echo "$as_me:$LINENO: result: no" >&5
12103echo "${ECHO_T}no" >&6
12104 fi
12105 ;;
12106esac
12107
12108if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then
12109 echo "$as_me:$LINENO: checking for UNIX98 ptys" >&5
12110echo $ECHO_N "checking for UNIX98 ptys... $ECHO_C" >&6
12111 cat >conftest.$ac_ext <<_ACEOF
12112/* confdefs.h. */
12113_ACEOF
12114cat confdefs.h >>conftest.$ac_ext
12115cat >>conftest.$ac_ext <<_ACEOF
12116/* end confdefs.h. */
12117#include <stdlib.h>
12118int
12119main ()
12120{
12121grantpt(0);unlockpt(0);ptsname(0);
12122 ;
12123 return 0;
12124}
12125_ACEOF
12126rm -f conftest.$ac_objext conftest$ac_exeext
12127if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12128 (eval $ac_link) 2>conftest.er1
12129 ac_status=$?
12130 grep -v '^ *+' conftest.er1 >conftest.err
12131 rm -f conftest.er1
12132 cat conftest.err >&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } &&
12135 { ac_try='test -z "$ac_cxx_werror_flag"
12136 || test ! -s conftest.err'
12137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12138 (eval $ac_try) 2>&5
12139 ac_status=$?
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); }; } &&
12142 { ac_try='test -s conftest$ac_exeext'
12143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12144 (eval $ac_try) 2>&5
12145 ac_status=$?
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); }; }; then
12148 unix98_pty=yes
12149
12150cat >>confdefs.h <<\_ACEOF
12151#define UNIX98_PTY 1
12152_ACEOF
12153
12154 echo "$as_me:$LINENO: result: yes" >&5
12155echo "${ECHO_T}yes" >&6
12156else
12157 echo "$as_me: failed program was:" >&5
12158sed 's/^/| /' conftest.$ac_ext >&5
12159
12160echo "$as_me:$LINENO: result: no" >&5
12161echo "${ECHO_T}no" >&6
12162fi
12163rm -f conftest.err conftest.$ac_objext \
12164 conftest$ac_exeext conftest.$ac_ext
12165fi
12166
12167if test -z "$unix98_pty"; then
12168
12169for ac_func in openpty
12170do
12171as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12172echo "$as_me:$LINENO: checking for $ac_func" >&5
12173echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12174if eval "test \"\${$as_ac_var+set}\" = set"; then
12175 echo $ECHO_N "(cached) $ECHO_C" >&6
12176else
12177 cat >conftest.$ac_ext <<_ACEOF
12178/* confdefs.h. */
12179_ACEOF
12180cat confdefs.h >>conftest.$ac_ext
12181cat >>conftest.$ac_ext <<_ACEOF
12182/* end confdefs.h. */
12183/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12185#define $ac_func innocuous_$ac_func
12186
12187/* System header to define __stub macros and hopefully few prototypes,
12188 which can conflict with char $ac_func (); below.
12189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12190 <limits.h> exists even on freestanding compilers. */
12191
12192#ifdef __STDC__
12193# include <limits.h>
12194#else
12195# include <assert.h>
12196#endif
12197
12198#undef $ac_func
12199
12200/* Override any gcc2 internal prototype to avoid an error. */
12201#ifdef __cplusplus
12202extern "C"
12203{
12204#endif
12205/* We use char because int might match the return type of a gcc2
12206 builtin and then its argument prototype would still apply. */
12207char $ac_func ();
12208/* The GNU C library defines this for functions which it implements
12209 to always fail with ENOSYS. Some functions are actually named
12210 something starting with __ and the normal name is an alias. */
12211#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12212choke me
12213#else
12214char (*f) () = $ac_func;
12215#endif
12216#ifdef __cplusplus
12217}
12218#endif
12219
12220int
12221main ()
12222{
12223return f != $ac_func;
12224 ;
12225 return 0;
12226}
12227_ACEOF
12228rm -f conftest.$ac_objext conftest$ac_exeext
12229if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12230 (eval $ac_link) 2>conftest.er1
12231 ac_status=$?
12232 grep -v '^ *+' conftest.er1 >conftest.err
12233 rm -f conftest.er1
12234 cat conftest.err >&5
12235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236 (exit $ac_status); } &&
12237 { ac_try='test -z "$ac_cxx_werror_flag"
12238 || test ! -s conftest.err'
12239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12240 (eval $ac_try) 2>&5
12241 ac_status=$?
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); }; } &&
12244 { ac_try='test -s conftest$ac_exeext'
12245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12246 (eval $ac_try) 2>&5
12247 ac_status=$?
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); }; }; then
12250 eval "$as_ac_var=yes"
12251else
12252 echo "$as_me: failed program was:" >&5
12253sed 's/^/| /' conftest.$ac_ext >&5
12254
12255eval "$as_ac_var=no"
12256fi
12257rm -f conftest.err conftest.$ac_objext \
12258 conftest$ac_exeext conftest.$ac_ext
12259fi
12260echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12261echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12262if test `eval echo '${'$as_ac_var'}'` = yes; then
12263 cat >>confdefs.h <<_ACEOF
12264#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12265_ACEOF
12266
12267else
12268 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
12269echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
12270if test "${ac_cv_lib_util_openpty+set}" = set; then
12271 echo $ECHO_N "(cached) $ECHO_C" >&6
12272else
12273 ac_check_lib_save_LIBS=$LIBS
12274LIBS="-lutil $LIBS"
12275cat >conftest.$ac_ext <<_ACEOF
12276/* confdefs.h. */
12277_ACEOF
12278cat confdefs.h >>conftest.$ac_ext
12279cat >>conftest.$ac_ext <<_ACEOF
12280/* end confdefs.h. */
12281
12282/* Override any gcc2 internal prototype to avoid an error. */
12283#ifdef __cplusplus
12284extern "C"
12285#endif
12286/* We use char because int might match the return type of a gcc2
12287 builtin and then its argument prototype would still apply. */
12288char openpty ();
12289int
12290main ()
12291{
12292openpty ();
12293 ;
12294 return 0;
12295}
12296_ACEOF
12297rm -f conftest.$ac_objext conftest$ac_exeext
12298if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12299 (eval $ac_link) 2>conftest.er1
12300 ac_status=$?
12301 grep -v '^ *+' conftest.er1 >conftest.err
12302 rm -f conftest.er1
12303 cat conftest.err >&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); } &&
12306 { ac_try='test -z "$ac_cxx_werror_flag"
12307 || test ! -s conftest.err'
12308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12309 (eval $ac_try) 2>&5
12310 ac_status=$?
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); }; } &&
12313 { ac_try='test -s conftest$ac_exeext'
12314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315 (eval $ac_try) 2>&5
12316 ac_status=$?
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); }; }; then
12319 ac_cv_lib_util_openpty=yes
12320else
12321 echo "$as_me: failed program was:" >&5
12322sed 's/^/| /' conftest.$ac_ext >&5
12323
12324ac_cv_lib_util_openpty=no
12325fi
12326rm -f conftest.err conftest.$ac_objext \
12327 conftest$ac_exeext conftest.$ac_ext
12328LIBS=$ac_check_lib_save_LIBS
12329fi
12330echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
12331echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
12332if test $ac_cv_lib_util_openpty = yes; then
12333 cat >>confdefs.h <<\_ACEOF
12334#define HAVE_OPENPTY 1
12335_ACEOF
12336 LIBS="$LIBS -lutil"
12337fi
12338
12339fi
12340done
12341
12342fi
12343
12344
12345
12346echo "$as_me:$LINENO: checking for tty group" >&5
12347echo $ECHO_N "checking for tty group... $ECHO_C" >&6
12348if test "${tty_group+set}" = set; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12350else
12351 if test "$cross_compiling" = yes; then
12352 tty_group=no
12353else
12354 cat >conftest.$ac_ext <<_ACEOF
12355/* confdefs.h. */
12356_ACEOF
12357cat confdefs.h >>conftest.$ac_ext
12358cat >>conftest.$ac_ext <<_ACEOF
12359/* end confdefs.h. */
12360
12361#include <sys/types.h>
12362#include <sys/stat.h>
12363#include <unistd.h>
12364#include <grp.h>
12365
12366main()
12367{
12368 struct stat st;
12369 struct group *gr;
12370 char *tty;
12371 gr = getgrnam("tty");
12372 tty = ttyname(0);
12373 if (gr != 0
12374 && tty != 0
12375 && (stat(tty, &st)) == 0
12376 && st.st_gid == gr->gr_gid)
12377 return 0;
12378 else
12379 return 1;
12380}
12381_ACEOF
12382rm -f conftest$ac_exeext
12383if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12384 (eval $ac_link) 2>&5
12385 ac_status=$?
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5
12390 ac_status=$?
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; }; then
12393 tty_group=yes
12394else
12395 echo "$as_me: program exited with status $ac_status" >&5
12396echo "$as_me: failed program was:" >&5
12397sed 's/^/| /' conftest.$ac_ext >&5
12398
12399( exit $ac_status )
12400tty_group=no
12401fi
12402rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12403fi
12404fi
12405echo "$as_me:$LINENO: result: $tty_group" >&5
12406echo "${ECHO_T}$tty_group" >&6
12407if test x$tty_group = xyes; then
12408
12409cat >>confdefs.h <<\_ACEOF
12410#define TTY_GID_SUPPORT 1
12411_ACEOF
12412
12413fi
12414
12415if test x$support_xft = xyes; then
12416 # Extract the first word of "pkg-config", so it can be a program name with args.
12417set dummy pkg-config; ac_word=$2
12418echo "$as_me:$LINENO: checking for $ac_word" >&5
12419echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12420if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12421 echo $ECHO_N "(cached) $ECHO_C" >&6
12422else
12423 case $PKG_CONFIG in
12424 [\\/]* | ?:[\\/]*)
12425 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12426 ;;
12427 *)
12428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12429for as_dir in $PATH
12430do
12431 IFS=$as_save_IFS
12432 test -z "$as_dir" && as_dir=.
12433 for ac_exec_ext in '' $ac_executable_extensions; do
12434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12435 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12437 break 2
12438 fi
12439done
12440done
12441
12442 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12443 ;;
12444esac
12445fi
12446PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12447
12448if test -n "$PKG_CONFIG"; then
12449 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12450echo "${ECHO_T}$PKG_CONFIG" >&6
12451else
12452 echo "$as_me:$LINENO: result: no" >&5
12453echo "${ECHO_T}no" >&6
12454fi
12455
12456 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12457 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12458 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12459 else
12460 # Extract the first word of "xft-config", so it can be a program name with args.
12461set dummy xft-config; ac_word=$2
12462echo "$as_me:$LINENO: checking for $ac_word" >&5
12463echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12464if test "${ac_cv_path_XFT_CONFIG+set}" = set; then
12465 echo $ECHO_N "(cached) $ECHO_C" >&6
12466else
12467 case $XFT_CONFIG in
12468 [\\/]* | ?:[\\/]*)
12469 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path.
12470 ;;
12471 *)
12472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12473for as_dir in $PATH
12474do
12475 IFS=$as_save_IFS
12476 test -z "$as_dir" && as_dir=.
12477 for ac_exec_ext in '' $ac_executable_extensions; do
12478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12479 ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12481 break 2
12482 fi
12483done
12484done
12485
12486 test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no"
12487 ;;
12488esac
12489fi
12490XFT_CONFIG=$ac_cv_path_XFT_CONFIG
12491
12492if test -n "$XFT_CONFIG"; then
12493 echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5
12494echo "${ECHO_T}$XFT_CONFIG" >&6
12495else
12496 echo "$as_me:$LINENO: result: no" >&5
12497echo "${ECHO_T}no" >&6
12498fi
12499
12500 if test $XFT_CONFIG != no; then
12501 LIBS="$LIBS `$XFT_CONFIG --libs`"
12502 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12503 fi
12504 fi
12505
12506
12507for ac_header in X11/Xft/Xft.h
12508do
12509as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12510if eval "test \"\${$as_ac_Header+set}\" = set"; then
12511 echo "$as_me:$LINENO: checking for $ac_header" >&5
12512echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12513if eval "test \"\${$as_ac_Header+set}\" = set"; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12515fi
12516echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12517echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12518else
12519 # Is the header compilable?
12520echo "$as_me:$LINENO: checking $ac_header usability" >&5
12521echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12522cat >conftest.$ac_ext <<_ACEOF
12523/* confdefs.h. */
12524_ACEOF
12525cat confdefs.h >>conftest.$ac_ext
12526cat >>conftest.$ac_ext <<_ACEOF
12527/* end confdefs.h. */
12528$ac_includes_default
12529#include <$ac_header>
12530_ACEOF
12531rm -f conftest.$ac_objext
12532if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12533 (eval $ac_compile) 2>conftest.er1
12534 ac_status=$?
12535 grep -v '^ *+' conftest.er1 >conftest.err
12536 rm -f conftest.er1
12537 cat conftest.err >&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); } &&
12540 { ac_try='test -z "$ac_cxx_werror_flag"
12541 || test ! -s conftest.err'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12544 ac_status=$?
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; } &&
12547 { ac_try='test -s conftest.$ac_objext'
12548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12549 (eval $ac_try) 2>&5
12550 ac_status=$?
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); }; }; then
12553 ac_header_compiler=yes
12554else
12555 echo "$as_me: failed program was:" >&5
12556sed 's/^/| /' conftest.$ac_ext >&5
12557
12558ac_header_compiler=no
12559fi
12560rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12561echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12562echo "${ECHO_T}$ac_header_compiler" >&6
12563
12564# Is the header present?
12565echo "$as_me:$LINENO: checking $ac_header presence" >&5
12566echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12567cat >conftest.$ac_ext <<_ACEOF
12568/* confdefs.h. */
12569_ACEOF
12570cat confdefs.h >>conftest.$ac_ext
12571cat >>conftest.$ac_ext <<_ACEOF
12572/* end confdefs.h. */
12573#include <$ac_header>
12574_ACEOF
12575if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12577 ac_status=$?
12578 grep -v '^ *+' conftest.er1 >conftest.err
12579 rm -f conftest.er1
12580 cat conftest.err >&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); } >/dev/null; then
12583 if test -s conftest.err; then
12584 ac_cpp_err=$ac_cxx_preproc_warn_flag
12585 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12586 else
12587 ac_cpp_err=
12588 fi
12589else
12590 ac_cpp_err=yes
12591fi
12592if test -z "$ac_cpp_err"; then
12593 ac_header_preproc=yes
12594else
12595 echo "$as_me: failed program was:" >&5
12596sed 's/^/| /' conftest.$ac_ext >&5
12597
12598 ac_header_preproc=no
12599fi
12600rm -f conftest.err conftest.$ac_ext
12601echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12602echo "${ECHO_T}$ac_header_preproc" >&6
12603
12604# So? What about this header?
12605case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12606 yes:no: )
12607 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12608echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12610echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12611 ac_header_preproc=yes
12612 ;;
12613 no:yes:* )
12614 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12615echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12616 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12617echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12618 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12619echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12620 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12621echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12623echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12624 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12625echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12626 (
12627 cat <<\_ASBOX
12628## ------------------------------------------ ##
12629## Report this to the AC_PACKAGE_NAME lists. ##
12630## ------------------------------------------ ##
12631_ASBOX
12632 ) |
12633 sed "s/^/$as_me: WARNING: /" >&2
12634 ;;
12635esac
12636echo "$as_me:$LINENO: checking for $ac_header" >&5
12637echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12638if eval "test \"\${$as_ac_Header+set}\" = set"; then
12639 echo $ECHO_N "(cached) $ECHO_C" >&6
12640else
12641 eval "$as_ac_Header=\$ac_header_preproc"
12642fi
12643echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12644echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12645
12646fi
12647if test `eval echo '${'$as_ac_Header'}'` = yes; then
12648 cat >>confdefs.h <<_ACEOF
12649#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12650_ACEOF
12651
12411else 12652else
12412 support_xft=no 12653 support_xft=no
12413fi 12654fi
12414 12655
12415done 12656done
12451 grep -v '^ *+' conftest.er1 >conftest.err 12692 grep -v '^ *+' conftest.er1 >conftest.err
12452 rm -f conftest.er1 12693 rm -f conftest.er1
12453 cat conftest.err >&5 12694 cat conftest.err >&5
12454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455 (exit $ac_status); } && 12696 (exit $ac_status); } &&
12456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12697 { ac_try='test -z "$ac_cxx_werror_flag"
12698 || test ! -s conftest.err'
12457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12458 (eval $ac_try) 2>&5 12700 (eval $ac_try) 2>&5
12459 ac_status=$? 12701 ac_status=$?
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); }; } && 12703 (exit $ac_status); }; } &&
12534 12776
12535fi 12777fi
12536if test x$support_inheritpixmap = xyes; then 12778if test x$support_inheritpixmap = xyes; then
12537 12779
12538cat >>confdefs.h <<\_ACEOF 12780cat >>confdefs.h <<\_ACEOF
12539#define TRANSPARENT 1 12781#define ENABLE_TRANSPARENCY 1
12540_ACEOF 12782_ACEOF
12541 12783
12542fi 12784fi
12543if test x$support_keepscrolling = xno; then 12785if test x$support_keepscrolling = xno; then
12544 12786
12552cat >>confdefs.h <<\_ACEOF 12794cat >>confdefs.h <<\_ACEOF
12553#define SELECTION_SCROLLING 1 12795#define SELECTION_SCROLLING 1
12554_ACEOF 12796_ACEOF
12555 12797
12556fi 12798fi
12557if test x$support_menubar = xyes; then
12558
12559cat >>confdefs.h <<\_ACEOF
12560#define MENUBAR 1
12561_ACEOF
12562
12563fi
12564if test x$support_frills = xyes; then
12565
12566cat >>confdefs.h <<\_ACEOF
12567#define ENABLE_FRILLS 1
12568_ACEOF
12569
12570fi
12571if test x$support_24bit = xyes; then
12572
12573cat >>confdefs.h <<\_ACEOF
12574#define PREFER_24BIT 1
12575_ACEOF
12576
12577fi
12578if test x$support_mousewheel = xyes; then 12799if test x$support_mousewheel = xyes; then
12579 12800
12580cat >>confdefs.h <<\_ACEOF 12801cat >>confdefs.h <<\_ACEOF
12581#define MOUSE_WHEEL 1 12802#define MOUSE_WHEEL 1
12582_ACEOF 12803_ACEOF
12587cat >>confdefs.h <<\_ACEOF 12808cat >>confdefs.h <<\_ACEOF
12588#define MOUSE_SLIP_WHEELING 1 12809#define MOUSE_SLIP_WHEELING 1
12589_ACEOF 12810_ACEOF
12590 12811
12591fi 12812fi
12592if test x$support_utmp = xyes; then
12593
12594cat >>confdefs.h <<\_ACEOF
12595#define UTMP_SUPPORT 1
12596_ACEOF
12597
12598fi
12599if test x$support_wtmp = xyes; then
12600
12601cat >>confdefs.h <<\_ACEOF
12602#define WTMP_SUPPORT 1
12603_ACEOF
12604
12605fi
12606if test x$support_lastlog = xyes; then
12607
12608cat >>confdefs.h <<\_ACEOF
12609#define LASTLOG_SUPPORT 1
12610_ACEOF
12611
12612fi
12613if test x$support_xim = xyes -o x$multichar_set = xyes; then 12813if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then
12614 if test x$rxvt_cv_func_xlocale = xyes; then
12615
12616cat >>confdefs.h <<\_ACEOF
12617#define USE_XIM 1
12618_ACEOF
12619
12620 fi
12621fi
12622if test x$support_xpm = xyes; then
12623 12814
12624cat >>confdefs.h <<\_ACEOF 12815cat >>confdefs.h <<\_ACEOF
12625#define XPM_BACKGROUND 1 12816#define XPM_BACKGROUND 1
12626_ACEOF 12817_ACEOF
12627 12818
12628fi 12819fi
12820
12821if test x$support_afterimage = xyes; then
12822
12823cat >>confdefs.h <<\_ACEOF
12824#define HAVE_AFTERIMAGE 1
12825_ACEOF
12826
12827fi
12828
12829if test x$support_afterstep = xyes; then
12830
12831cat >>confdefs.h <<\_ACEOF
12832#define AFTERSTEP_INTEGRATION 1
12833_ACEOF
12834
12835fi
12836
12629if test x$support_scroll_rxvt = xyes; then 12837if test x$support_scroll_rxvt = xyes; then
12630 12838
12631cat >>confdefs.h <<\_ACEOF 12839cat >>confdefs.h <<\_ACEOF
12632#define RXVT_SCROLLBAR 1 12840#define RXVT_SCROLLBAR 1
12633_ACEOF 12841_ACEOF
12846 grep -v '^ *+' conftest.er1 >conftest.err 13054 grep -v '^ *+' conftest.er1 >conftest.err
12847 rm -f conftest.er1 13055 rm -f conftest.er1
12848 cat conftest.err >&5 13056 cat conftest.err >&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); } && 13058 (exit $ac_status); } &&
12851 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 13059 { ac_try='test -z "$ac_cxx_werror_flag"
13060 || test ! -s conftest.err'
12852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12853 (eval $ac_try) 2>&5 13062 (eval $ac_try) 2>&5
12854 ac_status=$? 13063 ac_status=$?
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); }; } && 13065 (exit $ac_status); }; } &&
12884 PERL_O=rxvtperl.o 13093 PERL_O=rxvtperl.o
12885 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" 13094 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`"
12886 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" 13095 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`"
12887 PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" 13096 PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`"
12888 else 13097 else
12889 support_perl=no
12890 echo "$as_me:$LINENO: result: no, unable to link" >&5 13098 { { echo "$as_me:$LINENO: error: no, unable to link" >&5
12891echo "${ECHO_T}no, unable to link" >&6 13099echo "$as_me: error: no, unable to link" >&2;}
13100 { (exit 1); exit 1; }; }
12892 fi 13101 fi
12893 else 13102 else
12894 { { echo "$as_me:$LINENO: error: no working perl found" >&5 13103 { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5
12895echo "$as_me: error: no working perl found" >&2;} 13104echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;}
12896 { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } 13105 { (exit 1); exit 1; }; }
12897 support_perl=no
12898 fi 13106 fi
12899fi 13107fi
12900 13108
12901 13109
12902 13110
12906 13114
12907if test x$support_perl = xyes; then 13115if test x$support_perl = xyes; then
12908 support_frills=yes 13116 support_frills=yes
12909fi 13117fi
12910 13118
13119if test x$support_frills = xyes; then
12911 13120
12912CFLAGS=${CFLAGS--O} 13121cat >>confdefs.h <<\_ACEOF
12913LDFLAGS=${LDFLAGS--O} 13122#define ENABLE_FRILLS 1
13123_ACEOF
12914 13124
12915CPPFLAGS="$CPPFLAGS"
12916
12917
12918
12919
12920
12921
12922
12923if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
12924 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
12925 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
12926 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
12927 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
12928 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
12929fi 13125fi
12930 13126
12931 13127
12932 13128
12933 13129
12934 13130
12935MCOMMON=./autoconf/Make.common 13131
13132
13133
13134
13135
13136
12936 13137
12937 13138
12938test "$program_prefix" != NONE && 13139test "$program_prefix" != NONE &&
12939 program_transform_name="s,^,$program_prefix,;$program_transform_name" 13140 program_transform_name="s,^,$program_prefix,;$program_transform_name"
12940# Use a double $ so make ignores it. 13141# Use a double $ so make ignores it.
13016 include_time_h="#include <time.h>" 13217 include_time_h="#include <time.h>"
13017else 13218else
13018 include_time_h="/* #include <time.h> */" 13219 include_time_h="/* #include <time.h> */"
13019fi 13220fi
13020 13221
13021 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" 13222 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h"
13022 13223
13023cat >confcache <<\_ACEOF 13224cat >confcache <<\_ACEOF
13024# This file is a shell script that caches the results of configure 13225# This file is a shell script that caches the results of configure
13025# tests run on this system so they can be shared between configure 13226# tests run on this system so they can be shared between configure
13026# scripts and configure runs, see configure's option --config-cache. 13227# scripts and configure runs, see configure's option --config-cache.
13543cat >>$CONFIG_STATUS <<\_ACEOF 13744cat >>$CONFIG_STATUS <<\_ACEOF
13544for ac_config_target in $ac_config_targets 13745for ac_config_target in $ac_config_targets
13545do 13746do
13546 case "$ac_config_target" in 13747 case "$ac_config_target" in
13547 # Handling of arguments. 13748 # Handling of arguments.
13548 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
13549 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13749 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13550 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 13750 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13551 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13751 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13552 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; 13752 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
13553 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; 13753 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
13554 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13754 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13555echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13755echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13556 { (exit 1); exit 1; }; };; 13756 { (exit 1); exit 1; }; };;
13557 esac 13757 esac
13558done 13758done
13659s,@ac_ct_CXX@,$ac_ct_CXX,;t t 13859s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13660s,@CPP@,$CPP,;t t 13860s,@CPP@,$CPP,;t t
13661s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 13861s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13662s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 13862s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13663s,@INSTALL_DATA@,$INSTALL_DATA,;t t 13863s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13664s,@AWK@,$AWK,;t t 13864s,@EGREP@,$EGREP,;t t
13665s,@LINKER@,$LINKER,;t t 13865s,@LINKER@,$LINKER,;t t
13666s,@CXXCPP@,$CXXCPP,;t t
13667s,@EGREP@,$EGREP,;t t
13668s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 13866s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
13669s,@RXVTNAME@,$RXVTNAME,;t t 13867s,@RXVTNAME@,$RXVTNAME,;t t
13670s,@MV@,$MV,;t t
13671s,@RM@,$RM,;t t
13672s,@CP@,$CP,;t t
13673s,@LN@,$LN,;t t
13674s,@SED@,$SED,;t t
13675s,@ECHO@,$ECHO,;t t
13676s,@CMP@,$CMP,;t t
13677s,@TBL@,$TBL,;t t
13678s,@TIC@,$TIC,;t t 13868s,@TIC@,$TIC,;t t
13869s,@CXXCPP@,$CXXCPP,;t t
13679s,@X_CFLAGS@,$X_CFLAGS,;t t 13870s,@X_CFLAGS@,$X_CFLAGS,;t t
13680s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 13871s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
13681s,@X_LIBS@,$X_LIBS,;t t 13872s,@X_LIBS@,$X_LIBS,;t t
13682s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 13873s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
13874s,@afterimage_config@,$afterimage_config,;t t
13683s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 13875s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t
13684s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t 13876s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t
13685s,@XPM_LIBS@,$XPM_LIBS,;t t 13877s,@XPM_LIBS@,$XPM_LIBS,;t t
13686s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t 13878s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t
13687s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t 13879s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t
13688s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t 13880s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t
13689s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t 13881s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t
13690s,@rxvt_intp_define@,$rxvt_intp_define,;t t 13882s,@rxvt_intp_define@,$rxvt_intp_define,;t t
13691s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 13883s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
13884s,@PKG_CONFIG@,$PKG_CONFIG,;t t
13885s,@XFT_CONFIG@,$XFT_CONFIG,;t t
13692s,@PERL@,$PERL,;t t 13886s,@PERL@,$PERL,;t t
13693s,@PERLLIB@,$PERLLIB,;t t 13887s,@PERLLIB@,$PERLLIB,;t t
13694s,@PERLFLAGS@,$PERLFLAGS,;t t 13888s,@PERLFLAGS@,$PERLFLAGS,;t t
13695s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t 13889s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t
13696s,@IF_PERL@,$IF_PERL,;t t 13890s,@IF_PERL@,$IF_PERL,;t t
13697s,@PERL_O@,$PERL_O,;t t 13891s,@PERL_O@,$PERL_O,;t t
13698s,@DEBUG@,$DEBUG,;t t 13892s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t
13699s,@DINCLUDE@,$DINCLUDE,;t t 13893s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t
13700s,@DLIB@,$DLIB,;t t
13701s,@include_stdint_h@,$include_stdint_h,;t t 13894s,@include_stdint_h@,$include_stdint_h,;t t
13702s,@include_stdarg_h@,$include_stdarg_h,;t t 13895s,@include_stdarg_h@,$include_stdarg_h,;t t
13703s,@include_stdlib_h@,$include_stdlib_h,;t t 13896s,@include_stdlib_h@,$include_stdlib_h,;t t
13704s,@include_unistd_h@,$include_unistd_h,;t t 13897s,@include_unistd_h@,$include_unistd_h,;t t
13705s,@include_string_h@,$include_string_h,;t t 13898s,@include_string_h@,$include_string_h,;t t
13711s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t 13904s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t
13712s,@include_sys_time_h@,$include_sys_time_h,;t t 13905s,@include_sys_time_h@,$include_sys_time_h,;t t
13713s,@include_time_h@,$include_time_h,;t t 13906s,@include_time_h@,$include_time_h,;t t
13714s,@LIBOBJS@,$LIBOBJS,;t t 13907s,@LIBOBJS@,$LIBOBJS,;t t
13715s,@LTLIBOBJS@,$LTLIBOBJS,;t t 13908s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13716/@MCOMMON@/r $MCOMMON
13717s,@MCOMMON@,,;t t
13718CEOF 13909CEOF
13719 13910
13720_ACEOF 13911_ACEOF
13721 13912
13722 cat >>$CONFIG_STATUS <<\_ACEOF 13913 cat >>$CONFIG_STATUS <<\_ACEOF
13879 case $INSTALL in 14070 case $INSTALL in
13880 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14071 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13881 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 14072 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13882 esac 14073 esac
13883 14074
14075 if test x"$ac_file" != x-; then
14076 { echo "$as_me:$LINENO: creating $ac_file" >&5
14077echo "$as_me: creating $ac_file" >&6;}
14078 rm -f "$ac_file"
14079 fi
13884 # Let's still pretend it is `configure' which instantiates (i.e., don't 14080 # Let's still pretend it is `configure' which instantiates (i.e., don't
13885 # use $as_me), people would be surprised to read: 14081 # use $as_me), people would be surprised to read:
13886 # /* config.h. Generated by config.status. */ 14082 # /* config.h. Generated by config.status. */
13887 if test x"$ac_file" = x-; then 14083 if test x"$ac_file" = x-; then
13888 configure_input= 14084 configure_input=
13917echo "$as_me: error: cannot find input file: $f" >&2;} 14113echo "$as_me: error: cannot find input file: $f" >&2;}
13918 { (exit 1); exit 1; }; } 14114 { (exit 1); exit 1; }; }
13919 fi;; 14115 fi;;
13920 esac 14116 esac
13921 done` || { (exit 1); exit 1; } 14117 done` || { (exit 1); exit 1; }
13922
13923 if test x"$ac_file" != x-; then
13924 { echo "$as_me:$LINENO: creating $ac_file" >&5
13925echo "$as_me: creating $ac_file" >&6;}
13926 rm -f "$ac_file"
13927 fi
13928_ACEOF 14118_ACEOF
13929cat >>$CONFIG_STATUS <<_ACEOF 14119cat >>$CONFIG_STATUS <<_ACEOF
13930 sed "$ac_vpsub 14120 sed "$ac_vpsub
13931$extrasub 14121$extrasub
13932_ACEOF 14122_ACEOF
14212 14402
14213 Rxvt version: $VERSION : $DATE 14403 Rxvt version: $VERSION : $DATE
14214 Source code location: $srcdir 14404 Source code location: $srcdir
14215 Install path: ${prefix}/bin 14405 Install path: ${prefix}/bin
14216 Compiler: $CXX 14406 Compiler: $CXX
14217 Compiler flags: $CFLAGS 14407 Compiler flags: $CXXFLAGS
14218 Linker: $LINKER" 14408 Linker: $LINKER"
14219
14220if test "$MALLOC_TYPE" = S; then
14221 echo " malloc support: system default"
14222fi
14223if test "$MALLOC_TYPE" = G; then
14224 echo " malloc support: Gray Watson's dmalloc"
14225fi
14226if test "$MALLOC_TYPE" = D; then
14227 echo " malloc support: Doug Lea's malloc"
14228fi
14229 14409
14230if test x$support_xpm = xyes; then 14410if test x$support_xpm = xyes; then
14231 echo " Xpm library: $XPM_LIBS" 14411 echo " Xpm library: $XPM_LIBS"
14232fi 14412fi
14233 14413
14234echo " 14414if test x$support_afterimage = xyes; then
14235The following are set in config.h 14415 echo " AfterImage support: yes"
14236" 14416fi
14237echo " pty/tty type: "$rxvt_cv_ptys 14417
14238if test x$support_utmp != xyes; then 14418if test x$support_afterstep = xyes; then
14239 echo " utmp support: disabled" 14419 echo " AfterStep integration: yes"
14240 echo
14241else
14242 echo " utmp support: enabled
14243 utmp file: $rxvt_cv_path_utmp
14244 utmpx file: $rxvt_cv_path_utmpx
14245 wtmp file: $rxvt_cv_path_wtmp
14246 wtmpx file: $rxvt_cv_path_wtmpx
14247 lastlog file: $rxvt_cv_path_lastlog
14248 ttys/ttytab file: $rxvt_cv_path_ttytab
14249 embedded perl: $support_perl"
14250 echo
14251fi 14420fi
14421
14252if test x$term != x; then 14422if test x$term != x; then
14253 echo " set TERM to: $term" 14423 echo " set TERM to: $term"
14254fi 14424fi
14255if test x$terminfo != x; then 14425if test x$terminfo != x; then
14256 echo " set TERMINFO to: $terminfo" 14426 echo " set TERMINFO to: $terminfo"
14259echo " resource class: $RESCLASS" 14429echo " resource class: $RESCLASS"
14260if test x$RESFALLBACK != x; then 14430if test x$RESFALLBACK != x; then
14261 echo " resource class fallback: $RESFALLBACK" 14431 echo " resource class fallback: $RESFALLBACK"
14262fi 14432fi
14263echo 14433echo
14264if test x$rxvt_cv_ptys = xUNKNOWN; then 14434echo " embedded perl: $support_perl"
14265 echo ".----------------------------------------------------------------." 14435echo
14266 echo ". WARNING: could not determine pty/tty type. Do not build until ."
14267 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
14268 echo ".----------------------------------------------------------------."
14269fi
14270if test x$support_xpm = xneedsmanualspecification; then 14436if test x$support_xpm = xneedsmanualspecification; then
14271 echo ".----------------------------------------------------------------." 14437 echo ".----------------------------------------------------------------."
14272 echo ". WARNING: --enable-xpm-background was specified however the ." 14438 echo ". WARNING: --enable-xpm-background was specified however the ."
14273 echo ". XPM includes files and libraries could not be found. ." 14439 echo ". XPM includes files and libraries could not be found. ."
14274 echo ". XPM backgrounds are now being DISABLED! If you want ." 14440 echo ". XPM backgrounds are now being DISABLED! If you want ."
14283 echo ". functions could not be found. ." 14449 echo ". functions could not be found. ."
14284 echo ". XIM is now being DISABLED! ." 14450 echo ". XIM is now being DISABLED! ."
14285 echo ".----------------------------------------------------------------." 14451 echo ".----------------------------------------------------------------."
14286fi 14452fi
14287 14453
14288echo " *** Optionally check src/feature.h for further options ***" 14454echo "*** Optionally check src/feature.h for further, rarely used options ***"
14289echo 14455echo
14290 14456
14291echo ".----------------------------------------------------------------."
14292echo ". NOTE: some features are disabled by default, try ."
14293echo ". configure --help to get an idea of the optional features, ."
14294echo ". or read ./README.configure ."
14295echo ". ."
14296echo ". The script ./reconf gives a reasonable baseline, try it if ."
14297echo ". you do not want to read documentation and still want some ."
14298echo ". useful features. ."
14299echo ".----------------------------------------------------------------."
14300echo
14301

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines