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

Comparing rxvt-unicode/configure (file contents):
Revision 1.59 by root, Sun Jan 1 06:28:45 2006 UTC vs.
Revision 1.107 by ayin, Thu Jun 28 17:20:24 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 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
884 --enable-perl enable embedded perl interpreter
886 --enable-plain-scroll enable plain style scrollbar 885 --enable-plain-scroll enable plain style scrollbar
887 --enable-half-shadow use half width/height shadow on rxvt scrollbar
888 --enable-xim XIM (X Input Method) protocol support 886 --enable-xim XIM (X Input Method) protocol support
889 --enable-ttygid enable tty setting to group named "tty"
890 --disable-backspace-key disable handling of the backspace key 887 --disable-backspace-key disable handling of the backspace key
891 --disable-delete-key disable handling of the delete key 888 --disable-delete-key disable handling of the delete key
892 --disable-resources disable all resource checking 889 --disable-resources disable all resource checking
893 --enable-xgetdefault enable resources via X instead of our small version
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 --enable-strings enable some replacement system functions
897 --disable-swapscreen disable swap screen support 892 --disable-swapscreen disable swap screen support
898 --enable-iso14755 enable support for extended ISO 14755 modes 893 --enable-iso14755 enable support for extended ISO 14755 modes
899 --enable-frills enable support for rarely used features 894 --enable-frills enable support for rarely used features
900 --enable-24bit enable support for using 24bit visuals if available
901 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 895 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
902 --enable-selectionscrolling enable scrolling during selections 896 --enable-selectionscrolling enable scrolling during selections
903 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 897 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
904 --enable-slipwheeling enable slip wheel scrolling (requires previous) 898 --enable-slipwheeling enable slip wheel scrolling (requires previous)
905 --enable-dmalloc enable Gray Watson's malloc - for debugging use
906 --enable-dlmalloc enable Doug Lea's malloc - for production use
907 NOTE: enable only one malloc package
908 --enable-smart-resize enable smart growth/shrink behaviour 899 --enable-smart-resize enable smart growth/shrink behaviour
909 --enable-text-blink enable blinking text 900 --enable-text-blink enable blinking text
910 --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)
911 905
912Optional Packages: 906Optional Packages:
913 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 907 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
914 --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
915 --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)
916 --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)
917 --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)
918 --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)
919 --with-term=NAME set the terminal to NAME (default: rxvt) 914 --with-term=NAME set the terminal to NAME (default: rxvt)
1024 echo 1019 echo
1025 $ac_configure --help 1020 $ac_configure --help
1026 else 1021 else
1027 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
1028 fi 1023 fi
1029 cd "$ac_popdir" 1024 cd $ac_popdir
1030 done 1025 done
1031fi 1026fi
1032 1027
1033test -n "$ac_init_help" && exit 0 1028test -n "$ac_init_help" && exit 0
1034if $ac_init_version; then 1029if $ac_init_version; then
1372 1367
1373 1368
1374 1369
1375 1370
1376 1371
1372
1373 ac_config_headers="$ac_config_headers config.h:config.h.in"
1374
1375
1377ac_aux_dir= 1376ac_aux_dir=
1378for ac_dir in autoconf $srcdir/autoconf; do 1377for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1379 if test -f $ac_dir/install-sh; then 1378 if test -f $ac_dir/install-sh; then
1380 ac_aux_dir=$ac_dir 1379 ac_aux_dir=$ac_dir
1381 ac_install_sh="$ac_aux_dir/install-sh -c" 1380 ac_install_sh="$ac_aux_dir/install-sh -c"
1382 break 1381 break
1383 elif test -f $ac_dir/install.sh; then 1382 elif test -f $ac_dir/install.sh; then
1389 ac_install_sh="$ac_aux_dir/shtool install -c" 1388 ac_install_sh="$ac_aux_dir/shtool install -c"
1390 break 1389 break
1391 fi 1390 fi
1392done 1391done
1393if test -z "$ac_aux_dir"; then 1392if test -z "$ac_aux_dir"; then
1394 { { 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
1395echo "$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;}
1396 { (exit 1); exit 1; }; } 1395 { (exit 1); exit 1; }; }
1397fi 1396fi
1398ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1397ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1399ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1398ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1400ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1399ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1401
1402 ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in"
1403
1404 1400
1405# Make sure we can run config.sub. 1401# Make sure we can run config.sub.
1406$ac_config_sub sun4 >/dev/null 2>&1 || 1402$ac_config_sub sun4 >/dev/null 2>&1 ||
1407 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1403 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1408echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1404echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1460VERSION=`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`
1461DATE=`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`
1462echo "" 1458echo ""
1463echo "configuring for rxvt $VERSION" 1459echo "configuring for rxvt $VERSION"
1464echo "" 1460echo ""
1461
1462orig_CXXFLAGS="$CXXFLAGS"
1465 1463
1466 1464
1467ac_ext=c 1465ac_ext=c
1468ac_cpp='$CPP $CPPFLAGS' 1466ac_cpp='$CPP $CPPFLAGS'
1469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1467ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2030 grep -v '^ *+' conftest.er1 >conftest.err 2028 grep -v '^ *+' conftest.er1 >conftest.err
2031 rm -f conftest.er1 2029 rm -f conftest.er1
2032 cat conftest.err >&5 2030 cat conftest.err >&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); } && 2032 (exit $ac_status); } &&
2035 { 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'
2036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2037 (eval $ac_try) 2>&5 2036 (eval $ac_try) 2>&5
2038 ac_status=$? 2037 ac_status=$?
2039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040 (exit $ac_status); }; } && 2039 (exit $ac_status); }; } &&
2088 grep -v '^ *+' conftest.er1 >conftest.err 2087 grep -v '^ *+' conftest.er1 >conftest.err
2089 rm -f conftest.er1 2088 rm -f conftest.er1
2090 cat conftest.err >&5 2089 cat conftest.err >&5
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092 (exit $ac_status); } && 2091 (exit $ac_status); } &&
2093 { 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'
2094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 (eval $ac_try) 2>&5 2095 (eval $ac_try) 2>&5
2096 ac_status=$? 2096 ac_status=$?
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); }; } && 2098 (exit $ac_status); }; } &&
2204 grep -v '^ *+' conftest.er1 >conftest.err 2204 grep -v '^ *+' conftest.er1 >conftest.err
2205 rm -f conftest.er1 2205 rm -f conftest.er1
2206 cat conftest.err >&5 2206 cat conftest.err >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); } && 2208 (exit $ac_status); } &&
2209 { 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'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 (eval $ac_try) 2>&5 2212 (eval $ac_try) 2>&5
2212 ac_status=$? 2213 ac_status=$?
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; } && 2215 (exit $ac_status); }; } &&
2258 grep -v '^ *+' conftest.er1 >conftest.err 2259 grep -v '^ *+' conftest.er1 >conftest.err
2259 rm -f conftest.er1 2260 rm -f conftest.er1
2260 cat conftest.err >&5 2261 cat conftest.err >&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); } && 2263 (exit $ac_status); } &&
2263 { 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'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265 (eval $ac_try) 2>&5 2267 (eval $ac_try) 2>&5
2266 ac_status=$? 2268 ac_status=$?
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; } && 2270 (exit $ac_status); }; } &&
2303 grep -v '^ *+' conftest.er1 >conftest.err 2305 grep -v '^ *+' conftest.er1 >conftest.err
2304 rm -f conftest.er1 2306 rm -f conftest.er1
2305 cat conftest.err >&5 2307 cat conftest.err >&5
2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307 (exit $ac_status); } && 2309 (exit $ac_status); } &&
2308 { 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'
2309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 (eval $ac_try) 2>&5 2313 (eval $ac_try) 2>&5
2311 ac_status=$? 2314 ac_status=$?
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }; } && 2316 (exit $ac_status); }; } &&
2347 grep -v '^ *+' conftest.er1 >conftest.err 2350 grep -v '^ *+' conftest.er1 >conftest.err
2348 rm -f conftest.er1 2351 rm -f conftest.er1
2349 cat conftest.err >&5 2352 cat conftest.err >&5
2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 (exit $ac_status); } && 2354 (exit $ac_status); } &&
2352 { 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'
2353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354 (eval $ac_try) 2>&5 2358 (eval $ac_try) 2>&5
2355 ac_status=$? 2359 ac_status=$?
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; } && 2361 (exit $ac_status); }; } &&
2531 grep -v '^ *+' conftest.er1 >conftest.err 2535 grep -v '^ *+' conftest.er1 >conftest.err
2532 rm -f conftest.er1 2536 rm -f conftest.er1
2533 cat conftest.err >&5 2537 cat conftest.err >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); } && 2539 (exit $ac_status); } &&
2536 { 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'
2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538 (eval $ac_try) 2>&5 2543 (eval $ac_try) 2>&5
2539 ac_status=$? 2544 ac_status=$?
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; } && 2546 (exit $ac_status); }; } &&
2589 grep -v '^ *+' conftest.er1 >conftest.err 2594 grep -v '^ *+' conftest.er1 >conftest.err
2590 rm -f conftest.er1 2595 rm -f conftest.er1
2591 cat conftest.err >&5 2596 cat conftest.err >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); } && 2598 (exit $ac_status); } &&
2594 { 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'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 (eval $ac_try) 2>&5 2602 (eval $ac_try) 2>&5
2597 ac_status=$? 2603 ac_status=$?
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; } && 2605 (exit $ac_status); }; } &&
2660 grep -v '^ *+' conftest.er1 >conftest.err 2666 grep -v '^ *+' conftest.er1 >conftest.err
2661 rm -f conftest.er1 2667 rm -f conftest.er1
2662 cat conftest.err >&5 2668 cat conftest.err >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } && 2670 (exit $ac_status); } &&
2665 { 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'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667 (eval $ac_try) 2>&5 2674 (eval $ac_try) 2>&5
2668 ac_status=$? 2675 ac_status=$?
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; } && 2677 (exit $ac_status); }; } &&
2704 grep -v '^ *+' conftest.er1 >conftest.err 2711 grep -v '^ *+' conftest.er1 >conftest.err
2705 rm -f conftest.er1 2712 rm -f conftest.er1
2706 cat conftest.err >&5 2713 cat conftest.err >&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); } && 2715 (exit $ac_status); } &&
2709 { 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'
2710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711 (eval $ac_try) 2>&5 2719 (eval $ac_try) 2>&5
2712 ac_status=$? 2720 ac_status=$?
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }; } && 2722 (exit $ac_status); }; } &&
3050 3058
3051test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3059test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3052 3060
3053test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3061test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3054 3062
3055for ac_prog in gawk mawk nawk awk
3056do
3057 # Extract the first word of "$ac_prog", so it can be a program name with args.
3058set dummy $ac_prog; ac_word=$2
3059echo "$as_me:$LINENO: checking for $ac_word" >&5
3060echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3061if test "${ac_cv_prog_AWK+set}" = set; then
3062 echo $ECHO_N "(cached) $ECHO_C" >&6
3063else
3064 if test -n "$AWK"; then
3065 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3066else
3067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068for as_dir in $PATH
3069do
3070 IFS=$as_save_IFS
3071 test -z "$as_dir" && as_dir=.
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3074 ac_cv_prog_AWK="$ac_prog"
3075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3076 break 2
3077 fi
3078done
3079done
3080 3063
3081fi
3082fi
3083AWK=$ac_cv_prog_AWK
3084if test -n "$AWK"; then
3085 echo "$as_me:$LINENO: result: $AWK" >&5
3086echo "${ECHO_T}$AWK" >&6
3087else
3088 echo "$as_me:$LINENO: result: no" >&5
3089echo "${ECHO_T}no" >&6
3090fi
3091
3092 test -n "$AWK" && break
3093done
3094
3095
3096ac_ext=c
3097ac_cpp='$CPP $CPPFLAGS'
3098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3100ac_compiler_gnu=$ac_cv_c_compiler_gnu
3101
3102
3103if test -z "$orig_CXXFLAGS"; then
3104 CXXFLAGS='-O'
3105 if test x$GCC = xyes && test "x$GXX" = xyes; then
3106 CXXFLAGS="-g -O3"
3107 fi
3108 CFLAGS="$CXXFLAGS"
3109fi
3110
3111LINKER="$CXX"
3112if test x$GCC = xyes && test x$GXX = xyes; then
3113
3114echo "$as_me:$LINENO: checking for main in -lsupc++" >&5
3115echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6
3116if test "${ac_cv_lib_supcpp_main+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3118else
3119 ac_check_lib_save_LIBS=$LIBS
3120LIBS="-lsupc++ $LIBS"
3121cat >conftest.$ac_ext <<_ACEOF
3122/* confdefs.h. */
3123_ACEOF
3124cat confdefs.h >>conftest.$ac_ext
3125cat >>conftest.$ac_ext <<_ACEOF
3126/* end confdefs.h. */
3127
3128
3129int
3130main ()
3131{
3132main ();
3133 ;
3134 return 0;
3135}
3136_ACEOF
3137rm -f conftest.$ac_objext conftest$ac_exeext
3138if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3139 (eval $ac_link) 2>conftest.er1
3140 ac_status=$?
3141 grep -v '^ *+' conftest.er1 >conftest.err
3142 rm -f conftest.er1
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } &&
3146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148 (eval $ac_try) 2>&5
3149 ac_status=$?
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }; } &&
3152 { ac_try='test -s conftest$ac_exeext'
3153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154 (eval $ac_try) 2>&5
3155 ac_status=$?
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; }; then
3158 ac_cv_lib_supcpp_main=yes
3159else
3160 echo "$as_me: failed program was:" >&5
3161sed 's/^/| /' conftest.$ac_ext >&5
3162
3163ac_cv_lib_supcpp_main=no
3164fi
3165rm -f conftest.err conftest.$ac_objext \
3166 conftest$ac_exeext conftest.$ac_ext
3167LIBS=$ac_check_lib_save_LIBS
3168fi
3169echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5
3170echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6
3171if test $ac_cv_lib_supcpp_main = yes; then
3172
3173 LINKER="$CC"
3174 LIBS="$LIBS -lsupc++"
3175
3176fi
3177
3178fi
3179LINKER=$LINKER
3180
3181
3182
3183cat >>confdefs.h <<\_ACEOF
3184#define _GNU_SOURCE 1
3185_ACEOF
3186
3187
3188case $host in
3189 *-*-solaris* )
3190
3191cat >>confdefs.h <<\_ACEOF
3192#define _XOPEN_SOURCE_EXTENDED 1
3193_ACEOF
3194
3195
3196cat >>confdefs.h <<\_ACEOF
3197#define _XOPEN_SOURCE 2
3198_ACEOF
3199
3200
3201cat >>confdefs.h <<\_ACEOF
3202#define __EXTENSIONS__ 1
3203_ACEOF
3204
3205 ;;
3206esac
3207
3208
3209ac_ext=cc
3210ac_cpp='$CXXCPP $CPPFLAGS'
3211ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3212ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3213ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3214
3215
3216
3217ac_ext=cc
3218ac_cpp='$CXXCPP $CPPFLAGS'
3219ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3222echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3223echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
3224if test -z "$CXXCPP"; then
3225 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3227else
3228 # Double quotes because CXXCPP needs to be expanded
3229 for CXXCPP in "$CXX -E" "/lib/cpp"
3230 do
3231 ac_preproc_ok=false
3232for ac_cxx_preproc_warn_flag in '' yes
3233do
3234 # Use a header file that comes with gcc, so configuring glibc
3235 # with a fresh cross-compiler works.
3236 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3237 # <limits.h> exists even on freestanding compilers.
3238 # On the NeXT, cc -E runs the code through the compiler's parser,
3239 # not just through cpp. "Syntax error" is here to catch this case.
3240 cat >conftest.$ac_ext <<_ACEOF
3241/* confdefs.h. */
3242_ACEOF
3243cat confdefs.h >>conftest.$ac_ext
3244cat >>conftest.$ac_ext <<_ACEOF
3245/* end confdefs.h. */
3246#ifdef __STDC__
3247# include <limits.h>
3248#else
3249# include <assert.h>
3250#endif
3251 Syntax error
3252_ACEOF
3253if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3255 ac_status=$?
3256 grep -v '^ *+' conftest.er1 >conftest.err
3257 rm -f conftest.er1
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } >/dev/null; then
3261 if test -s conftest.err; then
3262 ac_cpp_err=$ac_cxx_preproc_warn_flag
3263 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3264 else
3265 ac_cpp_err=
3266 fi
3267else
3268 ac_cpp_err=yes
3269fi
3270if test -z "$ac_cpp_err"; then
3271 :
3272else
3273 echo "$as_me: failed program was:" >&5
3274sed 's/^/| /' conftest.$ac_ext >&5
3275
3276 # Broken: fails on valid input.
3277continue
3278fi
3279rm -f conftest.err conftest.$ac_ext
3280
3281 # OK, works on sane cases. Now check whether non-existent headers
3282 # can be detected and how.
3283 cat >conftest.$ac_ext <<_ACEOF
3284/* confdefs.h. */
3285_ACEOF
3286cat confdefs.h >>conftest.$ac_ext
3287cat >>conftest.$ac_ext <<_ACEOF
3288/* end confdefs.h. */
3289#include <ac_nonexistent.h>
3290_ACEOF
3291if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3292 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3293 ac_status=$?
3294 grep -v '^ *+' conftest.er1 >conftest.err
3295 rm -f conftest.er1
3296 cat conftest.err >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } >/dev/null; then
3299 if test -s conftest.err; then
3300 ac_cpp_err=$ac_cxx_preproc_warn_flag
3301 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3302 else
3303 ac_cpp_err=
3304 fi
3305else
3306 ac_cpp_err=yes
3307fi
3308if test -z "$ac_cpp_err"; then
3309 # Broken: success on invalid input.
3310continue
3311else
3312 echo "$as_me: failed program was:" >&5
3313sed 's/^/| /' conftest.$ac_ext >&5
3314
3315 # Passes both tests.
3316ac_preproc_ok=:
3317break
3318fi
3319rm -f conftest.err conftest.$ac_ext
3320
3321done
3322# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3323rm -f conftest.err conftest.$ac_ext
3324if $ac_preproc_ok; then
3325 break
3326fi
3327
3328 done
3329 ac_cv_prog_CXXCPP=$CXXCPP
3330
3331fi
3332 CXXCPP=$ac_cv_prog_CXXCPP
3333else
3334 ac_cv_prog_CXXCPP=$CXXCPP
3335fi
3336echo "$as_me:$LINENO: result: $CXXCPP" >&5
3337echo "${ECHO_T}$CXXCPP" >&6
3338ac_preproc_ok=false
3339for ac_cxx_preproc_warn_flag in '' yes
3340do
3341 # Use a header file that comes with gcc, so configuring glibc
3342 # with a fresh cross-compiler works.
3343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3344 # <limits.h> exists even on freestanding compilers.
3345 # On the NeXT, cc -E runs the code through the compiler's parser,
3346 # not just through cpp. "Syntax error" is here to catch this case.
3347 cat >conftest.$ac_ext <<_ACEOF
3348/* confdefs.h. */
3349_ACEOF
3350cat confdefs.h >>conftest.$ac_ext
3351cat >>conftest.$ac_ext <<_ACEOF
3352/* end confdefs.h. */
3353#ifdef __STDC__
3354# include <limits.h>
3355#else
3356# include <assert.h>
3357#endif
3358 Syntax error
3359_ACEOF
3360if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3362 ac_status=$?
3363 grep -v '^ *+' conftest.er1 >conftest.err
3364 rm -f conftest.er1
3365 cat conftest.err >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); } >/dev/null; then
3368 if test -s conftest.err; then
3369 ac_cpp_err=$ac_cxx_preproc_warn_flag
3370 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3371 else
3372 ac_cpp_err=
3373 fi
3374else
3375 ac_cpp_err=yes
3376fi
3377if test -z "$ac_cpp_err"; then
3378 :
3379else
3380 echo "$as_me: failed program was:" >&5
3381sed 's/^/| /' conftest.$ac_ext >&5
3382
3383 # Broken: fails on valid input.
3384continue
3385fi
3386rm -f conftest.err conftest.$ac_ext
3387
3388 # OK, works on sane cases. Now check whether non-existent headers
3389 # can be detected and how.
3390 cat >conftest.$ac_ext <<_ACEOF
3391/* confdefs.h. */
3392_ACEOF
3393cat confdefs.h >>conftest.$ac_ext
3394cat >>conftest.$ac_ext <<_ACEOF
3395/* end confdefs.h. */
3396#include <ac_nonexistent.h>
3397_ACEOF
3398if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3400 ac_status=$?
3401 grep -v '^ *+' conftest.er1 >conftest.err
3402 rm -f conftest.er1
3403 cat conftest.err >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } >/dev/null; then
3406 if test -s conftest.err; then
3407 ac_cpp_err=$ac_cxx_preproc_warn_flag
3408 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3409 else
3410 ac_cpp_err=
3411 fi
3412else
3413 ac_cpp_err=yes
3414fi
3415if test -z "$ac_cpp_err"; then
3416 # Broken: success on invalid input.
3417continue
3418else
3419 echo "$as_me: failed program was:" >&5
3420sed 's/^/| /' conftest.$ac_ext >&5
3421
3422 # Passes both tests.
3423ac_preproc_ok=:
3424break
3425fi
3426rm -f conftest.err conftest.$ac_ext
3427
3428done
3429# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3430rm -f conftest.err conftest.$ac_ext
3431if $ac_preproc_ok; then
3432 :
3433else
3434 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3435See \`config.log' for more details." >&5
3436echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3437See \`config.log' for more details." >&2;}
3438 { (exit 1); exit 1; }; }
3439fi
3440
3441ac_ext=cc
3442ac_cpp='$CXXCPP $CPPFLAGS'
3443ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3444ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3445ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3446 3064
3447 3065
3448echo "$as_me:$LINENO: checking for egrep" >&5 3066echo "$as_me:$LINENO: checking for egrep" >&5
3449echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3067echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3450if test "${ac_cv_prog_egrep+set}" = set; then 3068if test "${ac_cv_prog_egrep+set}" = set; then
3525 grep -v '^ *+' conftest.er1 >conftest.err 3143 grep -v '^ *+' conftest.er1 >conftest.err
3526 rm -f conftest.er1 3144 rm -f conftest.er1
3527 cat conftest.err >&5 3145 cat conftest.err >&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); } && 3147 (exit $ac_status); } &&
3530 { 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'
3531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3532 (eval $ac_try) 2>&5 3151 (eval $ac_try) 2>&5
3533 ac_status=$? 3152 ac_status=$?
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); }; } && 3154 (exit $ac_status); }; } &&
3579 grep -v '^ *+' conftest.er1 >conftest.err 3198 grep -v '^ *+' conftest.er1 >conftest.err
3580 rm -f conftest.er1 3199 rm -f conftest.er1
3581 cat conftest.err >&5 3200 cat conftest.err >&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); } && 3202 (exit $ac_status); } &&
3584 { 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'
3585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3586 (eval $ac_try) 2>&5 3206 (eval $ac_try) 2>&5
3587 ac_status=$? 3207 ac_status=$?
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); }; } && 3209 (exit $ac_status); }; } &&
3610echo "${ECHO_T}$ac_cv_search_strerror" >&6 3230echo "${ECHO_T}$ac_cv_search_strerror" >&6
3611if test "$ac_cv_search_strerror" != no; then 3231if test "$ac_cv_search_strerror" != no; then
3612 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"
3613 3233
3614fi 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
3615 3379
3616 3380
3617echo "$as_me:$LINENO: checking for setlocale" >&5 3381echo "$as_me:$LINENO: checking for setlocale" >&5
3618echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 3382echo $ECHO_N "checking for setlocale... $ECHO_C" >&6
3619if test "${ac_cv_func_setlocale+set}" = set; then 3383if test "${ac_cv_func_setlocale+set}" = set; then
3677 grep -v '^ *+' conftest.er1 >conftest.err 3441 grep -v '^ *+' conftest.er1 >conftest.err
3678 rm -f conftest.er1 3442 rm -f conftest.er1
3679 cat conftest.err >&5 3443 cat conftest.err >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } && 3445 (exit $ac_status); } &&
3682 { 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'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3684 (eval $ac_try) 2>&5 3449 (eval $ac_try) 2>&5
3685 ac_status=$? 3450 ac_status=$?
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; } && 3452 (exit $ac_status); }; } &&
3742 grep -v '^ *+' conftest.er1 >conftest.err 3507 grep -v '^ *+' conftest.er1 >conftest.err
3743 rm -f conftest.er1 3508 rm -f conftest.er1
3744 cat conftest.err >&5 3509 cat conftest.err >&5
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); } && 3511 (exit $ac_status); } &&
3747 { 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'
3748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3749 (eval $ac_try) 2>&5 3515 (eval $ac_try) 2>&5
3750 ac_status=$? 3516 ac_status=$?
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); }; } && 3518 (exit $ac_status); }; } &&
3839 grep -v '^ *+' conftest.er1 >conftest.err 3605 grep -v '^ *+' conftest.er1 >conftest.err
3840 rm -f conftest.er1 3606 rm -f conftest.er1
3841 cat conftest.err >&5 3607 cat conftest.err >&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); } && 3609 (exit $ac_status); } &&
3844 { 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'
3845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3846 (eval $ac_try) 2>&5 3613 (eval $ac_try) 2>&5
3847 ac_status=$? 3614 ac_status=$?
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); }; } && 3616 (exit $ac_status); }; } &&
3904 grep -v '^ *+' conftest.er1 >conftest.err 3671 grep -v '^ *+' conftest.er1 >conftest.err
3905 rm -f conftest.er1 3672 rm -f conftest.er1
3906 cat conftest.err >&5 3673 cat conftest.err >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } && 3675 (exit $ac_status); } &&
3909 { 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'
3910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3911 (eval $ac_try) 2>&5 3679 (eval $ac_try) 2>&5
3912 ac_status=$? 3680 ac_status=$?
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); }; } && 3682 (exit $ac_status); }; } &&
4000 grep -v '^ *+' conftest.er1 >conftest.err 3768 grep -v '^ *+' conftest.er1 >conftest.err
4001 rm -f conftest.er1 3769 rm -f conftest.er1
4002 cat conftest.err >&5 3770 cat conftest.err >&5
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); } && 3772 (exit $ac_status); } &&
4005 { 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'
4006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4007 (eval $ac_try) 2>&5 3776 (eval $ac_try) 2>&5
4008 ac_status=$? 3777 ac_status=$?
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); }; } && 3779 (exit $ac_status); }; } &&
4065 grep -v '^ *+' conftest.er1 >conftest.err 3834 grep -v '^ *+' conftest.er1 >conftest.err
4066 rm -f conftest.er1 3835 rm -f conftest.er1
4067 cat conftest.err >&5 3836 cat conftest.err >&5
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); } && 3838 (exit $ac_status); } &&
4070 { 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'
4071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4072 (eval $ac_try) 2>&5 3842 (eval $ac_try) 2>&5
4073 ac_status=$? 3843 ac_status=$?
4074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4075 (exit $ac_status); }; } && 3845 (exit $ac_status); }; } &&
4097fi 3867fi
4098 3868
4099fi 3869fi
4100 3870
4101 3871
4102echo "$as_me:$LINENO: checking for sched_yield" >&5
4103echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
4104if test "${ac_cv_func_sched_yield+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4106else
4107 cat >conftest.$ac_ext <<_ACEOF
4108/* confdefs.h. */
4109_ACEOF
4110cat confdefs.h >>conftest.$ac_ext
4111cat >>conftest.$ac_ext <<_ACEOF
4112/* end confdefs.h. */
4113/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
4114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4115#define sched_yield innocuous_sched_yield
4116 3872
4117/* System header to define __stub macros and hopefully few prototypes,
4118 which can conflict with char sched_yield (); below.
4119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4120 <limits.h> exists even on freestanding compilers. */
4121
4122#ifdef __STDC__
4123# include <limits.h>
4124#else
4125# include <assert.h>
4126#endif
4127
4128#undef sched_yield
4129
4130/* Override any gcc2 internal prototype to avoid an error. */
4131#ifdef __cplusplus
4132extern "C"
4133{
4134#endif
4135/* We use char because int might match the return type of a gcc2
4136 builtin and then its argument prototype would still apply. */
4137char sched_yield ();
4138/* The GNU C library defines this for functions which it implements
4139 to always fail with ENOSYS. Some functions are actually named
4140 something starting with __ and the normal name is an alias. */
4141#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
4142choke me
4143#else
4144char (*f) () = sched_yield;
4145#endif
4146#ifdef __cplusplus
4147}
4148#endif
4149
4150int
4151main ()
4152{
4153return f != sched_yield;
4154 ;
4155 return 0;
4156}
4157_ACEOF
4158rm -f conftest.$ac_objext conftest$ac_exeext
4159if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4160 (eval $ac_link) 2>conftest.er1
4161 ac_status=$?
4162 grep -v '^ *+' conftest.er1 >conftest.err
4163 rm -f conftest.er1
4164 cat conftest.err >&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); } &&
4167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169 (eval $ac_try) 2>&5
4170 ac_status=$?
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); }; } &&
4173 { ac_try='test -s conftest$ac_exeext'
4174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4175 (eval $ac_try) 2>&5
4176 ac_status=$?
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; }; then
4179 ac_cv_func_sched_yield=yes
4180else
4181 echo "$as_me: failed program was:" >&5
4182sed 's/^/| /' conftest.$ac_ext >&5
4183
4184ac_cv_func_sched_yield=no
4185fi
4186rm -f conftest.err conftest.$ac_objext \
4187 conftest$ac_exeext conftest.$ac_ext
4188fi
4189echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
4190echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
4191if test $ac_cv_func_sched_yield = yes; then
4192 :
4193else
4194 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
4195echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
4196if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4198else
4199 ac_check_lib_save_LIBS=$LIBS
4200LIBS="-lrt $LIBS"
4201cat >conftest.$ac_ext <<_ACEOF
4202/* confdefs.h. */
4203_ACEOF
4204cat confdefs.h >>conftest.$ac_ext
4205cat >>conftest.$ac_ext <<_ACEOF
4206/* end confdefs.h. */
4207
4208/* Override any gcc2 internal prototype to avoid an error. */
4209#ifdef __cplusplus
4210extern "C"
4211#endif
4212/* We use char because int might match the return type of a gcc2
4213 builtin and then its argument prototype would still apply. */
4214char sched_yield ();
4215int
4216main ()
4217{
4218sched_yield ();
4219 ;
4220 return 0;
4221}
4222_ACEOF
4223rm -f conftest.$ac_objext conftest$ac_exeext
4224if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4225 (eval $ac_link) 2>conftest.er1
4226 ac_status=$?
4227 grep -v '^ *+' conftest.er1 >conftest.err
4228 rm -f conftest.er1
4229 cat conftest.err >&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); } &&
4232 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4234 (eval $ac_try) 2>&5
4235 ac_status=$?
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; } &&
4238 { ac_try='test -s conftest$ac_exeext'
4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240 (eval $ac_try) 2>&5
4241 ac_status=$?
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; }; then
4244 ac_cv_lib_rt_sched_yield=yes
4245else
4246 echo "$as_me: failed program was:" >&5
4247sed 's/^/| /' conftest.$ac_ext >&5
4248
4249ac_cv_lib_rt_sched_yield=no
4250fi
4251rm -f conftest.err conftest.$ac_objext \
4252 conftest$ac_exeext conftest.$ac_ext
4253LIBS=$ac_check_lib_save_LIBS
4254fi
4255echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
4256echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
4257if test $ac_cv_lib_rt_sched_yield = yes; then
4258 LIBS="$LIBS -lrt"
4259fi
4260
4261fi
4262
4263
4264echo "$as_me:$LINENO: checking for sched_yield support" >&5
4265echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6
4266cat >conftest.$ac_ext <<_ACEOF
4267/* confdefs.h. */
4268_ACEOF
4269cat confdefs.h >>conftest.$ac_ext
4270cat >>conftest.$ac_ext <<_ACEOF
4271/* end confdefs.h. */
4272#include <sched.h>
4273int
4274main ()
4275{
4276sched_yield ()
4277 ;
4278 return 0;
4279}
4280_ACEOF
4281rm -f conftest.$ac_objext conftest$ac_exeext
4282if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4283 (eval $ac_link) 2>conftest.er1
4284 ac_status=$?
4285 grep -v '^ *+' conftest.er1 >conftest.err
4286 rm -f conftest.er1
4287 cat conftest.err >&5
4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); } &&
4290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4292 (eval $ac_try) 2>&5
4293 ac_status=$?
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); }; } &&
4296 { ac_try='test -s conftest$ac_exeext'
4297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4298 (eval $ac_try) 2>&5
4299 ac_status=$?
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); }; }; then
4302 echo "$as_me:$LINENO: result: yes" >&5
4303echo "${ECHO_T}yes" >&6
4304
4305cat >>confdefs.h <<\_ACEOF
4306#define HAVE_SCHED_YIELD 1
4307_ACEOF
4308
4309else
4310 echo "$as_me: failed program was:" >&5
4311sed 's/^/| /' conftest.$ac_ext >&5
4312
4313echo "$as_me:$LINENO: result: no" >&5
4314echo "${ECHO_T}no" >&6
4315fi
4316rm -f conftest.err conftest.$ac_objext \
4317 conftest$ac_exeext conftest.$ac_ext
4318
4319
4320MALLOC_TYPE=S
4321
4322support_addstrings=no
4323support_frills=yes 3873support_frills=yes
4324support_inheritpixmap=no 3874support_inheritpixmap=yes
4325support_tinting=yes 3875support_tinting=yes
4326support_fading=yes 3876support_fading=yes
4327support_keepscrolling=yes 3877support_keepscrolling=yes
4328support_selectionscrolling=yes 3878support_selectionscrolling=yes
4329support_menubar=no
4330support_mousewheel=yes 3879support_mousewheel=yes
4331support_mouseslipwheel=yes 3880support_mouseslipwheel=yes
4332support_utmp=yes
4333support_wtmp=yes
4334support_lastlog=yes
4335support_text_blink=yes 3881support_text_blink=yes
4336support_pointer_blank=yes 3882support_pointer_blank=yes
4337support_scroll_rxvt=yes 3883support_scroll_rxvt=yes
4338support_scroll_next=yes 3884support_scroll_next=yes
4339support_scroll_xterm=yes 3885support_scroll_xterm=yes
4340support_scroll_plain=yes 3886support_scroll_plain=yes
4341support_xim=yes 3887support_xim=yes
4342support_xpm=no 3888support_xpm=yes
3889support_afterimage=yes
3890support_afterstep=yes
4343support_xft=yes 3891support_xft=yes
4344support_unicode3=no 3892support_unicode3=no
4345support_combining=yes 3893support_combining=yes
4346support_8bitctrls=no 3894support_8bitctrls=no
4347support_iso14755=yes 3895support_iso14755=yes
4348support_styles=yes 3896support_styles=yes
3897support_perl=yes
4349codesets=all 3898codesets=all
4350 3899
4351 3900
4352if test "x$enable_shared" = xyes; then 3901if test "x$enable_shared" = xyes; then
4353 3902
4362# Check whether --enable-everything or --disable-everything was given. 3911# Check whether --enable-everything or --disable-everything was given.
4363if test "${enable_everything+set}" = set; then 3912if test "${enable_everything+set}" = set; then
4364 enableval="$enable_everything" 3913 enableval="$enable_everything"
4365 3914
4366 if test x$enableval = xno; then 3915 if test x$enableval = xno; then
4367 support_24bit=no
4368 support_frills=no 3916 support_frills=no
4369 support_inheritpixmap=no 3917 support_inheritpixmap=no
4370 support_tinting=no 3918 support_tinting=no
4371 support_fading=no 3919 support_fading=no
4372 support_keepscrolling=no 3920 support_keepscrolling=no
4373 support_selectionscrolling=no 3921 support_selectionscrolling=no
4374 support_lastlog=no 3922 support_lastlog=no
4375 support_menubar=no
4376 support_mousewheel=no 3923 support_mousewheel=no
4377 support_mouseslipwheel=no 3924 support_mouseslipwheel=no
4378 support_text_blink=no 3925 support_text_blink=no
4379 support_pointer_blank=no 3926 support_pointer_blank=no
4380 support_scroll_rxvt=no 3927 support_scroll_rxvt=no
4383 support_scroll_plain=no 3930 support_scroll_plain=no
4384 support_utmp=no 3931 support_utmp=no
4385 support_wtmp=no 3932 support_wtmp=no
4386 support_xim=no 3933 support_xim=no
4387 support_xpm=no 3934 support_xpm=no
3935 support_afterimage=no
3936 support_afterstep=no
4388 support_xft=no 3937 support_xft=no
4389 support_unicode3=no 3938 support_unicode3=no
4390 support_combining=no 3939 support_combining=no
4391 support_8bitctrls=no 3940 support_8bitctrls=no
4392 support_iso14755=no 3941 support_iso14755=no
4393 support_styles=no 3942 support_styles=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
4423 support_styles=yes 3973 support_styles=yes
3974 support_perl=yes
4424 codesets=all 3975 codesets=all
4425 fi 3976 fi
4426 3977
4427fi; 3978fi;
4428 3979
4456 if test x$enableval = xyes -o x$enableval = xno; then 4007 if test x$enableval = xyes -o x$enableval = xno; then
4457 support_styles=$enableval 4008 support_styles=$enableval
4458 fi 4009 fi
4459fi; 4010fi;
4460 4011
4461# Check whether --enable-utmp or --disable-utmp was given.
4462if test "${enable_utmp+set}" = set; then
4463 enableval="$enable_utmp"
4464 if test x$enableval = xyes -o x$enableval = xno; then
4465 support_utmp=$enableval
4466 fi
4467fi;
4468
4469# Check whether --enable-wtmp or --disable-wtmp was given.
4470if test "${enable_wtmp+set}" = set; then
4471 enableval="$enable_wtmp"
4472 if test x$enableval = xyes -o x$enableval = xno; then
4473 support_wtmp=$enableval
4474 fi
4475fi;
4476
4477# Check whether --enable-lastlog or --disable-lastlog was given.
4478if test "${enable_lastlog+set}" = set; then
4479 enableval="$enable_lastlog"
4480 if test x$enableval = xyes -o x$enableval = xno; then
4481 support_lastlog=$enableval
4482 fi
4483fi;
4484
4485# Check whether --enable-xpm-background or --disable-xpm-background was given. 4012# Check whether --enable-xpm-background or --disable-xpm-background was given.
4486if test "${enable_xpm_background+set}" = set; then 4013if test "${enable_xpm_background+set}" = set; then
4487 enableval="$enable_xpm_background" 4014 enableval="$enable_xpm_background"
4488 if test x$enableval = xyes -o x$enableval = xno; then 4015 if test x$enableval = xyes -o x$enableval = xno; then
4489 support_xpm=$enableval 4016 support_xpm=$enableval
4490 fi 4017 fi
4491fi; 4018fi;
4492 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
4493# Check whether --enable-transparency or --disable-transparency was given. 4045# Check whether --enable-transparency or --disable-transparency was given.
4494if test "${enable_transparency+set}" = set; then 4046if test "${enable_transparency+set}" = set; then
4495 enableval="$enable_transparency" 4047 enableval="$enable_transparency"
4496 if test x$enableval = xyes -o x$enableval = xno; then 4048 if test x$enableval = xyes -o x$enableval = xno; then
4497 support_inheritpixmap=$enableval 4049 support_inheritpixmap=$enableval
4512 if test x$enableval = xyes -o x$enableval = xno; then 4064 if test x$enableval = xyes -o x$enableval = xno; then
4513 support_fading=$enableval 4065 support_fading=$enableval
4514 fi 4066 fi
4515fi; 4067fi;
4516 4068
4517# Check whether --enable-menubar or --disable-menubar was given.
4518if test "${enable_menubar+set}" = set; then
4519 enableval="$enable_menubar"
4520 if test x$enableval = xyes -o x$enableval = xno; then
4521 support_menubar=$enableval
4522 fi
4523fi;
4524
4525# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. 4069# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given.
4526if test "${enable_rxvt_scroll+set}" = set; then 4070if test "${enable_rxvt_scroll+set}" = set; then
4527 enableval="$enable_rxvt_scroll" 4071 enableval="$enable_rxvt_scroll"
4528 if test x$enableval = xyes -o x$enableval = xno; then 4072 if test x$enableval = xyes -o x$enableval = xno; then
4529 support_scroll_rxvt=$enableval 4073 support_scroll_rxvt=$enableval
4544 if test x$enableval = xyes -o x$enableval = xno; then 4088 if test x$enableval = xyes -o x$enableval = xno; then
4545 support_scroll_xterm=$enableval 4089 support_scroll_xterm=$enableval
4546 fi 4090 fi
4547fi; 4091fi;
4548 4092
4093# Check whether --enable-perl or --disable-perl was given.
4094if test "${enable_perl+set}" = set; then
4095 enableval="$enable_perl"
4096 if test x$enableval = xyes -o x$enableval = xno; then
4097 support_perl=$enableval
4098 fi
4099fi;
4100
4549# Check whether --enable-plain-scroll or --disable-plain-scroll was given. 4101# Check whether --enable-plain-scroll or --disable-plain-scroll was given.
4550if test "${enable_plain_scroll+set}" = set; then 4102if test "${enable_plain_scroll+set}" = set; then
4551 enableval="$enable_plain_scroll" 4103 enableval="$enable_plain_scroll"
4552 if test x$enableval = xyes -o x$enableval = xno; then 4104 if test x$enableval = xyes -o x$enableval = xno; then
4553 support_scroll_plain=$enableval 4105 support_scroll_plain=$enableval
4554 fi 4106 fi
4555fi; 4107fi;
4556 4108
4557# Check whether --enable-half-shadow or --disable-half-shadow was given.
4558if test "${enable_half_shadow+set}" = set; then
4559 enableval="$enable_half_shadow"
4560 if test x$enableval = xyes; then
4561
4562cat >>confdefs.h <<\_ACEOF
4563#define HALFSHADOW 1
4564_ACEOF
4565
4566 fi
4567fi;
4568
4569 4109
4570# Check whether --with-codesets or --without-codesets was given. 4110# Check whether --with-codesets or --without-codesets was given.
4571if test "${with_codesets+set}" = set; then 4111if test "${with_codesets+set}" = set; then
4572 withval="$with_codesets" 4112 withval="$with_codesets"
4573 codesets="$withval" 4113 codesets="$withval"
4579 if test x$enableval = xyes -o x$enableval = xno; then 4119 if test x$enableval = xyes -o x$enableval = xno; then
4580 support_xim=$enableval 4120 support_xim=$enableval
4581 fi 4121 fi
4582fi; 4122fi;
4583 4123
4584# Check whether --enable-ttygid or --disable-ttygid was given.
4585if test "${enable_ttygid+set}" = set; then
4586 enableval="$enable_ttygid"
4587 if test x$enableval = xyes; then
4588
4589cat >>confdefs.h <<\_ACEOF
4590#define TTY_GID_SUPPORT 1
4591_ACEOF
4592
4593 fi
4594fi;
4595
4596# Check whether --enable-backspace-key or --disable-backspace-key was given. 4124# Check whether --enable-backspace-key or --disable-backspace-key was given.
4597if test "${enable_backspace_key+set}" = set; then 4125if test "${enable_backspace_key+set}" = set; then
4598 enableval="$enable_backspace_key" 4126 enableval="$enable_backspace_key"
4599 if test x$enableval = xno; then 4127 if test x$enableval = xno; then
4600 4128
4622 enableval="$enable_resources" 4150 enableval="$enable_resources"
4623 if test x$enableval = xno; then 4151 if test x$enableval = xno; then
4624 4152
4625cat >>confdefs.h <<\_ACEOF 4153cat >>confdefs.h <<\_ACEOF
4626#define NO_RESOURCES 1 4154#define NO_RESOURCES 1
4627_ACEOF
4628
4629 fi
4630fi;
4631
4632# Check whether --enable-xgetdefault or --disable-xgetdefault was given.
4633if test "${enable_xgetdefault+set}" = set; then
4634 enableval="$enable_xgetdefault"
4635 if test x$enableval = xyes; then
4636
4637cat >>confdefs.h <<\_ACEOF
4638#define USE_XGETDEFAULT 1
4639_ACEOF 4155_ACEOF
4640 4156
4641 fi 4157 fi
4642fi; 4158fi;
4643 4159
4708 4224
4709 4225
4710RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 4226RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
4711 4227
4712 4228
4713# Check whether --enable-strings or --disable-strings was given.
4714if test "${enable_strings+set}" = set; then
4715 enableval="$enable_strings"
4716 if test x$enableval = xyes -o x$enableval = xno; then
4717 support_addstrings=$enableval
4718 fi
4719fi;
4720
4721# Check whether --enable-swapscreen or --disable-swapscreen was given. 4229# Check whether --enable-swapscreen or --disable-swapscreen was given.
4722if test "${enable_swapscreen+set}" = set; then 4230if test "${enable_swapscreen+set}" = set; then
4723 enableval="$enable_swapscreen" 4231 enableval="$enable_swapscreen"
4724 if test x$enableval = xno; then 4232 if test x$enableval = xno; then
4725 4233
4744 if test x$enableval = xyes -o x$enableval = xno; then 4252 if test x$enableval = xyes -o x$enableval = xno; then
4745 support_frills=$enableval 4253 support_frills=$enableval
4746 fi 4254 fi
4747fi; 4255fi;
4748 4256
4749# Check whether --enable-24bit or --disable-24bit was given.
4750if test "${enable_24bit+set}" = set; then
4751 enableval="$enable_24bit"
4752 if test x$enableval = xyes -o x$enableval = xno; then
4753 support_24bit=$enableval
4754 fi
4755fi;
4756
4757# Check whether --enable-keepscrolling or --disable-keepscrolling was given. 4257# Check whether --enable-keepscrolling or --disable-keepscrolling was given.
4758if test "${enable_keepscrolling+set}" = set; then 4258if test "${enable_keepscrolling+set}" = set; then
4759 enableval="$enable_keepscrolling" 4259 enableval="$enable_keepscrolling"
4760 if test x$enableval = xyes -o x$enableval = xno; then 4260 if test x$enableval = xyes -o x$enableval = xno; then
4761 support_keepscrolling=$enableval 4261 support_keepscrolling=$enableval
4784 if test x$enableval = xyes -o x$enableval = xno; then 4284 if test x$enableval = xyes -o x$enableval = xno; then
4785 support_mouseslipwheel=$enableval 4285 support_mouseslipwheel=$enableval
4786 fi 4286 fi
4787fi; 4287fi;
4788 4288
4789# Check whether --enable-dmalloc or --disable-dmalloc was given.
4790if test "${enable_dmalloc+set}" = set; then
4791 enableval="$enable_dmalloc"
4792 if test x$enableval = xyes; then
4793 MALLOC_TYPE=G
4794 DEBUG=-DDEBUG_MALLOC
4795 DLIB="-L/usr/local/lib -ldmalloc"
4796 DINCLUDE=-I/usr/local/include
4797 fi
4798fi;
4799
4800# Check whether --enable-dlmalloc or --disable-dlmalloc was given.
4801if test "${enable_dlmalloc+set}" = set; then
4802 enableval="$enable_dlmalloc"
4803 if test x$enableval = xyes; then
4804 MALLOC_TYPE=D
4805 DEBUG=
4806 DLIB="-L/usr/local/lib -ldlmalloc"
4807 DINCLUDE=
4808 fi
4809fi;
4810
4811# Check whether --enable-smart-resize or --disable-smart-resize was given. 4289# Check whether --enable-smart-resize or --disable-smart-resize was given.
4812if test "${enable_smart_resize+set}" = set; then 4290if test "${enable_smart_resize+set}" = set; then
4813 enableval="$enable_smart_resize" 4291 enableval="$enable_smart_resize"
4814 if test x$enableval = xyes; then 4292 if test x$enableval = xyes; then
4815 4293
4860_ACEOF 4338_ACEOF
4861 terminfo="$withval" 4339 terminfo="$withval"
4862 fi 4340 fi
4863fi; 4341fi;
4864 4342
4865
4866
4867cat >>confdefs.h <<\_ACEOF
4868#define PROTOTYPES 1
4869_ACEOF
4870
4871
4872# Extract the first word of "mv", so it can be a program name with args.
4873set dummy mv; ac_word=$2
4874echo "$as_me:$LINENO: checking for $ac_word" >&5
4875echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4876if test "${ac_cv_path_MV+set}" = set; then
4877 echo $ECHO_N "(cached) $ECHO_C" >&6
4878else
4879 case $MV in
4880 [\\/]* | ?:[\\/]*)
4881 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4882 ;;
4883 *)
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885for as_dir in $PATH
4886do
4887 IFS=$as_save_IFS
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 break 2
4894 fi
4895done
4896done
4897
4898 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
4899 ;;
4900esac
4901fi
4902MV=$ac_cv_path_MV
4903
4904if test -n "$MV"; then
4905 echo "$as_me:$LINENO: result: $MV" >&5
4906echo "${ECHO_T}$MV" >&6
4907else
4908 echo "$as_me:$LINENO: result: no" >&5
4909echo "${ECHO_T}no" >&6
4910fi
4911
4912# Extract the first word of "rm", so it can be a program name with args.
4913set dummy rm; ac_word=$2
4914echo "$as_me:$LINENO: checking for $ac_word" >&5
4915echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4916if test "${ac_cv_path_RM+set}" = set; then
4917 echo $ECHO_N "(cached) $ECHO_C" >&6
4918else
4919 case $RM in
4920 [\\/]* | ?:[\\/]*)
4921 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4922 ;;
4923 *)
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925for as_dir in $PATH
4926do
4927 IFS=$as_save_IFS
4928 test -z "$as_dir" && as_dir=.
4929 for ac_exec_ext in '' $ac_executable_extensions; do
4930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4931 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 break 2
4934 fi
4935done
4936done
4937
4938 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
4939 ;;
4940esac
4941fi
4942RM=$ac_cv_path_RM
4943
4944if test -n "$RM"; then
4945 echo "$as_me:$LINENO: result: $RM" >&5
4946echo "${ECHO_T}$RM" >&6
4947else
4948 echo "$as_me:$LINENO: result: no" >&5
4949echo "${ECHO_T}no" >&6
4950fi
4951
4952# Extract the first word of "cp", so it can be a program name with args.
4953set dummy cp; ac_word=$2
4954echo "$as_me:$LINENO: checking for $ac_word" >&5
4955echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4956if test "${ac_cv_path_CP+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4958else
4959 case $CP in
4960 [\\/]* | ?:[\\/]*)
4961 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4962 ;;
4963 *)
4964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965for as_dir in $PATH
4966do
4967 IFS=$as_save_IFS
4968 test -z "$as_dir" && as_dir=.
4969 for ac_exec_ext in '' $ac_executable_extensions; do
4970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4971 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 break 2
4974 fi
4975done
4976done
4977
4978 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
4979 ;;
4980esac
4981fi
4982CP=$ac_cv_path_CP
4983
4984if test -n "$CP"; then
4985 echo "$as_me:$LINENO: result: $CP" >&5
4986echo "${ECHO_T}$CP" >&6
4987else
4988 echo "$as_me:$LINENO: result: no" >&5
4989echo "${ECHO_T}no" >&6
4990fi
4991
4992# Extract the first word of "ln", so it can be a program name with args.
4993set dummy ln; ac_word=$2
4994echo "$as_me:$LINENO: checking for $ac_word" >&5
4995echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4996if test "${ac_cv_path_LN+set}" = set; then
4997 echo $ECHO_N "(cached) $ECHO_C" >&6
4998else
4999 case $LN in
5000 [\\/]* | ?:[\\/]*)
5001 ac_cv_path_LN="$LN" # Let the user override the test with a path.
5002 ;;
5003 *)
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005for as_dir in $PATH
5006do
5007 IFS=$as_save_IFS
5008 test -z "$as_dir" && as_dir=.
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5011 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
5012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 break 2
5014 fi
5015done
5016done
5017
5018 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
5019 ;;
5020esac
5021fi
5022LN=$ac_cv_path_LN
5023
5024if test -n "$LN"; then
5025 echo "$as_me:$LINENO: result: $LN" >&5
5026echo "${ECHO_T}$LN" >&6
5027else
5028 echo "$as_me:$LINENO: result: no" >&5
5029echo "${ECHO_T}no" >&6
5030fi
5031
5032# Extract the first word of "sed", so it can be a program name with args.
5033set dummy sed; ac_word=$2
5034echo "$as_me:$LINENO: checking for $ac_word" >&5
5035echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5036if test "${ac_cv_path_SED+set}" = set; then
5037 echo $ECHO_N "(cached) $ECHO_C" >&6
5038else
5039 case $SED in
5040 [\\/]* | ?:[\\/]*)
5041 ac_cv_path_SED="$SED" # Let the user override the test with a path.
5042 ;;
5043 *)
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045for as_dir in $PATH
5046do
5047 IFS=$as_save_IFS
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
5052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 break 2
5054 fi
5055done
5056done
5057
5058 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
5059 ;;
5060esac
5061fi
5062SED=$ac_cv_path_SED
5063
5064if test -n "$SED"; then
5065 echo "$as_me:$LINENO: result: $SED" >&5
5066echo "${ECHO_T}$SED" >&6
5067else
5068 echo "$as_me:$LINENO: result: no" >&5
5069echo "${ECHO_T}no" >&6
5070fi
5071
5072# Extract the first word of "echo", so it can be a program name with args.
5073set dummy echo; ac_word=$2
5074echo "$as_me:$LINENO: checking for $ac_word" >&5
5075echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5076if test "${ac_cv_path_ECHO+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5078else
5079 case $ECHO in
5080 [\\/]* | ?:[\\/]*)
5081 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
5082 ;;
5083 *)
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085for as_dir in $PATH
5086do
5087 IFS=$as_save_IFS
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5091 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
5092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 break 2
5094 fi
5095done
5096done
5097
5098 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
5099 ;;
5100esac
5101fi
5102ECHO=$ac_cv_path_ECHO
5103
5104if test -n "$ECHO"; then
5105 echo "$as_me:$LINENO: result: $ECHO" >&5
5106echo "${ECHO_T}$ECHO" >&6
5107else
5108 echo "$as_me:$LINENO: result: no" >&5
5109echo "${ECHO_T}no" >&6
5110fi
5111
5112# Extract the first word of "cmp", so it can be a program name with args.
5113set dummy cmp; ac_word=$2
5114echo "$as_me:$LINENO: checking for $ac_word" >&5
5115echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5116if test "${ac_cv_path_CMP+set}" = set; then
5117 echo $ECHO_N "(cached) $ECHO_C" >&6
5118else
5119 case $CMP in
5120 [\\/]* | ?:[\\/]*)
5121 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
5122 ;;
5123 *)
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5125for as_dir in $PATH
5126do
5127 IFS=$as_save_IFS
5128 test -z "$as_dir" && as_dir=.
5129 for ac_exec_ext in '' $ac_executable_extensions; do
5130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5131 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
5132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 break 2
5134 fi
5135done
5136done
5137
5138 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
5139 ;;
5140esac
5141fi
5142CMP=$ac_cv_path_CMP
5143
5144if test -n "$CMP"; then
5145 echo "$as_me:$LINENO: result: $CMP" >&5
5146echo "${ECHO_T}$CMP" >&6
5147else
5148 echo "$as_me:$LINENO: result: no" >&5
5149echo "${ECHO_T}no" >&6
5150fi
5151
5152# Extract the first word of "tbl", so it can be a program name with args.
5153set dummy tbl; ac_word=$2
5154echo "$as_me:$LINENO: checking for $ac_word" >&5
5155echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5156if test "${ac_cv_path_TBL+set}" = set; then
5157 echo $ECHO_N "(cached) $ECHO_C" >&6
5158else
5159 case $TBL in
5160 [\\/]* | ?:[\\/]*)
5161 ac_cv_path_TBL="$TBL" # Let the user override the test with a path.
5162 ;;
5163 *)
5164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5165for as_dir in $PATH
5166do
5167 IFS=$as_save_IFS
5168 test -z "$as_dir" && as_dir=.
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5171 ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext"
5172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 break 2
5174 fi
5175done
5176done
5177
5178 ;;
5179esac
5180fi
5181TBL=$ac_cv_path_TBL
5182
5183if test -n "$TBL"; then
5184 echo "$as_me:$LINENO: result: $TBL" >&5
5185echo "${ECHO_T}$TBL" >&6
5186else
5187 echo "$as_me:$LINENO: result: no" >&5
5188echo "${ECHO_T}no" >&6
5189fi
5190 4343
5191# 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.
5192set dummy tic; ac_word=$2 4345set dummy tic; ac_word=$2
5193echo "$as_me:$LINENO: checking for $ac_word" >&5 4346echo "$as_me:$LINENO: checking for $ac_word" >&5
5194echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4347echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5228fi 4381fi
5229 4382
5230 4383
5231 4384
5232 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
5233 4444
5234if 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
5235 echo "$as_me:$LINENO: checking for X" >&5 4617echo "$as_me:$LINENO: checking for X" >&5
5236echo $ECHO_N "checking for X... $ECHO_C" >&6 4618echo $ECHO_N "checking for X... $ECHO_C" >&6
5237 4619
5238ac_path_x_has_been_run=yes
5239 4620
5240# Check whether --with-x or --without-x was given. 4621# Check whether --with-x or --without-x was given.
5241if test "${with_x+set}" = set; then 4622if test "${with_x+set}" = set; then
5242 withval="$with_x" 4623 withval="$with_x"
5243 4624
5326 4707
5327/usr/openwin/include 4708/usr/openwin/include
5328/usr/openwin/share/include' 4709/usr/openwin/share/include'
5329 4710
5330if test "$ac_x_includes" = no; then 4711if test "$ac_x_includes" = no; then
5331 # 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.
5332 # First, try using that file with no special directory specified. 4713 # First, try using that file with no special directory specified.
5333 cat >conftest.$ac_ext <<_ACEOF 4714 cat >conftest.$ac_ext <<_ACEOF
5334/* confdefs.h. */ 4715/* confdefs.h. */
5335_ACEOF 4716_ACEOF
5336cat confdefs.h >>conftest.$ac_ext 4717cat confdefs.h >>conftest.$ac_ext
5337cat >>conftest.$ac_ext <<_ACEOF 4718cat >>conftest.$ac_ext <<_ACEOF
5338/* end confdefs.h. */ 4719/* end confdefs.h. */
5339#include <X11/Xlib.h> 4720#include <X11/Intrinsic.h>
5340_ACEOF 4721_ACEOF
5341if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4722if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5343 ac_status=$? 4724 ac_status=$?
5344 grep -v '^ *+' conftest.er1 >conftest.err 4725 grep -v '^ *+' conftest.er1 >conftest.err
5361else 4742else
5362 echo "$as_me: failed program was:" >&5 4743 echo "$as_me: failed program was:" >&5
5363sed 's/^/| /' conftest.$ac_ext >&5 4744sed 's/^/| /' conftest.$ac_ext >&5
5364 4745
5365 for ac_dir in $ac_x_header_dirs; do 4746 for ac_dir in $ac_x_header_dirs; do
5366 if test -r "$ac_dir/X11/Xlib.h"; then 4747 if test -r "$ac_dir/X11/Intrinsic.h"; then
5367 ac_x_includes=$ac_dir 4748 ac_x_includes=$ac_dir
5368 break 4749 break
5369 fi 4750 fi
5370done 4751done
5371fi 4752fi
5375if test "$ac_x_libraries" = no; then 4756if test "$ac_x_libraries" = no; then
5376 # Check for the libraries. 4757 # Check for the libraries.
5377 # See if we find them without any special options. 4758 # See if we find them without any special options.
5378 # Don't add to $LIBS permanently. 4759 # Don't add to $LIBS permanently.
5379 ac_save_LIBS=$LIBS 4760 ac_save_LIBS=$LIBS
5380 LIBS="-lX11 $LIBS" 4761 LIBS="-lXt $LIBS"
5381 cat >conftest.$ac_ext <<_ACEOF 4762 cat >conftest.$ac_ext <<_ACEOF
5382/* confdefs.h. */ 4763/* confdefs.h. */
5383_ACEOF 4764_ACEOF
5384cat confdefs.h >>conftest.$ac_ext 4765cat confdefs.h >>conftest.$ac_ext
5385cat >>conftest.$ac_ext <<_ACEOF 4766cat >>conftest.$ac_ext <<_ACEOF
5386/* end confdefs.h. */ 4767/* end confdefs.h. */
5387#include <X11/Xlib.h> 4768#include <X11/Intrinsic.h>
5388int 4769int
5389main () 4770main ()
5390{ 4771{
5391XrmInitialize () 4772XtMalloc (0)
5392 ; 4773 ;
5393 return 0; 4774 return 0;
5394} 4775}
5395_ACEOF 4776_ACEOF
5396rm -f conftest.$ac_objext conftest$ac_exeext 4777rm -f conftest.$ac_objext conftest$ac_exeext
5400 grep -v '^ *+' conftest.er1 >conftest.err 4781 grep -v '^ *+' conftest.er1 >conftest.err
5401 rm -f conftest.er1 4782 rm -f conftest.er1
5402 cat conftest.err >&5 4783 cat conftest.err >&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); } && 4785 (exit $ac_status); } &&
5405 { 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'
5406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5407 (eval $ac_try) 2>&5 4789 (eval $ac_try) 2>&5
5408 ac_status=$? 4790 ac_status=$?
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); }; } && 4792 (exit $ac_status); }; } &&
5424LIBS=$ac_save_LIBS 4806LIBS=$ac_save_LIBS
5425for 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`
5426do 4808do
5427 # 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!
5428 for ac_extension in a so sl; do 4810 for ac_extension in a so sl; do
5429 if test -r $ac_dir/libX11.$ac_extension; then 4811 if test -r $ac_dir/libXt.$ac_extension; then
5430 ac_x_libraries=$ac_dir 4812 ac_x_libraries=$ac_dir
5431 break 2 4813 break 2
5432 fi 4814 fi
5433 done 4815 done
5434done 4816done
5460 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 4842 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5461 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 4843 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5462 # Update the cache value to reflect the command line values. 4844 # Update the cache value to reflect the command line values.
5463 ac_cv_have_x="have_x=yes \ 4845 ac_cv_have_x="have_x=yes \
5464 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 4846 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5465 # It might be that x_includes is empty (headers are found in the
5466 # standard search path. Then output the corresponding message
5467 ac_out_x_includes=$x_includes
5468 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
5469 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
5470echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 4848echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5471fi 4849fi
5472 4850
5473fi
5474if test "$no_x" = yes; then 4851if test "$no_x" = yes; then
5475 # 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.
5476 4853
5477cat >>confdefs.h <<\_ACEOF 4854cat >>confdefs.h <<\_ACEOF
5478#define X_DISPLAY_MISSING 1 4855#define X_DISPLAY_MISSING 1
5516 grep -v '^ *+' conftest.er1 >conftest.err 4893 grep -v '^ *+' conftest.er1 >conftest.err
5517 rm -f conftest.er1 4894 rm -f conftest.er1
5518 cat conftest.err >&5 4895 cat conftest.err >&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); } && 4897 (exit $ac_status); } &&
5521 { 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'
5522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5523 (eval $ac_try) 2>&5 4901 (eval $ac_try) 2>&5
5524 ac_status=$? 4902 ac_status=$?
5525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526 (exit $ac_status); }; } && 4904 (exit $ac_status); }; } &&
5567 grep -v '^ *+' conftest.er1 >conftest.err 4945 grep -v '^ *+' conftest.er1 >conftest.err
5568 rm -f conftest.er1 4946 rm -f conftest.er1
5569 cat conftest.err >&5 4947 cat conftest.err >&5
5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); } && 4949 (exit $ac_status); } &&
5572 { 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'
5573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5574 (eval $ac_try) 2>&5 4953 (eval $ac_try) 2>&5
5575 ac_status=$? 4954 ac_status=$?
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); }; } && 4956 (exit $ac_status); }; } &&
5643 grep -v '^ *+' conftest.er1 >conftest.err 5022 grep -v '^ *+' conftest.er1 >conftest.err
5644 rm -f conftest.er1 5023 rm -f conftest.er1
5645 cat conftest.err >&5 5024 cat conftest.err >&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); } && 5026 (exit $ac_status); } &&
5648 { 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'
5649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5650 (eval $ac_try) 2>&5 5030 (eval $ac_try) 2>&5
5651 ac_status=$? 5031 ac_status=$?
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); }; } && 5033 (exit $ac_status); }; } &&
5698 grep -v '^ *+' conftest.er1 >conftest.err 5078 grep -v '^ *+' conftest.er1 >conftest.err
5699 rm -f conftest.er1 5079 rm -f conftest.er1
5700 cat conftest.err >&5 5080 cat conftest.err >&5
5701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702 (exit $ac_status); } && 5082 (exit $ac_status); } &&
5703 { 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'
5704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5705 (eval $ac_try) 2>&5 5086 (eval $ac_try) 2>&5
5706 ac_status=$? 5087 ac_status=$?
5707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); }; } && 5089 (exit $ac_status); }; } &&
5766 grep -v '^ *+' conftest.er1 >conftest.err 5147 grep -v '^ *+' conftest.er1 >conftest.err
5767 rm -f conftest.er1 5148 rm -f conftest.er1
5768 cat conftest.err >&5 5149 cat conftest.err >&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); } && 5151 (exit $ac_status); } &&
5771 { 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'
5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 (eval $ac_try) 2>&5 5155 (eval $ac_try) 2>&5
5774 ac_status=$? 5156 ac_status=$?
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; } && 5158 (exit $ac_status); }; } &&
5874 grep -v '^ *+' conftest.er1 >conftest.err 5256 grep -v '^ *+' conftest.er1 >conftest.err
5875 rm -f conftest.er1 5257 rm -f conftest.er1
5876 cat conftest.err >&5 5258 cat conftest.err >&5
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); } && 5260 (exit $ac_status); } &&
5879 { 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'
5880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881 (eval $ac_try) 2>&5 5264 (eval $ac_try) 2>&5
5882 ac_status=$? 5265 ac_status=$?
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); }; } && 5267 (exit $ac_status); }; } &&
5938 grep -v '^ *+' conftest.er1 >conftest.err 5321 grep -v '^ *+' conftest.er1 >conftest.err
5939 rm -f conftest.er1 5322 rm -f conftest.er1
5940 cat conftest.err >&5 5323 cat conftest.err >&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); } && 5325 (exit $ac_status); } &&
5943 { 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'
5944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5945 (eval $ac_try) 2>&5 5329 (eval $ac_try) 2>&5
5946 ac_status=$? 5330 ac_status=$?
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); }; } && 5332 (exit $ac_status); }; } &&
6006 grep -v '^ *+' conftest.er1 >conftest.err 5390 grep -v '^ *+' conftest.er1 >conftest.err
6007 rm -f conftest.er1 5391 rm -f conftest.er1
6008 cat conftest.err >&5 5392 cat conftest.err >&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); } && 5394 (exit $ac_status); } &&
6011 { 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'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6013 (eval $ac_try) 2>&5 5398 (eval $ac_try) 2>&5
6014 ac_status=$? 5399 ac_status=$?
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; } && 5401 (exit $ac_status); }; } &&
6110 grep -v '^ *+' conftest.er1 >conftest.err 5495 grep -v '^ *+' conftest.er1 >conftest.err
6111 rm -f conftest.er1 5496 rm -f conftest.er1
6112 cat conftest.err >&5 5497 cat conftest.err >&5
6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 (exit $ac_status); } && 5499 (exit $ac_status); } &&
6115 { 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'
6116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6117 (eval $ac_try) 2>&5 5503 (eval $ac_try) 2>&5
6118 ac_status=$? 5504 ac_status=$?
6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); }; } && 5506 (exit $ac_status); }; } &&
6174 grep -v '^ *+' conftest.er1 >conftest.err 5560 grep -v '^ *+' conftest.er1 >conftest.err
6175 rm -f conftest.er1 5561 rm -f conftest.er1
6176 cat conftest.err >&5 5562 cat conftest.err >&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); } && 5564 (exit $ac_status); } &&
6179 { 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'
6180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6181 (eval $ac_try) 2>&5 5568 (eval $ac_try) 2>&5
6182 ac_status=$? 5569 ac_status=$?
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); }; } && 5571 (exit $ac_status); }; } &&
6271 grep -v '^ *+' conftest.er1 >conftest.err 5658 grep -v '^ *+' conftest.er1 >conftest.err
6272 rm -f conftest.er1 5659 rm -f conftest.er1
6273 cat conftest.err >&5 5660 cat conftest.err >&5
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); } && 5662 (exit $ac_status); } &&
6276 { 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'
6277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6278 (eval $ac_try) 2>&5 5666 (eval $ac_try) 2>&5
6279 ac_status=$? 5667 ac_status=$?
6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); }; } && 5669 (exit $ac_status); }; } &&
6335 grep -v '^ *+' conftest.er1 >conftest.err 5723 grep -v '^ *+' conftest.er1 >conftest.err
6336 rm -f conftest.er1 5724 rm -f conftest.er1
6337 cat conftest.err >&5 5725 cat conftest.err >&5
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); } && 5727 (exit $ac_status); } &&
6340 { 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'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 (eval $ac_try) 2>&5 5731 (eval $ac_try) 2>&5
6343 ac_status=$? 5732 ac_status=$?
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; } && 5734 (exit $ac_status); }; } &&
6432 grep -v '^ *+' conftest.er1 >conftest.err 5821 grep -v '^ *+' conftest.er1 >conftest.err
6433 rm -f conftest.er1 5822 rm -f conftest.er1
6434 cat conftest.err >&5 5823 cat conftest.err >&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); } && 5825 (exit $ac_status); } &&
6437 { 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'
6438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6439 (eval $ac_try) 2>&5 5829 (eval $ac_try) 2>&5
6440 ac_status=$? 5830 ac_status=$?
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); }; } && 5832 (exit $ac_status); }; } &&
6496 grep -v '^ *+' conftest.er1 >conftest.err 5886 grep -v '^ *+' conftest.er1 >conftest.err
6497 rm -f conftest.er1 5887 rm -f conftest.er1
6498 cat conftest.err >&5 5888 cat conftest.err >&5
6499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500 (exit $ac_status); } && 5890 (exit $ac_status); } &&
6501 { 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'
6502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6503 (eval $ac_try) 2>&5 5894 (eval $ac_try) 2>&5
6504 ac_status=$? 5895 ac_status=$?
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); }; } && 5897 (exit $ac_status); }; } &&
6575 grep -v '^ *+' conftest.er1 >conftest.err 5966 grep -v '^ *+' conftest.er1 >conftest.err
6576 rm -f conftest.er1 5967 rm -f conftest.er1
6577 cat conftest.err >&5 5968 cat conftest.err >&5
6578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 (exit $ac_status); } && 5970 (exit $ac_status); } &&
6580 { 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'
6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6582 (eval $ac_try) 2>&5 5974 (eval $ac_try) 2>&5
6583 ac_status=$? 5975 ac_status=$?
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); }; } && 5977 (exit $ac_status); }; } &&
6610 6002
6611fi 6003fi
6612 6004
6613 6005
6614 6006
6007LIBAFTERIMAGE_CFLAGS=
6008AFTERIMAGE_LIBS=
6009have_afterimage=
6010
6615if 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
6616 6077
6617 6078
6618 6079
6619# Initialize some more variables set by options. 6080# Initialize some more variables set by options.
6620# The variables have the same names as the options, with 6081# The variables have the same names as the options, with
6791 grep -v '^ *+' conftest.er1 >conftest.err 6252 grep -v '^ *+' conftest.er1 >conftest.err
6792 rm -f conftest.er1 6253 rm -f conftest.er1
6793 cat conftest.err >&5 6254 cat conftest.err >&5
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); } && 6256 (exit $ac_status); } &&
6796 { 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'
6797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6798 (eval $ac_try) 2>&5 6260 (eval $ac_try) 2>&5
6799 ac_status=$? 6261 ac_status=$?
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); }; } && 6263 (exit $ac_status); }; } &&
7005 grep -v '^ *+' conftest.er1 >conftest.err 6467 grep -v '^ *+' conftest.er1 >conftest.err
7006 rm -f conftest.er1 6468 rm -f conftest.er1
7007 cat conftest.err >&5 6469 cat conftest.err >&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); } && 6471 (exit $ac_status); } &&
7010 { 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'
7011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 (eval $ac_try) 2>&5 6475 (eval $ac_try) 2>&5
7013 ac_status=$? 6476 ac_status=$?
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); }; } && 6478 (exit $ac_status); }; } &&
7069 grep -v '^ *+' conftest.er1 >conftest.err 6532 grep -v '^ *+' conftest.er1 >conftest.err
7070 rm -f conftest.er1 6533 rm -f conftest.er1
7071 cat conftest.err >&5 6534 cat conftest.err >&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); } && 6536 (exit $ac_status); } &&
7074 { 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'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7076 (eval $ac_try) 2>&5 6540 (eval $ac_try) 2>&5
7077 ac_status=$? 6541 ac_status=$?
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; } && 6543 (exit $ac_status); }; } &&
7239 grep -v '^ *+' conftest.er1 >conftest.err 6703 grep -v '^ *+' conftest.er1 >conftest.err
7240 rm -f conftest.er1 6704 rm -f conftest.er1
7241 cat conftest.err >&5 6705 cat conftest.err >&5
7242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243 (exit $ac_status); } && 6707 (exit $ac_status); } &&
7244 { 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'
7245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7246 (eval $ac_try) 2>&5 6711 (eval $ac_try) 2>&5
7247 ac_status=$? 6712 ac_status=$?
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); }; } && 6714 (exit $ac_status); }; } &&
7289 6754
7290 6755
7291 6756
7292 6757
7293 6758
7294
7295
7296
7297
7298
7299
7300
7301for ac_header in \ 6759for ac_header in \
7302 assert.h \ 6760 assert.h \
7303 fcntl.h \ 6761 fcntl.h \
7304 grp.h \
7305 libc.h \
7306 lastlog.h \
7307 stdarg.h \ 6762 stdarg.h \
7308 stdlib.h \ 6763 stdlib.h \
7309 string.h \ 6764 string.h \
7310 termios.h \ 6765 termios.h \
7311 unistd.h \ 6766 unistd.h \
7312 sys/byteorder.h \ 6767 sys/byteorder.h \
7313 sys/ioctl.h \ 6768 sys/ioctl.h \
7314 sys/select.h \ 6769 sys/select.h \
7315 sys/sockio.h \ 6770 sys/sockio.h \
7316 sys/strredir.h \ 6771 sys/strredir.h \
7317 sys/stropts.h \
7318 sys/time.h \ 6772 sys/time.h \
7319 utmp.h \ 6773 stdint.h \
7320 utmpx.h \ 6774 wchar.h \
7321 stdint.h \ 6775 cwchar \
7322 pty.h \ 6776 clocale \
7323 wchar.h \
7324 cwchar \
7325 clocale \
7326 6777
7327do 6778do
7328as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6779as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7329if eval "test \"\${$as_ac_Header+set}\" = set"; then 6780if eval "test \"\${$as_ac_Header+set}\" = set"; then
7330 echo "$as_me:$LINENO: checking for $ac_header" >&5 6781 echo "$as_me:$LINENO: checking for $ac_header" >&5
7354 grep -v '^ *+' conftest.er1 >conftest.err 6805 grep -v '^ *+' conftest.er1 >conftest.err
7355 rm -f conftest.er1 6806 rm -f conftest.er1
7356 cat conftest.err >&5 6807 cat conftest.err >&5
7357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7358 (exit $ac_status); } && 6809 (exit $ac_status); } &&
7359 { 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'
7360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7361 (eval $ac_try) 2>&5 6813 (eval $ac_try) 2>&5
7362 ac_status=$? 6814 ac_status=$?
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); }; } && 6816 (exit $ac_status); }; } &&
7503 grep -v '^ *+' conftest.er1 >conftest.err 6955 grep -v '^ *+' conftest.er1 >conftest.err
7504 rm -f conftest.er1 6956 rm -f conftest.er1
7505 cat conftest.err >&5 6957 cat conftest.err >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } && 6959 (exit $ac_status); } &&
7508 { 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'
7509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510 (eval $ac_try) 2>&5 6963 (eval $ac_try) 2>&5
7511 ac_status=$? 6964 ac_status=$?
7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); }; } && 6966 (exit $ac_status); }; } &&
7568 grep -v '^ *+' conftest.er1 >conftest.err 7021 grep -v '^ *+' conftest.er1 >conftest.err
7569 rm -f conftest.er1 7022 rm -f conftest.er1
7570 cat conftest.err >&5 7023 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } && 7025 (exit $ac_status); } &&
7573 { 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'
7574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7575 (eval $ac_try) 2>&5 7029 (eval $ac_try) 2>&5
7576 ac_status=$? 7030 ac_status=$?
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); }; } && 7032 (exit $ac_status); }; } &&
7591fi 7045fi
7592rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7046rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7593fi 7047fi
7594echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 7048echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7595echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6 7049echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6
7596
7597if test -n "$GCC"; then
7598 LDARG="-Wl,"
7599else
7600 LDARG=""
7601fi
7602R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g'
7603
7604ac_save_CFLAGS=$CFLAGS
7605ac_save_LIBS=$LIBS
7606CFLAGS="$CFLAGS $X_CFLAGS"
7607LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7608echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5
7609echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6
7610if test "${rxvt_cv_rpath+set}" = set; then
7611 echo $ECHO_N "(cached) $ECHO_C" >&6
7612else
7613 if test "$cross_compiling" = yes; then
7614 { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5
7615echo "$as_me: WARNING: You may need to check the LIBS line" >&2;}
7616else
7617 cat >conftest.$ac_ext <<_ACEOF
7618/* confdefs.h. */
7619_ACEOF
7620cat confdefs.h >>conftest.$ac_ext
7621cat >>conftest.$ac_ext <<_ACEOF
7622/* end confdefs.h. */
7623
7624main()
7625{
7626 exit(0);
7627 (void) XOpenDisplay("foobar");
7628}
7629_ACEOF
7630rm -f conftest$ac_exeext
7631if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7632 (eval $ac_link) 2>&5
7633 ac_status=$?
7634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7637 (eval $ac_try) 2>&5
7638 ac_status=$?
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; }; then
7641 rxvt_cv_rpath=yes
7642else
7643 echo "$as_me: program exited with status $ac_status" >&5
7644echo "$as_me: failed program was:" >&5
7645sed 's/^/| /' conftest.$ac_ext >&5
7646
7647( exit $ac_status )
7648rxvt_cv_rpath=no
7649fi
7650rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7651fi
7652fi
7653echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5
7654echo "${ECHO_T}$rxvt_cv_rpath" >&6
7655if test x$rxvt_cv_rpath != xyes; then
7656 R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g'
7657 LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7658 echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5
7659echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6
7660if test "${rxvt_cv_R+set}" = set; then
7661 echo $ECHO_N "(cached) $ECHO_C" >&6
7662else
7663 if test "$cross_compiling" = yes; then
7664 rxvt_cv_R=no
7665else
7666 cat >conftest.$ac_ext <<_ACEOF
7667/* confdefs.h. */
7668_ACEOF
7669cat confdefs.h >>conftest.$ac_ext
7670cat >>conftest.$ac_ext <<_ACEOF
7671/* end confdefs.h. */
7672
7673main()
7674{
7675 exit(0);
7676 (void) XOpenDisplay("foobar");
7677}
7678_ACEOF
7679rm -f conftest$ac_exeext
7680if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7681 (eval $ac_link) 2>&5
7682 ac_status=$?
7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7686 (eval $ac_try) 2>&5
7687 ac_status=$?
7688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689 (exit $ac_status); }; }; then
7690 rxvt_cv_R=yes
7691else
7692 echo "$as_me: program exited with status $ac_status" >&5
7693echo "$as_me: failed program was:" >&5
7694sed 's/^/| /' conftest.$ac_ext >&5
7695
7696( exit $ac_status )
7697rxvt_cv_R=no
7698fi
7699rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7700fi
7701fi
7702echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5
7703echo "${ECHO_T}$rxvt_cv_R" >&6
7704 if test x$rxvt_cv_R != xyes; then
7705 LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
7706 fi
7707fi
7708 7050
7709echo "$as_me:$LINENO: checking for XPointer" >&5 7051echo "$as_me:$LINENO: checking for XPointer" >&5
7710echo $ECHO_N "checking for XPointer... $ECHO_C" >&6 7052echo $ECHO_N "checking for XPointer... $ECHO_C" >&6
7711if test "${rxvt_cv_xpointer+set}" = set; then 7053if test "${rxvt_cv_xpointer+set}" = set; then
7712 echo $ECHO_N "(cached) $ECHO_C" >&6 7054 echo $ECHO_N "(cached) $ECHO_C" >&6
7733 grep -v '^ *+' conftest.er1 >conftest.err 7075 grep -v '^ *+' conftest.er1 >conftest.err
7734 rm -f conftest.er1 7076 rm -f conftest.er1
7735 cat conftest.err >&5 7077 cat conftest.err >&5
7736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737 (exit $ac_status); } && 7079 (exit $ac_status); } &&
7738 { 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'
7739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7740 (eval $ac_try) 2>&5 7083 (eval $ac_try) 2>&5
7741 ac_status=$? 7084 ac_status=$?
7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); }; } && 7086 (exit $ac_status); }; } &&
7763cat >>confdefs.h <<\_ACEOF 7106cat >>confdefs.h <<\_ACEOF
7764#define HAVE_XPOINTER 1 7107#define HAVE_XPOINTER 1
7765_ACEOF 7108_ACEOF
7766 7109
7767fi 7110fi
7768LIBS=$ac_save_LIBS
7769CFLAGS=$ac_save_CFLAGS
7770 7111
7112echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7113echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6
7114if test "${rxvt_xlib_illegal_access+set}" = set; then
7115 echo $ECHO_N "(cached) $ECHO_C" >&6
7116else
7117 cat >conftest.$ac_ext <<_ACEOF
7118/* confdefs.h. */
7119_ACEOF
7120cat confdefs.h >>conftest.$ac_ext
7121cat >>conftest.$ac_ext <<_ACEOF
7122/* end confdefs.h. */
7123
7124#define XLIB_ILLEGAL_ACCESS
7125#include <X11/Xlib.h>
7126
7127int
7128main ()
7129{
7130
7131 Display *dpy;
7132 dpy->xdefaults = (char *)0;
7133
7134 ;
7135 return 0;
7136}
7137_ACEOF
7138rm -f conftest.$ac_objext
7139if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7140 (eval $ac_compile) 2>conftest.er1
7141 ac_status=$?
7142 grep -v '^ *+' conftest.er1 >conftest.err
7143 rm -f conftest.er1
7144 cat conftest.err >&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } &&
7147 { ac_try='test -z "$ac_cxx_werror_flag"
7148 || test ! -s conftest.err'
7149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7150 (eval $ac_try) 2>&5
7151 ac_status=$?
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); }; } &&
7154 { ac_try='test -s conftest.$ac_objext'
7155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7156 (eval $ac_try) 2>&5
7157 ac_status=$?
7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159 (exit $ac_status); }; }; then
7160 rxvt_xlib_illegal_access=yes
7161else
7162 echo "$as_me: failed program was:" >&5
7163sed 's/^/| /' conftest.$ac_ext >&5
7164
7165rxvt_xlib_illegal_access=no
7166
7167fi
7168rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7169fi
7170echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5
7171echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6
7172if test x$rxvt_xlib_illegal_access = xyes; then
7173
7174cat >>confdefs.h <<\_ACEOF
7175#define XLIB_ILLEGAL_ACCESS 1
7176_ACEOF
7177
7178fi
7771 7179
7772echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7180echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7773echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7181echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7774if test "${ac_cv_c_const+set}" = set; then 7182if test "${ac_cv_c_const+set}" = set; then
7775 echo $ECHO_N "(cached) $ECHO_C" >&6 7183 echo $ECHO_N "(cached) $ECHO_C" >&6
7842 grep -v '^ *+' conftest.er1 >conftest.err 7250 grep -v '^ *+' conftest.er1 >conftest.err
7843 rm -f conftest.er1 7251 rm -f conftest.er1
7844 cat conftest.err >&5 7252 cat conftest.err >&5
7845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846 (exit $ac_status); } && 7254 (exit $ac_status); } &&
7847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7255 { ac_try='test -z "$ac_cxx_werror_flag"
7256 || test ! -s conftest.err'
7848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7849 (eval $ac_try) 2>&5 7258 (eval $ac_try) 2>&5
7850 ac_status=$? 7259 ac_status=$?
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 (exit $ac_status); }; } && 7261 (exit $ac_status); }; } &&
7902 grep -v '^ *+' conftest.er1 >conftest.err 7311 grep -v '^ *+' conftest.er1 >conftest.err
7903 rm -f conftest.er1 7312 rm -f conftest.er1
7904 cat conftest.err >&5 7313 cat conftest.err >&5
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); } && 7315 (exit $ac_status); } &&
7907 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7316 { ac_try='test -z "$ac_cxx_werror_flag"
7317 || test ! -s conftest.err'
7908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7909 (eval $ac_try) 2>&5 7319 (eval $ac_try) 2>&5
7910 ac_status=$? 7320 ac_status=$?
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); }; } && 7322 (exit $ac_status); }; } &&
7977 grep -v '^ *+' conftest.er1 >conftest.err 7387 grep -v '^ *+' conftest.er1 >conftest.err
7978 rm -f conftest.er1 7388 rm -f conftest.er1
7979 cat conftest.err >&5 7389 cat conftest.err >&5
7980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981 (exit $ac_status); } && 7391 (exit $ac_status); } &&
7982 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7392 { ac_try='test -z "$ac_cxx_werror_flag"
7393 || test ! -s conftest.err'
7983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7984 (eval $ac_try) 2>&5 7395 (eval $ac_try) 2>&5
7985 ac_status=$? 7396 ac_status=$?
7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 (exit $ac_status); }; } && 7398 (exit $ac_status); }; } &&
8042 grep -v '^ *+' conftest.er1 >conftest.err 7453 grep -v '^ *+' conftest.er1 >conftest.err
8043 rm -f conftest.er1 7454 rm -f conftest.er1
8044 cat conftest.err >&5 7455 cat conftest.err >&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); } && 7457 (exit $ac_status); } &&
8047 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7458 { ac_try='test -z "$ac_cxx_werror_flag"
7459 || test ! -s conftest.err'
8048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8049 (eval $ac_try) 2>&5 7461 (eval $ac_try) 2>&5
8050 ac_status=$? 7462 ac_status=$?
8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); }; } && 7464 (exit $ac_status); }; } &&
8146 grep -v '^ *+' conftest.er1 >conftest.err 7558 grep -v '^ *+' conftest.er1 >conftest.err
8147 rm -f conftest.er1 7559 rm -f conftest.er1
8148 cat conftest.err >&5 7560 cat conftest.err >&5
8149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150 (exit $ac_status); } && 7562 (exit $ac_status); } &&
8151 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7563 { ac_try='test -z "$ac_cxx_werror_flag"
7564 || test ! -s conftest.err'
8152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8153 (eval $ac_try) 2>&5 7566 (eval $ac_try) 2>&5
8154 ac_status=$? 7567 ac_status=$?
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); }; } && 7569 (exit $ac_status); }; } &&
8208 grep -v '^ *+' conftest.er1 >conftest.err 7621 grep -v '^ *+' conftest.er1 >conftest.err
8209 rm -f conftest.er1 7622 rm -f conftest.er1
8210 cat conftest.err >&5 7623 cat conftest.err >&5
8211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 (exit $ac_status); } && 7625 (exit $ac_status); } &&
8213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7626 { ac_try='test -z "$ac_cxx_werror_flag"
7627 || test ! -s conftest.err'
8214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8215 (eval $ac_try) 2>&5 7629 (eval $ac_try) 2>&5
8216 ac_status=$? 7630 ac_status=$?
8217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8218 (exit $ac_status); }; } && 7632 (exit $ac_status); }; } &&
8248 grep -v '^ *+' conftest.er1 >conftest.err 7662 grep -v '^ *+' conftest.er1 >conftest.err
8249 rm -f conftest.er1 7663 rm -f conftest.er1
8250 cat conftest.err >&5 7664 cat conftest.err >&5
8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8252 (exit $ac_status); } && 7666 (exit $ac_status); } &&
8253 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7667 { ac_try='test -z "$ac_cxx_werror_flag"
7668 || test ! -s conftest.err'
8254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8255 (eval $ac_try) 2>&5 7670 (eval $ac_try) 2>&5
8256 ac_status=$? 7671 ac_status=$?
8257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8258 (exit $ac_status); }; } && 7673 (exit $ac_status); }; } &&
8304 grep -v '^ *+' conftest.er1 >conftest.err 7719 grep -v '^ *+' conftest.er1 >conftest.err
8305 rm -f conftest.er1 7720 rm -f conftest.er1
8306 cat conftest.err >&5 7721 cat conftest.err >&5
8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 (exit $ac_status); } && 7723 (exit $ac_status); } &&
8309 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7724 { ac_try='test -z "$ac_cxx_werror_flag"
7725 || test ! -s conftest.err'
8310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8311 (eval $ac_try) 2>&5 7727 (eval $ac_try) 2>&5
8312 ac_status=$? 7728 ac_status=$?
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); }; } && 7730 (exit $ac_status); }; } &&
8344 grep -v '^ *+' conftest.er1 >conftest.err 7760 grep -v '^ *+' conftest.er1 >conftest.err
8345 rm -f conftest.er1 7761 rm -f conftest.er1
8346 cat conftest.err >&5 7762 cat conftest.err >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); } && 7764 (exit $ac_status); } &&
8349 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7765 { ac_try='test -z "$ac_cxx_werror_flag"
7766 || test ! -s conftest.err'
8350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 (eval $ac_try) 2>&5 7768 (eval $ac_try) 2>&5
8352 ac_status=$? 7769 ac_status=$?
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); }; } && 7771 (exit $ac_status); }; } &&
8408 grep -v '^ *+' conftest.er1 >conftest.err 7825 grep -v '^ *+' conftest.er1 >conftest.err
8409 rm -f conftest.er1 7826 rm -f conftest.er1
8410 cat conftest.err >&5 7827 cat conftest.err >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); } && 7829 (exit $ac_status); } &&
8413 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7830 { ac_try='test -z "$ac_cxx_werror_flag"
7831 || test ! -s conftest.err'
8414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8415 (eval $ac_try) 2>&5 7833 (eval $ac_try) 2>&5
8416 ac_status=$? 7834 ac_status=$?
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 (exit $ac_status); }; } && 7836 (exit $ac_status); }; } &&
8439See \`config.log' for more details." >&2;} 7857See \`config.log' for more details." >&2;}
8440 { (exit 1); exit 1; }; } ;; 7858 { (exit 1); exit 1; }; } ;;
8441esac 7859esac
8442else 7860else
8443 if test "$cross_compiling" = yes; then 7861 if test "$cross_compiling" = yes; then
8444 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 7862 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8445echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 7863See \`config.log' for more details." >&5
7864echo "$as_me: error: cannot run test program while cross compiling
7865See \`config.log' for more details." >&2;}
8446 { (exit 1); exit 1; }; } 7866 { (exit 1); exit 1; }; }
8447else 7867else
8448 cat >conftest.$ac_ext <<_ACEOF 7868 cat >conftest.$ac_ext <<_ACEOF
8449/* confdefs.h. */ 7869/* confdefs.h. */
8450_ACEOF 7870_ACEOF
8552 grep -v '^ *+' conftest.er1 >conftest.err 7972 grep -v '^ *+' conftest.er1 >conftest.err
8553 rm -f conftest.er1 7973 rm -f conftest.er1
8554 cat conftest.err >&5 7974 cat conftest.err >&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); } && 7976 (exit $ac_status); } &&
8557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7977 { ac_try='test -z "$ac_cxx_werror_flag"
7978 || test ! -s conftest.err'
8558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8559 (eval $ac_try) 2>&5 7980 (eval $ac_try) 2>&5
8560 ac_status=$? 7981 ac_status=$?
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); }; } && 7983 (exit $ac_status); }; } &&
8614 grep -v '^ *+' conftest.er1 >conftest.err 8035 grep -v '^ *+' conftest.er1 >conftest.err
8615 rm -f conftest.er1 8036 rm -f conftest.er1
8616 cat conftest.err >&5 8037 cat conftest.err >&5
8617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 (exit $ac_status); } && 8039 (exit $ac_status); } &&
8619 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8040 { ac_try='test -z "$ac_cxx_werror_flag"
8041 || test ! -s conftest.err'
8620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8621 (eval $ac_try) 2>&5 8043 (eval $ac_try) 2>&5
8622 ac_status=$? 8044 ac_status=$?
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); }; } && 8046 (exit $ac_status); }; } &&
8654 grep -v '^ *+' conftest.er1 >conftest.err 8076 grep -v '^ *+' conftest.er1 >conftest.err
8655 rm -f conftest.er1 8077 rm -f conftest.er1
8656 cat conftest.err >&5 8078 cat conftest.err >&5
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); } && 8080 (exit $ac_status); } &&
8659 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8081 { ac_try='test -z "$ac_cxx_werror_flag"
8082 || test ! -s conftest.err'
8660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8661 (eval $ac_try) 2>&5 8084 (eval $ac_try) 2>&5
8662 ac_status=$? 8085 ac_status=$?
8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8664 (exit $ac_status); }; } && 8087 (exit $ac_status); }; } &&
8710 grep -v '^ *+' conftest.er1 >conftest.err 8133 grep -v '^ *+' conftest.er1 >conftest.err
8711 rm -f conftest.er1 8134 rm -f conftest.er1
8712 cat conftest.err >&5 8135 cat conftest.err >&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); } && 8137 (exit $ac_status); } &&
8715 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8138 { ac_try='test -z "$ac_cxx_werror_flag"
8139 || test ! -s conftest.err'
8716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8717 (eval $ac_try) 2>&5 8141 (eval $ac_try) 2>&5
8718 ac_status=$? 8142 ac_status=$?
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); }; } && 8144 (exit $ac_status); }; } &&
8750 grep -v '^ *+' conftest.er1 >conftest.err 8174 grep -v '^ *+' conftest.er1 >conftest.err
8751 rm -f conftest.er1 8175 rm -f conftest.er1
8752 cat conftest.err >&5 8176 cat conftest.err >&5
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); } && 8178 (exit $ac_status); } &&
8755 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8179 { ac_try='test -z "$ac_cxx_werror_flag"
8180 || test ! -s conftest.err'
8756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8757 (eval $ac_try) 2>&5 8182 (eval $ac_try) 2>&5
8758 ac_status=$? 8183 ac_status=$?
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); }; } && 8185 (exit $ac_status); }; } &&
8814 grep -v '^ *+' conftest.er1 >conftest.err 8239 grep -v '^ *+' conftest.er1 >conftest.err
8815 rm -f conftest.er1 8240 rm -f conftest.er1
8816 cat conftest.err >&5 8241 cat conftest.err >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); } && 8243 (exit $ac_status); } &&
8819 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8244 { ac_try='test -z "$ac_cxx_werror_flag"
8245 || test ! -s conftest.err'
8820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8821 (eval $ac_try) 2>&5 8247 (eval $ac_try) 2>&5
8822 ac_status=$? 8248 ac_status=$?
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); }; } && 8250 (exit $ac_status); }; } &&
8845See \`config.log' for more details." >&2;} 8271See \`config.log' for more details." >&2;}
8846 { (exit 1); exit 1; }; } ;; 8272 { (exit 1); exit 1; }; } ;;
8847esac 8273esac
8848else 8274else
8849 if test "$cross_compiling" = yes; then 8275 if test "$cross_compiling" = yes; then
8850 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8276 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8851echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8277See \`config.log' for more details." >&5
8278echo "$as_me: error: cannot run test program while cross compiling
8279See \`config.log' for more details." >&2;}
8852 { (exit 1); exit 1; }; } 8280 { (exit 1); exit 1; }; }
8853else 8281else
8854 cat >conftest.$ac_ext <<_ACEOF 8282 cat >conftest.$ac_ext <<_ACEOF
8855/* confdefs.h. */ 8283/* confdefs.h. */
8856_ACEOF 8284_ACEOF
8958 grep -v '^ *+' conftest.er1 >conftest.err 8386 grep -v '^ *+' conftest.er1 >conftest.err
8959 rm -f conftest.er1 8387 rm -f conftest.er1
8960 cat conftest.err >&5 8388 cat conftest.err >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); } && 8390 (exit $ac_status); } &&
8963 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8391 { ac_try='test -z "$ac_cxx_werror_flag"
8392 || test ! -s conftest.err'
8964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 (eval $ac_try) 2>&5 8394 (eval $ac_try) 2>&5
8966 ac_status=$? 8395 ac_status=$?
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); }; } && 8397 (exit $ac_status); }; } &&
9020 grep -v '^ *+' conftest.er1 >conftest.err 8449 grep -v '^ *+' conftest.er1 >conftest.err
9021 rm -f conftest.er1 8450 rm -f conftest.er1
9022 cat conftest.err >&5 8451 cat conftest.err >&5
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); } && 8453 (exit $ac_status); } &&
9025 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8454 { ac_try='test -z "$ac_cxx_werror_flag"
8455 || test ! -s conftest.err'
9026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9027 (eval $ac_try) 2>&5 8457 (eval $ac_try) 2>&5
9028 ac_status=$? 8458 ac_status=$?
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); }; } && 8460 (exit $ac_status); }; } &&
9060 grep -v '^ *+' conftest.er1 >conftest.err 8490 grep -v '^ *+' conftest.er1 >conftest.err
9061 rm -f conftest.er1 8491 rm -f conftest.er1
9062 cat conftest.err >&5 8492 cat conftest.err >&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); } && 8494 (exit $ac_status); } &&
9065 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8495 { ac_try='test -z "$ac_cxx_werror_flag"
8496 || test ! -s conftest.err'
9066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067 (eval $ac_try) 2>&5 8498 (eval $ac_try) 2>&5
9068 ac_status=$? 8499 ac_status=$?
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); }; } && 8501 (exit $ac_status); }; } &&
9116 grep -v '^ *+' conftest.er1 >conftest.err 8547 grep -v '^ *+' conftest.er1 >conftest.err
9117 rm -f conftest.er1 8548 rm -f conftest.er1
9118 cat conftest.err >&5 8549 cat conftest.err >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } && 8551 (exit $ac_status); } &&
9121 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8552 { ac_try='test -z "$ac_cxx_werror_flag"
8553 || test ! -s conftest.err'
9122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123 (eval $ac_try) 2>&5 8555 (eval $ac_try) 2>&5
9124 ac_status=$? 8556 ac_status=$?
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); }; } && 8558 (exit $ac_status); }; } &&
9156 grep -v '^ *+' conftest.er1 >conftest.err 8588 grep -v '^ *+' conftest.er1 >conftest.err
9157 rm -f conftest.er1 8589 rm -f conftest.er1
9158 cat conftest.err >&5 8590 cat conftest.err >&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); } && 8592 (exit $ac_status); } &&
9161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8593 { ac_try='test -z "$ac_cxx_werror_flag"
8594 || test ! -s conftest.err'
9162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9163 (eval $ac_try) 2>&5 8596 (eval $ac_try) 2>&5
9164 ac_status=$? 8597 ac_status=$?
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); }; } && 8599 (exit $ac_status); }; } &&
9220 grep -v '^ *+' conftest.er1 >conftest.err 8653 grep -v '^ *+' conftest.er1 >conftest.err
9221 rm -f conftest.er1 8654 rm -f conftest.er1
9222 cat conftest.err >&5 8655 cat conftest.err >&5
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); } && 8657 (exit $ac_status); } &&
9225 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8658 { ac_try='test -z "$ac_cxx_werror_flag"
8659 || test ! -s conftest.err'
9226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9227 (eval $ac_try) 2>&5 8661 (eval $ac_try) 2>&5
9228 ac_status=$? 8662 ac_status=$?
9229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9230 (exit $ac_status); }; } && 8664 (exit $ac_status); }; } &&
9251See \`config.log' for more details." >&2;} 8685See \`config.log' for more details." >&2;}
9252 { (exit 1); exit 1; }; } ;; 8686 { (exit 1); exit 1; }; } ;;
9253esac 8687esac
9254else 8688else
9255 if test "$cross_compiling" = yes; then 8689 if test "$cross_compiling" = yes; then
9256 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8690 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9257echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8691See \`config.log' for more details." >&5
8692echo "$as_me: error: cannot run test program while cross compiling
8693See \`config.log' for more details." >&2;}
9258 { (exit 1); exit 1; }; } 8694 { (exit 1); exit 1; }; }
9259else 8695else
9260 cat >conftest.$ac_ext <<_ACEOF 8696 cat >conftest.$ac_ext <<_ACEOF
9261/* confdefs.h. */ 8697/* confdefs.h. */
9262_ACEOF 8698_ACEOF
9364 grep -v '^ *+' conftest.er1 >conftest.err 8800 grep -v '^ *+' conftest.er1 >conftest.err
9365 rm -f conftest.er1 8801 rm -f conftest.er1
9366 cat conftest.err >&5 8802 cat conftest.err >&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); } && 8804 (exit $ac_status); } &&
9369 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8805 { ac_try='test -z "$ac_cxx_werror_flag"
8806 || test ! -s conftest.err'
9370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9371 (eval $ac_try) 2>&5 8808 (eval $ac_try) 2>&5
9372 ac_status=$? 8809 ac_status=$?
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); }; } && 8811 (exit $ac_status); }; } &&
9426 grep -v '^ *+' conftest.er1 >conftest.err 8863 grep -v '^ *+' conftest.er1 >conftest.err
9427 rm -f conftest.er1 8864 rm -f conftest.er1
9428 cat conftest.err >&5 8865 cat conftest.err >&5
9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430 (exit $ac_status); } && 8867 (exit $ac_status); } &&
9431 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8868 { ac_try='test -z "$ac_cxx_werror_flag"
8869 || test ! -s conftest.err'
9432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9433 (eval $ac_try) 2>&5 8871 (eval $ac_try) 2>&5
9434 ac_status=$? 8872 ac_status=$?
9435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436 (exit $ac_status); }; } && 8874 (exit $ac_status); }; } &&
9466 grep -v '^ *+' conftest.er1 >conftest.err 8904 grep -v '^ *+' conftest.er1 >conftest.err
9467 rm -f conftest.er1 8905 rm -f conftest.er1
9468 cat conftest.err >&5 8906 cat conftest.err >&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); } && 8908 (exit $ac_status); } &&
9471 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8909 { ac_try='test -z "$ac_cxx_werror_flag"
8910 || test ! -s conftest.err'
9472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9473 (eval $ac_try) 2>&5 8912 (eval $ac_try) 2>&5
9474 ac_status=$? 8913 ac_status=$?
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }; } && 8915 (exit $ac_status); }; } &&
9522 grep -v '^ *+' conftest.er1 >conftest.err 8961 grep -v '^ *+' conftest.er1 >conftest.err
9523 rm -f conftest.er1 8962 rm -f conftest.er1
9524 cat conftest.err >&5 8963 cat conftest.err >&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); } && 8965 (exit $ac_status); } &&
9527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8966 { ac_try='test -z "$ac_cxx_werror_flag"
8967 || test ! -s conftest.err'
9528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9529 (eval $ac_try) 2>&5 8969 (eval $ac_try) 2>&5
9530 ac_status=$? 8970 ac_status=$?
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); }; } && 8972 (exit $ac_status); }; } &&
9562 grep -v '^ *+' conftest.er1 >conftest.err 9002 grep -v '^ *+' conftest.er1 >conftest.err
9563 rm -f conftest.er1 9003 rm -f conftest.er1
9564 cat conftest.err >&5 9004 cat conftest.err >&5
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 (exit $ac_status); } && 9006 (exit $ac_status); } &&
9567 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9007 { ac_try='test -z "$ac_cxx_werror_flag"
9008 || test ! -s conftest.err'
9568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9569 (eval $ac_try) 2>&5 9010 (eval $ac_try) 2>&5
9570 ac_status=$? 9011 ac_status=$?
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); }; } && 9013 (exit $ac_status); }; } &&
9626 grep -v '^ *+' conftest.er1 >conftest.err 9067 grep -v '^ *+' conftest.er1 >conftest.err
9627 rm -f conftest.er1 9068 rm -f conftest.er1
9628 cat conftest.err >&5 9069 cat conftest.err >&5
9629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630 (exit $ac_status); } && 9071 (exit $ac_status); } &&
9631 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9072 { ac_try='test -z "$ac_cxx_werror_flag"
9073 || test ! -s conftest.err'
9632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9633 (eval $ac_try) 2>&5 9075 (eval $ac_try) 2>&5
9634 ac_status=$? 9076 ac_status=$?
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); }; } && 9078 (exit $ac_status); }; } &&
9657See \`config.log' for more details." >&2;} 9099See \`config.log' for more details." >&2;}
9658 { (exit 1); exit 1; }; } ;; 9100 { (exit 1); exit 1; }; } ;;
9659esac 9101esac
9660else 9102else
9661 if test "$cross_compiling" = yes; then 9103 if test "$cross_compiling" = yes; then
9662 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 9104 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9663echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 9105See \`config.log' for more details." >&5
9106echo "$as_me: error: cannot run test program while cross compiling
9107See \`config.log' for more details." >&2;}
9664 { (exit 1); exit 1; }; } 9108 { (exit 1); exit 1; }; }
9665else 9109else
9666 cat >conftest.$ac_ext <<_ACEOF 9110 cat >conftest.$ac_ext <<_ACEOF
9667/* confdefs.h. */ 9111/* confdefs.h. */
9668_ACEOF 9112_ACEOF
9769 grep -v '^ *+' conftest.er1 >conftest.err 9213 grep -v '^ *+' conftest.er1 >conftest.err
9770 rm -f conftest.er1 9214 rm -f conftest.er1
9771 cat conftest.err >&5 9215 cat conftest.err >&5
9772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 (exit $ac_status); } && 9217 (exit $ac_status); } &&
9774 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9218 { ac_try='test -z "$ac_cxx_werror_flag"
9219 || test ! -s conftest.err'
9775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776 (eval $ac_try) 2>&5 9221 (eval $ac_try) 2>&5
9777 ac_status=$? 9222 ac_status=$?
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); }; } && 9224 (exit $ac_status); }; } &&
9851 grep -v '^ *+' conftest.er1 >conftest.err 9296 grep -v '^ *+' conftest.er1 >conftest.err
9852 rm -f conftest.er1 9297 rm -f conftest.er1
9853 cat conftest.err >&5 9298 cat conftest.err >&5
9854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9855 (exit $ac_status); } && 9300 (exit $ac_status); } &&
9856 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9301 { ac_try='test -z "$ac_cxx_werror_flag"
9302 || test ! -s conftest.err'
9857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9858 (eval $ac_try) 2>&5 9304 (eval $ac_try) 2>&5
9859 ac_status=$? 9305 ac_status=$?
9860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9861 (exit $ac_status); }; } && 9307 (exit $ac_status); }; } &&
9933 grep -v '^ *+' conftest.er1 >conftest.err 9379 grep -v '^ *+' conftest.er1 >conftest.err
9934 rm -f conftest.er1 9380 rm -f conftest.er1
9935 cat conftest.err >&5 9381 cat conftest.err >&5
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); } && 9383 (exit $ac_status); } &&
9938 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9384 { ac_try='test -z "$ac_cxx_werror_flag"
9385 || test ! -s conftest.err'
9939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9940 (eval $ac_try) 2>&5 9387 (eval $ac_try) 2>&5
9941 ac_status=$? 9388 ac_status=$?
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); }; } && 9390 (exit $ac_status); }; } &&
10015 grep -v '^ *+' conftest.er1 >conftest.err 9462 grep -v '^ *+' conftest.er1 >conftest.err
10016 rm -f conftest.er1 9463 rm -f conftest.er1
10017 cat conftest.err >&5 9464 cat conftest.err >&5
10018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10019 (exit $ac_status); } && 9466 (exit $ac_status); } &&
10020 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9467 { ac_try='test -z "$ac_cxx_werror_flag"
9468 || test ! -s conftest.err'
10021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10022 (eval $ac_try) 2>&5 9470 (eval $ac_try) 2>&5
10023 ac_status=$? 9471 ac_status=$?
10024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025 (exit $ac_status); }; } && 9473 (exit $ac_status); }; } &&
10127 grep -v '^ *+' conftest.er1 >conftest.err 9575 grep -v '^ *+' conftest.er1 >conftest.err
10128 rm -f conftest.er1 9576 rm -f conftest.er1
10129 cat conftest.err >&5 9577 cat conftest.err >&5
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); } && 9579 (exit $ac_status); } &&
10132 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9580 { ac_try='test -z "$ac_cxx_werror_flag"
9581 || test ! -s conftest.err'
10133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10134 (eval $ac_try) 2>&5 9583 (eval $ac_try) 2>&5
10135 ac_status=$? 9584 ac_status=$?
10136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10137 (exit $ac_status); }; } && 9586 (exit $ac_status); }; } &&
10157#define RETSIGTYPE $ac_cv_type_signal 9606#define RETSIGTYPE $ac_cv_type_signal
10158_ACEOF 9607_ACEOF
10159 9608
10160 9609
10161 9610
10162case "$host_alias" in
10163 *ultrix) ac_cv_func_setsid='no' ;;
10164 *) break;;
10165esac
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183 9611
10184 9612
10185 9613
10186for ac_func in \ 9614for ac_func in \
10187 atexit \
10188 revoke \
10189 unsetenv \ 9615 unsetenv \
10190 setutent \ 9616 setutent \
10191 seteuid \
10192 setreuid \
10193 setsid \
10194 setpgrp \
10195 setpgid \
10196 openpty \
10197 _getpty \
10198 grantpt \
10199 unlockpt \
10200 isastream \
10201 on_exit \ 9617 on_exit \
10202 nanosleep \
10203 updwtmp \
10204 updwtmpx \
10205 ttyslot \
10206 9618
10207do 9619do
10208as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9620as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10209echo "$as_me:$LINENO: checking for $ac_func" >&5 9621echo "$as_me:$LINENO: checking for $ac_func" >&5
10210echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9622echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10269 grep -v '^ *+' conftest.er1 >conftest.err 9681 grep -v '^ *+' conftest.er1 >conftest.err
10270 rm -f conftest.er1 9682 rm -f conftest.er1
10271 cat conftest.err >&5 9683 cat conftest.err >&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); } && 9685 (exit $ac_status); } &&
10274 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9686 { ac_try='test -z "$ac_cxx_werror_flag"
9687 || test ! -s conftest.err'
10275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10276 (eval $ac_try) 2>&5 9689 (eval $ac_try) 2>&5
10277 ac_status=$? 9690 ac_status=$?
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); }; } && 9692 (exit $ac_status); }; } &&
10303fi 9716fi
10304done 9717done
10305 9718
10306 9719
10307 9720
9721support_utmp=yes
9722support_wtmp=yes
9723support_lastlog=yes
9724
9725# Check whether --enable-utmp or --disable-utmp was given.
9726if test "${enable_utmp+set}" = set; then
9727 enableval="$enable_utmp"
9728 if test x$enableval = xyes -o x$enableval = xno; then
9729 support_utmp=$enableval
9730 fi
9731fi;
9732
9733# Check whether --enable-wtmp or --disable-wtmp was given.
9734if test "${enable_wtmp+set}" = set; then
9735 enableval="$enable_wtmp"
9736 if test x$enableval = xyes -o x$enableval = xno; then
9737 support_wtmp=$enableval
9738 fi
9739fi;
9740
9741# Check whether --enable-lastlog or --disable-lastlog was given.
9742if test "${enable_lastlog+set}" = set; then
9743 enableval="$enable_lastlog"
9744 if test x$enableval = xyes -o x$enableval = xno; then
9745 support_lastlog=$enableval
9746 fi
9747fi;
9748
9749if test x$support_utmp = xyes; then
9750
9751cat >>confdefs.h <<\_ACEOF
9752#define UTMP_SUPPORT 1
9753_ACEOF
9754
9755fi
9756if test x$support_wtmp = xyes; then
9757
9758cat >>confdefs.h <<\_ACEOF
9759#define WTMP_SUPPORT 1
9760_ACEOF
9761
9762fi
9763if test x$support_lastlog = xyes; then
9764
9765cat >>confdefs.h <<\_ACEOF
9766#define LASTLOG_SUPPORT 1
9767_ACEOF
9768
9769fi
9770
9771
9772
9773
9774for ac_func in \
9775 ttyslot \
9776 updwtmp \
9777 updwtmpx \
9778
9779do
9780as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9781echo "$as_me:$LINENO: checking for $ac_func" >&5
9782echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9783if eval "test \"\${$as_ac_var+set}\" = set"; then
9784 echo $ECHO_N "(cached) $ECHO_C" >&6
9785else
9786 cat >conftest.$ac_ext <<_ACEOF
9787/* confdefs.h. */
9788_ACEOF
9789cat confdefs.h >>conftest.$ac_ext
9790cat >>conftest.$ac_ext <<_ACEOF
9791/* end confdefs.h. */
9792/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9794#define $ac_func innocuous_$ac_func
9795
9796/* System header to define __stub macros and hopefully few prototypes,
9797 which can conflict with char $ac_func (); below.
9798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9799 <limits.h> exists even on freestanding compilers. */
9800
9801#ifdef __STDC__
9802# include <limits.h>
9803#else
9804# include <assert.h>
9805#endif
9806
9807#undef $ac_func
9808
9809/* Override any gcc2 internal prototype to avoid an error. */
9810#ifdef __cplusplus
9811extern "C"
9812{
9813#endif
9814/* We use char because int might match the return type of a gcc2
9815 builtin and then its argument prototype would still apply. */
9816char $ac_func ();
9817/* The GNU C library defines this for functions which it implements
9818 to always fail with ENOSYS. Some functions are actually named
9819 something starting with __ and the normal name is an alias. */
9820#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9821choke me
9822#else
9823char (*f) () = $ac_func;
9824#endif
9825#ifdef __cplusplus
9826}
9827#endif
9828
9829int
9830main ()
9831{
9832return f != $ac_func;
9833 ;
9834 return 0;
9835}
9836_ACEOF
9837rm -f conftest.$ac_objext conftest$ac_exeext
9838if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9839 (eval $ac_link) 2>conftest.er1
9840 ac_status=$?
9841 grep -v '^ *+' conftest.er1 >conftest.err
9842 rm -f conftest.er1
9843 cat conftest.err >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } &&
9846 { ac_try='test -z "$ac_cxx_werror_flag"
9847 || test ! -s conftest.err'
9848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9849 (eval $ac_try) 2>&5
9850 ac_status=$?
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); }; } &&
9853 { ac_try='test -s conftest$ac_exeext'
9854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9855 (eval $ac_try) 2>&5
9856 ac_status=$?
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); }; }; then
9859 eval "$as_ac_var=yes"
9860else
9861 echo "$as_me: failed program was:" >&5
9862sed 's/^/| /' conftest.$ac_ext >&5
9863
9864eval "$as_ac_var=no"
9865fi
9866rm -f conftest.err conftest.$ac_objext \
9867 conftest$ac_exeext conftest.$ac_ext
9868fi
9869echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9870echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9871if test `eval echo '${'$as_ac_var'}'` = yes; then
9872 cat >>confdefs.h <<_ACEOF
9873#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9874_ACEOF
9875
9876fi
9877done
9878
9879
9880
9881
9882
9883for ac_header in \
9884 utmp.h \
9885 utmpx.h \
9886 lastlog.h \
9887
9888do
9889as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9890if eval "test \"\${$as_ac_Header+set}\" = set"; then
9891 echo "$as_me:$LINENO: checking for $ac_header" >&5
9892echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9893if eval "test \"\${$as_ac_Header+set}\" = set"; then
9894 echo $ECHO_N "(cached) $ECHO_C" >&6
9895fi
9896echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9897echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9898else
9899 # Is the header compilable?
9900echo "$as_me:$LINENO: checking $ac_header usability" >&5
9901echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9902cat >conftest.$ac_ext <<_ACEOF
9903/* confdefs.h. */
9904_ACEOF
9905cat confdefs.h >>conftest.$ac_ext
9906cat >>conftest.$ac_ext <<_ACEOF
9907/* end confdefs.h. */
9908$ac_includes_default
9909#include <$ac_header>
9910_ACEOF
9911rm -f conftest.$ac_objext
9912if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9913 (eval $ac_compile) 2>conftest.er1
9914 ac_status=$?
9915 grep -v '^ *+' conftest.er1 >conftest.err
9916 rm -f conftest.er1
9917 cat conftest.err >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); } &&
9920 { ac_try='test -z "$ac_cxx_werror_flag"
9921 || test ! -s conftest.err'
9922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9923 (eval $ac_try) 2>&5
9924 ac_status=$?
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); }; } &&
9927 { ac_try='test -s conftest.$ac_objext'
9928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9929 (eval $ac_try) 2>&5
9930 ac_status=$?
9931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932 (exit $ac_status); }; }; then
9933 ac_header_compiler=yes
9934else
9935 echo "$as_me: failed program was:" >&5
9936sed 's/^/| /' conftest.$ac_ext >&5
9937
9938ac_header_compiler=no
9939fi
9940rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9941echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9942echo "${ECHO_T}$ac_header_compiler" >&6
9943
9944# Is the header present?
9945echo "$as_me:$LINENO: checking $ac_header presence" >&5
9946echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9947cat >conftest.$ac_ext <<_ACEOF
9948/* confdefs.h. */
9949_ACEOF
9950cat confdefs.h >>conftest.$ac_ext
9951cat >>conftest.$ac_ext <<_ACEOF
9952/* end confdefs.h. */
9953#include <$ac_header>
9954_ACEOF
9955if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9957 ac_status=$?
9958 grep -v '^ *+' conftest.er1 >conftest.err
9959 rm -f conftest.er1
9960 cat conftest.err >&5
9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962 (exit $ac_status); } >/dev/null; then
9963 if test -s conftest.err; then
9964 ac_cpp_err=$ac_cxx_preproc_warn_flag
9965 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
9966 else
9967 ac_cpp_err=
9968 fi
9969else
9970 ac_cpp_err=yes
9971fi
9972if test -z "$ac_cpp_err"; then
9973 ac_header_preproc=yes
9974else
9975 echo "$as_me: failed program was:" >&5
9976sed 's/^/| /' conftest.$ac_ext >&5
9977
9978 ac_header_preproc=no
9979fi
9980rm -f conftest.err conftest.$ac_ext
9981echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9982echo "${ECHO_T}$ac_header_preproc" >&6
9983
9984# So? What about this header?
9985case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9986 yes:no: )
9987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9988echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9990echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9991 ac_header_preproc=yes
9992 ;;
9993 no:yes:* )
9994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9995echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9997echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9999echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10001echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10003echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10005echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10006 (
10007 cat <<\_ASBOX
10008## ------------------------------------------ ##
10009## Report this to the AC_PACKAGE_NAME lists. ##
10010## ------------------------------------------ ##
10011_ASBOX
10012 ) |
10013 sed "s/^/$as_me: WARNING: /" >&2
10014 ;;
10015esac
10016echo "$as_me:$LINENO: checking for $ac_header" >&5
10017echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10018if eval "test \"\${$as_ac_Header+set}\" = set"; then
10019 echo $ECHO_N "(cached) $ECHO_C" >&6
10020else
10021 eval "$as_ac_Header=\$ac_header_preproc"
10022fi
10023echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10024echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10025
10026fi
10027if test `eval echo '${'$as_ac_Header'}'` = yes; then
10028 cat >>confdefs.h <<_ACEOF
10029#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10030_ACEOF
10031
10032fi
10033
10034done
10035
10036
10037
10308if test "${ac_cv_header_utmp_h+set}" = set; then 10038if test "${ac_cv_header_utmp_h+set}" = set; then
10309 echo "$as_me:$LINENO: checking for utmp.h" >&5 10039 echo "$as_me:$LINENO: checking for utmp.h" >&5
10310echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 10040echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6
10311if test "${ac_cv_header_utmp_h+set}" = set; then 10041if test "${ac_cv_header_utmp_h+set}" = set; then
10312 echo $ECHO_N "(cached) $ECHO_C" >&6 10042 echo $ECHO_N "(cached) $ECHO_C" >&6
10333 grep -v '^ *+' conftest.er1 >conftest.err 10063 grep -v '^ *+' conftest.er1 >conftest.err
10334 rm -f conftest.er1 10064 rm -f conftest.er1
10335 cat conftest.err >&5 10065 cat conftest.err >&5
10336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10337 (exit $ac_status); } && 10067 (exit $ac_status); } &&
10338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10068 { ac_try='test -z "$ac_cxx_werror_flag"
10069 || test ! -s conftest.err'
10339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10340 (eval $ac_try) 2>&5 10071 (eval $ac_try) 2>&5
10341 ac_status=$? 10072 ac_status=$?
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); }; } && 10074 (exit $ac_status); }; } &&
10442 10173
10443fi 10174fi
10444if test $ac_cv_header_utmp_h = yes; then 10175if test $ac_cv_header_utmp_h = yes; then
10445 echo "$as_me:$LINENO: checking for struct utmp" >&5 10176 echo "$as_me:$LINENO: checking for struct utmp" >&5
10446echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 10177echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6
10447if test "${rxvt_cv_struct_utmp+set}" = set; then 10178if test "${struct_utmp+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6 10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10449else 10180else
10450 cat >conftest.$ac_ext <<_ACEOF 10181 cat >conftest.$ac_ext <<_ACEOF
10451/* confdefs.h. */ 10182/* confdefs.h. */
10452_ACEOF 10183_ACEOF
10453cat confdefs.h >>conftest.$ac_ext 10184cat confdefs.h >>conftest.$ac_ext
10454cat >>conftest.$ac_ext <<_ACEOF 10185cat >>conftest.$ac_ext <<_ACEOF
10455/* end confdefs.h. */ 10186/* end confdefs.h. */
10456#include <sys/types.h> 10187#include <sys/types.h>
10457#include <stdint.h>
10458#include <utmp.h> 10188#include <utmp.h>
10459int 10189int
10460main () 10190main ()
10461{ 10191{
10462struct utmp ut; 10192struct utmp ut;
10471 grep -v '^ *+' conftest.er1 >conftest.err 10201 grep -v '^ *+' conftest.er1 >conftest.err
10472 rm -f conftest.er1 10202 rm -f conftest.er1
10473 cat conftest.err >&5 10203 cat conftest.err >&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); } && 10205 (exit $ac_status); } &&
10476 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10206 { ac_try='test -z "$ac_cxx_werror_flag"
10207 || test ! -s conftest.err'
10477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10478 (eval $ac_try) 2>&5 10209 (eval $ac_try) 2>&5
10479 ac_status=$? 10210 ac_status=$?
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); }; } && 10212 (exit $ac_status); }; } &&
10483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10484 (eval $ac_try) 2>&5 10215 (eval $ac_try) 2>&5
10485 ac_status=$? 10216 ac_status=$?
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); }; }; then 10218 (exit $ac_status); }; }; then
10488 rxvt_cv_struct_utmp=yes 10219 struct_utmp=yes
10489else 10220else
10490 echo "$as_me: failed program was:" >&5 10221 echo "$as_me: failed program was:" >&5
10491sed 's/^/| /' conftest.$ac_ext >&5 10222sed 's/^/| /' conftest.$ac_ext >&5
10492 10223
10493rxvt_cv_struct_utmp=no 10224struct_utmp=no
10494fi 10225fi
10495rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10226rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10496fi 10227fi
10497echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 10228echo "$as_me:$LINENO: result: $struct_utmp" >&5
10498echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 10229echo "${ECHO_T}$struct_utmp" >&6
10499if test x$rxvt_cv_struct_utmp = xyes; then 10230if test x$struct_utmp = xyes; then
10500 10231
10501cat >>confdefs.h <<\_ACEOF 10232cat >>confdefs.h <<\_ACEOF
10502#define HAVE_STRUCT_UTMP 1 10233#define HAVE_STRUCT_UTMP 1
10503_ACEOF 10234_ACEOF
10504 10235
10505fi 10236fi
10506 10237
10507 10238
10508echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 10239echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5
10509echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 10240echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6
10510if test "${rxvt_cv_struct_utmp_host+set}" = set; then 10241if test "${struct_utmp_host+set}" = set; then
10511 echo $ECHO_N "(cached) $ECHO_C" >&6 10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10512else 10243else
10513 cat >conftest.$ac_ext <<_ACEOF 10244 cat >conftest.$ac_ext <<_ACEOF
10514/* confdefs.h. */ 10245/* confdefs.h. */
10515_ACEOF 10246_ACEOF
10533 grep -v '^ *+' conftest.er1 >conftest.err 10264 grep -v '^ *+' conftest.er1 >conftest.err
10534 rm -f conftest.er1 10265 rm -f conftest.er1
10535 cat conftest.err >&5 10266 cat conftest.err >&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); } && 10268 (exit $ac_status); } &&
10538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10269 { ac_try='test -z "$ac_cxx_werror_flag"
10270 || test ! -s conftest.err'
10539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10540 (eval $ac_try) 2>&5 10272 (eval $ac_try) 2>&5
10541 ac_status=$? 10273 ac_status=$?
10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543 (exit $ac_status); }; } && 10275 (exit $ac_status); }; } &&
10545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10546 (eval $ac_try) 2>&5 10278 (eval $ac_try) 2>&5
10547 ac_status=$? 10279 ac_status=$?
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); }; }; then 10281 (exit $ac_status); }; }; then
10550 rxvt_cv_struct_utmp_host=yes 10282 struct_utmp_host=yes
10551else 10283else
10552 echo "$as_me: failed program was:" >&5 10284 echo "$as_me: failed program was:" >&5
10553sed 's/^/| /' conftest.$ac_ext >&5 10285sed 's/^/| /' conftest.$ac_ext >&5
10554 10286
10555rxvt_cv_struct_utmp_host=no 10287struct_utmp_host=no
10556fi 10288fi
10557rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10289rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10558fi 10290fi
10559echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 10291echo "$as_me:$LINENO: result: $struct_utmp_host" >&5
10560echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 10292echo "${ECHO_T}$struct_utmp_host" >&6
10561if test x$rxvt_cv_struct_utmp_host = xyes; then 10293if test x$struct_utmp_host = xyes; then
10562 10294
10563cat >>confdefs.h <<\_ACEOF 10295cat >>confdefs.h <<\_ACEOF
10564#define HAVE_UTMP_HOST 1 10296#define HAVE_UTMP_HOST 1
10565_ACEOF 10297_ACEOF
10566 10298
10567fi 10299fi
10568 10300
10569echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 10301echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5
10570echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 10302echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6
10571if test "${rxvt_cv_struct_utmp_pid+set}" = set; then 10303if test "${struct_utmp_pid+set}" = set; then
10572 echo $ECHO_N "(cached) $ECHO_C" >&6 10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10573else 10305else
10574 cat >conftest.$ac_ext <<_ACEOF 10306 cat >conftest.$ac_ext <<_ACEOF
10575/* confdefs.h. */ 10307/* confdefs.h. */
10576_ACEOF 10308_ACEOF
10594 grep -v '^ *+' conftest.er1 >conftest.err 10326 grep -v '^ *+' conftest.er1 >conftest.err
10595 rm -f conftest.er1 10327 rm -f conftest.er1
10596 cat conftest.err >&5 10328 cat conftest.err >&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); } && 10330 (exit $ac_status); } &&
10599 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10331 { ac_try='test -z "$ac_cxx_werror_flag"
10332 || test ! -s conftest.err'
10600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10601 (eval $ac_try) 2>&5 10334 (eval $ac_try) 2>&5
10602 ac_status=$? 10335 ac_status=$?
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); }; } && 10337 (exit $ac_status); }; } &&
10606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10607 (eval $ac_try) 2>&5 10340 (eval $ac_try) 2>&5
10608 ac_status=$? 10341 ac_status=$?
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); }; }; then 10343 (exit $ac_status); }; }; then
10611 rxvt_cv_struct_utmp_pid=yes 10344 struct_utmp_pid=yes
10612else 10345else
10613 echo "$as_me: failed program was:" >&5 10346 echo "$as_me: failed program was:" >&5
10614sed 's/^/| /' conftest.$ac_ext >&5 10347sed 's/^/| /' conftest.$ac_ext >&5
10615 10348
10616rxvt_cv_struct_utmp_pid=no 10349struct_utmp_pid=no
10617fi 10350fi
10618rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10351rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10619fi 10352fi
10620echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 10353echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5
10621echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 10354echo "${ECHO_T}$struct_utmp_pid" >&6
10622if test x$rxvt_cv_struct_utmp_pid = xyes; then 10355if test x$struct_utmp_pid = xyes; then
10623 10356
10624cat >>confdefs.h <<\_ACEOF 10357cat >>confdefs.h <<\_ACEOF
10625#define HAVE_UTMP_PID 1 10358#define HAVE_UTMP_PID 1
10626_ACEOF 10359_ACEOF
10627 10360
10659 grep -v '^ *+' conftest.er1 >conftest.err 10392 grep -v '^ *+' conftest.er1 >conftest.err
10660 rm -f conftest.er1 10393 rm -f conftest.er1
10661 cat conftest.err >&5 10394 cat conftest.err >&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } && 10396 (exit $ac_status); } &&
10664 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10397 { ac_try='test -z "$ac_cxx_werror_flag"
10398 || test ! -s conftest.err'
10665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10666 (eval $ac_try) 2>&5 10400 (eval $ac_try) 2>&5
10667 ac_status=$? 10401 ac_status=$?
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 (exit $ac_status); }; } && 10403 (exit $ac_status); }; } &&
10768 10502
10769fi 10503fi
10770if test $ac_cv_header_utmpx_h = yes; then 10504if test $ac_cv_header_utmpx_h = yes; then
10771 echo "$as_me:$LINENO: checking for struct utmpx" >&5 10505 echo "$as_me:$LINENO: checking for struct utmpx" >&5
10772echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 10506echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6
10773if test "${rxvt_cv_struct_utmpx+set}" = set; then 10507if test "${struct_utmpx+set}" = set; then
10774 echo $ECHO_N "(cached) $ECHO_C" >&6 10508 echo $ECHO_N "(cached) $ECHO_C" >&6
10775else 10509else
10776 cat >conftest.$ac_ext <<_ACEOF 10510 cat >conftest.$ac_ext <<_ACEOF
10777/* confdefs.h. */ 10511/* confdefs.h. */
10778_ACEOF 10512_ACEOF
10796 grep -v '^ *+' conftest.er1 >conftest.err 10530 grep -v '^ *+' conftest.er1 >conftest.err
10797 rm -f conftest.er1 10531 rm -f conftest.er1
10798 cat conftest.err >&5 10532 cat conftest.err >&5
10799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 (exit $ac_status); } && 10534 (exit $ac_status); } &&
10801 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10535 { ac_try='test -z "$ac_cxx_werror_flag"
10536 || test ! -s conftest.err'
10802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10803 (eval $ac_try) 2>&5 10538 (eval $ac_try) 2>&5
10804 ac_status=$? 10539 ac_status=$?
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); }; } && 10541 (exit $ac_status); }; } &&
10808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10809 (eval $ac_try) 2>&5 10544 (eval $ac_try) 2>&5
10810 ac_status=$? 10545 ac_status=$?
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); }; }; then 10547 (exit $ac_status); }; }; then
10813 rxvt_cv_struct_utmpx=yes 10548 struct_utmpx=yes
10814else 10549else
10815 echo "$as_me: failed program was:" >&5 10550 echo "$as_me: failed program was:" >&5
10816sed 's/^/| /' conftest.$ac_ext >&5 10551sed 's/^/| /' conftest.$ac_ext >&5
10817 10552
10818rxvt_cv_struct_utmpx=no 10553struct_utmpx=no
10819fi 10554fi
10820rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10555rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10821fi 10556fi
10822echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 10557echo "$as_me:$LINENO: result: $struct_utmpx" >&5
10823echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 10558echo "${ECHO_T}$struct_utmpx" >&6
10824if test x$rxvt_cv_struct_utmpx = xyes; then 10559if test x$struct_utmpx = xyes; then
10825 10560
10826cat >>confdefs.h <<\_ACEOF 10561cat >>confdefs.h <<\_ACEOF
10827#define HAVE_STRUCT_UTMPX 1 10562#define HAVE_STRUCT_UTMPX 1
10828_ACEOF 10563_ACEOF
10829 10564
10830fi 10565fi
10831 10566
10832 10567
10833echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 10568echo "$as_me:$LINENO: checking for host in utmpx struct" >&5
10834echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 10569echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6
10835if test "${rxvt_cv_struct_utmpx_host+set}" = set; then 10570if test "${struct_utmpx_host+set}" = set; then
10836 echo $ECHO_N "(cached) $ECHO_C" >&6 10571 echo $ECHO_N "(cached) $ECHO_C" >&6
10837else 10572else
10838 cat >conftest.$ac_ext <<_ACEOF 10573 cat >conftest.$ac_ext <<_ACEOF
10839/* confdefs.h. */ 10574/* confdefs.h. */
10840_ACEOF 10575_ACEOF
10858 grep -v '^ *+' conftest.er1 >conftest.err 10593 grep -v '^ *+' conftest.er1 >conftest.err
10859 rm -f conftest.er1 10594 rm -f conftest.er1
10860 cat conftest.err >&5 10595 cat conftest.err >&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); } && 10597 (exit $ac_status); } &&
10863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10598 { ac_try='test -z "$ac_cxx_werror_flag"
10599 || test ! -s conftest.err'
10864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10865 (eval $ac_try) 2>&5 10601 (eval $ac_try) 2>&5
10866 ac_status=$? 10602 ac_status=$?
10867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 (exit $ac_status); }; } && 10604 (exit $ac_status); }; } &&
10870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10871 (eval $ac_try) 2>&5 10607 (eval $ac_try) 2>&5
10872 ac_status=$? 10608 ac_status=$?
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); }; }; then 10610 (exit $ac_status); }; }; then
10875 rxvt_cv_struct_utmpx_host=yes 10611 struct_utmpx_host=yes
10876else 10612else
10877 echo "$as_me: failed program was:" >&5 10613 echo "$as_me: failed program was:" >&5
10878sed 's/^/| /' conftest.$ac_ext >&5 10614sed 's/^/| /' conftest.$ac_ext >&5
10879 10615
10880rxvt_cv_struct_utmpx_host=no 10616struct_utmpx_host=no
10881fi 10617fi
10882rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10618rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10883fi 10619fi
10884echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 10620echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5
10885echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 10621echo "${ECHO_T}$struct_utmpx_host" >&6
10886if test x$rxvt_cv_struct_utmpx_host = xyes; then 10622if test x$struct_utmpx_host = xyes; then
10887 10623
10888cat >>confdefs.h <<\_ACEOF 10624cat >>confdefs.h <<\_ACEOF
10889#define HAVE_UTMPX_HOST 1 10625#define HAVE_UTMPX_HOST 1
10890_ACEOF 10626_ACEOF
10891 10627
10892fi 10628fi
10893 10629
10894echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 10630echo "$as_me:$LINENO: checking for session in utmpx struct" >&5
10895echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 10631echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6
10896if test "${rxvt_cv_struct_utmpx_session+set}" = set; then 10632if test "${struct_utmpx_session+set}" = set; then
10897 echo $ECHO_N "(cached) $ECHO_C" >&6 10633 echo $ECHO_N "(cached) $ECHO_C" >&6
10898else 10634else
10899 cat >conftest.$ac_ext <<_ACEOF 10635 cat >conftest.$ac_ext <<_ACEOF
10900/* confdefs.h. */ 10636/* confdefs.h. */
10901_ACEOF 10637_ACEOF
10919 grep -v '^ *+' conftest.er1 >conftest.err 10655 grep -v '^ *+' conftest.er1 >conftest.err
10920 rm -f conftest.er1 10656 rm -f conftest.er1
10921 cat conftest.err >&5 10657 cat conftest.err >&5
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); } && 10659 (exit $ac_status); } &&
10924 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10660 { ac_try='test -z "$ac_cxx_werror_flag"
10661 || test ! -s conftest.err'
10925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10926 (eval $ac_try) 2>&5 10663 (eval $ac_try) 2>&5
10927 ac_status=$? 10664 ac_status=$?
10928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10929 (exit $ac_status); }; } && 10666 (exit $ac_status); }; } &&
10931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10932 (eval $ac_try) 2>&5 10669 (eval $ac_try) 2>&5
10933 ac_status=$? 10670 ac_status=$?
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); }; }; then 10672 (exit $ac_status); }; }; then
10936 rxvt_cv_struct_utmpx_session=yes 10673 struct_utmpx_session=yes
10937else 10674else
10938 echo "$as_me: failed program was:" >&5 10675 echo "$as_me: failed program was:" >&5
10939sed 's/^/| /' conftest.$ac_ext >&5 10676sed 's/^/| /' conftest.$ac_ext >&5
10940 10677
10941rxvt_cv_struct_utmpx_session=no 10678struct_utmpx_session=no
10942fi 10679fi
10943rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10680rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10944fi 10681fi
10945echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 10682echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5
10946echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 10683echo "${ECHO_T}$struct_utmpx_session" >&6
10947if test x$rxvt_cv_struct_utmpx_session = xyes; then 10684if test x$struct_utmpx_session = xyes; then
10948 10685
10949cat >>confdefs.h <<\_ACEOF 10686cat >>confdefs.h <<\_ACEOF
10950#define HAVE_UTMPX_SESSION 1 10687#define HAVE_UTMPX_SESSION 1
10951_ACEOF 10688_ACEOF
10952 10689
10955fi 10692fi
10956 10693
10957 10694
10958echo "$as_me:$LINENO: checking for struct lastlog" >&5 10695echo "$as_me:$LINENO: checking for struct lastlog" >&5
10959echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 10696echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
10960if test "${rxvt_cv_struct_lastlog+set}" = set; then 10697if test "${struct_lastlog+set}" = set; then
10961 echo $ECHO_N "(cached) $ECHO_C" >&6 10698 echo $ECHO_N "(cached) $ECHO_C" >&6
10962else 10699else
10963 cat >conftest.$ac_ext <<_ACEOF 10700 cat >conftest.$ac_ext <<_ACEOF
10964/* confdefs.h. */ 10701/* confdefs.h. */
10965_ACEOF 10702_ACEOF
10987 grep -v '^ *+' conftest.er1 >conftest.err 10724 grep -v '^ *+' conftest.er1 >conftest.err
10988 rm -f conftest.er1 10725 rm -f conftest.er1
10989 cat conftest.err >&5 10726 cat conftest.err >&5
10990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10991 (exit $ac_status); } && 10728 (exit $ac_status); } &&
10992 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10729 { ac_try='test -z "$ac_cxx_werror_flag"
10730 || test ! -s conftest.err'
10993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10994 (eval $ac_try) 2>&5 10732 (eval $ac_try) 2>&5
10995 ac_status=$? 10733 ac_status=$?
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); }; } && 10735 (exit $ac_status); }; } &&
10999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11000 (eval $ac_try) 2>&5 10738 (eval $ac_try) 2>&5
11001 ac_status=$? 10739 ac_status=$?
11002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11003 (exit $ac_status); }; }; then 10741 (exit $ac_status); }; }; then
11004 rxvt_cv_struct_lastlog=yes 10742 struct_lastlog=yes
11005else 10743else
11006 echo "$as_me: failed program was:" >&5 10744 echo "$as_me: failed program was:" >&5
11007sed 's/^/| /' conftest.$ac_ext >&5 10745sed 's/^/| /' conftest.$ac_ext >&5
11008 10746
11009rxvt_cv_struct_lastlog=no 10747struct_lastlog=no
11010fi 10748fi
11011rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10749rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11012fi 10750fi
11013echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 10751echo "$as_me:$LINENO: result: $struct_lastlog" >&5
11014echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 10752echo "${ECHO_T}$struct_lastlog" >&6
11015if test x$rxvt_cv_struct_lastlog = xyes; then 10753if test x$struct_lastlog = xyes; then
11016 10754
11017cat >>confdefs.h <<\_ACEOF 10755cat >>confdefs.h <<\_ACEOF
11018#define HAVE_STRUCT_LASTLOG 1 10756#define HAVE_STRUCT_LASTLOG 1
11019_ACEOF 10757_ACEOF
11020 10758
11021fi 10759fi
11022 10760
11023echo "$as_me:$LINENO: checking for struct lastlogx" >&5 10761echo "$as_me:$LINENO: checking for struct lastlogx" >&5
11024echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 10762echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6
11025if test "${rxvt_cv_struct_lastlogx+set}" = set; then 10763if test "${struct_lastlogx+set}" = set; then
11026 echo $ECHO_N "(cached) $ECHO_C" >&6 10764 echo $ECHO_N "(cached) $ECHO_C" >&6
11027else 10765else
11028 cat >conftest.$ac_ext <<_ACEOF 10766 cat >conftest.$ac_ext <<_ACEOF
11029/* confdefs.h. */ 10767/* confdefs.h. */
11030_ACEOF 10768_ACEOF
11052 grep -v '^ *+' conftest.er1 >conftest.err 10790 grep -v '^ *+' conftest.er1 >conftest.err
11053 rm -f conftest.er1 10791 rm -f conftest.er1
11054 cat conftest.err >&5 10792 cat conftest.err >&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); } && 10794 (exit $ac_status); } &&
11057 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10795 { ac_try='test -z "$ac_cxx_werror_flag"
10796 || test ! -s conftest.err'
11058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11059 (eval $ac_try) 2>&5 10798 (eval $ac_try) 2>&5
11060 ac_status=$? 10799 ac_status=$?
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }; } && 10801 (exit $ac_status); }; } &&
11064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 (eval $ac_try) 2>&5 10804 (eval $ac_try) 2>&5
11066 ac_status=$? 10805 ac_status=$?
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); }; }; then 10807 (exit $ac_status); }; }; then
11069 rxvt_cv_struct_lastlogx=yes 10808 struct_lastlogx=yes
11070else 10809else
11071 echo "$as_me: failed program was:" >&5 10810 echo "$as_me: failed program was:" >&5
11072sed 's/^/| /' conftest.$ac_ext >&5 10811sed 's/^/| /' conftest.$ac_ext >&5
11073 10812
11074rxvt_cv_struct_lastlogx=no 10813struct_lastlogx=no
11075fi 10814fi
11076rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10815rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11077fi 10816fi
11078echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 10817echo "$as_me:$LINENO: result: $struct_lastlogx" >&5
11079echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 10818echo "${ECHO_T}$struct_lastlogx" >&6
11080if test x$rxvt_cv_struct_lastlogx = xyes; then 10819if test x$struct_lastlogx = xyes; then
11081 10820
11082cat >>confdefs.h <<\_ACEOF 10821cat >>confdefs.h <<\_ACEOF
11083#define HAVE_STRUCT_LASTLOGX 1 10822#define HAVE_STRUCT_LASTLOGX 1
11084_ACEOF 10823_ACEOF
11085 10824
11086fi 10825fi
11087 10826
11088 10827
11089echo "$as_me:$LINENO: checking where utmp is located" >&5 10828echo "$as_me:$LINENO: checking where utmp is located" >&5
11090echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 10829echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6
11091if test "${rxvt_cv_path_utmp+set}" = set; then 10830if test "${path_utmp+set}" = set; then
11092 echo $ECHO_N "(cached) $ECHO_C" >&6 10831 echo $ECHO_N "(cached) $ECHO_C" >&6
11093else 10832else
11094 if test "$cross_compiling" = yes; then 10833 if test "$cross_compiling" = yes; then
11095 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 10834 { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5
11096echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} 10835echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
11097else 10836else
11098 cat >conftest.$ac_ext <<_ACEOF 10837 cat >conftest.$ac_ext <<_ACEOF
11099/* confdefs.h. */ 10838/* confdefs.h. */
11100_ACEOF 10839_ACEOF
11101cat confdefs.h >>conftest.$ac_ext 10840cat confdefs.h >>conftest.$ac_ext
11102cat >>conftest.$ac_ext <<_ACEOF 10841cat >>conftest.$ac_ext <<_ACEOF
11103/* end confdefs.h. */ 10842/* end confdefs.h. */
11104#include <stdio.h> 10843#include <stdio.h>
10844#include <stdlib.h>
11105#include <sys/types.h> 10845#include <sys/types.h>
11106#include <utmp.h> 10846#include <utmp.h>
11107#include <errno.h> 10847#include <errno.h>
11108main() 10848main()
11109{ 10849{
11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138 (eval $ac_try) 2>&5 10878 (eval $ac_try) 2>&5
11139 ac_status=$? 10879 ac_status=$?
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); }; }; then 10881 (exit $ac_status); }; }; then
11142 rxvt_cv_path_utmp=`cat conftestval` 10882 path_utmp=`cat conftestval`
11143else 10883else
11144 echo "$as_me: program exited with status $ac_status" >&5 10884 echo "$as_me: program exited with status $ac_status" >&5
11145echo "$as_me: failed program was:" >&5 10885echo "$as_me: failed program was:" >&5
11146sed 's/^/| /' conftest.$ac_ext >&5 10886sed 's/^/| /' conftest.$ac_ext >&5
11147 10887
11148( exit $ac_status ) 10888( exit $ac_status )
11149rxvt_cv_path_utmp= 10889path_utmp=
11150fi 10890fi
11151rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10891rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11152fi 10892fi
11153fi 10893fi
11154echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 10894echo "$as_me:$LINENO: result: $path_utmp" >&5
11155echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 10895echo "${ECHO_T}$path_utmp" >&6
11156if test x$rxvt_cv_path_utmp != x; then 10896if test x$path_utmp != x; then
11157 10897
11158cat >>confdefs.h <<_ACEOF 10898cat >>confdefs.h <<_ACEOF
11159#define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" 10899#define UTMP_FILE "$path_utmp"
11160_ACEOF 10900_ACEOF
11161 10901
11162fi 10902fi
11163 10903
11164 10904
11165echo "$as_me:$LINENO: checking where utmpx is located" >&5 10905echo "$as_me:$LINENO: checking where utmpx is located" >&5
11166echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 10906echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6
11167if test "${rxvt_cv_path_utmpx+set}" = set; then 10907if test "${path_utmpx+set}" = set; then
11168 echo $ECHO_N "(cached) $ECHO_C" >&6 10908 echo $ECHO_N "(cached) $ECHO_C" >&6
11169else 10909else
11170 if test "$cross_compiling" = yes; then 10910 if test "$cross_compiling" = yes; then
11171 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 10911 { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5
11172echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} 10912echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;}
11173else 10913else
11174 cat >conftest.$ac_ext <<_ACEOF 10914 cat >conftest.$ac_ext <<_ACEOF
11175/* confdefs.h. */ 10915/* confdefs.h. */
11176_ACEOF 10916_ACEOF
11177cat confdefs.h >>conftest.$ac_ext 10917cat confdefs.h >>conftest.$ac_ext
11178cat >>conftest.$ac_ext <<_ACEOF 10918cat >>conftest.$ac_ext <<_ACEOF
11179/* end confdefs.h. */ 10919/* end confdefs.h. */
11180#include <stdio.h> 10920#include <stdio.h>
10921#include <stdlib.h>
11181#include <sys/types.h> 10922#include <sys/types.h>
11182#include <utmpx.h> 10923#include <utmpx.h>
11183#include <errno.h> 10924#include <errno.h>
11184#include <sys/stat.h> 10925#include <sys/stat.h>
11185#ifdef HAVE_STRING_H 10926#ifdef HAVE_STRING_H
11223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11224 (eval $ac_try) 2>&5 10965 (eval $ac_try) 2>&5
11225 ac_status=$? 10966 ac_status=$?
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); }; }; then 10968 (exit $ac_status); }; }; then
11228 rxvt_cv_path_utmpx=`cat conftestval` 10969 path_utmpx=`cat conftestval`
11229else 10970else
11230 echo "$as_me: program exited with status $ac_status" >&5 10971 echo "$as_me: program exited with status $ac_status" >&5
11231echo "$as_me: failed program was:" >&5 10972echo "$as_me: failed program was:" >&5
11232sed 's/^/| /' conftest.$ac_ext >&5 10973sed 's/^/| /' conftest.$ac_ext >&5
11233 10974
11234( exit $ac_status ) 10975( exit $ac_status )
11235rxvt_cv_path_utmpx= 10976path_utmpx=
11236fi 10977fi
11237rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10978rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11238fi 10979fi
11239fi 10980fi
11240echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 10981echo "$as_me:$LINENO: result: $path_utmpx" >&5
11241echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 10982echo "${ECHO_T}$path_utmpx" >&6
11242if test x$rxvt_cv_path_utmpx != x; then 10983if test x$path_utmpx != x; then
11243 10984
11244cat >>confdefs.h <<_ACEOF 10985cat >>confdefs.h <<_ACEOF
11245#define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" 10986#define UTMPX_FILE "$path_utmpx"
11246_ACEOF 10987_ACEOF
11247 10988
11248fi 10989fi
11249 10990
11250 10991
11251echo "$as_me:$LINENO: checking where wtmp is located" >&5 10992echo "$as_me:$LINENO: checking where wtmp is located" >&5
11252echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 10993echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6
11253if test "${rxvt_cv_path_wtmp+set}" = set; then 10994if test "${path_wtmp+set}" = set; then
11254 echo $ECHO_N "(cached) $ECHO_C" >&6 10995 echo $ECHO_N "(cached) $ECHO_C" >&6
11255else 10996else
11256 if test "$cross_compiling" = yes; then 10997 if test "$cross_compiling" = yes; then
11257 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 10998 { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5
11258echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} 10999echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
11259else 11000else
11260 cat >conftest.$ac_ext <<_ACEOF 11001 cat >conftest.$ac_ext <<_ACEOF
11261/* confdefs.h. */ 11002/* confdefs.h. */
11262_ACEOF 11003_ACEOF
11263cat confdefs.h >>conftest.$ac_ext 11004cat confdefs.h >>conftest.$ac_ext
11264cat >>conftest.$ac_ext <<_ACEOF 11005cat >>conftest.$ac_ext <<_ACEOF
11265/* end confdefs.h. */ 11006/* end confdefs.h. */
11266#include <stdio.h> 11007#include <stdio.h>
11008#include <stdlib.h>
11267#include <sys/types.h> 11009#include <sys/types.h>
11268#ifdef HAVE_UTMP_H 11010#ifdef HAVE_UTMP_H
11269#include <utmp.h> 11011#include <utmp.h>
11270#endif 11012#endif
11271#include <errno.h> 11013#include <errno.h>
11301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11302 (eval $ac_try) 2>&5 11044 (eval $ac_try) 2>&5
11303 ac_status=$? 11045 ac_status=$?
11304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 (exit $ac_status); }; }; then 11047 (exit $ac_status); }; }; then
11306 rxvt_cv_path_wtmp=`cat conftestval` 11048 path_wtmp=`cat conftestval`
11307else 11049else
11308 echo "$as_me: program exited with status $ac_status" >&5 11050 echo "$as_me: program exited with status $ac_status" >&5
11309echo "$as_me: failed program was:" >&5 11051echo "$as_me: failed program was:" >&5
11310sed 's/^/| /' conftest.$ac_ext >&5 11052sed 's/^/| /' conftest.$ac_ext >&5
11311 11053
11312( exit $ac_status ) 11054( exit $ac_status )
11313rxvt_cv_path_wtmp= 11055path_wtmp=
11314fi 11056fi
11315rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11057rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11316fi 11058fi
11317fi 11059fi
11318echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 11060echo "$as_me:$LINENO: result: $path_wtmp" >&5
11319echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 11061echo "${ECHO_T}$path_wtmp" >&6
11320if test x$rxvt_cv_path_wtmp != x; then 11062if test x$path_wtmp != x; then
11321 11063
11322cat >>confdefs.h <<_ACEOF 11064cat >>confdefs.h <<_ACEOF
11323#define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" 11065#define WTMP_FILE "$path_wtmp"
11324_ACEOF 11066_ACEOF
11325 11067
11326fi 11068fi
11327 11069
11328echo "$as_me:$LINENO: checking where wtmpx is located" >&5 11070echo "$as_me:$LINENO: checking where wtmpx is located" >&5
11329echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 11071echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6
11330if test "${rxvt_cv_path_wtmpx+set}" = set; then 11072if test "${path_wtmpx+set}" = set; then
11331 echo $ECHO_N "(cached) $ECHO_C" >&6 11073 echo $ECHO_N "(cached) $ECHO_C" >&6
11332else 11074else
11333 if test "$cross_compiling" = yes; then 11075 if test "$cross_compiling" = yes; then
11334 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 11076 { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5
11335echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} 11077echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;}
11336else 11078else
11337 cat >conftest.$ac_ext <<_ACEOF 11079 cat >conftest.$ac_ext <<_ACEOF
11338/* confdefs.h. */ 11080/* confdefs.h. */
11339_ACEOF 11081_ACEOF
11340cat confdefs.h >>conftest.$ac_ext 11082cat confdefs.h >>conftest.$ac_ext
11341cat >>conftest.$ac_ext <<_ACEOF 11083cat >>conftest.$ac_ext <<_ACEOF
11342/* end confdefs.h. */ 11084/* end confdefs.h. */
11343#include <stdio.h> 11085#include <stdio.h>
11086#include <stdlib.h>
11344#ifdef HAVE_UTMPX_H 11087#ifdef HAVE_UTMPX_H
11345#include <utmpx.h> 11088#include <utmpx.h>
11346#endif 11089#endif
11347#include <errno.h> 11090#include <errno.h>
11348main() 11091main()
11377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11378 (eval $ac_try) 2>&5 11121 (eval $ac_try) 2>&5
11379 ac_status=$? 11122 ac_status=$?
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); }; }; then 11124 (exit $ac_status); }; }; then
11382 rxvt_cv_path_wtmpx=`cat conftestval` 11125 path_wtmpx=`cat conftestval`
11383else 11126else
11384 echo "$as_me: program exited with status $ac_status" >&5 11127 echo "$as_me: program exited with status $ac_status" >&5
11385echo "$as_me: failed program was:" >&5 11128echo "$as_me: failed program was:" >&5
11386sed 's/^/| /' conftest.$ac_ext >&5 11129sed 's/^/| /' conftest.$ac_ext >&5
11387 11130
11388( exit $ac_status ) 11131( exit $ac_status )
11389rxvt_cv_path_wtmpx= 11132path_wtmpx=
11390fi 11133fi
11391rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11134rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11392fi 11135fi
11393fi 11136fi
11394echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 11137echo "$as_me:$LINENO: result: $path_wtmpx" >&5
11395echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 11138echo "${ECHO_T}$path_wtmpx" >&6
11396if test x$rxvt_cv_path_wtmpx != x; then 11139if test x$path_wtmpx != x; then
11397 11140
11398cat >>confdefs.h <<_ACEOF 11141cat >>confdefs.h <<_ACEOF
11399#define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" 11142#define WTMPX_FILE "$path_wtmpx"
11400_ACEOF 11143_ACEOF
11401 11144
11402fi 11145fi
11403 11146
11404echo "$as_me:$LINENO: checking where lastlog is located" >&5 11147echo "$as_me:$LINENO: checking where lastlog is located" >&5
11405echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 11148echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6
11406if test "${rxvt_cv_path_lastlog+set}" = set; then 11149if test "${path_lastlog+set}" = set; then
11407 echo $ECHO_N "(cached) $ECHO_C" >&6 11150 echo $ECHO_N "(cached) $ECHO_C" >&6
11408else 11151else
11409 if test "$cross_compiling" = yes; then 11152 if test "$cross_compiling" = yes; then
11410 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 11153 { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5
11411echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} 11154echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;}
11412else 11155else
11413 cat >conftest.$ac_ext <<_ACEOF 11156 cat >conftest.$ac_ext <<_ACEOF
11414/* confdefs.h. */ 11157/* confdefs.h. */
11415_ACEOF 11158_ACEOF
11416cat confdefs.h >>conftest.$ac_ext 11159cat confdefs.h >>conftest.$ac_ext
11417cat >>conftest.$ac_ext <<_ACEOF 11160cat >>conftest.$ac_ext <<_ACEOF
11418/* end confdefs.h. */ 11161/* end confdefs.h. */
11419#include <stdio.h> 11162#include <stdio.h>
11163#include <stdlib.h>
11420#include <sys/types.h> 11164#include <sys/types.h>
11421#ifdef HAVE_UTMPX_H 11165#ifdef HAVE_UTMPX_H
11422#include <utmpx.h> 11166#include <utmpx.h>
11423#elif defined(HAVE_UTMP_H) 11167#elif defined(HAVE_UTMP_H)
11424#include <utmp.h> 11168#include <utmp.h>
11458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459 (eval $ac_try) 2>&5 11203 (eval $ac_try) 2>&5
11460 ac_status=$? 11204 ac_status=$?
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; }; then 11206 (exit $ac_status); }; }; then
11463 rxvt_cv_path_lastlog=`cat conftestval` 11207 path_lastlog=`cat conftestval`
11464else 11208else
11465 echo "$as_me: program exited with status $ac_status" >&5 11209 echo "$as_me: program exited with status $ac_status" >&5
11466echo "$as_me: failed program was:" >&5 11210echo "$as_me: failed program was:" >&5
11467sed 's/^/| /' conftest.$ac_ext >&5 11211sed 's/^/| /' conftest.$ac_ext >&5
11468 11212
11469( exit $ac_status ) 11213( exit $ac_status )
11470rxvt_cv_path_lastlog= 11214path_lastlog=
11471fi 11215fi
11472rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11216rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11473fi 11217fi
11474fi 11218fi
11475echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 11219echo "$as_me:$LINENO: result: $path_lastlog" >&5
11476echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 11220echo "${ECHO_T}$path_lastlog" >&6
11477if test x$rxvt_cv_path_lastlog != x; then 11221if test x$path_lastlog != x; then
11478 11222
11479cat >>confdefs.h <<_ACEOF 11223cat >>confdefs.h <<_ACEOF
11480#define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" 11224#define LASTLOG_FILE "$path_lastlog"
11481_ACEOF 11225_ACEOF
11482 11226
11483 if test -d "$rxvt_cv_path_lastlog"; then 11227 if test -d "$path_lastlog"; then
11484 11228
11485cat >>confdefs.h <<\_ACEOF 11229cat >>confdefs.h <<\_ACEOF
11486#define LASTLOG_IS_DIR 1 11230#define LASTLOG_IS_DIR 1
11487_ACEOF 11231_ACEOF
11488 11232
11489 fi 11233 fi
11490fi 11234fi
11491 11235
11492echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11236echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11493echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 11237echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6
11494if test "${rxvt_cv_path_lastlogx+set}" = set; then 11238if test "${path_lastlogx+set}" = set; then
11495 echo $ECHO_N "(cached) $ECHO_C" >&6 11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11496else 11240else
11497 if test "$cross_compiling" = yes; then 11241 if test "$cross_compiling" = yes; then
11498 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 11242 { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5
11499echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} 11243echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;}
11500else 11244else
11501 cat >conftest.$ac_ext <<_ACEOF 11245 cat >conftest.$ac_ext <<_ACEOF
11502/* confdefs.h. */ 11246/* confdefs.h. */
11503_ACEOF 11247_ACEOF
11504cat confdefs.h >>conftest.$ac_ext 11248cat confdefs.h >>conftest.$ac_ext
11505cat >>conftest.$ac_ext <<_ACEOF 11249cat >>conftest.$ac_ext <<_ACEOF
11506/* end confdefs.h. */ 11250/* end confdefs.h. */
11507#include <stdio.h> 11251#include <stdio.h>
11252#include <stdlib.h>
11508#ifdef HAVE_UTMPX_H 11253#ifdef HAVE_UTMPX_H
11509#include <utmpx.h> 11254#include <utmpx.h>
11510#endif 11255#endif
11511#include <errno.h> 11256#include <errno.h>
11512main() 11257main()
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5 11286 (eval $ac_try) 2>&5
11542 ac_status=$? 11287 ac_status=$?
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; }; then 11289 (exit $ac_status); }; }; then
11545 rxvt_cv_path_lastlogx=`cat conftestval` 11290 path_lastlogx=`cat conftestval`
11546else 11291else
11547 echo "$as_me: program exited with status $ac_status" >&5 11292 echo "$as_me: program exited with status $ac_status" >&5
11548echo "$as_me: failed program was:" >&5 11293echo "$as_me: failed program was:" >&5
11549sed 's/^/| /' conftest.$ac_ext >&5 11294sed 's/^/| /' conftest.$ac_ext >&5
11550 11295
11551( exit $ac_status ) 11296( exit $ac_status )
11552rxvt_cv_path_lastlogx= 11297path_lastlogx=
11553fi 11298fi
11554rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11299rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11555fi 11300fi
11556fi 11301fi
11557echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 11302echo "$as_me:$LINENO: result: $path_lastlogx" >&5
11558echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 11303echo "${ECHO_T}$path_lastlogx" >&6
11559if test x$rxvt_cv_path_lastlogx != x; then 11304if test x$path_lastlogx != x; then
11560 11305
11561cat >>confdefs.h <<_ACEOF 11306cat >>confdefs.h <<_ACEOF
11562#define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" 11307#define LASTLOGX_FILE "$path_lastlogx"
11563_ACEOF 11308_ACEOF
11564 11309
11565fi 11310fi
11311
11566 11312
11567 11313
11568echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 11314echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11569echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 11315echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6
11570if test "${rxvt_cv_path_ttytab+set}" = set; then 11316if test "${rxvt_cv_path_ttytab+set}" = set; then
11592 11338
11593ac_save_LIBS=$LIBS 11339ac_save_LIBS=$LIBS
11594ac_save_CFLAGS=$CFLAGS 11340ac_save_CFLAGS=$CFLAGS
11595CFLAGS="$CFLAGS $X_CFLAGS" 11341CFLAGS="$CFLAGS $X_CFLAGS"
11596LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11342LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
11597if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
11598 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
11599fi
11600echo "$as_me:$LINENO: checking for working Xlocale" >&5 11343echo "$as_me:$LINENO: checking for working Xlocale" >&5
11601echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 11344echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6
11602if test "${rxvt_cv_func_xlocale+set}" = set; then 11345if test "${rxvt_cv_func_xlocale+set}" = set; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6 11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11604else 11347else
11605 if test "$cross_compiling" = yes; then 11348 if test "$cross_compiling" = yes; then
11606 { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 11349 :
11607echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;}
11608else 11350else
11609 cat >conftest.$ac_ext <<_ACEOF 11351 cat >conftest.$ac_ext <<_ACEOF
11610/* confdefs.h. */ 11352/* confdefs.h. */
11611_ACEOF 11353_ACEOF
11612cat confdefs.h >>conftest.$ac_ext 11354cat confdefs.h >>conftest.$ac_ext
11613cat >>conftest.$ac_ext <<_ACEOF 11355cat >>conftest.$ac_ext <<_ACEOF
11614/* end confdefs.h. */ 11356/* end confdefs.h. */
11615#include <X11/Xlib.h> 11357#include <X11/Xlib.h>
11358#include <stdlib.h>
11616main() { 11359main() {
11617char *p; 11360char *p;
11618if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 11361if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
11619exit (XSupportsLocale() ? 0 : 1); 11362exit (XSupportsLocale() ? 0 : 1);
11620else 11363else
11643rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11386rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11644fi 11387fi
11645fi 11388fi
11646echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 11389echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5
11647echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 11390echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6
11391if test x$support_xim = xyes; then
11648if test x$rxvt_cv_func_xlocale = xyes; then 11392 if test x$rxvt_cv_func_xlocale = xyes; then
11649 11393
11650cat >>confdefs.h <<\_ACEOF 11394cat >>confdefs.h <<\_ACEOF
11651#define HAVE_XLOCALE 1 11395#define USE_XIM 1
11652_ACEOF 11396_ACEOF
11653 11397
11398 fi
11654fi 11399fi
11655 11400
11656echo "$as_me:$LINENO: checking for working X setlocale" >&5 11401echo "$as_me:$LINENO: checking for working X setlocale" >&5
11657echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 11402echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6
11658if test "${rxvt_cv_func_xsetlocale+set}" = set; then 11403if test "${rxvt_cv_func_xsetlocale+set}" = set; then
11681 grep -v '^ *+' conftest.er1 >conftest.err 11426 grep -v '^ *+' conftest.er1 >conftest.err
11682 rm -f conftest.er1 11427 rm -f conftest.er1
11683 cat conftest.err >&5 11428 cat conftest.err >&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); } && 11430 (exit $ac_status); } &&
11686 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11431 { ac_try='test -z "$ac_cxx_werror_flag"
11432 || test ! -s conftest.err'
11687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11688 (eval $ac_try) 2>&5 11434 (eval $ac_try) 2>&5
11689 ac_status=$? 11435 ac_status=$?
11690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); }; } && 11437 (exit $ac_status); }; } &&
11744 grep -v '^ *+' conftest.er1 >conftest.err 11490 grep -v '^ *+' conftest.er1 >conftest.err
11745 rm -f conftest.er1 11491 rm -f conftest.er1
11746 cat conftest.err >&5 11492 cat conftest.err >&5
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); } && 11494 (exit $ac_status); } &&
11749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11495 { ac_try='test -z "$ac_cxx_werror_flag"
11496 || test ! -s conftest.err'
11750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751 (eval $ac_try) 2>&5 11498 (eval $ac_try) 2>&5
11752 ac_status=$? 11499 ac_status=$?
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); }; } && 11501 (exit $ac_status); }; } &&
11805 grep -v '^ *+' conftest.er1 >conftest.err 11552 grep -v '^ *+' conftest.er1 >conftest.err
11806 rm -f conftest.er1 11553 rm -f conftest.er1
11807 cat conftest.err >&5 11554 cat conftest.err >&5
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); } && 11556 (exit $ac_status); } &&
11810 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11557 { ac_try='test -z "$ac_cxx_werror_flag"
11558 || test ! -s conftest.err'
11811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11812 (eval $ac_try) 2>&5 11560 (eval $ac_try) 2>&5
11813 ac_status=$? 11561 ac_status=$?
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); }; } && 11563 (exit $ac_status); }; } &&
11837#define HAVE_NL_LANGINFO 1 11585#define HAVE_NL_LANGINFO 1
11838_ACEOF 11586_ACEOF
11839 11587
11840fi 11588fi
11841 11589
11590
11842echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 11591echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5
11843echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 11592echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6
11844if test "${rxvt_can_pass_fds+set}" = set; then 11593if test "${can_pass_fds+set}" = set; then
11845 echo $ECHO_N "(cached) $ECHO_C" >&6 11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11846else 11595else
11847 cat >conftest.$ac_ext <<_ACEOF 11596 cat >conftest.$ac_ext <<_ACEOF
11848/* confdefs.h. */ 11597/* confdefs.h. */
11849_ACEOF 11598_ACEOF
11850cat confdefs.h >>conftest.$ac_ext 11599cat confdefs.h >>conftest.$ac_ext
11851cat >>conftest.$ac_ext <<_ACEOF 11600cat >>conftest.$ac_ext <<_ACEOF
11852/* end confdefs.h. */ 11601/* end confdefs.h. */
11853 11602
11603#include <cstddef> // broken bsds (is that redundant?) need this
11854#include <sys/types.h> 11604#include <sys/types.h>
11855#include <sys/socket.h> 11605#include <sys/socket.h>
11606#include <sys/uio.h>
11856 11607
11857int 11608int
11858main () 11609main ()
11859{ 11610{
11860 11611
11893 grep -v '^ *+' conftest.er1 >conftest.err 11644 grep -v '^ *+' conftest.er1 >conftest.err
11894 rm -f conftest.er1 11645 rm -f conftest.er1
11895 cat conftest.err >&5 11646 cat conftest.err >&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } && 11648 (exit $ac_status); } &&
11898 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11649 { ac_try='test -z "$ac_cxx_werror_flag"
11650 || test ! -s conftest.err'
11899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11900 (eval $ac_try) 2>&5 11652 (eval $ac_try) 2>&5
11901 ac_status=$? 11653 ac_status=$?
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); }; } && 11655 (exit $ac_status); }; } &&
11905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11906 (eval $ac_try) 2>&5 11658 (eval $ac_try) 2>&5
11907 ac_status=$? 11659 ac_status=$?
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); }; }; then 11661 (exit $ac_status); }; }; then
11910 rxvt_can_pass_fds=yes 11662 can_pass_fds=yes
11911else 11663else
11912 echo "$as_me: failed program was:" >&5 11664 echo "$as_me: failed program was:" >&5
11913sed 's/^/| /' conftest.$ac_ext >&5 11665sed 's/^/| /' conftest.$ac_ext >&5
11914 11666
11915rxvt_can_pass_fds=no 11667can_pass_fds=no
11916fi 11668fi
11917rm -f conftest.err conftest.$ac_objext \ 11669rm -f conftest.err conftest.$ac_objext \
11918 conftest$ac_exeext conftest.$ac_ext 11670 conftest$ac_exeext conftest.$ac_ext
11919fi 11671fi
11920echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 11672echo "$as_me:$LINENO: result: $can_pass_fds" >&5
11921echo "${ECHO_T}$rxvt_can_pass_fds" >&6 11673echo "${ECHO_T}$can_pass_fds" >&6
11922if test x$rxvt_can_pass_fds = xyes; then 11674if test x$can_pass_fds = xyes; then
11923 11675
11924cat >>confdefs.h <<\_ACEOF 11676cat >>confdefs.h <<\_ACEOF
11925#define HAVE_UNIX_FDPASS 1 11677#define HAVE_UNIX_FDPASS 1
11926_ACEOF 11678_ACEOF
11927 11679
11680else
11681 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5
11682echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
11683 { (exit 1); exit 1; }; }
11928fi 11684fi
11685
11929 11686
11930echo "$as_me:$LINENO: checking for broken XIM callback" >&5 11687echo "$as_me:$LINENO: checking for broken XIM callback" >&5
11931echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 11688echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
11932if test "${rxvt_broken_ximcb+set}" = set; then 11689if test "${rxvt_broken_ximcb+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6 11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11951 grep -v '^ *+' conftest.er1 >conftest.err 11708 grep -v '^ *+' conftest.er1 >conftest.err
11952 rm -f conftest.er1 11709 rm -f conftest.er1
11953 cat conftest.err >&5 11710 cat conftest.err >&5
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); } && 11712 (exit $ac_status); } &&
11956 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11713 { ac_try='test -z "$ac_cxx_werror_flag"
11714 || test ! -s conftest.err'
11957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11958 (eval $ac_try) 2>&5 11716 (eval $ac_try) 2>&5
11959 ac_status=$? 11717 ac_status=$?
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); }; } && 11719 (exit $ac_status); }; } &&
11983#define XIMCB_PROTO_BROKEN 1 11741#define XIMCB_PROTO_BROKEN 1
11984_ACEOF 11742_ACEOF
11985 11743
11986fi 11744fi
11987 11745
11988echo "$as_me:$LINENO: checking for getpt" >&5
11989echo $ECHO_N "checking for getpt... $ECHO_C" >&6
11990if test "${rxvt_cv_func_getpt+set}" = set; then
11991 echo $ECHO_N "(cached) $ECHO_C" >&6
11992else
11993 cat >conftest.$ac_ext <<_ACEOF
11994/* confdefs.h. */
11995_ACEOF
11996cat confdefs.h >>conftest.$ac_ext
11997cat >>conftest.$ac_ext <<_ACEOF
11998/* end confdefs.h. */
11999#define _GNU_SOURCE
12000#ifdef HAVE_STDLIB_H
12001# include <cstdlib>
12002#endif
12003int
12004main ()
12005{
12006(void)getpt();
12007 ;
12008 return 0;
12009}
12010_ACEOF
12011rm -f conftest.$ac_objext conftest$ac_exeext
12012if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12013 (eval $ac_link) 2>conftest.er1
12014 ac_status=$?
12015 grep -v '^ *+' conftest.er1 >conftest.err
12016 rm -f conftest.er1
12017 cat conftest.err >&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); } &&
12020 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12022 (eval $ac_try) 2>&5
12023 ac_status=$?
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); }; } &&
12026 { ac_try='test -s conftest$ac_exeext'
12027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028 (eval $ac_try) 2>&5
12029 ac_status=$?
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); }; }; then
12032 rxvt_cv_func_getpt=yes
12033else
12034 echo "$as_me: failed program was:" >&5
12035sed 's/^/| /' conftest.$ac_ext >&5
12036 11746
12037rxvt_cv_func_getpt=no
12038fi
12039rm -f conftest.err conftest.$ac_objext \
12040 conftest$ac_exeext conftest.$ac_ext
12041fi
12042echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5
12043echo "${ECHO_T}$rxvt_cv_func_getpt" >&6
12044if test x$rxvt_cv_func_getpt = xyes; then
12045 11747
12046cat >>confdefs.h <<\_ACEOF
12047#define HAVE_GETPT 1
12048_ACEOF
12049 11748
12050fi
12051 11749
12052echo "$as_me:$LINENO: checking for pty/tty type" >&5
12053echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6
12054if test "${rxvt_cv_ptys+set}" = set; then
12055 echo $ECHO_N "(cached) $ECHO_C" >&6
12056else
12057 if test x$ac_cv_func_openpty = xyes; then
12058 rxvt_cv_ptys=OPENPTY
12059 else if test x$ac_cv_func__getpty = xyes; then
12060 rxvt_cv_ptys=SGI4
12061 else if test -c /dev/ttyp20; then
12062 rxvt_cv_ptys=SCO
12063 else if test -c /dev/ptym/clone; then
12064 rxvt_cv_ptys=HPUX
12065 else if test x$rxvt_cv_func_getpt = xyes; then
12066 rxvt_cv_ptys=GLIBC
12067 else if test -c /dev/ptc -a -c /dev/pts; then
12068 rxvt_cv_ptys=PTC
12069 else if test -c /dev/ptc -a -d /dev/pts; then
12070 rxvt_cv_ptys=PTC
12071 else if test -c /dev/ptmx -a -c /dev/pts/0; then
12072 rxvt_cv_ptys=STREAMS
12073 else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then
12074 rxvt_cv_ptys=STREAMS
12075 else
12076 rxvt_cv_ptys=BSD
12077fi
12078fi
12079fi
12080fi
12081fi
12082fi
12083fi
12084fi
12085fi
12086 11750
12087fi
12088echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
12089echo "${ECHO_T}$rxvt_cv_ptys" >&6
12090 11751
12091if test x$rxvt_cv_ptys = xOPENPTY; then 11752for ac_header in \
11753 pty.h \
11754 util.h \
11755 libutil.h \
11756 sys/ioctl.h \
11757 sys/stropts.h \
12092 11758
12093cat >>confdefs.h <<\_ACEOF
12094#define PTYS_ARE_OPENPTY 1
12095_ACEOF
12096
12097fi
12098if test x$rxvt_cv_ptys = xSCO; then
12099
12100cat >>confdefs.h <<\_ACEOF
12101#define PTYS_ARE_NUMERIC 1
12102_ACEOF
12103
12104fi
12105if test x$rxvt_cv_ptys = xSTREAMS; then
12106
12107cat >>confdefs.h <<\_ACEOF
12108#define PTYS_ARE_PTMX 1
12109_ACEOF
12110
12111fi
12112if test x$rxvt_cv_ptys = xPTC; then
12113
12114cat >>confdefs.h <<\_ACEOF
12115#define PTYS_ARE_PTC 1
12116_ACEOF
12117
12118fi
12119if test x$rxvt_cv_ptys = xSGI4; then
12120
12121cat >>confdefs.h <<\_ACEOF
12122#define PTYS_ARE__GETPTY 1
12123_ACEOF
12124
12125fi
12126if test x$rxvt_cv_ptys = xCONVEX; then
12127
12128cat >>confdefs.h <<\_ACEOF
12129#define PTYS_ARE_GETPTY 1
12130_ACEOF
12131
12132fi
12133if test x$rxvt_cv_ptys = xGLIBC; then
12134
12135cat >>confdefs.h <<\_ACEOF
12136#define PTYS_ARE_GETPT 1
12137_ACEOF
12138
12139fi
12140if test x$rxvt_cv_ptys = xHPUX; then
12141
12142cat >>confdefs.h <<\_ACEOF
12143#define PTYS_ARE_CLONE 1
12144_ACEOF
12145
12146fi
12147if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then
12148
12149cat >>confdefs.h <<\_ACEOF
12150#define PTYS_ARE_SEARCHED 1
12151_ACEOF
12152
12153fi
12154
12155
12156{ echo "$as_me:$LINENO: checking for pty ranges..." >&5
12157echo "$as_me: checking for pty ranges..." >&6;}
12158ptys=`echo /dev/pty??`
12159pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'`
12160pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'`
12161if test x$pch1 != x; then
12162
12163cat >>confdefs.h <<_ACEOF
12164#define PTYCHAR1 "$pch1"
12165_ACEOF
12166
12167fi
12168if test x$pch2 != x; then
12169
12170cat >>confdefs.h <<_ACEOF
12171#define PTYCHAR2 "$pch2"
12172_ACEOF
12173
12174fi
12175
12176if test x$support_xft = xyes; then
12177 LIBS="$LIBS `pkg-config xft --libs`"
12178 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
12179 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
12180
12181
12182for ac_header in X11/Xft/Xft.h
12183do 11759do
12184as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11760as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12185if eval "test \"\${$as_ac_Header+set}\" = set"; then 11761if eval "test \"\${$as_ac_Header+set}\" = set"; then
12186 echo "$as_me:$LINENO: checking for $ac_header" >&5 11762 echo "$as_me:$LINENO: checking for $ac_header" >&5
12187echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11763echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12210 grep -v '^ *+' conftest.er1 >conftest.err 11786 grep -v '^ *+' conftest.er1 >conftest.err
12211 rm -f conftest.er1 11787 rm -f conftest.er1
12212 cat conftest.err >&5 11788 cat conftest.err >&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); } && 11790 (exit $ac_status); } &&
12215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11791 { ac_try='test -z "$ac_cxx_werror_flag"
11792 || test ! -s conftest.err'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5 11794 (eval $ac_try) 2>&5
12218 ac_status=$? 11795 ac_status=$?
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; } && 11797 (exit $ac_status); }; } &&
12321if test `eval echo '${'$as_ac_Header'}'` = yes; then 11898if test `eval echo '${'$as_ac_Header'}'` = yes; then
12322 cat >>confdefs.h <<_ACEOF 11899 cat >>confdefs.h <<_ACEOF
12323#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11900#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12324_ACEOF 11901_ACEOF
12325 11902
11903fi
11904
11905done
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917for ac_func in \
11918 revoke \
11919 _getpty \
11920 getpt \
11921 posix_openpt \
11922 isastream \
11923 setuid \
11924 seteuid \
11925 setreuid \
11926 setresuid \
11927
11928do
11929as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11930echo "$as_me:$LINENO: checking for $ac_func" >&5
11931echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11932if eval "test \"\${$as_ac_var+set}\" = set"; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11934else
11935 cat >conftest.$ac_ext <<_ACEOF
11936/* confdefs.h. */
11937_ACEOF
11938cat confdefs.h >>conftest.$ac_ext
11939cat >>conftest.$ac_ext <<_ACEOF
11940/* end confdefs.h. */
11941/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11943#define $ac_func innocuous_$ac_func
11944
11945/* System header to define __stub macros and hopefully few prototypes,
11946 which can conflict with char $ac_func (); below.
11947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11948 <limits.h> exists even on freestanding compilers. */
11949
11950#ifdef __STDC__
11951# include <limits.h>
11952#else
11953# include <assert.h>
11954#endif
11955
11956#undef $ac_func
11957
11958/* Override any gcc2 internal prototype to avoid an error. */
11959#ifdef __cplusplus
11960extern "C"
11961{
11962#endif
11963/* We use char because int might match the return type of a gcc2
11964 builtin and then its argument prototype would still apply. */
11965char $ac_func ();
11966/* The GNU C library defines this for functions which it implements
11967 to always fail with ENOSYS. Some functions are actually named
11968 something starting with __ and the normal name is an alias. */
11969#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11970choke me
11971#else
11972char (*f) () = $ac_func;
11973#endif
11974#ifdef __cplusplus
11975}
11976#endif
11977
11978int
11979main ()
11980{
11981return f != $ac_func;
11982 ;
11983 return 0;
11984}
11985_ACEOF
11986rm -f conftest.$ac_objext conftest$ac_exeext
11987if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11988 (eval $ac_link) 2>conftest.er1
11989 ac_status=$?
11990 grep -v '^ *+' conftest.er1 >conftest.err
11991 rm -f conftest.er1
11992 cat conftest.err >&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); } &&
11995 { ac_try='test -z "$ac_cxx_werror_flag"
11996 || test ! -s conftest.err'
11997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11998 (eval $ac_try) 2>&5
11999 ac_status=$?
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); }; } &&
12002 { ac_try='test -s conftest$ac_exeext'
12003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12004 (eval $ac_try) 2>&5
12005 ac_status=$?
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); }; }; then
12008 eval "$as_ac_var=yes"
12009else
12010 echo "$as_me: failed program was:" >&5
12011sed 's/^/| /' conftest.$ac_ext >&5
12012
12013eval "$as_ac_var=no"
12014fi
12015rm -f conftest.err conftest.$ac_objext \
12016 conftest$ac_exeext conftest.$ac_ext
12017fi
12018echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12019echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12020if test `eval echo '${'$as_ac_var'}'` = yes; then
12021 cat >>confdefs.h <<_ACEOF
12022#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12023_ACEOF
12024
12025fi
12026done
12027
12028
12029have_clone=no
12030
12031echo "$as_me:$LINENO: checking for /dev/ptym/clone" >&5
12032echo $ECHO_N "checking for /dev/ptym/clone... $ECHO_C" >&6
12033if test -e /dev/ptym/clone; then
12034 echo "$as_me:$LINENO: result: yes" >&5
12035echo "${ECHO_T}yes" >&6
12036
12037cat >>confdefs.h <<\_ACEOF
12038#define HAVE_DEV_CLONE 1
12039_ACEOF
12040
12041
12042cat >>confdefs.h <<\_ACEOF
12043#define CLONE_DEVICE "/dev/ptym/clone"
12044_ACEOF
12045
12046 have_clone=yes
12047else
12048 echo "$as_me:$LINENO: result: no" >&5
12049echo "${ECHO_T}no" >&6
12050fi
12051
12052echo "$as_me:$LINENO: checking for /dev/ptc" >&5
12053echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6
12054if test -e /dev/ptc; then
12055 echo "$as_me:$LINENO: result: yes" >&5
12056echo "${ECHO_T}yes" >&6
12057
12058cat >>confdefs.h <<\_ACEOF
12059#define HAVE_DEV_PTC 1
12060_ACEOF
12061
12062
12063cat >>confdefs.h <<\_ACEOF
12064#define CLONE_DEVICE "/dev/ptc"
12065_ACEOF
12066
12067 have_clone=yes
12068else
12069 echo "$as_me:$LINENO: result: no" >&5
12070echo "${ECHO_T}no" >&6
12071fi
12072
12073case $host in
12074 *-*-cygwin*)
12075 have_clone=yes
12076
12077cat >>confdefs.h <<\_ACEOF
12078#define CLONE_DEVICE "/dev/ptmx"
12079_ACEOF
12080
12081 ;;
12082 *)
12083 echo "$as_me:$LINENO: checking for /dev/ptmx" >&5
12084echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6
12085 if test -e /dev/ptmx; then
12086 echo "$as_me:$LINENO: result: yes" >&5
12087echo "${ECHO_T}yes" >&6
12088
12089cat >>confdefs.h <<\_ACEOF
12090#define HAVE_DEV_PTMX 1
12091_ACEOF
12092
12093
12094cat >>confdefs.h <<\_ACEOF
12095#define CLONE_DEVICE "/dev/ptmx"
12096_ACEOF
12097
12098 have_clone=yes
12099 else
12100 echo "$as_me:$LINENO: result: no" >&5
12101echo "${ECHO_T}no" >&6
12102 fi
12103 ;;
12104esac
12105
12106if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then
12107 echo "$as_me:$LINENO: checking for UNIX98 ptys" >&5
12108echo $ECHO_N "checking for UNIX98 ptys... $ECHO_C" >&6
12109 cat >conftest.$ac_ext <<_ACEOF
12110/* confdefs.h. */
12111_ACEOF
12112cat confdefs.h >>conftest.$ac_ext
12113cat >>conftest.$ac_ext <<_ACEOF
12114/* end confdefs.h. */
12115#include <stdlib.h>
12116int
12117main ()
12118{
12119grantpt(0);unlockpt(0);ptsname(0);
12120 ;
12121 return 0;
12122}
12123_ACEOF
12124rm -f conftest.$ac_objext conftest$ac_exeext
12125if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12126 (eval $ac_link) 2>conftest.er1
12127 ac_status=$?
12128 grep -v '^ *+' conftest.er1 >conftest.err
12129 rm -f conftest.er1
12130 cat conftest.err >&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); } &&
12133 { ac_try='test -z "$ac_cxx_werror_flag"
12134 || test ! -s conftest.err'
12135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12136 (eval $ac_try) 2>&5
12137 ac_status=$?
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); }; } &&
12140 { ac_try='test -s conftest$ac_exeext'
12141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142 (eval $ac_try) 2>&5
12143 ac_status=$?
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); }; }; then
12146 unix98_pty=yes
12147
12148cat >>confdefs.h <<\_ACEOF
12149#define UNIX98_PTY 1
12150_ACEOF
12151
12152 echo "$as_me:$LINENO: result: yes" >&5
12153echo "${ECHO_T}yes" >&6
12154else
12155 echo "$as_me: failed program was:" >&5
12156sed 's/^/| /' conftest.$ac_ext >&5
12157
12158echo "$as_me:$LINENO: result: no" >&5
12159echo "${ECHO_T}no" >&6
12160fi
12161rm -f conftest.err conftest.$ac_objext \
12162 conftest$ac_exeext conftest.$ac_ext
12163fi
12164
12165if test -z "$unix98_pty"; then
12166
12167for ac_func in openpty
12168do
12169as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12170echo "$as_me:$LINENO: checking for $ac_func" >&5
12171echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12172if eval "test \"\${$as_ac_var+set}\" = set"; then
12173 echo $ECHO_N "(cached) $ECHO_C" >&6
12174else
12175 cat >conftest.$ac_ext <<_ACEOF
12176/* confdefs.h. */
12177_ACEOF
12178cat confdefs.h >>conftest.$ac_ext
12179cat >>conftest.$ac_ext <<_ACEOF
12180/* end confdefs.h. */
12181/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12183#define $ac_func innocuous_$ac_func
12184
12185/* System header to define __stub macros and hopefully few prototypes,
12186 which can conflict with char $ac_func (); below.
12187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12188 <limits.h> exists even on freestanding compilers. */
12189
12190#ifdef __STDC__
12191# include <limits.h>
12192#else
12193# include <assert.h>
12194#endif
12195
12196#undef $ac_func
12197
12198/* Override any gcc2 internal prototype to avoid an error. */
12199#ifdef __cplusplus
12200extern "C"
12201{
12202#endif
12203/* We use char because int might match the return type of a gcc2
12204 builtin and then its argument prototype would still apply. */
12205char $ac_func ();
12206/* The GNU C library defines this for functions which it implements
12207 to always fail with ENOSYS. Some functions are actually named
12208 something starting with __ and the normal name is an alias. */
12209#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12210choke me
12211#else
12212char (*f) () = $ac_func;
12213#endif
12214#ifdef __cplusplus
12215}
12216#endif
12217
12218int
12219main ()
12220{
12221return f != $ac_func;
12222 ;
12223 return 0;
12224}
12225_ACEOF
12226rm -f conftest.$ac_objext conftest$ac_exeext
12227if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12228 (eval $ac_link) 2>conftest.er1
12229 ac_status=$?
12230 grep -v '^ *+' conftest.er1 >conftest.err
12231 rm -f conftest.er1
12232 cat conftest.err >&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); } &&
12235 { ac_try='test -z "$ac_cxx_werror_flag"
12236 || test ! -s conftest.err'
12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5
12239 ac_status=$?
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; } &&
12242 { ac_try='test -s conftest$ac_exeext'
12243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12244 (eval $ac_try) 2>&5
12245 ac_status=$?
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; }; then
12248 eval "$as_ac_var=yes"
12249else
12250 echo "$as_me: failed program was:" >&5
12251sed 's/^/| /' conftest.$ac_ext >&5
12252
12253eval "$as_ac_var=no"
12254fi
12255rm -f conftest.err conftest.$ac_objext \
12256 conftest$ac_exeext conftest.$ac_ext
12257fi
12258echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12259echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12260if test `eval echo '${'$as_ac_var'}'` = yes; then
12261 cat >>confdefs.h <<_ACEOF
12262#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12263_ACEOF
12264
12265else
12266 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
12267echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
12268if test "${ac_cv_lib_util_openpty+set}" = set; then
12269 echo $ECHO_N "(cached) $ECHO_C" >&6
12270else
12271 ac_check_lib_save_LIBS=$LIBS
12272LIBS="-lutil $LIBS"
12273cat >conftest.$ac_ext <<_ACEOF
12274/* confdefs.h. */
12275_ACEOF
12276cat confdefs.h >>conftest.$ac_ext
12277cat >>conftest.$ac_ext <<_ACEOF
12278/* end confdefs.h. */
12279
12280/* Override any gcc2 internal prototype to avoid an error. */
12281#ifdef __cplusplus
12282extern "C"
12283#endif
12284/* We use char because int might match the return type of a gcc2
12285 builtin and then its argument prototype would still apply. */
12286char openpty ();
12287int
12288main ()
12289{
12290openpty ();
12291 ;
12292 return 0;
12293}
12294_ACEOF
12295rm -f conftest.$ac_objext conftest$ac_exeext
12296if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12297 (eval $ac_link) 2>conftest.er1
12298 ac_status=$?
12299 grep -v '^ *+' conftest.er1 >conftest.err
12300 rm -f conftest.er1
12301 cat conftest.err >&5
12302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303 (exit $ac_status); } &&
12304 { ac_try='test -z "$ac_cxx_werror_flag"
12305 || test ! -s conftest.err'
12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307 (eval $ac_try) 2>&5
12308 ac_status=$?
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }; } &&
12311 { ac_try='test -s conftest$ac_exeext'
12312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313 (eval $ac_try) 2>&5
12314 ac_status=$?
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }; }; then
12317 ac_cv_lib_util_openpty=yes
12318else
12319 echo "$as_me: failed program was:" >&5
12320sed 's/^/| /' conftest.$ac_ext >&5
12321
12322ac_cv_lib_util_openpty=no
12323fi
12324rm -f conftest.err conftest.$ac_objext \
12325 conftest$ac_exeext conftest.$ac_ext
12326LIBS=$ac_check_lib_save_LIBS
12327fi
12328echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
12329echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
12330if test $ac_cv_lib_util_openpty = yes; then
12331 cat >>confdefs.h <<\_ACEOF
12332#define HAVE_OPENPTY 1
12333_ACEOF
12334 LIBS="$LIBS -lutil"
12335fi
12336
12337fi
12338done
12339
12340fi
12341
12342
12343
12344echo "$as_me:$LINENO: checking for tty group" >&5
12345echo $ECHO_N "checking for tty group... $ECHO_C" >&6
12346if test "${tty_group+set}" = set; then
12347 echo $ECHO_N "(cached) $ECHO_C" >&6
12348else
12349 if test "$cross_compiling" = yes; then
12350 tty_group=no
12351else
12352 cat >conftest.$ac_ext <<_ACEOF
12353/* confdefs.h. */
12354_ACEOF
12355cat confdefs.h >>conftest.$ac_ext
12356cat >>conftest.$ac_ext <<_ACEOF
12357/* end confdefs.h. */
12358
12359#include <sys/types.h>
12360#include <sys/stat.h>
12361#include <unistd.h>
12362#include <grp.h>
12363
12364main()
12365{
12366 struct stat st;
12367 struct group *gr;
12368 char *tty;
12369 gr = getgrnam("tty");
12370 tty = ttyname(0);
12371 if (gr != 0
12372 && tty != 0
12373 && (stat(tty, &st)) == 0
12374 && st.st_gid == gr->gr_gid)
12375 return 0;
12376 else
12377 return 1;
12378}
12379_ACEOF
12380rm -f conftest$ac_exeext
12381if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12382 (eval $ac_link) 2>&5
12383 ac_status=$?
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12388 ac_status=$?
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; }; then
12391 tty_group=yes
12392else
12393 echo "$as_me: program exited with status $ac_status" >&5
12394echo "$as_me: failed program was:" >&5
12395sed 's/^/| /' conftest.$ac_ext >&5
12396
12397( exit $ac_status )
12398tty_group=no
12399fi
12400rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12401fi
12402fi
12403echo "$as_me:$LINENO: result: $tty_group" >&5
12404echo "${ECHO_T}$tty_group" >&6
12405if test x$tty_group = xyes; then
12406
12407cat >>confdefs.h <<\_ACEOF
12408#define TTY_GID_SUPPORT 1
12409_ACEOF
12410
12411fi
12412
12413if test x$support_xft = xyes; then
12414 # Extract the first word of "pkg-config", so it can be a program name with args.
12415set dummy pkg-config; ac_word=$2
12416echo "$as_me:$LINENO: checking for $ac_word" >&5
12417echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12418if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12420else
12421 case $PKG_CONFIG in
12422 [\\/]* | ?:[\\/]*)
12423 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12424 ;;
12425 *)
12426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12427for as_dir in $PATH
12428do
12429 IFS=$as_save_IFS
12430 test -z "$as_dir" && as_dir=.
12431 for ac_exec_ext in '' $ac_executable_extensions; do
12432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12433 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12435 break 2
12436 fi
12437done
12438done
12439
12440 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12441 ;;
12442esac
12443fi
12444PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12445
12446if test -n "$PKG_CONFIG"; then
12447 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12448echo "${ECHO_T}$PKG_CONFIG" >&6
12449else
12450 echo "$as_me:$LINENO: result: no" >&5
12451echo "${ECHO_T}no" >&6
12452fi
12453
12454 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12455 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12456 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12457 else
12458 # Extract the first word of "xft-config", so it can be a program name with args.
12459set dummy xft-config; ac_word=$2
12460echo "$as_me:$LINENO: checking for $ac_word" >&5
12461echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12462if test "${ac_cv_path_XFT_CONFIG+set}" = set; then
12463 echo $ECHO_N "(cached) $ECHO_C" >&6
12464else
12465 case $XFT_CONFIG in
12466 [\\/]* | ?:[\\/]*)
12467 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path.
12468 ;;
12469 *)
12470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12471for as_dir in $PATH
12472do
12473 IFS=$as_save_IFS
12474 test -z "$as_dir" && as_dir=.
12475 for ac_exec_ext in '' $ac_executable_extensions; do
12476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12477 ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12479 break 2
12480 fi
12481done
12482done
12483
12484 test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no"
12485 ;;
12486esac
12487fi
12488XFT_CONFIG=$ac_cv_path_XFT_CONFIG
12489
12490if test -n "$XFT_CONFIG"; then
12491 echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5
12492echo "${ECHO_T}$XFT_CONFIG" >&6
12493else
12494 echo "$as_me:$LINENO: result: no" >&5
12495echo "${ECHO_T}no" >&6
12496fi
12497
12498 if test $XFT_CONFIG != no; then
12499 LIBS="$LIBS `$XFT_CONFIG --libs`"
12500 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12501 fi
12502 fi
12503
12504
12505for ac_header in X11/Xft/Xft.h
12506do
12507as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12508if eval "test \"\${$as_ac_Header+set}\" = set"; then
12509 echo "$as_me:$LINENO: checking for $ac_header" >&5
12510echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12511if eval "test \"\${$as_ac_Header+set}\" = set"; then
12512 echo $ECHO_N "(cached) $ECHO_C" >&6
12513fi
12514echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12515echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12516else
12517 # Is the header compilable?
12518echo "$as_me:$LINENO: checking $ac_header usability" >&5
12519echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12520cat >conftest.$ac_ext <<_ACEOF
12521/* confdefs.h. */
12522_ACEOF
12523cat confdefs.h >>conftest.$ac_ext
12524cat >>conftest.$ac_ext <<_ACEOF
12525/* end confdefs.h. */
12526$ac_includes_default
12527#include <$ac_header>
12528_ACEOF
12529rm -f conftest.$ac_objext
12530if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12531 (eval $ac_compile) 2>conftest.er1
12532 ac_status=$?
12533 grep -v '^ *+' conftest.er1 >conftest.err
12534 rm -f conftest.er1
12535 cat conftest.err >&5
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); } &&
12538 { ac_try='test -z "$ac_cxx_werror_flag"
12539 || test ! -s conftest.err'
12540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12541 (eval $ac_try) 2>&5
12542 ac_status=$?
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); }; } &&
12545 { ac_try='test -s conftest.$ac_objext'
12546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12547 (eval $ac_try) 2>&5
12548 ac_status=$?
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); }; }; then
12551 ac_header_compiler=yes
12552else
12553 echo "$as_me: failed program was:" >&5
12554sed 's/^/| /' conftest.$ac_ext >&5
12555
12556ac_header_compiler=no
12557fi
12558rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12559echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12560echo "${ECHO_T}$ac_header_compiler" >&6
12561
12562# Is the header present?
12563echo "$as_me:$LINENO: checking $ac_header presence" >&5
12564echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12565cat >conftest.$ac_ext <<_ACEOF
12566/* confdefs.h. */
12567_ACEOF
12568cat confdefs.h >>conftest.$ac_ext
12569cat >>conftest.$ac_ext <<_ACEOF
12570/* end confdefs.h. */
12571#include <$ac_header>
12572_ACEOF
12573if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12574 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12575 ac_status=$?
12576 grep -v '^ *+' conftest.er1 >conftest.err
12577 rm -f conftest.er1
12578 cat conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } >/dev/null; then
12581 if test -s conftest.err; then
12582 ac_cpp_err=$ac_cxx_preproc_warn_flag
12583 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12584 else
12585 ac_cpp_err=
12586 fi
12587else
12588 ac_cpp_err=yes
12589fi
12590if test -z "$ac_cpp_err"; then
12591 ac_header_preproc=yes
12592else
12593 echo "$as_me: failed program was:" >&5
12594sed 's/^/| /' conftest.$ac_ext >&5
12595
12596 ac_header_preproc=no
12597fi
12598rm -f conftest.err conftest.$ac_ext
12599echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12600echo "${ECHO_T}$ac_header_preproc" >&6
12601
12602# So? What about this header?
12603case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12604 yes:no: )
12605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12606echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12608echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12609 ac_header_preproc=yes
12610 ;;
12611 no:yes:* )
12612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12613echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12615echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12617echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12619echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12621echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12623echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12624 (
12625 cat <<\_ASBOX
12626## ------------------------------------------ ##
12627## Report this to the AC_PACKAGE_NAME lists. ##
12628## ------------------------------------------ ##
12629_ASBOX
12630 ) |
12631 sed "s/^/$as_me: WARNING: /" >&2
12632 ;;
12633esac
12634echo "$as_me:$LINENO: checking for $ac_header" >&5
12635echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12636if eval "test \"\${$as_ac_Header+set}\" = set"; then
12637 echo $ECHO_N "(cached) $ECHO_C" >&6
12638else
12639 eval "$as_ac_Header=\$ac_header_preproc"
12640fi
12641echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12642echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12643
12644fi
12645if test `eval echo '${'$as_ac_Header'}'` = yes; then
12646 cat >>confdefs.h <<_ACEOF
12647#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12648_ACEOF
12649
12326else 12650else
12327 support_xft=no 12651 support_xft=no
12328fi 12652fi
12329 12653
12330done 12654done
12366 grep -v '^ *+' conftest.er1 >conftest.err 12690 grep -v '^ *+' conftest.er1 >conftest.err
12367 rm -f conftest.er1 12691 rm -f conftest.er1
12368 cat conftest.err >&5 12692 cat conftest.err >&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); } && 12694 (exit $ac_status); } &&
12371 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12695 { ac_try='test -z "$ac_cxx_werror_flag"
12696 || test ! -s conftest.err'
12372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12373 (eval $ac_try) 2>&5 12698 (eval $ac_try) 2>&5
12374 ac_status=$? 12699 ac_status=$?
12375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); }; } && 12701 (exit $ac_status); }; } &&
12449 12774
12450fi 12775fi
12451if test x$support_inheritpixmap = xyes; then 12776if test x$support_inheritpixmap = xyes; then
12452 12777
12453cat >>confdefs.h <<\_ACEOF 12778cat >>confdefs.h <<\_ACEOF
12454#define TRANSPARENT 1 12779#define ENABLE_TRANSPARENCY 1
12455_ACEOF 12780_ACEOF
12456 12781
12457fi 12782fi
12458if test x$support_keepscrolling = xno; then 12783if test x$support_keepscrolling = xno; then
12459 12784
12467cat >>confdefs.h <<\_ACEOF 12792cat >>confdefs.h <<\_ACEOF
12468#define SELECTION_SCROLLING 1 12793#define SELECTION_SCROLLING 1
12469_ACEOF 12794_ACEOF
12470 12795
12471fi 12796fi
12472if test x$support_menubar = xyes; then
12473
12474cat >>confdefs.h <<\_ACEOF
12475#define MENUBAR 1
12476_ACEOF
12477
12478fi
12479if test x$support_frills = xyes; then
12480
12481cat >>confdefs.h <<\_ACEOF
12482#define ENABLE_FRILLS 1
12483_ACEOF
12484
12485fi
12486if test x$support_24bit = xyes; then
12487
12488cat >>confdefs.h <<\_ACEOF
12489#define PREFER_24BIT 1
12490_ACEOF
12491
12492fi
12493if test x$support_mousewheel = xyes; then 12797if test x$support_mousewheel = xyes; then
12494 12798
12495cat >>confdefs.h <<\_ACEOF 12799cat >>confdefs.h <<\_ACEOF
12496#define MOUSE_WHEEL 1 12800#define MOUSE_WHEEL 1
12497_ACEOF 12801_ACEOF
12502cat >>confdefs.h <<\_ACEOF 12806cat >>confdefs.h <<\_ACEOF
12503#define MOUSE_SLIP_WHEELING 1 12807#define MOUSE_SLIP_WHEELING 1
12504_ACEOF 12808_ACEOF
12505 12809
12506fi 12810fi
12507if test x$support_utmp = xyes; then
12508
12509cat >>confdefs.h <<\_ACEOF
12510#define UTMP_SUPPORT 1
12511_ACEOF
12512
12513fi
12514if test x$support_wtmp = xyes; then
12515
12516cat >>confdefs.h <<\_ACEOF
12517#define WTMP_SUPPORT 1
12518_ACEOF
12519
12520fi
12521if test x$support_lastlog = xyes; then
12522
12523cat >>confdefs.h <<\_ACEOF
12524#define LASTLOG_SUPPORT 1
12525_ACEOF
12526
12527fi
12528if test x$support_xim = xyes -o x$multichar_set = xyes; then 12811if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then
12529 if test x$rxvt_cv_func_xlocale = xyes; then
12530
12531cat >>confdefs.h <<\_ACEOF
12532#define USE_XIM 1
12533_ACEOF
12534
12535 fi
12536fi
12537if test x$support_xpm = xyes; then
12538 12812
12539cat >>confdefs.h <<\_ACEOF 12813cat >>confdefs.h <<\_ACEOF
12540#define XPM_BACKGROUND 1 12814#define XPM_BACKGROUND 1
12541_ACEOF 12815_ACEOF
12542 12816
12543fi 12817fi
12818
12819if test x$support_afterimage = xyes; then
12820
12821cat >>confdefs.h <<\_ACEOF
12822#define HAVE_AFTERIMAGE 1
12823_ACEOF
12824
12825fi
12826
12827if test x$support_afterstep = xyes; then
12828
12829cat >>confdefs.h <<\_ACEOF
12830#define AFTERSTEP_INTEGRATION 1
12831_ACEOF
12832
12833fi
12834
12544if test x$support_scroll_rxvt = xyes; then 12835if test x$support_scroll_rxvt = xyes; then
12545 12836
12546cat >>confdefs.h <<\_ACEOF 12837cat >>confdefs.h <<\_ACEOF
12547#define RXVT_SCROLLBAR 1 12838#define RXVT_SCROLLBAR 1
12548_ACEOF 12839_ACEOF
12642_ACEOF 12933_ACEOF
12643 ;; 12934 ;;
12644 esac 12935 esac
12645done 12936done
12646 12937
12938IF_PERL=\#
12939if test x$support_perl = xyes; then
12940 # Extract the first word of "perl5", so it can be a program name with args.
12941set dummy perl5; ac_word=$2
12942echo "$as_me:$LINENO: checking for $ac_word" >&5
12943echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12944if test "${ac_cv_path_PERL+set}" = set; then
12945 echo $ECHO_N "(cached) $ECHO_C" >&6
12946else
12947 case $PERL in
12948 [\\/]* | ?:[\\/]*)
12949 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
12950 ;;
12951 *)
12952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12953for as_dir in $PATH
12954do
12955 IFS=$as_save_IFS
12956 test -z "$as_dir" && as_dir=.
12957 for ac_exec_ext in '' $ac_executable_extensions; do
12958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12959 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
12960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12961 break 2
12962 fi
12963done
12964done
12647 12965
12648CFLAGS=${CFLAGS--O} 12966 ;;
12649LDFLAGS=${LDFLAGS--O} 12967esac
12650
12651CPPFLAGS="$CPPFLAGS"
12652
12653
12654
12655
12656
12657
12658
12659if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
12660 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
12661 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
12662 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
12663 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
12664 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
12665fi 12968fi
12969PERL=$ac_cv_path_PERL
12666 12970
12971if test -n "$PERL"; then
12972 echo "$as_me:$LINENO: result: $PERL" >&5
12973echo "${ECHO_T}$PERL" >&6
12974else
12975 echo "$as_me:$LINENO: result: no" >&5
12976echo "${ECHO_T}no" >&6
12977fi
12667 12978
12979 # Extract the first word of "perl", so it can be a program name with args.
12980set dummy perl; ac_word=$2
12981echo "$as_me:$LINENO: checking for $ac_word" >&5
12982echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12983if test "${ac_cv_path_PERL+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12985else
12986 case $PERL in
12987 [\\/]* | ?:[\\/]*)
12988 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
12989 ;;
12990 *)
12991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12992for as_dir in $PATH
12993do
12994 IFS=$as_save_IFS
12995 test -z "$as_dir" && as_dir=.
12996 for ac_exec_ext in '' $ac_executable_extensions; do
12997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12998 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
12999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13000 break 2
13001 fi
13002done
13003done
12668 13004
13005 ;;
13006esac
13007fi
13008PERL=$ac_cv_path_PERL
12669 13009
13010if test -n "$PERL"; then
13011 echo "$as_me:$LINENO: result: $PERL" >&5
13012echo "${ECHO_T}$PERL" >&6
13013else
13014 echo "$as_me:$LINENO: result: no" >&5
13015echo "${ECHO_T}no" >&6
13016fi
12670 13017
12671if test x$support_addstrings = xno; then 13018
13019 echo "$as_me:$LINENO: checking for $PERL suitability" >&5
13020echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6
13021 if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then
13022
13023 save_CXXFLAGS="$CXXFLAGS"
13024 save_LIBS="$LIBS"
13025 CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`"
13026 LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`"
13027 cat >conftest.$ac_ext <<_ACEOF
13028/* confdefs.h. */
13029_ACEOF
13030cat confdefs.h >>conftest.$ac_ext
13031cat >>conftest.$ac_ext <<_ACEOF
13032/* end confdefs.h. */
13033
13034#include <EXTERN.h>
13035#include <perl.h>
13036#include <XSUB.h>
13037
13038int
13039main ()
13040{
13041
13042 PerlInterpreter *perl = perl_alloc ();
13043
13044 ;
13045 return 0;
13046}
13047_ACEOF
13048rm -f conftest.$ac_objext conftest$ac_exeext
13049if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13050 (eval $ac_link) 2>conftest.er1
13051 ac_status=$?
13052 grep -v '^ *+' conftest.er1 >conftest.err
13053 rm -f conftest.er1
13054 cat conftest.err >&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); } &&
13057 { ac_try='test -z "$ac_cxx_werror_flag"
13058 || test ! -s conftest.err'
13059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13060 (eval $ac_try) 2>&5
13061 ac_status=$?
13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063 (exit $ac_status); }; } &&
13064 { ac_try='test -s conftest$ac_exeext'
13065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066 (eval $ac_try) 2>&5
13067 ac_status=$?
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; }; then
13070 rxvt_perl_link=yes
13071else
13072 echo "$as_me: failed program was:" >&5
13073sed 's/^/| /' conftest.$ac_ext >&5
13074
13075rxvt_perl_link=no
13076fi
13077rm -f conftest.err conftest.$ac_objext \
13078 conftest$ac_exeext conftest.$ac_ext
13079 CXXFLAGS="$save_CXXFLAGS"
13080 LIBS="$save_LIBS"
13081
13082 if test x$rxvt_perl_link = xyes; then
13083 echo "$as_me:$LINENO: result: ok" >&5
13084echo "${ECHO_T}ok" >&6
12672 13085
12673cat >>confdefs.h <<\_ACEOF 13086cat >>confdefs.h <<\_ACEOF
12674#define NO_STRINGS 1 13087#define ENABLE_PERL 1
12675_ACEOF 13088_ACEOF
12676 13089
13090 IF_PERL=
13091 PERL_O=rxvtperl.o
13092 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`"
13093 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`"
13094 PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`"
13095 else
13096 { { echo "$as_me:$LINENO: error: no, unable to link" >&5
13097echo "$as_me: error: no, unable to link" >&2;}
13098 { (exit 1); exit 1; }; }
13099 fi
13100 else
13101 { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5
13102echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;}
13103 { (exit 1); exit 1; }; }
13104 fi
12677fi 13105fi
12678 13106
12679MCOMMON=./autoconf/Make.common 13107
13108
13109
13110
13111
13112
13113if test x$support_perl = xyes; then
13114 support_frills=yes
13115fi
13116
13117if test x$support_frills = xyes; then
13118
13119cat >>confdefs.h <<\_ACEOF
13120#define ENABLE_FRILLS 1
13121_ACEOF
13122
13123fi
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
12680 13135
12681 13136
12682test "$program_prefix" != NONE && 13137test "$program_prefix" != NONE &&
12683 program_transform_name="s,^,$program_prefix,;$program_transform_name" 13138 program_transform_name="s,^,$program_prefix,;$program_transform_name"
12684# Use a double $ so make ignores it. 13139# Use a double $ so make ignores it.
12760 include_time_h="#include <time.h>" 13215 include_time_h="#include <time.h>"
12761else 13216else
12762 include_time_h="/* #include <time.h> */" 13217 include_time_h="/* #include <time.h> */"
12763fi 13218fi
12764 13219
12765 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" 13220 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h"
12766 13221
12767cat >confcache <<\_ACEOF 13222cat >confcache <<\_ACEOF
12768# This file is a shell script that caches the results of configure 13223# This file is a shell script that caches the results of configure
12769# tests run on this system so they can be shared between configure 13224# tests run on this system so they can be shared between configure
12770# scripts and configure runs, see configure's option --config-cache. 13225# scripts and configure runs, see configure's option --config-cache.
13287cat >>$CONFIG_STATUS <<\_ACEOF 13742cat >>$CONFIG_STATUS <<\_ACEOF
13288for ac_config_target in $ac_config_targets 13743for ac_config_target in $ac_config_targets
13289do 13744do
13290 case "$ac_config_target" in 13745 case "$ac_config_target" in
13291 # Handling of arguments. 13746 # Handling of arguments.
13292 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
13293 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13747 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13294 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 13748 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13295 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13749 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13296 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; 13750 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
13297 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; 13751 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
13298 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13752 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13299echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13753echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13300 { (exit 1); exit 1; }; };; 13754 { (exit 1); exit 1; }; };;
13301 esac 13755 esac
13302done 13756done
13403s,@ac_ct_CXX@,$ac_ct_CXX,;t t 13857s,@ac_ct_CXX@,$ac_ct_CXX,;t t
13404s,@CPP@,$CPP,;t t 13858s,@CPP@,$CPP,;t t
13405s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 13859s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13406s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 13860s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13407s,@INSTALL_DATA@,$INSTALL_DATA,;t t 13861s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13408s,@AWK@,$AWK,;t t 13862s,@EGREP@,$EGREP,;t t
13409s,@LINKER@,$LINKER,;t t 13863s,@LINKER@,$LINKER,;t t
13410s,@CXXCPP@,$CXXCPP,;t t
13411s,@EGREP@,$EGREP,;t t
13412s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 13864s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
13413s,@RXVTNAME@,$RXVTNAME,;t t 13865s,@RXVTNAME@,$RXVTNAME,;t t
13414s,@MV@,$MV,;t t
13415s,@RM@,$RM,;t t
13416s,@CP@,$CP,;t t
13417s,@LN@,$LN,;t t
13418s,@SED@,$SED,;t t
13419s,@ECHO@,$ECHO,;t t
13420s,@CMP@,$CMP,;t t
13421s,@TBL@,$TBL,;t t
13422s,@TIC@,$TIC,;t t 13866s,@TIC@,$TIC,;t t
13867s,@CXXCPP@,$CXXCPP,;t t
13423s,@X_CFLAGS@,$X_CFLAGS,;t t 13868s,@X_CFLAGS@,$X_CFLAGS,;t t
13424s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 13869s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
13425s,@X_LIBS@,$X_LIBS,;t t 13870s,@X_LIBS@,$X_LIBS,;t t
13426s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 13871s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
13872s,@afterimage_config@,$afterimage_config,;t t
13427s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 13873s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t
13428s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t 13874s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t
13429s,@XPM_LIBS@,$XPM_LIBS,;t t 13875s,@XPM_LIBS@,$XPM_LIBS,;t t
13430s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t 13876s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t
13431s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t 13877s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t
13432s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t 13878s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t
13433s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t 13879s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t
13434s,@rxvt_intp_define@,$rxvt_intp_define,;t t 13880s,@rxvt_intp_define@,$rxvt_intp_define,;t t
13435s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 13881s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
13436s,@DEBUG@,$DEBUG,;t t 13882s,@PKG_CONFIG@,$PKG_CONFIG,;t t
13437s,@DINCLUDE@,$DINCLUDE,;t t 13883s,@XFT_CONFIG@,$XFT_CONFIG,;t t
13884s,@PERL@,$PERL,;t t
13438s,@DLIB@,$DLIB,;t t 13885s,@PERLLIB@,$PERLLIB,;t t
13886s,@PERLFLAGS@,$PERLFLAGS,;t t
13887s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t
13888s,@IF_PERL@,$IF_PERL,;t t
13889s,@PERL_O@,$PERL_O,;t t
13890s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t
13891s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t
13439s,@include_stdint_h@,$include_stdint_h,;t t 13892s,@include_stdint_h@,$include_stdint_h,;t t
13440s,@include_stdarg_h@,$include_stdarg_h,;t t 13893s,@include_stdarg_h@,$include_stdarg_h,;t t
13441s,@include_stdlib_h@,$include_stdlib_h,;t t 13894s,@include_stdlib_h@,$include_stdlib_h,;t t
13442s,@include_unistd_h@,$include_unistd_h,;t t 13895s,@include_unistd_h@,$include_unistd_h,;t t
13443s,@include_string_h@,$include_string_h,;t t 13896s,@include_string_h@,$include_string_h,;t t
13449s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t 13902s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t
13450s,@include_sys_time_h@,$include_sys_time_h,;t t 13903s,@include_sys_time_h@,$include_sys_time_h,;t t
13451s,@include_time_h@,$include_time_h,;t t 13904s,@include_time_h@,$include_time_h,;t t
13452s,@LIBOBJS@,$LIBOBJS,;t t 13905s,@LIBOBJS@,$LIBOBJS,;t t
13453s,@LTLIBOBJS@,$LTLIBOBJS,;t t 13906s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13454/@MCOMMON@/r $MCOMMON
13455s,@MCOMMON@,,;t t
13456CEOF 13907CEOF
13457 13908
13458_ACEOF 13909_ACEOF
13459 13910
13460 cat >>$CONFIG_STATUS <<\_ACEOF 13911 cat >>$CONFIG_STATUS <<\_ACEOF
13617 case $INSTALL in 14068 case $INSTALL in
13618 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14069 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13619 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 14070 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13620 esac 14071 esac
13621 14072
14073 if test x"$ac_file" != x-; then
14074 { echo "$as_me:$LINENO: creating $ac_file" >&5
14075echo "$as_me: creating $ac_file" >&6;}
14076 rm -f "$ac_file"
14077 fi
13622 # Let's still pretend it is `configure' which instantiates (i.e., don't 14078 # Let's still pretend it is `configure' which instantiates (i.e., don't
13623 # use $as_me), people would be surprised to read: 14079 # use $as_me), people would be surprised to read:
13624 # /* config.h. Generated by config.status. */ 14080 # /* config.h. Generated by config.status. */
13625 if test x"$ac_file" = x-; then 14081 if test x"$ac_file" = x-; then
13626 configure_input= 14082 configure_input=
13655echo "$as_me: error: cannot find input file: $f" >&2;} 14111echo "$as_me: error: cannot find input file: $f" >&2;}
13656 { (exit 1); exit 1; }; } 14112 { (exit 1); exit 1; }; }
13657 fi;; 14113 fi;;
13658 esac 14114 esac
13659 done` || { (exit 1); exit 1; } 14115 done` || { (exit 1); exit 1; }
13660
13661 if test x"$ac_file" != x-; then
13662 { echo "$as_me:$LINENO: creating $ac_file" >&5
13663echo "$as_me: creating $ac_file" >&6;}
13664 rm -f "$ac_file"
13665 fi
13666_ACEOF 14116_ACEOF
13667cat >>$CONFIG_STATUS <<_ACEOF 14117cat >>$CONFIG_STATUS <<_ACEOF
13668 sed "$ac_vpsub 14118 sed "$ac_vpsub
13669$extrasub 14119$extrasub
13670_ACEOF 14120_ACEOF
13950 14400
13951 Rxvt version: $VERSION : $DATE 14401 Rxvt version: $VERSION : $DATE
13952 Source code location: $srcdir 14402 Source code location: $srcdir
13953 Install path: ${prefix}/bin 14403 Install path: ${prefix}/bin
13954 Compiler: $CXX 14404 Compiler: $CXX
13955 Compiler flags: $CFLAGS 14405 Compiler flags: $CXXFLAGS
13956 Linker: $LINKER" 14406 Linker: $LINKER"
13957
13958if test "$MALLOC_TYPE" = S; then
13959 echo " malloc support: system default"
13960fi
13961if test "$MALLOC_TYPE" = G; then
13962 echo " malloc support: Gray Watson's dmalloc"
13963fi
13964if test "$MALLOC_TYPE" = D; then
13965 echo " malloc support: Doug Lea's malloc"
13966fi
13967 14407
13968if test x$support_xpm = xyes; then 14408if test x$support_xpm = xyes; then
13969 echo " Xpm library: $XPM_LIBS" 14409 echo " Xpm library: $XPM_LIBS"
13970fi 14410fi
13971 14411
13972echo " 14412if test x$support_afterimage = xyes; then
13973The following are set in config.h 14413 echo " AfterImage support: yes"
13974" 14414fi
13975echo " pty/tty type: "$rxvt_cv_ptys 14415
13976if test x$support_utmp != xyes; then 14416if test x$support_afterstep = xyes; then
13977 echo " utmp support: disabled" 14417 echo " AfterStep integration: yes"
13978 echo
13979else
13980 echo " utmp support: enabled
13981 utmp file: $rxvt_cv_path_utmp
13982 utmpx file: $rxvt_cv_path_utmpx
13983 wtmp file: $rxvt_cv_path_wtmp
13984 wtmpx file: $rxvt_cv_path_wtmpx
13985 lastlog file: $rxvt_cv_path_lastlog
13986 ttys/ttytab file: $rxvt_cv_path_ttytab"
13987 echo
13988fi 14418fi
14419
13989if test x$term != x; then 14420if test x$term != x; then
13990 echo " set TERM to: $term" 14421 echo " set TERM to: $term"
13991fi 14422fi
13992if test x$terminfo != x; then 14423if test x$terminfo != x; then
13993 echo " set TERMINFO to: $terminfo" 14424 echo " set TERMINFO to: $terminfo"
13996echo " resource class: $RESCLASS" 14427echo " resource class: $RESCLASS"
13997if test x$RESFALLBACK != x; then 14428if test x$RESFALLBACK != x; then
13998 echo " resource class fallback: $RESFALLBACK" 14429 echo " resource class fallback: $RESFALLBACK"
13999fi 14430fi
14000echo 14431echo
14001if test x$rxvt_cv_ptys = xUNKNOWN; then 14432echo " embedded perl: $support_perl"
14002 echo ".----------------------------------------------------------------." 14433echo
14003 echo ". WARNING: could not determine pty/tty type. Do not build until ."
14004 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
14005 echo ".----------------------------------------------------------------."
14006fi
14007if test x$support_xpm = xneedsmanualspecification; then 14434if test x$support_xpm = xneedsmanualspecification; then
14008 echo ".----------------------------------------------------------------." 14435 echo ".----------------------------------------------------------------."
14009 echo ". WARNING: --enable-xpm-background was specified however the ." 14436 echo ". WARNING: --enable-xpm-background was specified however the ."
14010 echo ". XPM includes files and libraries could not be found. ." 14437 echo ". XPM includes files and libraries could not be found. ."
14011 echo ". XPM backgrounds are now being DISABLED! If you want ." 14438 echo ". XPM backgrounds are now being DISABLED! If you want ."
14020 echo ". functions could not be found. ." 14447 echo ". functions could not be found. ."
14021 echo ". XIM is now being DISABLED! ." 14448 echo ". XIM is now being DISABLED! ."
14022 echo ".----------------------------------------------------------------." 14449 echo ".----------------------------------------------------------------."
14023fi 14450fi
14024 14451
14025echo " *** Optionally check src/feature.h for further options ***" 14452echo "*** Optionally check src/feature.h for further, rarely used options ***"
14026echo 14453echo
14027 14454
14028echo ".----------------------------------------------------------------."
14029echo ". NOTE: some features are disabled by default, try ."
14030echo ". configure --help to get an idea of the optional features, ."
14031echo ". or read ./README.configure ."
14032echo ". ."
14033echo ". The script ./reconf gives a reasonable baseline, try it if ."
14034echo ". you do not want to read documentation and still want some ."
14035echo ". useful features. ."
14036echo ".----------------------------------------------------------------."
14037echo
14038

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines