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

Comparing rxvt-unicode/configure (file contents):
Revision 1.85 by root, Sat Jan 21 21:01:54 2006 UTC vs.
Revision 1.106 by ayin, Tue Jun 26 22:08:16 2007 UTC

307#endif 307#endif
308#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS afterimage_config XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PKG_CONFIG XFT_CONFIG PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O LIBAFTERIMAGE_CFLAGS AFTERIMAGE_LIBS include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS'
313ac_subst_files='' 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
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-rxvt-scroll enable rxvt style scrollbar 881 --enable-rxvt-scroll enable rxvt style scrollbar
883 --enable-next-scroll enable NeXT style scrollbar 882 --enable-next-scroll enable NeXT style scrollbar
884 --enable-xterm-scroll enable Xterm style scrollbar 883 --enable-xterm-scroll enable Xterm style scrollbar
885 --enable-perl enable embedded perl interpreter 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-xim XIM (X Input Method) protocol support 886 --enable-xim XIM (X Input Method) protocol support
888 --enable-ttygid enable tty setting to group named "tty"
889 --disable-backspace-key disable handling of the backspace key 887 --disable-backspace-key disable handling of the backspace key
890 --disable-delete-key disable handling of the delete key 888 --disable-delete-key disable handling of the delete key
891 --disable-resources disable all resource checking 889 --disable-resources disable all resource checking
892 --enable-8bitctrls enable 8 bit control sequences (not recommended) 890 --enable-8bitctrls enable 8 bit control sequences (not recommended)
893 --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)
894 --disable-swapscreen disable swap screen support 892 --disable-swapscreen disable swap screen support
895 --enable-iso14755 enable support for extended ISO 14755 modes 893 --enable-iso14755 enable support for extended ISO 14755 modes
896 --enable-frills enable support for rarely used features 894 --enable-frills enable support for rarely used features
897 --enable-24bit enable support for using 24bit visuals if available
898 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 895 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
899 --enable-selectionscrolling enable scrolling during selections 896 --enable-selectionscrolling enable scrolling during selections
900 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 897 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
901 --enable-slipwheeling enable slip wheel scrolling (requires previous) 898 --enable-slipwheeling enable slip wheel scrolling (requires previous)
902 --enable-dmalloc enable Gray Watson's malloc - for debugging use
903 --enable-dlmalloc enable Doug Lea's malloc - for production use
904 NOTE: enable only one malloc package
905 --enable-smart-resize enable smart growth/shrink behaviour 899 --enable-smart-resize enable smart growth/shrink behaviour
906 --enable-text-blink enable blinking text 900 --enable-text-blink enable blinking text
907 --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)
908 905
909Optional Packages: 906Optional Packages:
910 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 907 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
911 --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
912 --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)
913 --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)
914 --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)
915 --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)
916 --with-term=NAME set the terminal to NAME (default: rxvt) 914 --with-term=NAME set the terminal to NAME (default: rxvt)
1021 echo 1019 echo
1022 $ac_configure --help 1020 $ac_configure --help
1023 else 1021 else
1024 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
1025 fi 1023 fi
1026 cd "$ac_popdir" 1024 cd $ac_popdir
1027 done 1025 done
1028fi 1026fi
1029 1027
1030test -n "$ac_init_help" && exit 0 1028test -n "$ac_init_help" && exit 0
1031if $ac_init_version; then 1029if $ac_init_version; then
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); }; } &&
3135 grep -v '^ *+' conftest.er1 >conftest.err 3143 grep -v '^ *+' conftest.er1 >conftest.err
3136 rm -f conftest.er1 3144 rm -f conftest.er1
3137 cat conftest.err >&5 3145 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } && 3147 (exit $ac_status); } &&
3140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3148 { ac_try='test -z "$ac_c_werror_flag"
3149 || test ! -s conftest.err'
3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142 (eval $ac_try) 2>&5 3151 (eval $ac_try) 2>&5
3143 ac_status=$? 3152 ac_status=$?
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }; } && 3154 (exit $ac_status); }; } &&
3189 grep -v '^ *+' conftest.er1 >conftest.err 3198 grep -v '^ *+' conftest.er1 >conftest.err
3190 rm -f conftest.er1 3199 rm -f conftest.er1
3191 cat conftest.err >&5 3200 cat conftest.err >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); } && 3202 (exit $ac_status); } &&
3194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3203 { ac_try='test -z "$ac_c_werror_flag"
3204 || test ! -s conftest.err'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 (eval $ac_try) 2>&5 3206 (eval $ac_try) 2>&5
3197 ac_status=$? 3207 ac_status=$?
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; } && 3209 (exit $ac_status); }; } &&
3261 grep -v '^ *+' conftest.er1 >conftest.err 3271 grep -v '^ *+' conftest.er1 >conftest.err
3262 rm -f conftest.er1 3272 rm -f conftest.er1
3263 cat conftest.err >&5 3273 cat conftest.err >&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); } && 3275 (exit $ac_status); } &&
3266 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3276 { ac_try='test -z "$ac_cxx_werror_flag"
3277 || test ! -s conftest.err'
3267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3268 (eval $ac_try) 2>&5 3279 (eval $ac_try) 2>&5
3269 ac_status=$? 3280 ac_status=$?
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); }; } && 3282 (exit $ac_status); }; } &&
3280else 3291else
3281 echo "$as_me: failed program was:" >&5 3292 echo "$as_me: failed program was:" >&5
3282sed 's/^/| /' conftest.$ac_ext >&5 3293sed 's/^/| /' conftest.$ac_ext >&5
3283 3294
3284 3295
3285 echo "$as_me:$LINENO: result: no, make everything bigger and slower" >&5 3296 echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5
3286echo "${ECHO_T}no, make everything bigger and slower" >&6 3297echo "${ECHO_T}no, making everything bigger and slower" >&6
3287 LIBS="$save_LIBS" 3298 LIBS="$save_LIBS"
3288 LINKER="$save_CXX" 3299 LINKER="$save_CXX"
3289 3300
3290 3301
3291fi 3302fi
3294 CXX="$save_CXX" 3305 CXX="$save_CXX"
3295fi 3306fi
3296LINKER=$LINKER 3307LINKER=$LINKER
3297 3308
3298 3309
3299ac_ext=cc
3300ac_cpp='$CXXCPP $CPPFLAGS'
3301ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3302ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3303ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3304
3305if test -z "$orig_CXXFLAGS"; then 3310if test -z "$orig_CXXFLAGS"; then
3306 if test x$GCC = xyes && test "x$GXX" = xyes; then 3311 if test x$GCC = xyes && test "x$GXX" = xyes; then
3307 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3312 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3308 cat >conftest.$ac_ext <<_ACEOF 3313 cat >conftest.$ac_ext <<_ACEOF
3309/* confdefs.h. */ 3314/* confdefs.h. */
3310_ACEOF 3315_ACEOF
3311cat confdefs.h >>conftest.$ac_ext 3316cat confdefs.h >>conftest.$ac_ext
3312cat >>conftest.$ac_ext <<_ACEOF 3317cat >>conftest.$ac_ext <<_ACEOF
3327 grep -v '^ *+' conftest.er1 >conftest.err 3332 grep -v '^ *+' conftest.er1 >conftest.err
3328 rm -f conftest.er1 3333 rm -f conftest.er1
3329 cat conftest.err >&5 3334 cat conftest.err >&5
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); } && 3336 (exit $ac_status); } &&
3332 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3337 { ac_try='test -z "$ac_cxx_werror_flag"
3338 || test ! -s conftest.err'
3333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3334 (eval $ac_try) 2>&5 3340 (eval $ac_try) 2>&5
3335 ac_status=$? 3341 ac_status=$?
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); }; } && 3343 (exit $ac_status); }; } &&
3363 3369
3364case $host in 3370case $host in
3365 *-*-solaris* ) 3371 *-*-solaris* )
3366 3372
3367cat >>confdefs.h <<\_ACEOF 3373cat >>confdefs.h <<\_ACEOF
3368#define _XOPEN_SOURCE_EXTENDED 1
3369_ACEOF
3370
3371
3372cat >>confdefs.h <<\_ACEOF
3373#define _XOPEN_SOURCE 2 3374#define _XOPEN_SOURCE 500
3374_ACEOF
3375
3376
3377cat >>confdefs.h <<\_ACEOF
3378#define __EXTENSIONS__ 1
3379_ACEOF 3375_ACEOF
3380 3376
3381 ;; 3377 ;;
3382esac 3378esac
3383 3379
3445 grep -v '^ *+' conftest.er1 >conftest.err 3441 grep -v '^ *+' conftest.er1 >conftest.err
3446 rm -f conftest.er1 3442 rm -f conftest.er1
3447 cat conftest.err >&5 3443 cat conftest.err >&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } && 3445 (exit $ac_status); } &&
3450 { 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'
3451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3452 (eval $ac_try) 2>&5 3449 (eval $ac_try) 2>&5
3453 ac_status=$? 3450 ac_status=$?
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); }; } && 3452 (exit $ac_status); }; } &&
3510 grep -v '^ *+' conftest.er1 >conftest.err 3507 grep -v '^ *+' conftest.er1 >conftest.err
3511 rm -f conftest.er1 3508 rm -f conftest.er1
3512 cat conftest.err >&5 3509 cat conftest.err >&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); } && 3511 (exit $ac_status); } &&
3515 { 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'
3516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3517 (eval $ac_try) 2>&5 3515 (eval $ac_try) 2>&5
3518 ac_status=$? 3516 ac_status=$?
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); }; } && 3518 (exit $ac_status); }; } &&
3607 grep -v '^ *+' conftest.er1 >conftest.err 3605 grep -v '^ *+' conftest.er1 >conftest.err
3608 rm -f conftest.er1 3606 rm -f conftest.er1
3609 cat conftest.err >&5 3607 cat conftest.err >&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); } && 3609 (exit $ac_status); } &&
3612 { 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'
3613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614 (eval $ac_try) 2>&5 3613 (eval $ac_try) 2>&5
3615 ac_status=$? 3614 ac_status=$?
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); }; } && 3616 (exit $ac_status); }; } &&
3672 grep -v '^ *+' conftest.er1 >conftest.err 3671 grep -v '^ *+' conftest.er1 >conftest.err
3673 rm -f conftest.er1 3672 rm -f conftest.er1
3674 cat conftest.err >&5 3673 cat conftest.err >&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); } && 3675 (exit $ac_status); } &&
3677 { 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'
3678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3679 (eval $ac_try) 2>&5 3679 (eval $ac_try) 2>&5
3680 ac_status=$? 3680 ac_status=$?
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); }; } && 3682 (exit $ac_status); }; } &&
3768 grep -v '^ *+' conftest.er1 >conftest.err 3768 grep -v '^ *+' conftest.er1 >conftest.err
3769 rm -f conftest.er1 3769 rm -f conftest.er1
3770 cat conftest.err >&5 3770 cat conftest.err >&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); } && 3772 (exit $ac_status); } &&
3773 { 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'
3774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775 (eval $ac_try) 2>&5 3776 (eval $ac_try) 2>&5
3776 ac_status=$? 3777 ac_status=$?
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); }; } && 3779 (exit $ac_status); }; } &&
3833 grep -v '^ *+' conftest.er1 >conftest.err 3834 grep -v '^ *+' conftest.er1 >conftest.err
3834 rm -f conftest.er1 3835 rm -f conftest.er1
3835 cat conftest.err >&5 3836 cat conftest.err >&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); } && 3838 (exit $ac_status); } &&
3838 { 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'
3839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3840 (eval $ac_try) 2>&5 3842 (eval $ac_try) 2>&5
3841 ac_status=$? 3843 ac_status=$?
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); }; } && 3845 (exit $ac_status); }; } &&
3865fi 3867fi
3866 3868
3867fi 3869fi
3868 3870
3869 3871
3870echo "$as_me:$LINENO: checking for sched_yield" >&5
3871echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
3872if test "${ac_cv_func_sched_yield+set}" = set; then
3873 echo $ECHO_N "(cached) $ECHO_C" >&6
3874else
3875 cat >conftest.$ac_ext <<_ACEOF
3876/* confdefs.h. */
3877_ACEOF
3878cat confdefs.h >>conftest.$ac_ext
3879cat >>conftest.$ac_ext <<_ACEOF
3880/* end confdefs.h. */
3881/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
3882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3883#define sched_yield innocuous_sched_yield
3884
3885/* System header to define __stub macros and hopefully few prototypes,
3886 which can conflict with char sched_yield (); below.
3887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3888 <limits.h> exists even on freestanding compilers. */
3889
3890#ifdef __STDC__
3891# include <limits.h>
3892#else
3893# include <assert.h>
3894#endif
3895
3896#undef sched_yield
3897
3898/* Override any gcc2 internal prototype to avoid an error. */
3899#ifdef __cplusplus
3900extern "C"
3901{
3902#endif
3903/* We use char because int might match the return type of a gcc2
3904 builtin and then its argument prototype would still apply. */
3905char sched_yield ();
3906/* The GNU C library defines this for functions which it implements
3907 to always fail with ENOSYS. Some functions are actually named
3908 something starting with __ and the normal name is an alias. */
3909#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
3910choke me
3911#else
3912char (*f) () = sched_yield;
3913#endif
3914#ifdef __cplusplus
3915}
3916#endif
3917
3918int
3919main ()
3920{
3921return f != sched_yield;
3922 ;
3923 return 0;
3924}
3925_ACEOF
3926rm -f conftest.$ac_objext conftest$ac_exeext
3927if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3928 (eval $ac_link) 2>conftest.er1
3929 ac_status=$?
3930 grep -v '^ *+' conftest.er1 >conftest.err
3931 rm -f conftest.er1
3932 cat conftest.err >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } &&
3935 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937 (eval $ac_try) 2>&5
3938 ac_status=$?
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); }; } &&
3941 { ac_try='test -s conftest$ac_exeext'
3942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943 (eval $ac_try) 2>&5
3944 ac_status=$?
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); }; }; then
3947 ac_cv_func_sched_yield=yes
3948else
3949 echo "$as_me: failed program was:" >&5
3950sed 's/^/| /' conftest.$ac_ext >&5
3951
3952ac_cv_func_sched_yield=no
3953fi
3954rm -f conftest.err conftest.$ac_objext \
3955 conftest$ac_exeext conftest.$ac_ext
3956fi
3957echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
3958echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
3959if test $ac_cv_func_sched_yield = yes; then
3960 :
3961else
3962 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
3963echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
3964if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3966else
3967 ac_check_lib_save_LIBS=$LIBS
3968LIBS="-lrt $LIBS"
3969cat >conftest.$ac_ext <<_ACEOF
3970/* confdefs.h. */
3971_ACEOF
3972cat confdefs.h >>conftest.$ac_ext
3973cat >>conftest.$ac_ext <<_ACEOF
3974/* end confdefs.h. */
3975
3976/* Override any gcc2 internal prototype to avoid an error. */
3977#ifdef __cplusplus
3978extern "C"
3979#endif
3980/* We use char because int might match the return type of a gcc2
3981 builtin and then its argument prototype would still apply. */
3982char sched_yield ();
3983int
3984main ()
3985{
3986sched_yield ();
3987 ;
3988 return 0;
3989}
3990_ACEOF
3991rm -f conftest.$ac_objext conftest$ac_exeext
3992if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3993 (eval $ac_link) 2>conftest.er1
3994 ac_status=$?
3995 grep -v '^ *+' conftest.er1 >conftest.err
3996 rm -f conftest.er1
3997 cat conftest.err >&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); } &&
4000 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4002 (eval $ac_try) 2>&5
4003 ac_status=$?
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); }; } &&
4006 { ac_try='test -s conftest$ac_exeext'
4007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4008 (eval $ac_try) 2>&5
4009 ac_status=$?
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); }; }; then
4012 ac_cv_lib_rt_sched_yield=yes
4013else
4014 echo "$as_me: failed program was:" >&5
4015sed 's/^/| /' conftest.$ac_ext >&5
4016
4017ac_cv_lib_rt_sched_yield=no
4018fi
4019rm -f conftest.err conftest.$ac_objext \
4020 conftest$ac_exeext conftest.$ac_ext
4021LIBS=$ac_check_lib_save_LIBS
4022fi
4023echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
4024echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
4025if test $ac_cv_lib_rt_sched_yield = yes; then
4026 LIBS="$LIBS -lrt"
4027fi
4028
4029fi
4030
4031
4032echo "$as_me:$LINENO: checking for sched_yield support" >&5
4033echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6
4034cat >conftest.$ac_ext <<_ACEOF
4035/* confdefs.h. */
4036_ACEOF
4037cat confdefs.h >>conftest.$ac_ext
4038cat >>conftest.$ac_ext <<_ACEOF
4039/* end confdefs.h. */
4040#include <sched.h>
4041int
4042main ()
4043{
4044sched_yield ()
4045 ;
4046 return 0;
4047}
4048_ACEOF
4049rm -f conftest.$ac_objext conftest$ac_exeext
4050if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4051 (eval $ac_link) 2>conftest.er1
4052 ac_status=$?
4053 grep -v '^ *+' conftest.er1 >conftest.err
4054 rm -f conftest.er1
4055 cat conftest.err >&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); } &&
4058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4060 (eval $ac_try) 2>&5
4061 ac_status=$?
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); }; } &&
4064 { ac_try='test -s conftest$ac_exeext'
4065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4066 (eval $ac_try) 2>&5
4067 ac_status=$?
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); }; }; then
4070 echo "$as_me:$LINENO: result: yes" >&5
4071echo "${ECHO_T}yes" >&6
4072
4073cat >>confdefs.h <<\_ACEOF
4074#define HAVE_SCHED_YIELD 1
4075_ACEOF
4076
4077else
4078 echo "$as_me: failed program was:" >&5
4079sed 's/^/| /' conftest.$ac_ext >&5
4080
4081echo "$as_me:$LINENO: result: no" >&5
4082echo "${ECHO_T}no" >&6
4083fi
4084rm -f conftest.err conftest.$ac_objext \
4085 conftest$ac_exeext conftest.$ac_ext
4086
4087
4088MALLOC_TYPE=S
4089 3872
4090support_frills=yes 3873support_frills=yes
4091support_inheritpixmap=yes 3874support_inheritpixmap=yes
4092support_tinting=yes 3875support_tinting=yes
4093support_fading=yes 3876support_fading=yes
4094support_keepscrolling=yes 3877support_keepscrolling=yes
4095support_selectionscrolling=yes 3878support_selectionscrolling=yes
4096support_mousewheel=yes 3879support_mousewheel=yes
4097support_mouseslipwheel=yes 3880support_mouseslipwheel=yes
4098support_utmp=yes
4099support_wtmp=yes
4100support_lastlog=yes
4101support_text_blink=yes 3881support_text_blink=yes
4102support_pointer_blank=yes 3882support_pointer_blank=yes
4103support_scroll_rxvt=yes 3883support_scroll_rxvt=yes
4104support_scroll_next=yes 3884support_scroll_next=yes
4105support_scroll_xterm=yes 3885support_scroll_xterm=yes
4106support_scroll_plain=yes 3886support_scroll_plain=yes
4107support_xim=yes 3887support_xim=yes
4108support_xpm=yes 3888support_xpm=yes
3889support_afterimage=yes
3890support_afterstep=yes
4109support_xft=yes 3891support_xft=yes
4110support_unicode3=no 3892support_unicode3=no
4111support_combining=yes 3893support_combining=yes
4112support_8bitctrls=no 3894support_8bitctrls=no
4113support_iso14755=yes 3895support_iso14755=yes
4129# Check whether --enable-everything or --disable-everything was given. 3911# Check whether --enable-everything or --disable-everything was given.
4130if test "${enable_everything+set}" = set; then 3912if test "${enable_everything+set}" = set; then
4131 enableval="$enable_everything" 3913 enableval="$enable_everything"
4132 3914
4133 if test x$enableval = xno; then 3915 if test x$enableval = xno; then
4134 support_24bit=no
4135 support_frills=no 3916 support_frills=no
4136 support_inheritpixmap=no 3917 support_inheritpixmap=no
4137 support_tinting=no 3918 support_tinting=no
4138 support_fading=no 3919 support_fading=no
4139 support_keepscrolling=no 3920 support_keepscrolling=no
4149 support_scroll_plain=no 3930 support_scroll_plain=no
4150 support_utmp=no 3931 support_utmp=no
4151 support_wtmp=no 3932 support_wtmp=no
4152 support_xim=no 3933 support_xim=no
4153 support_xpm=no 3934 support_xpm=no
3935 support_afterimage=no
3936 support_afterstep=no
4154 support_xft=no 3937 support_xft=no
4155 support_unicode3=no 3938 support_unicode3=no
4156 support_combining=no 3939 support_combining=no
4157 support_8bitctrls=no 3940 support_8bitctrls=no
4158 support_iso14755=no 3941 support_iso14755=no
4159 support_styles=no 3942 support_styles=no
4160 support_perl=no 3943 support_perl=no
4161 codesets= 3944 codesets=
4162 fi 3945 fi
4163 if test x$enableval = xyes; then 3946 if test x$enableval = xyes; then
4164 support_24bit=yes
4165 support_frills=yes 3947 support_frills=yes
4166 support_inheritpixmap=yes 3948 support_inheritpixmap=yes
4167 support_tinting=yes 3949 support_tinting=yes
4168 support_fading=yes 3950 support_fading=yes
4169 support_keepscrolling=yes 3951 support_keepscrolling=yes
4179 support_scroll_plain=yes 3961 support_scroll_plain=yes
4180 support_utmp=yes 3962 support_utmp=yes
4181 support_wtmp=yes 3963 support_wtmp=yes
4182 support_xim=yes 3964 support_xim=yes
4183 support_xpm=yes 3965 support_xpm=yes
3966 support_afterimage=yes
3967 support_afterstep=yes
4184 support_xft=yes 3968 support_xft=yes
4185 support_unicode3=yes 3969 support_unicode3=yes
4186 support_combining=yes 3970 support_combining=yes
4187 #support_8bitctrls=yes 3971 #support_8bitctrls=yes
4188 support_iso14755=yes 3972 support_iso14755=yes
4223 if test x$enableval = xyes -o x$enableval = xno; then 4007 if test x$enableval = xyes -o x$enableval = xno; then
4224 support_styles=$enableval 4008 support_styles=$enableval
4225 fi 4009 fi
4226fi; 4010fi;
4227 4011
4228# Check whether --enable-utmp or --disable-utmp was given.
4229if test "${enable_utmp+set}" = set; then
4230 enableval="$enable_utmp"
4231 if test x$enableval = xyes -o x$enableval = xno; then
4232 support_utmp=$enableval
4233 fi
4234fi;
4235
4236# Check whether --enable-wtmp or --disable-wtmp was given.
4237if test "${enable_wtmp+set}" = set; then
4238 enableval="$enable_wtmp"
4239 if test x$enableval = xyes -o x$enableval = xno; then
4240 support_wtmp=$enableval
4241 fi
4242fi;
4243
4244# Check whether --enable-lastlog or --disable-lastlog was given.
4245if test "${enable_lastlog+set}" = set; then
4246 enableval="$enable_lastlog"
4247 if test x$enableval = xyes -o x$enableval = xno; then
4248 support_lastlog=$enableval
4249 fi
4250fi;
4251
4252# Check whether --enable-xpm-background or --disable-xpm-background was given. 4012# Check whether --enable-xpm-background or --disable-xpm-background was given.
4253if test "${enable_xpm_background+set}" = set; then 4013if test "${enable_xpm_background+set}" = set; then
4254 enableval="$enable_xpm_background" 4014 enableval="$enable_xpm_background"
4255 if test x$enableval = xyes -o x$enableval = xno; then 4015 if test x$enableval = xyes -o x$enableval = xno; then
4256 support_xpm=$enableval 4016 support_xpm=$enableval
4257 fi 4017 fi
4258fi; 4018fi;
4259 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
4260# Check whether --enable-transparency or --disable-transparency was given. 4045# Check whether --enable-transparency or --disable-transparency was given.
4261if test "${enable_transparency+set}" = set; then 4046if test "${enable_transparency+set}" = set; then
4262 enableval="$enable_transparency" 4047 enableval="$enable_transparency"
4263 if test x$enableval = xyes -o x$enableval = xno; then 4048 if test x$enableval = xyes -o x$enableval = xno; then
4264 support_inheritpixmap=$enableval 4049 support_inheritpixmap=$enableval
4320 support_scroll_plain=$enableval 4105 support_scroll_plain=$enableval
4321 fi 4106 fi
4322fi; 4107fi;
4323 4108
4324 4109
4325
4326# Check whether --with-codesets or --without-codesets was given. 4110# Check whether --with-codesets or --without-codesets was given.
4327if test "${with_codesets+set}" = set; then 4111if test "${with_codesets+set}" = set; then
4328 withval="$with_codesets" 4112 withval="$with_codesets"
4329 codesets="$withval" 4113 codesets="$withval"
4330fi; 4114fi;
4335 if test x$enableval = xyes -o x$enableval = xno; then 4119 if test x$enableval = xyes -o x$enableval = xno; then
4336 support_xim=$enableval 4120 support_xim=$enableval
4337 fi 4121 fi
4338fi; 4122fi;
4339 4123
4340# Check whether --enable-ttygid or --disable-ttygid was given.
4341if test "${enable_ttygid+set}" = set; then
4342 enableval="$enable_ttygid"
4343 if test x$enableval = xyes; then
4344
4345cat >>confdefs.h <<\_ACEOF
4346#define TTY_GID_SUPPORT 1
4347_ACEOF
4348
4349 fi
4350fi;
4351
4352# Check whether --enable-backspace-key or --disable-backspace-key was given. 4124# Check whether --enable-backspace-key or --disable-backspace-key was given.
4353if test "${enable_backspace_key+set}" = set; then 4125if test "${enable_backspace_key+set}" = set; then
4354 enableval="$enable_backspace_key" 4126 enableval="$enable_backspace_key"
4355 if test x$enableval = xno; then 4127 if test x$enableval = xno; then
4356 4128
4480 if test x$enableval = xyes -o x$enableval = xno; then 4252 if test x$enableval = xyes -o x$enableval = xno; then
4481 support_frills=$enableval 4253 support_frills=$enableval
4482 fi 4254 fi
4483fi; 4255fi;
4484 4256
4485# Check whether --enable-24bit or --disable-24bit was given.
4486if test "${enable_24bit+set}" = set; then
4487 enableval="$enable_24bit"
4488 if test x$enableval = xyes -o x$enableval = xno; then
4489 support_24bit=$enableval
4490 fi
4491fi;
4492
4493# Check whether --enable-keepscrolling or --disable-keepscrolling was given. 4257# Check whether --enable-keepscrolling or --disable-keepscrolling was given.
4494if test "${enable_keepscrolling+set}" = set; then 4258if test "${enable_keepscrolling+set}" = set; then
4495 enableval="$enable_keepscrolling" 4259 enableval="$enable_keepscrolling"
4496 if test x$enableval = xyes -o x$enableval = xno; then 4260 if test x$enableval = xyes -o x$enableval = xno; then
4497 support_keepscrolling=$enableval 4261 support_keepscrolling=$enableval
4520 if test x$enableval = xyes -o x$enableval = xno; then 4284 if test x$enableval = xyes -o x$enableval = xno; then
4521 support_mouseslipwheel=$enableval 4285 support_mouseslipwheel=$enableval
4522 fi 4286 fi
4523fi; 4287fi;
4524 4288
4525# Check whether --enable-dmalloc or --disable-dmalloc was given.
4526if test "${enable_dmalloc+set}" = set; then
4527 enableval="$enable_dmalloc"
4528 if test x$enableval = xyes; then
4529 MALLOC_TYPE=G
4530 DEBUG=-DDEBUG_MALLOC
4531 DLIB="-L/usr/local/lib -ldmalloc"
4532 DINCLUDE=-I/usr/local/include
4533 fi
4534fi;
4535
4536# Check whether --enable-dlmalloc or --disable-dlmalloc was given.
4537if test "${enable_dlmalloc+set}" = set; then
4538 enableval="$enable_dlmalloc"
4539 if test x$enableval = xyes; then
4540 MALLOC_TYPE=D
4541 DEBUG=
4542 DLIB="-L/usr/local/lib -ldlmalloc"
4543 DINCLUDE=
4544 fi
4545fi;
4546
4547# Check whether --enable-smart-resize or --disable-smart-resize was given. 4289# Check whether --enable-smart-resize or --disable-smart-resize was given.
4548if test "${enable_smart_resize+set}" = set; then 4290if test "${enable_smart_resize+set}" = set; then
4549 enableval="$enable_smart_resize" 4291 enableval="$enable_smart_resize"
4550 if test x$enableval = xyes; then 4292 if test x$enableval = xyes; then
4551 4293
4596_ACEOF 4338_ACEOF
4597 terminfo="$withval" 4339 terminfo="$withval"
4598 fi 4340 fi
4599fi; 4341fi;
4600 4342
4601
4602# Extract the first word of "mv", so it can be a program name with args.
4603set dummy mv; ac_word=$2
4604echo "$as_me:$LINENO: checking for $ac_word" >&5
4605echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4606if test "${ac_cv_path_MV+set}" = set; then
4607 echo $ECHO_N "(cached) $ECHO_C" >&6
4608else
4609 case $MV in
4610 [\\/]* | ?:[\\/]*)
4611 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4612 ;;
4613 *)
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615for as_dir in $PATH
4616do
4617 IFS=$as_save_IFS
4618 test -z "$as_dir" && as_dir=.
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4623 break 2
4624 fi
4625done
4626done
4627
4628 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
4629 ;;
4630esac
4631fi
4632MV=$ac_cv_path_MV
4633
4634if test -n "$MV"; then
4635 echo "$as_me:$LINENO: result: $MV" >&5
4636echo "${ECHO_T}$MV" >&6
4637else
4638 echo "$as_me:$LINENO: result: no" >&5
4639echo "${ECHO_T}no" >&6
4640fi
4641
4642# Extract the first word of "rm", so it can be a program name with args.
4643set dummy rm; ac_word=$2
4644echo "$as_me:$LINENO: checking for $ac_word" >&5
4645echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4646if test "${ac_cv_path_RM+set}" = set; then
4647 echo $ECHO_N "(cached) $ECHO_C" >&6
4648else
4649 case $RM in
4650 [\\/]* | ?:[\\/]*)
4651 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4652 ;;
4653 *)
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655for as_dir in $PATH
4656do
4657 IFS=$as_save_IFS
4658 test -z "$as_dir" && as_dir=.
4659 for ac_exec_ext in '' $ac_executable_extensions; do
4660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4661 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 break 2
4664 fi
4665done
4666done
4667
4668 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
4669 ;;
4670esac
4671fi
4672RM=$ac_cv_path_RM
4673
4674if test -n "$RM"; then
4675 echo "$as_me:$LINENO: result: $RM" >&5
4676echo "${ECHO_T}$RM" >&6
4677else
4678 echo "$as_me:$LINENO: result: no" >&5
4679echo "${ECHO_T}no" >&6
4680fi
4681
4682# Extract the first word of "cp", so it can be a program name with args.
4683set dummy cp; ac_word=$2
4684echo "$as_me:$LINENO: checking for $ac_word" >&5
4685echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4686if test "${ac_cv_path_CP+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4688else
4689 case $CP in
4690 [\\/]* | ?:[\\/]*)
4691 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4692 ;;
4693 *)
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695for as_dir in $PATH
4696do
4697 IFS=$as_save_IFS
4698 test -z "$as_dir" && as_dir=.
4699 for ac_exec_ext in '' $ac_executable_extensions; do
4700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4701 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4703 break 2
4704 fi
4705done
4706done
4707
4708 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
4709 ;;
4710esac
4711fi
4712CP=$ac_cv_path_CP
4713
4714if test -n "$CP"; then
4715 echo "$as_me:$LINENO: result: $CP" >&5
4716echo "${ECHO_T}$CP" >&6
4717else
4718 echo "$as_me:$LINENO: result: no" >&5
4719echo "${ECHO_T}no" >&6
4720fi
4721
4722# Extract the first word of "ln", so it can be a program name with args.
4723set dummy ln; ac_word=$2
4724echo "$as_me:$LINENO: checking for $ac_word" >&5
4725echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4726if test "${ac_cv_path_LN+set}" = set; then
4727 echo $ECHO_N "(cached) $ECHO_C" >&6
4728else
4729 case $LN in
4730 [\\/]* | ?:[\\/]*)
4731 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4732 ;;
4733 *)
4734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4735for as_dir in $PATH
4736do
4737 IFS=$as_save_IFS
4738 test -z "$as_dir" && as_dir=.
4739 for ac_exec_ext in '' $ac_executable_extensions; do
4740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4741 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4743 break 2
4744 fi
4745done
4746done
4747
4748 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
4749 ;;
4750esac
4751fi
4752LN=$ac_cv_path_LN
4753
4754if test -n "$LN"; then
4755 echo "$as_me:$LINENO: result: $LN" >&5
4756echo "${ECHO_T}$LN" >&6
4757else
4758 echo "$as_me:$LINENO: result: no" >&5
4759echo "${ECHO_T}no" >&6
4760fi
4761
4762# Extract the first word of "sed", so it can be a program name with args.
4763set dummy sed; ac_word=$2
4764echo "$as_me:$LINENO: checking for $ac_word" >&5
4765echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4766if test "${ac_cv_path_SED+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4768else
4769 case $SED in
4770 [\\/]* | ?:[\\/]*)
4771 ac_cv_path_SED="$SED" # Let the user override the test with a path.
4772 ;;
4773 *)
4774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4775for as_dir in $PATH
4776do
4777 IFS=$as_save_IFS
4778 test -z "$as_dir" && as_dir=.
4779 for ac_exec_ext in '' $ac_executable_extensions; do
4780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4781 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
4782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4783 break 2
4784 fi
4785done
4786done
4787
4788 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
4789 ;;
4790esac
4791fi
4792SED=$ac_cv_path_SED
4793
4794if test -n "$SED"; then
4795 echo "$as_me:$LINENO: result: $SED" >&5
4796echo "${ECHO_T}$SED" >&6
4797else
4798 echo "$as_me:$LINENO: result: no" >&5
4799echo "${ECHO_T}no" >&6
4800fi
4801
4802# Extract the first word of "echo", so it can be a program name with args.
4803set dummy echo; ac_word=$2
4804echo "$as_me:$LINENO: checking for $ac_word" >&5
4805echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4806if test "${ac_cv_path_ECHO+set}" = set; then
4807 echo $ECHO_N "(cached) $ECHO_C" >&6
4808else
4809 case $ECHO in
4810 [\\/]* | ?:[\\/]*)
4811 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
4812 ;;
4813 *)
4814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4815for as_dir in $PATH
4816do
4817 IFS=$as_save_IFS
4818 test -z "$as_dir" && as_dir=.
4819 for ac_exec_ext in '' $ac_executable_extensions; do
4820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4821 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
4822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4823 break 2
4824 fi
4825done
4826done
4827
4828 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
4829 ;;
4830esac
4831fi
4832ECHO=$ac_cv_path_ECHO
4833
4834if test -n "$ECHO"; then
4835 echo "$as_me:$LINENO: result: $ECHO" >&5
4836echo "${ECHO_T}$ECHO" >&6
4837else
4838 echo "$as_me:$LINENO: result: no" >&5
4839echo "${ECHO_T}no" >&6
4840fi
4841
4842# Extract the first word of "cmp", so it can be a program name with args.
4843set dummy cmp; ac_word=$2
4844echo "$as_me:$LINENO: checking for $ac_word" >&5
4845echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4846if test "${ac_cv_path_CMP+set}" = set; then
4847 echo $ECHO_N "(cached) $ECHO_C" >&6
4848else
4849 case $CMP in
4850 [\\/]* | ?:[\\/]*)
4851 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4852 ;;
4853 *)
4854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4855for as_dir in $PATH
4856do
4857 IFS=$as_save_IFS
4858 test -z "$as_dir" && as_dir=.
4859 for ac_exec_ext in '' $ac_executable_extensions; do
4860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4861 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 break 2
4864 fi
4865done
4866done
4867
4868 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
4869 ;;
4870esac
4871fi
4872CMP=$ac_cv_path_CMP
4873
4874if test -n "$CMP"; then
4875 echo "$as_me:$LINENO: result: $CMP" >&5
4876echo "${ECHO_T}$CMP" >&6
4877else
4878 echo "$as_me:$LINENO: result: no" >&5
4879echo "${ECHO_T}no" >&6
4880fi
4881 4343
4882# 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.
4883set dummy tic; ac_word=$2 4345set dummy tic; ac_word=$2
4884echo "$as_me:$LINENO: checking for $ac_word" >&5 4346echo "$as_me:$LINENO: checking for $ac_word" >&5
4885echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4347echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5150ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4612ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5151ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4613ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5152ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4614ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5153 4615
5154 4616
5155
5156if test "x$ac_path_x_has_been_run" != xyes; then
5157 echo "$as_me:$LINENO: checking for X" >&5 4617echo "$as_me:$LINENO: checking for X" >&5
5158echo $ECHO_N "checking for X... $ECHO_C" >&6 4618echo $ECHO_N "checking for X... $ECHO_C" >&6
5159 4619
5160ac_path_x_has_been_run=yes
5161 4620
5162# Check whether --with-x or --without-x was given. 4621# Check whether --with-x or --without-x was given.
5163if test "${with_x+set}" = set; then 4622if test "${with_x+set}" = set; then
5164 withval="$with_x" 4623 withval="$with_x"
5165 4624
5248 4707
5249/usr/openwin/include 4708/usr/openwin/include
5250/usr/openwin/share/include' 4709/usr/openwin/share/include'
5251 4710
5252if test "$ac_x_includes" = no; then 4711if test "$ac_x_includes" = no; then
5253 # 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.
5254 # First, try using that file with no special directory specified. 4713 # First, try using that file with no special directory specified.
5255 cat >conftest.$ac_ext <<_ACEOF 4714 cat >conftest.$ac_ext <<_ACEOF
5256/* confdefs.h. */ 4715/* confdefs.h. */
5257_ACEOF 4716_ACEOF
5258cat confdefs.h >>conftest.$ac_ext 4717cat confdefs.h >>conftest.$ac_ext
5259cat >>conftest.$ac_ext <<_ACEOF 4718cat >>conftest.$ac_ext <<_ACEOF
5260/* end confdefs.h. */ 4719/* end confdefs.h. */
5261#include <X11/Xlib.h> 4720#include <X11/Intrinsic.h>
5262_ACEOF 4721_ACEOF
5263if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4722if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5264 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5265 ac_status=$? 4724 ac_status=$?
5266 grep -v '^ *+' conftest.er1 >conftest.err 4725 grep -v '^ *+' conftest.er1 >conftest.err
5283else 4742else
5284 echo "$as_me: failed program was:" >&5 4743 echo "$as_me: failed program was:" >&5
5285sed 's/^/| /' conftest.$ac_ext >&5 4744sed 's/^/| /' conftest.$ac_ext >&5
5286 4745
5287 for ac_dir in $ac_x_header_dirs; do 4746 for ac_dir in $ac_x_header_dirs; do
5288 if test -r "$ac_dir/X11/Xlib.h"; then 4747 if test -r "$ac_dir/X11/Intrinsic.h"; then
5289 ac_x_includes=$ac_dir 4748 ac_x_includes=$ac_dir
5290 break 4749 break
5291 fi 4750 fi
5292done 4751done
5293fi 4752fi
5297if test "$ac_x_libraries" = no; then 4756if test "$ac_x_libraries" = no; then
5298 # Check for the libraries. 4757 # Check for the libraries.
5299 # See if we find them without any special options. 4758 # See if we find them without any special options.
5300 # Don't add to $LIBS permanently. 4759 # Don't add to $LIBS permanently.
5301 ac_save_LIBS=$LIBS 4760 ac_save_LIBS=$LIBS
5302 LIBS="-lX11 $LIBS" 4761 LIBS="-lXt $LIBS"
5303 cat >conftest.$ac_ext <<_ACEOF 4762 cat >conftest.$ac_ext <<_ACEOF
5304/* confdefs.h. */ 4763/* confdefs.h. */
5305_ACEOF 4764_ACEOF
5306cat confdefs.h >>conftest.$ac_ext 4765cat confdefs.h >>conftest.$ac_ext
5307cat >>conftest.$ac_ext <<_ACEOF 4766cat >>conftest.$ac_ext <<_ACEOF
5308/* end confdefs.h. */ 4767/* end confdefs.h. */
5309#include <X11/Xlib.h> 4768#include <X11/Intrinsic.h>
5310int 4769int
5311main () 4770main ()
5312{ 4771{
5313XrmInitialize () 4772XtMalloc (0)
5314 ; 4773 ;
5315 return 0; 4774 return 0;
5316} 4775}
5317_ACEOF 4776_ACEOF
5318rm -f conftest.$ac_objext conftest$ac_exeext 4777rm -f conftest.$ac_objext conftest$ac_exeext
5322 grep -v '^ *+' conftest.er1 >conftest.err 4781 grep -v '^ *+' conftest.er1 >conftest.err
5323 rm -f conftest.er1 4782 rm -f conftest.er1
5324 cat conftest.err >&5 4783 cat conftest.err >&5
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); } && 4785 (exit $ac_status); } &&
5327 { 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'
5328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5329 (eval $ac_try) 2>&5 4789 (eval $ac_try) 2>&5
5330 ac_status=$? 4790 ac_status=$?
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); }; } && 4792 (exit $ac_status); }; } &&
5346LIBS=$ac_save_LIBS 4806LIBS=$ac_save_LIBS
5347for 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`
5348do 4808do
5349 # 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!
5350 for ac_extension in a so sl; do 4810 for ac_extension in a so sl; do
5351 if test -r $ac_dir/libX11.$ac_extension; then 4811 if test -r $ac_dir/libXt.$ac_extension; then
5352 ac_x_libraries=$ac_dir 4812 ac_x_libraries=$ac_dir
5353 break 2 4813 break 2
5354 fi 4814 fi
5355 done 4815 done
5356done 4816done
5382 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 4842 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5383 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 4843 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5384 # Update the cache value to reflect the command line values. 4844 # Update the cache value to reflect the command line values.
5385 ac_cv_have_x="have_x=yes \ 4845 ac_cv_have_x="have_x=yes \
5386 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 4846 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5387 # It might be that x_includes is empty (headers are found in the
5388 # standard search path. Then output the corresponding message
5389 ac_out_x_includes=$x_includes
5390 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
5391 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
5392echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 4848echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5393fi 4849fi
5394 4850
5395fi
5396if test "$no_x" = yes; then 4851if test "$no_x" = yes; then
5397 # 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.
5398 4853
5399cat >>confdefs.h <<\_ACEOF 4854cat >>confdefs.h <<\_ACEOF
5400#define X_DISPLAY_MISSING 1 4855#define X_DISPLAY_MISSING 1
5438 grep -v '^ *+' conftest.er1 >conftest.err 4893 grep -v '^ *+' conftest.er1 >conftest.err
5439 rm -f conftest.er1 4894 rm -f conftest.er1
5440 cat conftest.err >&5 4895 cat conftest.err >&5
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); } && 4897 (exit $ac_status); } &&
5443 { 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'
5444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5445 (eval $ac_try) 2>&5 4901 (eval $ac_try) 2>&5
5446 ac_status=$? 4902 ac_status=$?
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); }; } && 4904 (exit $ac_status); }; } &&
5489 grep -v '^ *+' conftest.er1 >conftest.err 4945 grep -v '^ *+' conftest.er1 >conftest.err
5490 rm -f conftest.er1 4946 rm -f conftest.er1
5491 cat conftest.err >&5 4947 cat conftest.err >&5
5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493 (exit $ac_status); } && 4949 (exit $ac_status); } &&
5494 { 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'
5495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5496 (eval $ac_try) 2>&5 4953 (eval $ac_try) 2>&5
5497 ac_status=$? 4954 ac_status=$?
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); }; } && 4956 (exit $ac_status); }; } &&
5565 grep -v '^ *+' conftest.er1 >conftest.err 5022 grep -v '^ *+' conftest.er1 >conftest.err
5566 rm -f conftest.er1 5023 rm -f conftest.er1
5567 cat conftest.err >&5 5024 cat conftest.err >&5
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); } && 5026 (exit $ac_status); } &&
5570 { 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'
5571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5572 (eval $ac_try) 2>&5 5030 (eval $ac_try) 2>&5
5573 ac_status=$? 5031 ac_status=$?
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); }; } && 5033 (exit $ac_status); }; } &&
5620 grep -v '^ *+' conftest.er1 >conftest.err 5078 grep -v '^ *+' conftest.er1 >conftest.err
5621 rm -f conftest.er1 5079 rm -f conftest.er1
5622 cat conftest.err >&5 5080 cat conftest.err >&5
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); } && 5082 (exit $ac_status); } &&
5625 { 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'
5626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5627 (eval $ac_try) 2>&5 5086 (eval $ac_try) 2>&5
5628 ac_status=$? 5087 ac_status=$?
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); }; } && 5089 (exit $ac_status); }; } &&
5688 grep -v '^ *+' conftest.er1 >conftest.err 5147 grep -v '^ *+' conftest.er1 >conftest.err
5689 rm -f conftest.er1 5148 rm -f conftest.er1
5690 cat conftest.err >&5 5149 cat conftest.err >&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); } && 5151 (exit $ac_status); } &&
5693 { 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'
5694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5695 (eval $ac_try) 2>&5 5155 (eval $ac_try) 2>&5
5696 ac_status=$? 5156 ac_status=$?
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); }; } && 5158 (exit $ac_status); }; } &&
5796 grep -v '^ *+' conftest.er1 >conftest.err 5256 grep -v '^ *+' conftest.er1 >conftest.err
5797 rm -f conftest.er1 5257 rm -f conftest.er1
5798 cat conftest.err >&5 5258 cat conftest.err >&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); } && 5260 (exit $ac_status); } &&
5801 { 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'
5802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5803 (eval $ac_try) 2>&5 5264 (eval $ac_try) 2>&5
5804 ac_status=$? 5265 ac_status=$?
5805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 (exit $ac_status); }; } && 5267 (exit $ac_status); }; } &&
5860 grep -v '^ *+' conftest.er1 >conftest.err 5321 grep -v '^ *+' conftest.er1 >conftest.err
5861 rm -f conftest.er1 5322 rm -f conftest.er1
5862 cat conftest.err >&5 5323 cat conftest.err >&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); } && 5325 (exit $ac_status); } &&
5865 { 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'
5866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5867 (eval $ac_try) 2>&5 5329 (eval $ac_try) 2>&5
5868 ac_status=$? 5330 ac_status=$?
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); }; } && 5332 (exit $ac_status); }; } &&
5928 grep -v '^ *+' conftest.er1 >conftest.err 5390 grep -v '^ *+' conftest.er1 >conftest.err
5929 rm -f conftest.er1 5391 rm -f conftest.er1
5930 cat conftest.err >&5 5392 cat conftest.err >&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); } && 5394 (exit $ac_status); } &&
5933 { 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'
5934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 (eval $ac_try) 2>&5 5398 (eval $ac_try) 2>&5
5936 ac_status=$? 5399 ac_status=$?
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); }; } && 5401 (exit $ac_status); }; } &&
6032 grep -v '^ *+' conftest.er1 >conftest.err 5495 grep -v '^ *+' conftest.er1 >conftest.err
6033 rm -f conftest.er1 5496 rm -f conftest.er1
6034 cat conftest.err >&5 5497 cat conftest.err >&5
6035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); } && 5499 (exit $ac_status); } &&
6037 { 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'
6038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6039 (eval $ac_try) 2>&5 5503 (eval $ac_try) 2>&5
6040 ac_status=$? 5504 ac_status=$?
6041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6042 (exit $ac_status); }; } && 5506 (exit $ac_status); }; } &&
6096 grep -v '^ *+' conftest.er1 >conftest.err 5560 grep -v '^ *+' conftest.er1 >conftest.err
6097 rm -f conftest.er1 5561 rm -f conftest.er1
6098 cat conftest.err >&5 5562 cat conftest.err >&5
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); } && 5564 (exit $ac_status); } &&
6101 { 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'
6102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6103 (eval $ac_try) 2>&5 5568 (eval $ac_try) 2>&5
6104 ac_status=$? 5569 ac_status=$?
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); }; } && 5571 (exit $ac_status); }; } &&
6193 grep -v '^ *+' conftest.er1 >conftest.err 5658 grep -v '^ *+' conftest.er1 >conftest.err
6194 rm -f conftest.er1 5659 rm -f conftest.er1
6195 cat conftest.err >&5 5660 cat conftest.err >&5
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); } && 5662 (exit $ac_status); } &&
6198 { 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'
6199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6200 (eval $ac_try) 2>&5 5666 (eval $ac_try) 2>&5
6201 ac_status=$? 5667 ac_status=$?
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); }; } && 5669 (exit $ac_status); }; } &&
6257 grep -v '^ *+' conftest.er1 >conftest.err 5723 grep -v '^ *+' conftest.er1 >conftest.err
6258 rm -f conftest.er1 5724 rm -f conftest.er1
6259 cat conftest.err >&5 5725 cat conftest.err >&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); } && 5727 (exit $ac_status); } &&
6262 { 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'
6263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6264 (eval $ac_try) 2>&5 5731 (eval $ac_try) 2>&5
6265 ac_status=$? 5732 ac_status=$?
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); }; } && 5734 (exit $ac_status); }; } &&
6354 grep -v '^ *+' conftest.er1 >conftest.err 5821 grep -v '^ *+' conftest.er1 >conftest.err
6355 rm -f conftest.er1 5822 rm -f conftest.er1
6356 cat conftest.err >&5 5823 cat conftest.err >&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); } && 5825 (exit $ac_status); } &&
6359 { 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'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6361 (eval $ac_try) 2>&5 5829 (eval $ac_try) 2>&5
6362 ac_status=$? 5830 ac_status=$?
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; } && 5832 (exit $ac_status); }; } &&
6418 grep -v '^ *+' conftest.er1 >conftest.err 5886 grep -v '^ *+' conftest.er1 >conftest.err
6419 rm -f conftest.er1 5887 rm -f conftest.er1
6420 cat conftest.err >&5 5888 cat conftest.err >&5
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); } && 5890 (exit $ac_status); } &&
6423 { 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'
6424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6425 (eval $ac_try) 2>&5 5894 (eval $ac_try) 2>&5
6426 ac_status=$? 5895 ac_status=$?
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); }; } && 5897 (exit $ac_status); }; } &&
6497 grep -v '^ *+' conftest.er1 >conftest.err 5966 grep -v '^ *+' conftest.er1 >conftest.err
6498 rm -f conftest.er1 5967 rm -f conftest.er1
6499 cat conftest.err >&5 5968 cat conftest.err >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } && 5970 (exit $ac_status); } &&
6502 { 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'
6503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6504 (eval $ac_try) 2>&5 5974 (eval $ac_try) 2>&5
6505 ac_status=$? 5975 ac_status=$?
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); }; } && 5977 (exit $ac_status); }; } &&
6532 6002
6533fi 6003fi
6534 6004
6535 6005
6536 6006
6007LIBAFTERIMAGE_CFLAGS=
6008AFTERIMAGE_LIBS=
6009have_afterimage=
6010
6537if 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
6538 6077
6539 6078
6540 6079
6541# Initialize some more variables set by options. 6080# Initialize some more variables set by options.
6542# The variables have the same names as the options, with 6081# The variables have the same names as the options, with
6713 grep -v '^ *+' conftest.er1 >conftest.err 6252 grep -v '^ *+' conftest.er1 >conftest.err
6714 rm -f conftest.er1 6253 rm -f conftest.er1
6715 cat conftest.err >&5 6254 cat conftest.err >&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); } && 6256 (exit $ac_status); } &&
6718 { 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'
6719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6720 (eval $ac_try) 2>&5 6260 (eval $ac_try) 2>&5
6721 ac_status=$? 6261 ac_status=$?
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); }; } && 6263 (exit $ac_status); }; } &&
6927 grep -v '^ *+' conftest.er1 >conftest.err 6467 grep -v '^ *+' conftest.er1 >conftest.err
6928 rm -f conftest.er1 6468 rm -f conftest.er1
6929 cat conftest.err >&5 6469 cat conftest.err >&5
6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931 (exit $ac_status); } && 6471 (exit $ac_status); } &&
6932 { 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'
6933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6934 (eval $ac_try) 2>&5 6475 (eval $ac_try) 2>&5
6935 ac_status=$? 6476 ac_status=$?
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); }; } && 6478 (exit $ac_status); }; } &&
6991 grep -v '^ *+' conftest.er1 >conftest.err 6532 grep -v '^ *+' conftest.er1 >conftest.err
6992 rm -f conftest.er1 6533 rm -f conftest.er1
6993 cat conftest.err >&5 6534 cat conftest.err >&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); } && 6536 (exit $ac_status); } &&
6996 { 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'
6997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998 (eval $ac_try) 2>&5 6540 (eval $ac_try) 2>&5
6999 ac_status=$? 6541 ac_status=$?
7000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001 (exit $ac_status); }; } && 6543 (exit $ac_status); }; } &&
7161 grep -v '^ *+' conftest.er1 >conftest.err 6703 grep -v '^ *+' conftest.er1 >conftest.err
7162 rm -f conftest.er1 6704 rm -f conftest.er1
7163 cat conftest.err >&5 6705 cat conftest.err >&5
7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); } && 6707 (exit $ac_status); } &&
7166 { 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'
7167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7168 (eval $ac_try) 2>&5 6711 (eval $ac_try) 2>&5
7169 ac_status=$? 6712 ac_status=$?
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); }; } && 6714 (exit $ac_status); }; } &&
7262 grep -v '^ *+' conftest.er1 >conftest.err 6805 grep -v '^ *+' conftest.er1 >conftest.err
7263 rm -f conftest.er1 6806 rm -f conftest.er1
7264 cat conftest.err >&5 6807 cat conftest.err >&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); } && 6809 (exit $ac_status); } &&
7267 { 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'
7268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7269 (eval $ac_try) 2>&5 6813 (eval $ac_try) 2>&5
7270 ac_status=$? 6814 ac_status=$?
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); }; } && 6816 (exit $ac_status); }; } &&
7411 grep -v '^ *+' conftest.er1 >conftest.err 6955 grep -v '^ *+' conftest.er1 >conftest.err
7412 rm -f conftest.er1 6956 rm -f conftest.er1
7413 cat conftest.err >&5 6957 cat conftest.err >&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); } && 6959 (exit $ac_status); } &&
7416 { 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'
7417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7418 (eval $ac_try) 2>&5 6963 (eval $ac_try) 2>&5
7419 ac_status=$? 6964 ac_status=$?
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); }; } && 6966 (exit $ac_status); }; } &&
7476 grep -v '^ *+' conftest.er1 >conftest.err 7021 grep -v '^ *+' conftest.er1 >conftest.err
7477 rm -f conftest.er1 7022 rm -f conftest.er1
7478 cat conftest.err >&5 7023 cat conftest.err >&5
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); } && 7025 (exit $ac_status); } &&
7481 { 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'
7482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7483 (eval $ac_try) 2>&5 7029 (eval $ac_try) 2>&5
7484 ac_status=$? 7030 ac_status=$?
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); }; } && 7032 (exit $ac_status); }; } &&
7499fi 7045fi
7500rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7046rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7501fi 7047fi
7502echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 7048echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7503echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6 7049echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6
7504
7505if test -n "$GCC"; then
7506 LDARG="-Wl,"
7507else
7508 LDARG=""
7509fi
7510R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g'
7511
7512ac_save_CFLAGS=$CFLAGS
7513ac_save_LIBS=$LIBS
7514CFLAGS="$CFLAGS $X_CFLAGS"
7515LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7516echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5
7517echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6
7518if test "${rxvt_cv_rpath+set}" = set; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7520else
7521 if test "$cross_compiling" = yes; then
7522 { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5
7523echo "$as_me: WARNING: You may need to check the LIBS line" >&2;}
7524else
7525 cat >conftest.$ac_ext <<_ACEOF
7526/* confdefs.h. */
7527_ACEOF
7528cat confdefs.h >>conftest.$ac_ext
7529cat >>conftest.$ac_ext <<_ACEOF
7530/* end confdefs.h. */
7531
7532main()
7533{
7534 exit(0);
7535 (void) XOpenDisplay("foobar");
7536}
7537_ACEOF
7538rm -f conftest$ac_exeext
7539if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7540 (eval $ac_link) 2>&5
7541 ac_status=$?
7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7545 (eval $ac_try) 2>&5
7546 ac_status=$?
7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548 (exit $ac_status); }; }; then
7549 rxvt_cv_rpath=yes
7550else
7551 echo "$as_me: program exited with status $ac_status" >&5
7552echo "$as_me: failed program was:" >&5
7553sed 's/^/| /' conftest.$ac_ext >&5
7554
7555( exit $ac_status )
7556rxvt_cv_rpath=no
7557fi
7558rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7559fi
7560fi
7561echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5
7562echo "${ECHO_T}$rxvt_cv_rpath" >&6
7563if test x$rxvt_cv_rpath != xyes; then
7564 R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g'
7565 LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7566 echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5
7567echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6
7568if test "${rxvt_cv_R+set}" = set; then
7569 echo $ECHO_N "(cached) $ECHO_C" >&6
7570else
7571 if test "$cross_compiling" = yes; then
7572 rxvt_cv_R=no
7573else
7574 cat >conftest.$ac_ext <<_ACEOF
7575/* confdefs.h. */
7576_ACEOF
7577cat confdefs.h >>conftest.$ac_ext
7578cat >>conftest.$ac_ext <<_ACEOF
7579/* end confdefs.h. */
7580
7581main()
7582{
7583 exit(0);
7584 (void) XOpenDisplay("foobar");
7585}
7586_ACEOF
7587rm -f conftest$ac_exeext
7588if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7589 (eval $ac_link) 2>&5
7590 ac_status=$?
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7594 (eval $ac_try) 2>&5
7595 ac_status=$?
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); }; }; then
7598 rxvt_cv_R=yes
7599else
7600 echo "$as_me: program exited with status $ac_status" >&5
7601echo "$as_me: failed program was:" >&5
7602sed 's/^/| /' conftest.$ac_ext >&5
7603
7604( exit $ac_status )
7605rxvt_cv_R=no
7606fi
7607rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7608fi
7609fi
7610echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5
7611echo "${ECHO_T}$rxvt_cv_R" >&6
7612 if test x$rxvt_cv_R != xyes; then
7613 LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
7614 fi
7615fi
7616 7050
7617echo "$as_me:$LINENO: checking for XPointer" >&5 7051echo "$as_me:$LINENO: checking for XPointer" >&5
7618echo $ECHO_N "checking for XPointer... $ECHO_C" >&6 7052echo $ECHO_N "checking for XPointer... $ECHO_C" >&6
7619if test "${rxvt_cv_xpointer+set}" = set; then 7053if test "${rxvt_cv_xpointer+set}" = set; then
7620 echo $ECHO_N "(cached) $ECHO_C" >&6 7054 echo $ECHO_N "(cached) $ECHO_C" >&6
7641 grep -v '^ *+' conftest.er1 >conftest.err 7075 grep -v '^ *+' conftest.er1 >conftest.err
7642 rm -f conftest.er1 7076 rm -f conftest.er1
7643 cat conftest.err >&5 7077 cat conftest.err >&5
7644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 (exit $ac_status); } && 7079 (exit $ac_status); } &&
7646 { 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'
7647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7648 (eval $ac_try) 2>&5 7083 (eval $ac_try) 2>&5
7649 ac_status=$? 7084 ac_status=$?
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); }; } && 7086 (exit $ac_status); }; } &&
7674 7109
7675fi 7110fi
7676LIBS=$ac_save_LIBS 7111LIBS=$ac_save_LIBS
7677CFLAGS=$ac_save_CFLAGS 7112CFLAGS=$ac_save_CFLAGS
7678 7113
7114echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7115echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6
7116if test "${rxvt_xlib_illegal_access+set}" = set; then
7117 echo $ECHO_N "(cached) $ECHO_C" >&6
7118else
7119 cat >conftest.$ac_ext <<_ACEOF
7120/* confdefs.h. */
7121_ACEOF
7122cat confdefs.h >>conftest.$ac_ext
7123cat >>conftest.$ac_ext <<_ACEOF
7124/* end confdefs.h. */
7125
7126#define XLIB_ILLEGAL_ACCESS
7127#include <X11/Xlib.h>
7128
7129int
7130main ()
7131{
7132
7133 Display *dpy;
7134 dpy->xdefaults = (char *)0;
7135
7136 ;
7137 return 0;
7138}
7139_ACEOF
7140rm -f conftest.$ac_objext
7141if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7142 (eval $ac_compile) 2>conftest.er1
7143 ac_status=$?
7144 grep -v '^ *+' conftest.er1 >conftest.err
7145 rm -f conftest.er1
7146 cat conftest.err >&5
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); } &&
7149 { ac_try='test -z "$ac_cxx_werror_flag"
7150 || test ! -s conftest.err'
7151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7152 (eval $ac_try) 2>&5
7153 ac_status=$?
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; } &&
7156 { ac_try='test -s conftest.$ac_objext'
7157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7158 (eval $ac_try) 2>&5
7159 ac_status=$?
7160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); }; }; then
7162 rxvt_xlib_illegal_access=yes
7163else
7164 echo "$as_me: failed program was:" >&5
7165sed 's/^/| /' conftest.$ac_ext >&5
7166
7167rxvt_xlib_illegal_access=no
7168
7169fi
7170rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7171fi
7172echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5
7173echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6
7174if test x$rxvt_xlib_illegal_access = xyes; then
7175
7176cat >>confdefs.h <<\_ACEOF
7177#define XLIB_ILLEGAL_ACCESS 1
7178_ACEOF
7179
7180fi
7679 7181
7680echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7182echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7681echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7183echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7682if test "${ac_cv_c_const+set}" = set; then 7184if test "${ac_cv_c_const+set}" = set; then
7683 echo $ECHO_N "(cached) $ECHO_C" >&6 7185 echo $ECHO_N "(cached) $ECHO_C" >&6
7750 grep -v '^ *+' conftest.er1 >conftest.err 7252 grep -v '^ *+' conftest.er1 >conftest.err
7751 rm -f conftest.er1 7253 rm -f conftest.er1
7752 cat conftest.err >&5 7254 cat conftest.err >&5
7753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7754 (exit $ac_status); } && 7256 (exit $ac_status); } &&
7755 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7257 { ac_try='test -z "$ac_cxx_werror_flag"
7258 || test ! -s conftest.err'
7756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757 (eval $ac_try) 2>&5 7260 (eval $ac_try) 2>&5
7758 ac_status=$? 7261 ac_status=$?
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); }; } && 7263 (exit $ac_status); }; } &&
7810 grep -v '^ *+' conftest.er1 >conftest.err 7313 grep -v '^ *+' conftest.er1 >conftest.err
7811 rm -f conftest.er1 7314 rm -f conftest.er1
7812 cat conftest.err >&5 7315 cat conftest.err >&5
7813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7814 (exit $ac_status); } && 7317 (exit $ac_status); } &&
7815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7318 { ac_try='test -z "$ac_cxx_werror_flag"
7319 || test ! -s conftest.err'
7816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7817 (eval $ac_try) 2>&5 7321 (eval $ac_try) 2>&5
7818 ac_status=$? 7322 ac_status=$?
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); }; } && 7324 (exit $ac_status); }; } &&
7885 grep -v '^ *+' conftest.er1 >conftest.err 7389 grep -v '^ *+' conftest.er1 >conftest.err
7886 rm -f conftest.er1 7390 rm -f conftest.er1
7887 cat conftest.err >&5 7391 cat conftest.err >&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 (exit $ac_status); } && 7393 (exit $ac_status); } &&
7890 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7394 { ac_try='test -z "$ac_cxx_werror_flag"
7395 || test ! -s conftest.err'
7891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7892 (eval $ac_try) 2>&5 7397 (eval $ac_try) 2>&5
7893 ac_status=$? 7398 ac_status=$?
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); }; } && 7400 (exit $ac_status); }; } &&
7950 grep -v '^ *+' conftest.er1 >conftest.err 7455 grep -v '^ *+' conftest.er1 >conftest.err
7951 rm -f conftest.er1 7456 rm -f conftest.er1
7952 cat conftest.err >&5 7457 cat conftest.err >&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); } && 7459 (exit $ac_status); } &&
7955 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7460 { ac_try='test -z "$ac_cxx_werror_flag"
7461 || test ! -s conftest.err'
7956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7957 (eval $ac_try) 2>&5 7463 (eval $ac_try) 2>&5
7958 ac_status=$? 7464 ac_status=$?
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); }; } && 7466 (exit $ac_status); }; } &&
8054 grep -v '^ *+' conftest.er1 >conftest.err 7560 grep -v '^ *+' conftest.er1 >conftest.err
8055 rm -f conftest.er1 7561 rm -f conftest.er1
8056 cat conftest.err >&5 7562 cat conftest.err >&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); } && 7564 (exit $ac_status); } &&
8059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7565 { ac_try='test -z "$ac_cxx_werror_flag"
7566 || test ! -s conftest.err'
8060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8061 (eval $ac_try) 2>&5 7568 (eval $ac_try) 2>&5
8062 ac_status=$? 7569 ac_status=$?
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); }; } && 7571 (exit $ac_status); }; } &&
8116 grep -v '^ *+' conftest.er1 >conftest.err 7623 grep -v '^ *+' conftest.er1 >conftest.err
8117 rm -f conftest.er1 7624 rm -f conftest.er1
8118 cat conftest.err >&5 7625 cat conftest.err >&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); } && 7627 (exit $ac_status); } &&
8121 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7628 { ac_try='test -z "$ac_cxx_werror_flag"
7629 || test ! -s conftest.err'
8122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8123 (eval $ac_try) 2>&5 7631 (eval $ac_try) 2>&5
8124 ac_status=$? 7632 ac_status=$?
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); }; } && 7634 (exit $ac_status); }; } &&
8156 grep -v '^ *+' conftest.er1 >conftest.err 7664 grep -v '^ *+' conftest.er1 >conftest.err
8157 rm -f conftest.er1 7665 rm -f conftest.er1
8158 cat conftest.err >&5 7666 cat conftest.err >&5
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); } && 7668 (exit $ac_status); } &&
8161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7669 { ac_try='test -z "$ac_cxx_werror_flag"
7670 || test ! -s conftest.err'
8162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8163 (eval $ac_try) 2>&5 7672 (eval $ac_try) 2>&5
8164 ac_status=$? 7673 ac_status=$?
8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166 (exit $ac_status); }; } && 7675 (exit $ac_status); }; } &&
8212 grep -v '^ *+' conftest.er1 >conftest.err 7721 grep -v '^ *+' conftest.er1 >conftest.err
8213 rm -f conftest.er1 7722 rm -f conftest.er1
8214 cat conftest.err >&5 7723 cat conftest.err >&5
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 (exit $ac_status); } && 7725 (exit $ac_status); } &&
8217 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7726 { ac_try='test -z "$ac_cxx_werror_flag"
7727 || test ! -s conftest.err'
8218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219 (eval $ac_try) 2>&5 7729 (eval $ac_try) 2>&5
8220 ac_status=$? 7730 ac_status=$?
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); }; } && 7732 (exit $ac_status); }; } &&
8252 grep -v '^ *+' conftest.er1 >conftest.err 7762 grep -v '^ *+' conftest.er1 >conftest.err
8253 rm -f conftest.er1 7763 rm -f conftest.er1
8254 cat conftest.err >&5 7764 cat conftest.err >&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); } && 7766 (exit $ac_status); } &&
8257 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7767 { ac_try='test -z "$ac_cxx_werror_flag"
7768 || test ! -s conftest.err'
8258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8259 (eval $ac_try) 2>&5 7770 (eval $ac_try) 2>&5
8260 ac_status=$? 7771 ac_status=$?
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); }; } && 7773 (exit $ac_status); }; } &&
8316 grep -v '^ *+' conftest.er1 >conftest.err 7827 grep -v '^ *+' conftest.er1 >conftest.err
8317 rm -f conftest.er1 7828 rm -f conftest.er1
8318 cat conftest.err >&5 7829 cat conftest.err >&5
8319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8320 (exit $ac_status); } && 7831 (exit $ac_status); } &&
8321 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7832 { ac_try='test -z "$ac_cxx_werror_flag"
7833 || test ! -s conftest.err'
8322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8323 (eval $ac_try) 2>&5 7835 (eval $ac_try) 2>&5
8324 ac_status=$? 7836 ac_status=$?
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); }; } && 7838 (exit $ac_status); }; } &&
8347See \`config.log' for more details." >&2;} 7859See \`config.log' for more details." >&2;}
8348 { (exit 1); exit 1; }; } ;; 7860 { (exit 1); exit 1; }; } ;;
8349esac 7861esac
8350else 7862else
8351 if test "$cross_compiling" = yes; then 7863 if test "$cross_compiling" = yes; then
8352 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 7864 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8353echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 7865See \`config.log' for more details." >&5
7866echo "$as_me: error: cannot run test program while cross compiling
7867See \`config.log' for more details." >&2;}
8354 { (exit 1); exit 1; }; } 7868 { (exit 1); exit 1; }; }
8355else 7869else
8356 cat >conftest.$ac_ext <<_ACEOF 7870 cat >conftest.$ac_ext <<_ACEOF
8357/* confdefs.h. */ 7871/* confdefs.h. */
8358_ACEOF 7872_ACEOF
8460 grep -v '^ *+' conftest.er1 >conftest.err 7974 grep -v '^ *+' conftest.er1 >conftest.err
8461 rm -f conftest.er1 7975 rm -f conftest.er1
8462 cat conftest.err >&5 7976 cat conftest.err >&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); } && 7978 (exit $ac_status); } &&
8465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7979 { ac_try='test -z "$ac_cxx_werror_flag"
7980 || test ! -s conftest.err'
8466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8467 (eval $ac_try) 2>&5 7982 (eval $ac_try) 2>&5
8468 ac_status=$? 7983 ac_status=$?
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); }; } && 7985 (exit $ac_status); }; } &&
8522 grep -v '^ *+' conftest.er1 >conftest.err 8037 grep -v '^ *+' conftest.er1 >conftest.err
8523 rm -f conftest.er1 8038 rm -f conftest.er1
8524 cat conftest.err >&5 8039 cat conftest.err >&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); } && 8041 (exit $ac_status); } &&
8527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8042 { ac_try='test -z "$ac_cxx_werror_flag"
8043 || test ! -s conftest.err'
8528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8529 (eval $ac_try) 2>&5 8045 (eval $ac_try) 2>&5
8530 ac_status=$? 8046 ac_status=$?
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); }; } && 8048 (exit $ac_status); }; } &&
8562 grep -v '^ *+' conftest.er1 >conftest.err 8078 grep -v '^ *+' conftest.er1 >conftest.err
8563 rm -f conftest.er1 8079 rm -f conftest.er1
8564 cat conftest.err >&5 8080 cat conftest.err >&5
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); } && 8082 (exit $ac_status); } &&
8567 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8083 { ac_try='test -z "$ac_cxx_werror_flag"
8084 || test ! -s conftest.err'
8568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569 (eval $ac_try) 2>&5 8086 (eval $ac_try) 2>&5
8570 ac_status=$? 8087 ac_status=$?
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); }; } && 8089 (exit $ac_status); }; } &&
8618 grep -v '^ *+' conftest.er1 >conftest.err 8135 grep -v '^ *+' conftest.er1 >conftest.err
8619 rm -f conftest.er1 8136 rm -f conftest.er1
8620 cat conftest.err >&5 8137 cat conftest.err >&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); } && 8139 (exit $ac_status); } &&
8623 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8140 { ac_try='test -z "$ac_cxx_werror_flag"
8141 || test ! -s conftest.err'
8624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8625 (eval $ac_try) 2>&5 8143 (eval $ac_try) 2>&5
8626 ac_status=$? 8144 ac_status=$?
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); }; } && 8146 (exit $ac_status); }; } &&
8658 grep -v '^ *+' conftest.er1 >conftest.err 8176 grep -v '^ *+' conftest.er1 >conftest.err
8659 rm -f conftest.er1 8177 rm -f conftest.er1
8660 cat conftest.err >&5 8178 cat conftest.err >&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); } && 8180 (exit $ac_status); } &&
8663 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8181 { ac_try='test -z "$ac_cxx_werror_flag"
8182 || test ! -s conftest.err'
8664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8665 (eval $ac_try) 2>&5 8184 (eval $ac_try) 2>&5
8666 ac_status=$? 8185 ac_status=$?
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); }; } && 8187 (exit $ac_status); }; } &&
8722 grep -v '^ *+' conftest.er1 >conftest.err 8241 grep -v '^ *+' conftest.er1 >conftest.err
8723 rm -f conftest.er1 8242 rm -f conftest.er1
8724 cat conftest.err >&5 8243 cat conftest.err >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); } && 8245 (exit $ac_status); } &&
8727 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8246 { ac_try='test -z "$ac_cxx_werror_flag"
8247 || test ! -s conftest.err'
8728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8729 (eval $ac_try) 2>&5 8249 (eval $ac_try) 2>&5
8730 ac_status=$? 8250 ac_status=$?
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; } && 8252 (exit $ac_status); }; } &&
8753See \`config.log' for more details." >&2;} 8273See \`config.log' for more details." >&2;}
8754 { (exit 1); exit 1; }; } ;; 8274 { (exit 1); exit 1; }; } ;;
8755esac 8275esac
8756else 8276else
8757 if test "$cross_compiling" = yes; then 8277 if test "$cross_compiling" = yes; then
8758 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8278 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8759echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8279See \`config.log' for more details." >&5
8280echo "$as_me: error: cannot run test program while cross compiling
8281See \`config.log' for more details." >&2;}
8760 { (exit 1); exit 1; }; } 8282 { (exit 1); exit 1; }; }
8761else 8283else
8762 cat >conftest.$ac_ext <<_ACEOF 8284 cat >conftest.$ac_ext <<_ACEOF
8763/* confdefs.h. */ 8285/* confdefs.h. */
8764_ACEOF 8286_ACEOF
8866 grep -v '^ *+' conftest.er1 >conftest.err 8388 grep -v '^ *+' conftest.er1 >conftest.err
8867 rm -f conftest.er1 8389 rm -f conftest.er1
8868 cat conftest.err >&5 8390 cat conftest.err >&5
8869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); } && 8392 (exit $ac_status); } &&
8871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8393 { ac_try='test -z "$ac_cxx_werror_flag"
8394 || test ! -s conftest.err'
8872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8873 (eval $ac_try) 2>&5 8396 (eval $ac_try) 2>&5
8874 ac_status=$? 8397 ac_status=$?
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); }; } && 8399 (exit $ac_status); }; } &&
8928 grep -v '^ *+' conftest.er1 >conftest.err 8451 grep -v '^ *+' conftest.er1 >conftest.err
8929 rm -f conftest.er1 8452 rm -f conftest.er1
8930 cat conftest.err >&5 8453 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); } && 8455 (exit $ac_status); } &&
8933 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8456 { ac_try='test -z "$ac_cxx_werror_flag"
8457 || test ! -s conftest.err'
8934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8935 (eval $ac_try) 2>&5 8459 (eval $ac_try) 2>&5
8936 ac_status=$? 8460 ac_status=$?
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 (exit $ac_status); }; } && 8462 (exit $ac_status); }; } &&
8968 grep -v '^ *+' conftest.er1 >conftest.err 8492 grep -v '^ *+' conftest.er1 >conftest.err
8969 rm -f conftest.er1 8493 rm -f conftest.er1
8970 cat conftest.err >&5 8494 cat conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } && 8496 (exit $ac_status); } &&
8973 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8497 { ac_try='test -z "$ac_cxx_werror_flag"
8498 || test ! -s conftest.err'
8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8975 (eval $ac_try) 2>&5 8500 (eval $ac_try) 2>&5
8976 ac_status=$? 8501 ac_status=$?
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); }; } && 8503 (exit $ac_status); }; } &&
9024 grep -v '^ *+' conftest.er1 >conftest.err 8549 grep -v '^ *+' conftest.er1 >conftest.err
9025 rm -f conftest.er1 8550 rm -f conftest.er1
9026 cat conftest.err >&5 8551 cat conftest.err >&5
9027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 (exit $ac_status); } && 8553 (exit $ac_status); } &&
9029 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8554 { ac_try='test -z "$ac_cxx_werror_flag"
8555 || test ! -s conftest.err'
9030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9031 (eval $ac_try) 2>&5 8557 (eval $ac_try) 2>&5
9032 ac_status=$? 8558 ac_status=$?
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); }; } && 8560 (exit $ac_status); }; } &&
9064 grep -v '^ *+' conftest.er1 >conftest.err 8590 grep -v '^ *+' conftest.er1 >conftest.err
9065 rm -f conftest.er1 8591 rm -f conftest.er1
9066 cat conftest.err >&5 8592 cat conftest.err >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); } && 8594 (exit $ac_status); } &&
9069 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8595 { ac_try='test -z "$ac_cxx_werror_flag"
8596 || test ! -s conftest.err'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9071 (eval $ac_try) 2>&5 8598 (eval $ac_try) 2>&5
9072 ac_status=$? 8599 ac_status=$?
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; } && 8601 (exit $ac_status); }; } &&
9128 grep -v '^ *+' conftest.er1 >conftest.err 8655 grep -v '^ *+' conftest.er1 >conftest.err
9129 rm -f conftest.er1 8656 rm -f conftest.er1
9130 cat conftest.err >&5 8657 cat conftest.err >&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); } && 8659 (exit $ac_status); } &&
9133 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8660 { ac_try='test -z "$ac_cxx_werror_flag"
8661 || test ! -s conftest.err'
9134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135 (eval $ac_try) 2>&5 8663 (eval $ac_try) 2>&5
9136 ac_status=$? 8664 ac_status=$?
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }; } && 8666 (exit $ac_status); }; } &&
9159See \`config.log' for more details." >&2;} 8687See \`config.log' for more details." >&2;}
9160 { (exit 1); exit 1; }; } ;; 8688 { (exit 1); exit 1; }; } ;;
9161esac 8689esac
9162else 8690else
9163 if test "$cross_compiling" = yes; then 8691 if test "$cross_compiling" = yes; then
9164 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8692 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9165echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8693See \`config.log' for more details." >&5
8694echo "$as_me: error: cannot run test program while cross compiling
8695See \`config.log' for more details." >&2;}
9166 { (exit 1); exit 1; }; } 8696 { (exit 1); exit 1; }; }
9167else 8697else
9168 cat >conftest.$ac_ext <<_ACEOF 8698 cat >conftest.$ac_ext <<_ACEOF
9169/* confdefs.h. */ 8699/* confdefs.h. */
9170_ACEOF 8700_ACEOF
9272 grep -v '^ *+' conftest.er1 >conftest.err 8802 grep -v '^ *+' conftest.er1 >conftest.err
9273 rm -f conftest.er1 8803 rm -f conftest.er1
9274 cat conftest.err >&5 8804 cat conftest.err >&5
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); } && 8806 (exit $ac_status); } &&
9277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8807 { ac_try='test -z "$ac_cxx_werror_flag"
8808 || test ! -s conftest.err'
9278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9279 (eval $ac_try) 2>&5 8810 (eval $ac_try) 2>&5
9280 ac_status=$? 8811 ac_status=$?
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); }; } && 8813 (exit $ac_status); }; } &&
9334 grep -v '^ *+' conftest.er1 >conftest.err 8865 grep -v '^ *+' conftest.er1 >conftest.err
9335 rm -f conftest.er1 8866 rm -f conftest.er1
9336 cat conftest.err >&5 8867 cat conftest.err >&5
9337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); } && 8869 (exit $ac_status); } &&
9339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8870 { ac_try='test -z "$ac_cxx_werror_flag"
8871 || test ! -s conftest.err'
9340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9341 (eval $ac_try) 2>&5 8873 (eval $ac_try) 2>&5
9342 ac_status=$? 8874 ac_status=$?
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); }; } && 8876 (exit $ac_status); }; } &&
9374 grep -v '^ *+' conftest.er1 >conftest.err 8906 grep -v '^ *+' conftest.er1 >conftest.err
9375 rm -f conftest.er1 8907 rm -f conftest.er1
9376 cat conftest.err >&5 8908 cat conftest.err >&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); } && 8910 (exit $ac_status); } &&
9379 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8911 { ac_try='test -z "$ac_cxx_werror_flag"
8912 || test ! -s conftest.err'
9380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9381 (eval $ac_try) 2>&5 8914 (eval $ac_try) 2>&5
9382 ac_status=$? 8915 ac_status=$?
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; } && 8917 (exit $ac_status); }; } &&
9430 grep -v '^ *+' conftest.er1 >conftest.err 8963 grep -v '^ *+' conftest.er1 >conftest.err
9431 rm -f conftest.er1 8964 rm -f conftest.er1
9432 cat conftest.err >&5 8965 cat conftest.err >&5
9433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9434 (exit $ac_status); } && 8967 (exit $ac_status); } &&
9435 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8968 { ac_try='test -z "$ac_cxx_werror_flag"
8969 || test ! -s conftest.err'
9436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9437 (eval $ac_try) 2>&5 8971 (eval $ac_try) 2>&5
9438 ac_status=$? 8972 ac_status=$?
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); }; } && 8974 (exit $ac_status); }; } &&
9470 grep -v '^ *+' conftest.er1 >conftest.err 9004 grep -v '^ *+' conftest.er1 >conftest.err
9471 rm -f conftest.er1 9005 rm -f conftest.er1
9472 cat conftest.err >&5 9006 cat conftest.err >&5
9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); } && 9008 (exit $ac_status); } &&
9475 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9009 { ac_try='test -z "$ac_cxx_werror_flag"
9010 || test ! -s conftest.err'
9476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9477 (eval $ac_try) 2>&5 9012 (eval $ac_try) 2>&5
9478 ac_status=$? 9013 ac_status=$?
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; } && 9015 (exit $ac_status); }; } &&
9534 grep -v '^ *+' conftest.er1 >conftest.err 9069 grep -v '^ *+' conftest.er1 >conftest.err
9535 rm -f conftest.er1 9070 rm -f conftest.er1
9536 cat conftest.err >&5 9071 cat conftest.err >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } && 9073 (exit $ac_status); } &&
9539 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9074 { ac_try='test -z "$ac_cxx_werror_flag"
9075 || test ! -s conftest.err'
9540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9541 (eval $ac_try) 2>&5 9077 (eval $ac_try) 2>&5
9542 ac_status=$? 9078 ac_status=$?
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); }; } && 9080 (exit $ac_status); }; } &&
9565See \`config.log' for more details." >&2;} 9101See \`config.log' for more details." >&2;}
9566 { (exit 1); exit 1; }; } ;; 9102 { (exit 1); exit 1; }; } ;;
9567esac 9103esac
9568else 9104else
9569 if test "$cross_compiling" = yes; then 9105 if test "$cross_compiling" = yes; then
9570 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 9106 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9571echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 9107See \`config.log' for more details." >&5
9108echo "$as_me: error: cannot run test program while cross compiling
9109See \`config.log' for more details." >&2;}
9572 { (exit 1); exit 1; }; } 9110 { (exit 1); exit 1; }; }
9573else 9111else
9574 cat >conftest.$ac_ext <<_ACEOF 9112 cat >conftest.$ac_ext <<_ACEOF
9575/* confdefs.h. */ 9113/* confdefs.h. */
9576_ACEOF 9114_ACEOF
9677 grep -v '^ *+' conftest.er1 >conftest.err 9215 grep -v '^ *+' conftest.er1 >conftest.err
9678 rm -f conftest.er1 9216 rm -f conftest.er1
9679 cat conftest.err >&5 9217 cat conftest.err >&5
9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); } && 9219 (exit $ac_status); } &&
9682 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9220 { ac_try='test -z "$ac_cxx_werror_flag"
9221 || test ! -s conftest.err'
9683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9684 (eval $ac_try) 2>&5 9223 (eval $ac_try) 2>&5
9685 ac_status=$? 9224 ac_status=$?
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); }; } && 9226 (exit $ac_status); }; } &&
9759 grep -v '^ *+' conftest.er1 >conftest.err 9298 grep -v '^ *+' conftest.er1 >conftest.err
9760 rm -f conftest.er1 9299 rm -f conftest.er1
9761 cat conftest.err >&5 9300 cat conftest.err >&5
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); } && 9302 (exit $ac_status); } &&
9764 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9303 { ac_try='test -z "$ac_cxx_werror_flag"
9304 || test ! -s conftest.err'
9765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9766 (eval $ac_try) 2>&5 9306 (eval $ac_try) 2>&5
9767 ac_status=$? 9307 ac_status=$?
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); }; } && 9309 (exit $ac_status); }; } &&
9841 grep -v '^ *+' conftest.er1 >conftest.err 9381 grep -v '^ *+' conftest.er1 >conftest.err
9842 rm -f conftest.er1 9382 rm -f conftest.er1
9843 cat conftest.err >&5 9383 cat conftest.err >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } && 9385 (exit $ac_status); } &&
9846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9386 { ac_try='test -z "$ac_cxx_werror_flag"
9387 || test ! -s conftest.err'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9848 (eval $ac_try) 2>&5 9389 (eval $ac_try) 2>&5
9849 ac_status=$? 9390 ac_status=$?
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; } && 9392 (exit $ac_status); }; } &&
9923 grep -v '^ *+' conftest.er1 >conftest.err 9464 grep -v '^ *+' conftest.er1 >conftest.err
9924 rm -f conftest.er1 9465 rm -f conftest.er1
9925 cat conftest.err >&5 9466 cat conftest.err >&5
9926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9927 (exit $ac_status); } && 9468 (exit $ac_status); } &&
9928 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9469 { ac_try='test -z "$ac_cxx_werror_flag"
9470 || test ! -s conftest.err'
9929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9930 (eval $ac_try) 2>&5 9472 (eval $ac_try) 2>&5
9931 ac_status=$? 9473 ac_status=$?
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); }; } && 9475 (exit $ac_status); }; } &&
10035 grep -v '^ *+' conftest.er1 >conftest.err 9577 grep -v '^ *+' conftest.er1 >conftest.err
10036 rm -f conftest.er1 9578 rm -f conftest.er1
10037 cat conftest.err >&5 9579 cat conftest.err >&5
10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 (exit $ac_status); } && 9581 (exit $ac_status); } &&
10040 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9582 { ac_try='test -z "$ac_cxx_werror_flag"
9583 || test ! -s conftest.err'
10041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042 (eval $ac_try) 2>&5 9585 (eval $ac_try) 2>&5
10043 ac_status=$? 9586 ac_status=$?
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }; } && 9588 (exit $ac_status); }; } &&
10062echo "${ECHO_T}$ac_cv_type_signal" >&6 9605echo "${ECHO_T}$ac_cv_type_signal" >&6
10063 9606
10064cat >>confdefs.h <<_ACEOF 9607cat >>confdefs.h <<_ACEOF
10065#define RETSIGTYPE $ac_cv_type_signal 9608#define RETSIGTYPE $ac_cv_type_signal
10066_ACEOF 9609_ACEOF
10067
10068
10069
10070
10071 9610
10072 9611
10073 9612
10074 9613
10075 9614
10076 9615
10077for ac_func in \ 9616for ac_func in \
10078 unsetenv \ 9617 unsetenv \
10079 setutent \ 9618 setutent \
10080 seteuid \
10081 setresuid \
10082 setreuid \
10083 on_exit \ 9619 on_exit \
10084 nanosleep \
10085 9620
10086do 9621do
10087as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9622as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10088echo "$as_me:$LINENO: checking for $ac_func" >&5 9623echo "$as_me:$LINENO: checking for $ac_func" >&5
10089echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9624echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10148 grep -v '^ *+' conftest.er1 >conftest.err 9683 grep -v '^ *+' conftest.er1 >conftest.err
10149 rm -f conftest.er1 9684 rm -f conftest.er1
10150 cat conftest.err >&5 9685 cat conftest.err >&5
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); } && 9687 (exit $ac_status); } &&
10153 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9688 { ac_try='test -z "$ac_cxx_werror_flag"
9689 || test ! -s conftest.err'
10154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10155 (eval $ac_try) 2>&5 9691 (eval $ac_try) 2>&5
10156 ac_status=$? 9692 ac_status=$?
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); }; } && 9694 (exit $ac_status); }; } &&
10181 9717
10182fi 9718fi
10183done 9719done
10184 9720
10185 9721
9722
9723support_utmp=yes
9724support_wtmp=yes
9725support_lastlog=yes
9726
9727# Check whether --enable-utmp or --disable-utmp was given.
9728if test "${enable_utmp+set}" = set; then
9729 enableval="$enable_utmp"
9730 if test x$enableval = xyes -o x$enableval = xno; then
9731 support_utmp=$enableval
9732 fi
9733fi;
9734
9735# Check whether --enable-wtmp or --disable-wtmp was given.
9736if test "${enable_wtmp+set}" = set; then
9737 enableval="$enable_wtmp"
9738 if test x$enableval = xyes -o x$enableval = xno; then
9739 support_wtmp=$enableval
9740 fi
9741fi;
9742
9743# Check whether --enable-lastlog or --disable-lastlog was given.
9744if test "${enable_lastlog+set}" = set; then
9745 enableval="$enable_lastlog"
9746 if test x$enableval = xyes -o x$enableval = xno; then
9747 support_lastlog=$enableval
9748 fi
9749fi;
9750
9751if test x$support_utmp = xyes; then
9752
9753cat >>confdefs.h <<\_ACEOF
9754#define UTMP_SUPPORT 1
9755_ACEOF
9756
9757fi
9758if test x$support_wtmp = xyes; then
9759
9760cat >>confdefs.h <<\_ACEOF
9761#define WTMP_SUPPORT 1
9762_ACEOF
9763
9764fi
9765if test x$support_lastlog = xyes; then
9766
9767cat >>confdefs.h <<\_ACEOF
9768#define LASTLOG_SUPPORT 1
9769_ACEOF
9770
9771fi
10186 9772
10187 9773
10188 9774
10189 9775
10190for ac_func in \ 9776for ac_func in \
10257 grep -v '^ *+' conftest.er1 >conftest.err 9843 grep -v '^ *+' conftest.er1 >conftest.err
10258 rm -f conftest.er1 9844 rm -f conftest.er1
10259 cat conftest.err >&5 9845 cat conftest.err >&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); } && 9847 (exit $ac_status); } &&
10262 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9848 { ac_try='test -z "$ac_cxx_werror_flag"
9849 || test ! -s conftest.err'
10263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10264 (eval $ac_try) 2>&5 9851 (eval $ac_try) 2>&5
10265 ac_status=$? 9852 ac_status=$?
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); }; } && 9854 (exit $ac_status); }; } &&
10330 grep -v '^ *+' conftest.er1 >conftest.err 9917 grep -v '^ *+' conftest.er1 >conftest.err
10331 rm -f conftest.er1 9918 rm -f conftest.er1
10332 cat conftest.err >&5 9919 cat conftest.err >&5
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); } && 9921 (exit $ac_status); } &&
10335 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9922 { ac_try='test -z "$ac_cxx_werror_flag"
9923 || test ! -s conftest.err'
10336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10337 (eval $ac_try) 2>&5 9925 (eval $ac_try) 2>&5
10338 ac_status=$? 9926 ac_status=$?
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; } && 9928 (exit $ac_status); }; } &&
10477 grep -v '^ *+' conftest.er1 >conftest.err 10065 grep -v '^ *+' conftest.er1 >conftest.err
10478 rm -f conftest.er1 10066 rm -f conftest.er1
10479 cat conftest.err >&5 10067 cat conftest.err >&5
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); } && 10069 (exit $ac_status); } &&
10482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10070 { ac_try='test -z "$ac_cxx_werror_flag"
10071 || test ! -s conftest.err'
10483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10484 (eval $ac_try) 2>&5 10073 (eval $ac_try) 2>&5
10485 ac_status=$? 10074 ac_status=$?
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); }; } && 10076 (exit $ac_status); }; } &&
10586 10175
10587fi 10176fi
10588if test $ac_cv_header_utmp_h = yes; then 10177if test $ac_cv_header_utmp_h = yes; then
10589 echo "$as_me:$LINENO: checking for struct utmp" >&5 10178 echo "$as_me:$LINENO: checking for struct utmp" >&5
10590echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 10179echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6
10591if test "${rxvt_cv_struct_utmp+set}" = set; then 10180if test "${struct_utmp+set}" = set; then
10592 echo $ECHO_N "(cached) $ECHO_C" >&6 10181 echo $ECHO_N "(cached) $ECHO_C" >&6
10593else 10182else
10594 cat >conftest.$ac_ext <<_ACEOF 10183 cat >conftest.$ac_ext <<_ACEOF
10595/* confdefs.h. */ 10184/* confdefs.h. */
10596_ACEOF 10185_ACEOF
10614 grep -v '^ *+' conftest.er1 >conftest.err 10203 grep -v '^ *+' conftest.er1 >conftest.err
10615 rm -f conftest.er1 10204 rm -f conftest.er1
10616 cat conftest.err >&5 10205 cat conftest.err >&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); } && 10207 (exit $ac_status); } &&
10619 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10208 { ac_try='test -z "$ac_cxx_werror_flag"
10209 || test ! -s conftest.err'
10620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10621 (eval $ac_try) 2>&5 10211 (eval $ac_try) 2>&5
10622 ac_status=$? 10212 ac_status=$?
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); }; } && 10214 (exit $ac_status); }; } &&
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5 10217 (eval $ac_try) 2>&5
10628 ac_status=$? 10218 ac_status=$?
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; }; then 10220 (exit $ac_status); }; }; then
10631 rxvt_cv_struct_utmp=yes 10221 struct_utmp=yes
10632else 10222else
10633 echo "$as_me: failed program was:" >&5 10223 echo "$as_me: failed program was:" >&5
10634sed 's/^/| /' conftest.$ac_ext >&5 10224sed 's/^/| /' conftest.$ac_ext >&5
10635 10225
10636rxvt_cv_struct_utmp=no 10226struct_utmp=no
10637fi 10227fi
10638rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10228rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10639fi 10229fi
10640echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 10230echo "$as_me:$LINENO: result: $struct_utmp" >&5
10641echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 10231echo "${ECHO_T}$struct_utmp" >&6
10642if test x$rxvt_cv_struct_utmp = xyes; then 10232if test x$struct_utmp = xyes; then
10643 10233
10644cat >>confdefs.h <<\_ACEOF 10234cat >>confdefs.h <<\_ACEOF
10645#define HAVE_STRUCT_UTMP 1 10235#define HAVE_STRUCT_UTMP 1
10646_ACEOF 10236_ACEOF
10647 10237
10648fi 10238fi
10649 10239
10650 10240
10651echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 10241echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5
10652echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 10242echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6
10653if test "${rxvt_cv_struct_utmp_host+set}" = set; then 10243if test "${struct_utmp_host+set}" = set; then
10654 echo $ECHO_N "(cached) $ECHO_C" >&6 10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10655else 10245else
10656 cat >conftest.$ac_ext <<_ACEOF 10246 cat >conftest.$ac_ext <<_ACEOF
10657/* confdefs.h. */ 10247/* confdefs.h. */
10658_ACEOF 10248_ACEOF
10676 grep -v '^ *+' conftest.er1 >conftest.err 10266 grep -v '^ *+' conftest.er1 >conftest.err
10677 rm -f conftest.er1 10267 rm -f conftest.er1
10678 cat conftest.err >&5 10268 cat conftest.err >&5
10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 (exit $ac_status); } && 10270 (exit $ac_status); } &&
10681 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10271 { ac_try='test -z "$ac_cxx_werror_flag"
10272 || test ! -s conftest.err'
10682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10683 (eval $ac_try) 2>&5 10274 (eval $ac_try) 2>&5
10684 ac_status=$? 10275 ac_status=$?
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); }; } && 10277 (exit $ac_status); }; } &&
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5 10280 (eval $ac_try) 2>&5
10690 ac_status=$? 10281 ac_status=$?
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; }; then 10283 (exit $ac_status); }; }; then
10693 rxvt_cv_struct_utmp_host=yes 10284 struct_utmp_host=yes
10694else 10285else
10695 echo "$as_me: failed program was:" >&5 10286 echo "$as_me: failed program was:" >&5
10696sed 's/^/| /' conftest.$ac_ext >&5 10287sed 's/^/| /' conftest.$ac_ext >&5
10697 10288
10698rxvt_cv_struct_utmp_host=no 10289struct_utmp_host=no
10699fi 10290fi
10700rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10291rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10701fi 10292fi
10702echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 10293echo "$as_me:$LINENO: result: $struct_utmp_host" >&5
10703echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 10294echo "${ECHO_T}$struct_utmp_host" >&6
10704if test x$rxvt_cv_struct_utmp_host = xyes; then 10295if test x$struct_utmp_host = xyes; then
10705 10296
10706cat >>confdefs.h <<\_ACEOF 10297cat >>confdefs.h <<\_ACEOF
10707#define HAVE_UTMP_HOST 1 10298#define HAVE_UTMP_HOST 1
10708_ACEOF 10299_ACEOF
10709 10300
10710fi 10301fi
10711 10302
10712echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 10303echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5
10713echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 10304echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6
10714if test "${rxvt_cv_struct_utmp_pid+set}" = set; then 10305if test "${struct_utmp_pid+set}" = set; then
10715 echo $ECHO_N "(cached) $ECHO_C" >&6 10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10716else 10307else
10717 cat >conftest.$ac_ext <<_ACEOF 10308 cat >conftest.$ac_ext <<_ACEOF
10718/* confdefs.h. */ 10309/* confdefs.h. */
10719_ACEOF 10310_ACEOF
10737 grep -v '^ *+' conftest.er1 >conftest.err 10328 grep -v '^ *+' conftest.er1 >conftest.err
10738 rm -f conftest.er1 10329 rm -f conftest.er1
10739 cat conftest.err >&5 10330 cat conftest.err >&5
10740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10741 (exit $ac_status); } && 10332 (exit $ac_status); } &&
10742 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10333 { ac_try='test -z "$ac_cxx_werror_flag"
10334 || test ! -s conftest.err'
10743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10744 (eval $ac_try) 2>&5 10336 (eval $ac_try) 2>&5
10745 ac_status=$? 10337 ac_status=$?
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); }; } && 10339 (exit $ac_status); }; } &&
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5 10342 (eval $ac_try) 2>&5
10751 ac_status=$? 10343 ac_status=$?
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; }; then 10345 (exit $ac_status); }; }; then
10754 rxvt_cv_struct_utmp_pid=yes 10346 struct_utmp_pid=yes
10755else 10347else
10756 echo "$as_me: failed program was:" >&5 10348 echo "$as_me: failed program was:" >&5
10757sed 's/^/| /' conftest.$ac_ext >&5 10349sed 's/^/| /' conftest.$ac_ext >&5
10758 10350
10759rxvt_cv_struct_utmp_pid=no 10351struct_utmp_pid=no
10760fi 10352fi
10761rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10353rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10762fi 10354fi
10763echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 10355echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5
10764echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 10356echo "${ECHO_T}$struct_utmp_pid" >&6
10765if test x$rxvt_cv_struct_utmp_pid = xyes; then 10357if test x$struct_utmp_pid = xyes; then
10766 10358
10767cat >>confdefs.h <<\_ACEOF 10359cat >>confdefs.h <<\_ACEOF
10768#define HAVE_UTMP_PID 1 10360#define HAVE_UTMP_PID 1
10769_ACEOF 10361_ACEOF
10770 10362
10802 grep -v '^ *+' conftest.er1 >conftest.err 10394 grep -v '^ *+' conftest.er1 >conftest.err
10803 rm -f conftest.er1 10395 rm -f conftest.er1
10804 cat conftest.err >&5 10396 cat conftest.err >&5
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); } && 10398 (exit $ac_status); } &&
10807 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10399 { ac_try='test -z "$ac_cxx_werror_flag"
10400 || test ! -s conftest.err'
10808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10809 (eval $ac_try) 2>&5 10402 (eval $ac_try) 2>&5
10810 ac_status=$? 10403 ac_status=$?
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); }; } && 10405 (exit $ac_status); }; } &&
10911 10504
10912fi 10505fi
10913if test $ac_cv_header_utmpx_h = yes; then 10506if test $ac_cv_header_utmpx_h = yes; then
10914 echo "$as_me:$LINENO: checking for struct utmpx" >&5 10507 echo "$as_me:$LINENO: checking for struct utmpx" >&5
10915echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 10508echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6
10916if test "${rxvt_cv_struct_utmpx+set}" = set; then 10509if test "${struct_utmpx+set}" = set; then
10917 echo $ECHO_N "(cached) $ECHO_C" >&6 10510 echo $ECHO_N "(cached) $ECHO_C" >&6
10918else 10511else
10919 cat >conftest.$ac_ext <<_ACEOF 10512 cat >conftest.$ac_ext <<_ACEOF
10920/* confdefs.h. */ 10513/* confdefs.h. */
10921_ACEOF 10514_ACEOF
10939 grep -v '^ *+' conftest.er1 >conftest.err 10532 grep -v '^ *+' conftest.er1 >conftest.err
10940 rm -f conftest.er1 10533 rm -f conftest.er1
10941 cat conftest.err >&5 10534 cat conftest.err >&5
10942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943 (exit $ac_status); } && 10536 (exit $ac_status); } &&
10944 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10537 { ac_try='test -z "$ac_cxx_werror_flag"
10538 || test ! -s conftest.err'
10945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10946 (eval $ac_try) 2>&5 10540 (eval $ac_try) 2>&5
10947 ac_status=$? 10541 ac_status=$?
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); }; } && 10543 (exit $ac_status); }; } &&
10951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10952 (eval $ac_try) 2>&5 10546 (eval $ac_try) 2>&5
10953 ac_status=$? 10547 ac_status=$?
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); }; }; then 10549 (exit $ac_status); }; }; then
10956 rxvt_cv_struct_utmpx=yes 10550 struct_utmpx=yes
10957else 10551else
10958 echo "$as_me: failed program was:" >&5 10552 echo "$as_me: failed program was:" >&5
10959sed 's/^/| /' conftest.$ac_ext >&5 10553sed 's/^/| /' conftest.$ac_ext >&5
10960 10554
10961rxvt_cv_struct_utmpx=no 10555struct_utmpx=no
10962fi 10556fi
10963rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10557rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10964fi 10558fi
10965echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 10559echo "$as_me:$LINENO: result: $struct_utmpx" >&5
10966echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 10560echo "${ECHO_T}$struct_utmpx" >&6
10967if test x$rxvt_cv_struct_utmpx = xyes; then 10561if test x$struct_utmpx = xyes; then
10968 10562
10969cat >>confdefs.h <<\_ACEOF 10563cat >>confdefs.h <<\_ACEOF
10970#define HAVE_STRUCT_UTMPX 1 10564#define HAVE_STRUCT_UTMPX 1
10971_ACEOF 10565_ACEOF
10972 10566
10973fi 10567fi
10974 10568
10975 10569
10976echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 10570echo "$as_me:$LINENO: checking for host in utmpx struct" >&5
10977echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 10571echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6
10978if test "${rxvt_cv_struct_utmpx_host+set}" = set; then 10572if test "${struct_utmpx_host+set}" = set; then
10979 echo $ECHO_N "(cached) $ECHO_C" >&6 10573 echo $ECHO_N "(cached) $ECHO_C" >&6
10980else 10574else
10981 cat >conftest.$ac_ext <<_ACEOF 10575 cat >conftest.$ac_ext <<_ACEOF
10982/* confdefs.h. */ 10576/* confdefs.h. */
10983_ACEOF 10577_ACEOF
11001 grep -v '^ *+' conftest.er1 >conftest.err 10595 grep -v '^ *+' conftest.er1 >conftest.err
11002 rm -f conftest.er1 10596 rm -f conftest.er1
11003 cat conftest.err >&5 10597 cat conftest.err >&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); } && 10599 (exit $ac_status); } &&
11006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10600 { ac_try='test -z "$ac_cxx_werror_flag"
10601 || test ! -s conftest.err'
11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008 (eval $ac_try) 2>&5 10603 (eval $ac_try) 2>&5
11009 ac_status=$? 10604 ac_status=$?
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }; } && 10606 (exit $ac_status); }; } &&
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5 10609 (eval $ac_try) 2>&5
11015 ac_status=$? 10610 ac_status=$?
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; }; then 10612 (exit $ac_status); }; }; then
11018 rxvt_cv_struct_utmpx_host=yes 10613 struct_utmpx_host=yes
11019else 10614else
11020 echo "$as_me: failed program was:" >&5 10615 echo "$as_me: failed program was:" >&5
11021sed 's/^/| /' conftest.$ac_ext >&5 10616sed 's/^/| /' conftest.$ac_ext >&5
11022 10617
11023rxvt_cv_struct_utmpx_host=no 10618struct_utmpx_host=no
11024fi 10619fi
11025rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10620rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11026fi 10621fi
11027echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 10622echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5
11028echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 10623echo "${ECHO_T}$struct_utmpx_host" >&6
11029if test x$rxvt_cv_struct_utmpx_host = xyes; then 10624if test x$struct_utmpx_host = xyes; then
11030 10625
11031cat >>confdefs.h <<\_ACEOF 10626cat >>confdefs.h <<\_ACEOF
11032#define HAVE_UTMPX_HOST 1 10627#define HAVE_UTMPX_HOST 1
11033_ACEOF 10628_ACEOF
11034 10629
11035fi 10630fi
11036 10631
11037echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 10632echo "$as_me:$LINENO: checking for session in utmpx struct" >&5
11038echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 10633echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6
11039if test "${rxvt_cv_struct_utmpx_session+set}" = set; then 10634if test "${struct_utmpx_session+set}" = set; then
11040 echo $ECHO_N "(cached) $ECHO_C" >&6 10635 echo $ECHO_N "(cached) $ECHO_C" >&6
11041else 10636else
11042 cat >conftest.$ac_ext <<_ACEOF 10637 cat >conftest.$ac_ext <<_ACEOF
11043/* confdefs.h. */ 10638/* confdefs.h. */
11044_ACEOF 10639_ACEOF
11062 grep -v '^ *+' conftest.er1 >conftest.err 10657 grep -v '^ *+' conftest.er1 >conftest.err
11063 rm -f conftest.er1 10658 rm -f conftest.er1
11064 cat conftest.err >&5 10659 cat conftest.err >&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } && 10661 (exit $ac_status); } &&
11067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10662 { ac_try='test -z "$ac_cxx_werror_flag"
10663 || test ! -s conftest.err'
11068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11069 (eval $ac_try) 2>&5 10665 (eval $ac_try) 2>&5
11070 ac_status=$? 10666 ac_status=$?
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); }; } && 10668 (exit $ac_status); }; } &&
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5 10671 (eval $ac_try) 2>&5
11076 ac_status=$? 10672 ac_status=$?
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; }; then 10674 (exit $ac_status); }; }; then
11079 rxvt_cv_struct_utmpx_session=yes 10675 struct_utmpx_session=yes
11080else 10676else
11081 echo "$as_me: failed program was:" >&5 10677 echo "$as_me: failed program was:" >&5
11082sed 's/^/| /' conftest.$ac_ext >&5 10678sed 's/^/| /' conftest.$ac_ext >&5
11083 10679
11084rxvt_cv_struct_utmpx_session=no 10680struct_utmpx_session=no
11085fi 10681fi
11086rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10682rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11087fi 10683fi
11088echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 10684echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5
11089echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 10685echo "${ECHO_T}$struct_utmpx_session" >&6
11090if test x$rxvt_cv_struct_utmpx_session = xyes; then 10686if test x$struct_utmpx_session = xyes; then
11091 10687
11092cat >>confdefs.h <<\_ACEOF 10688cat >>confdefs.h <<\_ACEOF
11093#define HAVE_UTMPX_SESSION 1 10689#define HAVE_UTMPX_SESSION 1
11094_ACEOF 10690_ACEOF
11095 10691
11098fi 10694fi
11099 10695
11100 10696
11101echo "$as_me:$LINENO: checking for struct lastlog" >&5 10697echo "$as_me:$LINENO: checking for struct lastlog" >&5
11102echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 10698echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
11103if test "${rxvt_cv_struct_lastlog+set}" = set; then 10699if test "${struct_lastlog+set}" = set; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6 10700 echo $ECHO_N "(cached) $ECHO_C" >&6
11105else 10701else
11106 cat >conftest.$ac_ext <<_ACEOF 10702 cat >conftest.$ac_ext <<_ACEOF
11107/* confdefs.h. */ 10703/* confdefs.h. */
11108_ACEOF 10704_ACEOF
11130 grep -v '^ *+' conftest.er1 >conftest.err 10726 grep -v '^ *+' conftest.er1 >conftest.err
11131 rm -f conftest.er1 10727 rm -f conftest.er1
11132 cat conftest.err >&5 10728 cat conftest.err >&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } && 10730 (exit $ac_status); } &&
11135 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10731 { ac_try='test -z "$ac_cxx_werror_flag"
10732 || test ! -s conftest.err'
11136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11137 (eval $ac_try) 2>&5 10734 (eval $ac_try) 2>&5
11138 ac_status=$? 10735 ac_status=$?
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); }; } && 10737 (exit $ac_status); }; } &&
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5 10740 (eval $ac_try) 2>&5
11144 ac_status=$? 10741 ac_status=$?
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; }; then 10743 (exit $ac_status); }; }; then
11147 rxvt_cv_struct_lastlog=yes 10744 struct_lastlog=yes
11148else 10745else
11149 echo "$as_me: failed program was:" >&5 10746 echo "$as_me: failed program was:" >&5
11150sed 's/^/| /' conftest.$ac_ext >&5 10747sed 's/^/| /' conftest.$ac_ext >&5
11151 10748
11152rxvt_cv_struct_lastlog=no 10749struct_lastlog=no
11153fi 10750fi
11154rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10751rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11155fi 10752fi
11156echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 10753echo "$as_me:$LINENO: result: $struct_lastlog" >&5
11157echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 10754echo "${ECHO_T}$struct_lastlog" >&6
11158if test x$rxvt_cv_struct_lastlog = xyes; then 10755if test x$struct_lastlog = xyes; then
11159 10756
11160cat >>confdefs.h <<\_ACEOF 10757cat >>confdefs.h <<\_ACEOF
11161#define HAVE_STRUCT_LASTLOG 1 10758#define HAVE_STRUCT_LASTLOG 1
11162_ACEOF 10759_ACEOF
11163 10760
11164fi 10761fi
11165 10762
11166echo "$as_me:$LINENO: checking for struct lastlogx" >&5 10763echo "$as_me:$LINENO: checking for struct lastlogx" >&5
11167echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 10764echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6
11168if test "${rxvt_cv_struct_lastlogx+set}" = set; then 10765if test "${struct_lastlogx+set}" = set; then
11169 echo $ECHO_N "(cached) $ECHO_C" >&6 10766 echo $ECHO_N "(cached) $ECHO_C" >&6
11170else 10767else
11171 cat >conftest.$ac_ext <<_ACEOF 10768 cat >conftest.$ac_ext <<_ACEOF
11172/* confdefs.h. */ 10769/* confdefs.h. */
11173_ACEOF 10770_ACEOF
11195 grep -v '^ *+' conftest.er1 >conftest.err 10792 grep -v '^ *+' conftest.er1 >conftest.err
11196 rm -f conftest.er1 10793 rm -f conftest.er1
11197 cat conftest.err >&5 10794 cat conftest.err >&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); } && 10796 (exit $ac_status); } &&
11200 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10797 { ac_try='test -z "$ac_cxx_werror_flag"
10798 || test ! -s conftest.err'
11201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11202 (eval $ac_try) 2>&5 10800 (eval $ac_try) 2>&5
11203 ac_status=$? 10801 ac_status=$?
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); }; } && 10803 (exit $ac_status); }; } &&
11207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11208 (eval $ac_try) 2>&5 10806 (eval $ac_try) 2>&5
11209 ac_status=$? 10807 ac_status=$?
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; }; then 10809 (exit $ac_status); }; }; then
11212 rxvt_cv_struct_lastlogx=yes 10810 struct_lastlogx=yes
11213else 10811else
11214 echo "$as_me: failed program was:" >&5 10812 echo "$as_me: failed program was:" >&5
11215sed 's/^/| /' conftest.$ac_ext >&5 10813sed 's/^/| /' conftest.$ac_ext >&5
11216 10814
11217rxvt_cv_struct_lastlogx=no 10815struct_lastlogx=no
11218fi 10816fi
11219rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10817rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11220fi 10818fi
11221echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 10819echo "$as_me:$LINENO: result: $struct_lastlogx" >&5
11222echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 10820echo "${ECHO_T}$struct_lastlogx" >&6
11223if test x$rxvt_cv_struct_lastlogx = xyes; then 10821if test x$struct_lastlogx = xyes; then
11224 10822
11225cat >>confdefs.h <<\_ACEOF 10823cat >>confdefs.h <<\_ACEOF
11226#define HAVE_STRUCT_LASTLOGX 1 10824#define HAVE_STRUCT_LASTLOGX 1
11227_ACEOF 10825_ACEOF
11228 10826
11229fi 10827fi
11230 10828
11231 10829
11232echo "$as_me:$LINENO: checking where utmp is located" >&5 10830echo "$as_me:$LINENO: checking where utmp is located" >&5
11233echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 10831echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6
11234if test "${rxvt_cv_path_utmp+set}" = set; then 10832if test "${path_utmp+set}" = set; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6 10833 echo $ECHO_N "(cached) $ECHO_C" >&6
11236else 10834else
11237 if test "$cross_compiling" = yes; then 10835 if test "$cross_compiling" = yes; then
11238 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 10836 { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5
11239echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} 10837echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
11240else 10838else
11241 cat >conftest.$ac_ext <<_ACEOF 10839 cat >conftest.$ac_ext <<_ACEOF
11242/* confdefs.h. */ 10840/* confdefs.h. */
11243_ACEOF 10841_ACEOF
11244cat confdefs.h >>conftest.$ac_ext 10842cat confdefs.h >>conftest.$ac_ext
11245cat >>conftest.$ac_ext <<_ACEOF 10843cat >>conftest.$ac_ext <<_ACEOF
11246/* end confdefs.h. */ 10844/* end confdefs.h. */
11247#include <stdio.h> 10845#include <stdio.h>
10846#include <stdlib.h>
11248#include <sys/types.h> 10847#include <sys/types.h>
11249#include <utmp.h> 10848#include <utmp.h>
11250#include <errno.h> 10849#include <errno.h>
11251main() 10850main()
11252{ 10851{
11280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11281 (eval $ac_try) 2>&5 10880 (eval $ac_try) 2>&5
11282 ac_status=$? 10881 ac_status=$?
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); }; }; then 10883 (exit $ac_status); }; }; then
11285 rxvt_cv_path_utmp=`cat conftestval` 10884 path_utmp=`cat conftestval`
11286else 10885else
11287 echo "$as_me: program exited with status $ac_status" >&5 10886 echo "$as_me: program exited with status $ac_status" >&5
11288echo "$as_me: failed program was:" >&5 10887echo "$as_me: failed program was:" >&5
11289sed 's/^/| /' conftest.$ac_ext >&5 10888sed 's/^/| /' conftest.$ac_ext >&5
11290 10889
11291( exit $ac_status ) 10890( exit $ac_status )
11292rxvt_cv_path_utmp= 10891path_utmp=
11293fi 10892fi
11294rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10893rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11295fi 10894fi
11296fi 10895fi
11297echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 10896echo "$as_me:$LINENO: result: $path_utmp" >&5
11298echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 10897echo "${ECHO_T}$path_utmp" >&6
11299if test x$rxvt_cv_path_utmp != x; then 10898if test x$path_utmp != x; then
11300 10899
11301cat >>confdefs.h <<_ACEOF 10900cat >>confdefs.h <<_ACEOF
11302#define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" 10901#define UTMP_FILE "$path_utmp"
11303_ACEOF 10902_ACEOF
11304 10903
11305fi 10904fi
11306 10905
11307 10906
11308echo "$as_me:$LINENO: checking where utmpx is located" >&5 10907echo "$as_me:$LINENO: checking where utmpx is located" >&5
11309echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 10908echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6
11310if test "${rxvt_cv_path_utmpx+set}" = set; then 10909if test "${path_utmpx+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6 10910 echo $ECHO_N "(cached) $ECHO_C" >&6
11312else 10911else
11313 if test "$cross_compiling" = yes; then 10912 if test "$cross_compiling" = yes; then
11314 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 10913 { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5
11315echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} 10914echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;}
11316else 10915else
11317 cat >conftest.$ac_ext <<_ACEOF 10916 cat >conftest.$ac_ext <<_ACEOF
11318/* confdefs.h. */ 10917/* confdefs.h. */
11319_ACEOF 10918_ACEOF
11320cat confdefs.h >>conftest.$ac_ext 10919cat confdefs.h >>conftest.$ac_ext
11321cat >>conftest.$ac_ext <<_ACEOF 10920cat >>conftest.$ac_ext <<_ACEOF
11322/* end confdefs.h. */ 10921/* end confdefs.h. */
11323#include <stdio.h> 10922#include <stdio.h>
10923#include <stdlib.h>
11324#include <sys/types.h> 10924#include <sys/types.h>
11325#include <utmpx.h> 10925#include <utmpx.h>
11326#include <errno.h> 10926#include <errno.h>
11327#include <sys/stat.h> 10927#include <sys/stat.h>
11328#ifdef HAVE_STRING_H 10928#ifdef HAVE_STRING_H
11366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11367 (eval $ac_try) 2>&5 10967 (eval $ac_try) 2>&5
11368 ac_status=$? 10968 ac_status=$?
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); }; }; then 10970 (exit $ac_status); }; }; then
11371 rxvt_cv_path_utmpx=`cat conftestval` 10971 path_utmpx=`cat conftestval`
11372else 10972else
11373 echo "$as_me: program exited with status $ac_status" >&5 10973 echo "$as_me: program exited with status $ac_status" >&5
11374echo "$as_me: failed program was:" >&5 10974echo "$as_me: failed program was:" >&5
11375sed 's/^/| /' conftest.$ac_ext >&5 10975sed 's/^/| /' conftest.$ac_ext >&5
11376 10976
11377( exit $ac_status ) 10977( exit $ac_status )
11378rxvt_cv_path_utmpx= 10978path_utmpx=
11379fi 10979fi
11380rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10980rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11381fi 10981fi
11382fi 10982fi
11383echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 10983echo "$as_me:$LINENO: result: $path_utmpx" >&5
11384echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 10984echo "${ECHO_T}$path_utmpx" >&6
11385if test x$rxvt_cv_path_utmpx != x; then 10985if test x$path_utmpx != x; then
11386 10986
11387cat >>confdefs.h <<_ACEOF 10987cat >>confdefs.h <<_ACEOF
11388#define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" 10988#define UTMPX_FILE "$path_utmpx"
11389_ACEOF 10989_ACEOF
11390 10990
11391fi 10991fi
11392 10992
11393 10993
11394echo "$as_me:$LINENO: checking where wtmp is located" >&5 10994echo "$as_me:$LINENO: checking where wtmp is located" >&5
11395echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 10995echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6
11396if test "${rxvt_cv_path_wtmp+set}" = set; then 10996if test "${path_wtmp+set}" = set; then
11397 echo $ECHO_N "(cached) $ECHO_C" >&6 10997 echo $ECHO_N "(cached) $ECHO_C" >&6
11398else 10998else
11399 if test "$cross_compiling" = yes; then 10999 if test "$cross_compiling" = yes; then
11400 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 11000 { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5
11401echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} 11001echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
11402else 11002else
11403 cat >conftest.$ac_ext <<_ACEOF 11003 cat >conftest.$ac_ext <<_ACEOF
11404/* confdefs.h. */ 11004/* confdefs.h. */
11405_ACEOF 11005_ACEOF
11406cat confdefs.h >>conftest.$ac_ext 11006cat confdefs.h >>conftest.$ac_ext
11407cat >>conftest.$ac_ext <<_ACEOF 11007cat >>conftest.$ac_ext <<_ACEOF
11408/* end confdefs.h. */ 11008/* end confdefs.h. */
11409#include <stdio.h> 11009#include <stdio.h>
11010#include <stdlib.h>
11410#include <sys/types.h> 11011#include <sys/types.h>
11411#ifdef HAVE_UTMP_H 11012#ifdef HAVE_UTMP_H
11412#include <utmp.h> 11013#include <utmp.h>
11413#endif 11014#endif
11414#include <errno.h> 11015#include <errno.h>
11444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11445 (eval $ac_try) 2>&5 11046 (eval $ac_try) 2>&5
11446 ac_status=$? 11047 ac_status=$?
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; }; then 11049 (exit $ac_status); }; }; then
11449 rxvt_cv_path_wtmp=`cat conftestval` 11050 path_wtmp=`cat conftestval`
11450else 11051else
11451 echo "$as_me: program exited with status $ac_status" >&5 11052 echo "$as_me: program exited with status $ac_status" >&5
11452echo "$as_me: failed program was:" >&5 11053echo "$as_me: failed program was:" >&5
11453sed 's/^/| /' conftest.$ac_ext >&5 11054sed 's/^/| /' conftest.$ac_ext >&5
11454 11055
11455( exit $ac_status ) 11056( exit $ac_status )
11456rxvt_cv_path_wtmp= 11057path_wtmp=
11457fi 11058fi
11458rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11059rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11459fi 11060fi
11460fi 11061fi
11461echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 11062echo "$as_me:$LINENO: result: $path_wtmp" >&5
11462echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 11063echo "${ECHO_T}$path_wtmp" >&6
11463if test x$rxvt_cv_path_wtmp != x; then 11064if test x$path_wtmp != x; then
11464 11065
11465cat >>confdefs.h <<_ACEOF 11066cat >>confdefs.h <<_ACEOF
11466#define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" 11067#define WTMP_FILE "$path_wtmp"
11467_ACEOF 11068_ACEOF
11468 11069
11469fi 11070fi
11470 11071
11471echo "$as_me:$LINENO: checking where wtmpx is located" >&5 11072echo "$as_me:$LINENO: checking where wtmpx is located" >&5
11472echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 11073echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6
11473if test "${rxvt_cv_path_wtmpx+set}" = set; then 11074if test "${path_wtmpx+set}" = set; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6 11075 echo $ECHO_N "(cached) $ECHO_C" >&6
11475else 11076else
11476 if test "$cross_compiling" = yes; then 11077 if test "$cross_compiling" = yes; then
11477 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 11078 { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5
11478echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} 11079echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;}
11479else 11080else
11480 cat >conftest.$ac_ext <<_ACEOF 11081 cat >conftest.$ac_ext <<_ACEOF
11481/* confdefs.h. */ 11082/* confdefs.h. */
11482_ACEOF 11083_ACEOF
11483cat confdefs.h >>conftest.$ac_ext 11084cat confdefs.h >>conftest.$ac_ext
11484cat >>conftest.$ac_ext <<_ACEOF 11085cat >>conftest.$ac_ext <<_ACEOF
11485/* end confdefs.h. */ 11086/* end confdefs.h. */
11486#include <stdio.h> 11087#include <stdio.h>
11088#include <stdlib.h>
11487#ifdef HAVE_UTMPX_H 11089#ifdef HAVE_UTMPX_H
11488#include <utmpx.h> 11090#include <utmpx.h>
11489#endif 11091#endif
11490#include <errno.h> 11092#include <errno.h>
11491main() 11093main()
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5 11123 (eval $ac_try) 2>&5
11522 ac_status=$? 11124 ac_status=$?
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; }; then 11126 (exit $ac_status); }; }; then
11525 rxvt_cv_path_wtmpx=`cat conftestval` 11127 path_wtmpx=`cat conftestval`
11526else 11128else
11527 echo "$as_me: program exited with status $ac_status" >&5 11129 echo "$as_me: program exited with status $ac_status" >&5
11528echo "$as_me: failed program was:" >&5 11130echo "$as_me: failed program was:" >&5
11529sed 's/^/| /' conftest.$ac_ext >&5 11131sed 's/^/| /' conftest.$ac_ext >&5
11530 11132
11531( exit $ac_status ) 11133( exit $ac_status )
11532rxvt_cv_path_wtmpx= 11134path_wtmpx=
11533fi 11135fi
11534rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11136rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11535fi 11137fi
11536fi 11138fi
11537echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 11139echo "$as_me:$LINENO: result: $path_wtmpx" >&5
11538echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 11140echo "${ECHO_T}$path_wtmpx" >&6
11539if test x$rxvt_cv_path_wtmpx != x; then 11141if test x$path_wtmpx != x; then
11540 11142
11541cat >>confdefs.h <<_ACEOF 11143cat >>confdefs.h <<_ACEOF
11542#define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" 11144#define WTMPX_FILE "$path_wtmpx"
11543_ACEOF 11145_ACEOF
11544 11146
11545fi 11147fi
11546 11148
11547echo "$as_me:$LINENO: checking where lastlog is located" >&5 11149echo "$as_me:$LINENO: checking where lastlog is located" >&5
11548echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 11150echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6
11549if test "${rxvt_cv_path_lastlog+set}" = set; then 11151if test "${path_lastlog+set}" = set; then
11550 echo $ECHO_N "(cached) $ECHO_C" >&6 11152 echo $ECHO_N "(cached) $ECHO_C" >&6
11551else 11153else
11552 if test "$cross_compiling" = yes; then 11154 if test "$cross_compiling" = yes; then
11553 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 11155 { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5
11554echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} 11156echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;}
11555else 11157else
11556 cat >conftest.$ac_ext <<_ACEOF 11158 cat >conftest.$ac_ext <<_ACEOF
11557/* confdefs.h. */ 11159/* confdefs.h. */
11558_ACEOF 11160_ACEOF
11559cat confdefs.h >>conftest.$ac_ext 11161cat confdefs.h >>conftest.$ac_ext
11560cat >>conftest.$ac_ext <<_ACEOF 11162cat >>conftest.$ac_ext <<_ACEOF
11561/* end confdefs.h. */ 11163/* end confdefs.h. */
11562#include <stdio.h> 11164#include <stdio.h>
11165#include <stdlib.h>
11563#include <sys/types.h> 11166#include <sys/types.h>
11564#ifdef HAVE_UTMPX_H 11167#ifdef HAVE_UTMPX_H
11565#include <utmpx.h> 11168#include <utmpx.h>
11566#elif defined(HAVE_UTMP_H) 11169#elif defined(HAVE_UTMP_H)
11567#include <utmp.h> 11170#include <utmp.h>
11601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11602 (eval $ac_try) 2>&5 11205 (eval $ac_try) 2>&5
11603 ac_status=$? 11206 ac_status=$?
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); }; }; then 11208 (exit $ac_status); }; }; then
11606 rxvt_cv_path_lastlog=`cat conftestval` 11209 path_lastlog=`cat conftestval`
11607else 11210else
11608 echo "$as_me: program exited with status $ac_status" >&5 11211 echo "$as_me: program exited with status $ac_status" >&5
11609echo "$as_me: failed program was:" >&5 11212echo "$as_me: failed program was:" >&5
11610sed 's/^/| /' conftest.$ac_ext >&5 11213sed 's/^/| /' conftest.$ac_ext >&5
11611 11214
11612( exit $ac_status ) 11215( exit $ac_status )
11613rxvt_cv_path_lastlog= 11216path_lastlog=
11614fi 11217fi
11615rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11218rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11616fi 11219fi
11617fi 11220fi
11618echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 11221echo "$as_me:$LINENO: result: $path_lastlog" >&5
11619echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 11222echo "${ECHO_T}$path_lastlog" >&6
11620if test x$rxvt_cv_path_lastlog != x; then 11223if test x$path_lastlog != x; then
11621 11224
11622cat >>confdefs.h <<_ACEOF 11225cat >>confdefs.h <<_ACEOF
11623#define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" 11226#define LASTLOG_FILE "$path_lastlog"
11624_ACEOF 11227_ACEOF
11625 11228
11626 if test -d "$rxvt_cv_path_lastlog"; then 11229 if test -d "$path_lastlog"; then
11627 11230
11628cat >>confdefs.h <<\_ACEOF 11231cat >>confdefs.h <<\_ACEOF
11629#define LASTLOG_IS_DIR 1 11232#define LASTLOG_IS_DIR 1
11630_ACEOF 11233_ACEOF
11631 11234
11632 fi 11235 fi
11633fi 11236fi
11634 11237
11635echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11238echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11636echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 11239echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6
11637if test "${rxvt_cv_path_lastlogx+set}" = set; then 11240if test "${path_lastlogx+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6 11241 echo $ECHO_N "(cached) $ECHO_C" >&6
11639else 11242else
11640 if test "$cross_compiling" = yes; then 11243 if test "$cross_compiling" = yes; then
11641 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 11244 { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5
11642echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} 11245echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;}
11643else 11246else
11644 cat >conftest.$ac_ext <<_ACEOF 11247 cat >conftest.$ac_ext <<_ACEOF
11645/* confdefs.h. */ 11248/* confdefs.h. */
11646_ACEOF 11249_ACEOF
11647cat confdefs.h >>conftest.$ac_ext 11250cat confdefs.h >>conftest.$ac_ext
11648cat >>conftest.$ac_ext <<_ACEOF 11251cat >>conftest.$ac_ext <<_ACEOF
11649/* end confdefs.h. */ 11252/* end confdefs.h. */
11650#include <stdio.h> 11253#include <stdio.h>
11254#include <stdlib.h>
11651#ifdef HAVE_UTMPX_H 11255#ifdef HAVE_UTMPX_H
11652#include <utmpx.h> 11256#include <utmpx.h>
11653#endif 11257#endif
11654#include <errno.h> 11258#include <errno.h>
11655main() 11259main()
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5 11288 (eval $ac_try) 2>&5
11685 ac_status=$? 11289 ac_status=$?
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; }; then 11291 (exit $ac_status); }; }; then
11688 rxvt_cv_path_lastlogx=`cat conftestval` 11292 path_lastlogx=`cat conftestval`
11689else 11293else
11690 echo "$as_me: program exited with status $ac_status" >&5 11294 echo "$as_me: program exited with status $ac_status" >&5
11691echo "$as_me: failed program was:" >&5 11295echo "$as_me: failed program was:" >&5
11692sed 's/^/| /' conftest.$ac_ext >&5 11296sed 's/^/| /' conftest.$ac_ext >&5
11693 11297
11694( exit $ac_status ) 11298( exit $ac_status )
11695rxvt_cv_path_lastlogx= 11299path_lastlogx=
11696fi 11300fi
11697rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11301rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11698fi 11302fi
11699fi 11303fi
11700echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 11304echo "$as_me:$LINENO: result: $path_lastlogx" >&5
11701echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 11305echo "${ECHO_T}$path_lastlogx" >&6
11702if test x$rxvt_cv_path_lastlogx != x; then 11306if test x$path_lastlogx != x; then
11703 11307
11704cat >>confdefs.h <<_ACEOF 11308cat >>confdefs.h <<_ACEOF
11705#define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" 11309#define LASTLOGX_FILE "$path_lastlogx"
11706_ACEOF 11310_ACEOF
11707 11311
11708fi 11312fi
11709 11313
11710 11314
11736 11340
11737ac_save_LIBS=$LIBS 11341ac_save_LIBS=$LIBS
11738ac_save_CFLAGS=$CFLAGS 11342ac_save_CFLAGS=$CFLAGS
11739CFLAGS="$CFLAGS $X_CFLAGS" 11343CFLAGS="$CFLAGS $X_CFLAGS"
11740LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11344LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
11741if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
11742 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
11743fi
11744echo "$as_me:$LINENO: checking for working Xlocale" >&5 11345echo "$as_me:$LINENO: checking for working Xlocale" >&5
11745echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 11346echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6
11746if test "${rxvt_cv_func_xlocale+set}" = set; then 11347if test "${rxvt_cv_func_xlocale+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6 11348 echo $ECHO_N "(cached) $ECHO_C" >&6
11748else 11349else
11749 if test "$cross_compiling" = yes; then 11350 if test "$cross_compiling" = yes; then
11750 { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 11351 :
11751echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;}
11752else 11352else
11753 cat >conftest.$ac_ext <<_ACEOF 11353 cat >conftest.$ac_ext <<_ACEOF
11754/* confdefs.h. */ 11354/* confdefs.h. */
11755_ACEOF 11355_ACEOF
11756cat confdefs.h >>conftest.$ac_ext 11356cat confdefs.h >>conftest.$ac_ext
11757cat >>conftest.$ac_ext <<_ACEOF 11357cat >>conftest.$ac_ext <<_ACEOF
11758/* end confdefs.h. */ 11358/* end confdefs.h. */
11759#include <X11/Xlib.h> 11359#include <X11/Xlib.h>
11360#include <stdlib.h>
11760main() { 11361main() {
11761char *p; 11362char *p;
11762if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 11363if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
11763exit (XSupportsLocale() ? 0 : 1); 11364exit (XSupportsLocale() ? 0 : 1);
11764else 11365else
11787rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11388rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11788fi 11389fi
11789fi 11390fi
11790echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 11391echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5
11791echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 11392echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6
11393if test x$support_xim = xyes; then
11792if test x$rxvt_cv_func_xlocale = xyes; then 11394 if test x$rxvt_cv_func_xlocale = xyes; then
11793 11395
11794cat >>confdefs.h <<\_ACEOF 11396cat >>confdefs.h <<\_ACEOF
11795#define HAVE_XLOCALE 1 11397#define USE_XIM 1
11796_ACEOF 11398_ACEOF
11797 11399
11400 fi
11798fi 11401fi
11799 11402
11800echo "$as_me:$LINENO: checking for working X setlocale" >&5 11403echo "$as_me:$LINENO: checking for working X setlocale" >&5
11801echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 11404echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6
11802if test "${rxvt_cv_func_xsetlocale+set}" = set; then 11405if test "${rxvt_cv_func_xsetlocale+set}" = set; then
11825 grep -v '^ *+' conftest.er1 >conftest.err 11428 grep -v '^ *+' conftest.er1 >conftest.err
11826 rm -f conftest.er1 11429 rm -f conftest.er1
11827 cat conftest.err >&5 11430 cat conftest.err >&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); } && 11432 (exit $ac_status); } &&
11830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11433 { ac_try='test -z "$ac_cxx_werror_flag"
11434 || test ! -s conftest.err'
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832 (eval $ac_try) 2>&5 11436 (eval $ac_try) 2>&5
11833 ac_status=$? 11437 ac_status=$?
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); }; } && 11439 (exit $ac_status); }; } &&
11888 grep -v '^ *+' conftest.er1 >conftest.err 11492 grep -v '^ *+' conftest.er1 >conftest.err
11889 rm -f conftest.er1 11493 rm -f conftest.er1
11890 cat conftest.err >&5 11494 cat conftest.err >&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); } && 11496 (exit $ac_status); } &&
11893 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11497 { ac_try='test -z "$ac_cxx_werror_flag"
11498 || test ! -s conftest.err'
11894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895 (eval $ac_try) 2>&5 11500 (eval $ac_try) 2>&5
11896 ac_status=$? 11501 ac_status=$?
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }; } && 11503 (exit $ac_status); }; } &&
11949 grep -v '^ *+' conftest.er1 >conftest.err 11554 grep -v '^ *+' conftest.er1 >conftest.err
11950 rm -f conftest.er1 11555 rm -f conftest.er1
11951 cat conftest.err >&5 11556 cat conftest.err >&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); } && 11558 (exit $ac_status); } &&
11954 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11559 { ac_try='test -z "$ac_cxx_werror_flag"
11560 || test ! -s conftest.err'
11955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11956 (eval $ac_try) 2>&5 11562 (eval $ac_try) 2>&5
11957 ac_status=$? 11563 ac_status=$?
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); }; } && 11565 (exit $ac_status); }; } &&
11981#define HAVE_NL_LANGINFO 1 11587#define HAVE_NL_LANGINFO 1
11982_ACEOF 11588_ACEOF
11983 11589
11984fi 11590fi
11985 11591
11592
11986echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 11593echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5
11987echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 11594echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6
11988if test "${rxvt_can_pass_fds+set}" = set; then 11595if test "${can_pass_fds+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6 11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11990else 11597else
11991 cat >conftest.$ac_ext <<_ACEOF 11598 cat >conftest.$ac_ext <<_ACEOF
11992/* confdefs.h. */ 11599/* confdefs.h. */
11993_ACEOF 11600_ACEOF
11994cat confdefs.h >>conftest.$ac_ext 11601cat confdefs.h >>conftest.$ac_ext
11995cat >>conftest.$ac_ext <<_ACEOF 11602cat >>conftest.$ac_ext <<_ACEOF
11996/* end confdefs.h. */ 11603/* end confdefs.h. */
11997 11604
11998#include <cstddef> // broken bsds (is that redundant) need this 11605#include <cstddef> // broken bsds (is that redundant?) need this
11999#include <sys/types.h> 11606#include <sys/types.h>
12000#include <sys/socket.h> 11607#include <sys/socket.h>
12001#include <sys/uio.h> 11608#include <sys/uio.h>
12002 11609
12003int 11610int
12039 grep -v '^ *+' conftest.er1 >conftest.err 11646 grep -v '^ *+' conftest.er1 >conftest.err
12040 rm -f conftest.er1 11647 rm -f conftest.er1
12041 cat conftest.err >&5 11648 cat conftest.err >&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); } && 11650 (exit $ac_status); } &&
12044 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11651 { ac_try='test -z "$ac_cxx_werror_flag"
11652 || test ! -s conftest.err'
12045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12046 (eval $ac_try) 2>&5 11654 (eval $ac_try) 2>&5
12047 ac_status=$? 11655 ac_status=$?
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); }; } && 11657 (exit $ac_status); }; } &&
12051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12052 (eval $ac_try) 2>&5 11660 (eval $ac_try) 2>&5
12053 ac_status=$? 11661 ac_status=$?
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; }; then 11663 (exit $ac_status); }; }; then
12056 rxvt_can_pass_fds=yes 11664 can_pass_fds=yes
12057else 11665else
12058 echo "$as_me: failed program was:" >&5 11666 echo "$as_me: failed program was:" >&5
12059sed 's/^/| /' conftest.$ac_ext >&5 11667sed 's/^/| /' conftest.$ac_ext >&5
12060 11668
12061rxvt_can_pass_fds=no 11669can_pass_fds=no
12062fi 11670fi
12063rm -f conftest.err conftest.$ac_objext \ 11671rm -f conftest.err conftest.$ac_objext \
12064 conftest$ac_exeext conftest.$ac_ext 11672 conftest$ac_exeext conftest.$ac_ext
12065fi 11673fi
12066echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 11674echo "$as_me:$LINENO: result: $can_pass_fds" >&5
12067echo "${ECHO_T}$rxvt_can_pass_fds" >&6 11675echo "${ECHO_T}$can_pass_fds" >&6
12068if test x$rxvt_can_pass_fds = xyes; then 11676if test x$can_pass_fds = xyes; then
12069 11677
12070cat >>confdefs.h <<\_ACEOF 11678cat >>confdefs.h <<\_ACEOF
12071#define HAVE_UNIX_FDPASS 1 11679#define HAVE_UNIX_FDPASS 1
12072_ACEOF 11680_ACEOF
12073 11681
12074else 11682else
12075 { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5 11683 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5
12076echo "$as_me: error: urxvt requires unix-compliant filehandle passing ability" >&2;} 11684echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
12077 { (exit 1); exit 1; }; } 11685 { (exit 1); exit 1; }; }
12078fi 11686fi
11687
12079 11688
12080echo "$as_me:$LINENO: checking for broken XIM callback" >&5 11689echo "$as_me:$LINENO: checking for broken XIM callback" >&5
12081echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 11690echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
12082if test "${rxvt_broken_ximcb+set}" = set; then 11691if test "${rxvt_broken_ximcb+set}" = set; then
12083 echo $ECHO_N "(cached) $ECHO_C" >&6 11692 echo $ECHO_N "(cached) $ECHO_C" >&6
12101 grep -v '^ *+' conftest.er1 >conftest.err 11710 grep -v '^ *+' conftest.er1 >conftest.err
12102 rm -f conftest.er1 11711 rm -f conftest.er1
12103 cat conftest.err >&5 11712 cat conftest.err >&5
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); } && 11714 (exit $ac_status); } &&
12106 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11715 { ac_try='test -z "$ac_cxx_werror_flag"
11716 || test ! -s conftest.err'
12107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12108 (eval $ac_try) 2>&5 11718 (eval $ac_try) 2>&5
12109 ac_status=$? 11719 ac_status=$?
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; } && 11721 (exit $ac_status); }; } &&
12178 grep -v '^ *+' conftest.er1 >conftest.err 11788 grep -v '^ *+' conftest.er1 >conftest.err
12179 rm -f conftest.er1 11789 rm -f conftest.er1
12180 cat conftest.err >&5 11790 cat conftest.err >&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); } && 11792 (exit $ac_status); } &&
12183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11793 { ac_try='test -z "$ac_cxx_werror_flag"
11794 || test ! -s conftest.err'
12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185 (eval $ac_try) 2>&5 11796 (eval $ac_try) 2>&5
12186 ac_status=$? 11797 ac_status=$?
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; } && 11799 (exit $ac_status); }; } &&
12299 11910
12300 11911
12301 11912
12302 11913
12303 11914
11915
11916
11917
11918
12304for ac_func in \ 11919for ac_func in \
12305 revoke \ 11920 revoke \
12306 _getpty \ 11921 _getpty \
12307 getpt \ 11922 getpt \
12308 posix_openpt \ 11923 posix_openpt \
12309 isastream \ 11924 isastream \
11925 setuid \
11926 seteuid \
11927 setreuid \
11928 setresuid \
12310 11929
12311do 11930do
12312as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11931as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12313echo "$as_me:$LINENO: checking for $ac_func" >&5 11932echo "$as_me:$LINENO: checking for $ac_func" >&5
12314echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11933echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12373 grep -v '^ *+' conftest.er1 >conftest.err 11992 grep -v '^ *+' conftest.er1 >conftest.err
12374 rm -f conftest.er1 11993 rm -f conftest.er1
12375 cat conftest.err >&5 11994 cat conftest.err >&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); } && 11996 (exit $ac_status); } &&
12378 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11997 { ac_try='test -z "$ac_cxx_werror_flag"
11998 || test ! -s conftest.err'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5 12000 (eval $ac_try) 2>&5
12381 ac_status=$? 12001 ac_status=$?
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; } && 12003 (exit $ac_status); }; } &&
12510 grep -v '^ *+' conftest.er1 >conftest.err 12130 grep -v '^ *+' conftest.er1 >conftest.err
12511 rm -f conftest.er1 12131 rm -f conftest.er1
12512 cat conftest.err >&5 12132 cat conftest.err >&5
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); } && 12134 (exit $ac_status); } &&
12515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12135 { ac_try='test -z "$ac_cxx_werror_flag"
12136 || test ! -s conftest.err'
12516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12517 (eval $ac_try) 2>&5 12138 (eval $ac_try) 2>&5
12518 ac_status=$? 12139 ac_status=$?
12519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520 (exit $ac_status); }; } && 12141 (exit $ac_status); }; } &&
12611 grep -v '^ *+' conftest.er1 >conftest.err 12232 grep -v '^ *+' conftest.er1 >conftest.err
12612 rm -f conftest.er1 12233 rm -f conftest.er1
12613 cat conftest.err >&5 12234 cat conftest.err >&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); } && 12236 (exit $ac_status); } &&
12616 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12237 { ac_try='test -z "$ac_cxx_werror_flag"
12238 || test ! -s conftest.err'
12617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12618 (eval $ac_try) 2>&5 12240 (eval $ac_try) 2>&5
12619 ac_status=$? 12241 ac_status=$?
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; } && 12243 (exit $ac_status); }; } &&
12679 grep -v '^ *+' conftest.er1 >conftest.err 12301 grep -v '^ *+' conftest.er1 >conftest.err
12680 rm -f conftest.er1 12302 rm -f conftest.er1
12681 cat conftest.err >&5 12303 cat conftest.err >&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } && 12305 (exit $ac_status); } &&
12684 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12306 { ac_try='test -z "$ac_cxx_werror_flag"
12307 || test ! -s conftest.err'
12685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12686 (eval $ac_try) 2>&5 12309 (eval $ac_try) 2>&5
12687 ac_status=$? 12310 ac_status=$?
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); }; } && 12312 (exit $ac_status); }; } &&
12717done 12340done
12718 12341
12719fi 12342fi
12720 12343
12721 12344
12345
12346echo "$as_me:$LINENO: checking for tty group" >&5
12347echo $ECHO_N "checking for tty group... $ECHO_C" >&6
12348if test "${tty_group+set}" = set; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12350else
12351 if test "$cross_compiling" = yes; then
12352 tty_group=no
12353else
12354 cat >conftest.$ac_ext <<_ACEOF
12355/* confdefs.h. */
12356_ACEOF
12357cat confdefs.h >>conftest.$ac_ext
12358cat >>conftest.$ac_ext <<_ACEOF
12359/* end confdefs.h. */
12360
12361#include <sys/types.h>
12362#include <sys/stat.h>
12363#include <unistd.h>
12364#include <grp.h>
12365
12366main()
12367{
12368 struct stat st;
12369 struct group *gr;
12370 char *tty;
12371 gr = getgrnam("tty");
12372 tty = ttyname(0);
12373 if (gr != 0
12374 && tty != 0
12375 && (stat(tty, &st)) == 0
12376 && st.st_gid == gr->gr_gid)
12377 return 0;
12378 else
12379 return 1;
12380}
12381_ACEOF
12382rm -f conftest$ac_exeext
12383if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12384 (eval $ac_link) 2>&5
12385 ac_status=$?
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5
12390 ac_status=$?
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; }; then
12393 tty_group=yes
12394else
12395 echo "$as_me: program exited with status $ac_status" >&5
12396echo "$as_me: failed program was:" >&5
12397sed 's/^/| /' conftest.$ac_ext >&5
12398
12399( exit $ac_status )
12400tty_group=no
12401fi
12402rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12403fi
12404fi
12405echo "$as_me:$LINENO: result: $tty_group" >&5
12406echo "${ECHO_T}$tty_group" >&6
12407if test x$tty_group = xyes; then
12408
12409cat >>confdefs.h <<\_ACEOF
12410#define TTY_GID_SUPPORT 1
12411_ACEOF
12412
12413fi
12414
12722if test x$support_xft = xyes; then 12415if test x$support_xft = xyes; then
12723 LIBS="$LIBS `pkg-config xft --libs`" 12416 # Extract the first word of "pkg-config", so it can be a program name with args.
12417set dummy pkg-config; ac_word=$2
12418echo "$as_me:$LINENO: checking for $ac_word" >&5
12419echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12420if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12421 echo $ECHO_N "(cached) $ECHO_C" >&6
12422else
12423 case $PKG_CONFIG in
12424 [\\/]* | ?:[\\/]*)
12425 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12426 ;;
12427 *)
12428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12429for as_dir in $PATH
12430do
12431 IFS=$as_save_IFS
12432 test -z "$as_dir" && as_dir=.
12433 for ac_exec_ext in '' $ac_executable_extensions; do
12434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12435 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12437 break 2
12438 fi
12439done
12440done
12441
12442 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12443 ;;
12444esac
12445fi
12446PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12447
12448if test -n "$PKG_CONFIG"; then
12449 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12450echo "${ECHO_T}$PKG_CONFIG" >&6
12451else
12452 echo "$as_me:$LINENO: result: no" >&5
12453echo "${ECHO_T}no" >&6
12454fi
12455
12456 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12457 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12724 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 12458 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12459 else
12460 # Extract the first word of "xft-config", so it can be a program name with args.
12461set dummy xft-config; ac_word=$2
12462echo "$as_me:$LINENO: checking for $ac_word" >&5
12463echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12464if test "${ac_cv_path_XFT_CONFIG+set}" = set; then
12465 echo $ECHO_N "(cached) $ECHO_C" >&6
12466else
12467 case $XFT_CONFIG in
12468 [\\/]* | ?:[\\/]*)
12469 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path.
12470 ;;
12471 *)
12472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12473for as_dir in $PATH
12474do
12475 IFS=$as_save_IFS
12476 test -z "$as_dir" && as_dir=.
12477 for ac_exec_ext in '' $ac_executable_extensions; do
12478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12479 ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12481 break 2
12482 fi
12483done
12484done
12485
12486 test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no"
12487 ;;
12488esac
12489fi
12490XFT_CONFIG=$ac_cv_path_XFT_CONFIG
12491
12492if test -n "$XFT_CONFIG"; then
12493 echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5
12494echo "${ECHO_T}$XFT_CONFIG" >&6
12495else
12496 echo "$as_me:$LINENO: result: no" >&5
12497echo "${ECHO_T}no" >&6
12498fi
12499
12500 if test $XFT_CONFIG != no; then
12501 LIBS="$LIBS `$XFT_CONFIG --libs`"
12502 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12503 fi
12504 fi
12725 12505
12726 12506
12727for ac_header in X11/Xft/Xft.h 12507for ac_header in X11/Xft/Xft.h
12728do 12508do
12729as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12509as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12755 grep -v '^ *+' conftest.er1 >conftest.err 12535 grep -v '^ *+' conftest.er1 >conftest.err
12756 rm -f conftest.er1 12536 rm -f conftest.er1
12757 cat conftest.err >&5 12537 cat conftest.err >&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); } && 12539 (exit $ac_status); } &&
12760 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12540 { ac_try='test -z "$ac_cxx_werror_flag"
12541 || test ! -s conftest.err'
12761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12762 (eval $ac_try) 2>&5 12543 (eval $ac_try) 2>&5
12763 ac_status=$? 12544 ac_status=$?
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); }; } && 12546 (exit $ac_status); }; } &&
12911 grep -v '^ *+' conftest.er1 >conftest.err 12692 grep -v '^ *+' conftest.er1 >conftest.err
12912 rm -f conftest.er1 12693 rm -f conftest.er1
12913 cat conftest.err >&5 12694 cat conftest.err >&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); } && 12696 (exit $ac_status); } &&
12916 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12697 { ac_try='test -z "$ac_cxx_werror_flag"
12698 || test ! -s conftest.err'
12917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12918 (eval $ac_try) 2>&5 12700 (eval $ac_try) 2>&5
12919 ac_status=$? 12701 ac_status=$?
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); }; } && 12703 (exit $ac_status); }; } &&
12994 12776
12995fi 12777fi
12996if test x$support_inheritpixmap = xyes; then 12778if test x$support_inheritpixmap = xyes; then
12997 12779
12998cat >>confdefs.h <<\_ACEOF 12780cat >>confdefs.h <<\_ACEOF
12999#define TRANSPARENT 1 12781#define ENABLE_TRANSPARENCY 1
13000_ACEOF 12782_ACEOF
13001 12783
13002fi 12784fi
13003if test x$support_keepscrolling = xno; then 12785if test x$support_keepscrolling = xno; then
13004 12786
13012cat >>confdefs.h <<\_ACEOF 12794cat >>confdefs.h <<\_ACEOF
13013#define SELECTION_SCROLLING 1 12795#define SELECTION_SCROLLING 1
13014_ACEOF 12796_ACEOF
13015 12797
13016fi 12798fi
13017if test x$support_frills = xyes; then
13018
13019cat >>confdefs.h <<\_ACEOF
13020#define ENABLE_FRILLS 1
13021_ACEOF
13022
13023fi
13024if test x$support_24bit = xyes; then
13025
13026cat >>confdefs.h <<\_ACEOF
13027#define PREFER_24BIT 1
13028_ACEOF
13029
13030fi
13031if test x$support_mousewheel = xyes; then 12799if test x$support_mousewheel = xyes; then
13032 12800
13033cat >>confdefs.h <<\_ACEOF 12801cat >>confdefs.h <<\_ACEOF
13034#define MOUSE_WHEEL 1 12802#define MOUSE_WHEEL 1
13035_ACEOF 12803_ACEOF
13040cat >>confdefs.h <<\_ACEOF 12808cat >>confdefs.h <<\_ACEOF
13041#define MOUSE_SLIP_WHEELING 1 12809#define MOUSE_SLIP_WHEELING 1
13042_ACEOF 12810_ACEOF
13043 12811
13044fi 12812fi
13045if test x$support_utmp = xyes; then
13046
13047cat >>confdefs.h <<\_ACEOF
13048#define UTMP_SUPPORT 1
13049_ACEOF
13050
13051fi
13052if test x$support_wtmp = xyes; then
13053
13054cat >>confdefs.h <<\_ACEOF
13055#define WTMP_SUPPORT 1
13056_ACEOF
13057
13058fi
13059if test x$support_lastlog = xyes; then
13060
13061cat >>confdefs.h <<\_ACEOF
13062#define LASTLOG_SUPPORT 1
13063_ACEOF
13064
13065fi
13066if test x$support_xim = xyes -o x$multichar_set = xyes; then 12813if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then
13067 if test x$rxvt_cv_func_xlocale = xyes; then
13068
13069cat >>confdefs.h <<\_ACEOF
13070#define USE_XIM 1
13071_ACEOF
13072
13073 fi
13074fi
13075if test x$support_xpm = xyes; then
13076 12814
13077cat >>confdefs.h <<\_ACEOF 12815cat >>confdefs.h <<\_ACEOF
13078#define XPM_BACKGROUND 1 12816#define XPM_BACKGROUND 1
13079_ACEOF 12817_ACEOF
13080 12818
13081fi 12819fi
12820
12821if test x$support_afterimage = xyes; then
12822
12823cat >>confdefs.h <<\_ACEOF
12824#define HAVE_AFTERIMAGE 1
12825_ACEOF
12826
12827fi
12828
12829if test x$support_afterstep = xyes; then
12830
12831cat >>confdefs.h <<\_ACEOF
12832#define AFTERSTEP_INTEGRATION 1
12833_ACEOF
12834
12835fi
12836
13082if test x$support_scroll_rxvt = xyes; then 12837if test x$support_scroll_rxvt = xyes; then
13083 12838
13084cat >>confdefs.h <<\_ACEOF 12839cat >>confdefs.h <<\_ACEOF
13085#define RXVT_SCROLLBAR 1 12840#define RXVT_SCROLLBAR 1
13086_ACEOF 12841_ACEOF
13299 grep -v '^ *+' conftest.er1 >conftest.err 13054 grep -v '^ *+' conftest.er1 >conftest.err
13300 rm -f conftest.er1 13055 rm -f conftest.er1
13301 cat conftest.err >&5 13056 cat conftest.err >&5
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); } && 13058 (exit $ac_status); } &&
13304 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 13059 { ac_try='test -z "$ac_cxx_werror_flag"
13060 || test ! -s conftest.err'
13305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13306 (eval $ac_try) 2>&5 13062 (eval $ac_try) 2>&5
13307 ac_status=$? 13063 ac_status=$?
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); }; } && 13065 (exit $ac_status); }; } &&
13358 13114
13359if test x$support_perl = xyes; then 13115if test x$support_perl = xyes; then
13360 support_frills=yes 13116 support_frills=yes
13361fi 13117fi
13362 13118
13119if test x$support_frills = xyes; then
13363 13120
13364CFLAGS=${CFLAGS--O} 13121cat >>confdefs.h <<\_ACEOF
13365LDFLAGS=${LDFLAGS--O} 13122#define ENABLE_FRILLS 1
13123_ACEOF
13366 13124
13367CPPFLAGS="$CPPFLAGS"
13368
13369
13370
13371
13372
13373
13374
13375if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
13376 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
13377 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
13378 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
13379 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
13380 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
13381fi 13125fi
13126
13127
13128
13129
13130
13131
13132
13133
13382 13134
13383 13135
13384 13136
13385 13137
13386 13138
14111s,@INSTALL_DATA@,$INSTALL_DATA,;t t 13863s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14112s,@EGREP@,$EGREP,;t t 13864s,@EGREP@,$EGREP,;t t
14113s,@LINKER@,$LINKER,;t t 13865s,@LINKER@,$LINKER,;t t
14114s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 13866s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
14115s,@RXVTNAME@,$RXVTNAME,;t t 13867s,@RXVTNAME@,$RXVTNAME,;t t
14116s,@MV@,$MV,;t t
14117s,@RM@,$RM,;t t
14118s,@CP@,$CP,;t t
14119s,@LN@,$LN,;t t
14120s,@SED@,$SED,;t t
14121s,@ECHO@,$ECHO,;t t
14122s,@CMP@,$CMP,;t t
14123s,@TIC@,$TIC,;t t 13868s,@TIC@,$TIC,;t t
14124s,@CXXCPP@,$CXXCPP,;t t 13869s,@CXXCPP@,$CXXCPP,;t t
14125s,@X_CFLAGS@,$X_CFLAGS,;t t 13870s,@X_CFLAGS@,$X_CFLAGS,;t t
14126s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 13871s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
14127s,@X_LIBS@,$X_LIBS,;t t 13872s,@X_LIBS@,$X_LIBS,;t t
14128s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 13873s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
13874s,@afterimage_config@,$afterimage_config,;t t
14129s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 13875s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t
14130s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t 13876s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t
14131s,@XPM_LIBS@,$XPM_LIBS,;t t 13877s,@XPM_LIBS@,$XPM_LIBS,;t t
14132s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t 13878s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t
14133s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t 13879s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t
14134s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t 13880s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t
14135s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t 13881s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t
14136s,@rxvt_intp_define@,$rxvt_intp_define,;t t 13882s,@rxvt_intp_define@,$rxvt_intp_define,;t t
14137s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 13883s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
13884s,@PKG_CONFIG@,$PKG_CONFIG,;t t
13885s,@XFT_CONFIG@,$XFT_CONFIG,;t t
14138s,@PERL@,$PERL,;t t 13886s,@PERL@,$PERL,;t t
14139s,@PERLLIB@,$PERLLIB,;t t 13887s,@PERLLIB@,$PERLLIB,;t t
14140s,@PERLFLAGS@,$PERLFLAGS,;t t 13888s,@PERLFLAGS@,$PERLFLAGS,;t t
14141s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t 13889s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t
14142s,@IF_PERL@,$IF_PERL,;t t 13890s,@IF_PERL@,$IF_PERL,;t t
14143s,@PERL_O@,$PERL_O,;t t 13891s,@PERL_O@,$PERL_O,;t t
14144s,@DEBUG@,$DEBUG,;t t 13892s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t
14145s,@DINCLUDE@,$DINCLUDE,;t t 13893s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t
14146s,@DLIB@,$DLIB,;t t
14147s,@include_stdint_h@,$include_stdint_h,;t t 13894s,@include_stdint_h@,$include_stdint_h,;t t
14148s,@include_stdarg_h@,$include_stdarg_h,;t t 13895s,@include_stdarg_h@,$include_stdarg_h,;t t
14149s,@include_stdlib_h@,$include_stdlib_h,;t t 13896s,@include_stdlib_h@,$include_stdlib_h,;t t
14150s,@include_unistd_h@,$include_unistd_h,;t t 13897s,@include_unistd_h@,$include_unistd_h,;t t
14151s,@include_string_h@,$include_string_h,;t t 13898s,@include_string_h@,$include_string_h,;t t
14323 case $INSTALL in 14070 case $INSTALL in
14324 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14071 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14325 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 14072 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14326 esac 14073 esac
14327 14074
14075 if test x"$ac_file" != x-; then
14076 { echo "$as_me:$LINENO: creating $ac_file" >&5
14077echo "$as_me: creating $ac_file" >&6;}
14078 rm -f "$ac_file"
14079 fi
14328 # Let's still pretend it is `configure' which instantiates (i.e., don't 14080 # Let's still pretend it is `configure' which instantiates (i.e., don't
14329 # use $as_me), people would be surprised to read: 14081 # use $as_me), people would be surprised to read:
14330 # /* config.h. Generated by config.status. */ 14082 # /* config.h. Generated by config.status. */
14331 if test x"$ac_file" = x-; then 14083 if test x"$ac_file" = x-; then
14332 configure_input= 14084 configure_input=
14361echo "$as_me: error: cannot find input file: $f" >&2;} 14113echo "$as_me: error: cannot find input file: $f" >&2;}
14362 { (exit 1); exit 1; }; } 14114 { (exit 1); exit 1; }; }
14363 fi;; 14115 fi;;
14364 esac 14116 esac
14365 done` || { (exit 1); exit 1; } 14117 done` || { (exit 1); exit 1; }
14366
14367 if test x"$ac_file" != x-; then
14368 { echo "$as_me:$LINENO: creating $ac_file" >&5
14369echo "$as_me: creating $ac_file" >&6;}
14370 rm -f "$ac_file"
14371 fi
14372_ACEOF 14118_ACEOF
14373cat >>$CONFIG_STATUS <<_ACEOF 14119cat >>$CONFIG_STATUS <<_ACEOF
14374 sed "$ac_vpsub 14120 sed "$ac_vpsub
14375$extrasub 14121$extrasub
14376_ACEOF 14122_ACEOF
14656 14402
14657 Rxvt version: $VERSION : $DATE 14403 Rxvt version: $VERSION : $DATE
14658 Source code location: $srcdir 14404 Source code location: $srcdir
14659 Install path: ${prefix}/bin 14405 Install path: ${prefix}/bin
14660 Compiler: $CXX 14406 Compiler: $CXX
14661 Compiler flags: $CFLAGS 14407 Compiler flags: $CXXFLAGS
14662 Linker: $LINKER" 14408 Linker: $LINKER"
14663
14664if test "$MALLOC_TYPE" = S; then
14665 echo " malloc support: system default"
14666fi
14667if test "$MALLOC_TYPE" = G; then
14668 echo " malloc support: Gray Watson's dmalloc"
14669fi
14670if test "$MALLOC_TYPE" = D; then
14671 echo " malloc support: Doug Lea's malloc"
14672fi
14673 14409
14674if test x$support_xpm = xyes; then 14410if test x$support_xpm = xyes; then
14675 echo " Xpm library: $XPM_LIBS" 14411 echo " Xpm library: $XPM_LIBS"
14676fi 14412fi
14677 14413
14678echo " 14414if test x$support_afterimage = xyes; then
14679The following are set in config.h 14415 echo " AfterImage support: yes"
14680" 14416fi
14417
14681if test x$support_utmp != xyes; then 14418if test x$support_afterstep = xyes; then
14682 echo " utmp support: disabled" 14419 echo " AfterStep integration: yes"
14683 echo
14684else
14685 echo " utmp support: enabled
14686 utmp file: $rxvt_cv_path_utmp
14687 utmpx file: $rxvt_cv_path_utmpx
14688 wtmp file: $rxvt_cv_path_wtmp
14689 wtmpx file: $rxvt_cv_path_wtmpx
14690 lastlog file: $rxvt_cv_path_lastlog
14691 ttys/ttytab file: $rxvt_cv_path_ttytab
14692 embedded perl: $support_perl"
14693 echo
14694fi 14420fi
14421
14695if test x$term != x; then 14422if test x$term != x; then
14696 echo " set TERM to: $term" 14423 echo " set TERM to: $term"
14697fi 14424fi
14698if test x$terminfo != x; then 14425if test x$terminfo != x; then
14699 echo " set TERMINFO to: $terminfo" 14426 echo " set TERMINFO to: $terminfo"
14701echo " default resource name: $RESNAME" 14428echo " default resource name: $RESNAME"
14702echo " resource class: $RESCLASS" 14429echo " resource class: $RESCLASS"
14703if test x$RESFALLBACK != x; then 14430if test x$RESFALLBACK != x; then
14704 echo " resource class fallback: $RESFALLBACK" 14431 echo " resource class fallback: $RESFALLBACK"
14705fi 14432fi
14433echo
14434echo " embedded perl: $support_perl"
14706echo 14435echo
14707if test x$support_xpm = xneedsmanualspecification; then 14436if test x$support_xpm = xneedsmanualspecification; then
14708 echo ".----------------------------------------------------------------." 14437 echo ".----------------------------------------------------------------."
14709 echo ". WARNING: --enable-xpm-background was specified however the ." 14438 echo ". WARNING: --enable-xpm-background was specified however the ."
14710 echo ". XPM includes files and libraries could not be found. ." 14439 echo ". XPM includes files and libraries could not be found. ."
14720 echo ". functions could not be found. ." 14449 echo ". functions could not be found. ."
14721 echo ". XIM is now being DISABLED! ." 14450 echo ". XIM is now being DISABLED! ."
14722 echo ".----------------------------------------------------------------." 14451 echo ".----------------------------------------------------------------."
14723fi 14452fi
14724 14453
14725echo " *** Optionally check src/feature.h for further options ***" 14454echo "*** Optionally check src/feature.h for further, rarely used options ***"
14726echo 14455echo
14727 14456
14728echo ".----------------------------------------------------------------."
14729echo ". NOTE: some features are disabled by default, try ."
14730echo ". configure --help to get an idea of the optional features, ."
14731echo ". or read ./README.configure ."
14732echo ". ."
14733echo ". The script ./reconf gives a reasonable baseline, try it if ."
14734echo ". you do not want to read documentation and still want some ."
14735echo ". useful features. ."
14736echo ".----------------------------------------------------------------."
14737echo
14738

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines