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

Comparing rxvt-unicode/configure (file contents):
Revision 1.83 by root, Sat Jan 21 18:34:25 2006 UTC vs.
Revision 1.104 by ayin, Sat Jun 23 13:41:19 2007 UTC

307#endif 307#endif
308#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER CXXLIB 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); }; } &&
3220echo "${ECHO_T}$ac_cv_search_strerror" >&6 3230echo "${ECHO_T}$ac_cv_search_strerror" >&6
3221if test "$ac_cv_search_strerror" != no; then 3231if test "$ac_cv_search_strerror" != no; then
3222 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3232 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3223 3233
3224fi 3234fi
3225
3226
3227ac_ext=c
3228ac_cpp='$CPP $CPPFLAGS'
3229ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3230ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3231ac_compiler_gnu=$ac_cv_c_compiler_gnu
3232
3233
3234LINKER="$CXX"
3235if test x$GCC = xyes && test x$GXX = xyes; then
3236 echo "$as_me:$LINENO: checking for main in -lsupc++" >&5
3237echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6
3238if test "${ac_cv_lib_supcpp_main+set}" = set; then
3239 echo $ECHO_N "(cached) $ECHO_C" >&6
3240else
3241 ac_check_lib_save_LIBS=$LIBS
3242LIBS="-lsupc++ $LIBS"
3243cat >conftest.$ac_ext <<_ACEOF
3244/* confdefs.h. */
3245_ACEOF
3246cat confdefs.h >>conftest.$ac_ext
3247cat >>conftest.$ac_ext <<_ACEOF
3248/* end confdefs.h. */
3249
3250
3251int
3252main ()
3253{
3254main ();
3255 ;
3256 return 0;
3257}
3258_ACEOF
3259rm -f conftest.$ac_objext conftest$ac_exeext
3260if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3261 (eval $ac_link) 2>conftest.er1
3262 ac_status=$?
3263 grep -v '^ *+' conftest.er1 >conftest.err
3264 rm -f conftest.er1
3265 cat conftest.err >&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); } &&
3268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3270 (eval $ac_try) 2>&5
3271 ac_status=$?
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; } &&
3274 { ac_try='test -s conftest$ac_exeext'
3275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3276 (eval $ac_try) 2>&5
3277 ac_status=$?
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); }; }; then
3280 ac_cv_lib_supcpp_main=yes
3281else
3282 echo "$as_me: failed program was:" >&5
3283sed 's/^/| /' conftest.$ac_ext >&5
3284
3285ac_cv_lib_supcpp_main=no
3286fi
3287rm -f conftest.err conftest.$ac_objext \
3288 conftest$ac_exeext conftest.$ac_ext
3289LIBS=$ac_check_lib_save_LIBS
3290fi
3291echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5
3292echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6
3293if test $ac_cv_lib_supcpp_main = yes; then
3294
3295 LINKER="$CC"
3296 LIBS="$LIBS -lsupc++"
3297
3298fi
3299
3300fi
3301LINKER=$LINKER
3302
3303 3235
3304ac_ext=cc 3236ac_ext=cc
3305ac_cpp='$CXXCPP $CPPFLAGS' 3237ac_cpp='$CXXCPP $CPPFLAGS'
3306ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3238ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3307ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3239ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3308ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3240ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3309 3241
3310if test -z "$orig_CXXFLAGS"; then 3242
3311 if test x$GCC = xyes && test "x$GXX" = xyes; then 3243if test x$GCC = xyes && test x$GXX = xyes; then
3312 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3244 echo "$as_me:$LINENO: checking for working libsupc++" >&5
3245echo $ECHO_N "checking for working libsupc++... $ECHO_C" >&6
3246 save_CXX="$CXX"
3247 save_LIBS="$LIBS"
3248 CXX="$CC"
3249 LIBS="$LIBS -lsupc++"
3250 LINKER="$CC"
3313 3251
3314cat >conftest.$ac_ext <<_ACEOF 3252cat >conftest.$ac_ext <<_ACEOF
3315/* confdefs.h. */ 3253/* confdefs.h. */
3316_ACEOF 3254_ACEOF
3317cat confdefs.h >>conftest.$ac_ext 3255cat confdefs.h >>conftest.$ac_ext
3318cat >>conftest.$ac_ext <<_ACEOF 3256cat >>conftest.$ac_ext <<_ACEOF
3319/* end confdefs.h. */ 3257/* end confdefs.h. */
3320 3258struct test { }; void f() try { throw new test; } catch (...) { throw; }
3321int 3259int
3322main () 3260main ()
3323{ 3261{
3324 3262
3325 ; 3263 ;
3326 return 0; 3264 return 0;
3327} 3265}
3328_ACEOF 3266_ACEOF
3267rm -f conftest.$ac_objext conftest$ac_exeext
3268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3269 (eval $ac_link) 2>conftest.er1
3270 ac_status=$?
3271 grep -v '^ *+' conftest.er1 >conftest.err
3272 rm -f conftest.er1
3273 cat conftest.err >&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); } &&
3276 { ac_try='test -z "$ac_cxx_werror_flag"
3277 || test ! -s conftest.err'
3278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279 (eval $ac_try) 2>&5
3280 ac_status=$?
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }; } &&
3283 { ac_try='test -s conftest$ac_exeext'
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285 (eval $ac_try) 2>&5
3286 ac_status=$?
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; }; then
3289
3290 echo "$as_me:$LINENO: result: ok" >&5
3291echo "${ECHO_T}ok" >&6
3292 CXXLIB="-lsupc++"
3293
3294else
3295 echo "$as_me: failed program was:" >&5
3296sed 's/^/| /' conftest.$ac_ext >&5
3297
3298
3299 echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5
3300echo "${ECHO_T}no, making everything bigger and slower" >&6
3301 LIBS="$save_LIBS"
3302 LINKER="$save_CXX"
3303
3304
3305fi
3306rm -f conftest.err conftest.$ac_objext \
3307 conftest$ac_exeext conftest.$ac_ext
3308 CXX="$save_CXX"
3309fi
3310LINKER=$LINKER
3311
3312
3313
3314if test -z "$orig_CXXFLAGS"; then
3315 if test x$GCC = xyes && test "x$GXX" = xyes; then
3316 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3317 cat >conftest.$ac_ext <<_ACEOF
3318/* confdefs.h. */
3319_ACEOF
3320cat confdefs.h >>conftest.$ac_ext
3321cat >>conftest.$ac_ext <<_ACEOF
3322/* end confdefs.h. */
3323
3324int
3325main ()
3326{
3327
3328 ;
3329 return 0;
3330}
3331_ACEOF
3329rm -f conftest.$ac_objext 3332rm -f conftest.$ac_objext
3330if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3333if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3331 (eval $ac_compile) 2>conftest.er1 3334 (eval $ac_compile) 2>conftest.er1
3332 ac_status=$? 3335 ac_status=$?
3333 grep -v '^ *+' conftest.er1 >conftest.err 3336 grep -v '^ *+' conftest.er1 >conftest.err
3334 rm -f conftest.er1 3337 rm -f conftest.er1
3335 cat conftest.err >&5 3338 cat conftest.err >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } && 3340 (exit $ac_status); } &&
3338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3341 { ac_try='test -z "$ac_cxx_werror_flag"
3342 || test ! -s conftest.err'
3339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3340 (eval $ac_try) 2>&5 3344 (eval $ac_try) 2>&5
3341 ac_status=$? 3345 ac_status=$?
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }; } && 3347 (exit $ac_status); }; } &&
3451 grep -v '^ *+' conftest.er1 >conftest.err 3455 grep -v '^ *+' conftest.er1 >conftest.err
3452 rm -f conftest.er1 3456 rm -f conftest.er1
3453 cat conftest.err >&5 3457 cat conftest.err >&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); } && 3459 (exit $ac_status); } &&
3456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3460 { ac_try='test -z "$ac_cxx_werror_flag"
3461 || test ! -s conftest.err'
3457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3458 (eval $ac_try) 2>&5 3463 (eval $ac_try) 2>&5
3459 ac_status=$? 3464 ac_status=$?
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); }; } && 3466 (exit $ac_status); }; } &&
3516 grep -v '^ *+' conftest.er1 >conftest.err 3521 grep -v '^ *+' conftest.er1 >conftest.err
3517 rm -f conftest.er1 3522 rm -f conftest.er1
3518 cat conftest.err >&5 3523 cat conftest.err >&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } && 3525 (exit $ac_status); } &&
3521 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3526 { ac_try='test -z "$ac_cxx_werror_flag"
3527 || test ! -s conftest.err'
3522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 (eval $ac_try) 2>&5 3529 (eval $ac_try) 2>&5
3524 ac_status=$? 3530 ac_status=$?
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }; } && 3532 (exit $ac_status); }; } &&
3613 grep -v '^ *+' conftest.er1 >conftest.err 3619 grep -v '^ *+' conftest.er1 >conftest.err
3614 rm -f conftest.er1 3620 rm -f conftest.er1
3615 cat conftest.err >&5 3621 cat conftest.err >&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); } && 3623 (exit $ac_status); } &&
3618 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3624 { ac_try='test -z "$ac_cxx_werror_flag"
3625 || test ! -s conftest.err'
3619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3620 (eval $ac_try) 2>&5 3627 (eval $ac_try) 2>&5
3621 ac_status=$? 3628 ac_status=$?
3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); }; } && 3630 (exit $ac_status); }; } &&
3678 grep -v '^ *+' conftest.er1 >conftest.err 3685 grep -v '^ *+' conftest.er1 >conftest.err
3679 rm -f conftest.er1 3686 rm -f conftest.er1
3680 cat conftest.err >&5 3687 cat conftest.err >&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); } && 3689 (exit $ac_status); } &&
3683 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3690 { ac_try='test -z "$ac_cxx_werror_flag"
3691 || test ! -s conftest.err'
3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3685 (eval $ac_try) 2>&5 3693 (eval $ac_try) 2>&5
3686 ac_status=$? 3694 ac_status=$?
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; } && 3696 (exit $ac_status); }; } &&
3774 grep -v '^ *+' conftest.er1 >conftest.err 3782 grep -v '^ *+' conftest.er1 >conftest.err
3775 rm -f conftest.er1 3783 rm -f conftest.er1
3776 cat conftest.err >&5 3784 cat conftest.err >&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); } && 3786 (exit $ac_status); } &&
3779 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3787 { ac_try='test -z "$ac_cxx_werror_flag"
3788 || test ! -s conftest.err'
3780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781 (eval $ac_try) 2>&5 3790 (eval $ac_try) 2>&5
3782 ac_status=$? 3791 ac_status=$?
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); }; } && 3793 (exit $ac_status); }; } &&
3839 grep -v '^ *+' conftest.er1 >conftest.err 3848 grep -v '^ *+' conftest.er1 >conftest.err
3840 rm -f conftest.er1 3849 rm -f conftest.er1
3841 cat conftest.err >&5 3850 cat conftest.err >&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); } && 3852 (exit $ac_status); } &&
3844 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3853 { ac_try='test -z "$ac_cxx_werror_flag"
3854 || test ! -s conftest.err'
3845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3846 (eval $ac_try) 2>&5 3856 (eval $ac_try) 2>&5
3847 ac_status=$? 3857 ac_status=$?
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); }; } && 3859 (exit $ac_status); }; } &&
3871fi 3881fi
3872 3882
3873fi 3883fi
3874 3884
3875 3885
3876echo "$as_me:$LINENO: checking for sched_yield" >&5
3877echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
3878if test "${ac_cv_func_sched_yield+set}" = set; then
3879 echo $ECHO_N "(cached) $ECHO_C" >&6
3880else
3881 cat >conftest.$ac_ext <<_ACEOF
3882/* confdefs.h. */
3883_ACEOF
3884cat confdefs.h >>conftest.$ac_ext
3885cat >>conftest.$ac_ext <<_ACEOF
3886/* end confdefs.h. */
3887/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
3888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3889#define sched_yield innocuous_sched_yield
3890
3891/* System header to define __stub macros and hopefully few prototypes,
3892 which can conflict with char sched_yield (); below.
3893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3894 <limits.h> exists even on freestanding compilers. */
3895
3896#ifdef __STDC__
3897# include <limits.h>
3898#else
3899# include <assert.h>
3900#endif
3901
3902#undef sched_yield
3903
3904/* Override any gcc2 internal prototype to avoid an error. */
3905#ifdef __cplusplus
3906extern "C"
3907{
3908#endif
3909/* We use char because int might match the return type of a gcc2
3910 builtin and then its argument prototype would still apply. */
3911char sched_yield ();
3912/* The GNU C library defines this for functions which it implements
3913 to always fail with ENOSYS. Some functions are actually named
3914 something starting with __ and the normal name is an alias. */
3915#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
3916choke me
3917#else
3918char (*f) () = sched_yield;
3919#endif
3920#ifdef __cplusplus
3921}
3922#endif
3923
3924int
3925main ()
3926{
3927return f != sched_yield;
3928 ;
3929 return 0;
3930}
3931_ACEOF
3932rm -f conftest.$ac_objext conftest$ac_exeext
3933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3934 (eval $ac_link) 2>conftest.er1
3935 ac_status=$?
3936 grep -v '^ *+' conftest.er1 >conftest.err
3937 rm -f conftest.er1
3938 cat conftest.err >&5
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); } &&
3941 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
3947 { ac_try='test -s conftest$ac_exeext'
3948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3949 (eval $ac_try) 2>&5
3950 ac_status=$?
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); }; }; then
3953 ac_cv_func_sched_yield=yes
3954else
3955 echo "$as_me: failed program was:" >&5
3956sed 's/^/| /' conftest.$ac_ext >&5
3957
3958ac_cv_func_sched_yield=no
3959fi
3960rm -f conftest.err conftest.$ac_objext \
3961 conftest$ac_exeext conftest.$ac_ext
3962fi
3963echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
3964echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
3965if test $ac_cv_func_sched_yield = yes; then
3966 :
3967else
3968 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
3969echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
3970if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
3971 echo $ECHO_N "(cached) $ECHO_C" >&6
3972else
3973 ac_check_lib_save_LIBS=$LIBS
3974LIBS="-lrt $LIBS"
3975cat >conftest.$ac_ext <<_ACEOF
3976/* confdefs.h. */
3977_ACEOF
3978cat confdefs.h >>conftest.$ac_ext
3979cat >>conftest.$ac_ext <<_ACEOF
3980/* end confdefs.h. */
3981
3982/* Override any gcc2 internal prototype to avoid an error. */
3983#ifdef __cplusplus
3984extern "C"
3985#endif
3986/* We use char because int might match the return type of a gcc2
3987 builtin and then its argument prototype would still apply. */
3988char sched_yield ();
3989int
3990main ()
3991{
3992sched_yield ();
3993 ;
3994 return 0;
3995}
3996_ACEOF
3997rm -f conftest.$ac_objext conftest$ac_exeext
3998if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3999 (eval $ac_link) 2>conftest.er1
4000 ac_status=$?
4001 grep -v '^ *+' conftest.er1 >conftest.err
4002 rm -f conftest.er1
4003 cat conftest.err >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); } &&
4006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
4012 { ac_try='test -s conftest$ac_exeext'
4013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4014 (eval $ac_try) 2>&5
4015 ac_status=$?
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); }; }; then
4018 ac_cv_lib_rt_sched_yield=yes
4019else
4020 echo "$as_me: failed program was:" >&5
4021sed 's/^/| /' conftest.$ac_ext >&5
4022
4023ac_cv_lib_rt_sched_yield=no
4024fi
4025rm -f conftest.err conftest.$ac_objext \
4026 conftest$ac_exeext conftest.$ac_ext
4027LIBS=$ac_check_lib_save_LIBS
4028fi
4029echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
4030echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
4031if test $ac_cv_lib_rt_sched_yield = yes; then
4032 LIBS="$LIBS -lrt"
4033fi
4034
4035fi
4036
4037
4038echo "$as_me:$LINENO: checking for sched_yield support" >&5
4039echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6
4040cat >conftest.$ac_ext <<_ACEOF
4041/* confdefs.h. */
4042_ACEOF
4043cat confdefs.h >>conftest.$ac_ext
4044cat >>conftest.$ac_ext <<_ACEOF
4045/* end confdefs.h. */
4046#include <sched.h>
4047int
4048main ()
4049{
4050sched_yield ()
4051 ;
4052 return 0;
4053}
4054_ACEOF
4055rm -f conftest.$ac_objext conftest$ac_exeext
4056if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4057 (eval $ac_link) 2>conftest.er1
4058 ac_status=$?
4059 grep -v '^ *+' conftest.er1 >conftest.err
4060 rm -f conftest.er1
4061 cat conftest.err >&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); } &&
4064 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
4070 { ac_try='test -s conftest$ac_exeext'
4071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4072 (eval $ac_try) 2>&5
4073 ac_status=$?
4074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4075 (exit $ac_status); }; }; then
4076 echo "$as_me:$LINENO: result: yes" >&5
4077echo "${ECHO_T}yes" >&6
4078
4079cat >>confdefs.h <<\_ACEOF
4080#define HAVE_SCHED_YIELD 1
4081_ACEOF
4082
4083else
4084 echo "$as_me: failed program was:" >&5
4085sed 's/^/| /' conftest.$ac_ext >&5
4086
4087echo "$as_me:$LINENO: result: no" >&5
4088echo "${ECHO_T}no" >&6
4089fi
4090rm -f conftest.err conftest.$ac_objext \
4091 conftest$ac_exeext conftest.$ac_ext
4092
4093
4094MALLOC_TYPE=S
4095 3886
4096support_frills=yes 3887support_frills=yes
4097support_inheritpixmap=yes 3888support_inheritpixmap=yes
4098support_tinting=yes 3889support_tinting=yes
4099support_fading=yes 3890support_fading=yes
4100support_keepscrolling=yes 3891support_keepscrolling=yes
4101support_selectionscrolling=yes 3892support_selectionscrolling=yes
4102support_mousewheel=yes 3893support_mousewheel=yes
4103support_mouseslipwheel=yes 3894support_mouseslipwheel=yes
4104support_utmp=yes
4105support_wtmp=yes
4106support_lastlog=yes
4107support_text_blink=yes 3895support_text_blink=yes
4108support_pointer_blank=yes 3896support_pointer_blank=yes
4109support_scroll_rxvt=yes 3897support_scroll_rxvt=yes
4110support_scroll_next=yes 3898support_scroll_next=yes
4111support_scroll_xterm=yes 3899support_scroll_xterm=yes
4112support_scroll_plain=yes 3900support_scroll_plain=yes
4113support_xim=yes 3901support_xim=yes
4114support_xpm=yes 3902support_xpm=yes
3903support_afterimage=yes
3904support_afterstep=yes
4115support_xft=yes 3905support_xft=yes
4116support_unicode3=no 3906support_unicode3=no
4117support_combining=yes 3907support_combining=yes
4118support_8bitctrls=no 3908support_8bitctrls=no
4119support_iso14755=yes 3909support_iso14755=yes
4135# Check whether --enable-everything or --disable-everything was given. 3925# Check whether --enable-everything or --disable-everything was given.
4136if test "${enable_everything+set}" = set; then 3926if test "${enable_everything+set}" = set; then
4137 enableval="$enable_everything" 3927 enableval="$enable_everything"
4138 3928
4139 if test x$enableval = xno; then 3929 if test x$enableval = xno; then
4140 support_24bit=no
4141 support_frills=no 3930 support_frills=no
4142 support_inheritpixmap=no 3931 support_inheritpixmap=no
4143 support_tinting=no 3932 support_tinting=no
4144 support_fading=no 3933 support_fading=no
4145 support_keepscrolling=no 3934 support_keepscrolling=no
4155 support_scroll_plain=no 3944 support_scroll_plain=no
4156 support_utmp=no 3945 support_utmp=no
4157 support_wtmp=no 3946 support_wtmp=no
4158 support_xim=no 3947 support_xim=no
4159 support_xpm=no 3948 support_xpm=no
3949 support_afterimage=no
3950 support_afterstep=no
4160 support_xft=no 3951 support_xft=no
4161 support_unicode3=no 3952 support_unicode3=no
4162 support_combining=no 3953 support_combining=no
4163 support_8bitctrls=no 3954 support_8bitctrls=no
4164 support_iso14755=no 3955 support_iso14755=no
4165 support_styles=no 3956 support_styles=no
4166 support_perl=no 3957 support_perl=no
4167 codesets= 3958 codesets=
4168 fi 3959 fi
4169 if test x$enableval = xyes; then 3960 if test x$enableval = xyes; then
4170 support_24bit=yes
4171 support_frills=yes 3961 support_frills=yes
4172 support_inheritpixmap=yes 3962 support_inheritpixmap=yes
4173 support_tinting=yes 3963 support_tinting=yes
4174 support_fading=yes 3964 support_fading=yes
4175 support_keepscrolling=yes 3965 support_keepscrolling=yes
4185 support_scroll_plain=yes 3975 support_scroll_plain=yes
4186 support_utmp=yes 3976 support_utmp=yes
4187 support_wtmp=yes 3977 support_wtmp=yes
4188 support_xim=yes 3978 support_xim=yes
4189 support_xpm=yes 3979 support_xpm=yes
3980 support_afterimage=yes
3981 support_afterstep=yes
4190 support_xft=yes 3982 support_xft=yes
4191 support_unicode3=yes 3983 support_unicode3=yes
4192 support_combining=yes 3984 support_combining=yes
4193 #support_8bitctrls=yes 3985 #support_8bitctrls=yes
4194 support_iso14755=yes 3986 support_iso14755=yes
4229 if test x$enableval = xyes -o x$enableval = xno; then 4021 if test x$enableval = xyes -o x$enableval = xno; then
4230 support_styles=$enableval 4022 support_styles=$enableval
4231 fi 4023 fi
4232fi; 4024fi;
4233 4025
4234# Check whether --enable-utmp or --disable-utmp was given.
4235if test "${enable_utmp+set}" = set; then
4236 enableval="$enable_utmp"
4237 if test x$enableval = xyes -o x$enableval = xno; then
4238 support_utmp=$enableval
4239 fi
4240fi;
4241
4242# Check whether --enable-wtmp or --disable-wtmp was given.
4243if test "${enable_wtmp+set}" = set; then
4244 enableval="$enable_wtmp"
4245 if test x$enableval = xyes -o x$enableval = xno; then
4246 support_wtmp=$enableval
4247 fi
4248fi;
4249
4250# Check whether --enable-lastlog or --disable-lastlog was given.
4251if test "${enable_lastlog+set}" = set; then
4252 enableval="$enable_lastlog"
4253 if test x$enableval = xyes -o x$enableval = xno; then
4254 support_lastlog=$enableval
4255 fi
4256fi;
4257
4258# Check whether --enable-xpm-background or --disable-xpm-background was given. 4026# Check whether --enable-xpm-background or --disable-xpm-background was given.
4259if test "${enable_xpm_background+set}" = set; then 4027if test "${enable_xpm_background+set}" = set; then
4260 enableval="$enable_xpm_background" 4028 enableval="$enable_xpm_background"
4261 if test x$enableval = xyes -o x$enableval = xno; then 4029 if test x$enableval = xyes -o x$enableval = xno; then
4262 support_xpm=$enableval 4030 support_xpm=$enableval
4263 fi 4031 fi
4264fi; 4032fi;
4265 4033
4034# Check whether --enable-afterimage or --disable-afterimage was given.
4035if test "${enable_afterimage+set}" = set; then
4036 enableval="$enable_afterimage"
4037 if test x$enableval = xyes -o x$enableval = xno; then
4038 support_afterimage=$enableval
4039 fi
4040fi;
4041
4042
4043# Check whether --with-afterimage_config or --without-afterimage_config was given.
4044if test "${with_afterimage_config+set}" = set; then
4045 withval="$with_afterimage_config"
4046 if test "x$withval" != x; then
4047 afterimage_config=$withval/afterimage-config
4048 fi
4049fi;
4050
4051# Check whether --enable-afterstep or --disable-afterstep was given.
4052if test "${enable_afterstep+set}" = set; then
4053 enableval="$enable_afterstep"
4054 if test x$enableval = xyes -o x$enableval = xno; then
4055 support_afterstep=$enableval
4056 fi
4057fi;
4058
4266# Check whether --enable-transparency or --disable-transparency was given. 4059# Check whether --enable-transparency or --disable-transparency was given.
4267if test "${enable_transparency+set}" = set; then 4060if test "${enable_transparency+set}" = set; then
4268 enableval="$enable_transparency" 4061 enableval="$enable_transparency"
4269 if test x$enableval = xyes -o x$enableval = xno; then 4062 if test x$enableval = xyes -o x$enableval = xno; then
4270 support_inheritpixmap=$enableval 4063 support_inheritpixmap=$enableval
4326 support_scroll_plain=$enableval 4119 support_scroll_plain=$enableval
4327 fi 4120 fi
4328fi; 4121fi;
4329 4122
4330 4123
4331
4332# Check whether --with-codesets or --without-codesets was given. 4124# Check whether --with-codesets or --without-codesets was given.
4333if test "${with_codesets+set}" = set; then 4125if test "${with_codesets+set}" = set; then
4334 withval="$with_codesets" 4126 withval="$with_codesets"
4335 codesets="$withval" 4127 codesets="$withval"
4336fi; 4128fi;
4341 if test x$enableval = xyes -o x$enableval = xno; then 4133 if test x$enableval = xyes -o x$enableval = xno; then
4342 support_xim=$enableval 4134 support_xim=$enableval
4343 fi 4135 fi
4344fi; 4136fi;
4345 4137
4346# Check whether --enable-ttygid or --disable-ttygid was given.
4347if test "${enable_ttygid+set}" = set; then
4348 enableval="$enable_ttygid"
4349 if test x$enableval = xyes; then
4350
4351cat >>confdefs.h <<\_ACEOF
4352#define TTY_GID_SUPPORT 1
4353_ACEOF
4354
4355 fi
4356fi;
4357
4358# Check whether --enable-backspace-key or --disable-backspace-key was given. 4138# Check whether --enable-backspace-key or --disable-backspace-key was given.
4359if test "${enable_backspace_key+set}" = set; then 4139if test "${enable_backspace_key+set}" = set; then
4360 enableval="$enable_backspace_key" 4140 enableval="$enable_backspace_key"
4361 if test x$enableval = xno; then 4141 if test x$enableval = xno; then
4362 4142
4486 if test x$enableval = xyes -o x$enableval = xno; then 4266 if test x$enableval = xyes -o x$enableval = xno; then
4487 support_frills=$enableval 4267 support_frills=$enableval
4488 fi 4268 fi
4489fi; 4269fi;
4490 4270
4491# Check whether --enable-24bit or --disable-24bit was given.
4492if test "${enable_24bit+set}" = set; then
4493 enableval="$enable_24bit"
4494 if test x$enableval = xyes -o x$enableval = xno; then
4495 support_24bit=$enableval
4496 fi
4497fi;
4498
4499# Check whether --enable-keepscrolling or --disable-keepscrolling was given. 4271# Check whether --enable-keepscrolling or --disable-keepscrolling was given.
4500if test "${enable_keepscrolling+set}" = set; then 4272if test "${enable_keepscrolling+set}" = set; then
4501 enableval="$enable_keepscrolling" 4273 enableval="$enable_keepscrolling"
4502 if test x$enableval = xyes -o x$enableval = xno; then 4274 if test x$enableval = xyes -o x$enableval = xno; then
4503 support_keepscrolling=$enableval 4275 support_keepscrolling=$enableval
4526 if test x$enableval = xyes -o x$enableval = xno; then 4298 if test x$enableval = xyes -o x$enableval = xno; then
4527 support_mouseslipwheel=$enableval 4299 support_mouseslipwheel=$enableval
4528 fi 4300 fi
4529fi; 4301fi;
4530 4302
4531# Check whether --enable-dmalloc or --disable-dmalloc was given.
4532if test "${enable_dmalloc+set}" = set; then
4533 enableval="$enable_dmalloc"
4534 if test x$enableval = xyes; then
4535 MALLOC_TYPE=G
4536 DEBUG=-DDEBUG_MALLOC
4537 DLIB="-L/usr/local/lib -ldmalloc"
4538 DINCLUDE=-I/usr/local/include
4539 fi
4540fi;
4541
4542# Check whether --enable-dlmalloc or --disable-dlmalloc was given.
4543if test "${enable_dlmalloc+set}" = set; then
4544 enableval="$enable_dlmalloc"
4545 if test x$enableval = xyes; then
4546 MALLOC_TYPE=D
4547 DEBUG=
4548 DLIB="-L/usr/local/lib -ldlmalloc"
4549 DINCLUDE=
4550 fi
4551fi;
4552
4553# Check whether --enable-smart-resize or --disable-smart-resize was given. 4303# Check whether --enable-smart-resize or --disable-smart-resize was given.
4554if test "${enable_smart_resize+set}" = set; then 4304if test "${enable_smart_resize+set}" = set; then
4555 enableval="$enable_smart_resize" 4305 enableval="$enable_smart_resize"
4556 if test x$enableval = xyes; then 4306 if test x$enableval = xyes; then
4557 4307
4602_ACEOF 4352_ACEOF
4603 terminfo="$withval" 4353 terminfo="$withval"
4604 fi 4354 fi
4605fi; 4355fi;
4606 4356
4607
4608# Extract the first word of "mv", so it can be a program name with args.
4609set dummy mv; ac_word=$2
4610echo "$as_me:$LINENO: checking for $ac_word" >&5
4611echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4612if test "${ac_cv_path_MV+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4614else
4615 case $MV in
4616 [\\/]* | ?:[\\/]*)
4617 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4618 ;;
4619 *)
4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621for as_dir in $PATH
4622do
4623 IFS=$as_save_IFS
4624 test -z "$as_dir" && as_dir=.
4625 for ac_exec_ext in '' $ac_executable_extensions; do
4626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4627 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 break 2
4630 fi
4631done
4632done
4633
4634 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
4635 ;;
4636esac
4637fi
4638MV=$ac_cv_path_MV
4639
4640if test -n "$MV"; then
4641 echo "$as_me:$LINENO: result: $MV" >&5
4642echo "${ECHO_T}$MV" >&6
4643else
4644 echo "$as_me:$LINENO: result: no" >&5
4645echo "${ECHO_T}no" >&6
4646fi
4647
4648# Extract the first word of "rm", so it can be a program name with args.
4649set dummy rm; ac_word=$2
4650echo "$as_me:$LINENO: checking for $ac_word" >&5
4651echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4652if test "${ac_cv_path_RM+set}" = set; then
4653 echo $ECHO_N "(cached) $ECHO_C" >&6
4654else
4655 case $RM in
4656 [\\/]* | ?:[\\/]*)
4657 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4658 ;;
4659 *)
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661for as_dir in $PATH
4662do
4663 IFS=$as_save_IFS
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 break 2
4670 fi
4671done
4672done
4673
4674 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
4675 ;;
4676esac
4677fi
4678RM=$ac_cv_path_RM
4679
4680if test -n "$RM"; then
4681 echo "$as_me:$LINENO: result: $RM" >&5
4682echo "${ECHO_T}$RM" >&6
4683else
4684 echo "$as_me:$LINENO: result: no" >&5
4685echo "${ECHO_T}no" >&6
4686fi
4687
4688# Extract the first word of "cp", so it can be a program name with args.
4689set dummy cp; ac_word=$2
4690echo "$as_me:$LINENO: checking for $ac_word" >&5
4691echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4692if test "${ac_cv_path_CP+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4694else
4695 case $CP in
4696 [\\/]* | ?:[\\/]*)
4697 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4698 ;;
4699 *)
4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701for as_dir in $PATH
4702do
4703 IFS=$as_save_IFS
4704 test -z "$as_dir" && as_dir=.
4705 for ac_exec_ext in '' $ac_executable_extensions; do
4706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4707 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4709 break 2
4710 fi
4711done
4712done
4713
4714 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
4715 ;;
4716esac
4717fi
4718CP=$ac_cv_path_CP
4719
4720if test -n "$CP"; then
4721 echo "$as_me:$LINENO: result: $CP" >&5
4722echo "${ECHO_T}$CP" >&6
4723else
4724 echo "$as_me:$LINENO: result: no" >&5
4725echo "${ECHO_T}no" >&6
4726fi
4727
4728# Extract the first word of "ln", so it can be a program name with args.
4729set dummy ln; ac_word=$2
4730echo "$as_me:$LINENO: checking for $ac_word" >&5
4731echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4732if test "${ac_cv_path_LN+set}" = set; then
4733 echo $ECHO_N "(cached) $ECHO_C" >&6
4734else
4735 case $LN in
4736 [\\/]* | ?:[\\/]*)
4737 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4738 ;;
4739 *)
4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741for as_dir in $PATH
4742do
4743 IFS=$as_save_IFS
4744 test -z "$as_dir" && as_dir=.
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4747 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4749 break 2
4750 fi
4751done
4752done
4753
4754 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
4755 ;;
4756esac
4757fi
4758LN=$ac_cv_path_LN
4759
4760if test -n "$LN"; then
4761 echo "$as_me:$LINENO: result: $LN" >&5
4762echo "${ECHO_T}$LN" >&6
4763else
4764 echo "$as_me:$LINENO: result: no" >&5
4765echo "${ECHO_T}no" >&6
4766fi
4767
4768# Extract the first word of "sed", so it can be a program name with args.
4769set dummy sed; ac_word=$2
4770echo "$as_me:$LINENO: checking for $ac_word" >&5
4771echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4772if test "${ac_cv_path_SED+set}" = set; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4774else
4775 case $SED in
4776 [\\/]* | ?:[\\/]*)
4777 ac_cv_path_SED="$SED" # Let the user override the test with a path.
4778 ;;
4779 *)
4780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4781for as_dir in $PATH
4782do
4783 IFS=$as_save_IFS
4784 test -z "$as_dir" && as_dir=.
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4787 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
4788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 break 2
4790 fi
4791done
4792done
4793
4794 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
4795 ;;
4796esac
4797fi
4798SED=$ac_cv_path_SED
4799
4800if test -n "$SED"; then
4801 echo "$as_me:$LINENO: result: $SED" >&5
4802echo "${ECHO_T}$SED" >&6
4803else
4804 echo "$as_me:$LINENO: result: no" >&5
4805echo "${ECHO_T}no" >&6
4806fi
4807
4808# Extract the first word of "echo", so it can be a program name with args.
4809set dummy echo; ac_word=$2
4810echo "$as_me:$LINENO: checking for $ac_word" >&5
4811echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4812if test "${ac_cv_path_ECHO+set}" = set; then
4813 echo $ECHO_N "(cached) $ECHO_C" >&6
4814else
4815 case $ECHO in
4816 [\\/]* | ?:[\\/]*)
4817 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
4818 ;;
4819 *)
4820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4821for as_dir in $PATH
4822do
4823 IFS=$as_save_IFS
4824 test -z "$as_dir" && as_dir=.
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4827 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
4828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4829 break 2
4830 fi
4831done
4832done
4833
4834 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
4835 ;;
4836esac
4837fi
4838ECHO=$ac_cv_path_ECHO
4839
4840if test -n "$ECHO"; then
4841 echo "$as_me:$LINENO: result: $ECHO" >&5
4842echo "${ECHO_T}$ECHO" >&6
4843else
4844 echo "$as_me:$LINENO: result: no" >&5
4845echo "${ECHO_T}no" >&6
4846fi
4847
4848# Extract the first word of "cmp", so it can be a program name with args.
4849set dummy cmp; ac_word=$2
4850echo "$as_me:$LINENO: checking for $ac_word" >&5
4851echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4852if test "${ac_cv_path_CMP+set}" = set; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4854else
4855 case $CMP in
4856 [\\/]* | ?:[\\/]*)
4857 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4858 ;;
4859 *)
4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861for as_dir in $PATH
4862do
4863 IFS=$as_save_IFS
4864 test -z "$as_dir" && as_dir=.
4865 for ac_exec_ext in '' $ac_executable_extensions; do
4866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4867 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4869 break 2
4870 fi
4871done
4872done
4873
4874 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
4875 ;;
4876esac
4877fi
4878CMP=$ac_cv_path_CMP
4879
4880if test -n "$CMP"; then
4881 echo "$as_me:$LINENO: result: $CMP" >&5
4882echo "${ECHO_T}$CMP" >&6
4883else
4884 echo "$as_me:$LINENO: result: no" >&5
4885echo "${ECHO_T}no" >&6
4886fi
4887 4357
4888# Extract the first word of "tic", so it can be a program name with args. 4358# Extract the first word of "tic", so it can be a program name with args.
4889set dummy tic; ac_word=$2 4359set dummy tic; ac_word=$2
4890echo "$as_me:$LINENO: checking for $ac_word" >&5 4360echo "$as_me:$LINENO: checking for $ac_word" >&5
4891echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4361echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5156ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4626ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5157ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4627ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5158ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4628ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5159 4629
5160 4630
5161
5162if test "x$ac_path_x_has_been_run" != xyes; then
5163 echo "$as_me:$LINENO: checking for X" >&5 4631echo "$as_me:$LINENO: checking for X" >&5
5164echo $ECHO_N "checking for X... $ECHO_C" >&6 4632echo $ECHO_N "checking for X... $ECHO_C" >&6
5165 4633
5166ac_path_x_has_been_run=yes
5167 4634
5168# Check whether --with-x or --without-x was given. 4635# Check whether --with-x or --without-x was given.
5169if test "${with_x+set}" = set; then 4636if test "${with_x+set}" = set; then
5170 withval="$with_x" 4637 withval="$with_x"
5171 4638
5254 4721
5255/usr/openwin/include 4722/usr/openwin/include
5256/usr/openwin/share/include' 4723/usr/openwin/share/include'
5257 4724
5258if test "$ac_x_includes" = no; then 4725if test "$ac_x_includes" = no; then
5259 # Guess where to find include files, by looking for a specified header file. 4726 # Guess where to find include files, by looking for Intrinsic.h.
5260 # First, try using that file with no special directory specified. 4727 # First, try using that file with no special directory specified.
5261 cat >conftest.$ac_ext <<_ACEOF 4728 cat >conftest.$ac_ext <<_ACEOF
5262/* confdefs.h. */ 4729/* confdefs.h. */
5263_ACEOF 4730_ACEOF
5264cat confdefs.h >>conftest.$ac_ext 4731cat confdefs.h >>conftest.$ac_ext
5265cat >>conftest.$ac_ext <<_ACEOF 4732cat >>conftest.$ac_ext <<_ACEOF
5266/* end confdefs.h. */ 4733/* end confdefs.h. */
5267#include <X11/Xlib.h> 4734#include <X11/Intrinsic.h>
5268_ACEOF 4735_ACEOF
5269if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4736if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4737 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5271 ac_status=$? 4738 ac_status=$?
5272 grep -v '^ *+' conftest.er1 >conftest.err 4739 grep -v '^ *+' conftest.er1 >conftest.err
5289else 4756else
5290 echo "$as_me: failed program was:" >&5 4757 echo "$as_me: failed program was:" >&5
5291sed 's/^/| /' conftest.$ac_ext >&5 4758sed 's/^/| /' conftest.$ac_ext >&5
5292 4759
5293 for ac_dir in $ac_x_header_dirs; do 4760 for ac_dir in $ac_x_header_dirs; do
5294 if test -r "$ac_dir/X11/Xlib.h"; then 4761 if test -r "$ac_dir/X11/Intrinsic.h"; then
5295 ac_x_includes=$ac_dir 4762 ac_x_includes=$ac_dir
5296 break 4763 break
5297 fi 4764 fi
5298done 4765done
5299fi 4766fi
5303if test "$ac_x_libraries" = no; then 4770if test "$ac_x_libraries" = no; then
5304 # Check for the libraries. 4771 # Check for the libraries.
5305 # See if we find them without any special options. 4772 # See if we find them without any special options.
5306 # Don't add to $LIBS permanently. 4773 # Don't add to $LIBS permanently.
5307 ac_save_LIBS=$LIBS 4774 ac_save_LIBS=$LIBS
5308 LIBS="-lX11 $LIBS" 4775 LIBS="-lXt $LIBS"
5309 cat >conftest.$ac_ext <<_ACEOF 4776 cat >conftest.$ac_ext <<_ACEOF
5310/* confdefs.h. */ 4777/* confdefs.h. */
5311_ACEOF 4778_ACEOF
5312cat confdefs.h >>conftest.$ac_ext 4779cat confdefs.h >>conftest.$ac_ext
5313cat >>conftest.$ac_ext <<_ACEOF 4780cat >>conftest.$ac_ext <<_ACEOF
5314/* end confdefs.h. */ 4781/* end confdefs.h. */
5315#include <X11/Xlib.h> 4782#include <X11/Intrinsic.h>
5316int 4783int
5317main () 4784main ()
5318{ 4785{
5319XrmInitialize () 4786XtMalloc (0)
5320 ; 4787 ;
5321 return 0; 4788 return 0;
5322} 4789}
5323_ACEOF 4790_ACEOF
5324rm -f conftest.$ac_objext conftest$ac_exeext 4791rm -f conftest.$ac_objext conftest$ac_exeext
5328 grep -v '^ *+' conftest.er1 >conftest.err 4795 grep -v '^ *+' conftest.er1 >conftest.err
5329 rm -f conftest.er1 4796 rm -f conftest.er1
5330 cat conftest.err >&5 4797 cat conftest.err >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); } && 4799 (exit $ac_status); } &&
5333 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 4800 { ac_try='test -z "$ac_cxx_werror_flag"
4801 || test ! -s conftest.err'
5334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5335 (eval $ac_try) 2>&5 4803 (eval $ac_try) 2>&5
5336 ac_status=$? 4804 ac_status=$?
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); }; } && 4806 (exit $ac_status); }; } &&
5352LIBS=$ac_save_LIBS 4820LIBS=$ac_save_LIBS
5353for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 4821for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5354do 4822do
5355 # Don't even attempt the hair of trying to link an X program! 4823 # Don't even attempt the hair of trying to link an X program!
5356 for ac_extension in a so sl; do 4824 for ac_extension in a so sl; do
5357 if test -r $ac_dir/libX11.$ac_extension; then 4825 if test -r $ac_dir/libXt.$ac_extension; then
5358 ac_x_libraries=$ac_dir 4826 ac_x_libraries=$ac_dir
5359 break 2 4827 break 2
5360 fi 4828 fi
5361 done 4829 done
5362done 4830done
5388 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 4856 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5389 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 4857 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5390 # Update the cache value to reflect the command line values. 4858 # Update the cache value to reflect the command line values.
5391 ac_cv_have_x="have_x=yes \ 4859 ac_cv_have_x="have_x=yes \
5392 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 4860 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5393 # It might be that x_includes is empty (headers are found in the
5394 # standard search path. Then output the corresponding message
5395 ac_out_x_includes=$x_includes
5396 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
5397 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 4861 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5398echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 4862echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5399fi 4863fi
5400 4864
5401fi
5402if test "$no_x" = yes; then 4865if test "$no_x" = yes; then
5403 # Not all programs may use this symbol, but it does not hurt to define it. 4866 # Not all programs may use this symbol, but it does not hurt to define it.
5404 4867
5405cat >>confdefs.h <<\_ACEOF 4868cat >>confdefs.h <<\_ACEOF
5406#define X_DISPLAY_MISSING 1 4869#define X_DISPLAY_MISSING 1
5444 grep -v '^ *+' conftest.er1 >conftest.err 4907 grep -v '^ *+' conftest.er1 >conftest.err
5445 rm -f conftest.er1 4908 rm -f conftest.er1
5446 cat conftest.err >&5 4909 cat conftest.err >&5
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); } && 4911 (exit $ac_status); } &&
5449 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 4912 { ac_try='test -z "$ac_cxx_werror_flag"
4913 || test ! -s conftest.err'
5450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5451 (eval $ac_try) 2>&5 4915 (eval $ac_try) 2>&5
5452 ac_status=$? 4916 ac_status=$?
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); }; } && 4918 (exit $ac_status); }; } &&
5495 grep -v '^ *+' conftest.er1 >conftest.err 4959 grep -v '^ *+' conftest.er1 >conftest.err
5496 rm -f conftest.er1 4960 rm -f conftest.er1
5497 cat conftest.err >&5 4961 cat conftest.err >&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } && 4963 (exit $ac_status); } &&
5500 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 4964 { ac_try='test -z "$ac_cxx_werror_flag"
4965 || test ! -s conftest.err'
5501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5502 (eval $ac_try) 2>&5 4967 (eval $ac_try) 2>&5
5503 ac_status=$? 4968 ac_status=$?
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); }; } && 4970 (exit $ac_status); }; } &&
5571 grep -v '^ *+' conftest.er1 >conftest.err 5036 grep -v '^ *+' conftest.er1 >conftest.err
5572 rm -f conftest.er1 5037 rm -f conftest.er1
5573 cat conftest.err >&5 5038 cat conftest.err >&5
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); } && 5040 (exit $ac_status); } &&
5576 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5041 { ac_try='test -z "$ac_cxx_werror_flag"
5042 || test ! -s conftest.err'
5577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5578 (eval $ac_try) 2>&5 5044 (eval $ac_try) 2>&5
5579 ac_status=$? 5045 ac_status=$?
5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581 (exit $ac_status); }; } && 5047 (exit $ac_status); }; } &&
5626 grep -v '^ *+' conftest.er1 >conftest.err 5092 grep -v '^ *+' conftest.er1 >conftest.err
5627 rm -f conftest.er1 5093 rm -f conftest.er1
5628 cat conftest.err >&5 5094 cat conftest.err >&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); } && 5096 (exit $ac_status); } &&
5631 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5097 { ac_try='test -z "$ac_cxx_werror_flag"
5098 || test ! -s conftest.err'
5632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5633 (eval $ac_try) 2>&5 5100 (eval $ac_try) 2>&5
5634 ac_status=$? 5101 ac_status=$?
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); }; } && 5103 (exit $ac_status); }; } &&
5694 grep -v '^ *+' conftest.er1 >conftest.err 5161 grep -v '^ *+' conftest.er1 >conftest.err
5695 rm -f conftest.er1 5162 rm -f conftest.er1
5696 cat conftest.err >&5 5163 cat conftest.err >&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); } && 5165 (exit $ac_status); } &&
5699 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5166 { ac_try='test -z "$ac_cxx_werror_flag"
5167 || test ! -s conftest.err'
5700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5701 (eval $ac_try) 2>&5 5169 (eval $ac_try) 2>&5
5702 ac_status=$? 5170 ac_status=$?
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); }; } && 5172 (exit $ac_status); }; } &&
5802 grep -v '^ *+' conftest.er1 >conftest.err 5270 grep -v '^ *+' conftest.er1 >conftest.err
5803 rm -f conftest.er1 5271 rm -f conftest.er1
5804 cat conftest.err >&5 5272 cat conftest.err >&5
5805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 (exit $ac_status); } && 5274 (exit $ac_status); } &&
5807 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5275 { ac_try='test -z "$ac_cxx_werror_flag"
5276 || test ! -s conftest.err'
5808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5809 (eval $ac_try) 2>&5 5278 (eval $ac_try) 2>&5
5810 ac_status=$? 5279 ac_status=$?
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); }; } && 5281 (exit $ac_status); }; } &&
5866 grep -v '^ *+' conftest.er1 >conftest.err 5335 grep -v '^ *+' conftest.er1 >conftest.err
5867 rm -f conftest.er1 5336 rm -f conftest.er1
5868 cat conftest.err >&5 5337 cat conftest.err >&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); } && 5339 (exit $ac_status); } &&
5871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5340 { ac_try='test -z "$ac_cxx_werror_flag"
5341 || test ! -s conftest.err'
5872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873 (eval $ac_try) 2>&5 5343 (eval $ac_try) 2>&5
5874 ac_status=$? 5344 ac_status=$?
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); }; } && 5346 (exit $ac_status); }; } &&
5934 grep -v '^ *+' conftest.er1 >conftest.err 5404 grep -v '^ *+' conftest.er1 >conftest.err
5935 rm -f conftest.er1 5405 rm -f conftest.er1
5936 cat conftest.err >&5 5406 cat conftest.err >&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); } && 5408 (exit $ac_status); } &&
5939 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5409 { ac_try='test -z "$ac_cxx_werror_flag"
5410 || test ! -s conftest.err'
5940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 (eval $ac_try) 2>&5 5412 (eval $ac_try) 2>&5
5942 ac_status=$? 5413 ac_status=$?
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); }; } && 5415 (exit $ac_status); }; } &&
6038 grep -v '^ *+' conftest.er1 >conftest.err 5509 grep -v '^ *+' conftest.er1 >conftest.err
6039 rm -f conftest.er1 5510 rm -f conftest.er1
6040 cat conftest.err >&5 5511 cat conftest.err >&5
6041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6042 (exit $ac_status); } && 5513 (exit $ac_status); } &&
6043 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5514 { ac_try='test -z "$ac_cxx_werror_flag"
5515 || test ! -s conftest.err'
6044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6045 (eval $ac_try) 2>&5 5517 (eval $ac_try) 2>&5
6046 ac_status=$? 5518 ac_status=$?
6047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048 (exit $ac_status); }; } && 5520 (exit $ac_status); }; } &&
6102 grep -v '^ *+' conftest.er1 >conftest.err 5574 grep -v '^ *+' conftest.er1 >conftest.err
6103 rm -f conftest.er1 5575 rm -f conftest.er1
6104 cat conftest.err >&5 5576 cat conftest.err >&5
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); } && 5578 (exit $ac_status); } &&
6107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5579 { ac_try='test -z "$ac_cxx_werror_flag"
5580 || test ! -s conftest.err'
6108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6109 (eval $ac_try) 2>&5 5582 (eval $ac_try) 2>&5
6110 ac_status=$? 5583 ac_status=$?
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); }; } && 5585 (exit $ac_status); }; } &&
6199 grep -v '^ *+' conftest.er1 >conftest.err 5672 grep -v '^ *+' conftest.er1 >conftest.err
6200 rm -f conftest.er1 5673 rm -f conftest.er1
6201 cat conftest.err >&5 5674 cat conftest.err >&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); } && 5676 (exit $ac_status); } &&
6204 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5677 { ac_try='test -z "$ac_cxx_werror_flag"
5678 || test ! -s conftest.err'
6205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6206 (eval $ac_try) 2>&5 5680 (eval $ac_try) 2>&5
6207 ac_status=$? 5681 ac_status=$?
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); }; } && 5683 (exit $ac_status); }; } &&
6263 grep -v '^ *+' conftest.er1 >conftest.err 5737 grep -v '^ *+' conftest.er1 >conftest.err
6264 rm -f conftest.er1 5738 rm -f conftest.er1
6265 cat conftest.err >&5 5739 cat conftest.err >&5
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); } && 5741 (exit $ac_status); } &&
6268 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5742 { ac_try='test -z "$ac_cxx_werror_flag"
5743 || test ! -s conftest.err'
6269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270 (eval $ac_try) 2>&5 5745 (eval $ac_try) 2>&5
6271 ac_status=$? 5746 ac_status=$?
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); }; } && 5748 (exit $ac_status); }; } &&
6360 grep -v '^ *+' conftest.er1 >conftest.err 5835 grep -v '^ *+' conftest.er1 >conftest.err
6361 rm -f conftest.er1 5836 rm -f conftest.er1
6362 cat conftest.err >&5 5837 cat conftest.err >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } && 5839 (exit $ac_status); } &&
6365 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5840 { ac_try='test -z "$ac_cxx_werror_flag"
5841 || test ! -s conftest.err'
6366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367 (eval $ac_try) 2>&5 5843 (eval $ac_try) 2>&5
6368 ac_status=$? 5844 ac_status=$?
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; } && 5846 (exit $ac_status); }; } &&
6424 grep -v '^ *+' conftest.er1 >conftest.err 5900 grep -v '^ *+' conftest.er1 >conftest.err
6425 rm -f conftest.er1 5901 rm -f conftest.er1
6426 cat conftest.err >&5 5902 cat conftest.err >&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } && 5904 (exit $ac_status); } &&
6429 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5905 { ac_try='test -z "$ac_cxx_werror_flag"
5906 || test ! -s conftest.err'
6430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6431 (eval $ac_try) 2>&5 5908 (eval $ac_try) 2>&5
6432 ac_status=$? 5909 ac_status=$?
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); }; } && 5911 (exit $ac_status); }; } &&
6503 grep -v '^ *+' conftest.er1 >conftest.err 5980 grep -v '^ *+' conftest.er1 >conftest.err
6504 rm -f conftest.er1 5981 rm -f conftest.er1
6505 cat conftest.err >&5 5982 cat conftest.err >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } && 5984 (exit $ac_status); } &&
6508 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5985 { ac_try='test -z "$ac_cxx_werror_flag"
5986 || test ! -s conftest.err'
6509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510 (eval $ac_try) 2>&5 5988 (eval $ac_try) 2>&5
6511 ac_status=$? 5989 ac_status=$?
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); }; } && 5991 (exit $ac_status); }; } &&
6538 6016
6539fi 6017fi
6540 6018
6541 6019
6542 6020
6021LIBAFTERIMAGE_CFLAGS=
6022AFTERIMAGE_LIBS=
6023have_afterimage=
6024
6543if test x$support_xpm = xyes; then 6025if test x$support_afterimage = xyes; then
6026 support_afterimage=no
6027
6028 if test "x$afterimage_config" = "x" ; then
6029 # Extract the first word of "afterimage-config", so it can be a program name with args.
6030set dummy afterimage-config; ac_word=$2
6031echo "$as_me:$LINENO: checking for $ac_word" >&5
6032echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6033if test "${ac_cv_path_afterimage_config+set}" = set; then
6034 echo $ECHO_N "(cached) $ECHO_C" >&6
6035else
6036 case $afterimage_config in
6037 [\\/]* | ?:[\\/]*)
6038 ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path.
6039 ;;
6040 *)
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042for as_dir in $PATH
6043do
6044 IFS=$as_save_IFS
6045 test -z "$as_dir" && as_dir=.
6046 for ac_exec_ext in '' $ac_executable_extensions; do
6047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6048 ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext"
6049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6050 break 2
6051 fi
6052done
6053done
6054
6055 test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no"
6056 ;;
6057esac
6058fi
6059afterimage_config=$ac_cv_path_afterimage_config
6060
6061if test -n "$afterimage_config"; then
6062 echo "$as_me:$LINENO: result: $afterimage_config" >&5
6063echo "${ECHO_T}$afterimage_config" >&6
6064else
6065 echo "$as_me:$LINENO: result: no" >&5
6066echo "${ECHO_T}no" >&6
6067fi
6068
6069 fi
6070
6071 echo "$as_me:$LINENO: checking for libAfterImage" >&5
6072echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6
6073 if $afterimage_config --version >/dev/null 2>&1 ; then
6074 LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags`
6075 AFTERIMAGE_LIBS=`$afterimage_config --libs`
6076 if test "x$AFTERIMAGE_LIBS" != "x"; then
6077 support_afterimage=yes
6078 fi
6079 fi
6080
6081 if test "x$support_afterimage" = "xyes"; then
6082 echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5
6083echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6
6084 else
6085 echo "$as_me:$LINENO: result: no" >&5
6086echo "${ECHO_T}no" >&6
6087 fi
6088fi
6089
6090if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then
6544 6091
6545 6092
6546 6093
6547# Initialize some more variables set by options. 6094# Initialize some more variables set by options.
6548# The variables have the same names as the options, with 6095# The variables have the same names as the options, with
6719 grep -v '^ *+' conftest.er1 >conftest.err 6266 grep -v '^ *+' conftest.er1 >conftest.err
6720 rm -f conftest.er1 6267 rm -f conftest.er1
6721 cat conftest.err >&5 6268 cat conftest.err >&5
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); } && 6270 (exit $ac_status); } &&
6724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6271 { ac_try='test -z "$ac_cxx_werror_flag"
6272 || test ! -s conftest.err'
6725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6726 (eval $ac_try) 2>&5 6274 (eval $ac_try) 2>&5
6727 ac_status=$? 6275 ac_status=$?
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); }; } && 6277 (exit $ac_status); }; } &&
6933 grep -v '^ *+' conftest.er1 >conftest.err 6481 grep -v '^ *+' conftest.er1 >conftest.err
6934 rm -f conftest.er1 6482 rm -f conftest.er1
6935 cat conftest.err >&5 6483 cat conftest.err >&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } && 6485 (exit $ac_status); } &&
6938 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6486 { ac_try='test -z "$ac_cxx_werror_flag"
6487 || test ! -s conftest.err'
6939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6940 (eval $ac_try) 2>&5 6489 (eval $ac_try) 2>&5
6941 ac_status=$? 6490 ac_status=$?
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); }; } && 6492 (exit $ac_status); }; } &&
6997 grep -v '^ *+' conftest.er1 >conftest.err 6546 grep -v '^ *+' conftest.er1 >conftest.err
6998 rm -f conftest.er1 6547 rm -f conftest.er1
6999 cat conftest.err >&5 6548 cat conftest.err >&5
7000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001 (exit $ac_status); } && 6550 (exit $ac_status); } &&
7002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6551 { ac_try='test -z "$ac_cxx_werror_flag"
6552 || test ! -s conftest.err'
7003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7004 (eval $ac_try) 2>&5 6554 (eval $ac_try) 2>&5
7005 ac_status=$? 6555 ac_status=$?
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); }; } && 6557 (exit $ac_status); }; } &&
7167 grep -v '^ *+' conftest.er1 >conftest.err 6717 grep -v '^ *+' conftest.er1 >conftest.err
7168 rm -f conftest.er1 6718 rm -f conftest.er1
7169 cat conftest.err >&5 6719 cat conftest.err >&5
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); } && 6721 (exit $ac_status); } &&
7172 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6722 { ac_try='test -z "$ac_cxx_werror_flag"
6723 || test ! -s conftest.err'
7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7174 (eval $ac_try) 2>&5 6725 (eval $ac_try) 2>&5
7175 ac_status=$? 6726 ac_status=$?
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); }; } && 6728 (exit $ac_status); }; } &&
7268 grep -v '^ *+' conftest.er1 >conftest.err 6819 grep -v '^ *+' conftest.er1 >conftest.err
7269 rm -f conftest.er1 6820 rm -f conftest.er1
7270 cat conftest.err >&5 6821 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && 6823 (exit $ac_status); } &&
7273 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6824 { ac_try='test -z "$ac_cxx_werror_flag"
6825 || test ! -s conftest.err'
7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275 (eval $ac_try) 2>&5 6827 (eval $ac_try) 2>&5
7276 ac_status=$? 6828 ac_status=$?
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); }; } && 6830 (exit $ac_status); }; } &&
7417 grep -v '^ *+' conftest.er1 >conftest.err 6969 grep -v '^ *+' conftest.er1 >conftest.err
7418 rm -f conftest.er1 6970 rm -f conftest.er1
7419 cat conftest.err >&5 6971 cat conftest.err >&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); } && 6973 (exit $ac_status); } &&
7422 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6974 { ac_try='test -z "$ac_cxx_werror_flag"
6975 || test ! -s conftest.err'
7423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7424 (eval $ac_try) 2>&5 6977 (eval $ac_try) 2>&5
7425 ac_status=$? 6978 ac_status=$?
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); }; } && 6980 (exit $ac_status); }; } &&
7482 grep -v '^ *+' conftest.er1 >conftest.err 7035 grep -v '^ *+' conftest.er1 >conftest.err
7483 rm -f conftest.er1 7036 rm -f conftest.er1
7484 cat conftest.err >&5 7037 cat conftest.err >&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); } && 7039 (exit $ac_status); } &&
7487 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7040 { ac_try='test -z "$ac_cxx_werror_flag"
7041 || test ! -s conftest.err'
7488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7489 (eval $ac_try) 2>&5 7043 (eval $ac_try) 2>&5
7490 ac_status=$? 7044 ac_status=$?
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); }; } && 7046 (exit $ac_status); }; } &&
7532/* confdefs.h. */ 7086/* confdefs.h. */
7533_ACEOF 7087_ACEOF
7534cat confdefs.h >>conftest.$ac_ext 7088cat confdefs.h >>conftest.$ac_ext
7535cat >>conftest.$ac_ext <<_ACEOF 7089cat >>conftest.$ac_ext <<_ACEOF
7536/* end confdefs.h. */ 7090/* end confdefs.h. */
7537 7091#include <X11/Xlib.h>
7092#include <stdlib.h>
7538main() 7093main()
7539{ 7094{
7540 exit(0); 7095 exit(0);
7541 (void) XOpenDisplay("foobar"); 7096 (void) XOpenDisplay("foobar");
7542} 7097}
7581/* confdefs.h. */ 7136/* confdefs.h. */
7582_ACEOF 7137_ACEOF
7583cat confdefs.h >>conftest.$ac_ext 7138cat confdefs.h >>conftest.$ac_ext
7584cat >>conftest.$ac_ext <<_ACEOF 7139cat >>conftest.$ac_ext <<_ACEOF
7585/* end confdefs.h. */ 7140/* end confdefs.h. */
7586 7141#include <X11/Xlib.h>
7142#include <stdlib.h>
7587main() 7143main()
7588{ 7144{
7589 exit(0); 7145 exit(0);
7590 (void) XOpenDisplay("foobar"); 7146 (void) XOpenDisplay("foobar");
7591} 7147}
7647 grep -v '^ *+' conftest.er1 >conftest.err 7203 grep -v '^ *+' conftest.er1 >conftest.err
7648 rm -f conftest.er1 7204 rm -f conftest.er1
7649 cat conftest.err >&5 7205 cat conftest.err >&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); } && 7207 (exit $ac_status); } &&
7652 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7208 { ac_try='test -z "$ac_cxx_werror_flag"
7209 || test ! -s conftest.err'
7653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7654 (eval $ac_try) 2>&5 7211 (eval $ac_try) 2>&5
7655 ac_status=$? 7212 ac_status=$?
7656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7657 (exit $ac_status); }; } && 7214 (exit $ac_status); }; } &&
7680 7237
7681fi 7238fi
7682LIBS=$ac_save_LIBS 7239LIBS=$ac_save_LIBS
7683CFLAGS=$ac_save_CFLAGS 7240CFLAGS=$ac_save_CFLAGS
7684 7241
7242echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7243echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6
7244if test "${rxvt_xlib_illegal_access+set}" = set; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6
7246else
7247 cat >conftest.$ac_ext <<_ACEOF
7248/* confdefs.h. */
7249_ACEOF
7250cat confdefs.h >>conftest.$ac_ext
7251cat >>conftest.$ac_ext <<_ACEOF
7252/* end confdefs.h. */
7253
7254#define XLIB_ILLEGAL_ACCESS
7255#include <X11/Xlib.h>
7256
7257int
7258main ()
7259{
7260
7261 Display *dpy;
7262 dpy->xdefaults = (char *)0;
7263
7264 ;
7265 return 0;
7266}
7267_ACEOF
7268rm -f conftest.$ac_objext
7269if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7270 (eval $ac_compile) 2>conftest.er1
7271 ac_status=$?
7272 grep -v '^ *+' conftest.er1 >conftest.err
7273 rm -f conftest.er1
7274 cat conftest.err >&5
7275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); } &&
7277 { ac_try='test -z "$ac_cxx_werror_flag"
7278 || test ! -s conftest.err'
7279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7280 (eval $ac_try) 2>&5
7281 ac_status=$?
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); }; } &&
7284 { ac_try='test -s conftest.$ac_objext'
7285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 (eval $ac_try) 2>&5
7287 ac_status=$?
7288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7289 (exit $ac_status); }; }; then
7290 rxvt_xlib_illegal_access=yes
7291else
7292 echo "$as_me: failed program was:" >&5
7293sed 's/^/| /' conftest.$ac_ext >&5
7294
7295rxvt_xlib_illegal_access=no
7296
7297fi
7298rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7299fi
7300echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5
7301echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6
7302if test x$rxvt_xlib_illegal_access = xyes; then
7303
7304cat >>confdefs.h <<\_ACEOF
7305#define XLIB_ILLEGAL_ACCESS 1
7306_ACEOF
7307
7308fi
7685 7309
7686echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7310echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7687echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7311echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7688if test "${ac_cv_c_const+set}" = set; then 7312if test "${ac_cv_c_const+set}" = set; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6 7313 echo $ECHO_N "(cached) $ECHO_C" >&6
7756 grep -v '^ *+' conftest.er1 >conftest.err 7380 grep -v '^ *+' conftest.er1 >conftest.err
7757 rm -f conftest.er1 7381 rm -f conftest.er1
7758 cat conftest.err >&5 7382 cat conftest.err >&5
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); } && 7384 (exit $ac_status); } &&
7761 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7385 { ac_try='test -z "$ac_cxx_werror_flag"
7386 || test ! -s conftest.err'
7762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7763 (eval $ac_try) 2>&5 7388 (eval $ac_try) 2>&5
7764 ac_status=$? 7389 ac_status=$?
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); }; } && 7391 (exit $ac_status); }; } &&
7816 grep -v '^ *+' conftest.er1 >conftest.err 7441 grep -v '^ *+' conftest.er1 >conftest.err
7817 rm -f conftest.er1 7442 rm -f conftest.er1
7818 cat conftest.err >&5 7443 cat conftest.err >&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); } && 7445 (exit $ac_status); } &&
7821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7446 { ac_try='test -z "$ac_cxx_werror_flag"
7447 || test ! -s conftest.err'
7822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7823 (eval $ac_try) 2>&5 7449 (eval $ac_try) 2>&5
7824 ac_status=$? 7450 ac_status=$?
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); }; } && 7452 (exit $ac_status); }; } &&
7891 grep -v '^ *+' conftest.er1 >conftest.err 7517 grep -v '^ *+' conftest.er1 >conftest.err
7892 rm -f conftest.er1 7518 rm -f conftest.er1
7893 cat conftest.err >&5 7519 cat conftest.err >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); } && 7521 (exit $ac_status); } &&
7896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7522 { ac_try='test -z "$ac_cxx_werror_flag"
7523 || test ! -s conftest.err'
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7898 (eval $ac_try) 2>&5 7525 (eval $ac_try) 2>&5
7899 ac_status=$? 7526 ac_status=$?
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; } && 7528 (exit $ac_status); }; } &&
7956 grep -v '^ *+' conftest.er1 >conftest.err 7583 grep -v '^ *+' conftest.er1 >conftest.err
7957 rm -f conftest.er1 7584 rm -f conftest.er1
7958 cat conftest.err >&5 7585 cat conftest.err >&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); } && 7587 (exit $ac_status); } &&
7961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7588 { ac_try='test -z "$ac_cxx_werror_flag"
7589 || test ! -s conftest.err'
7962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7963 (eval $ac_try) 2>&5 7591 (eval $ac_try) 2>&5
7964 ac_status=$? 7592 ac_status=$?
7965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966 (exit $ac_status); }; } && 7594 (exit $ac_status); }; } &&
8060 grep -v '^ *+' conftest.er1 >conftest.err 7688 grep -v '^ *+' conftest.er1 >conftest.err
8061 rm -f conftest.er1 7689 rm -f conftest.er1
8062 cat conftest.err >&5 7690 cat conftest.err >&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); } && 7692 (exit $ac_status); } &&
8065 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7693 { ac_try='test -z "$ac_cxx_werror_flag"
7694 || test ! -s conftest.err'
8066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8067 (eval $ac_try) 2>&5 7696 (eval $ac_try) 2>&5
8068 ac_status=$? 7697 ac_status=$?
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); }; } && 7699 (exit $ac_status); }; } &&
8122 grep -v '^ *+' conftest.er1 >conftest.err 7751 grep -v '^ *+' conftest.er1 >conftest.err
8123 rm -f conftest.er1 7752 rm -f conftest.er1
8124 cat conftest.err >&5 7753 cat conftest.err >&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); } && 7755 (exit $ac_status); } &&
8127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7756 { ac_try='test -z "$ac_cxx_werror_flag"
7757 || test ! -s conftest.err'
8128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8129 (eval $ac_try) 2>&5 7759 (eval $ac_try) 2>&5
8130 ac_status=$? 7760 ac_status=$?
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); }; } && 7762 (exit $ac_status); }; } &&
8162 grep -v '^ *+' conftest.er1 >conftest.err 7792 grep -v '^ *+' conftest.er1 >conftest.err
8163 rm -f conftest.er1 7793 rm -f conftest.er1
8164 cat conftest.err >&5 7794 cat conftest.err >&5
8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166 (exit $ac_status); } && 7796 (exit $ac_status); } &&
8167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7797 { ac_try='test -z "$ac_cxx_werror_flag"
7798 || test ! -s conftest.err'
8168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8169 (eval $ac_try) 2>&5 7800 (eval $ac_try) 2>&5
8170 ac_status=$? 7801 ac_status=$?
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); }; } && 7803 (exit $ac_status); }; } &&
8218 grep -v '^ *+' conftest.er1 >conftest.err 7849 grep -v '^ *+' conftest.er1 >conftest.err
8219 rm -f conftest.er1 7850 rm -f conftest.er1
8220 cat conftest.err >&5 7851 cat conftest.err >&5
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); } && 7853 (exit $ac_status); } &&
8223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7854 { ac_try='test -z "$ac_cxx_werror_flag"
7855 || test ! -s conftest.err'
8224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 (eval $ac_try) 2>&5 7857 (eval $ac_try) 2>&5
8226 ac_status=$? 7858 ac_status=$?
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); }; } && 7860 (exit $ac_status); }; } &&
8258 grep -v '^ *+' conftest.er1 >conftest.err 7890 grep -v '^ *+' conftest.er1 >conftest.err
8259 rm -f conftest.er1 7891 rm -f conftest.er1
8260 cat conftest.err >&5 7892 cat conftest.err >&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); } && 7894 (exit $ac_status); } &&
8263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7895 { ac_try='test -z "$ac_cxx_werror_flag"
7896 || test ! -s conftest.err'
8264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8265 (eval $ac_try) 2>&5 7898 (eval $ac_try) 2>&5
8266 ac_status=$? 7899 ac_status=$?
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); }; } && 7901 (exit $ac_status); }; } &&
8322 grep -v '^ *+' conftest.er1 >conftest.err 7955 grep -v '^ *+' conftest.er1 >conftest.err
8323 rm -f conftest.er1 7956 rm -f conftest.er1
8324 cat conftest.err >&5 7957 cat conftest.err >&5
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); } && 7959 (exit $ac_status); } &&
8327 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7960 { ac_try='test -z "$ac_cxx_werror_flag"
7961 || test ! -s conftest.err'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329 (eval $ac_try) 2>&5 7963 (eval $ac_try) 2>&5
8330 ac_status=$? 7964 ac_status=$?
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; } && 7966 (exit $ac_status); }; } &&
8353See \`config.log' for more details." >&2;} 7987See \`config.log' for more details." >&2;}
8354 { (exit 1); exit 1; }; } ;; 7988 { (exit 1); exit 1; }; } ;;
8355esac 7989esac
8356else 7990else
8357 if test "$cross_compiling" = yes; then 7991 if test "$cross_compiling" = yes; then
8358 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 7992 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8359echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 7993See \`config.log' for more details." >&5
7994echo "$as_me: error: cannot run test program while cross compiling
7995See \`config.log' for more details." >&2;}
8360 { (exit 1); exit 1; }; } 7996 { (exit 1); exit 1; }; }
8361else 7997else
8362 cat >conftest.$ac_ext <<_ACEOF 7998 cat >conftest.$ac_ext <<_ACEOF
8363/* confdefs.h. */ 7999/* confdefs.h. */
8364_ACEOF 8000_ACEOF
8466 grep -v '^ *+' conftest.er1 >conftest.err 8102 grep -v '^ *+' conftest.er1 >conftest.err
8467 rm -f conftest.er1 8103 rm -f conftest.er1
8468 cat conftest.err >&5 8104 cat conftest.err >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); } && 8106 (exit $ac_status); } &&
8471 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8107 { ac_try='test -z "$ac_cxx_werror_flag"
8108 || test ! -s conftest.err'
8472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8473 (eval $ac_try) 2>&5 8110 (eval $ac_try) 2>&5
8474 ac_status=$? 8111 ac_status=$?
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); }; } && 8113 (exit $ac_status); }; } &&
8528 grep -v '^ *+' conftest.er1 >conftest.err 8165 grep -v '^ *+' conftest.er1 >conftest.err
8529 rm -f conftest.er1 8166 rm -f conftest.er1
8530 cat conftest.err >&5 8167 cat conftest.err >&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); } && 8169 (exit $ac_status); } &&
8533 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8170 { ac_try='test -z "$ac_cxx_werror_flag"
8171 || test ! -s conftest.err'
8534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535 (eval $ac_try) 2>&5 8173 (eval $ac_try) 2>&5
8536 ac_status=$? 8174 ac_status=$?
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }; } && 8176 (exit $ac_status); }; } &&
8568 grep -v '^ *+' conftest.er1 >conftest.err 8206 grep -v '^ *+' conftest.er1 >conftest.err
8569 rm -f conftest.er1 8207 rm -f conftest.er1
8570 cat conftest.err >&5 8208 cat conftest.err >&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); } && 8210 (exit $ac_status); } &&
8573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8211 { ac_try='test -z "$ac_cxx_werror_flag"
8212 || test ! -s conftest.err'
8574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8575 (eval $ac_try) 2>&5 8214 (eval $ac_try) 2>&5
8576 ac_status=$? 8215 ac_status=$?
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); }; } && 8217 (exit $ac_status); }; } &&
8624 grep -v '^ *+' conftest.er1 >conftest.err 8263 grep -v '^ *+' conftest.er1 >conftest.err
8625 rm -f conftest.er1 8264 rm -f conftest.er1
8626 cat conftest.err >&5 8265 cat conftest.err >&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); } && 8267 (exit $ac_status); } &&
8629 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8268 { ac_try='test -z "$ac_cxx_werror_flag"
8269 || test ! -s conftest.err'
8630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8631 (eval $ac_try) 2>&5 8271 (eval $ac_try) 2>&5
8632 ac_status=$? 8272 ac_status=$?
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); }; } && 8274 (exit $ac_status); }; } &&
8664 grep -v '^ *+' conftest.er1 >conftest.err 8304 grep -v '^ *+' conftest.er1 >conftest.err
8665 rm -f conftest.er1 8305 rm -f conftest.er1
8666 cat conftest.err >&5 8306 cat conftest.err >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } && 8308 (exit $ac_status); } &&
8669 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8309 { ac_try='test -z "$ac_cxx_werror_flag"
8310 || test ! -s conftest.err'
8670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8671 (eval $ac_try) 2>&5 8312 (eval $ac_try) 2>&5
8672 ac_status=$? 8313 ac_status=$?
8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674 (exit $ac_status); }; } && 8315 (exit $ac_status); }; } &&
8728 grep -v '^ *+' conftest.er1 >conftest.err 8369 grep -v '^ *+' conftest.er1 >conftest.err
8729 rm -f conftest.er1 8370 rm -f conftest.er1
8730 cat conftest.err >&5 8371 cat conftest.err >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); } && 8373 (exit $ac_status); } &&
8733 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8374 { ac_try='test -z "$ac_cxx_werror_flag"
8375 || test ! -s conftest.err'
8734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8735 (eval $ac_try) 2>&5 8377 (eval $ac_try) 2>&5
8736 ac_status=$? 8378 ac_status=$?
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); }; } && 8380 (exit $ac_status); }; } &&
8759See \`config.log' for more details." >&2;} 8401See \`config.log' for more details." >&2;}
8760 { (exit 1); exit 1; }; } ;; 8402 { (exit 1); exit 1; }; } ;;
8761esac 8403esac
8762else 8404else
8763 if test "$cross_compiling" = yes; then 8405 if test "$cross_compiling" = yes; then
8764 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8406 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8765echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8407See \`config.log' for more details." >&5
8408echo "$as_me: error: cannot run test program while cross compiling
8409See \`config.log' for more details." >&2;}
8766 { (exit 1); exit 1; }; } 8410 { (exit 1); exit 1; }; }
8767else 8411else
8768 cat >conftest.$ac_ext <<_ACEOF 8412 cat >conftest.$ac_ext <<_ACEOF
8769/* confdefs.h. */ 8413/* confdefs.h. */
8770_ACEOF 8414_ACEOF
8872 grep -v '^ *+' conftest.er1 >conftest.err 8516 grep -v '^ *+' conftest.er1 >conftest.err
8873 rm -f conftest.er1 8517 rm -f conftest.er1
8874 cat conftest.err >&5 8518 cat conftest.err >&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); } && 8520 (exit $ac_status); } &&
8877 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8521 { ac_try='test -z "$ac_cxx_werror_flag"
8522 || test ! -s conftest.err'
8878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8879 (eval $ac_try) 2>&5 8524 (eval $ac_try) 2>&5
8880 ac_status=$? 8525 ac_status=$?
8881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882 (exit $ac_status); }; } && 8527 (exit $ac_status); }; } &&
8934 grep -v '^ *+' conftest.er1 >conftest.err 8579 grep -v '^ *+' conftest.er1 >conftest.err
8935 rm -f conftest.er1 8580 rm -f conftest.er1
8936 cat conftest.err >&5 8581 cat conftest.err >&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 (exit $ac_status); } && 8583 (exit $ac_status); } &&
8939 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8584 { ac_try='test -z "$ac_cxx_werror_flag"
8585 || test ! -s conftest.err'
8940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8941 (eval $ac_try) 2>&5 8587 (eval $ac_try) 2>&5
8942 ac_status=$? 8588 ac_status=$?
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 (exit $ac_status); }; } && 8590 (exit $ac_status); }; } &&
8974 grep -v '^ *+' conftest.er1 >conftest.err 8620 grep -v '^ *+' conftest.er1 >conftest.err
8975 rm -f conftest.er1 8621 rm -f conftest.er1
8976 cat conftest.err >&5 8622 cat conftest.err >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); } && 8624 (exit $ac_status); } &&
8979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8625 { ac_try='test -z "$ac_cxx_werror_flag"
8626 || test ! -s conftest.err'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981 (eval $ac_try) 2>&5 8628 (eval $ac_try) 2>&5
8982 ac_status=$? 8629 ac_status=$?
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; } && 8631 (exit $ac_status); }; } &&
9030 grep -v '^ *+' conftest.er1 >conftest.err 8677 grep -v '^ *+' conftest.er1 >conftest.err
9031 rm -f conftest.er1 8678 rm -f conftest.er1
9032 cat conftest.err >&5 8679 cat conftest.err >&5
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); } && 8681 (exit $ac_status); } &&
9035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8682 { ac_try='test -z "$ac_cxx_werror_flag"
8683 || test ! -s conftest.err'
9036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9037 (eval $ac_try) 2>&5 8685 (eval $ac_try) 2>&5
9038 ac_status=$? 8686 ac_status=$?
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); }; } && 8688 (exit $ac_status); }; } &&
9070 grep -v '^ *+' conftest.er1 >conftest.err 8718 grep -v '^ *+' conftest.er1 >conftest.err
9071 rm -f conftest.er1 8719 rm -f conftest.er1
9072 cat conftest.err >&5 8720 cat conftest.err >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); } && 8722 (exit $ac_status); } &&
9075 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8723 { ac_try='test -z "$ac_cxx_werror_flag"
8724 || test ! -s conftest.err'
9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077 (eval $ac_try) 2>&5 8726 (eval $ac_try) 2>&5
9078 ac_status=$? 8727 ac_status=$?
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; } && 8729 (exit $ac_status); }; } &&
9134 grep -v '^ *+' conftest.er1 >conftest.err 8783 grep -v '^ *+' conftest.er1 >conftest.err
9135 rm -f conftest.er1 8784 rm -f conftest.er1
9136 cat conftest.err >&5 8785 cat conftest.err >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); } && 8787 (exit $ac_status); } &&
9139 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8788 { ac_try='test -z "$ac_cxx_werror_flag"
8789 || test ! -s conftest.err'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 (eval $ac_try) 2>&5 8791 (eval $ac_try) 2>&5
9142 ac_status=$? 8792 ac_status=$?
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; } && 8794 (exit $ac_status); }; } &&
9165See \`config.log' for more details." >&2;} 8815See \`config.log' for more details." >&2;}
9166 { (exit 1); exit 1; }; } ;; 8816 { (exit 1); exit 1; }; } ;;
9167esac 8817esac
9168else 8818else
9169 if test "$cross_compiling" = yes; then 8819 if test "$cross_compiling" = yes; then
9170 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8820 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9171echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8821See \`config.log' for more details." >&5
8822echo "$as_me: error: cannot run test program while cross compiling
8823See \`config.log' for more details." >&2;}
9172 { (exit 1); exit 1; }; } 8824 { (exit 1); exit 1; }; }
9173else 8825else
9174 cat >conftest.$ac_ext <<_ACEOF 8826 cat >conftest.$ac_ext <<_ACEOF
9175/* confdefs.h. */ 8827/* confdefs.h. */
9176_ACEOF 8828_ACEOF
9278 grep -v '^ *+' conftest.er1 >conftest.err 8930 grep -v '^ *+' conftest.er1 >conftest.err
9279 rm -f conftest.er1 8931 rm -f conftest.er1
9280 cat conftest.err >&5 8932 cat conftest.err >&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); } && 8934 (exit $ac_status); } &&
9283 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8935 { ac_try='test -z "$ac_cxx_werror_flag"
8936 || test ! -s conftest.err'
9284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9285 (eval $ac_try) 2>&5 8938 (eval $ac_try) 2>&5
9286 ac_status=$? 8939 ac_status=$?
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); }; } && 8941 (exit $ac_status); }; } &&
9340 grep -v '^ *+' conftest.er1 >conftest.err 8993 grep -v '^ *+' conftest.er1 >conftest.err
9341 rm -f conftest.er1 8994 rm -f conftest.er1
9342 cat conftest.err >&5 8995 cat conftest.err >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); } && 8997 (exit $ac_status); } &&
9345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8998 { ac_try='test -z "$ac_cxx_werror_flag"
8999 || test ! -s conftest.err'
9346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9347 (eval $ac_try) 2>&5 9001 (eval $ac_try) 2>&5
9348 ac_status=$? 9002 ac_status=$?
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); }; } && 9004 (exit $ac_status); }; } &&
9380 grep -v '^ *+' conftest.er1 >conftest.err 9034 grep -v '^ *+' conftest.er1 >conftest.err
9381 rm -f conftest.er1 9035 rm -f conftest.er1
9382 cat conftest.err >&5 9036 cat conftest.err >&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); } && 9038 (exit $ac_status); } &&
9385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9039 { ac_try='test -z "$ac_cxx_werror_flag"
9040 || test ! -s conftest.err'
9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9387 (eval $ac_try) 2>&5 9042 (eval $ac_try) 2>&5
9388 ac_status=$? 9043 ac_status=$?
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; } && 9045 (exit $ac_status); }; } &&
9436 grep -v '^ *+' conftest.er1 >conftest.err 9091 grep -v '^ *+' conftest.er1 >conftest.err
9437 rm -f conftest.er1 9092 rm -f conftest.er1
9438 cat conftest.err >&5 9093 cat conftest.err >&5
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); } && 9095 (exit $ac_status); } &&
9441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9096 { ac_try='test -z "$ac_cxx_werror_flag"
9097 || test ! -s conftest.err'
9442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443 (eval $ac_try) 2>&5 9099 (eval $ac_try) 2>&5
9444 ac_status=$? 9100 ac_status=$?
9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 (exit $ac_status); }; } && 9102 (exit $ac_status); }; } &&
9476 grep -v '^ *+' conftest.er1 >conftest.err 9132 grep -v '^ *+' conftest.er1 >conftest.err
9477 rm -f conftest.er1 9133 rm -f conftest.er1
9478 cat conftest.err >&5 9134 cat conftest.err >&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); } && 9136 (exit $ac_status); } &&
9481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9137 { ac_try='test -z "$ac_cxx_werror_flag"
9138 || test ! -s conftest.err'
9482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9483 (eval $ac_try) 2>&5 9140 (eval $ac_try) 2>&5
9484 ac_status=$? 9141 ac_status=$?
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); }; } && 9143 (exit $ac_status); }; } &&
9540 grep -v '^ *+' conftest.er1 >conftest.err 9197 grep -v '^ *+' conftest.er1 >conftest.err
9541 rm -f conftest.er1 9198 rm -f conftest.er1
9542 cat conftest.err >&5 9199 cat conftest.err >&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); } && 9201 (exit $ac_status); } &&
9545 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9202 { ac_try='test -z "$ac_cxx_werror_flag"
9203 || test ! -s conftest.err'
9546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9547 (eval $ac_try) 2>&5 9205 (eval $ac_try) 2>&5
9548 ac_status=$? 9206 ac_status=$?
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 (exit $ac_status); }; } && 9208 (exit $ac_status); }; } &&
9571See \`config.log' for more details." >&2;} 9229See \`config.log' for more details." >&2;}
9572 { (exit 1); exit 1; }; } ;; 9230 { (exit 1); exit 1; }; } ;;
9573esac 9231esac
9574else 9232else
9575 if test "$cross_compiling" = yes; then 9233 if test "$cross_compiling" = yes; then
9576 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 9234 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9577echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 9235See \`config.log' for more details." >&5
9236echo "$as_me: error: cannot run test program while cross compiling
9237See \`config.log' for more details." >&2;}
9578 { (exit 1); exit 1; }; } 9238 { (exit 1); exit 1; }; }
9579else 9239else
9580 cat >conftest.$ac_ext <<_ACEOF 9240 cat >conftest.$ac_ext <<_ACEOF
9581/* confdefs.h. */ 9241/* confdefs.h. */
9582_ACEOF 9242_ACEOF
9683 grep -v '^ *+' conftest.er1 >conftest.err 9343 grep -v '^ *+' conftest.er1 >conftest.err
9684 rm -f conftest.er1 9344 rm -f conftest.er1
9685 cat conftest.err >&5 9345 cat conftest.err >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } && 9347 (exit $ac_status); } &&
9688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9348 { ac_try='test -z "$ac_cxx_werror_flag"
9349 || test ! -s conftest.err'
9689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9690 (eval $ac_try) 2>&5 9351 (eval $ac_try) 2>&5
9691 ac_status=$? 9352 ac_status=$?
9692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693 (exit $ac_status); }; } && 9354 (exit $ac_status); }; } &&
9765 grep -v '^ *+' conftest.er1 >conftest.err 9426 grep -v '^ *+' conftest.er1 >conftest.err
9766 rm -f conftest.er1 9427 rm -f conftest.er1
9767 cat conftest.err >&5 9428 cat conftest.err >&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); } && 9430 (exit $ac_status); } &&
9770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9431 { ac_try='test -z "$ac_cxx_werror_flag"
9432 || test ! -s conftest.err'
9771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9772 (eval $ac_try) 2>&5 9434 (eval $ac_try) 2>&5
9773 ac_status=$? 9435 ac_status=$?
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); }; } && 9437 (exit $ac_status); }; } &&
9847 grep -v '^ *+' conftest.er1 >conftest.err 9509 grep -v '^ *+' conftest.er1 >conftest.err
9848 rm -f conftest.er1 9510 rm -f conftest.er1
9849 cat conftest.err >&5 9511 cat conftest.err >&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); } && 9513 (exit $ac_status); } &&
9852 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9514 { ac_try='test -z "$ac_cxx_werror_flag"
9515 || test ! -s conftest.err'
9853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9854 (eval $ac_try) 2>&5 9517 (eval $ac_try) 2>&5
9855 ac_status=$? 9518 ac_status=$?
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); }; } && 9520 (exit $ac_status); }; } &&
9929 grep -v '^ *+' conftest.er1 >conftest.err 9592 grep -v '^ *+' conftest.er1 >conftest.err
9930 rm -f conftest.er1 9593 rm -f conftest.er1
9931 cat conftest.err >&5 9594 cat conftest.err >&5
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); } && 9596 (exit $ac_status); } &&
9934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9597 { ac_try='test -z "$ac_cxx_werror_flag"
9598 || test ! -s conftest.err'
9935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9936 (eval $ac_try) 2>&5 9600 (eval $ac_try) 2>&5
9937 ac_status=$? 9601 ac_status=$?
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); }; } && 9603 (exit $ac_status); }; } &&
10041 grep -v '^ *+' conftest.er1 >conftest.err 9705 grep -v '^ *+' conftest.er1 >conftest.err
10042 rm -f conftest.er1 9706 rm -f conftest.er1
10043 cat conftest.err >&5 9707 cat conftest.err >&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); } && 9709 (exit $ac_status); } &&
10046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9710 { ac_try='test -z "$ac_cxx_werror_flag"
9711 || test ! -s conftest.err'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5 9713 (eval $ac_try) 2>&5
10049 ac_status=$? 9714 ac_status=$?
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; } && 9716 (exit $ac_status); }; } &&
10068echo "${ECHO_T}$ac_cv_type_signal" >&6 9733echo "${ECHO_T}$ac_cv_type_signal" >&6
10069 9734
10070cat >>confdefs.h <<_ACEOF 9735cat >>confdefs.h <<_ACEOF
10071#define RETSIGTYPE $ac_cv_type_signal 9736#define RETSIGTYPE $ac_cv_type_signal
10072_ACEOF 9737_ACEOF
10073
10074
10075
10076
10077 9738
10078 9739
10079 9740
10080 9741
10081 9742
10082 9743
10083for ac_func in \ 9744for ac_func in \
10084 unsetenv \ 9745 unsetenv \
10085 setutent \ 9746 setutent \
10086 seteuid \
10087 setresuid \
10088 setreuid \
10089 on_exit \ 9747 on_exit \
10090 nanosleep \
10091 9748
10092do 9749do
10093as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9750as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10094echo "$as_me:$LINENO: checking for $ac_func" >&5 9751echo "$as_me:$LINENO: checking for $ac_func" >&5
10095echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9752echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10154 grep -v '^ *+' conftest.er1 >conftest.err 9811 grep -v '^ *+' conftest.er1 >conftest.err
10155 rm -f conftest.er1 9812 rm -f conftest.er1
10156 cat conftest.err >&5 9813 cat conftest.err >&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); } && 9815 (exit $ac_status); } &&
10159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9816 { ac_try='test -z "$ac_cxx_werror_flag"
9817 || test ! -s conftest.err'
10160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10161 (eval $ac_try) 2>&5 9819 (eval $ac_try) 2>&5
10162 ac_status=$? 9820 ac_status=$?
10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10164 (exit $ac_status); }; } && 9822 (exit $ac_status); }; } &&
10187 9845
10188fi 9846fi
10189done 9847done
10190 9848
10191 9849
9850
9851support_utmp=yes
9852support_wtmp=yes
9853support_lastlog=yes
9854
9855# Check whether --enable-utmp or --disable-utmp was given.
9856if test "${enable_utmp+set}" = set; then
9857 enableval="$enable_utmp"
9858 if test x$enableval = xyes -o x$enableval = xno; then
9859 support_utmp=$enableval
9860 fi
9861fi;
9862
9863# Check whether --enable-wtmp or --disable-wtmp was given.
9864if test "${enable_wtmp+set}" = set; then
9865 enableval="$enable_wtmp"
9866 if test x$enableval = xyes -o x$enableval = xno; then
9867 support_wtmp=$enableval
9868 fi
9869fi;
9870
9871# Check whether --enable-lastlog or --disable-lastlog was given.
9872if test "${enable_lastlog+set}" = set; then
9873 enableval="$enable_lastlog"
9874 if test x$enableval = xyes -o x$enableval = xno; then
9875 support_lastlog=$enableval
9876 fi
9877fi;
9878
9879if test x$support_utmp = xyes; then
9880
9881cat >>confdefs.h <<\_ACEOF
9882#define UTMP_SUPPORT 1
9883_ACEOF
9884
9885fi
9886if test x$support_wtmp = xyes; then
9887
9888cat >>confdefs.h <<\_ACEOF
9889#define WTMP_SUPPORT 1
9890_ACEOF
9891
9892fi
9893if test x$support_lastlog = xyes; then
9894
9895cat >>confdefs.h <<\_ACEOF
9896#define LASTLOG_SUPPORT 1
9897_ACEOF
9898
9899fi
10192 9900
10193 9901
10194 9902
10195 9903
10196for ac_func in \ 9904for ac_func in \
10263 grep -v '^ *+' conftest.er1 >conftest.err 9971 grep -v '^ *+' conftest.er1 >conftest.err
10264 rm -f conftest.er1 9972 rm -f conftest.er1
10265 cat conftest.err >&5 9973 cat conftest.err >&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); } && 9975 (exit $ac_status); } &&
10268 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9976 { ac_try='test -z "$ac_cxx_werror_flag"
9977 || test ! -s conftest.err'
10269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10270 (eval $ac_try) 2>&5 9979 (eval $ac_try) 2>&5
10271 ac_status=$? 9980 ac_status=$?
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); }; } && 9982 (exit $ac_status); }; } &&
10336 grep -v '^ *+' conftest.er1 >conftest.err 10045 grep -v '^ *+' conftest.er1 >conftest.err
10337 rm -f conftest.er1 10046 rm -f conftest.er1
10338 cat conftest.err >&5 10047 cat conftest.err >&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); } && 10049 (exit $ac_status); } &&
10341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10050 { ac_try='test -z "$ac_cxx_werror_flag"
10051 || test ! -s conftest.err'
10342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343 (eval $ac_try) 2>&5 10053 (eval $ac_try) 2>&5
10344 ac_status=$? 10054 ac_status=$?
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; } && 10056 (exit $ac_status); }; } &&
10483 grep -v '^ *+' conftest.er1 >conftest.err 10193 grep -v '^ *+' conftest.er1 >conftest.err
10484 rm -f conftest.er1 10194 rm -f conftest.er1
10485 cat conftest.err >&5 10195 cat conftest.err >&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); } && 10197 (exit $ac_status); } &&
10488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10198 { ac_try='test -z "$ac_cxx_werror_flag"
10199 || test ! -s conftest.err'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5 10201 (eval $ac_try) 2>&5
10491 ac_status=$? 10202 ac_status=$?
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; } && 10204 (exit $ac_status); }; } &&
10592 10303
10593fi 10304fi
10594if test $ac_cv_header_utmp_h = yes; then 10305if test $ac_cv_header_utmp_h = yes; then
10595 echo "$as_me:$LINENO: checking for struct utmp" >&5 10306 echo "$as_me:$LINENO: checking for struct utmp" >&5
10596echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 10307echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6
10597if test "${rxvt_cv_struct_utmp+set}" = set; then 10308if test "${struct_utmp+set}" = set; then
10598 echo $ECHO_N "(cached) $ECHO_C" >&6 10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10599else 10310else
10600 cat >conftest.$ac_ext <<_ACEOF 10311 cat >conftest.$ac_ext <<_ACEOF
10601/* confdefs.h. */ 10312/* confdefs.h. */
10602_ACEOF 10313_ACEOF
10620 grep -v '^ *+' conftest.er1 >conftest.err 10331 grep -v '^ *+' conftest.er1 >conftest.err
10621 rm -f conftest.er1 10332 rm -f conftest.er1
10622 cat conftest.err >&5 10333 cat conftest.err >&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } && 10335 (exit $ac_status); } &&
10625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10336 { ac_try='test -z "$ac_cxx_werror_flag"
10337 || test ! -s conftest.err'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5 10339 (eval $ac_try) 2>&5
10628 ac_status=$? 10340 ac_status=$?
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; } && 10342 (exit $ac_status); }; } &&
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5 10345 (eval $ac_try) 2>&5
10634 ac_status=$? 10346 ac_status=$?
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; }; then 10348 (exit $ac_status); }; }; then
10637 rxvt_cv_struct_utmp=yes 10349 struct_utmp=yes
10638else 10350else
10639 echo "$as_me: failed program was:" >&5 10351 echo "$as_me: failed program was:" >&5
10640sed 's/^/| /' conftest.$ac_ext >&5 10352sed 's/^/| /' conftest.$ac_ext >&5
10641 10353
10642rxvt_cv_struct_utmp=no 10354struct_utmp=no
10643fi 10355fi
10644rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10356rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10645fi 10357fi
10646echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 10358echo "$as_me:$LINENO: result: $struct_utmp" >&5
10647echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 10359echo "${ECHO_T}$struct_utmp" >&6
10648if test x$rxvt_cv_struct_utmp = xyes; then 10360if test x$struct_utmp = xyes; then
10649 10361
10650cat >>confdefs.h <<\_ACEOF 10362cat >>confdefs.h <<\_ACEOF
10651#define HAVE_STRUCT_UTMP 1 10363#define HAVE_STRUCT_UTMP 1
10652_ACEOF 10364_ACEOF
10653 10365
10654fi 10366fi
10655 10367
10656 10368
10657echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 10369echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5
10658echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 10370echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6
10659if test "${rxvt_cv_struct_utmp_host+set}" = set; then 10371if test "${struct_utmp_host+set}" = set; then
10660 echo $ECHO_N "(cached) $ECHO_C" >&6 10372 echo $ECHO_N "(cached) $ECHO_C" >&6
10661else 10373else
10662 cat >conftest.$ac_ext <<_ACEOF 10374 cat >conftest.$ac_ext <<_ACEOF
10663/* confdefs.h. */ 10375/* confdefs.h. */
10664_ACEOF 10376_ACEOF
10682 grep -v '^ *+' conftest.er1 >conftest.err 10394 grep -v '^ *+' conftest.er1 >conftest.err
10683 rm -f conftest.er1 10395 rm -f conftest.er1
10684 cat conftest.err >&5 10396 cat conftest.err >&5
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); } && 10398 (exit $ac_status); } &&
10687 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10399 { ac_try='test -z "$ac_cxx_werror_flag"
10400 || test ! -s conftest.err'
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5 10402 (eval $ac_try) 2>&5
10690 ac_status=$? 10403 ac_status=$?
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; } && 10405 (exit $ac_status); }; } &&
10694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10695 (eval $ac_try) 2>&5 10408 (eval $ac_try) 2>&5
10696 ac_status=$? 10409 ac_status=$?
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); }; }; then 10411 (exit $ac_status); }; }; then
10699 rxvt_cv_struct_utmp_host=yes 10412 struct_utmp_host=yes
10700else 10413else
10701 echo "$as_me: failed program was:" >&5 10414 echo "$as_me: failed program was:" >&5
10702sed 's/^/| /' conftest.$ac_ext >&5 10415sed 's/^/| /' conftest.$ac_ext >&5
10703 10416
10704rxvt_cv_struct_utmp_host=no 10417struct_utmp_host=no
10705fi 10418fi
10706rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10419rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10707fi 10420fi
10708echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 10421echo "$as_me:$LINENO: result: $struct_utmp_host" >&5
10709echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 10422echo "${ECHO_T}$struct_utmp_host" >&6
10710if test x$rxvt_cv_struct_utmp_host = xyes; then 10423if test x$struct_utmp_host = xyes; then
10711 10424
10712cat >>confdefs.h <<\_ACEOF 10425cat >>confdefs.h <<\_ACEOF
10713#define HAVE_UTMP_HOST 1 10426#define HAVE_UTMP_HOST 1
10714_ACEOF 10427_ACEOF
10715 10428
10716fi 10429fi
10717 10430
10718echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 10431echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5
10719echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 10432echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6
10720if test "${rxvt_cv_struct_utmp_pid+set}" = set; then 10433if test "${struct_utmp_pid+set}" = set; then
10721 echo $ECHO_N "(cached) $ECHO_C" >&6 10434 echo $ECHO_N "(cached) $ECHO_C" >&6
10722else 10435else
10723 cat >conftest.$ac_ext <<_ACEOF 10436 cat >conftest.$ac_ext <<_ACEOF
10724/* confdefs.h. */ 10437/* confdefs.h. */
10725_ACEOF 10438_ACEOF
10743 grep -v '^ *+' conftest.er1 >conftest.err 10456 grep -v '^ *+' conftest.er1 >conftest.err
10744 rm -f conftest.er1 10457 rm -f conftest.er1
10745 cat conftest.err >&5 10458 cat conftest.err >&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); } && 10460 (exit $ac_status); } &&
10748 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10461 { ac_try='test -z "$ac_cxx_werror_flag"
10462 || test ! -s conftest.err'
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5 10464 (eval $ac_try) 2>&5
10751 ac_status=$? 10465 ac_status=$?
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; } && 10467 (exit $ac_status); }; } &&
10755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10756 (eval $ac_try) 2>&5 10470 (eval $ac_try) 2>&5
10757 ac_status=$? 10471 ac_status=$?
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); }; }; then 10473 (exit $ac_status); }; }; then
10760 rxvt_cv_struct_utmp_pid=yes 10474 struct_utmp_pid=yes
10761else 10475else
10762 echo "$as_me: failed program was:" >&5 10476 echo "$as_me: failed program was:" >&5
10763sed 's/^/| /' conftest.$ac_ext >&5 10477sed 's/^/| /' conftest.$ac_ext >&5
10764 10478
10765rxvt_cv_struct_utmp_pid=no 10479struct_utmp_pid=no
10766fi 10480fi
10767rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10481rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10768fi 10482fi
10769echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 10483echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5
10770echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 10484echo "${ECHO_T}$struct_utmp_pid" >&6
10771if test x$rxvt_cv_struct_utmp_pid = xyes; then 10485if test x$struct_utmp_pid = xyes; then
10772 10486
10773cat >>confdefs.h <<\_ACEOF 10487cat >>confdefs.h <<\_ACEOF
10774#define HAVE_UTMP_PID 1 10488#define HAVE_UTMP_PID 1
10775_ACEOF 10489_ACEOF
10776 10490
10808 grep -v '^ *+' conftest.er1 >conftest.err 10522 grep -v '^ *+' conftest.er1 >conftest.err
10809 rm -f conftest.er1 10523 rm -f conftest.er1
10810 cat conftest.err >&5 10524 cat conftest.err >&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); } && 10526 (exit $ac_status); } &&
10813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10527 { ac_try='test -z "$ac_cxx_werror_flag"
10528 || test ! -s conftest.err'
10814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10815 (eval $ac_try) 2>&5 10530 (eval $ac_try) 2>&5
10816 ac_status=$? 10531 ac_status=$?
10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818 (exit $ac_status); }; } && 10533 (exit $ac_status); }; } &&
10917 10632
10918fi 10633fi
10919if test $ac_cv_header_utmpx_h = yes; then 10634if test $ac_cv_header_utmpx_h = yes; then
10920 echo "$as_me:$LINENO: checking for struct utmpx" >&5 10635 echo "$as_me:$LINENO: checking for struct utmpx" >&5
10921echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 10636echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6
10922if test "${rxvt_cv_struct_utmpx+set}" = set; then 10637if test "${struct_utmpx+set}" = set; then
10923 echo $ECHO_N "(cached) $ECHO_C" >&6 10638 echo $ECHO_N "(cached) $ECHO_C" >&6
10924else 10639else
10925 cat >conftest.$ac_ext <<_ACEOF 10640 cat >conftest.$ac_ext <<_ACEOF
10926/* confdefs.h. */ 10641/* confdefs.h. */
10927_ACEOF 10642_ACEOF
10945 grep -v '^ *+' conftest.er1 >conftest.err 10660 grep -v '^ *+' conftest.er1 >conftest.err
10946 rm -f conftest.er1 10661 rm -f conftest.er1
10947 cat conftest.err >&5 10662 cat conftest.err >&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); } && 10664 (exit $ac_status); } &&
10950 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10665 { ac_try='test -z "$ac_cxx_werror_flag"
10666 || test ! -s conftest.err'
10951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10952 (eval $ac_try) 2>&5 10668 (eval $ac_try) 2>&5
10953 ac_status=$? 10669 ac_status=$?
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); }; } && 10671 (exit $ac_status); }; } &&
10957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10958 (eval $ac_try) 2>&5 10674 (eval $ac_try) 2>&5
10959 ac_status=$? 10675 ac_status=$?
10960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961 (exit $ac_status); }; }; then 10677 (exit $ac_status); }; }; then
10962 rxvt_cv_struct_utmpx=yes 10678 struct_utmpx=yes
10963else 10679else
10964 echo "$as_me: failed program was:" >&5 10680 echo "$as_me: failed program was:" >&5
10965sed 's/^/| /' conftest.$ac_ext >&5 10681sed 's/^/| /' conftest.$ac_ext >&5
10966 10682
10967rxvt_cv_struct_utmpx=no 10683struct_utmpx=no
10968fi 10684fi
10969rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10685rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10970fi 10686fi
10971echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 10687echo "$as_me:$LINENO: result: $struct_utmpx" >&5
10972echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 10688echo "${ECHO_T}$struct_utmpx" >&6
10973if test x$rxvt_cv_struct_utmpx = xyes; then 10689if test x$struct_utmpx = xyes; then
10974 10690
10975cat >>confdefs.h <<\_ACEOF 10691cat >>confdefs.h <<\_ACEOF
10976#define HAVE_STRUCT_UTMPX 1 10692#define HAVE_STRUCT_UTMPX 1
10977_ACEOF 10693_ACEOF
10978 10694
10979fi 10695fi
10980 10696
10981 10697
10982echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 10698echo "$as_me:$LINENO: checking for host in utmpx struct" >&5
10983echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 10699echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6
10984if test "${rxvt_cv_struct_utmpx_host+set}" = set; then 10700if test "${struct_utmpx_host+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6 10701 echo $ECHO_N "(cached) $ECHO_C" >&6
10986else 10702else
10987 cat >conftest.$ac_ext <<_ACEOF 10703 cat >conftest.$ac_ext <<_ACEOF
10988/* confdefs.h. */ 10704/* confdefs.h. */
10989_ACEOF 10705_ACEOF
11007 grep -v '^ *+' conftest.er1 >conftest.err 10723 grep -v '^ *+' conftest.er1 >conftest.err
11008 rm -f conftest.er1 10724 rm -f conftest.er1
11009 cat conftest.err >&5 10725 cat conftest.err >&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } && 10727 (exit $ac_status); } &&
11012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10728 { ac_try='test -z "$ac_cxx_werror_flag"
10729 || test ! -s conftest.err'
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5 10731 (eval $ac_try) 2>&5
11015 ac_status=$? 10732 ac_status=$?
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; } && 10734 (exit $ac_status); }; } &&
11019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11020 (eval $ac_try) 2>&5 10737 (eval $ac_try) 2>&5
11021 ac_status=$? 10738 ac_status=$?
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }; }; then 10740 (exit $ac_status); }; }; then
11024 rxvt_cv_struct_utmpx_host=yes 10741 struct_utmpx_host=yes
11025else 10742else
11026 echo "$as_me: failed program was:" >&5 10743 echo "$as_me: failed program was:" >&5
11027sed 's/^/| /' conftest.$ac_ext >&5 10744sed 's/^/| /' conftest.$ac_ext >&5
11028 10745
11029rxvt_cv_struct_utmpx_host=no 10746struct_utmpx_host=no
11030fi 10747fi
11031rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10748rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11032fi 10749fi
11033echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 10750echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5
11034echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 10751echo "${ECHO_T}$struct_utmpx_host" >&6
11035if test x$rxvt_cv_struct_utmpx_host = xyes; then 10752if test x$struct_utmpx_host = xyes; then
11036 10753
11037cat >>confdefs.h <<\_ACEOF 10754cat >>confdefs.h <<\_ACEOF
11038#define HAVE_UTMPX_HOST 1 10755#define HAVE_UTMPX_HOST 1
11039_ACEOF 10756_ACEOF
11040 10757
11041fi 10758fi
11042 10759
11043echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 10760echo "$as_me:$LINENO: checking for session in utmpx struct" >&5
11044echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 10761echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6
11045if test "${rxvt_cv_struct_utmpx_session+set}" = set; then 10762if test "${struct_utmpx_session+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6 10763 echo $ECHO_N "(cached) $ECHO_C" >&6
11047else 10764else
11048 cat >conftest.$ac_ext <<_ACEOF 10765 cat >conftest.$ac_ext <<_ACEOF
11049/* confdefs.h. */ 10766/* confdefs.h. */
11050_ACEOF 10767_ACEOF
11068 grep -v '^ *+' conftest.er1 >conftest.err 10785 grep -v '^ *+' conftest.er1 >conftest.err
11069 rm -f conftest.er1 10786 rm -f conftest.er1
11070 cat conftest.err >&5 10787 cat conftest.err >&5
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); } && 10789 (exit $ac_status); } &&
11073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10790 { ac_try='test -z "$ac_cxx_werror_flag"
10791 || test ! -s conftest.err'
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5 10793 (eval $ac_try) 2>&5
11076 ac_status=$? 10794 ac_status=$?
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; } && 10796 (exit $ac_status); }; } &&
11080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11081 (eval $ac_try) 2>&5 10799 (eval $ac_try) 2>&5
11082 ac_status=$? 10800 ac_status=$?
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); }; }; then 10802 (exit $ac_status); }; }; then
11085 rxvt_cv_struct_utmpx_session=yes 10803 struct_utmpx_session=yes
11086else 10804else
11087 echo "$as_me: failed program was:" >&5 10805 echo "$as_me: failed program was:" >&5
11088sed 's/^/| /' conftest.$ac_ext >&5 10806sed 's/^/| /' conftest.$ac_ext >&5
11089 10807
11090rxvt_cv_struct_utmpx_session=no 10808struct_utmpx_session=no
11091fi 10809fi
11092rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10810rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11093fi 10811fi
11094echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 10812echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5
11095echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 10813echo "${ECHO_T}$struct_utmpx_session" >&6
11096if test x$rxvt_cv_struct_utmpx_session = xyes; then 10814if test x$struct_utmpx_session = xyes; then
11097 10815
11098cat >>confdefs.h <<\_ACEOF 10816cat >>confdefs.h <<\_ACEOF
11099#define HAVE_UTMPX_SESSION 1 10817#define HAVE_UTMPX_SESSION 1
11100_ACEOF 10818_ACEOF
11101 10819
11104fi 10822fi
11105 10823
11106 10824
11107echo "$as_me:$LINENO: checking for struct lastlog" >&5 10825echo "$as_me:$LINENO: checking for struct lastlog" >&5
11108echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 10826echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
11109if test "${rxvt_cv_struct_lastlog+set}" = set; then 10827if test "${struct_lastlog+set}" = set; then
11110 echo $ECHO_N "(cached) $ECHO_C" >&6 10828 echo $ECHO_N "(cached) $ECHO_C" >&6
11111else 10829else
11112 cat >conftest.$ac_ext <<_ACEOF 10830 cat >conftest.$ac_ext <<_ACEOF
11113/* confdefs.h. */ 10831/* confdefs.h. */
11114_ACEOF 10832_ACEOF
11136 grep -v '^ *+' conftest.er1 >conftest.err 10854 grep -v '^ *+' conftest.er1 >conftest.err
11137 rm -f conftest.er1 10855 rm -f conftest.er1
11138 cat conftest.err >&5 10856 cat conftest.err >&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); } && 10858 (exit $ac_status); } &&
11141 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10859 { ac_try='test -z "$ac_cxx_werror_flag"
10860 || test ! -s conftest.err'
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5 10862 (eval $ac_try) 2>&5
11144 ac_status=$? 10863 ac_status=$?
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; } && 10865 (exit $ac_status); }; } &&
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5 10868 (eval $ac_try) 2>&5
11150 ac_status=$? 10869 ac_status=$?
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; }; then 10871 (exit $ac_status); }; }; then
11153 rxvt_cv_struct_lastlog=yes 10872 struct_lastlog=yes
11154else 10873else
11155 echo "$as_me: failed program was:" >&5 10874 echo "$as_me: failed program was:" >&5
11156sed 's/^/| /' conftest.$ac_ext >&5 10875sed 's/^/| /' conftest.$ac_ext >&5
11157 10876
11158rxvt_cv_struct_lastlog=no 10877struct_lastlog=no
11159fi 10878fi
11160rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10879rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11161fi 10880fi
11162echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 10881echo "$as_me:$LINENO: result: $struct_lastlog" >&5
11163echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 10882echo "${ECHO_T}$struct_lastlog" >&6
11164if test x$rxvt_cv_struct_lastlog = xyes; then 10883if test x$struct_lastlog = xyes; then
11165 10884
11166cat >>confdefs.h <<\_ACEOF 10885cat >>confdefs.h <<\_ACEOF
11167#define HAVE_STRUCT_LASTLOG 1 10886#define HAVE_STRUCT_LASTLOG 1
11168_ACEOF 10887_ACEOF
11169 10888
11170fi 10889fi
11171 10890
11172echo "$as_me:$LINENO: checking for struct lastlogx" >&5 10891echo "$as_me:$LINENO: checking for struct lastlogx" >&5
11173echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 10892echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6
11174if test "${rxvt_cv_struct_lastlogx+set}" = set; then 10893if test "${struct_lastlogx+set}" = set; then
11175 echo $ECHO_N "(cached) $ECHO_C" >&6 10894 echo $ECHO_N "(cached) $ECHO_C" >&6
11176else 10895else
11177 cat >conftest.$ac_ext <<_ACEOF 10896 cat >conftest.$ac_ext <<_ACEOF
11178/* confdefs.h. */ 10897/* confdefs.h. */
11179_ACEOF 10898_ACEOF
11201 grep -v '^ *+' conftest.er1 >conftest.err 10920 grep -v '^ *+' conftest.er1 >conftest.err
11202 rm -f conftest.er1 10921 rm -f conftest.er1
11203 cat conftest.err >&5 10922 cat conftest.err >&5
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); } && 10924 (exit $ac_status); } &&
11206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10925 { ac_try='test -z "$ac_cxx_werror_flag"
10926 || test ! -s conftest.err'
11207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11208 (eval $ac_try) 2>&5 10928 (eval $ac_try) 2>&5
11209 ac_status=$? 10929 ac_status=$?
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; } && 10931 (exit $ac_status); }; } &&
11213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11214 (eval $ac_try) 2>&5 10934 (eval $ac_try) 2>&5
11215 ac_status=$? 10935 ac_status=$?
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); }; }; then 10937 (exit $ac_status); }; }; then
11218 rxvt_cv_struct_lastlogx=yes 10938 struct_lastlogx=yes
11219else 10939else
11220 echo "$as_me: failed program was:" >&5 10940 echo "$as_me: failed program was:" >&5
11221sed 's/^/| /' conftest.$ac_ext >&5 10941sed 's/^/| /' conftest.$ac_ext >&5
11222 10942
11223rxvt_cv_struct_lastlogx=no 10943struct_lastlogx=no
11224fi 10944fi
11225rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10945rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11226fi 10946fi
11227echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 10947echo "$as_me:$LINENO: result: $struct_lastlogx" >&5
11228echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 10948echo "${ECHO_T}$struct_lastlogx" >&6
11229if test x$rxvt_cv_struct_lastlogx = xyes; then 10949if test x$struct_lastlogx = xyes; then
11230 10950
11231cat >>confdefs.h <<\_ACEOF 10951cat >>confdefs.h <<\_ACEOF
11232#define HAVE_STRUCT_LASTLOGX 1 10952#define HAVE_STRUCT_LASTLOGX 1
11233_ACEOF 10953_ACEOF
11234 10954
11235fi 10955fi
11236 10956
11237 10957
11238echo "$as_me:$LINENO: checking where utmp is located" >&5 10958echo "$as_me:$LINENO: checking where utmp is located" >&5
11239echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 10959echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6
11240if test "${rxvt_cv_path_utmp+set}" = set; then 10960if test "${path_utmp+set}" = set; then
11241 echo $ECHO_N "(cached) $ECHO_C" >&6 10961 echo $ECHO_N "(cached) $ECHO_C" >&6
11242else 10962else
11243 if test "$cross_compiling" = yes; then 10963 if test "$cross_compiling" = yes; then
11244 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 10964 { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5
11245echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} 10965echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
11246else 10966else
11247 cat >conftest.$ac_ext <<_ACEOF 10967 cat >conftest.$ac_ext <<_ACEOF
11248/* confdefs.h. */ 10968/* confdefs.h. */
11249_ACEOF 10969_ACEOF
11250cat confdefs.h >>conftest.$ac_ext 10970cat confdefs.h >>conftest.$ac_ext
11251cat >>conftest.$ac_ext <<_ACEOF 10971cat >>conftest.$ac_ext <<_ACEOF
11252/* end confdefs.h. */ 10972/* end confdefs.h. */
11253#include <stdio.h> 10973#include <stdio.h>
10974#include <stdlib.h>
11254#include <sys/types.h> 10975#include <sys/types.h>
11255#include <utmp.h> 10976#include <utmp.h>
11256#include <errno.h> 10977#include <errno.h>
11257main() 10978main()
11258{ 10979{
11286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11287 (eval $ac_try) 2>&5 11008 (eval $ac_try) 2>&5
11288 ac_status=$? 11009 ac_status=$?
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); }; }; then 11011 (exit $ac_status); }; }; then
11291 rxvt_cv_path_utmp=`cat conftestval` 11012 path_utmp=`cat conftestval`
11292else 11013else
11293 echo "$as_me: program exited with status $ac_status" >&5 11014 echo "$as_me: program exited with status $ac_status" >&5
11294echo "$as_me: failed program was:" >&5 11015echo "$as_me: failed program was:" >&5
11295sed 's/^/| /' conftest.$ac_ext >&5 11016sed 's/^/| /' conftest.$ac_ext >&5
11296 11017
11297( exit $ac_status ) 11018( exit $ac_status )
11298rxvt_cv_path_utmp= 11019path_utmp=
11299fi 11020fi
11300rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11021rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11301fi 11022fi
11302fi 11023fi
11303echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 11024echo "$as_me:$LINENO: result: $path_utmp" >&5
11304echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 11025echo "${ECHO_T}$path_utmp" >&6
11305if test x$rxvt_cv_path_utmp != x; then 11026if test x$path_utmp != x; then
11306 11027
11307cat >>confdefs.h <<_ACEOF 11028cat >>confdefs.h <<_ACEOF
11308#define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" 11029#define UTMP_FILE "$path_utmp"
11309_ACEOF 11030_ACEOF
11310 11031
11311fi 11032fi
11312 11033
11313 11034
11314echo "$as_me:$LINENO: checking where utmpx is located" >&5 11035echo "$as_me:$LINENO: checking where utmpx is located" >&5
11315echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 11036echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6
11316if test "${rxvt_cv_path_utmpx+set}" = set; then 11037if test "${path_utmpx+set}" = set; then
11317 echo $ECHO_N "(cached) $ECHO_C" >&6 11038 echo $ECHO_N "(cached) $ECHO_C" >&6
11318else 11039else
11319 if test "$cross_compiling" = yes; then 11040 if test "$cross_compiling" = yes; then
11320 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 11041 { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5
11321echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} 11042echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;}
11322else 11043else
11323 cat >conftest.$ac_ext <<_ACEOF 11044 cat >conftest.$ac_ext <<_ACEOF
11324/* confdefs.h. */ 11045/* confdefs.h. */
11325_ACEOF 11046_ACEOF
11326cat confdefs.h >>conftest.$ac_ext 11047cat confdefs.h >>conftest.$ac_ext
11327cat >>conftest.$ac_ext <<_ACEOF 11048cat >>conftest.$ac_ext <<_ACEOF
11328/* end confdefs.h. */ 11049/* end confdefs.h. */
11329#include <stdio.h> 11050#include <stdio.h>
11051#include <stdlib.h>
11330#include <sys/types.h> 11052#include <sys/types.h>
11331#include <utmpx.h> 11053#include <utmpx.h>
11332#include <errno.h> 11054#include <errno.h>
11333#include <sys/stat.h> 11055#include <sys/stat.h>
11334#ifdef HAVE_STRING_H 11056#ifdef HAVE_STRING_H
11372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11373 (eval $ac_try) 2>&5 11095 (eval $ac_try) 2>&5
11374 ac_status=$? 11096 ac_status=$?
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); }; }; then 11098 (exit $ac_status); }; }; then
11377 rxvt_cv_path_utmpx=`cat conftestval` 11099 path_utmpx=`cat conftestval`
11378else 11100else
11379 echo "$as_me: program exited with status $ac_status" >&5 11101 echo "$as_me: program exited with status $ac_status" >&5
11380echo "$as_me: failed program was:" >&5 11102echo "$as_me: failed program was:" >&5
11381sed 's/^/| /' conftest.$ac_ext >&5 11103sed 's/^/| /' conftest.$ac_ext >&5
11382 11104
11383( exit $ac_status ) 11105( exit $ac_status )
11384rxvt_cv_path_utmpx= 11106path_utmpx=
11385fi 11107fi
11386rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11108rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11387fi 11109fi
11388fi 11110fi
11389echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 11111echo "$as_me:$LINENO: result: $path_utmpx" >&5
11390echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 11112echo "${ECHO_T}$path_utmpx" >&6
11391if test x$rxvt_cv_path_utmpx != x; then 11113if test x$path_utmpx != x; then
11392 11114
11393cat >>confdefs.h <<_ACEOF 11115cat >>confdefs.h <<_ACEOF
11394#define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" 11116#define UTMPX_FILE "$path_utmpx"
11395_ACEOF 11117_ACEOF
11396 11118
11397fi 11119fi
11398 11120
11399 11121
11400echo "$as_me:$LINENO: checking where wtmp is located" >&5 11122echo "$as_me:$LINENO: checking where wtmp is located" >&5
11401echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 11123echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6
11402if test "${rxvt_cv_path_wtmp+set}" = set; then 11124if test "${path_wtmp+set}" = set; then
11403 echo $ECHO_N "(cached) $ECHO_C" >&6 11125 echo $ECHO_N "(cached) $ECHO_C" >&6
11404else 11126else
11405 if test "$cross_compiling" = yes; then 11127 if test "$cross_compiling" = yes; then
11406 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 11128 { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5
11407echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} 11129echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
11408else 11130else
11409 cat >conftest.$ac_ext <<_ACEOF 11131 cat >conftest.$ac_ext <<_ACEOF
11410/* confdefs.h. */ 11132/* confdefs.h. */
11411_ACEOF 11133_ACEOF
11412cat confdefs.h >>conftest.$ac_ext 11134cat confdefs.h >>conftest.$ac_ext
11413cat >>conftest.$ac_ext <<_ACEOF 11135cat >>conftest.$ac_ext <<_ACEOF
11414/* end confdefs.h. */ 11136/* end confdefs.h. */
11415#include <stdio.h> 11137#include <stdio.h>
11138#include <stdlib.h>
11416#include <sys/types.h> 11139#include <sys/types.h>
11417#ifdef HAVE_UTMP_H 11140#ifdef HAVE_UTMP_H
11418#include <utmp.h> 11141#include <utmp.h>
11419#endif 11142#endif
11420#include <errno.h> 11143#include <errno.h>
11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11451 (eval $ac_try) 2>&5 11174 (eval $ac_try) 2>&5
11452 ac_status=$? 11175 ac_status=$?
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); }; }; then 11177 (exit $ac_status); }; }; then
11455 rxvt_cv_path_wtmp=`cat conftestval` 11178 path_wtmp=`cat conftestval`
11456else 11179else
11457 echo "$as_me: program exited with status $ac_status" >&5 11180 echo "$as_me: program exited with status $ac_status" >&5
11458echo "$as_me: failed program was:" >&5 11181echo "$as_me: failed program was:" >&5
11459sed 's/^/| /' conftest.$ac_ext >&5 11182sed 's/^/| /' conftest.$ac_ext >&5
11460 11183
11461( exit $ac_status ) 11184( exit $ac_status )
11462rxvt_cv_path_wtmp= 11185path_wtmp=
11463fi 11186fi
11464rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11187rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11465fi 11188fi
11466fi 11189fi
11467echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 11190echo "$as_me:$LINENO: result: $path_wtmp" >&5
11468echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 11191echo "${ECHO_T}$path_wtmp" >&6
11469if test x$rxvt_cv_path_wtmp != x; then 11192if test x$path_wtmp != x; then
11470 11193
11471cat >>confdefs.h <<_ACEOF 11194cat >>confdefs.h <<_ACEOF
11472#define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" 11195#define WTMP_FILE "$path_wtmp"
11473_ACEOF 11196_ACEOF
11474 11197
11475fi 11198fi
11476 11199
11477echo "$as_me:$LINENO: checking where wtmpx is located" >&5 11200echo "$as_me:$LINENO: checking where wtmpx is located" >&5
11478echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 11201echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6
11479if test "${rxvt_cv_path_wtmpx+set}" = set; then 11202if test "${path_wtmpx+set}" = set; then
11480 echo $ECHO_N "(cached) $ECHO_C" >&6 11203 echo $ECHO_N "(cached) $ECHO_C" >&6
11481else 11204else
11482 if test "$cross_compiling" = yes; then 11205 if test "$cross_compiling" = yes; then
11483 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 11206 { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5
11484echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} 11207echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;}
11485else 11208else
11486 cat >conftest.$ac_ext <<_ACEOF 11209 cat >conftest.$ac_ext <<_ACEOF
11487/* confdefs.h. */ 11210/* confdefs.h. */
11488_ACEOF 11211_ACEOF
11489cat confdefs.h >>conftest.$ac_ext 11212cat confdefs.h >>conftest.$ac_ext
11490cat >>conftest.$ac_ext <<_ACEOF 11213cat >>conftest.$ac_ext <<_ACEOF
11491/* end confdefs.h. */ 11214/* end confdefs.h. */
11492#include <stdio.h> 11215#include <stdio.h>
11216#include <stdlib.h>
11493#ifdef HAVE_UTMPX_H 11217#ifdef HAVE_UTMPX_H
11494#include <utmpx.h> 11218#include <utmpx.h>
11495#endif 11219#endif
11496#include <errno.h> 11220#include <errno.h>
11497main() 11221main()
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5 11251 (eval $ac_try) 2>&5
11528 ac_status=$? 11252 ac_status=$?
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then 11254 (exit $ac_status); }; }; then
11531 rxvt_cv_path_wtmpx=`cat conftestval` 11255 path_wtmpx=`cat conftestval`
11532else 11256else
11533 echo "$as_me: program exited with status $ac_status" >&5 11257 echo "$as_me: program exited with status $ac_status" >&5
11534echo "$as_me: failed program was:" >&5 11258echo "$as_me: failed program was:" >&5
11535sed 's/^/| /' conftest.$ac_ext >&5 11259sed 's/^/| /' conftest.$ac_ext >&5
11536 11260
11537( exit $ac_status ) 11261( exit $ac_status )
11538rxvt_cv_path_wtmpx= 11262path_wtmpx=
11539fi 11263fi
11540rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11264rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11541fi 11265fi
11542fi 11266fi
11543echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 11267echo "$as_me:$LINENO: result: $path_wtmpx" >&5
11544echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 11268echo "${ECHO_T}$path_wtmpx" >&6
11545if test x$rxvt_cv_path_wtmpx != x; then 11269if test x$path_wtmpx != x; then
11546 11270
11547cat >>confdefs.h <<_ACEOF 11271cat >>confdefs.h <<_ACEOF
11548#define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" 11272#define WTMPX_FILE "$path_wtmpx"
11549_ACEOF 11273_ACEOF
11550 11274
11551fi 11275fi
11552 11276
11553echo "$as_me:$LINENO: checking where lastlog is located" >&5 11277echo "$as_me:$LINENO: checking where lastlog is located" >&5
11554echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 11278echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6
11555if test "${rxvt_cv_path_lastlog+set}" = set; then 11279if test "${path_lastlog+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6 11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11557else 11281else
11558 if test "$cross_compiling" = yes; then 11282 if test "$cross_compiling" = yes; then
11559 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 11283 { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5
11560echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} 11284echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;}
11561else 11285else
11562 cat >conftest.$ac_ext <<_ACEOF 11286 cat >conftest.$ac_ext <<_ACEOF
11563/* confdefs.h. */ 11287/* confdefs.h. */
11564_ACEOF 11288_ACEOF
11565cat confdefs.h >>conftest.$ac_ext 11289cat confdefs.h >>conftest.$ac_ext
11566cat >>conftest.$ac_ext <<_ACEOF 11290cat >>conftest.$ac_ext <<_ACEOF
11567/* end confdefs.h. */ 11291/* end confdefs.h. */
11568#include <stdio.h> 11292#include <stdio.h>
11293#include <stdlib.h>
11569#include <sys/types.h> 11294#include <sys/types.h>
11570#ifdef HAVE_UTMPX_H 11295#ifdef HAVE_UTMPX_H
11571#include <utmpx.h> 11296#include <utmpx.h>
11572#elif defined(HAVE_UTMP_H) 11297#elif defined(HAVE_UTMP_H)
11573#include <utmp.h> 11298#include <utmp.h>
11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608 (eval $ac_try) 2>&5 11333 (eval $ac_try) 2>&5
11609 ac_status=$? 11334 ac_status=$?
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; }; then 11336 (exit $ac_status); }; }; then
11612 rxvt_cv_path_lastlog=`cat conftestval` 11337 path_lastlog=`cat conftestval`
11613else 11338else
11614 echo "$as_me: program exited with status $ac_status" >&5 11339 echo "$as_me: program exited with status $ac_status" >&5
11615echo "$as_me: failed program was:" >&5 11340echo "$as_me: failed program was:" >&5
11616sed 's/^/| /' conftest.$ac_ext >&5 11341sed 's/^/| /' conftest.$ac_ext >&5
11617 11342
11618( exit $ac_status ) 11343( exit $ac_status )
11619rxvt_cv_path_lastlog= 11344path_lastlog=
11620fi 11345fi
11621rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11346rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11622fi 11347fi
11623fi 11348fi
11624echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 11349echo "$as_me:$LINENO: result: $path_lastlog" >&5
11625echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 11350echo "${ECHO_T}$path_lastlog" >&6
11626if test x$rxvt_cv_path_lastlog != x; then 11351if test x$path_lastlog != x; then
11627 11352
11628cat >>confdefs.h <<_ACEOF 11353cat >>confdefs.h <<_ACEOF
11629#define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" 11354#define LASTLOG_FILE "$path_lastlog"
11630_ACEOF 11355_ACEOF
11631 11356
11632 if test -d "$rxvt_cv_path_lastlog"; then 11357 if test -d "$path_lastlog"; then
11633 11358
11634cat >>confdefs.h <<\_ACEOF 11359cat >>confdefs.h <<\_ACEOF
11635#define LASTLOG_IS_DIR 1 11360#define LASTLOG_IS_DIR 1
11636_ACEOF 11361_ACEOF
11637 11362
11638 fi 11363 fi
11639fi 11364fi
11640 11365
11641echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11366echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11642echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 11367echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6
11643if test "${rxvt_cv_path_lastlogx+set}" = set; then 11368if test "${path_lastlogx+set}" = set; then
11644 echo $ECHO_N "(cached) $ECHO_C" >&6 11369 echo $ECHO_N "(cached) $ECHO_C" >&6
11645else 11370else
11646 if test "$cross_compiling" = yes; then 11371 if test "$cross_compiling" = yes; then
11647 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 11372 { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5
11648echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} 11373echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;}
11649else 11374else
11650 cat >conftest.$ac_ext <<_ACEOF 11375 cat >conftest.$ac_ext <<_ACEOF
11651/* confdefs.h. */ 11376/* confdefs.h. */
11652_ACEOF 11377_ACEOF
11653cat confdefs.h >>conftest.$ac_ext 11378cat confdefs.h >>conftest.$ac_ext
11654cat >>conftest.$ac_ext <<_ACEOF 11379cat >>conftest.$ac_ext <<_ACEOF
11655/* end confdefs.h. */ 11380/* end confdefs.h. */
11656#include <stdio.h> 11381#include <stdio.h>
11382#include <stdlib.h>
11657#ifdef HAVE_UTMPX_H 11383#ifdef HAVE_UTMPX_H
11658#include <utmpx.h> 11384#include <utmpx.h>
11659#endif 11385#endif
11660#include <errno.h> 11386#include <errno.h>
11661main() 11387main()
11689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690 (eval $ac_try) 2>&5 11416 (eval $ac_try) 2>&5
11691 ac_status=$? 11417 ac_status=$?
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }; }; then 11419 (exit $ac_status); }; }; then
11694 rxvt_cv_path_lastlogx=`cat conftestval` 11420 path_lastlogx=`cat conftestval`
11695else 11421else
11696 echo "$as_me: program exited with status $ac_status" >&5 11422 echo "$as_me: program exited with status $ac_status" >&5
11697echo "$as_me: failed program was:" >&5 11423echo "$as_me: failed program was:" >&5
11698sed 's/^/| /' conftest.$ac_ext >&5 11424sed 's/^/| /' conftest.$ac_ext >&5
11699 11425
11700( exit $ac_status ) 11426( exit $ac_status )
11701rxvt_cv_path_lastlogx= 11427path_lastlogx=
11702fi 11428fi
11703rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11429rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11704fi 11430fi
11705fi 11431fi
11706echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 11432echo "$as_me:$LINENO: result: $path_lastlogx" >&5
11707echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 11433echo "${ECHO_T}$path_lastlogx" >&6
11708if test x$rxvt_cv_path_lastlogx != x; then 11434if test x$path_lastlogx != x; then
11709 11435
11710cat >>confdefs.h <<_ACEOF 11436cat >>confdefs.h <<_ACEOF
11711#define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" 11437#define LASTLOGX_FILE "$path_lastlogx"
11712_ACEOF 11438_ACEOF
11713 11439
11714fi 11440fi
11715 11441
11716 11442
11761_ACEOF 11487_ACEOF
11762cat confdefs.h >>conftest.$ac_ext 11488cat confdefs.h >>conftest.$ac_ext
11763cat >>conftest.$ac_ext <<_ACEOF 11489cat >>conftest.$ac_ext <<_ACEOF
11764/* end confdefs.h. */ 11490/* end confdefs.h. */
11765#include <X11/Xlib.h> 11491#include <X11/Xlib.h>
11492#include <stdlib.h>
11766main() { 11493main() {
11767char *p; 11494char *p;
11768if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 11495if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
11769exit (XSupportsLocale() ? 0 : 1); 11496exit (XSupportsLocale() ? 0 : 1);
11770else 11497else
11831 grep -v '^ *+' conftest.er1 >conftest.err 11558 grep -v '^ *+' conftest.er1 >conftest.err
11832 rm -f conftest.er1 11559 rm -f conftest.er1
11833 cat conftest.err >&5 11560 cat conftest.err >&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } && 11562 (exit $ac_status); } &&
11836 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11563 { ac_try='test -z "$ac_cxx_werror_flag"
11564 || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5 11566 (eval $ac_try) 2>&5
11839 ac_status=$? 11567 ac_status=$?
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } && 11569 (exit $ac_status); }; } &&
11894 grep -v '^ *+' conftest.er1 >conftest.err 11622 grep -v '^ *+' conftest.er1 >conftest.err
11895 rm -f conftest.er1 11623 rm -f conftest.er1
11896 cat conftest.err >&5 11624 cat conftest.err >&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); } && 11626 (exit $ac_status); } &&
11899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11627 { ac_try='test -z "$ac_cxx_werror_flag"
11628 || test ! -s conftest.err'
11900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11901 (eval $ac_try) 2>&5 11630 (eval $ac_try) 2>&5
11902 ac_status=$? 11631 ac_status=$?
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); }; } && 11633 (exit $ac_status); }; } &&
11955 grep -v '^ *+' conftest.er1 >conftest.err 11684 grep -v '^ *+' conftest.er1 >conftest.err
11956 rm -f conftest.er1 11685 rm -f conftest.er1
11957 cat conftest.err >&5 11686 cat conftest.err >&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); } && 11688 (exit $ac_status); } &&
11960 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11689 { ac_try='test -z "$ac_cxx_werror_flag"
11690 || test ! -s conftest.err'
11961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962 (eval $ac_try) 2>&5 11692 (eval $ac_try) 2>&5
11963 ac_status=$? 11693 ac_status=$?
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; } && 11695 (exit $ac_status); }; } &&
11987#define HAVE_NL_LANGINFO 1 11717#define HAVE_NL_LANGINFO 1
11988_ACEOF 11718_ACEOF
11989 11719
11990fi 11720fi
11991 11721
11722
11992echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 11723echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5
11993echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 11724echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6
11994if test "${rxvt_can_pass_fds+set}" = set; then 11725if test "${can_pass_fds+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6 11726 echo $ECHO_N "(cached) $ECHO_C" >&6
11996else 11727else
11997 cat >conftest.$ac_ext <<_ACEOF 11728 cat >conftest.$ac_ext <<_ACEOF
11998/* confdefs.h. */ 11729/* confdefs.h. */
11999_ACEOF 11730_ACEOF
12000cat confdefs.h >>conftest.$ac_ext 11731cat confdefs.h >>conftest.$ac_ext
12001cat >>conftest.$ac_ext <<_ACEOF 11732cat >>conftest.$ac_ext <<_ACEOF
12002/* end confdefs.h. */ 11733/* end confdefs.h. */
12003 11734
11735#include <cstddef> // broken bsds (is that redundant?) need this
12004#include <sys/types.h> 11736#include <sys/types.h>
12005#include <sys/socket.h> 11737#include <sys/socket.h>
11738#include <sys/uio.h>
12006 11739
12007int 11740int
12008main () 11741main ()
12009{ 11742{
12010 11743
12043 grep -v '^ *+' conftest.er1 >conftest.err 11776 grep -v '^ *+' conftest.er1 >conftest.err
12044 rm -f conftest.er1 11777 rm -f conftest.er1
12045 cat conftest.err >&5 11778 cat conftest.err >&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); } && 11780 (exit $ac_status); } &&
12048 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11781 { ac_try='test -z "$ac_cxx_werror_flag"
11782 || test ! -s conftest.err'
12049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12050 (eval $ac_try) 2>&5 11784 (eval $ac_try) 2>&5
12051 ac_status=$? 11785 ac_status=$?
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); }; } && 11787 (exit $ac_status); }; } &&
12055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12056 (eval $ac_try) 2>&5 11790 (eval $ac_try) 2>&5
12057 ac_status=$? 11791 ac_status=$?
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); }; }; then 11793 (exit $ac_status); }; }; then
12060 rxvt_can_pass_fds=yes 11794 can_pass_fds=yes
12061else 11795else
12062 echo "$as_me: failed program was:" >&5 11796 echo "$as_me: failed program was:" >&5
12063sed 's/^/| /' conftest.$ac_ext >&5 11797sed 's/^/| /' conftest.$ac_ext >&5
12064 11798
12065rxvt_can_pass_fds=no 11799can_pass_fds=no
12066fi 11800fi
12067rm -f conftest.err conftest.$ac_objext \ 11801rm -f conftest.err conftest.$ac_objext \
12068 conftest$ac_exeext conftest.$ac_ext 11802 conftest$ac_exeext conftest.$ac_ext
12069fi 11803fi
12070echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 11804echo "$as_me:$LINENO: result: $can_pass_fds" >&5
12071echo "${ECHO_T}$rxvt_can_pass_fds" >&6 11805echo "${ECHO_T}$can_pass_fds" >&6
12072if test x$rxvt_can_pass_fds = xyes; then 11806if test x$can_pass_fds = xyes; then
12073 11807
12074cat >>confdefs.h <<\_ACEOF 11808cat >>confdefs.h <<\_ACEOF
12075#define HAVE_UNIX_FDPASS 1 11809#define HAVE_UNIX_FDPASS 1
12076_ACEOF 11810_ACEOF
12077 11811
12078else 11812else
12079 { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5 11813 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5
12080echo "$as_me: error: urxvt requires unix-compliant filehandle passing ability" >&2;} 11814echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
12081 { (exit 1); exit 1; }; } 11815 { (exit 1); exit 1; }; }
12082fi 11816fi
11817
12083 11818
12084echo "$as_me:$LINENO: checking for broken XIM callback" >&5 11819echo "$as_me:$LINENO: checking for broken XIM callback" >&5
12085echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 11820echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
12086if test "${rxvt_broken_ximcb+set}" = set; then 11821if test "${rxvt_broken_ximcb+set}" = set; then
12087 echo $ECHO_N "(cached) $ECHO_C" >&6 11822 echo $ECHO_N "(cached) $ECHO_C" >&6
12105 grep -v '^ *+' conftest.er1 >conftest.err 11840 grep -v '^ *+' conftest.er1 >conftest.err
12106 rm -f conftest.er1 11841 rm -f conftest.er1
12107 cat conftest.err >&5 11842 cat conftest.err >&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } && 11844 (exit $ac_status); } &&
12110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11845 { ac_try='test -z "$ac_cxx_werror_flag"
11846 || test ! -s conftest.err'
12111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12112 (eval $ac_try) 2>&5 11848 (eval $ac_try) 2>&5
12113 ac_status=$? 11849 ac_status=$?
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; } && 11851 (exit $ac_status); }; } &&
12182 grep -v '^ *+' conftest.er1 >conftest.err 11918 grep -v '^ *+' conftest.er1 >conftest.err
12183 rm -f conftest.er1 11919 rm -f conftest.er1
12184 cat conftest.err >&5 11920 cat conftest.err >&5
12185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 (exit $ac_status); } && 11922 (exit $ac_status); } &&
12187 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11923 { ac_try='test -z "$ac_cxx_werror_flag"
11924 || test ! -s conftest.err'
12188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12189 (eval $ac_try) 2>&5 11926 (eval $ac_try) 2>&5
12190 ac_status=$? 11927 ac_status=$?
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); }; } && 11929 (exit $ac_status); }; } &&
12303 12040
12304 12041
12305 12042
12306 12043
12307 12044
12045
12046
12047
12048
12308for ac_func in \ 12049for ac_func in \
12309 revoke \ 12050 revoke \
12310 _getpty \ 12051 _getpty \
12311 getpt \ 12052 getpt \
12312 posix_openpt \ 12053 posix_openpt \
12313 isastream \ 12054 isastream \
12055 setuid \
12056 seteuid \
12057 setreuid \
12058 setresuid \
12314 12059
12315do 12060do
12316as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12061as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12317echo "$as_me:$LINENO: checking for $ac_func" >&5 12062echo "$as_me:$LINENO: checking for $ac_func" >&5
12318echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12063echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12377 grep -v '^ *+' conftest.er1 >conftest.err 12122 grep -v '^ *+' conftest.er1 >conftest.err
12378 rm -f conftest.er1 12123 rm -f conftest.er1
12379 cat conftest.err >&5 12124 cat conftest.err >&5
12380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381 (exit $ac_status); } && 12126 (exit $ac_status); } &&
12382 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12127 { ac_try='test -z "$ac_cxx_werror_flag"
12128 || test ! -s conftest.err'
12383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12384 (eval $ac_try) 2>&5 12130 (eval $ac_try) 2>&5
12385 ac_status=$? 12131 ac_status=$?
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); }; } && 12133 (exit $ac_status); }; } &&
12514 grep -v '^ *+' conftest.er1 >conftest.err 12260 grep -v '^ *+' conftest.er1 >conftest.err
12515 rm -f conftest.er1 12261 rm -f conftest.er1
12516 cat conftest.err >&5 12262 cat conftest.err >&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); } && 12264 (exit $ac_status); } &&
12519 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12265 { ac_try='test -z "$ac_cxx_werror_flag"
12266 || test ! -s conftest.err'
12520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12521 (eval $ac_try) 2>&5 12268 (eval $ac_try) 2>&5
12522 ac_status=$? 12269 ac_status=$?
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }; } && 12271 (exit $ac_status); }; } &&
12615 grep -v '^ *+' conftest.er1 >conftest.err 12362 grep -v '^ *+' conftest.er1 >conftest.err
12616 rm -f conftest.er1 12363 rm -f conftest.er1
12617 cat conftest.err >&5 12364 cat conftest.err >&5
12618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12619 (exit $ac_status); } && 12366 (exit $ac_status); } &&
12620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12367 { ac_try='test -z "$ac_cxx_werror_flag"
12368 || test ! -s conftest.err'
12621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12622 (eval $ac_try) 2>&5 12370 (eval $ac_try) 2>&5
12623 ac_status=$? 12371 ac_status=$?
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); }; } && 12373 (exit $ac_status); }; } &&
12683 grep -v '^ *+' conftest.er1 >conftest.err 12431 grep -v '^ *+' conftest.er1 >conftest.err
12684 rm -f conftest.er1 12432 rm -f conftest.er1
12685 cat conftest.err >&5 12433 cat conftest.err >&5
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); } && 12435 (exit $ac_status); } &&
12688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12436 { ac_try='test -z "$ac_cxx_werror_flag"
12437 || test ! -s conftest.err'
12689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12690 (eval $ac_try) 2>&5 12439 (eval $ac_try) 2>&5
12691 ac_status=$? 12440 ac_status=$?
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); }; } && 12442 (exit $ac_status); }; } &&
12721done 12470done
12722 12471
12723fi 12472fi
12724 12473
12725 12474
12475
12476echo "$as_me:$LINENO: checking for tty group" >&5
12477echo $ECHO_N "checking for tty group... $ECHO_C" >&6
12478if test "${tty_group+set}" = set; then
12479 echo $ECHO_N "(cached) $ECHO_C" >&6
12480else
12481 if test "$cross_compiling" = yes; then
12482 tty_group=no
12483else
12484 cat >conftest.$ac_ext <<_ACEOF
12485/* confdefs.h. */
12486_ACEOF
12487cat confdefs.h >>conftest.$ac_ext
12488cat >>conftest.$ac_ext <<_ACEOF
12489/* end confdefs.h. */
12490
12491#include <sys/types.h>
12492#include <sys/stat.h>
12493#include <unistd.h>
12494#include <grp.h>
12495
12496main()
12497{
12498 struct stat st;
12499 struct group *gr;
12500 char *tty;
12501 gr = getgrnam("tty");
12502 tty = ttyname(0);
12503 if (gr != 0
12504 && tty != 0
12505 && (stat(tty, &st)) == 0
12506 && st.st_gid == gr->gr_gid)
12507 return 0;
12508 else
12509 return 1;
12510}
12511_ACEOF
12512rm -f conftest$ac_exeext
12513if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12514 (eval $ac_link) 2>&5
12515 ac_status=$?
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12519 (eval $ac_try) 2>&5
12520 ac_status=$?
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); }; }; then
12523 tty_group=yes
12524else
12525 echo "$as_me: program exited with status $ac_status" >&5
12526echo "$as_me: failed program was:" >&5
12527sed 's/^/| /' conftest.$ac_ext >&5
12528
12529( exit $ac_status )
12530tty_group=no
12531fi
12532rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12533fi
12534fi
12535echo "$as_me:$LINENO: result: $tty_group" >&5
12536echo "${ECHO_T}$tty_group" >&6
12537if test x$tty_group = xyes; then
12538
12539cat >>confdefs.h <<\_ACEOF
12540#define TTY_GID_SUPPORT 1
12541_ACEOF
12542
12543fi
12544
12726if test x$support_xft = xyes; then 12545if test x$support_xft = xyes; then
12727 LIBS="$LIBS `pkg-config xft --libs`" 12546 # Extract the first word of "pkg-config", so it can be a program name with args.
12547set dummy pkg-config; ac_word=$2
12548echo "$as_me:$LINENO: checking for $ac_word" >&5
12549echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12550if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12551 echo $ECHO_N "(cached) $ECHO_C" >&6
12552else
12553 case $PKG_CONFIG in
12554 [\\/]* | ?:[\\/]*)
12555 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12556 ;;
12557 *)
12558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12559for as_dir in $PATH
12560do
12561 IFS=$as_save_IFS
12562 test -z "$as_dir" && as_dir=.
12563 for ac_exec_ext in '' $ac_executable_extensions; do
12564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12565 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12567 break 2
12568 fi
12569done
12570done
12571
12572 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12573 ;;
12574esac
12575fi
12576PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12577
12578if test -n "$PKG_CONFIG"; then
12579 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12580echo "${ECHO_T}$PKG_CONFIG" >&6
12581else
12582 echo "$as_me:$LINENO: result: no" >&5
12583echo "${ECHO_T}no" >&6
12584fi
12585
12586 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12587 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12728 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 12588 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12589 else
12590 # Extract the first word of "xft-config", so it can be a program name with args.
12591set dummy xft-config; ac_word=$2
12592echo "$as_me:$LINENO: checking for $ac_word" >&5
12593echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12594if test "${ac_cv_path_XFT_CONFIG+set}" = set; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12596else
12597 case $XFT_CONFIG in
12598 [\\/]* | ?:[\\/]*)
12599 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path.
12600 ;;
12601 *)
12602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12603for as_dir in $PATH
12604do
12605 IFS=$as_save_IFS
12606 test -z "$as_dir" && as_dir=.
12607 for ac_exec_ext in '' $ac_executable_extensions; do
12608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12609 ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12611 break 2
12612 fi
12613done
12614done
12615
12616 test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no"
12617 ;;
12618esac
12619fi
12620XFT_CONFIG=$ac_cv_path_XFT_CONFIG
12621
12622if test -n "$XFT_CONFIG"; then
12623 echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5
12624echo "${ECHO_T}$XFT_CONFIG" >&6
12625else
12626 echo "$as_me:$LINENO: result: no" >&5
12627echo "${ECHO_T}no" >&6
12628fi
12629
12630 if test $XFT_CONFIG != no; then
12631 LIBS="$LIBS `$XFT_CONFIG --libs`"
12632 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12633 fi
12634 fi
12729 12635
12730 12636
12731for ac_header in X11/Xft/Xft.h 12637for ac_header in X11/Xft/Xft.h
12732do 12638do
12733as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12639as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12759 grep -v '^ *+' conftest.er1 >conftest.err 12665 grep -v '^ *+' conftest.er1 >conftest.err
12760 rm -f conftest.er1 12666 rm -f conftest.er1
12761 cat conftest.err >&5 12667 cat conftest.err >&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); } && 12669 (exit $ac_status); } &&
12764 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12670 { ac_try='test -z "$ac_cxx_werror_flag"
12671 || test ! -s conftest.err'
12765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12766 (eval $ac_try) 2>&5 12673 (eval $ac_try) 2>&5
12767 ac_status=$? 12674 ac_status=$?
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; } && 12676 (exit $ac_status); }; } &&
12915 grep -v '^ *+' conftest.er1 >conftest.err 12822 grep -v '^ *+' conftest.er1 >conftest.err
12916 rm -f conftest.er1 12823 rm -f conftest.er1
12917 cat conftest.err >&5 12824 cat conftest.err >&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); } && 12826 (exit $ac_status); } &&
12920 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12827 { ac_try='test -z "$ac_cxx_werror_flag"
12828 || test ! -s conftest.err'
12921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922 (eval $ac_try) 2>&5 12830 (eval $ac_try) 2>&5
12923 ac_status=$? 12831 ac_status=$?
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); }; } && 12833 (exit $ac_status); }; } &&
13023cat >>confdefs.h <<\_ACEOF 12931cat >>confdefs.h <<\_ACEOF
13024#define ENABLE_FRILLS 1 12932#define ENABLE_FRILLS 1
13025_ACEOF 12933_ACEOF
13026 12934
13027fi 12935fi
13028if test x$support_24bit = xyes; then
13029
13030cat >>confdefs.h <<\_ACEOF
13031#define PREFER_24BIT 1
13032_ACEOF
13033
13034fi
13035if test x$support_mousewheel = xyes; then 12936if test x$support_mousewheel = xyes; then
13036 12937
13037cat >>confdefs.h <<\_ACEOF 12938cat >>confdefs.h <<\_ACEOF
13038#define MOUSE_WHEEL 1 12939#define MOUSE_WHEEL 1
13039_ACEOF 12940_ACEOF
13044cat >>confdefs.h <<\_ACEOF 12945cat >>confdefs.h <<\_ACEOF
13045#define MOUSE_SLIP_WHEELING 1 12946#define MOUSE_SLIP_WHEELING 1
13046_ACEOF 12947_ACEOF
13047 12948
13048fi 12949fi
13049if test x$support_utmp = xyes; then
13050
13051cat >>confdefs.h <<\_ACEOF
13052#define UTMP_SUPPORT 1
13053_ACEOF
13054
13055fi
13056if test x$support_wtmp = xyes; then
13057
13058cat >>confdefs.h <<\_ACEOF
13059#define WTMP_SUPPORT 1
13060_ACEOF
13061
13062fi
13063if test x$support_lastlog = xyes; then
13064
13065cat >>confdefs.h <<\_ACEOF
13066#define LASTLOG_SUPPORT 1
13067_ACEOF
13068
13069fi
13070if test x$support_xim = xyes -o x$multichar_set = xyes; then 12950if test x$support_xim = xyes -o x$multichar_set = xyes; then
13071 if test x$rxvt_cv_func_xlocale = xyes; then 12951 if test x$rxvt_cv_func_xlocale = xyes; then
13072 12952
13073cat >>confdefs.h <<\_ACEOF 12953cat >>confdefs.h <<\_ACEOF
13074#define USE_XIM 1 12954#define USE_XIM 1
13075_ACEOF 12955_ACEOF
13076 12956
13077 fi 12957 fi
13078fi 12958fi
13079if test x$support_xpm = xyes; then 12959if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then
13080 12960
13081cat >>confdefs.h <<\_ACEOF 12961cat >>confdefs.h <<\_ACEOF
13082#define XPM_BACKGROUND 1 12962#define XPM_BACKGROUND 1
13083_ACEOF 12963_ACEOF
13084 12964
13085fi 12965fi
12966
12967if test x$support_afterimage = xyes; then
12968
12969cat >>confdefs.h <<\_ACEOF
12970#define HAVE_AFTERIMAGE 1
12971_ACEOF
12972
12973fi
12974
12975if test x$support_afterstep = xyes; then
12976
12977cat >>confdefs.h <<\_ACEOF
12978#define AFTERSTEP_INTEGRATION 1
12979_ACEOF
12980
12981fi
12982
13086if test x$support_scroll_rxvt = xyes; then 12983if test x$support_scroll_rxvt = xyes; then
13087 12984
13088cat >>confdefs.h <<\_ACEOF 12985cat >>confdefs.h <<\_ACEOF
13089#define RXVT_SCROLLBAR 1 12986#define RXVT_SCROLLBAR 1
13090_ACEOF 12987_ACEOF
13303 grep -v '^ *+' conftest.er1 >conftest.err 13200 grep -v '^ *+' conftest.er1 >conftest.err
13304 rm -f conftest.er1 13201 rm -f conftest.er1
13305 cat conftest.err >&5 13202 cat conftest.err >&5
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); } && 13204 (exit $ac_status); } &&
13308 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 13205 { ac_try='test -z "$ac_cxx_werror_flag"
13206 || test ! -s conftest.err'
13309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13310 (eval $ac_try) 2>&5 13208 (eval $ac_try) 2>&5
13311 ac_status=$? 13209 ac_status=$?
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); }; } && 13211 (exit $ac_status); }; } &&
13363if test x$support_perl = xyes; then 13261if test x$support_perl = xyes; then
13364 support_frills=yes 13262 support_frills=yes
13365fi 13263fi
13366 13264
13367 13265
13368CFLAGS=${CFLAGS--O}
13369LDFLAGS=${LDFLAGS--O}
13370
13371CPPFLAGS="$CPPFLAGS"
13372
13373
13374
13375 13266
13376 13267
13377 13268
13378 13269
13379if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then 13270if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
13380 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
13381 LIBS=`echo $LIBS | sed "$R_TRANSLATE"` 13271 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
13382 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` 13272 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
13383 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` 13273 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
13384 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` 13274 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
13385fi 13275fi
13276
13277
13386 13278
13387 13279
13388 13280
13389 13281
13390 13282
14113s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 14005s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14114s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 14006s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14115s,@INSTALL_DATA@,$INSTALL_DATA,;t t 14007s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14116s,@EGREP@,$EGREP,;t t 14008s,@EGREP@,$EGREP,;t t
14117s,@LINKER@,$LINKER,;t t 14009s,@LINKER@,$LINKER,;t t
14010s,@CXXLIB@,$CXXLIB,;t t
14118s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 14011s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
14119s,@RXVTNAME@,$RXVTNAME,;t t 14012s,@RXVTNAME@,$RXVTNAME,;t t
14120s,@MV@,$MV,;t t
14121s,@RM@,$RM,;t t
14122s,@CP@,$CP,;t t
14123s,@LN@,$LN,;t t
14124s,@SED@,$SED,;t t
14125s,@ECHO@,$ECHO,;t t
14126s,@CMP@,$CMP,;t t
14127s,@TIC@,$TIC,;t t 14013s,@TIC@,$TIC,;t t
14128s,@CXXCPP@,$CXXCPP,;t t 14014s,@CXXCPP@,$CXXCPP,;t t
14129s,@X_CFLAGS@,$X_CFLAGS,;t t 14015s,@X_CFLAGS@,$X_CFLAGS,;t t
14130s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 14016s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
14131s,@X_LIBS@,$X_LIBS,;t t 14017s,@X_LIBS@,$X_LIBS,;t t
14132s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 14018s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
14019s,@afterimage_config@,$afterimage_config,;t t
14133s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 14020s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t
14134s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t 14021s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t
14135s,@XPM_LIBS@,$XPM_LIBS,;t t 14022s,@XPM_LIBS@,$XPM_LIBS,;t t
14136s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t 14023s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t
14137s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t 14024s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t
14138s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t 14025s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t
14139s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t 14026s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t
14140s,@rxvt_intp_define@,$rxvt_intp_define,;t t 14027s,@rxvt_intp_define@,$rxvt_intp_define,;t t
14141s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 14028s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
14029s,@PKG_CONFIG@,$PKG_CONFIG,;t t
14030s,@XFT_CONFIG@,$XFT_CONFIG,;t t
14142s,@PERL@,$PERL,;t t 14031s,@PERL@,$PERL,;t t
14143s,@PERLLIB@,$PERLLIB,;t t 14032s,@PERLLIB@,$PERLLIB,;t t
14144s,@PERLFLAGS@,$PERLFLAGS,;t t 14033s,@PERLFLAGS@,$PERLFLAGS,;t t
14145s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t 14034s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t
14146s,@IF_PERL@,$IF_PERL,;t t 14035s,@IF_PERL@,$IF_PERL,;t t
14147s,@PERL_O@,$PERL_O,;t t 14036s,@PERL_O@,$PERL_O,;t t
14148s,@DEBUG@,$DEBUG,;t t 14037s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t
14149s,@DINCLUDE@,$DINCLUDE,;t t 14038s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t
14150s,@DLIB@,$DLIB,;t t
14151s,@include_stdint_h@,$include_stdint_h,;t t 14039s,@include_stdint_h@,$include_stdint_h,;t t
14152s,@include_stdarg_h@,$include_stdarg_h,;t t 14040s,@include_stdarg_h@,$include_stdarg_h,;t t
14153s,@include_stdlib_h@,$include_stdlib_h,;t t 14041s,@include_stdlib_h@,$include_stdlib_h,;t t
14154s,@include_unistd_h@,$include_unistd_h,;t t 14042s,@include_unistd_h@,$include_unistd_h,;t t
14155s,@include_string_h@,$include_string_h,;t t 14043s,@include_string_h@,$include_string_h,;t t
14327 case $INSTALL in 14215 case $INSTALL in
14328 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14216 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14329 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 14217 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14330 esac 14218 esac
14331 14219
14220 if test x"$ac_file" != x-; then
14221 { echo "$as_me:$LINENO: creating $ac_file" >&5
14222echo "$as_me: creating $ac_file" >&6;}
14223 rm -f "$ac_file"
14224 fi
14332 # Let's still pretend it is `configure' which instantiates (i.e., don't 14225 # Let's still pretend it is `configure' which instantiates (i.e., don't
14333 # use $as_me), people would be surprised to read: 14226 # use $as_me), people would be surprised to read:
14334 # /* config.h. Generated by config.status. */ 14227 # /* config.h. Generated by config.status. */
14335 if test x"$ac_file" = x-; then 14228 if test x"$ac_file" = x-; then
14336 configure_input= 14229 configure_input=
14365echo "$as_me: error: cannot find input file: $f" >&2;} 14258echo "$as_me: error: cannot find input file: $f" >&2;}
14366 { (exit 1); exit 1; }; } 14259 { (exit 1); exit 1; }; }
14367 fi;; 14260 fi;;
14368 esac 14261 esac
14369 done` || { (exit 1); exit 1; } 14262 done` || { (exit 1); exit 1; }
14370
14371 if test x"$ac_file" != x-; then
14372 { echo "$as_me:$LINENO: creating $ac_file" >&5
14373echo "$as_me: creating $ac_file" >&6;}
14374 rm -f "$ac_file"
14375 fi
14376_ACEOF 14263_ACEOF
14377cat >>$CONFIG_STATUS <<_ACEOF 14264cat >>$CONFIG_STATUS <<_ACEOF
14378 sed "$ac_vpsub 14265 sed "$ac_vpsub
14379$extrasub 14266$extrasub
14380_ACEOF 14267_ACEOF
14660 14547
14661 Rxvt version: $VERSION : $DATE 14548 Rxvt version: $VERSION : $DATE
14662 Source code location: $srcdir 14549 Source code location: $srcdir
14663 Install path: ${prefix}/bin 14550 Install path: ${prefix}/bin
14664 Compiler: $CXX 14551 Compiler: $CXX
14665 Compiler flags: $CFLAGS 14552 Compiler flags: $CXXFLAGS
14666 Linker: $LINKER" 14553 Linker: $LINKER"
14667
14668if test "$MALLOC_TYPE" = S; then
14669 echo " malloc support: system default"
14670fi
14671if test "$MALLOC_TYPE" = G; then
14672 echo " malloc support: Gray Watson's dmalloc"
14673fi
14674if test "$MALLOC_TYPE" = D; then
14675 echo " malloc support: Doug Lea's malloc"
14676fi
14677 14554
14678if test x$support_xpm = xyes; then 14555if test x$support_xpm = xyes; then
14679 echo " Xpm library: $XPM_LIBS" 14556 echo " Xpm library: $XPM_LIBS"
14680fi 14557fi
14681 14558
14682echo " 14559if test x$support_afterimage = xyes; then
14683The following are set in config.h 14560 echo " AfterImage support: yes"
14684" 14561fi
14562
14685if test x$support_utmp != xyes; then 14563if test x$support_afterstep = xyes; then
14686 echo " utmp support: disabled" 14564 echo " AfterStep integration: yes"
14687 echo
14688else
14689 echo " utmp support: enabled
14690 utmp file: $rxvt_cv_path_utmp
14691 utmpx file: $rxvt_cv_path_utmpx
14692 wtmp file: $rxvt_cv_path_wtmp
14693 wtmpx file: $rxvt_cv_path_wtmpx
14694 lastlog file: $rxvt_cv_path_lastlog
14695 ttys/ttytab file: $rxvt_cv_path_ttytab
14696 embedded perl: $support_perl"
14697 echo
14698fi 14565fi
14566
14699if test x$term != x; then 14567if test x$term != x; then
14700 echo " set TERM to: $term" 14568 echo " set TERM to: $term"
14701fi 14569fi
14702if test x$terminfo != x; then 14570if test x$terminfo != x; then
14703 echo " set TERMINFO to: $terminfo" 14571 echo " set TERMINFO to: $terminfo"
14705echo " default resource name: $RESNAME" 14573echo " default resource name: $RESNAME"
14706echo " resource class: $RESCLASS" 14574echo " resource class: $RESCLASS"
14707if test x$RESFALLBACK != x; then 14575if test x$RESFALLBACK != x; then
14708 echo " resource class fallback: $RESFALLBACK" 14576 echo " resource class fallback: $RESFALLBACK"
14709fi 14577fi
14578echo
14579echo " embedded perl: $support_perl"
14710echo 14580echo
14711if test x$support_xpm = xneedsmanualspecification; then 14581if test x$support_xpm = xneedsmanualspecification; then
14712 echo ".----------------------------------------------------------------." 14582 echo ".----------------------------------------------------------------."
14713 echo ". WARNING: --enable-xpm-background was specified however the ." 14583 echo ". WARNING: --enable-xpm-background was specified however the ."
14714 echo ". XPM includes files and libraries could not be found. ." 14584 echo ". XPM includes files and libraries could not be found. ."
14724 echo ". functions could not be found. ." 14594 echo ". functions could not be found. ."
14725 echo ". XIM is now being DISABLED! ." 14595 echo ". XIM is now being DISABLED! ."
14726 echo ".----------------------------------------------------------------." 14596 echo ".----------------------------------------------------------------."
14727fi 14597fi
14728 14598
14729echo " *** Optionally check src/feature.h for further options ***" 14599echo "*** Optionally check src/feature.h for further, rarely used options ***"
14730echo 14600echo
14731 14601
14732echo ".----------------------------------------------------------------."
14733echo ". NOTE: some features are disabled by default, try ."
14734echo ". configure --help to get an idea of the optional features, ."
14735echo ". or read ./README.configure ."
14736echo ". ."
14737echo ". The script ./reconf gives a reasonable baseline, try it if ."
14738echo ". you do not want to read documentation and still want some ."
14739echo ". useful features. ."
14740echo ".----------------------------------------------------------------."
14741echo
14742

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines