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

Comparing rxvt-unicode/configure (file contents):
Revision 1.86 by root, Sat Jan 21 22:34:05 2006 UTC vs.
Revision 1.107 by ayin, Thu Jun 28 17:20:24 2007 UTC

307#endif 307#endif
308#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA 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 PKG_CONFIG XFT_CONFIG 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); }; } &&
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); }; } &&
7671cat >>confdefs.h <<\_ACEOF 7106cat >>confdefs.h <<\_ACEOF
7672#define HAVE_XPOINTER 1 7107#define HAVE_XPOINTER 1
7673_ACEOF 7108_ACEOF
7674 7109
7675fi 7110fi
7676LIBS=$ac_save_LIBS
7677CFLAGS=$ac_save_CFLAGS
7678 7111
7112echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7113echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6
7114if test "${rxvt_xlib_illegal_access+set}" = set; then
7115 echo $ECHO_N "(cached) $ECHO_C" >&6
7116else
7117 cat >conftest.$ac_ext <<_ACEOF
7118/* confdefs.h. */
7119_ACEOF
7120cat confdefs.h >>conftest.$ac_ext
7121cat >>conftest.$ac_ext <<_ACEOF
7122/* end confdefs.h. */
7123
7124#define XLIB_ILLEGAL_ACCESS
7125#include <X11/Xlib.h>
7126
7127int
7128main ()
7129{
7130
7131 Display *dpy;
7132 dpy->xdefaults = (char *)0;
7133
7134 ;
7135 return 0;
7136}
7137_ACEOF
7138rm -f conftest.$ac_objext
7139if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7140 (eval $ac_compile) 2>conftest.er1
7141 ac_status=$?
7142 grep -v '^ *+' conftest.er1 >conftest.err
7143 rm -f conftest.er1
7144 cat conftest.err >&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } &&
7147 { ac_try='test -z "$ac_cxx_werror_flag"
7148 || test ! -s conftest.err'
7149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7150 (eval $ac_try) 2>&5
7151 ac_status=$?
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); }; } &&
7154 { ac_try='test -s conftest.$ac_objext'
7155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7156 (eval $ac_try) 2>&5
7157 ac_status=$?
7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159 (exit $ac_status); }; }; then
7160 rxvt_xlib_illegal_access=yes
7161else
7162 echo "$as_me: failed program was:" >&5
7163sed 's/^/| /' conftest.$ac_ext >&5
7164
7165rxvt_xlib_illegal_access=no
7166
7167fi
7168rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7169fi
7170echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5
7171echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6
7172if test x$rxvt_xlib_illegal_access = xyes; then
7173
7174cat >>confdefs.h <<\_ACEOF
7175#define XLIB_ILLEGAL_ACCESS 1
7176_ACEOF
7177
7178fi
7679 7179
7680echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7180echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7681echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7181echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7682if test "${ac_cv_c_const+set}" = set; then 7182if test "${ac_cv_c_const+set}" = set; then
7683 echo $ECHO_N "(cached) $ECHO_C" >&6 7183 echo $ECHO_N "(cached) $ECHO_C" >&6
7750 grep -v '^ *+' conftest.er1 >conftest.err 7250 grep -v '^ *+' conftest.er1 >conftest.err
7751 rm -f conftest.er1 7251 rm -f conftest.er1
7752 cat conftest.err >&5 7252 cat conftest.err >&5
7753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7754 (exit $ac_status); } && 7254 (exit $ac_status); } &&
7755 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7255 { ac_try='test -z "$ac_cxx_werror_flag"
7256 || test ! -s conftest.err'
7756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757 (eval $ac_try) 2>&5 7258 (eval $ac_try) 2>&5
7758 ac_status=$? 7259 ac_status=$?
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); }; } && 7261 (exit $ac_status); }; } &&
7810 grep -v '^ *+' conftest.er1 >conftest.err 7311 grep -v '^ *+' conftest.er1 >conftest.err
7811 rm -f conftest.er1 7312 rm -f conftest.er1
7812 cat conftest.err >&5 7313 cat conftest.err >&5
7813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7814 (exit $ac_status); } && 7315 (exit $ac_status); } &&
7815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7316 { ac_try='test -z "$ac_cxx_werror_flag"
7317 || test ! -s conftest.err'
7816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7817 (eval $ac_try) 2>&5 7319 (eval $ac_try) 2>&5
7818 ac_status=$? 7320 ac_status=$?
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); }; } && 7322 (exit $ac_status); }; } &&
7885 grep -v '^ *+' conftest.er1 >conftest.err 7387 grep -v '^ *+' conftest.er1 >conftest.err
7886 rm -f conftest.er1 7388 rm -f conftest.er1
7887 cat conftest.err >&5 7389 cat conftest.err >&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 (exit $ac_status); } && 7391 (exit $ac_status); } &&
7890 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7392 { ac_try='test -z "$ac_cxx_werror_flag"
7393 || test ! -s conftest.err'
7891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7892 (eval $ac_try) 2>&5 7395 (eval $ac_try) 2>&5
7893 ac_status=$? 7396 ac_status=$?
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); }; } && 7398 (exit $ac_status); }; } &&
7950 grep -v '^ *+' conftest.er1 >conftest.err 7453 grep -v '^ *+' conftest.er1 >conftest.err
7951 rm -f conftest.er1 7454 rm -f conftest.er1
7952 cat conftest.err >&5 7455 cat conftest.err >&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); } && 7457 (exit $ac_status); } &&
7955 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7458 { ac_try='test -z "$ac_cxx_werror_flag"
7459 || test ! -s conftest.err'
7956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7957 (eval $ac_try) 2>&5 7461 (eval $ac_try) 2>&5
7958 ac_status=$? 7462 ac_status=$?
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); }; } && 7464 (exit $ac_status); }; } &&
8054 grep -v '^ *+' conftest.er1 >conftest.err 7558 grep -v '^ *+' conftest.er1 >conftest.err
8055 rm -f conftest.er1 7559 rm -f conftest.er1
8056 cat conftest.err >&5 7560 cat conftest.err >&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); } && 7562 (exit $ac_status); } &&
8059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7563 { ac_try='test -z "$ac_cxx_werror_flag"
7564 || test ! -s conftest.err'
8060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8061 (eval $ac_try) 2>&5 7566 (eval $ac_try) 2>&5
8062 ac_status=$? 7567 ac_status=$?
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); }; } && 7569 (exit $ac_status); }; } &&
8116 grep -v '^ *+' conftest.er1 >conftest.err 7621 grep -v '^ *+' conftest.er1 >conftest.err
8117 rm -f conftest.er1 7622 rm -f conftest.er1
8118 cat conftest.err >&5 7623 cat conftest.err >&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); } && 7625 (exit $ac_status); } &&
8121 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7626 { ac_try='test -z "$ac_cxx_werror_flag"
7627 || test ! -s conftest.err'
8122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8123 (eval $ac_try) 2>&5 7629 (eval $ac_try) 2>&5
8124 ac_status=$? 7630 ac_status=$?
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); }; } && 7632 (exit $ac_status); }; } &&
8156 grep -v '^ *+' conftest.er1 >conftest.err 7662 grep -v '^ *+' conftest.er1 >conftest.err
8157 rm -f conftest.er1 7663 rm -f conftest.er1
8158 cat conftest.err >&5 7664 cat conftest.err >&5
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); } && 7666 (exit $ac_status); } &&
8161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7667 { ac_try='test -z "$ac_cxx_werror_flag"
7668 || test ! -s conftest.err'
8162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8163 (eval $ac_try) 2>&5 7670 (eval $ac_try) 2>&5
8164 ac_status=$? 7671 ac_status=$?
8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166 (exit $ac_status); }; } && 7673 (exit $ac_status); }; } &&
8212 grep -v '^ *+' conftest.er1 >conftest.err 7719 grep -v '^ *+' conftest.er1 >conftest.err
8213 rm -f conftest.er1 7720 rm -f conftest.er1
8214 cat conftest.err >&5 7721 cat conftest.err >&5
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 (exit $ac_status); } && 7723 (exit $ac_status); } &&
8217 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7724 { ac_try='test -z "$ac_cxx_werror_flag"
7725 || test ! -s conftest.err'
8218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219 (eval $ac_try) 2>&5 7727 (eval $ac_try) 2>&5
8220 ac_status=$? 7728 ac_status=$?
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); }; } && 7730 (exit $ac_status); }; } &&
8252 grep -v '^ *+' conftest.er1 >conftest.err 7760 grep -v '^ *+' conftest.er1 >conftest.err
8253 rm -f conftest.er1 7761 rm -f conftest.er1
8254 cat conftest.err >&5 7762 cat conftest.err >&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); } && 7764 (exit $ac_status); } &&
8257 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7765 { ac_try='test -z "$ac_cxx_werror_flag"
7766 || test ! -s conftest.err'
8258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8259 (eval $ac_try) 2>&5 7768 (eval $ac_try) 2>&5
8260 ac_status=$? 7769 ac_status=$?
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); }; } && 7771 (exit $ac_status); }; } &&
8316 grep -v '^ *+' conftest.er1 >conftest.err 7825 grep -v '^ *+' conftest.er1 >conftest.err
8317 rm -f conftest.er1 7826 rm -f conftest.er1
8318 cat conftest.err >&5 7827 cat conftest.err >&5
8319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8320 (exit $ac_status); } && 7829 (exit $ac_status); } &&
8321 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7830 { ac_try='test -z "$ac_cxx_werror_flag"
7831 || test ! -s conftest.err'
8322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8323 (eval $ac_try) 2>&5 7833 (eval $ac_try) 2>&5
8324 ac_status=$? 7834 ac_status=$?
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); }; } && 7836 (exit $ac_status); }; } &&
8347See \`config.log' for more details." >&2;} 7857See \`config.log' for more details." >&2;}
8348 { (exit 1); exit 1; }; } ;; 7858 { (exit 1); exit 1; }; } ;;
8349esac 7859esac
8350else 7860else
8351 if test "$cross_compiling" = yes; then 7861 if test "$cross_compiling" = yes; then
8352 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 7862 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8353echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 7863See \`config.log' for more details." >&5
7864echo "$as_me: error: cannot run test program while cross compiling
7865See \`config.log' for more details." >&2;}
8354 { (exit 1); exit 1; }; } 7866 { (exit 1); exit 1; }; }
8355else 7867else
8356 cat >conftest.$ac_ext <<_ACEOF 7868 cat >conftest.$ac_ext <<_ACEOF
8357/* confdefs.h. */ 7869/* confdefs.h. */
8358_ACEOF 7870_ACEOF
8460 grep -v '^ *+' conftest.er1 >conftest.err 7972 grep -v '^ *+' conftest.er1 >conftest.err
8461 rm -f conftest.er1 7973 rm -f conftest.er1
8462 cat conftest.err >&5 7974 cat conftest.err >&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); } && 7976 (exit $ac_status); } &&
8465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7977 { ac_try='test -z "$ac_cxx_werror_flag"
7978 || test ! -s conftest.err'
8466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8467 (eval $ac_try) 2>&5 7980 (eval $ac_try) 2>&5
8468 ac_status=$? 7981 ac_status=$?
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); }; } && 7983 (exit $ac_status); }; } &&
8522 grep -v '^ *+' conftest.er1 >conftest.err 8035 grep -v '^ *+' conftest.er1 >conftest.err
8523 rm -f conftest.er1 8036 rm -f conftest.er1
8524 cat conftest.err >&5 8037 cat conftest.err >&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); } && 8039 (exit $ac_status); } &&
8527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8040 { ac_try='test -z "$ac_cxx_werror_flag"
8041 || test ! -s conftest.err'
8528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8529 (eval $ac_try) 2>&5 8043 (eval $ac_try) 2>&5
8530 ac_status=$? 8044 ac_status=$?
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); }; } && 8046 (exit $ac_status); }; } &&
8562 grep -v '^ *+' conftest.er1 >conftest.err 8076 grep -v '^ *+' conftest.er1 >conftest.err
8563 rm -f conftest.er1 8077 rm -f conftest.er1
8564 cat conftest.err >&5 8078 cat conftest.err >&5
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); } && 8080 (exit $ac_status); } &&
8567 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8081 { ac_try='test -z "$ac_cxx_werror_flag"
8082 || test ! -s conftest.err'
8568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569 (eval $ac_try) 2>&5 8084 (eval $ac_try) 2>&5
8570 ac_status=$? 8085 ac_status=$?
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); }; } && 8087 (exit $ac_status); }; } &&
8618 grep -v '^ *+' conftest.er1 >conftest.err 8133 grep -v '^ *+' conftest.er1 >conftest.err
8619 rm -f conftest.er1 8134 rm -f conftest.er1
8620 cat conftest.err >&5 8135 cat conftest.err >&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); } && 8137 (exit $ac_status); } &&
8623 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8138 { ac_try='test -z "$ac_cxx_werror_flag"
8139 || test ! -s conftest.err'
8624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8625 (eval $ac_try) 2>&5 8141 (eval $ac_try) 2>&5
8626 ac_status=$? 8142 ac_status=$?
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); }; } && 8144 (exit $ac_status); }; } &&
8658 grep -v '^ *+' conftest.er1 >conftest.err 8174 grep -v '^ *+' conftest.er1 >conftest.err
8659 rm -f conftest.er1 8175 rm -f conftest.er1
8660 cat conftest.err >&5 8176 cat conftest.err >&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); } && 8178 (exit $ac_status); } &&
8663 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8179 { ac_try='test -z "$ac_cxx_werror_flag"
8180 || test ! -s conftest.err'
8664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8665 (eval $ac_try) 2>&5 8182 (eval $ac_try) 2>&5
8666 ac_status=$? 8183 ac_status=$?
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); }; } && 8185 (exit $ac_status); }; } &&
8722 grep -v '^ *+' conftest.er1 >conftest.err 8239 grep -v '^ *+' conftest.er1 >conftest.err
8723 rm -f conftest.er1 8240 rm -f conftest.er1
8724 cat conftest.err >&5 8241 cat conftest.err >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); } && 8243 (exit $ac_status); } &&
8727 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8244 { ac_try='test -z "$ac_cxx_werror_flag"
8245 || test ! -s conftest.err'
8728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8729 (eval $ac_try) 2>&5 8247 (eval $ac_try) 2>&5
8730 ac_status=$? 8248 ac_status=$?
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; } && 8250 (exit $ac_status); }; } &&
8753See \`config.log' for more details." >&2;} 8271See \`config.log' for more details." >&2;}
8754 { (exit 1); exit 1; }; } ;; 8272 { (exit 1); exit 1; }; } ;;
8755esac 8273esac
8756else 8274else
8757 if test "$cross_compiling" = yes; then 8275 if test "$cross_compiling" = yes; then
8758 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8276 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8759echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8277See \`config.log' for more details." >&5
8278echo "$as_me: error: cannot run test program while cross compiling
8279See \`config.log' for more details." >&2;}
8760 { (exit 1); exit 1; }; } 8280 { (exit 1); exit 1; }; }
8761else 8281else
8762 cat >conftest.$ac_ext <<_ACEOF 8282 cat >conftest.$ac_ext <<_ACEOF
8763/* confdefs.h. */ 8283/* confdefs.h. */
8764_ACEOF 8284_ACEOF
8866 grep -v '^ *+' conftest.er1 >conftest.err 8386 grep -v '^ *+' conftest.er1 >conftest.err
8867 rm -f conftest.er1 8387 rm -f conftest.er1
8868 cat conftest.err >&5 8388 cat conftest.err >&5
8869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); } && 8390 (exit $ac_status); } &&
8871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8391 { ac_try='test -z "$ac_cxx_werror_flag"
8392 || test ! -s conftest.err'
8872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8873 (eval $ac_try) 2>&5 8394 (eval $ac_try) 2>&5
8874 ac_status=$? 8395 ac_status=$?
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); }; } && 8397 (exit $ac_status); }; } &&
8928 grep -v '^ *+' conftest.er1 >conftest.err 8449 grep -v '^ *+' conftest.er1 >conftest.err
8929 rm -f conftest.er1 8450 rm -f conftest.er1
8930 cat conftest.err >&5 8451 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); } && 8453 (exit $ac_status); } &&
8933 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8454 { ac_try='test -z "$ac_cxx_werror_flag"
8455 || test ! -s conftest.err'
8934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8935 (eval $ac_try) 2>&5 8457 (eval $ac_try) 2>&5
8936 ac_status=$? 8458 ac_status=$?
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 (exit $ac_status); }; } && 8460 (exit $ac_status); }; } &&
8968 grep -v '^ *+' conftest.er1 >conftest.err 8490 grep -v '^ *+' conftest.er1 >conftest.err
8969 rm -f conftest.er1 8491 rm -f conftest.er1
8970 cat conftest.err >&5 8492 cat conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } && 8494 (exit $ac_status); } &&
8973 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8495 { ac_try='test -z "$ac_cxx_werror_flag"
8496 || test ! -s conftest.err'
8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8975 (eval $ac_try) 2>&5 8498 (eval $ac_try) 2>&5
8976 ac_status=$? 8499 ac_status=$?
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); }; } && 8501 (exit $ac_status); }; } &&
9024 grep -v '^ *+' conftest.er1 >conftest.err 8547 grep -v '^ *+' conftest.er1 >conftest.err
9025 rm -f conftest.er1 8548 rm -f conftest.er1
9026 cat conftest.err >&5 8549 cat conftest.err >&5
9027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 (exit $ac_status); } && 8551 (exit $ac_status); } &&
9029 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8552 { ac_try='test -z "$ac_cxx_werror_flag"
8553 || test ! -s conftest.err'
9030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9031 (eval $ac_try) 2>&5 8555 (eval $ac_try) 2>&5
9032 ac_status=$? 8556 ac_status=$?
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); }; } && 8558 (exit $ac_status); }; } &&
9064 grep -v '^ *+' conftest.er1 >conftest.err 8588 grep -v '^ *+' conftest.er1 >conftest.err
9065 rm -f conftest.er1 8589 rm -f conftest.er1
9066 cat conftest.err >&5 8590 cat conftest.err >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); } && 8592 (exit $ac_status); } &&
9069 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8593 { ac_try='test -z "$ac_cxx_werror_flag"
8594 || test ! -s conftest.err'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9071 (eval $ac_try) 2>&5 8596 (eval $ac_try) 2>&5
9072 ac_status=$? 8597 ac_status=$?
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; } && 8599 (exit $ac_status); }; } &&
9128 grep -v '^ *+' conftest.er1 >conftest.err 8653 grep -v '^ *+' conftest.er1 >conftest.err
9129 rm -f conftest.er1 8654 rm -f conftest.er1
9130 cat conftest.err >&5 8655 cat conftest.err >&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); } && 8657 (exit $ac_status); } &&
9133 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8658 { ac_try='test -z "$ac_cxx_werror_flag"
8659 || test ! -s conftest.err'
9134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135 (eval $ac_try) 2>&5 8661 (eval $ac_try) 2>&5
9136 ac_status=$? 8662 ac_status=$?
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }; } && 8664 (exit $ac_status); }; } &&
9159See \`config.log' for more details." >&2;} 8685See \`config.log' for more details." >&2;}
9160 { (exit 1); exit 1; }; } ;; 8686 { (exit 1); exit 1; }; } ;;
9161esac 8687esac
9162else 8688else
9163 if test "$cross_compiling" = yes; then 8689 if test "$cross_compiling" = yes; then
9164 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8690 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9165echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8691See \`config.log' for more details." >&5
8692echo "$as_me: error: cannot run test program while cross compiling
8693See \`config.log' for more details." >&2;}
9166 { (exit 1); exit 1; }; } 8694 { (exit 1); exit 1; }; }
9167else 8695else
9168 cat >conftest.$ac_ext <<_ACEOF 8696 cat >conftest.$ac_ext <<_ACEOF
9169/* confdefs.h. */ 8697/* confdefs.h. */
9170_ACEOF 8698_ACEOF
9272 grep -v '^ *+' conftest.er1 >conftest.err 8800 grep -v '^ *+' conftest.er1 >conftest.err
9273 rm -f conftest.er1 8801 rm -f conftest.er1
9274 cat conftest.err >&5 8802 cat conftest.err >&5
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); } && 8804 (exit $ac_status); } &&
9277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8805 { ac_try='test -z "$ac_cxx_werror_flag"
8806 || test ! -s conftest.err'
9278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9279 (eval $ac_try) 2>&5 8808 (eval $ac_try) 2>&5
9280 ac_status=$? 8809 ac_status=$?
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); }; } && 8811 (exit $ac_status); }; } &&
9334 grep -v '^ *+' conftest.er1 >conftest.err 8863 grep -v '^ *+' conftest.er1 >conftest.err
9335 rm -f conftest.er1 8864 rm -f conftest.er1
9336 cat conftest.err >&5 8865 cat conftest.err >&5
9337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); } && 8867 (exit $ac_status); } &&
9339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8868 { ac_try='test -z "$ac_cxx_werror_flag"
8869 || test ! -s conftest.err'
9340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9341 (eval $ac_try) 2>&5 8871 (eval $ac_try) 2>&5
9342 ac_status=$? 8872 ac_status=$?
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); }; } && 8874 (exit $ac_status); }; } &&
9374 grep -v '^ *+' conftest.er1 >conftest.err 8904 grep -v '^ *+' conftest.er1 >conftest.err
9375 rm -f conftest.er1 8905 rm -f conftest.er1
9376 cat conftest.err >&5 8906 cat conftest.err >&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); } && 8908 (exit $ac_status); } &&
9379 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8909 { ac_try='test -z "$ac_cxx_werror_flag"
8910 || test ! -s conftest.err'
9380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9381 (eval $ac_try) 2>&5 8912 (eval $ac_try) 2>&5
9382 ac_status=$? 8913 ac_status=$?
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; } && 8915 (exit $ac_status); }; } &&
9430 grep -v '^ *+' conftest.er1 >conftest.err 8961 grep -v '^ *+' conftest.er1 >conftest.err
9431 rm -f conftest.er1 8962 rm -f conftest.er1
9432 cat conftest.err >&5 8963 cat conftest.err >&5
9433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9434 (exit $ac_status); } && 8965 (exit $ac_status); } &&
9435 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8966 { ac_try='test -z "$ac_cxx_werror_flag"
8967 || test ! -s conftest.err'
9436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9437 (eval $ac_try) 2>&5 8969 (eval $ac_try) 2>&5
9438 ac_status=$? 8970 ac_status=$?
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); }; } && 8972 (exit $ac_status); }; } &&
9470 grep -v '^ *+' conftest.er1 >conftest.err 9002 grep -v '^ *+' conftest.er1 >conftest.err
9471 rm -f conftest.er1 9003 rm -f conftest.er1
9472 cat conftest.err >&5 9004 cat conftest.err >&5
9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); } && 9006 (exit $ac_status); } &&
9475 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9007 { ac_try='test -z "$ac_cxx_werror_flag"
9008 || test ! -s conftest.err'
9476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9477 (eval $ac_try) 2>&5 9010 (eval $ac_try) 2>&5
9478 ac_status=$? 9011 ac_status=$?
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; } && 9013 (exit $ac_status); }; } &&
9534 grep -v '^ *+' conftest.er1 >conftest.err 9067 grep -v '^ *+' conftest.er1 >conftest.err
9535 rm -f conftest.er1 9068 rm -f conftest.er1
9536 cat conftest.err >&5 9069 cat conftest.err >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } && 9071 (exit $ac_status); } &&
9539 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9072 { ac_try='test -z "$ac_cxx_werror_flag"
9073 || test ! -s conftest.err'
9540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9541 (eval $ac_try) 2>&5 9075 (eval $ac_try) 2>&5
9542 ac_status=$? 9076 ac_status=$?
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); }; } && 9078 (exit $ac_status); }; } &&
9565See \`config.log' for more details." >&2;} 9099See \`config.log' for more details." >&2;}
9566 { (exit 1); exit 1; }; } ;; 9100 { (exit 1); exit 1; }; } ;;
9567esac 9101esac
9568else 9102else
9569 if test "$cross_compiling" = yes; then 9103 if test "$cross_compiling" = yes; then
9570 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 9104 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9571echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 9105See \`config.log' for more details." >&5
9106echo "$as_me: error: cannot run test program while cross compiling
9107See \`config.log' for more details." >&2;}
9572 { (exit 1); exit 1; }; } 9108 { (exit 1); exit 1; }; }
9573else 9109else
9574 cat >conftest.$ac_ext <<_ACEOF 9110 cat >conftest.$ac_ext <<_ACEOF
9575/* confdefs.h. */ 9111/* confdefs.h. */
9576_ACEOF 9112_ACEOF
9677 grep -v '^ *+' conftest.er1 >conftest.err 9213 grep -v '^ *+' conftest.er1 >conftest.err
9678 rm -f conftest.er1 9214 rm -f conftest.er1
9679 cat conftest.err >&5 9215 cat conftest.err >&5
9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); } && 9217 (exit $ac_status); } &&
9682 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9218 { ac_try='test -z "$ac_cxx_werror_flag"
9219 || test ! -s conftest.err'
9683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9684 (eval $ac_try) 2>&5 9221 (eval $ac_try) 2>&5
9685 ac_status=$? 9222 ac_status=$?
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); }; } && 9224 (exit $ac_status); }; } &&
9759 grep -v '^ *+' conftest.er1 >conftest.err 9296 grep -v '^ *+' conftest.er1 >conftest.err
9760 rm -f conftest.er1 9297 rm -f conftest.er1
9761 cat conftest.err >&5 9298 cat conftest.err >&5
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); } && 9300 (exit $ac_status); } &&
9764 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9301 { ac_try='test -z "$ac_cxx_werror_flag"
9302 || test ! -s conftest.err'
9765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9766 (eval $ac_try) 2>&5 9304 (eval $ac_try) 2>&5
9767 ac_status=$? 9305 ac_status=$?
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); }; } && 9307 (exit $ac_status); }; } &&
9841 grep -v '^ *+' conftest.er1 >conftest.err 9379 grep -v '^ *+' conftest.er1 >conftest.err
9842 rm -f conftest.er1 9380 rm -f conftest.er1
9843 cat conftest.err >&5 9381 cat conftest.err >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } && 9383 (exit $ac_status); } &&
9846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9384 { ac_try='test -z "$ac_cxx_werror_flag"
9385 || test ! -s conftest.err'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9848 (eval $ac_try) 2>&5 9387 (eval $ac_try) 2>&5
9849 ac_status=$? 9388 ac_status=$?
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; } && 9390 (exit $ac_status); }; } &&
9923 grep -v '^ *+' conftest.er1 >conftest.err 9462 grep -v '^ *+' conftest.er1 >conftest.err
9924 rm -f conftest.er1 9463 rm -f conftest.er1
9925 cat conftest.err >&5 9464 cat conftest.err >&5
9926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9927 (exit $ac_status); } && 9466 (exit $ac_status); } &&
9928 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9467 { ac_try='test -z "$ac_cxx_werror_flag"
9468 || test ! -s conftest.err'
9929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9930 (eval $ac_try) 2>&5 9470 (eval $ac_try) 2>&5
9931 ac_status=$? 9471 ac_status=$?
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); }; } && 9473 (exit $ac_status); }; } &&
10035 grep -v '^ *+' conftest.er1 >conftest.err 9575 grep -v '^ *+' conftest.er1 >conftest.err
10036 rm -f conftest.er1 9576 rm -f conftest.er1
10037 cat conftest.err >&5 9577 cat conftest.err >&5
10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 (exit $ac_status); } && 9579 (exit $ac_status); } &&
10040 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9580 { ac_try='test -z "$ac_cxx_werror_flag"
9581 || test ! -s conftest.err'
10041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042 (eval $ac_try) 2>&5 9583 (eval $ac_try) 2>&5
10043 ac_status=$? 9584 ac_status=$?
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }; } && 9586 (exit $ac_status); }; } &&
10062echo "${ECHO_T}$ac_cv_type_signal" >&6 9603echo "${ECHO_T}$ac_cv_type_signal" >&6
10063 9604
10064cat >>confdefs.h <<_ACEOF 9605cat >>confdefs.h <<_ACEOF
10065#define RETSIGTYPE $ac_cv_type_signal 9606#define RETSIGTYPE $ac_cv_type_signal
10066_ACEOF 9607_ACEOF
10067
10068
10069
10070
10071 9608
10072 9609
10073 9610
10074 9611
10075 9612
10076 9613
10077for ac_func in \ 9614for ac_func in \
10078 unsetenv \ 9615 unsetenv \
10079 setutent \ 9616 setutent \
10080 seteuid \
10081 setresuid \
10082 setreuid \
10083 on_exit \ 9617 on_exit \
10084 nanosleep \
10085 9618
10086do 9619do
10087as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9620as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10088echo "$as_me:$LINENO: checking for $ac_func" >&5 9621echo "$as_me:$LINENO: checking for $ac_func" >&5
10089echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9622echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10148 grep -v '^ *+' conftest.er1 >conftest.err 9681 grep -v '^ *+' conftest.er1 >conftest.err
10149 rm -f conftest.er1 9682 rm -f conftest.er1
10150 cat conftest.err >&5 9683 cat conftest.err >&5
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); } && 9685 (exit $ac_status); } &&
10153 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9686 { ac_try='test -z "$ac_cxx_werror_flag"
9687 || test ! -s conftest.err'
10154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10155 (eval $ac_try) 2>&5 9689 (eval $ac_try) 2>&5
10156 ac_status=$? 9690 ac_status=$?
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); }; } && 9692 (exit $ac_status); }; } &&
10181 9715
10182fi 9716fi
10183done 9717done
10184 9718
10185 9719
9720
9721support_utmp=yes
9722support_wtmp=yes
9723support_lastlog=yes
9724
9725# Check whether --enable-utmp or --disable-utmp was given.
9726if test "${enable_utmp+set}" = set; then
9727 enableval="$enable_utmp"
9728 if test x$enableval = xyes -o x$enableval = xno; then
9729 support_utmp=$enableval
9730 fi
9731fi;
9732
9733# Check whether --enable-wtmp or --disable-wtmp was given.
9734if test "${enable_wtmp+set}" = set; then
9735 enableval="$enable_wtmp"
9736 if test x$enableval = xyes -o x$enableval = xno; then
9737 support_wtmp=$enableval
9738 fi
9739fi;
9740
9741# Check whether --enable-lastlog or --disable-lastlog was given.
9742if test "${enable_lastlog+set}" = set; then
9743 enableval="$enable_lastlog"
9744 if test x$enableval = xyes -o x$enableval = xno; then
9745 support_lastlog=$enableval
9746 fi
9747fi;
9748
9749if test x$support_utmp = xyes; then
9750
9751cat >>confdefs.h <<\_ACEOF
9752#define UTMP_SUPPORT 1
9753_ACEOF
9754
9755fi
9756if test x$support_wtmp = xyes; then
9757
9758cat >>confdefs.h <<\_ACEOF
9759#define WTMP_SUPPORT 1
9760_ACEOF
9761
9762fi
9763if test x$support_lastlog = xyes; then
9764
9765cat >>confdefs.h <<\_ACEOF
9766#define LASTLOG_SUPPORT 1
9767_ACEOF
9768
9769fi
10186 9770
10187 9771
10188 9772
10189 9773
10190for ac_func in \ 9774for ac_func in \
10257 grep -v '^ *+' conftest.er1 >conftest.err 9841 grep -v '^ *+' conftest.er1 >conftest.err
10258 rm -f conftest.er1 9842 rm -f conftest.er1
10259 cat conftest.err >&5 9843 cat conftest.err >&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); } && 9845 (exit $ac_status); } &&
10262 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9846 { ac_try='test -z "$ac_cxx_werror_flag"
9847 || test ! -s conftest.err'
10263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10264 (eval $ac_try) 2>&5 9849 (eval $ac_try) 2>&5
10265 ac_status=$? 9850 ac_status=$?
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); }; } && 9852 (exit $ac_status); }; } &&
10330 grep -v '^ *+' conftest.er1 >conftest.err 9915 grep -v '^ *+' conftest.er1 >conftest.err
10331 rm -f conftest.er1 9916 rm -f conftest.er1
10332 cat conftest.err >&5 9917 cat conftest.err >&5
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); } && 9919 (exit $ac_status); } &&
10335 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9920 { ac_try='test -z "$ac_cxx_werror_flag"
9921 || test ! -s conftest.err'
10336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10337 (eval $ac_try) 2>&5 9923 (eval $ac_try) 2>&5
10338 ac_status=$? 9924 ac_status=$?
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; } && 9926 (exit $ac_status); }; } &&
10477 grep -v '^ *+' conftest.er1 >conftest.err 10063 grep -v '^ *+' conftest.er1 >conftest.err
10478 rm -f conftest.er1 10064 rm -f conftest.er1
10479 cat conftest.err >&5 10065 cat conftest.err >&5
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); } && 10067 (exit $ac_status); } &&
10482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10068 { ac_try='test -z "$ac_cxx_werror_flag"
10069 || test ! -s conftest.err'
10483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10484 (eval $ac_try) 2>&5 10071 (eval $ac_try) 2>&5
10485 ac_status=$? 10072 ac_status=$?
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); }; } && 10074 (exit $ac_status); }; } &&
10586 10173
10587fi 10174fi
10588if test $ac_cv_header_utmp_h = yes; then 10175if test $ac_cv_header_utmp_h = yes; then
10589 echo "$as_me:$LINENO: checking for struct utmp" >&5 10176 echo "$as_me:$LINENO: checking for struct utmp" >&5
10590echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 10177echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6
10591if test "${rxvt_cv_struct_utmp+set}" = set; then 10178if test "${struct_utmp+set}" = set; then
10592 echo $ECHO_N "(cached) $ECHO_C" >&6 10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10593else 10180else
10594 cat >conftest.$ac_ext <<_ACEOF 10181 cat >conftest.$ac_ext <<_ACEOF
10595/* confdefs.h. */ 10182/* confdefs.h. */
10596_ACEOF 10183_ACEOF
10614 grep -v '^ *+' conftest.er1 >conftest.err 10201 grep -v '^ *+' conftest.er1 >conftest.err
10615 rm -f conftest.er1 10202 rm -f conftest.er1
10616 cat conftest.err >&5 10203 cat conftest.err >&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); } && 10205 (exit $ac_status); } &&
10619 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10206 { ac_try='test -z "$ac_cxx_werror_flag"
10207 || test ! -s conftest.err'
10620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10621 (eval $ac_try) 2>&5 10209 (eval $ac_try) 2>&5
10622 ac_status=$? 10210 ac_status=$?
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); }; } && 10212 (exit $ac_status); }; } &&
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5 10215 (eval $ac_try) 2>&5
10628 ac_status=$? 10216 ac_status=$?
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; }; then 10218 (exit $ac_status); }; }; then
10631 rxvt_cv_struct_utmp=yes 10219 struct_utmp=yes
10632else 10220else
10633 echo "$as_me: failed program was:" >&5 10221 echo "$as_me: failed program was:" >&5
10634sed 's/^/| /' conftest.$ac_ext >&5 10222sed 's/^/| /' conftest.$ac_ext >&5
10635 10223
10636rxvt_cv_struct_utmp=no 10224struct_utmp=no
10637fi 10225fi
10638rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10226rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10639fi 10227fi
10640echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 10228echo "$as_me:$LINENO: result: $struct_utmp" >&5
10641echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 10229echo "${ECHO_T}$struct_utmp" >&6
10642if test x$rxvt_cv_struct_utmp = xyes; then 10230if test x$struct_utmp = xyes; then
10643 10231
10644cat >>confdefs.h <<\_ACEOF 10232cat >>confdefs.h <<\_ACEOF
10645#define HAVE_STRUCT_UTMP 1 10233#define HAVE_STRUCT_UTMP 1
10646_ACEOF 10234_ACEOF
10647 10235
10648fi 10236fi
10649 10237
10650 10238
10651echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 10239echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5
10652echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 10240echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6
10653if test "${rxvt_cv_struct_utmp_host+set}" = set; then 10241if test "${struct_utmp_host+set}" = set; then
10654 echo $ECHO_N "(cached) $ECHO_C" >&6 10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10655else 10243else
10656 cat >conftest.$ac_ext <<_ACEOF 10244 cat >conftest.$ac_ext <<_ACEOF
10657/* confdefs.h. */ 10245/* confdefs.h. */
10658_ACEOF 10246_ACEOF
10676 grep -v '^ *+' conftest.er1 >conftest.err 10264 grep -v '^ *+' conftest.er1 >conftest.err
10677 rm -f conftest.er1 10265 rm -f conftest.er1
10678 cat conftest.err >&5 10266 cat conftest.err >&5
10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 (exit $ac_status); } && 10268 (exit $ac_status); } &&
10681 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10269 { ac_try='test -z "$ac_cxx_werror_flag"
10270 || test ! -s conftest.err'
10682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10683 (eval $ac_try) 2>&5 10272 (eval $ac_try) 2>&5
10684 ac_status=$? 10273 ac_status=$?
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); }; } && 10275 (exit $ac_status); }; } &&
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5 10278 (eval $ac_try) 2>&5
10690 ac_status=$? 10279 ac_status=$?
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; }; then 10281 (exit $ac_status); }; }; then
10693 rxvt_cv_struct_utmp_host=yes 10282 struct_utmp_host=yes
10694else 10283else
10695 echo "$as_me: failed program was:" >&5 10284 echo "$as_me: failed program was:" >&5
10696sed 's/^/| /' conftest.$ac_ext >&5 10285sed 's/^/| /' conftest.$ac_ext >&5
10697 10286
10698rxvt_cv_struct_utmp_host=no 10287struct_utmp_host=no
10699fi 10288fi
10700rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10289rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10701fi 10290fi
10702echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 10291echo "$as_me:$LINENO: result: $struct_utmp_host" >&5
10703echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 10292echo "${ECHO_T}$struct_utmp_host" >&6
10704if test x$rxvt_cv_struct_utmp_host = xyes; then 10293if test x$struct_utmp_host = xyes; then
10705 10294
10706cat >>confdefs.h <<\_ACEOF 10295cat >>confdefs.h <<\_ACEOF
10707#define HAVE_UTMP_HOST 1 10296#define HAVE_UTMP_HOST 1
10708_ACEOF 10297_ACEOF
10709 10298
10710fi 10299fi
10711 10300
10712echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 10301echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5
10713echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 10302echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6
10714if test "${rxvt_cv_struct_utmp_pid+set}" = set; then 10303if test "${struct_utmp_pid+set}" = set; then
10715 echo $ECHO_N "(cached) $ECHO_C" >&6 10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10716else 10305else
10717 cat >conftest.$ac_ext <<_ACEOF 10306 cat >conftest.$ac_ext <<_ACEOF
10718/* confdefs.h. */ 10307/* confdefs.h. */
10719_ACEOF 10308_ACEOF
10737 grep -v '^ *+' conftest.er1 >conftest.err 10326 grep -v '^ *+' conftest.er1 >conftest.err
10738 rm -f conftest.er1 10327 rm -f conftest.er1
10739 cat conftest.err >&5 10328 cat conftest.err >&5
10740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10741 (exit $ac_status); } && 10330 (exit $ac_status); } &&
10742 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10331 { ac_try='test -z "$ac_cxx_werror_flag"
10332 || test ! -s conftest.err'
10743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10744 (eval $ac_try) 2>&5 10334 (eval $ac_try) 2>&5
10745 ac_status=$? 10335 ac_status=$?
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); }; } && 10337 (exit $ac_status); }; } &&
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5 10340 (eval $ac_try) 2>&5
10751 ac_status=$? 10341 ac_status=$?
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; }; then 10343 (exit $ac_status); }; }; then
10754 rxvt_cv_struct_utmp_pid=yes 10344 struct_utmp_pid=yes
10755else 10345else
10756 echo "$as_me: failed program was:" >&5 10346 echo "$as_me: failed program was:" >&5
10757sed 's/^/| /' conftest.$ac_ext >&5 10347sed 's/^/| /' conftest.$ac_ext >&5
10758 10348
10759rxvt_cv_struct_utmp_pid=no 10349struct_utmp_pid=no
10760fi 10350fi
10761rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10351rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10762fi 10352fi
10763echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 10353echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5
10764echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 10354echo "${ECHO_T}$struct_utmp_pid" >&6
10765if test x$rxvt_cv_struct_utmp_pid = xyes; then 10355if test x$struct_utmp_pid = xyes; then
10766 10356
10767cat >>confdefs.h <<\_ACEOF 10357cat >>confdefs.h <<\_ACEOF
10768#define HAVE_UTMP_PID 1 10358#define HAVE_UTMP_PID 1
10769_ACEOF 10359_ACEOF
10770 10360
10802 grep -v '^ *+' conftest.er1 >conftest.err 10392 grep -v '^ *+' conftest.er1 >conftest.err
10803 rm -f conftest.er1 10393 rm -f conftest.er1
10804 cat conftest.err >&5 10394 cat conftest.err >&5
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); } && 10396 (exit $ac_status); } &&
10807 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10397 { ac_try='test -z "$ac_cxx_werror_flag"
10398 || test ! -s conftest.err'
10808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10809 (eval $ac_try) 2>&5 10400 (eval $ac_try) 2>&5
10810 ac_status=$? 10401 ac_status=$?
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); }; } && 10403 (exit $ac_status); }; } &&
10911 10502
10912fi 10503fi
10913if test $ac_cv_header_utmpx_h = yes; then 10504if test $ac_cv_header_utmpx_h = yes; then
10914 echo "$as_me:$LINENO: checking for struct utmpx" >&5 10505 echo "$as_me:$LINENO: checking for struct utmpx" >&5
10915echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 10506echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6
10916if test "${rxvt_cv_struct_utmpx+set}" = set; then 10507if test "${struct_utmpx+set}" = set; then
10917 echo $ECHO_N "(cached) $ECHO_C" >&6 10508 echo $ECHO_N "(cached) $ECHO_C" >&6
10918else 10509else
10919 cat >conftest.$ac_ext <<_ACEOF 10510 cat >conftest.$ac_ext <<_ACEOF
10920/* confdefs.h. */ 10511/* confdefs.h. */
10921_ACEOF 10512_ACEOF
10939 grep -v '^ *+' conftest.er1 >conftest.err 10530 grep -v '^ *+' conftest.er1 >conftest.err
10940 rm -f conftest.er1 10531 rm -f conftest.er1
10941 cat conftest.err >&5 10532 cat conftest.err >&5
10942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943 (exit $ac_status); } && 10534 (exit $ac_status); } &&
10944 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10535 { ac_try='test -z "$ac_cxx_werror_flag"
10536 || test ! -s conftest.err'
10945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10946 (eval $ac_try) 2>&5 10538 (eval $ac_try) 2>&5
10947 ac_status=$? 10539 ac_status=$?
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); }; } && 10541 (exit $ac_status); }; } &&
10951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10952 (eval $ac_try) 2>&5 10544 (eval $ac_try) 2>&5
10953 ac_status=$? 10545 ac_status=$?
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); }; }; then 10547 (exit $ac_status); }; }; then
10956 rxvt_cv_struct_utmpx=yes 10548 struct_utmpx=yes
10957else 10549else
10958 echo "$as_me: failed program was:" >&5 10550 echo "$as_me: failed program was:" >&5
10959sed 's/^/| /' conftest.$ac_ext >&5 10551sed 's/^/| /' conftest.$ac_ext >&5
10960 10552
10961rxvt_cv_struct_utmpx=no 10553struct_utmpx=no
10962fi 10554fi
10963rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10555rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10964fi 10556fi
10965echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 10557echo "$as_me:$LINENO: result: $struct_utmpx" >&5
10966echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 10558echo "${ECHO_T}$struct_utmpx" >&6
10967if test x$rxvt_cv_struct_utmpx = xyes; then 10559if test x$struct_utmpx = xyes; then
10968 10560
10969cat >>confdefs.h <<\_ACEOF 10561cat >>confdefs.h <<\_ACEOF
10970#define HAVE_STRUCT_UTMPX 1 10562#define HAVE_STRUCT_UTMPX 1
10971_ACEOF 10563_ACEOF
10972 10564
10973fi 10565fi
10974 10566
10975 10567
10976echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 10568echo "$as_me:$LINENO: checking for host in utmpx struct" >&5
10977echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 10569echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6
10978if test "${rxvt_cv_struct_utmpx_host+set}" = set; then 10570if test "${struct_utmpx_host+set}" = set; then
10979 echo $ECHO_N "(cached) $ECHO_C" >&6 10571 echo $ECHO_N "(cached) $ECHO_C" >&6
10980else 10572else
10981 cat >conftest.$ac_ext <<_ACEOF 10573 cat >conftest.$ac_ext <<_ACEOF
10982/* confdefs.h. */ 10574/* confdefs.h. */
10983_ACEOF 10575_ACEOF
11001 grep -v '^ *+' conftest.er1 >conftest.err 10593 grep -v '^ *+' conftest.er1 >conftest.err
11002 rm -f conftest.er1 10594 rm -f conftest.er1
11003 cat conftest.err >&5 10595 cat conftest.err >&5
11004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11005 (exit $ac_status); } && 10597 (exit $ac_status); } &&
11006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10598 { ac_try='test -z "$ac_cxx_werror_flag"
10599 || test ! -s conftest.err'
11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008 (eval $ac_try) 2>&5 10601 (eval $ac_try) 2>&5
11009 ac_status=$? 10602 ac_status=$?
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }; } && 10604 (exit $ac_status); }; } &&
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5 10607 (eval $ac_try) 2>&5
11015 ac_status=$? 10608 ac_status=$?
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; }; then 10610 (exit $ac_status); }; }; then
11018 rxvt_cv_struct_utmpx_host=yes 10611 struct_utmpx_host=yes
11019else 10612else
11020 echo "$as_me: failed program was:" >&5 10613 echo "$as_me: failed program was:" >&5
11021sed 's/^/| /' conftest.$ac_ext >&5 10614sed 's/^/| /' conftest.$ac_ext >&5
11022 10615
11023rxvt_cv_struct_utmpx_host=no 10616struct_utmpx_host=no
11024fi 10617fi
11025rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10618rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11026fi 10619fi
11027echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 10620echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5
11028echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 10621echo "${ECHO_T}$struct_utmpx_host" >&6
11029if test x$rxvt_cv_struct_utmpx_host = xyes; then 10622if test x$struct_utmpx_host = xyes; then
11030 10623
11031cat >>confdefs.h <<\_ACEOF 10624cat >>confdefs.h <<\_ACEOF
11032#define HAVE_UTMPX_HOST 1 10625#define HAVE_UTMPX_HOST 1
11033_ACEOF 10626_ACEOF
11034 10627
11035fi 10628fi
11036 10629
11037echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 10630echo "$as_me:$LINENO: checking for session in utmpx struct" >&5
11038echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 10631echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6
11039if test "${rxvt_cv_struct_utmpx_session+set}" = set; then 10632if test "${struct_utmpx_session+set}" = set; then
11040 echo $ECHO_N "(cached) $ECHO_C" >&6 10633 echo $ECHO_N "(cached) $ECHO_C" >&6
11041else 10634else
11042 cat >conftest.$ac_ext <<_ACEOF 10635 cat >conftest.$ac_ext <<_ACEOF
11043/* confdefs.h. */ 10636/* confdefs.h. */
11044_ACEOF 10637_ACEOF
11062 grep -v '^ *+' conftest.er1 >conftest.err 10655 grep -v '^ *+' conftest.er1 >conftest.err
11063 rm -f conftest.er1 10656 rm -f conftest.er1
11064 cat conftest.err >&5 10657 cat conftest.err >&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } && 10659 (exit $ac_status); } &&
11067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10660 { ac_try='test -z "$ac_cxx_werror_flag"
10661 || test ! -s conftest.err'
11068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11069 (eval $ac_try) 2>&5 10663 (eval $ac_try) 2>&5
11070 ac_status=$? 10664 ac_status=$?
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); }; } && 10666 (exit $ac_status); }; } &&
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5 10669 (eval $ac_try) 2>&5
11076 ac_status=$? 10670 ac_status=$?
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; }; then 10672 (exit $ac_status); }; }; then
11079 rxvt_cv_struct_utmpx_session=yes 10673 struct_utmpx_session=yes
11080else 10674else
11081 echo "$as_me: failed program was:" >&5 10675 echo "$as_me: failed program was:" >&5
11082sed 's/^/| /' conftest.$ac_ext >&5 10676sed 's/^/| /' conftest.$ac_ext >&5
11083 10677
11084rxvt_cv_struct_utmpx_session=no 10678struct_utmpx_session=no
11085fi 10679fi
11086rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10680rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11087fi 10681fi
11088echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 10682echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5
11089echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 10683echo "${ECHO_T}$struct_utmpx_session" >&6
11090if test x$rxvt_cv_struct_utmpx_session = xyes; then 10684if test x$struct_utmpx_session = xyes; then
11091 10685
11092cat >>confdefs.h <<\_ACEOF 10686cat >>confdefs.h <<\_ACEOF
11093#define HAVE_UTMPX_SESSION 1 10687#define HAVE_UTMPX_SESSION 1
11094_ACEOF 10688_ACEOF
11095 10689
11098fi 10692fi
11099 10693
11100 10694
11101echo "$as_me:$LINENO: checking for struct lastlog" >&5 10695echo "$as_me:$LINENO: checking for struct lastlog" >&5
11102echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 10696echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
11103if test "${rxvt_cv_struct_lastlog+set}" = set; then 10697if test "${struct_lastlog+set}" = set; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6 10698 echo $ECHO_N "(cached) $ECHO_C" >&6
11105else 10699else
11106 cat >conftest.$ac_ext <<_ACEOF 10700 cat >conftest.$ac_ext <<_ACEOF
11107/* confdefs.h. */ 10701/* confdefs.h. */
11108_ACEOF 10702_ACEOF
11130 grep -v '^ *+' conftest.er1 >conftest.err 10724 grep -v '^ *+' conftest.er1 >conftest.err
11131 rm -f conftest.er1 10725 rm -f conftest.er1
11132 cat conftest.err >&5 10726 cat conftest.err >&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } && 10728 (exit $ac_status); } &&
11135 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10729 { ac_try='test -z "$ac_cxx_werror_flag"
10730 || test ! -s conftest.err'
11136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11137 (eval $ac_try) 2>&5 10732 (eval $ac_try) 2>&5
11138 ac_status=$? 10733 ac_status=$?
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); }; } && 10735 (exit $ac_status); }; } &&
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5 10738 (eval $ac_try) 2>&5
11144 ac_status=$? 10739 ac_status=$?
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; }; then 10741 (exit $ac_status); }; }; then
11147 rxvt_cv_struct_lastlog=yes 10742 struct_lastlog=yes
11148else 10743else
11149 echo "$as_me: failed program was:" >&5 10744 echo "$as_me: failed program was:" >&5
11150sed 's/^/| /' conftest.$ac_ext >&5 10745sed 's/^/| /' conftest.$ac_ext >&5
11151 10746
11152rxvt_cv_struct_lastlog=no 10747struct_lastlog=no
11153fi 10748fi
11154rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10749rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11155fi 10750fi
11156echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 10751echo "$as_me:$LINENO: result: $struct_lastlog" >&5
11157echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 10752echo "${ECHO_T}$struct_lastlog" >&6
11158if test x$rxvt_cv_struct_lastlog = xyes; then 10753if test x$struct_lastlog = xyes; then
11159 10754
11160cat >>confdefs.h <<\_ACEOF 10755cat >>confdefs.h <<\_ACEOF
11161#define HAVE_STRUCT_LASTLOG 1 10756#define HAVE_STRUCT_LASTLOG 1
11162_ACEOF 10757_ACEOF
11163 10758
11164fi 10759fi
11165 10760
11166echo "$as_me:$LINENO: checking for struct lastlogx" >&5 10761echo "$as_me:$LINENO: checking for struct lastlogx" >&5
11167echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 10762echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6
11168if test "${rxvt_cv_struct_lastlogx+set}" = set; then 10763if test "${struct_lastlogx+set}" = set; then
11169 echo $ECHO_N "(cached) $ECHO_C" >&6 10764 echo $ECHO_N "(cached) $ECHO_C" >&6
11170else 10765else
11171 cat >conftest.$ac_ext <<_ACEOF 10766 cat >conftest.$ac_ext <<_ACEOF
11172/* confdefs.h. */ 10767/* confdefs.h. */
11173_ACEOF 10768_ACEOF
11195 grep -v '^ *+' conftest.er1 >conftest.err 10790 grep -v '^ *+' conftest.er1 >conftest.err
11196 rm -f conftest.er1 10791 rm -f conftest.er1
11197 cat conftest.err >&5 10792 cat conftest.err >&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); } && 10794 (exit $ac_status); } &&
11200 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10795 { ac_try='test -z "$ac_cxx_werror_flag"
10796 || test ! -s conftest.err'
11201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11202 (eval $ac_try) 2>&5 10798 (eval $ac_try) 2>&5
11203 ac_status=$? 10799 ac_status=$?
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); }; } && 10801 (exit $ac_status); }; } &&
11207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11208 (eval $ac_try) 2>&5 10804 (eval $ac_try) 2>&5
11209 ac_status=$? 10805 ac_status=$?
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; }; then 10807 (exit $ac_status); }; }; then
11212 rxvt_cv_struct_lastlogx=yes 10808 struct_lastlogx=yes
11213else 10809else
11214 echo "$as_me: failed program was:" >&5 10810 echo "$as_me: failed program was:" >&5
11215sed 's/^/| /' conftest.$ac_ext >&5 10811sed 's/^/| /' conftest.$ac_ext >&5
11216 10812
11217rxvt_cv_struct_lastlogx=no 10813struct_lastlogx=no
11218fi 10814fi
11219rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10815rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11220fi 10816fi
11221echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 10817echo "$as_me:$LINENO: result: $struct_lastlogx" >&5
11222echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 10818echo "${ECHO_T}$struct_lastlogx" >&6
11223if test x$rxvt_cv_struct_lastlogx = xyes; then 10819if test x$struct_lastlogx = xyes; then
11224 10820
11225cat >>confdefs.h <<\_ACEOF 10821cat >>confdefs.h <<\_ACEOF
11226#define HAVE_STRUCT_LASTLOGX 1 10822#define HAVE_STRUCT_LASTLOGX 1
11227_ACEOF 10823_ACEOF
11228 10824
11229fi 10825fi
11230 10826
11231 10827
11232echo "$as_me:$LINENO: checking where utmp is located" >&5 10828echo "$as_me:$LINENO: checking where utmp is located" >&5
11233echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 10829echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6
11234if test "${rxvt_cv_path_utmp+set}" = set; then 10830if test "${path_utmp+set}" = set; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6 10831 echo $ECHO_N "(cached) $ECHO_C" >&6
11236else 10832else
11237 if test "$cross_compiling" = yes; then 10833 if test "$cross_compiling" = yes; then
11238 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 10834 { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5
11239echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} 10835echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
11240else 10836else
11241 cat >conftest.$ac_ext <<_ACEOF 10837 cat >conftest.$ac_ext <<_ACEOF
11242/* confdefs.h. */ 10838/* confdefs.h. */
11243_ACEOF 10839_ACEOF
11244cat confdefs.h >>conftest.$ac_ext 10840cat confdefs.h >>conftest.$ac_ext
11245cat >>conftest.$ac_ext <<_ACEOF 10841cat >>conftest.$ac_ext <<_ACEOF
11246/* end confdefs.h. */ 10842/* end confdefs.h. */
11247#include <stdio.h> 10843#include <stdio.h>
10844#include <stdlib.h>
11248#include <sys/types.h> 10845#include <sys/types.h>
11249#include <utmp.h> 10846#include <utmp.h>
11250#include <errno.h> 10847#include <errno.h>
11251main() 10848main()
11252{ 10849{
11280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11281 (eval $ac_try) 2>&5 10878 (eval $ac_try) 2>&5
11282 ac_status=$? 10879 ac_status=$?
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); }; }; then 10881 (exit $ac_status); }; }; then
11285 rxvt_cv_path_utmp=`cat conftestval` 10882 path_utmp=`cat conftestval`
11286else 10883else
11287 echo "$as_me: program exited with status $ac_status" >&5 10884 echo "$as_me: program exited with status $ac_status" >&5
11288echo "$as_me: failed program was:" >&5 10885echo "$as_me: failed program was:" >&5
11289sed 's/^/| /' conftest.$ac_ext >&5 10886sed 's/^/| /' conftest.$ac_ext >&5
11290 10887
11291( exit $ac_status ) 10888( exit $ac_status )
11292rxvt_cv_path_utmp= 10889path_utmp=
11293fi 10890fi
11294rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10891rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11295fi 10892fi
11296fi 10893fi
11297echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 10894echo "$as_me:$LINENO: result: $path_utmp" >&5
11298echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 10895echo "${ECHO_T}$path_utmp" >&6
11299if test x$rxvt_cv_path_utmp != x; then 10896if test x$path_utmp != x; then
11300 10897
11301cat >>confdefs.h <<_ACEOF 10898cat >>confdefs.h <<_ACEOF
11302#define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" 10899#define UTMP_FILE "$path_utmp"
11303_ACEOF 10900_ACEOF
11304 10901
11305fi 10902fi
11306 10903
11307 10904
11308echo "$as_me:$LINENO: checking where utmpx is located" >&5 10905echo "$as_me:$LINENO: checking where utmpx is located" >&5
11309echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 10906echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6
11310if test "${rxvt_cv_path_utmpx+set}" = set; then 10907if test "${path_utmpx+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6 10908 echo $ECHO_N "(cached) $ECHO_C" >&6
11312else 10909else
11313 if test "$cross_compiling" = yes; then 10910 if test "$cross_compiling" = yes; then
11314 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 10911 { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5
11315echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} 10912echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;}
11316else 10913else
11317 cat >conftest.$ac_ext <<_ACEOF 10914 cat >conftest.$ac_ext <<_ACEOF
11318/* confdefs.h. */ 10915/* confdefs.h. */
11319_ACEOF 10916_ACEOF
11320cat confdefs.h >>conftest.$ac_ext 10917cat confdefs.h >>conftest.$ac_ext
11321cat >>conftest.$ac_ext <<_ACEOF 10918cat >>conftest.$ac_ext <<_ACEOF
11322/* end confdefs.h. */ 10919/* end confdefs.h. */
11323#include <stdio.h> 10920#include <stdio.h>
10921#include <stdlib.h>
11324#include <sys/types.h> 10922#include <sys/types.h>
11325#include <utmpx.h> 10923#include <utmpx.h>
11326#include <errno.h> 10924#include <errno.h>
11327#include <sys/stat.h> 10925#include <sys/stat.h>
11328#ifdef HAVE_STRING_H 10926#ifdef HAVE_STRING_H
11366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11367 (eval $ac_try) 2>&5 10965 (eval $ac_try) 2>&5
11368 ac_status=$? 10966 ac_status=$?
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); }; }; then 10968 (exit $ac_status); }; }; then
11371 rxvt_cv_path_utmpx=`cat conftestval` 10969 path_utmpx=`cat conftestval`
11372else 10970else
11373 echo "$as_me: program exited with status $ac_status" >&5 10971 echo "$as_me: program exited with status $ac_status" >&5
11374echo "$as_me: failed program was:" >&5 10972echo "$as_me: failed program was:" >&5
11375sed 's/^/| /' conftest.$ac_ext >&5 10973sed 's/^/| /' conftest.$ac_ext >&5
11376 10974
11377( exit $ac_status ) 10975( exit $ac_status )
11378rxvt_cv_path_utmpx= 10976path_utmpx=
11379fi 10977fi
11380rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10978rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11381fi 10979fi
11382fi 10980fi
11383echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 10981echo "$as_me:$LINENO: result: $path_utmpx" >&5
11384echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 10982echo "${ECHO_T}$path_utmpx" >&6
11385if test x$rxvt_cv_path_utmpx != x; then 10983if test x$path_utmpx != x; then
11386 10984
11387cat >>confdefs.h <<_ACEOF 10985cat >>confdefs.h <<_ACEOF
11388#define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" 10986#define UTMPX_FILE "$path_utmpx"
11389_ACEOF 10987_ACEOF
11390 10988
11391fi 10989fi
11392 10990
11393 10991
11394echo "$as_me:$LINENO: checking where wtmp is located" >&5 10992echo "$as_me:$LINENO: checking where wtmp is located" >&5
11395echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 10993echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6
11396if test "${rxvt_cv_path_wtmp+set}" = set; then 10994if test "${path_wtmp+set}" = set; then
11397 echo $ECHO_N "(cached) $ECHO_C" >&6 10995 echo $ECHO_N "(cached) $ECHO_C" >&6
11398else 10996else
11399 if test "$cross_compiling" = yes; then 10997 if test "$cross_compiling" = yes; then
11400 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 10998 { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5
11401echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} 10999echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
11402else 11000else
11403 cat >conftest.$ac_ext <<_ACEOF 11001 cat >conftest.$ac_ext <<_ACEOF
11404/* confdefs.h. */ 11002/* confdefs.h. */
11405_ACEOF 11003_ACEOF
11406cat confdefs.h >>conftest.$ac_ext 11004cat confdefs.h >>conftest.$ac_ext
11407cat >>conftest.$ac_ext <<_ACEOF 11005cat >>conftest.$ac_ext <<_ACEOF
11408/* end confdefs.h. */ 11006/* end confdefs.h. */
11409#include <stdio.h> 11007#include <stdio.h>
11008#include <stdlib.h>
11410#include <sys/types.h> 11009#include <sys/types.h>
11411#ifdef HAVE_UTMP_H 11010#ifdef HAVE_UTMP_H
11412#include <utmp.h> 11011#include <utmp.h>
11413#endif 11012#endif
11414#include <errno.h> 11013#include <errno.h>
11444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11445 (eval $ac_try) 2>&5 11044 (eval $ac_try) 2>&5
11446 ac_status=$? 11045 ac_status=$?
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; }; then 11047 (exit $ac_status); }; }; then
11449 rxvt_cv_path_wtmp=`cat conftestval` 11048 path_wtmp=`cat conftestval`
11450else 11049else
11451 echo "$as_me: program exited with status $ac_status" >&5 11050 echo "$as_me: program exited with status $ac_status" >&5
11452echo "$as_me: failed program was:" >&5 11051echo "$as_me: failed program was:" >&5
11453sed 's/^/| /' conftest.$ac_ext >&5 11052sed 's/^/| /' conftest.$ac_ext >&5
11454 11053
11455( exit $ac_status ) 11054( exit $ac_status )
11456rxvt_cv_path_wtmp= 11055path_wtmp=
11457fi 11056fi
11458rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11057rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11459fi 11058fi
11460fi 11059fi
11461echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 11060echo "$as_me:$LINENO: result: $path_wtmp" >&5
11462echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 11061echo "${ECHO_T}$path_wtmp" >&6
11463if test x$rxvt_cv_path_wtmp != x; then 11062if test x$path_wtmp != x; then
11464 11063
11465cat >>confdefs.h <<_ACEOF 11064cat >>confdefs.h <<_ACEOF
11466#define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" 11065#define WTMP_FILE "$path_wtmp"
11467_ACEOF 11066_ACEOF
11468 11067
11469fi 11068fi
11470 11069
11471echo "$as_me:$LINENO: checking where wtmpx is located" >&5 11070echo "$as_me:$LINENO: checking where wtmpx is located" >&5
11472echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 11071echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6
11473if test "${rxvt_cv_path_wtmpx+set}" = set; then 11072if test "${path_wtmpx+set}" = set; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6 11073 echo $ECHO_N "(cached) $ECHO_C" >&6
11475else 11074else
11476 if test "$cross_compiling" = yes; then 11075 if test "$cross_compiling" = yes; then
11477 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 11076 { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5
11478echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} 11077echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;}
11479else 11078else
11480 cat >conftest.$ac_ext <<_ACEOF 11079 cat >conftest.$ac_ext <<_ACEOF
11481/* confdefs.h. */ 11080/* confdefs.h. */
11482_ACEOF 11081_ACEOF
11483cat confdefs.h >>conftest.$ac_ext 11082cat confdefs.h >>conftest.$ac_ext
11484cat >>conftest.$ac_ext <<_ACEOF 11083cat >>conftest.$ac_ext <<_ACEOF
11485/* end confdefs.h. */ 11084/* end confdefs.h. */
11486#include <stdio.h> 11085#include <stdio.h>
11086#include <stdlib.h>
11487#ifdef HAVE_UTMPX_H 11087#ifdef HAVE_UTMPX_H
11488#include <utmpx.h> 11088#include <utmpx.h>
11489#endif 11089#endif
11490#include <errno.h> 11090#include <errno.h>
11491main() 11091main()
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5 11121 (eval $ac_try) 2>&5
11522 ac_status=$? 11122 ac_status=$?
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; }; then 11124 (exit $ac_status); }; }; then
11525 rxvt_cv_path_wtmpx=`cat conftestval` 11125 path_wtmpx=`cat conftestval`
11526else 11126else
11527 echo "$as_me: program exited with status $ac_status" >&5 11127 echo "$as_me: program exited with status $ac_status" >&5
11528echo "$as_me: failed program was:" >&5 11128echo "$as_me: failed program was:" >&5
11529sed 's/^/| /' conftest.$ac_ext >&5 11129sed 's/^/| /' conftest.$ac_ext >&5
11530 11130
11531( exit $ac_status ) 11131( exit $ac_status )
11532rxvt_cv_path_wtmpx= 11132path_wtmpx=
11533fi 11133fi
11534rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11134rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11535fi 11135fi
11536fi 11136fi
11537echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 11137echo "$as_me:$LINENO: result: $path_wtmpx" >&5
11538echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 11138echo "${ECHO_T}$path_wtmpx" >&6
11539if test x$rxvt_cv_path_wtmpx != x; then 11139if test x$path_wtmpx != x; then
11540 11140
11541cat >>confdefs.h <<_ACEOF 11141cat >>confdefs.h <<_ACEOF
11542#define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" 11142#define WTMPX_FILE "$path_wtmpx"
11543_ACEOF 11143_ACEOF
11544 11144
11545fi 11145fi
11546 11146
11547echo "$as_me:$LINENO: checking where lastlog is located" >&5 11147echo "$as_me:$LINENO: checking where lastlog is located" >&5
11548echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 11148echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6
11549if test "${rxvt_cv_path_lastlog+set}" = set; then 11149if test "${path_lastlog+set}" = set; then
11550 echo $ECHO_N "(cached) $ECHO_C" >&6 11150 echo $ECHO_N "(cached) $ECHO_C" >&6
11551else 11151else
11552 if test "$cross_compiling" = yes; then 11152 if test "$cross_compiling" = yes; then
11553 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 11153 { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5
11554echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} 11154echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;}
11555else 11155else
11556 cat >conftest.$ac_ext <<_ACEOF 11156 cat >conftest.$ac_ext <<_ACEOF
11557/* confdefs.h. */ 11157/* confdefs.h. */
11558_ACEOF 11158_ACEOF
11559cat confdefs.h >>conftest.$ac_ext 11159cat confdefs.h >>conftest.$ac_ext
11560cat >>conftest.$ac_ext <<_ACEOF 11160cat >>conftest.$ac_ext <<_ACEOF
11561/* end confdefs.h. */ 11161/* end confdefs.h. */
11562#include <stdio.h> 11162#include <stdio.h>
11163#include <stdlib.h>
11563#include <sys/types.h> 11164#include <sys/types.h>
11564#ifdef HAVE_UTMPX_H 11165#ifdef HAVE_UTMPX_H
11565#include <utmpx.h> 11166#include <utmpx.h>
11566#elif defined(HAVE_UTMP_H) 11167#elif defined(HAVE_UTMP_H)
11567#include <utmp.h> 11168#include <utmp.h>
11601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11602 (eval $ac_try) 2>&5 11203 (eval $ac_try) 2>&5
11603 ac_status=$? 11204 ac_status=$?
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); }; }; then 11206 (exit $ac_status); }; }; then
11606 rxvt_cv_path_lastlog=`cat conftestval` 11207 path_lastlog=`cat conftestval`
11607else 11208else
11608 echo "$as_me: program exited with status $ac_status" >&5 11209 echo "$as_me: program exited with status $ac_status" >&5
11609echo "$as_me: failed program was:" >&5 11210echo "$as_me: failed program was:" >&5
11610sed 's/^/| /' conftest.$ac_ext >&5 11211sed 's/^/| /' conftest.$ac_ext >&5
11611 11212
11612( exit $ac_status ) 11213( exit $ac_status )
11613rxvt_cv_path_lastlog= 11214path_lastlog=
11614fi 11215fi
11615rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11216rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11616fi 11217fi
11617fi 11218fi
11618echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 11219echo "$as_me:$LINENO: result: $path_lastlog" >&5
11619echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 11220echo "${ECHO_T}$path_lastlog" >&6
11620if test x$rxvt_cv_path_lastlog != x; then 11221if test x$path_lastlog != x; then
11621 11222
11622cat >>confdefs.h <<_ACEOF 11223cat >>confdefs.h <<_ACEOF
11623#define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" 11224#define LASTLOG_FILE "$path_lastlog"
11624_ACEOF 11225_ACEOF
11625 11226
11626 if test -d "$rxvt_cv_path_lastlog"; then 11227 if test -d "$path_lastlog"; then
11627 11228
11628cat >>confdefs.h <<\_ACEOF 11229cat >>confdefs.h <<\_ACEOF
11629#define LASTLOG_IS_DIR 1 11230#define LASTLOG_IS_DIR 1
11630_ACEOF 11231_ACEOF
11631 11232
11632 fi 11233 fi
11633fi 11234fi
11634 11235
11635echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11236echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11636echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 11237echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6
11637if test "${rxvt_cv_path_lastlogx+set}" = set; then 11238if test "${path_lastlogx+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6 11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11639else 11240else
11640 if test "$cross_compiling" = yes; then 11241 if test "$cross_compiling" = yes; then
11641 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 11242 { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5
11642echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} 11243echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;}
11643else 11244else
11644 cat >conftest.$ac_ext <<_ACEOF 11245 cat >conftest.$ac_ext <<_ACEOF
11645/* confdefs.h. */ 11246/* confdefs.h. */
11646_ACEOF 11247_ACEOF
11647cat confdefs.h >>conftest.$ac_ext 11248cat confdefs.h >>conftest.$ac_ext
11648cat >>conftest.$ac_ext <<_ACEOF 11249cat >>conftest.$ac_ext <<_ACEOF
11649/* end confdefs.h. */ 11250/* end confdefs.h. */
11650#include <stdio.h> 11251#include <stdio.h>
11252#include <stdlib.h>
11651#ifdef HAVE_UTMPX_H 11253#ifdef HAVE_UTMPX_H
11652#include <utmpx.h> 11254#include <utmpx.h>
11653#endif 11255#endif
11654#include <errno.h> 11256#include <errno.h>
11655main() 11257main()
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5 11286 (eval $ac_try) 2>&5
11685 ac_status=$? 11287 ac_status=$?
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; }; then 11289 (exit $ac_status); }; }; then
11688 rxvt_cv_path_lastlogx=`cat conftestval` 11290 path_lastlogx=`cat conftestval`
11689else 11291else
11690 echo "$as_me: program exited with status $ac_status" >&5 11292 echo "$as_me: program exited with status $ac_status" >&5
11691echo "$as_me: failed program was:" >&5 11293echo "$as_me: failed program was:" >&5
11692sed 's/^/| /' conftest.$ac_ext >&5 11294sed 's/^/| /' conftest.$ac_ext >&5
11693 11295
11694( exit $ac_status ) 11296( exit $ac_status )
11695rxvt_cv_path_lastlogx= 11297path_lastlogx=
11696fi 11298fi
11697rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11299rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11698fi 11300fi
11699fi 11301fi
11700echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 11302echo "$as_me:$LINENO: result: $path_lastlogx" >&5
11701echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 11303echo "${ECHO_T}$path_lastlogx" >&6
11702if test x$rxvt_cv_path_lastlogx != x; then 11304if test x$path_lastlogx != x; then
11703 11305
11704cat >>confdefs.h <<_ACEOF 11306cat >>confdefs.h <<_ACEOF
11705#define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" 11307#define LASTLOGX_FILE "$path_lastlogx"
11706_ACEOF 11308_ACEOF
11707 11309
11708fi 11310fi
11709 11311
11710 11312
11736 11338
11737ac_save_LIBS=$LIBS 11339ac_save_LIBS=$LIBS
11738ac_save_CFLAGS=$CFLAGS 11340ac_save_CFLAGS=$CFLAGS
11739CFLAGS="$CFLAGS $X_CFLAGS" 11341CFLAGS="$CFLAGS $X_CFLAGS"
11740LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11342LIBS="$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 11343echo "$as_me:$LINENO: checking for working Xlocale" >&5
11745echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 11344echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6
11746if test "${rxvt_cv_func_xlocale+set}" = set; then 11345if test "${rxvt_cv_func_xlocale+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6 11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11748else 11347else
11749 if test "$cross_compiling" = yes; then 11348 if test "$cross_compiling" = yes; then
11750 { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 11349 :
11751echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;}
11752else 11350else
11753 cat >conftest.$ac_ext <<_ACEOF 11351 cat >conftest.$ac_ext <<_ACEOF
11754/* confdefs.h. */ 11352/* confdefs.h. */
11755_ACEOF 11353_ACEOF
11756cat confdefs.h >>conftest.$ac_ext 11354cat confdefs.h >>conftest.$ac_ext
11757cat >>conftest.$ac_ext <<_ACEOF 11355cat >>conftest.$ac_ext <<_ACEOF
11758/* end confdefs.h. */ 11356/* end confdefs.h. */
11759#include <X11/Xlib.h> 11357#include <X11/Xlib.h>
11358#include <stdlib.h>
11760main() { 11359main() {
11761char *p; 11360char *p;
11762if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 11361if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
11763exit (XSupportsLocale() ? 0 : 1); 11362exit (XSupportsLocale() ? 0 : 1);
11764else 11363else
11787rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11386rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11788fi 11387fi
11789fi 11388fi
11790echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 11389echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5
11791echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 11390echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6
11391if test x$support_xim = xyes; then
11792if test x$rxvt_cv_func_xlocale = xyes; then 11392 if test x$rxvt_cv_func_xlocale = xyes; then
11793 11393
11794cat >>confdefs.h <<\_ACEOF 11394cat >>confdefs.h <<\_ACEOF
11795#define HAVE_XLOCALE 1 11395#define USE_XIM 1
11796_ACEOF 11396_ACEOF
11797 11397
11398 fi
11798fi 11399fi
11799 11400
11800echo "$as_me:$LINENO: checking for working X setlocale" >&5 11401echo "$as_me:$LINENO: checking for working X setlocale" >&5
11801echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 11402echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6
11802if test "${rxvt_cv_func_xsetlocale+set}" = set; then 11403if test "${rxvt_cv_func_xsetlocale+set}" = set; then
11825 grep -v '^ *+' conftest.er1 >conftest.err 11426 grep -v '^ *+' conftest.er1 >conftest.err
11826 rm -f conftest.er1 11427 rm -f conftest.er1
11827 cat conftest.err >&5 11428 cat conftest.err >&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); } && 11430 (exit $ac_status); } &&
11830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11431 { ac_try='test -z "$ac_cxx_werror_flag"
11432 || test ! -s conftest.err'
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832 (eval $ac_try) 2>&5 11434 (eval $ac_try) 2>&5
11833 ac_status=$? 11435 ac_status=$?
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); }; } && 11437 (exit $ac_status); }; } &&
11888 grep -v '^ *+' conftest.er1 >conftest.err 11490 grep -v '^ *+' conftest.er1 >conftest.err
11889 rm -f conftest.er1 11491 rm -f conftest.er1
11890 cat conftest.err >&5 11492 cat conftest.err >&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); } && 11494 (exit $ac_status); } &&
11893 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11495 { ac_try='test -z "$ac_cxx_werror_flag"
11496 || test ! -s conftest.err'
11894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895 (eval $ac_try) 2>&5 11498 (eval $ac_try) 2>&5
11896 ac_status=$? 11499 ac_status=$?
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }; } && 11501 (exit $ac_status); }; } &&
11949 grep -v '^ *+' conftest.er1 >conftest.err 11552 grep -v '^ *+' conftest.er1 >conftest.err
11950 rm -f conftest.er1 11553 rm -f conftest.er1
11951 cat conftest.err >&5 11554 cat conftest.err >&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); } && 11556 (exit $ac_status); } &&
11954 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11557 { ac_try='test -z "$ac_cxx_werror_flag"
11558 || test ! -s conftest.err'
11955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11956 (eval $ac_try) 2>&5 11560 (eval $ac_try) 2>&5
11957 ac_status=$? 11561 ac_status=$?
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); }; } && 11563 (exit $ac_status); }; } &&
11981#define HAVE_NL_LANGINFO 1 11585#define HAVE_NL_LANGINFO 1
11982_ACEOF 11586_ACEOF
11983 11587
11984fi 11588fi
11985 11589
11590
11986echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 11591echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5
11987echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 11592echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6
11988if test "${rxvt_can_pass_fds+set}" = set; then 11593if test "${can_pass_fds+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6 11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11990else 11595else
11991 cat >conftest.$ac_ext <<_ACEOF 11596 cat >conftest.$ac_ext <<_ACEOF
11992/* confdefs.h. */ 11597/* confdefs.h. */
11993_ACEOF 11598_ACEOF
11994cat confdefs.h >>conftest.$ac_ext 11599cat confdefs.h >>conftest.$ac_ext
11995cat >>conftest.$ac_ext <<_ACEOF 11600cat >>conftest.$ac_ext <<_ACEOF
11996/* end confdefs.h. */ 11601/* end confdefs.h. */
11997 11602
11998#include <cstddef> // broken bsds (is that redundant) need this 11603#include <cstddef> // broken bsds (is that redundant?) need this
11999#include <sys/types.h> 11604#include <sys/types.h>
12000#include <sys/socket.h> 11605#include <sys/socket.h>
12001#include <sys/uio.h> 11606#include <sys/uio.h>
12002 11607
12003int 11608int
12039 grep -v '^ *+' conftest.er1 >conftest.err 11644 grep -v '^ *+' conftest.er1 >conftest.err
12040 rm -f conftest.er1 11645 rm -f conftest.er1
12041 cat conftest.err >&5 11646 cat conftest.err >&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); } && 11648 (exit $ac_status); } &&
12044 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11649 { ac_try='test -z "$ac_cxx_werror_flag"
11650 || test ! -s conftest.err'
12045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12046 (eval $ac_try) 2>&5 11652 (eval $ac_try) 2>&5
12047 ac_status=$? 11653 ac_status=$?
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); }; } && 11655 (exit $ac_status); }; } &&
12051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12052 (eval $ac_try) 2>&5 11658 (eval $ac_try) 2>&5
12053 ac_status=$? 11659 ac_status=$?
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; }; then 11661 (exit $ac_status); }; }; then
12056 rxvt_can_pass_fds=yes 11662 can_pass_fds=yes
12057else 11663else
12058 echo "$as_me: failed program was:" >&5 11664 echo "$as_me: failed program was:" >&5
12059sed 's/^/| /' conftest.$ac_ext >&5 11665sed 's/^/| /' conftest.$ac_ext >&5
12060 11666
12061rxvt_can_pass_fds=no 11667can_pass_fds=no
12062fi 11668fi
12063rm -f conftest.err conftest.$ac_objext \ 11669rm -f conftest.err conftest.$ac_objext \
12064 conftest$ac_exeext conftest.$ac_ext 11670 conftest$ac_exeext conftest.$ac_ext
12065fi 11671fi
12066echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 11672echo "$as_me:$LINENO: result: $can_pass_fds" >&5
12067echo "${ECHO_T}$rxvt_can_pass_fds" >&6 11673echo "${ECHO_T}$can_pass_fds" >&6
12068if test x$rxvt_can_pass_fds = xyes; then 11674if test x$can_pass_fds = xyes; then
12069 11675
12070cat >>confdefs.h <<\_ACEOF 11676cat >>confdefs.h <<\_ACEOF
12071#define HAVE_UNIX_FDPASS 1 11677#define HAVE_UNIX_FDPASS 1
12072_ACEOF 11678_ACEOF
12073 11679
12074else 11680else
12075 { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5 11681 { { 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;} 11682echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
12077 { (exit 1); exit 1; }; } 11683 { (exit 1); exit 1; }; }
12078fi 11684fi
11685
12079 11686
12080echo "$as_me:$LINENO: checking for broken XIM callback" >&5 11687echo "$as_me:$LINENO: checking for broken XIM callback" >&5
12081echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 11688echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
12082if test "${rxvt_broken_ximcb+set}" = set; then 11689if test "${rxvt_broken_ximcb+set}" = set; then
12083 echo $ECHO_N "(cached) $ECHO_C" >&6 11690 echo $ECHO_N "(cached) $ECHO_C" >&6
12101 grep -v '^ *+' conftest.er1 >conftest.err 11708 grep -v '^ *+' conftest.er1 >conftest.err
12102 rm -f conftest.er1 11709 rm -f conftest.er1
12103 cat conftest.err >&5 11710 cat conftest.err >&5
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); } && 11712 (exit $ac_status); } &&
12106 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11713 { ac_try='test -z "$ac_cxx_werror_flag"
11714 || test ! -s conftest.err'
12107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12108 (eval $ac_try) 2>&5 11716 (eval $ac_try) 2>&5
12109 ac_status=$? 11717 ac_status=$?
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; } && 11719 (exit $ac_status); }; } &&
12178 grep -v '^ *+' conftest.er1 >conftest.err 11786 grep -v '^ *+' conftest.er1 >conftest.err
12179 rm -f conftest.er1 11787 rm -f conftest.er1
12180 cat conftest.err >&5 11788 cat conftest.err >&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); } && 11790 (exit $ac_status); } &&
12183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11791 { ac_try='test -z "$ac_cxx_werror_flag"
11792 || test ! -s conftest.err'
12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185 (eval $ac_try) 2>&5 11794 (eval $ac_try) 2>&5
12186 ac_status=$? 11795 ac_status=$?
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; } && 11797 (exit $ac_status); }; } &&
12299 11908
12300 11909
12301 11910
12302 11911
12303 11912
11913
11914
11915
11916
12304for ac_func in \ 11917for ac_func in \
12305 revoke \ 11918 revoke \
12306 _getpty \ 11919 _getpty \
12307 getpt \ 11920 getpt \
12308 posix_openpt \ 11921 posix_openpt \
12309 isastream \ 11922 isastream \
11923 setuid \
11924 seteuid \
11925 setreuid \
11926 setresuid \
12310 11927
12311do 11928do
12312as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11929as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12313echo "$as_me:$LINENO: checking for $ac_func" >&5 11930echo "$as_me:$LINENO: checking for $ac_func" >&5
12314echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11931echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12373 grep -v '^ *+' conftest.er1 >conftest.err 11990 grep -v '^ *+' conftest.er1 >conftest.err
12374 rm -f conftest.er1 11991 rm -f conftest.er1
12375 cat conftest.err >&5 11992 cat conftest.err >&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); } && 11994 (exit $ac_status); } &&
12378 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11995 { ac_try='test -z "$ac_cxx_werror_flag"
11996 || test ! -s conftest.err'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5 11998 (eval $ac_try) 2>&5
12381 ac_status=$? 11999 ac_status=$?
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; } && 12001 (exit $ac_status); }; } &&
12510 grep -v '^ *+' conftest.er1 >conftest.err 12128 grep -v '^ *+' conftest.er1 >conftest.err
12511 rm -f conftest.er1 12129 rm -f conftest.er1
12512 cat conftest.err >&5 12130 cat conftest.err >&5
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); } && 12132 (exit $ac_status); } &&
12515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12133 { ac_try='test -z "$ac_cxx_werror_flag"
12134 || test ! -s conftest.err'
12516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12517 (eval $ac_try) 2>&5 12136 (eval $ac_try) 2>&5
12518 ac_status=$? 12137 ac_status=$?
12519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520 (exit $ac_status); }; } && 12139 (exit $ac_status); }; } &&
12611 grep -v '^ *+' conftest.er1 >conftest.err 12230 grep -v '^ *+' conftest.er1 >conftest.err
12612 rm -f conftest.er1 12231 rm -f conftest.er1
12613 cat conftest.err >&5 12232 cat conftest.err >&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); } && 12234 (exit $ac_status); } &&
12616 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12235 { ac_try='test -z "$ac_cxx_werror_flag"
12236 || test ! -s conftest.err'
12617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12618 (eval $ac_try) 2>&5 12238 (eval $ac_try) 2>&5
12619 ac_status=$? 12239 ac_status=$?
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; } && 12241 (exit $ac_status); }; } &&
12679 grep -v '^ *+' conftest.er1 >conftest.err 12299 grep -v '^ *+' conftest.er1 >conftest.err
12680 rm -f conftest.er1 12300 rm -f conftest.er1
12681 cat conftest.err >&5 12301 cat conftest.err >&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } && 12303 (exit $ac_status); } &&
12684 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12304 { ac_try='test -z "$ac_cxx_werror_flag"
12305 || test ! -s conftest.err'
12685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12686 (eval $ac_try) 2>&5 12307 (eval $ac_try) 2>&5
12687 ac_status=$? 12308 ac_status=$?
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); }; } && 12310 (exit $ac_status); }; } &&
12716fi 12337fi
12717done 12338done
12718 12339
12719fi 12340fi
12720 12341
12342
12343
12344echo "$as_me:$LINENO: checking for tty group" >&5
12345echo $ECHO_N "checking for tty group... $ECHO_C" >&6
12346if test "${tty_group+set}" = set; then
12347 echo $ECHO_N "(cached) $ECHO_C" >&6
12348else
12349 if test "$cross_compiling" = yes; then
12350 tty_group=no
12351else
12352 cat >conftest.$ac_ext <<_ACEOF
12353/* confdefs.h. */
12354_ACEOF
12355cat confdefs.h >>conftest.$ac_ext
12356cat >>conftest.$ac_ext <<_ACEOF
12357/* end confdefs.h. */
12358
12359#include <sys/types.h>
12360#include <sys/stat.h>
12361#include <unistd.h>
12362#include <grp.h>
12363
12364main()
12365{
12366 struct stat st;
12367 struct group *gr;
12368 char *tty;
12369 gr = getgrnam("tty");
12370 tty = ttyname(0);
12371 if (gr != 0
12372 && tty != 0
12373 && (stat(tty, &st)) == 0
12374 && st.st_gid == gr->gr_gid)
12375 return 0;
12376 else
12377 return 1;
12378}
12379_ACEOF
12380rm -f conftest$ac_exeext
12381if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12382 (eval $ac_link) 2>&5
12383 ac_status=$?
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12388 ac_status=$?
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; }; then
12391 tty_group=yes
12392else
12393 echo "$as_me: program exited with status $ac_status" >&5
12394echo "$as_me: failed program was:" >&5
12395sed 's/^/| /' conftest.$ac_ext >&5
12396
12397( exit $ac_status )
12398tty_group=no
12399fi
12400rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12401fi
12402fi
12403echo "$as_me:$LINENO: result: $tty_group" >&5
12404echo "${ECHO_T}$tty_group" >&6
12405if test x$tty_group = xyes; then
12406
12407cat >>confdefs.h <<\_ACEOF
12408#define TTY_GID_SUPPORT 1
12409_ACEOF
12410
12411fi
12721 12412
12722if test x$support_xft = xyes; then 12413if test x$support_xft = xyes; then
12723 # Extract the first word of "pkg-config", so it can be a program name with args. 12414 # Extract the first word of "pkg-config", so it can be a program name with args.
12724set dummy pkg-config; ac_word=$2 12415set dummy pkg-config; ac_word=$2
12725echo "$as_me:$LINENO: checking for $ac_word" >&5 12416echo "$as_me:$LINENO: checking for $ac_word" >&5
12758else 12449else
12759 echo "$as_me:$LINENO: result: no" >&5 12450 echo "$as_me:$LINENO: result: no" >&5
12760echo "${ECHO_T}no" >&6 12451echo "${ECHO_T}no" >&6
12761fi 12452fi
12762 12453
12454 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12455 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12456 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12457 else
12763 # Extract the first word of "xft-config", so it can be a program name with args. 12458 # Extract the first word of "xft-config", so it can be a program name with args.
12764set dummy xft-config; ac_word=$2 12459set dummy xft-config; ac_word=$2
12765echo "$as_me:$LINENO: checking for $ac_word" >&5 12460echo "$as_me:$LINENO: checking for $ac_word" >&5
12766echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 12461echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12767if test "${ac_cv_path_XFT_CONFIG+set}" = set; then 12462if test "${ac_cv_path_XFT_CONFIG+set}" = set; then
12768 echo $ECHO_N "(cached) $ECHO_C" >&6 12463 echo $ECHO_N "(cached) $ECHO_C" >&6
12798else 12493else
12799 echo "$as_me:$LINENO: result: no" >&5 12494 echo "$as_me:$LINENO: result: no" >&5
12800echo "${ECHO_T}no" >&6 12495echo "${ECHO_T}no" >&6
12801fi 12496fi
12802 12497
12803 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12804 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12805 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12806 else
12807 if test $XFT_CONFIG != no; then 12498 if test $XFT_CONFIG != no; then
12808 LIBS="$LIBS `$XFT_CONFIG --libs`" 12499 LIBS="$LIBS `$XFT_CONFIG --libs`"
12809 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" 12500 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12810 fi 12501 fi
12811 fi 12502 fi
12842 grep -v '^ *+' conftest.er1 >conftest.err 12533 grep -v '^ *+' conftest.er1 >conftest.err
12843 rm -f conftest.er1 12534 rm -f conftest.er1
12844 cat conftest.err >&5 12535 cat conftest.err >&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); } && 12537 (exit $ac_status); } &&
12847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12538 { ac_try='test -z "$ac_cxx_werror_flag"
12539 || test ! -s conftest.err'
12848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12849 (eval $ac_try) 2>&5 12541 (eval $ac_try) 2>&5
12850 ac_status=$? 12542 ac_status=$?
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); }; } && 12544 (exit $ac_status); }; } &&
12998 grep -v '^ *+' conftest.er1 >conftest.err 12690 grep -v '^ *+' conftest.er1 >conftest.err
12999 rm -f conftest.er1 12691 rm -f conftest.er1
13000 cat conftest.err >&5 12692 cat conftest.err >&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); } && 12694 (exit $ac_status); } &&
13003 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12695 { ac_try='test -z "$ac_cxx_werror_flag"
12696 || test ! -s conftest.err'
13004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13005 (eval $ac_try) 2>&5 12698 (eval $ac_try) 2>&5
13006 ac_status=$? 12699 ac_status=$?
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); }; } && 12701 (exit $ac_status); }; } &&
13081 12774
13082fi 12775fi
13083if test x$support_inheritpixmap = xyes; then 12776if test x$support_inheritpixmap = xyes; then
13084 12777
13085cat >>confdefs.h <<\_ACEOF 12778cat >>confdefs.h <<\_ACEOF
13086#define TRANSPARENT 1 12779#define ENABLE_TRANSPARENCY 1
13087_ACEOF 12780_ACEOF
13088 12781
13089fi 12782fi
13090if test x$support_keepscrolling = xno; then 12783if test x$support_keepscrolling = xno; then
13091 12784
13099cat >>confdefs.h <<\_ACEOF 12792cat >>confdefs.h <<\_ACEOF
13100#define SELECTION_SCROLLING 1 12793#define SELECTION_SCROLLING 1
13101_ACEOF 12794_ACEOF
13102 12795
13103fi 12796fi
13104if test x$support_frills = xyes; then
13105
13106cat >>confdefs.h <<\_ACEOF
13107#define ENABLE_FRILLS 1
13108_ACEOF
13109
13110fi
13111if test x$support_24bit = xyes; then
13112
13113cat >>confdefs.h <<\_ACEOF
13114#define PREFER_24BIT 1
13115_ACEOF
13116
13117fi
13118if test x$support_mousewheel = xyes; then 12797if test x$support_mousewheel = xyes; then
13119 12798
13120cat >>confdefs.h <<\_ACEOF 12799cat >>confdefs.h <<\_ACEOF
13121#define MOUSE_WHEEL 1 12800#define MOUSE_WHEEL 1
13122_ACEOF 12801_ACEOF
13127cat >>confdefs.h <<\_ACEOF 12806cat >>confdefs.h <<\_ACEOF
13128#define MOUSE_SLIP_WHEELING 1 12807#define MOUSE_SLIP_WHEELING 1
13129_ACEOF 12808_ACEOF
13130 12809
13131fi 12810fi
13132if test x$support_utmp = xyes; then
13133
13134cat >>confdefs.h <<\_ACEOF
13135#define UTMP_SUPPORT 1
13136_ACEOF
13137
13138fi
13139if test x$support_wtmp = xyes; then
13140
13141cat >>confdefs.h <<\_ACEOF
13142#define WTMP_SUPPORT 1
13143_ACEOF
13144
13145fi
13146if test x$support_lastlog = xyes; then
13147
13148cat >>confdefs.h <<\_ACEOF
13149#define LASTLOG_SUPPORT 1
13150_ACEOF
13151
13152fi
13153if test x$support_xim = xyes -o x$multichar_set = xyes; then 12811if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then
13154 if test x$rxvt_cv_func_xlocale = xyes; then
13155
13156cat >>confdefs.h <<\_ACEOF
13157#define USE_XIM 1
13158_ACEOF
13159
13160 fi
13161fi
13162if test x$support_xpm = xyes; then
13163 12812
13164cat >>confdefs.h <<\_ACEOF 12813cat >>confdefs.h <<\_ACEOF
13165#define XPM_BACKGROUND 1 12814#define XPM_BACKGROUND 1
13166_ACEOF 12815_ACEOF
13167 12816
13168fi 12817fi
12818
12819if test x$support_afterimage = xyes; then
12820
12821cat >>confdefs.h <<\_ACEOF
12822#define HAVE_AFTERIMAGE 1
12823_ACEOF
12824
12825fi
12826
12827if test x$support_afterstep = xyes; then
12828
12829cat >>confdefs.h <<\_ACEOF
12830#define AFTERSTEP_INTEGRATION 1
12831_ACEOF
12832
12833fi
12834
13169if test x$support_scroll_rxvt = xyes; then 12835if test x$support_scroll_rxvt = xyes; then
13170 12836
13171cat >>confdefs.h <<\_ACEOF 12837cat >>confdefs.h <<\_ACEOF
13172#define RXVT_SCROLLBAR 1 12838#define RXVT_SCROLLBAR 1
13173_ACEOF 12839_ACEOF
13386 grep -v '^ *+' conftest.er1 >conftest.err 13052 grep -v '^ *+' conftest.er1 >conftest.err
13387 rm -f conftest.er1 13053 rm -f conftest.er1
13388 cat conftest.err >&5 13054 cat conftest.err >&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); } && 13056 (exit $ac_status); } &&
13391 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 13057 { ac_try='test -z "$ac_cxx_werror_flag"
13058 || test ! -s conftest.err'
13392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13393 (eval $ac_try) 2>&5 13060 (eval $ac_try) 2>&5
13394 ac_status=$? 13061 ac_status=$?
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); }; } && 13063 (exit $ac_status); }; } &&
13445 13112
13446if test x$support_perl = xyes; then 13113if test x$support_perl = xyes; then
13447 support_frills=yes 13114 support_frills=yes
13448fi 13115fi
13449 13116
13117if test x$support_frills = xyes; then
13450 13118
13451CFLAGS=${CFLAGS--O} 13119cat >>confdefs.h <<\_ACEOF
13452LDFLAGS=${LDFLAGS--O} 13120#define ENABLE_FRILLS 1
13121_ACEOF
13453 13122
13454CPPFLAGS="$CPPFLAGS"
13455
13456
13457
13458
13459
13460
13461
13462if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
13463 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
13464 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
13465 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
13466 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
13467 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
13468fi 13123fi
13124
13125
13126
13127
13128
13129
13130
13131
13469 13132
13470 13133
13471 13134
13472 13135
13473 13136
14198s,@INSTALL_DATA@,$INSTALL_DATA,;t t 13861s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14199s,@EGREP@,$EGREP,;t t 13862s,@EGREP@,$EGREP,;t t
14200s,@LINKER@,$LINKER,;t t 13863s,@LINKER@,$LINKER,;t t
14201s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 13864s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
14202s,@RXVTNAME@,$RXVTNAME,;t t 13865s,@RXVTNAME@,$RXVTNAME,;t t
14203s,@MV@,$MV,;t t
14204s,@RM@,$RM,;t t
14205s,@CP@,$CP,;t t
14206s,@LN@,$LN,;t t
14207s,@SED@,$SED,;t t
14208s,@ECHO@,$ECHO,;t t
14209s,@CMP@,$CMP,;t t
14210s,@TIC@,$TIC,;t t 13866s,@TIC@,$TIC,;t t
14211s,@CXXCPP@,$CXXCPP,;t t 13867s,@CXXCPP@,$CXXCPP,;t t
14212s,@X_CFLAGS@,$X_CFLAGS,;t t 13868s,@X_CFLAGS@,$X_CFLAGS,;t t
14213s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 13869s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
14214s,@X_LIBS@,$X_LIBS,;t t 13870s,@X_LIBS@,$X_LIBS,;t t
14215s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 13871s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
13872s,@afterimage_config@,$afterimage_config,;t t
14216s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 13873s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t
14217s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t 13874s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t
14218s,@XPM_LIBS@,$XPM_LIBS,;t t 13875s,@XPM_LIBS@,$XPM_LIBS,;t t
14219s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t 13876s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t
14220s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t 13877s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t
14228s,@PERLLIB@,$PERLLIB,;t t 13885s,@PERLLIB@,$PERLLIB,;t t
14229s,@PERLFLAGS@,$PERLFLAGS,;t t 13886s,@PERLFLAGS@,$PERLFLAGS,;t t
14230s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t 13887s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t
14231s,@IF_PERL@,$IF_PERL,;t t 13888s,@IF_PERL@,$IF_PERL,;t t
14232s,@PERL_O@,$PERL_O,;t t 13889s,@PERL_O@,$PERL_O,;t t
14233s,@DEBUG@,$DEBUG,;t t 13890s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t
14234s,@DINCLUDE@,$DINCLUDE,;t t 13891s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t
14235s,@DLIB@,$DLIB,;t t
14236s,@include_stdint_h@,$include_stdint_h,;t t 13892s,@include_stdint_h@,$include_stdint_h,;t t
14237s,@include_stdarg_h@,$include_stdarg_h,;t t 13893s,@include_stdarg_h@,$include_stdarg_h,;t t
14238s,@include_stdlib_h@,$include_stdlib_h,;t t 13894s,@include_stdlib_h@,$include_stdlib_h,;t t
14239s,@include_unistd_h@,$include_unistd_h,;t t 13895s,@include_unistd_h@,$include_unistd_h,;t t
14240s,@include_string_h@,$include_string_h,;t t 13896s,@include_string_h@,$include_string_h,;t t
14412 case $INSTALL in 14068 case $INSTALL in
14413 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14069 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14414 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 14070 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14415 esac 14071 esac
14416 14072
14073 if test x"$ac_file" != x-; then
14074 { echo "$as_me:$LINENO: creating $ac_file" >&5
14075echo "$as_me: creating $ac_file" >&6;}
14076 rm -f "$ac_file"
14077 fi
14417 # Let's still pretend it is `configure' which instantiates (i.e., don't 14078 # Let's still pretend it is `configure' which instantiates (i.e., don't
14418 # use $as_me), people would be surprised to read: 14079 # use $as_me), people would be surprised to read:
14419 # /* config.h. Generated by config.status. */ 14080 # /* config.h. Generated by config.status. */
14420 if test x"$ac_file" = x-; then 14081 if test x"$ac_file" = x-; then
14421 configure_input= 14082 configure_input=
14450echo "$as_me: error: cannot find input file: $f" >&2;} 14111echo "$as_me: error: cannot find input file: $f" >&2;}
14451 { (exit 1); exit 1; }; } 14112 { (exit 1); exit 1; }; }
14452 fi;; 14113 fi;;
14453 esac 14114 esac
14454 done` || { (exit 1); exit 1; } 14115 done` || { (exit 1); exit 1; }
14455
14456 if test x"$ac_file" != x-; then
14457 { echo "$as_me:$LINENO: creating $ac_file" >&5
14458echo "$as_me: creating $ac_file" >&6;}
14459 rm -f "$ac_file"
14460 fi
14461_ACEOF 14116_ACEOF
14462cat >>$CONFIG_STATUS <<_ACEOF 14117cat >>$CONFIG_STATUS <<_ACEOF
14463 sed "$ac_vpsub 14118 sed "$ac_vpsub
14464$extrasub 14119$extrasub
14465_ACEOF 14120_ACEOF
14745 14400
14746 Rxvt version: $VERSION : $DATE 14401 Rxvt version: $VERSION : $DATE
14747 Source code location: $srcdir 14402 Source code location: $srcdir
14748 Install path: ${prefix}/bin 14403 Install path: ${prefix}/bin
14749 Compiler: $CXX 14404 Compiler: $CXX
14750 Compiler flags: $CFLAGS 14405 Compiler flags: $CXXFLAGS
14751 Linker: $LINKER" 14406 Linker: $LINKER"
14752
14753if test "$MALLOC_TYPE" = S; then
14754 echo " malloc support: system default"
14755fi
14756if test "$MALLOC_TYPE" = G; then
14757 echo " malloc support: Gray Watson's dmalloc"
14758fi
14759if test "$MALLOC_TYPE" = D; then
14760 echo " malloc support: Doug Lea's malloc"
14761fi
14762 14407
14763if test x$support_xpm = xyes; then 14408if test x$support_xpm = xyes; then
14764 echo " Xpm library: $XPM_LIBS" 14409 echo " Xpm library: $XPM_LIBS"
14765fi 14410fi
14766 14411
14767echo " 14412if test x$support_afterimage = xyes; then
14768The following are set in config.h 14413 echo " AfterImage support: yes"
14769" 14414fi
14415
14770if test x$support_utmp != xyes; then 14416if test x$support_afterstep = xyes; then
14771 echo " utmp support: disabled" 14417 echo " AfterStep integration: yes"
14772 echo
14773else
14774 echo " utmp support: enabled
14775 utmp file: $rxvt_cv_path_utmp
14776 utmpx file: $rxvt_cv_path_utmpx
14777 wtmp file: $rxvt_cv_path_wtmp
14778 wtmpx file: $rxvt_cv_path_wtmpx
14779 lastlog file: $rxvt_cv_path_lastlog
14780 ttys/ttytab file: $rxvt_cv_path_ttytab
14781 embedded perl: $support_perl"
14782 echo
14783fi 14418fi
14419
14784if test x$term != x; then 14420if test x$term != x; then
14785 echo " set TERM to: $term" 14421 echo " set TERM to: $term"
14786fi 14422fi
14787if test x$terminfo != x; then 14423if test x$terminfo != x; then
14788 echo " set TERMINFO to: $terminfo" 14424 echo " set TERMINFO to: $terminfo"
14790echo " default resource name: $RESNAME" 14426echo " default resource name: $RESNAME"
14791echo " resource class: $RESCLASS" 14427echo " resource class: $RESCLASS"
14792if test x$RESFALLBACK != x; then 14428if test x$RESFALLBACK != x; then
14793 echo " resource class fallback: $RESFALLBACK" 14429 echo " resource class fallback: $RESFALLBACK"
14794fi 14430fi
14431echo
14432echo " embedded perl: $support_perl"
14795echo 14433echo
14796if test x$support_xpm = xneedsmanualspecification; then 14434if test x$support_xpm = xneedsmanualspecification; then
14797 echo ".----------------------------------------------------------------." 14435 echo ".----------------------------------------------------------------."
14798 echo ". WARNING: --enable-xpm-background was specified however the ." 14436 echo ". WARNING: --enable-xpm-background was specified however the ."
14799 echo ". XPM includes files and libraries could not be found. ." 14437 echo ". XPM includes files and libraries could not be found. ."
14809 echo ". functions could not be found. ." 14447 echo ". functions could not be found. ."
14810 echo ". XIM is now being DISABLED! ." 14448 echo ". XIM is now being DISABLED! ."
14811 echo ".----------------------------------------------------------------." 14449 echo ".----------------------------------------------------------------."
14812fi 14450fi
14813 14451
14814echo " *** Optionally check src/feature.h for further options ***" 14452echo "*** Optionally check src/feature.h for further, rarely used options ***"
14815echo 14453echo
14816 14454
14817echo ".----------------------------------------------------------------."
14818echo ". NOTE: some features are disabled by default, try ."
14819echo ". configure --help to get an idea of the optional features, ."
14820echo ". or read ./README.configure ."
14821echo ". ."
14822echo ". The script ./reconf gives a reasonable baseline, try it if ."
14823echo ". you do not want to read documentation and still want some ."
14824echo ". useful features. ."
14825echo ".----------------------------------------------------------------."
14826echo
14827

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines