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

Comparing rxvt-unicode/configure (file contents):
Revision 1.80 by root, Fri Jan 20 10:27:08 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
3242
3243if test x$GCC = xyes && test x$GXX = xyes; then
3244 echo "$as_me:$LINENO: checking for working libsupc++" >&5
3245echo $ECHO_N "checking for working libsupc++... $ECHO_C" >&6
3246 save_CXX="$CXX"
3247 save_LIBS="$LIBS"
3248 CXX="$CC"
3249 LIBS="$LIBS -lsupc++"
3250 LINKER="$CC"
3251
3252cat >conftest.$ac_ext <<_ACEOF
3253/* confdefs.h. */
3254_ACEOF
3255cat confdefs.h >>conftest.$ac_ext
3256cat >>conftest.$ac_ext <<_ACEOF
3257/* end confdefs.h. */
3258struct test { }; void f() try { throw new test; } catch (...) { throw; }
3259int
3260main ()
3261{
3262
3263 ;
3264 return 0;
3265}
3266_ACEOF
3267rm -f conftest.$ac_objext conftest$ac_exeext
3268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3269 (eval $ac_link) 2>conftest.er1
3270 ac_status=$?
3271 grep -v '^ *+' conftest.er1 >conftest.err
3272 rm -f conftest.er1
3273 cat conftest.err >&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); } &&
3276 { ac_try='test -z "$ac_cxx_werror_flag"
3277 || test ! -s conftest.err'
3278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279 (eval $ac_try) 2>&5
3280 ac_status=$?
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }; } &&
3283 { ac_try='test -s conftest$ac_exeext'
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285 (eval $ac_try) 2>&5
3286 ac_status=$?
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; }; then
3289
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
3310if test -z "$orig_CXXFLAGS"; then 3314if test -z "$orig_CXXFLAGS"; then
3311 if test x$GCC = xyes && test "x$GXX" = xyes; then 3315 if test x$GCC = xyes && test "x$GXX" = xyes; then
3312 CXXFLAGS="-g -O3 -Os -fno-threadsafe-statics -fno-enforce-eh-specs" 3316 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3313 3317 cat >conftest.$ac_ext <<_ACEOF
3318/* confdefs.h. */
3319_ACEOF
3320cat confdefs.h >>conftest.$ac_ext
3314cat >conftest.$ac_ext <<_ACEOF 3321cat >>conftest.$ac_ext <<_ACEOF
3315int i; 3322/* end confdefs.h. */
3323
3324int
3325main ()
3326{
3327
3328 ;
3329 return 0;
3330}
3316_ACEOF 3331_ACEOF
3317rm -f conftest.$ac_objext 3332rm -f conftest.$ac_objext
3318if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3333if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3319 (eval $ac_compile) 2>conftest.er1 3334 (eval $ac_compile) 2>conftest.er1
3320 ac_status=$? 3335 ac_status=$?
3321 grep -v '^ *+' conftest.er1 >conftest.err 3336 grep -v '^ *+' conftest.er1 >conftest.err
3322 rm -f conftest.er1 3337 rm -f conftest.er1
3323 cat conftest.err >&5 3338 cat conftest.err >&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); } && 3340 (exit $ac_status); } &&
3326 { 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'
3327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3328 (eval $ac_try) 2>&5 3344 (eval $ac_try) 2>&5
3329 ac_status=$? 3345 ac_status=$?
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); }; } && 3347 (exit $ac_status); }; } &&
3333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3334 (eval $ac_try) 2>&5 3350 (eval $ac_try) 2>&5
3335 ac_status=$? 3351 ac_status=$?
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); }; }; then 3353 (exit $ac_status); }; }; then
3338 echo didididid 3354 :
3339else 3355else
3340 echo "$as_me: failed program was:" >&5 3356 echo "$as_me: failed program was:" >&5
3341sed 's/^/| /' conftest.$ac_ext >&5 3357sed 's/^/| /' conftest.$ac_ext >&5
3342 3358
3343CXXFLAGS="-g -O3" 3359CXXFLAGS="-g -O3"
3439 grep -v '^ *+' conftest.er1 >conftest.err 3455 grep -v '^ *+' conftest.er1 >conftest.err
3440 rm -f conftest.er1 3456 rm -f conftest.er1
3441 cat conftest.err >&5 3457 cat conftest.err >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); } && 3459 (exit $ac_status); } &&
3444 { 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'
3445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3446 (eval $ac_try) 2>&5 3463 (eval $ac_try) 2>&5
3447 ac_status=$? 3464 ac_status=$?
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); }; } && 3466 (exit $ac_status); }; } &&
3504 grep -v '^ *+' conftest.er1 >conftest.err 3521 grep -v '^ *+' conftest.er1 >conftest.err
3505 rm -f conftest.er1 3522 rm -f conftest.er1
3506 cat conftest.err >&5 3523 cat conftest.err >&5
3507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508 (exit $ac_status); } && 3525 (exit $ac_status); } &&
3509 { 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'
3510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3511 (eval $ac_try) 2>&5 3529 (eval $ac_try) 2>&5
3512 ac_status=$? 3530 ac_status=$?
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); }; } && 3532 (exit $ac_status); }; } &&
3601 grep -v '^ *+' conftest.er1 >conftest.err 3619 grep -v '^ *+' conftest.er1 >conftest.err
3602 rm -f conftest.er1 3620 rm -f conftest.er1
3603 cat conftest.err >&5 3621 cat conftest.err >&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } && 3623 (exit $ac_status); } &&
3606 { 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'
3607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608 (eval $ac_try) 2>&5 3627 (eval $ac_try) 2>&5
3609 ac_status=$? 3628 ac_status=$?
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); }; } && 3630 (exit $ac_status); }; } &&
3666 grep -v '^ *+' conftest.er1 >conftest.err 3685 grep -v '^ *+' conftest.er1 >conftest.err
3667 rm -f conftest.er1 3686 rm -f conftest.er1
3668 cat conftest.err >&5 3687 cat conftest.err >&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); } && 3689 (exit $ac_status); } &&
3671 { 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'
3672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3673 (eval $ac_try) 2>&5 3693 (eval $ac_try) 2>&5
3674 ac_status=$? 3694 ac_status=$?
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; } && 3696 (exit $ac_status); }; } &&
3762 grep -v '^ *+' conftest.er1 >conftest.err 3782 grep -v '^ *+' conftest.er1 >conftest.err
3763 rm -f conftest.er1 3783 rm -f conftest.er1
3764 cat conftest.err >&5 3784 cat conftest.err >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } && 3786 (exit $ac_status); } &&
3767 { 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'
3768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769 (eval $ac_try) 2>&5 3790 (eval $ac_try) 2>&5
3770 ac_status=$? 3791 ac_status=$?
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); }; } && 3793 (exit $ac_status); }; } &&
3827 grep -v '^ *+' conftest.er1 >conftest.err 3848 grep -v '^ *+' conftest.er1 >conftest.err
3828 rm -f conftest.er1 3849 rm -f conftest.er1
3829 cat conftest.err >&5 3850 cat conftest.err >&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); } && 3852 (exit $ac_status); } &&
3832 { 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'
3833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834 (eval $ac_try) 2>&5 3856 (eval $ac_try) 2>&5
3835 ac_status=$? 3857 ac_status=$?
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); }; } && 3859 (exit $ac_status); }; } &&
3859fi 3881fi
3860 3882
3861fi 3883fi
3862 3884
3863 3885
3864echo "$as_me:$LINENO: checking for sched_yield" >&5
3865echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
3866if test "${ac_cv_func_sched_yield+set}" = set; then
3867 echo $ECHO_N "(cached) $ECHO_C" >&6
3868else
3869 cat >conftest.$ac_ext <<_ACEOF
3870/* confdefs.h. */
3871_ACEOF
3872cat confdefs.h >>conftest.$ac_ext
3873cat >>conftest.$ac_ext <<_ACEOF
3874/* end confdefs.h. */
3875/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
3876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3877#define sched_yield innocuous_sched_yield
3878
3879/* System header to define __stub macros and hopefully few prototypes,
3880 which can conflict with char sched_yield (); below.
3881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3882 <limits.h> exists even on freestanding compilers. */
3883
3884#ifdef __STDC__
3885# include <limits.h>
3886#else
3887# include <assert.h>
3888#endif
3889
3890#undef sched_yield
3891
3892/* Override any gcc2 internal prototype to avoid an error. */
3893#ifdef __cplusplus
3894extern "C"
3895{
3896#endif
3897/* We use char because int might match the return type of a gcc2
3898 builtin and then its argument prototype would still apply. */
3899char sched_yield ();
3900/* The GNU C library defines this for functions which it implements
3901 to always fail with ENOSYS. Some functions are actually named
3902 something starting with __ and the normal name is an alias. */
3903#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
3904choke me
3905#else
3906char (*f) () = sched_yield;
3907#endif
3908#ifdef __cplusplus
3909}
3910#endif
3911
3912int
3913main ()
3914{
3915return f != sched_yield;
3916 ;
3917 return 0;
3918}
3919_ACEOF
3920rm -f conftest.$ac_objext conftest$ac_exeext
3921if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3922 (eval $ac_link) 2>conftest.er1
3923 ac_status=$?
3924 grep -v '^ *+' conftest.er1 >conftest.err
3925 rm -f conftest.er1
3926 cat conftest.err >&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); } &&
3929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3931 (eval $ac_try) 2>&5
3932 ac_status=$?
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); }; } &&
3935 { ac_try='test -s conftest$ac_exeext'
3936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937 (eval $ac_try) 2>&5
3938 ac_status=$?
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); }; }; then
3941 ac_cv_func_sched_yield=yes
3942else
3943 echo "$as_me: failed program was:" >&5
3944sed 's/^/| /' conftest.$ac_ext >&5
3945
3946ac_cv_func_sched_yield=no
3947fi
3948rm -f conftest.err conftest.$ac_objext \
3949 conftest$ac_exeext conftest.$ac_ext
3950fi
3951echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
3952echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
3953if test $ac_cv_func_sched_yield = yes; then
3954 :
3955else
3956 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
3957echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
3958if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
3959 echo $ECHO_N "(cached) $ECHO_C" >&6
3960else
3961 ac_check_lib_save_LIBS=$LIBS
3962LIBS="-lrt $LIBS"
3963cat >conftest.$ac_ext <<_ACEOF
3964/* confdefs.h. */
3965_ACEOF
3966cat confdefs.h >>conftest.$ac_ext
3967cat >>conftest.$ac_ext <<_ACEOF
3968/* end confdefs.h. */
3969
3970/* Override any gcc2 internal prototype to avoid an error. */
3971#ifdef __cplusplus
3972extern "C"
3973#endif
3974/* We use char because int might match the return type of a gcc2
3975 builtin and then its argument prototype would still apply. */
3976char sched_yield ();
3977int
3978main ()
3979{
3980sched_yield ();
3981 ;
3982 return 0;
3983}
3984_ACEOF
3985rm -f conftest.$ac_objext conftest$ac_exeext
3986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3987 (eval $ac_link) 2>conftest.er1
3988 ac_status=$?
3989 grep -v '^ *+' conftest.er1 >conftest.err
3990 rm -f conftest.er1
3991 cat conftest.err >&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); } &&
3994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3996 (eval $ac_try) 2>&5
3997 ac_status=$?
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); }; } &&
4000 { ac_try='test -s conftest$ac_exeext'
4001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4002 (eval $ac_try) 2>&5
4003 ac_status=$?
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); }; }; then
4006 ac_cv_lib_rt_sched_yield=yes
4007else
4008 echo "$as_me: failed program was:" >&5
4009sed 's/^/| /' conftest.$ac_ext >&5
4010
4011ac_cv_lib_rt_sched_yield=no
4012fi
4013rm -f conftest.err conftest.$ac_objext \
4014 conftest$ac_exeext conftest.$ac_ext
4015LIBS=$ac_check_lib_save_LIBS
4016fi
4017echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
4018echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
4019if test $ac_cv_lib_rt_sched_yield = yes; then
4020 LIBS="$LIBS -lrt"
4021fi
4022
4023fi
4024
4025
4026echo "$as_me:$LINENO: checking for sched_yield support" >&5
4027echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6
4028cat >conftest.$ac_ext <<_ACEOF
4029/* confdefs.h. */
4030_ACEOF
4031cat confdefs.h >>conftest.$ac_ext
4032cat >>conftest.$ac_ext <<_ACEOF
4033/* end confdefs.h. */
4034#include <sched.h>
4035int
4036main ()
4037{
4038sched_yield ()
4039 ;
4040 return 0;
4041}
4042_ACEOF
4043rm -f conftest.$ac_objext conftest$ac_exeext
4044if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4045 (eval $ac_link) 2>conftest.er1
4046 ac_status=$?
4047 grep -v '^ *+' conftest.er1 >conftest.err
4048 rm -f conftest.er1
4049 cat conftest.err >&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); } &&
4052 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4054 (eval $ac_try) 2>&5
4055 ac_status=$?
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); }; } &&
4058 { ac_try='test -s conftest$ac_exeext'
4059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4060 (eval $ac_try) 2>&5
4061 ac_status=$?
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); }; }; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065echo "${ECHO_T}yes" >&6
4066
4067cat >>confdefs.h <<\_ACEOF
4068#define HAVE_SCHED_YIELD 1
4069_ACEOF
4070
4071else
4072 echo "$as_me: failed program was:" >&5
4073sed 's/^/| /' conftest.$ac_ext >&5
4074
4075echo "$as_me:$LINENO: result: no" >&5
4076echo "${ECHO_T}no" >&6
4077fi
4078rm -f conftest.err conftest.$ac_objext \
4079 conftest$ac_exeext conftest.$ac_ext
4080
4081
4082MALLOC_TYPE=S
4083 3886
4084support_frills=yes 3887support_frills=yes
4085support_inheritpixmap=yes 3888support_inheritpixmap=yes
4086support_tinting=yes 3889support_tinting=yes
4087support_fading=yes 3890support_fading=yes
4088support_keepscrolling=yes 3891support_keepscrolling=yes
4089support_selectionscrolling=yes 3892support_selectionscrolling=yes
4090support_mousewheel=yes 3893support_mousewheel=yes
4091support_mouseslipwheel=yes 3894support_mouseslipwheel=yes
4092support_utmp=yes
4093support_wtmp=yes
4094support_lastlog=yes
4095support_text_blink=yes 3895support_text_blink=yes
4096support_pointer_blank=yes 3896support_pointer_blank=yes
4097support_scroll_rxvt=yes 3897support_scroll_rxvt=yes
4098support_scroll_next=yes 3898support_scroll_next=yes
4099support_scroll_xterm=yes 3899support_scroll_xterm=yes
4100support_scroll_plain=yes 3900support_scroll_plain=yes
4101support_xim=yes 3901support_xim=yes
4102support_xpm=yes 3902support_xpm=yes
3903support_afterimage=yes
3904support_afterstep=yes
4103support_xft=yes 3905support_xft=yes
4104support_unicode3=no 3906support_unicode3=no
4105support_combining=yes 3907support_combining=yes
4106support_8bitctrls=no 3908support_8bitctrls=no
4107support_iso14755=yes 3909support_iso14755=yes
4123# Check whether --enable-everything or --disable-everything was given. 3925# Check whether --enable-everything or --disable-everything was given.
4124if test "${enable_everything+set}" = set; then 3926if test "${enable_everything+set}" = set; then
4125 enableval="$enable_everything" 3927 enableval="$enable_everything"
4126 3928
4127 if test x$enableval = xno; then 3929 if test x$enableval = xno; then
4128 support_24bit=no
4129 support_frills=no 3930 support_frills=no
4130 support_inheritpixmap=no 3931 support_inheritpixmap=no
4131 support_tinting=no 3932 support_tinting=no
4132 support_fading=no 3933 support_fading=no
4133 support_keepscrolling=no 3934 support_keepscrolling=no
4143 support_scroll_plain=no 3944 support_scroll_plain=no
4144 support_utmp=no 3945 support_utmp=no
4145 support_wtmp=no 3946 support_wtmp=no
4146 support_xim=no 3947 support_xim=no
4147 support_xpm=no 3948 support_xpm=no
3949 support_afterimage=no
3950 support_afterstep=no
4148 support_xft=no 3951 support_xft=no
4149 support_unicode3=no 3952 support_unicode3=no
4150 support_combining=no 3953 support_combining=no
4151 support_8bitctrls=no 3954 support_8bitctrls=no
4152 support_iso14755=no 3955 support_iso14755=no
4153 support_styles=no 3956 support_styles=no
4154 support_perl=no 3957 support_perl=no
4155 codesets= 3958 codesets=
4156 fi 3959 fi
4157 if test x$enableval = xyes; then 3960 if test x$enableval = xyes; then
4158 support_24bit=yes
4159 support_frills=yes 3961 support_frills=yes
4160 support_inheritpixmap=yes 3962 support_inheritpixmap=yes
4161 support_tinting=yes 3963 support_tinting=yes
4162 support_fading=yes 3964 support_fading=yes
4163 support_keepscrolling=yes 3965 support_keepscrolling=yes
4173 support_scroll_plain=yes 3975 support_scroll_plain=yes
4174 support_utmp=yes 3976 support_utmp=yes
4175 support_wtmp=yes 3977 support_wtmp=yes
4176 support_xim=yes 3978 support_xim=yes
4177 support_xpm=yes 3979 support_xpm=yes
3980 support_afterimage=yes
3981 support_afterstep=yes
4178 support_xft=yes 3982 support_xft=yes
4179 support_unicode3=yes 3983 support_unicode3=yes
4180 support_combining=yes 3984 support_combining=yes
4181 #support_8bitctrls=yes 3985 #support_8bitctrls=yes
4182 support_iso14755=yes 3986 support_iso14755=yes
4217 if test x$enableval = xyes -o x$enableval = xno; then 4021 if test x$enableval = xyes -o x$enableval = xno; then
4218 support_styles=$enableval 4022 support_styles=$enableval
4219 fi 4023 fi
4220fi; 4024fi;
4221 4025
4222# Check whether --enable-utmp or --disable-utmp was given.
4223if test "${enable_utmp+set}" = set; then
4224 enableval="$enable_utmp"
4225 if test x$enableval = xyes -o x$enableval = xno; then
4226 support_utmp=$enableval
4227 fi
4228fi;
4229
4230# Check whether --enable-wtmp or --disable-wtmp was given.
4231if test "${enable_wtmp+set}" = set; then
4232 enableval="$enable_wtmp"
4233 if test x$enableval = xyes -o x$enableval = xno; then
4234 support_wtmp=$enableval
4235 fi
4236fi;
4237
4238# Check whether --enable-lastlog or --disable-lastlog was given.
4239if test "${enable_lastlog+set}" = set; then
4240 enableval="$enable_lastlog"
4241 if test x$enableval = xyes -o x$enableval = xno; then
4242 support_lastlog=$enableval
4243 fi
4244fi;
4245
4246# Check whether --enable-xpm-background or --disable-xpm-background was given. 4026# Check whether --enable-xpm-background or --disable-xpm-background was given.
4247if test "${enable_xpm_background+set}" = set; then 4027if test "${enable_xpm_background+set}" = set; then
4248 enableval="$enable_xpm_background" 4028 enableval="$enable_xpm_background"
4249 if test x$enableval = xyes -o x$enableval = xno; then 4029 if test x$enableval = xyes -o x$enableval = xno; then
4250 support_xpm=$enableval 4030 support_xpm=$enableval
4251 fi 4031 fi
4252fi; 4032fi;
4253 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
4254# Check whether --enable-transparency or --disable-transparency was given. 4059# Check whether --enable-transparency or --disable-transparency was given.
4255if test "${enable_transparency+set}" = set; then 4060if test "${enable_transparency+set}" = set; then
4256 enableval="$enable_transparency" 4061 enableval="$enable_transparency"
4257 if test x$enableval = xyes -o x$enableval = xno; then 4062 if test x$enableval = xyes -o x$enableval = xno; then
4258 support_inheritpixmap=$enableval 4063 support_inheritpixmap=$enableval
4314 support_scroll_plain=$enableval 4119 support_scroll_plain=$enableval
4315 fi 4120 fi
4316fi; 4121fi;
4317 4122
4318 4123
4319
4320# Check whether --with-codesets or --without-codesets was given. 4124# Check whether --with-codesets or --without-codesets was given.
4321if test "${with_codesets+set}" = set; then 4125if test "${with_codesets+set}" = set; then
4322 withval="$with_codesets" 4126 withval="$with_codesets"
4323 codesets="$withval" 4127 codesets="$withval"
4324fi; 4128fi;
4329 if test x$enableval = xyes -o x$enableval = xno; then 4133 if test x$enableval = xyes -o x$enableval = xno; then
4330 support_xim=$enableval 4134 support_xim=$enableval
4331 fi 4135 fi
4332fi; 4136fi;
4333 4137
4334# Check whether --enable-ttygid or --disable-ttygid was given.
4335if test "${enable_ttygid+set}" = set; then
4336 enableval="$enable_ttygid"
4337 if test x$enableval = xyes; then
4338
4339cat >>confdefs.h <<\_ACEOF
4340#define TTY_GID_SUPPORT 1
4341_ACEOF
4342
4343 fi
4344fi;
4345
4346# Check whether --enable-backspace-key or --disable-backspace-key was given. 4138# Check whether --enable-backspace-key or --disable-backspace-key was given.
4347if test "${enable_backspace_key+set}" = set; then 4139if test "${enable_backspace_key+set}" = set; then
4348 enableval="$enable_backspace_key" 4140 enableval="$enable_backspace_key"
4349 if test x$enableval = xno; then 4141 if test x$enableval = xno; then
4350 4142
4474 if test x$enableval = xyes -o x$enableval = xno; then 4266 if test x$enableval = xyes -o x$enableval = xno; then
4475 support_frills=$enableval 4267 support_frills=$enableval
4476 fi 4268 fi
4477fi; 4269fi;
4478 4270
4479# Check whether --enable-24bit or --disable-24bit was given.
4480if test "${enable_24bit+set}" = set; then
4481 enableval="$enable_24bit"
4482 if test x$enableval = xyes -o x$enableval = xno; then
4483 support_24bit=$enableval
4484 fi
4485fi;
4486
4487# Check whether --enable-keepscrolling or --disable-keepscrolling was given. 4271# Check whether --enable-keepscrolling or --disable-keepscrolling was given.
4488if test "${enable_keepscrolling+set}" = set; then 4272if test "${enable_keepscrolling+set}" = set; then
4489 enableval="$enable_keepscrolling" 4273 enableval="$enable_keepscrolling"
4490 if test x$enableval = xyes -o x$enableval = xno; then 4274 if test x$enableval = xyes -o x$enableval = xno; then
4491 support_keepscrolling=$enableval 4275 support_keepscrolling=$enableval
4514 if test x$enableval = xyes -o x$enableval = xno; then 4298 if test x$enableval = xyes -o x$enableval = xno; then
4515 support_mouseslipwheel=$enableval 4299 support_mouseslipwheel=$enableval
4516 fi 4300 fi
4517fi; 4301fi;
4518 4302
4519# Check whether --enable-dmalloc or --disable-dmalloc was given.
4520if test "${enable_dmalloc+set}" = set; then
4521 enableval="$enable_dmalloc"
4522 if test x$enableval = xyes; then
4523 MALLOC_TYPE=G
4524 DEBUG=-DDEBUG_MALLOC
4525 DLIB="-L/usr/local/lib -ldmalloc"
4526 DINCLUDE=-I/usr/local/include
4527 fi
4528fi;
4529
4530# Check whether --enable-dlmalloc or --disable-dlmalloc was given.
4531if test "${enable_dlmalloc+set}" = set; then
4532 enableval="$enable_dlmalloc"
4533 if test x$enableval = xyes; then
4534 MALLOC_TYPE=D
4535 DEBUG=
4536 DLIB="-L/usr/local/lib -ldlmalloc"
4537 DINCLUDE=
4538 fi
4539fi;
4540
4541# Check whether --enable-smart-resize or --disable-smart-resize was given. 4303# Check whether --enable-smart-resize or --disable-smart-resize was given.
4542if test "${enable_smart_resize+set}" = set; then 4304if test "${enable_smart_resize+set}" = set; then
4543 enableval="$enable_smart_resize" 4305 enableval="$enable_smart_resize"
4544 if test x$enableval = xyes; then 4306 if test x$enableval = xyes; then
4545 4307
4590_ACEOF 4352_ACEOF
4591 terminfo="$withval" 4353 terminfo="$withval"
4592 fi 4354 fi
4593fi; 4355fi;
4594 4356
4595
4596# Extract the first word of "mv", so it can be a program name with args.
4597set dummy mv; ac_word=$2
4598echo "$as_me:$LINENO: checking for $ac_word" >&5
4599echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4600if test "${ac_cv_path_MV+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4602else
4603 case $MV in
4604 [\\/]* | ?:[\\/]*)
4605 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4606 ;;
4607 *)
4608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609for as_dir in $PATH
4610do
4611 IFS=$as_save_IFS
4612 test -z "$as_dir" && as_dir=.
4613 for ac_exec_ext in '' $ac_executable_extensions; do
4614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4615 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 break 2
4618 fi
4619done
4620done
4621
4622 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
4623 ;;
4624esac
4625fi
4626MV=$ac_cv_path_MV
4627
4628if test -n "$MV"; then
4629 echo "$as_me:$LINENO: result: $MV" >&5
4630echo "${ECHO_T}$MV" >&6
4631else
4632 echo "$as_me:$LINENO: result: no" >&5
4633echo "${ECHO_T}no" >&6
4634fi
4635
4636# Extract the first word of "rm", so it can be a program name with args.
4637set dummy rm; ac_word=$2
4638echo "$as_me:$LINENO: checking for $ac_word" >&5
4639echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4640if test "${ac_cv_path_RM+set}" = set; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4642else
4643 case $RM in
4644 [\\/]* | ?:[\\/]*)
4645 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4646 ;;
4647 *)
4648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4649for as_dir in $PATH
4650do
4651 IFS=$as_save_IFS
4652 test -z "$as_dir" && as_dir=.
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4655 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 break 2
4658 fi
4659done
4660done
4661
4662 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
4663 ;;
4664esac
4665fi
4666RM=$ac_cv_path_RM
4667
4668if test -n "$RM"; then
4669 echo "$as_me:$LINENO: result: $RM" >&5
4670echo "${ECHO_T}$RM" >&6
4671else
4672 echo "$as_me:$LINENO: result: no" >&5
4673echo "${ECHO_T}no" >&6
4674fi
4675
4676# Extract the first word of "cp", so it can be a program name with args.
4677set dummy cp; ac_word=$2
4678echo "$as_me:$LINENO: checking for $ac_word" >&5
4679echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4680if test "${ac_cv_path_CP+set}" = set; then
4681 echo $ECHO_N "(cached) $ECHO_C" >&6
4682else
4683 case $CP in
4684 [\\/]* | ?:[\\/]*)
4685 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4686 ;;
4687 *)
4688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689for as_dir in $PATH
4690do
4691 IFS=$as_save_IFS
4692 test -z "$as_dir" && as_dir=.
4693 for ac_exec_ext in '' $ac_executable_extensions; do
4694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4695 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4697 break 2
4698 fi
4699done
4700done
4701
4702 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
4703 ;;
4704esac
4705fi
4706CP=$ac_cv_path_CP
4707
4708if test -n "$CP"; then
4709 echo "$as_me:$LINENO: result: $CP" >&5
4710echo "${ECHO_T}$CP" >&6
4711else
4712 echo "$as_me:$LINENO: result: no" >&5
4713echo "${ECHO_T}no" >&6
4714fi
4715
4716# Extract the first word of "ln", so it can be a program name with args.
4717set dummy ln; ac_word=$2
4718echo "$as_me:$LINENO: checking for $ac_word" >&5
4719echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4720if test "${ac_cv_path_LN+set}" = set; then
4721 echo $ECHO_N "(cached) $ECHO_C" >&6
4722else
4723 case $LN in
4724 [\\/]* | ?:[\\/]*)
4725 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4726 ;;
4727 *)
4728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4729for as_dir in $PATH
4730do
4731 IFS=$as_save_IFS
4732 test -z "$as_dir" && as_dir=.
4733 for ac_exec_ext in '' $ac_executable_extensions; do
4734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4735 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4737 break 2
4738 fi
4739done
4740done
4741
4742 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
4743 ;;
4744esac
4745fi
4746LN=$ac_cv_path_LN
4747
4748if test -n "$LN"; then
4749 echo "$as_me:$LINENO: result: $LN" >&5
4750echo "${ECHO_T}$LN" >&6
4751else
4752 echo "$as_me:$LINENO: result: no" >&5
4753echo "${ECHO_T}no" >&6
4754fi
4755
4756# Extract the first word of "sed", so it can be a program name with args.
4757set dummy sed; ac_word=$2
4758echo "$as_me:$LINENO: checking for $ac_word" >&5
4759echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4760if test "${ac_cv_path_SED+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4762else
4763 case $SED in
4764 [\\/]* | ?:[\\/]*)
4765 ac_cv_path_SED="$SED" # Let the user override the test with a path.
4766 ;;
4767 *)
4768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769for as_dir in $PATH
4770do
4771 IFS=$as_save_IFS
4772 test -z "$as_dir" && as_dir=.
4773 for ac_exec_ext in '' $ac_executable_extensions; do
4774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4775 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
4776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4777 break 2
4778 fi
4779done
4780done
4781
4782 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
4783 ;;
4784esac
4785fi
4786SED=$ac_cv_path_SED
4787
4788if test -n "$SED"; then
4789 echo "$as_me:$LINENO: result: $SED" >&5
4790echo "${ECHO_T}$SED" >&6
4791else
4792 echo "$as_me:$LINENO: result: no" >&5
4793echo "${ECHO_T}no" >&6
4794fi
4795
4796# Extract the first word of "echo", so it can be a program name with args.
4797set dummy echo; ac_word=$2
4798echo "$as_me:$LINENO: checking for $ac_word" >&5
4799echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4800if test "${ac_cv_path_ECHO+set}" = set; then
4801 echo $ECHO_N "(cached) $ECHO_C" >&6
4802else
4803 case $ECHO in
4804 [\\/]* | ?:[\\/]*)
4805 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
4806 ;;
4807 *)
4808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4809for as_dir in $PATH
4810do
4811 IFS=$as_save_IFS
4812 test -z "$as_dir" && as_dir=.
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4815 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
4816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4817 break 2
4818 fi
4819done
4820done
4821
4822 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
4823 ;;
4824esac
4825fi
4826ECHO=$ac_cv_path_ECHO
4827
4828if test -n "$ECHO"; then
4829 echo "$as_me:$LINENO: result: $ECHO" >&5
4830echo "${ECHO_T}$ECHO" >&6
4831else
4832 echo "$as_me:$LINENO: result: no" >&5
4833echo "${ECHO_T}no" >&6
4834fi
4835
4836# Extract the first word of "cmp", so it can be a program name with args.
4837set dummy cmp; ac_word=$2
4838echo "$as_me:$LINENO: checking for $ac_word" >&5
4839echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4840if test "${ac_cv_path_CMP+set}" = set; then
4841 echo $ECHO_N "(cached) $ECHO_C" >&6
4842else
4843 case $CMP in
4844 [\\/]* | ?:[\\/]*)
4845 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4846 ;;
4847 *)
4848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4849for as_dir in $PATH
4850do
4851 IFS=$as_save_IFS
4852 test -z "$as_dir" && as_dir=.
4853 for ac_exec_ext in '' $ac_executable_extensions; do
4854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4855 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4857 break 2
4858 fi
4859done
4860done
4861
4862 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
4863 ;;
4864esac
4865fi
4866CMP=$ac_cv_path_CMP
4867
4868if test -n "$CMP"; then
4869 echo "$as_me:$LINENO: result: $CMP" >&5
4870echo "${ECHO_T}$CMP" >&6
4871else
4872 echo "$as_me:$LINENO: result: no" >&5
4873echo "${ECHO_T}no" >&6
4874fi
4875 4357
4876# 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.
4877set dummy tic; ac_word=$2 4359set dummy tic; ac_word=$2
4878echo "$as_me:$LINENO: checking for $ac_word" >&5 4360echo "$as_me:$LINENO: checking for $ac_word" >&5
4879echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4361echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5144ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4626ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5145ac_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'
5146ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4628ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5147 4629
5148 4630
5149
5150if test "x$ac_path_x_has_been_run" != xyes; then
5151 echo "$as_me:$LINENO: checking for X" >&5 4631echo "$as_me:$LINENO: checking for X" >&5
5152echo $ECHO_N "checking for X... $ECHO_C" >&6 4632echo $ECHO_N "checking for X... $ECHO_C" >&6
5153 4633
5154ac_path_x_has_been_run=yes
5155 4634
5156# Check whether --with-x or --without-x was given. 4635# Check whether --with-x or --without-x was given.
5157if test "${with_x+set}" = set; then 4636if test "${with_x+set}" = set; then
5158 withval="$with_x" 4637 withval="$with_x"
5159 4638
5242 4721
5243/usr/openwin/include 4722/usr/openwin/include
5244/usr/openwin/share/include' 4723/usr/openwin/share/include'
5245 4724
5246if test "$ac_x_includes" = no; then 4725if test "$ac_x_includes" = no; then
5247 # 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.
5248 # First, try using that file with no special directory specified. 4727 # First, try using that file with no special directory specified.
5249 cat >conftest.$ac_ext <<_ACEOF 4728 cat >conftest.$ac_ext <<_ACEOF
5250/* confdefs.h. */ 4729/* confdefs.h. */
5251_ACEOF 4730_ACEOF
5252cat confdefs.h >>conftest.$ac_ext 4731cat confdefs.h >>conftest.$ac_ext
5253cat >>conftest.$ac_ext <<_ACEOF 4732cat >>conftest.$ac_ext <<_ACEOF
5254/* end confdefs.h. */ 4733/* end confdefs.h. */
5255#include <X11/Xlib.h> 4734#include <X11/Intrinsic.h>
5256_ACEOF 4735_ACEOF
5257if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4736if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5258 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4737 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5259 ac_status=$? 4738 ac_status=$?
5260 grep -v '^ *+' conftest.er1 >conftest.err 4739 grep -v '^ *+' conftest.er1 >conftest.err
5277else 4756else
5278 echo "$as_me: failed program was:" >&5 4757 echo "$as_me: failed program was:" >&5
5279sed 's/^/| /' conftest.$ac_ext >&5 4758sed 's/^/| /' conftest.$ac_ext >&5
5280 4759
5281 for ac_dir in $ac_x_header_dirs; do 4760 for ac_dir in $ac_x_header_dirs; do
5282 if test -r "$ac_dir/X11/Xlib.h"; then 4761 if test -r "$ac_dir/X11/Intrinsic.h"; then
5283 ac_x_includes=$ac_dir 4762 ac_x_includes=$ac_dir
5284 break 4763 break
5285 fi 4764 fi
5286done 4765done
5287fi 4766fi
5291if test "$ac_x_libraries" = no; then 4770if test "$ac_x_libraries" = no; then
5292 # Check for the libraries. 4771 # Check for the libraries.
5293 # See if we find them without any special options. 4772 # See if we find them without any special options.
5294 # Don't add to $LIBS permanently. 4773 # Don't add to $LIBS permanently.
5295 ac_save_LIBS=$LIBS 4774 ac_save_LIBS=$LIBS
5296 LIBS="-lX11 $LIBS" 4775 LIBS="-lXt $LIBS"
5297 cat >conftest.$ac_ext <<_ACEOF 4776 cat >conftest.$ac_ext <<_ACEOF
5298/* confdefs.h. */ 4777/* confdefs.h. */
5299_ACEOF 4778_ACEOF
5300cat confdefs.h >>conftest.$ac_ext 4779cat confdefs.h >>conftest.$ac_ext
5301cat >>conftest.$ac_ext <<_ACEOF 4780cat >>conftest.$ac_ext <<_ACEOF
5302/* end confdefs.h. */ 4781/* end confdefs.h. */
5303#include <X11/Xlib.h> 4782#include <X11/Intrinsic.h>
5304int 4783int
5305main () 4784main ()
5306{ 4785{
5307XrmInitialize () 4786XtMalloc (0)
5308 ; 4787 ;
5309 return 0; 4788 return 0;
5310} 4789}
5311_ACEOF 4790_ACEOF
5312rm -f conftest.$ac_objext conftest$ac_exeext 4791rm -f conftest.$ac_objext conftest$ac_exeext
5316 grep -v '^ *+' conftest.er1 >conftest.err 4795 grep -v '^ *+' conftest.er1 >conftest.err
5317 rm -f conftest.er1 4796 rm -f conftest.er1
5318 cat conftest.err >&5 4797 cat conftest.err >&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); } && 4799 (exit $ac_status); } &&
5321 { 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'
5322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5323 (eval $ac_try) 2>&5 4803 (eval $ac_try) 2>&5
5324 ac_status=$? 4804 ac_status=$?
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); }; } && 4806 (exit $ac_status); }; } &&
5340LIBS=$ac_save_LIBS 4820LIBS=$ac_save_LIBS
5341for 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`
5342do 4822do
5343 # 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!
5344 for ac_extension in a so sl; do 4824 for ac_extension in a so sl; do
5345 if test -r $ac_dir/libX11.$ac_extension; then 4825 if test -r $ac_dir/libXt.$ac_extension; then
5346 ac_x_libraries=$ac_dir 4826 ac_x_libraries=$ac_dir
5347 break 2 4827 break 2
5348 fi 4828 fi
5349 done 4829 done
5350done 4830done
5376 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 4856 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5377 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 4857 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5378 # Update the cache value to reflect the command line values. 4858 # Update the cache value to reflect the command line values.
5379 ac_cv_have_x="have_x=yes \ 4859 ac_cv_have_x="have_x=yes \
5380 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 4860 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5381 # It might be that x_includes is empty (headers are found in the
5382 # standard search path. Then output the corresponding message
5383 ac_out_x_includes=$x_includes
5384 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
5385 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
5386echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 4862echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5387fi 4863fi
5388 4864
5389fi
5390if test "$no_x" = yes; then 4865if test "$no_x" = yes; then
5391 # 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.
5392 4867
5393cat >>confdefs.h <<\_ACEOF 4868cat >>confdefs.h <<\_ACEOF
5394#define X_DISPLAY_MISSING 1 4869#define X_DISPLAY_MISSING 1
5432 grep -v '^ *+' conftest.er1 >conftest.err 4907 grep -v '^ *+' conftest.er1 >conftest.err
5433 rm -f conftest.er1 4908 rm -f conftest.er1
5434 cat conftest.err >&5 4909 cat conftest.err >&5
5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); } && 4911 (exit $ac_status); } &&
5437 { 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'
5438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5439 (eval $ac_try) 2>&5 4915 (eval $ac_try) 2>&5
5440 ac_status=$? 4916 ac_status=$?
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); }; } && 4918 (exit $ac_status); }; } &&
5483 grep -v '^ *+' conftest.er1 >conftest.err 4959 grep -v '^ *+' conftest.er1 >conftest.err
5484 rm -f conftest.er1 4960 rm -f conftest.er1
5485 cat conftest.err >&5 4961 cat conftest.err >&5
5486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487 (exit $ac_status); } && 4963 (exit $ac_status); } &&
5488 { 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'
5489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5490 (eval $ac_try) 2>&5 4967 (eval $ac_try) 2>&5
5491 ac_status=$? 4968 ac_status=$?
5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493 (exit $ac_status); }; } && 4970 (exit $ac_status); }; } &&
5559 grep -v '^ *+' conftest.er1 >conftest.err 5036 grep -v '^ *+' conftest.er1 >conftest.err
5560 rm -f conftest.er1 5037 rm -f conftest.er1
5561 cat conftest.err >&5 5038 cat conftest.err >&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } && 5040 (exit $ac_status); } &&
5564 { 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'
5565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5566 (eval $ac_try) 2>&5 5044 (eval $ac_try) 2>&5
5567 ac_status=$? 5045 ac_status=$?
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); }; } && 5047 (exit $ac_status); }; } &&
5614 grep -v '^ *+' conftest.er1 >conftest.err 5092 grep -v '^ *+' conftest.er1 >conftest.err
5615 rm -f conftest.er1 5093 rm -f conftest.er1
5616 cat conftest.err >&5 5094 cat conftest.err >&5
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); } && 5096 (exit $ac_status); } &&
5619 { 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'
5620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5621 (eval $ac_try) 2>&5 5100 (eval $ac_try) 2>&5
5622 ac_status=$? 5101 ac_status=$?
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); }; } && 5103 (exit $ac_status); }; } &&
5682 grep -v '^ *+' conftest.er1 >conftest.err 5161 grep -v '^ *+' conftest.er1 >conftest.err
5683 rm -f conftest.er1 5162 rm -f conftest.er1
5684 cat conftest.err >&5 5163 cat conftest.err >&5
5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686 (exit $ac_status); } && 5165 (exit $ac_status); } &&
5687 { 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'
5688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5689 (eval $ac_try) 2>&5 5169 (eval $ac_try) 2>&5
5690 ac_status=$? 5170 ac_status=$?
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); }; } && 5172 (exit $ac_status); }; } &&
5790 grep -v '^ *+' conftest.er1 >conftest.err 5270 grep -v '^ *+' conftest.er1 >conftest.err
5791 rm -f conftest.er1 5271 rm -f conftest.er1
5792 cat conftest.err >&5 5272 cat conftest.err >&5
5793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794 (exit $ac_status); } && 5274 (exit $ac_status); } &&
5795 { 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'
5796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5797 (eval $ac_try) 2>&5 5278 (eval $ac_try) 2>&5
5798 ac_status=$? 5279 ac_status=$?
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); }; } && 5281 (exit $ac_status); }; } &&
5854 grep -v '^ *+' conftest.er1 >conftest.err 5335 grep -v '^ *+' conftest.er1 >conftest.err
5855 rm -f conftest.er1 5336 rm -f conftest.er1
5856 cat conftest.err >&5 5337 cat conftest.err >&5
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); } && 5339 (exit $ac_status); } &&
5859 { 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'
5860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5861 (eval $ac_try) 2>&5 5343 (eval $ac_try) 2>&5
5862 ac_status=$? 5344 ac_status=$?
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); }; } && 5346 (exit $ac_status); }; } &&
5922 grep -v '^ *+' conftest.er1 >conftest.err 5404 grep -v '^ *+' conftest.er1 >conftest.err
5923 rm -f conftest.er1 5405 rm -f conftest.er1
5924 cat conftest.err >&5 5406 cat conftest.err >&5
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); } && 5408 (exit $ac_status); } &&
5927 { 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'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929 (eval $ac_try) 2>&5 5412 (eval $ac_try) 2>&5
5930 ac_status=$? 5413 ac_status=$?
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; } && 5415 (exit $ac_status); }; } &&
6026 grep -v '^ *+' conftest.er1 >conftest.err 5509 grep -v '^ *+' conftest.er1 >conftest.err
6027 rm -f conftest.er1 5510 rm -f conftest.er1
6028 cat conftest.err >&5 5511 cat conftest.err >&5
6029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6030 (exit $ac_status); } && 5513 (exit $ac_status); } &&
6031 { 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'
6032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6033 (eval $ac_try) 2>&5 5517 (eval $ac_try) 2>&5
6034 ac_status=$? 5518 ac_status=$?
6035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); }; } && 5520 (exit $ac_status); }; } &&
6090 grep -v '^ *+' conftest.er1 >conftest.err 5574 grep -v '^ *+' conftest.er1 >conftest.err
6091 rm -f conftest.er1 5575 rm -f conftest.er1
6092 cat conftest.err >&5 5576 cat conftest.err >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); } && 5578 (exit $ac_status); } &&
6095 { 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'
6096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097 (eval $ac_try) 2>&5 5582 (eval $ac_try) 2>&5
6098 ac_status=$? 5583 ac_status=$?
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); }; } && 5585 (exit $ac_status); }; } &&
6187 grep -v '^ *+' conftest.er1 >conftest.err 5672 grep -v '^ *+' conftest.er1 >conftest.err
6188 rm -f conftest.er1 5673 rm -f conftest.er1
6189 cat conftest.err >&5 5674 cat conftest.err >&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); } && 5676 (exit $ac_status); } &&
6192 { 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'
6193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 (eval $ac_try) 2>&5 5680 (eval $ac_try) 2>&5
6195 ac_status=$? 5681 ac_status=$?
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); }; } && 5683 (exit $ac_status); }; } &&
6251 grep -v '^ *+' conftest.er1 >conftest.err 5737 grep -v '^ *+' conftest.er1 >conftest.err
6252 rm -f conftest.er1 5738 rm -f conftest.er1
6253 cat conftest.err >&5 5739 cat conftest.err >&5
6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255 (exit $ac_status); } && 5741 (exit $ac_status); } &&
6256 { 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'
6257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6258 (eval $ac_try) 2>&5 5745 (eval $ac_try) 2>&5
6259 ac_status=$? 5746 ac_status=$?
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); }; } && 5748 (exit $ac_status); }; } &&
6348 grep -v '^ *+' conftest.er1 >conftest.err 5835 grep -v '^ *+' conftest.er1 >conftest.err
6349 rm -f conftest.er1 5836 rm -f conftest.er1
6350 cat conftest.err >&5 5837 cat conftest.err >&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); } && 5839 (exit $ac_status); } &&
6353 { 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'
6354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6355 (eval $ac_try) 2>&5 5843 (eval $ac_try) 2>&5
6356 ac_status=$? 5844 ac_status=$?
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); }; } && 5846 (exit $ac_status); }; } &&
6412 grep -v '^ *+' conftest.er1 >conftest.err 5900 grep -v '^ *+' conftest.er1 >conftest.err
6413 rm -f conftest.er1 5901 rm -f conftest.er1
6414 cat conftest.err >&5 5902 cat conftest.err >&5
6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416 (exit $ac_status); } && 5904 (exit $ac_status); } &&
6417 { 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'
6418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6419 (eval $ac_try) 2>&5 5908 (eval $ac_try) 2>&5
6420 ac_status=$? 5909 ac_status=$?
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); }; } && 5911 (exit $ac_status); }; } &&
6491 grep -v '^ *+' conftest.er1 >conftest.err 5980 grep -v '^ *+' conftest.er1 >conftest.err
6492 rm -f conftest.er1 5981 rm -f conftest.er1
6493 cat conftest.err >&5 5982 cat conftest.err >&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); } && 5984 (exit $ac_status); } &&
6496 { 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'
6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6498 (eval $ac_try) 2>&5 5988 (eval $ac_try) 2>&5
6499 ac_status=$? 5989 ac_status=$?
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); }; } && 5991 (exit $ac_status); }; } &&
6526 6016
6527fi 6017fi
6528 6018
6529 6019
6530 6020
6021LIBAFTERIMAGE_CFLAGS=
6022AFTERIMAGE_LIBS=
6023have_afterimage=
6024
6531if 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
6532 6091
6533 6092
6534 6093
6535# Initialize some more variables set by options. 6094# Initialize some more variables set by options.
6536# The variables have the same names as the options, with 6095# The variables have the same names as the options, with
6707 grep -v '^ *+' conftest.er1 >conftest.err 6266 grep -v '^ *+' conftest.er1 >conftest.err
6708 rm -f conftest.er1 6267 rm -f conftest.er1
6709 cat conftest.err >&5 6268 cat conftest.err >&5
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); } && 6270 (exit $ac_status); } &&
6712 { 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'
6713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6714 (eval $ac_try) 2>&5 6274 (eval $ac_try) 2>&5
6715 ac_status=$? 6275 ac_status=$?
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; } && 6277 (exit $ac_status); }; } &&
6921 grep -v '^ *+' conftest.er1 >conftest.err 6481 grep -v '^ *+' conftest.er1 >conftest.err
6922 rm -f conftest.er1 6482 rm -f conftest.er1
6923 cat conftest.err >&5 6483 cat conftest.err >&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); } && 6485 (exit $ac_status); } &&
6926 { 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'
6927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6928 (eval $ac_try) 2>&5 6489 (eval $ac_try) 2>&5
6929 ac_status=$? 6490 ac_status=$?
6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931 (exit $ac_status); }; } && 6492 (exit $ac_status); }; } &&
6985 grep -v '^ *+' conftest.er1 >conftest.err 6546 grep -v '^ *+' conftest.er1 >conftest.err
6986 rm -f conftest.er1 6547 rm -f conftest.er1
6987 cat conftest.err >&5 6548 cat conftest.err >&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); } && 6550 (exit $ac_status); } &&
6990 { 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'
6991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6992 (eval $ac_try) 2>&5 6554 (eval $ac_try) 2>&5
6993 ac_status=$? 6555 ac_status=$?
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); }; } && 6557 (exit $ac_status); }; } &&
7155 grep -v '^ *+' conftest.er1 >conftest.err 6717 grep -v '^ *+' conftest.er1 >conftest.err
7156 rm -f conftest.er1 6718 rm -f conftest.er1
7157 cat conftest.err >&5 6719 cat conftest.err >&5
7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159 (exit $ac_status); } && 6721 (exit $ac_status); } &&
7160 { 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'
7161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7162 (eval $ac_try) 2>&5 6725 (eval $ac_try) 2>&5
7163 ac_status=$? 6726 ac_status=$?
7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); }; } && 6728 (exit $ac_status); }; } &&
7205 6768
7206 6769
7207 6770
7208 6771
7209 6772
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219for ac_header in \ 6773for ac_header in \
7220 assert.h \ 6774 assert.h \
7221 fcntl.h \ 6775 fcntl.h \
7222 grp.h \
7223 libc.h \
7224 lastlog.h \
7225 stdarg.h \ 6776 stdarg.h \
7226 stdlib.h \ 6777 stdlib.h \
7227 string.h \ 6778 string.h \
7228 termios.h \ 6779 termios.h \
7229 unistd.h \ 6780 unistd.h \
7230 sys/byteorder.h \ 6781 sys/byteorder.h \
7231 sys/ioctl.h \ 6782 sys/ioctl.h \
7232 sys/select.h \ 6783 sys/select.h \
7233 sys/sockio.h \ 6784 sys/sockio.h \
7234 sys/strredir.h \ 6785 sys/strredir.h \
7235 sys/stropts.h \
7236 sys/time.h \ 6786 sys/time.h \
7237 utmp.h \ 6787 stdint.h \
7238 utmpx.h \ 6788 wchar.h \
7239 stdint.h \ 6789 cwchar \
7240 pty.h \ 6790 clocale \
7241 util.h \
7242 libutil.h \
7243 wchar.h \
7244 cwchar \
7245 clocale \
7246 6791
7247do 6792do
7248as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6793as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7249if eval "test \"\${$as_ac_Header+set}\" = set"; then 6794if eval "test \"\${$as_ac_Header+set}\" = set"; then
7250 echo "$as_me:$LINENO: checking for $ac_header" >&5 6795 echo "$as_me:$LINENO: checking for $ac_header" >&5
7274 grep -v '^ *+' conftest.er1 >conftest.err 6819 grep -v '^ *+' conftest.er1 >conftest.err
7275 rm -f conftest.er1 6820 rm -f conftest.er1
7276 cat conftest.err >&5 6821 cat conftest.err >&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); } && 6823 (exit $ac_status); } &&
7279 { 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'
7280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7281 (eval $ac_try) 2>&5 6827 (eval $ac_try) 2>&5
7282 ac_status=$? 6828 ac_status=$?
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); }; } && 6830 (exit $ac_status); }; } &&
7423 grep -v '^ *+' conftest.er1 >conftest.err 6969 grep -v '^ *+' conftest.er1 >conftest.err
7424 rm -f conftest.er1 6970 rm -f conftest.er1
7425 cat conftest.err >&5 6971 cat conftest.err >&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); } && 6973 (exit $ac_status); } &&
7428 { 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'
7429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7430 (eval $ac_try) 2>&5 6977 (eval $ac_try) 2>&5
7431 ac_status=$? 6978 ac_status=$?
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 (exit $ac_status); }; } && 6980 (exit $ac_status); }; } &&
7488 grep -v '^ *+' conftest.er1 >conftest.err 7035 grep -v '^ *+' conftest.er1 >conftest.err
7489 rm -f conftest.er1 7036 rm -f conftest.er1
7490 cat conftest.err >&5 7037 cat conftest.err >&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); } && 7039 (exit $ac_status); } &&
7493 { 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'
7494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7495 (eval $ac_try) 2>&5 7043 (eval $ac_try) 2>&5
7496 ac_status=$? 7044 ac_status=$?
7497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7498 (exit $ac_status); }; } && 7046 (exit $ac_status); }; } &&
7538/* confdefs.h. */ 7086/* confdefs.h. */
7539_ACEOF 7087_ACEOF
7540cat confdefs.h >>conftest.$ac_ext 7088cat confdefs.h >>conftest.$ac_ext
7541cat >>conftest.$ac_ext <<_ACEOF 7089cat >>conftest.$ac_ext <<_ACEOF
7542/* end confdefs.h. */ 7090/* end confdefs.h. */
7543 7091#include <X11/Xlib.h>
7092#include <stdlib.h>
7544main() 7093main()
7545{ 7094{
7546 exit(0); 7095 exit(0);
7547 (void) XOpenDisplay("foobar"); 7096 (void) XOpenDisplay("foobar");
7548} 7097}
7587/* confdefs.h. */ 7136/* confdefs.h. */
7588_ACEOF 7137_ACEOF
7589cat confdefs.h >>conftest.$ac_ext 7138cat confdefs.h >>conftest.$ac_ext
7590cat >>conftest.$ac_ext <<_ACEOF 7139cat >>conftest.$ac_ext <<_ACEOF
7591/* end confdefs.h. */ 7140/* end confdefs.h. */
7592 7141#include <X11/Xlib.h>
7142#include <stdlib.h>
7593main() 7143main()
7594{ 7144{
7595 exit(0); 7145 exit(0);
7596 (void) XOpenDisplay("foobar"); 7146 (void) XOpenDisplay("foobar");
7597} 7147}
7653 grep -v '^ *+' conftest.er1 >conftest.err 7203 grep -v '^ *+' conftest.er1 >conftest.err
7654 rm -f conftest.er1 7204 rm -f conftest.er1
7655 cat conftest.err >&5 7205 cat conftest.err >&5
7656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7657 (exit $ac_status); } && 7207 (exit $ac_status); } &&
7658 { 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'
7659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7660 (eval $ac_try) 2>&5 7211 (eval $ac_try) 2>&5
7661 ac_status=$? 7212 ac_status=$?
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); }; } && 7214 (exit $ac_status); }; } &&
7686 7237
7687fi 7238fi
7688LIBS=$ac_save_LIBS 7239LIBS=$ac_save_LIBS
7689CFLAGS=$ac_save_CFLAGS 7240CFLAGS=$ac_save_CFLAGS
7690 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
7691 7309
7692echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7310echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7693echo $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
7694if test "${ac_cv_c_const+set}" = set; then 7312if test "${ac_cv_c_const+set}" = set; then
7695 echo $ECHO_N "(cached) $ECHO_C" >&6 7313 echo $ECHO_N "(cached) $ECHO_C" >&6
7762 grep -v '^ *+' conftest.er1 >conftest.err 7380 grep -v '^ *+' conftest.er1 >conftest.err
7763 rm -f conftest.er1 7381 rm -f conftest.er1
7764 cat conftest.err >&5 7382 cat conftest.err >&5
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); } && 7384 (exit $ac_status); } &&
7767 { 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'
7768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7769 (eval $ac_try) 2>&5 7388 (eval $ac_try) 2>&5
7770 ac_status=$? 7389 ac_status=$?
7771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7772 (exit $ac_status); }; } && 7391 (exit $ac_status); }; } &&
7822 grep -v '^ *+' conftest.er1 >conftest.err 7441 grep -v '^ *+' conftest.er1 >conftest.err
7823 rm -f conftest.er1 7442 rm -f conftest.er1
7824 cat conftest.err >&5 7443 cat conftest.err >&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); } && 7445 (exit $ac_status); } &&
7827 { 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'
7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7829 (eval $ac_try) 2>&5 7449 (eval $ac_try) 2>&5
7830 ac_status=$? 7450 ac_status=$?
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }; } && 7452 (exit $ac_status); }; } &&
7897 grep -v '^ *+' conftest.er1 >conftest.err 7517 grep -v '^ *+' conftest.er1 >conftest.err
7898 rm -f conftest.er1 7518 rm -f conftest.er1
7899 cat conftest.err >&5 7519 cat conftest.err >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); } && 7521 (exit $ac_status); } &&
7902 { 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'
7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7904 (eval $ac_try) 2>&5 7525 (eval $ac_try) 2>&5
7905 ac_status=$? 7526 ac_status=$?
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; } && 7528 (exit $ac_status); }; } &&
7962 grep -v '^ *+' conftest.er1 >conftest.err 7583 grep -v '^ *+' conftest.er1 >conftest.err
7963 rm -f conftest.er1 7584 rm -f conftest.er1
7964 cat conftest.err >&5 7585 cat conftest.err >&5
7965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966 (exit $ac_status); } && 7587 (exit $ac_status); } &&
7967 { 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'
7968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7969 (eval $ac_try) 2>&5 7591 (eval $ac_try) 2>&5
7970 ac_status=$? 7592 ac_status=$?
7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); }; } && 7594 (exit $ac_status); }; } &&
8066 grep -v '^ *+' conftest.er1 >conftest.err 7688 grep -v '^ *+' conftest.er1 >conftest.err
8067 rm -f conftest.er1 7689 rm -f conftest.er1
8068 cat conftest.err >&5 7690 cat conftest.err >&5
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); } && 7692 (exit $ac_status); } &&
8071 { 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'
8072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8073 (eval $ac_try) 2>&5 7696 (eval $ac_try) 2>&5
8074 ac_status=$? 7697 ac_status=$?
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); }; } && 7699 (exit $ac_status); }; } &&
8128 grep -v '^ *+' conftest.er1 >conftest.err 7751 grep -v '^ *+' conftest.er1 >conftest.err
8129 rm -f conftest.er1 7752 rm -f conftest.er1
8130 cat conftest.err >&5 7753 cat conftest.err >&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); } && 7755 (exit $ac_status); } &&
8133 { 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'
8134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135 (eval $ac_try) 2>&5 7759 (eval $ac_try) 2>&5
8136 ac_status=$? 7760 ac_status=$?
8137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); }; } && 7762 (exit $ac_status); }; } &&
8168 grep -v '^ *+' conftest.er1 >conftest.err 7792 grep -v '^ *+' conftest.er1 >conftest.err
8169 rm -f conftest.er1 7793 rm -f conftest.er1
8170 cat conftest.err >&5 7794 cat conftest.err >&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); } && 7796 (exit $ac_status); } &&
8173 { 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'
8174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175 (eval $ac_try) 2>&5 7800 (eval $ac_try) 2>&5
8176 ac_status=$? 7801 ac_status=$?
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); }; } && 7803 (exit $ac_status); }; } &&
8224 grep -v '^ *+' conftest.er1 >conftest.err 7849 grep -v '^ *+' conftest.er1 >conftest.err
8225 rm -f conftest.er1 7850 rm -f conftest.er1
8226 cat conftest.err >&5 7851 cat conftest.err >&5
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); } && 7853 (exit $ac_status); } &&
8229 { 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'
8230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 (eval $ac_try) 2>&5 7857 (eval $ac_try) 2>&5
8232 ac_status=$? 7858 ac_status=$?
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); }; } && 7860 (exit $ac_status); }; } &&
8264 grep -v '^ *+' conftest.er1 >conftest.err 7890 grep -v '^ *+' conftest.er1 >conftest.err
8265 rm -f conftest.er1 7891 rm -f conftest.er1
8266 cat conftest.err >&5 7892 cat conftest.err >&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); } && 7894 (exit $ac_status); } &&
8269 { 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'
8270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8271 (eval $ac_try) 2>&5 7898 (eval $ac_try) 2>&5
8272 ac_status=$? 7899 ac_status=$?
8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 (exit $ac_status); }; } && 7901 (exit $ac_status); }; } &&
8328 grep -v '^ *+' conftest.er1 >conftest.err 7955 grep -v '^ *+' conftest.er1 >conftest.err
8329 rm -f conftest.er1 7956 rm -f conftest.er1
8330 cat conftest.err >&5 7957 cat conftest.err >&5
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); } && 7959 (exit $ac_status); } &&
8333 { 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'
8334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8335 (eval $ac_try) 2>&5 7963 (eval $ac_try) 2>&5
8336 ac_status=$? 7964 ac_status=$?
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); }; } && 7966 (exit $ac_status); }; } &&
8359See \`config.log' for more details." >&2;} 7987See \`config.log' for more details." >&2;}
8360 { (exit 1); exit 1; }; } ;; 7988 { (exit 1); exit 1; }; } ;;
8361esac 7989esac
8362else 7990else
8363 if test "$cross_compiling" = yes; then 7991 if test "$cross_compiling" = yes; then
8364 { { 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
8365echo "$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;}
8366 { (exit 1); exit 1; }; } 7996 { (exit 1); exit 1; }; }
8367else 7997else
8368 cat >conftest.$ac_ext <<_ACEOF 7998 cat >conftest.$ac_ext <<_ACEOF
8369/* confdefs.h. */ 7999/* confdefs.h. */
8370_ACEOF 8000_ACEOF
8472 grep -v '^ *+' conftest.er1 >conftest.err 8102 grep -v '^ *+' conftest.er1 >conftest.err
8473 rm -f conftest.er1 8103 rm -f conftest.er1
8474 cat conftest.err >&5 8104 cat conftest.err >&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); } && 8106 (exit $ac_status); } &&
8477 { 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'
8478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8479 (eval $ac_try) 2>&5 8110 (eval $ac_try) 2>&5
8480 ac_status=$? 8111 ac_status=$?
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); }; } && 8113 (exit $ac_status); }; } &&
8534 grep -v '^ *+' conftest.er1 >conftest.err 8165 grep -v '^ *+' conftest.er1 >conftest.err
8535 rm -f conftest.er1 8166 rm -f conftest.er1
8536 cat conftest.err >&5 8167 cat conftest.err >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); } && 8169 (exit $ac_status); } &&
8539 { 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'
8540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8541 (eval $ac_try) 2>&5 8173 (eval $ac_try) 2>&5
8542 ac_status=$? 8174 ac_status=$?
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); }; } && 8176 (exit $ac_status); }; } &&
8574 grep -v '^ *+' conftest.er1 >conftest.err 8206 grep -v '^ *+' conftest.er1 >conftest.err
8575 rm -f conftest.er1 8207 rm -f conftest.er1
8576 cat conftest.err >&5 8208 cat conftest.err >&5
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); } && 8210 (exit $ac_status); } &&
8579 { 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'
8580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8581 (eval $ac_try) 2>&5 8214 (eval $ac_try) 2>&5
8582 ac_status=$? 8215 ac_status=$?
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 (exit $ac_status); }; } && 8217 (exit $ac_status); }; } &&
8630 grep -v '^ *+' conftest.er1 >conftest.err 8263 grep -v '^ *+' conftest.er1 >conftest.err
8631 rm -f conftest.er1 8264 rm -f conftest.er1
8632 cat conftest.err >&5 8265 cat conftest.err >&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); } && 8267 (exit $ac_status); } &&
8635 { 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'
8636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8637 (eval $ac_try) 2>&5 8271 (eval $ac_try) 2>&5
8638 ac_status=$? 8272 ac_status=$?
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; } && 8274 (exit $ac_status); }; } &&
8670 grep -v '^ *+' conftest.er1 >conftest.err 8304 grep -v '^ *+' conftest.er1 >conftest.err
8671 rm -f conftest.er1 8305 rm -f conftest.er1
8672 cat conftest.err >&5 8306 cat conftest.err >&5
8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674 (exit $ac_status); } && 8308 (exit $ac_status); } &&
8675 { 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'
8676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8677 (eval $ac_try) 2>&5 8312 (eval $ac_try) 2>&5
8678 ac_status=$? 8313 ac_status=$?
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); }; } && 8315 (exit $ac_status); }; } &&
8734 grep -v '^ *+' conftest.er1 >conftest.err 8369 grep -v '^ *+' conftest.er1 >conftest.err
8735 rm -f conftest.er1 8370 rm -f conftest.er1
8736 cat conftest.err >&5 8371 cat conftest.err >&5
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); } && 8373 (exit $ac_status); } &&
8739 { 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'
8740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8741 (eval $ac_try) 2>&5 8377 (eval $ac_try) 2>&5
8742 ac_status=$? 8378 ac_status=$?
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 (exit $ac_status); }; } && 8380 (exit $ac_status); }; } &&
8765See \`config.log' for more details." >&2;} 8401See \`config.log' for more details." >&2;}
8766 { (exit 1); exit 1; }; } ;; 8402 { (exit 1); exit 1; }; } ;;
8767esac 8403esac
8768else 8404else
8769 if test "$cross_compiling" = yes; then 8405 if test "$cross_compiling" = yes; then
8770 { { 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
8771echo "$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;}
8772 { (exit 1); exit 1; }; } 8410 { (exit 1); exit 1; }; }
8773else 8411else
8774 cat >conftest.$ac_ext <<_ACEOF 8412 cat >conftest.$ac_ext <<_ACEOF
8775/* confdefs.h. */ 8413/* confdefs.h. */
8776_ACEOF 8414_ACEOF
8878 grep -v '^ *+' conftest.er1 >conftest.err 8516 grep -v '^ *+' conftest.er1 >conftest.err
8879 rm -f conftest.er1 8517 rm -f conftest.er1
8880 cat conftest.err >&5 8518 cat conftest.err >&5
8881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882 (exit $ac_status); } && 8520 (exit $ac_status); } &&
8883 { 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'
8884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8885 (eval $ac_try) 2>&5 8524 (eval $ac_try) 2>&5
8886 ac_status=$? 8525 ac_status=$?
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); }; } && 8527 (exit $ac_status); }; } &&
8940 grep -v '^ *+' conftest.er1 >conftest.err 8579 grep -v '^ *+' conftest.er1 >conftest.err
8941 rm -f conftest.er1 8580 rm -f conftest.er1
8942 cat conftest.err >&5 8581 cat conftest.err >&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 (exit $ac_status); } && 8583 (exit $ac_status); } &&
8945 { 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'
8946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8947 (eval $ac_try) 2>&5 8587 (eval $ac_try) 2>&5
8948 ac_status=$? 8588 ac_status=$?
8949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950 (exit $ac_status); }; } && 8590 (exit $ac_status); }; } &&
8980 grep -v '^ *+' conftest.er1 >conftest.err 8620 grep -v '^ *+' conftest.er1 >conftest.err
8981 rm -f conftest.er1 8621 rm -f conftest.er1
8982 cat conftest.err >&5 8622 cat conftest.err >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); } && 8624 (exit $ac_status); } &&
8985 { 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'
8986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8987 (eval $ac_try) 2>&5 8628 (eval $ac_try) 2>&5
8988 ac_status=$? 8629 ac_status=$?
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 (exit $ac_status); }; } && 8631 (exit $ac_status); }; } &&
9036 grep -v '^ *+' conftest.er1 >conftest.err 8677 grep -v '^ *+' conftest.er1 >conftest.err
9037 rm -f conftest.er1 8678 rm -f conftest.er1
9038 cat conftest.err >&5 8679 cat conftest.err >&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); } && 8681 (exit $ac_status); } &&
9041 { 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'
9042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9043 (eval $ac_try) 2>&5 8685 (eval $ac_try) 2>&5
9044 ac_status=$? 8686 ac_status=$?
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); }; } && 8688 (exit $ac_status); }; } &&
9076 grep -v '^ *+' conftest.er1 >conftest.err 8718 grep -v '^ *+' conftest.er1 >conftest.err
9077 rm -f conftest.er1 8719 rm -f conftest.er1
9078 cat conftest.err >&5 8720 cat conftest.err >&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); } && 8722 (exit $ac_status); } &&
9081 { 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'
9082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9083 (eval $ac_try) 2>&5 8726 (eval $ac_try) 2>&5
9084 ac_status=$? 8727 ac_status=$?
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); }; } && 8729 (exit $ac_status); }; } &&
9140 grep -v '^ *+' conftest.er1 >conftest.err 8783 grep -v '^ *+' conftest.er1 >conftest.err
9141 rm -f conftest.er1 8784 rm -f conftest.er1
9142 cat conftest.err >&5 8785 cat conftest.err >&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); } && 8787 (exit $ac_status); } &&
9145 { 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'
9146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9147 (eval $ac_try) 2>&5 8791 (eval $ac_try) 2>&5
9148 ac_status=$? 8792 ac_status=$?
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); }; } && 8794 (exit $ac_status); }; } &&
9171See \`config.log' for more details." >&2;} 8815See \`config.log' for more details." >&2;}
9172 { (exit 1); exit 1; }; } ;; 8816 { (exit 1); exit 1; }; } ;;
9173esac 8817esac
9174else 8818else
9175 if test "$cross_compiling" = yes; then 8819 if test "$cross_compiling" = yes; then
9176 { { 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
9177echo "$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;}
9178 { (exit 1); exit 1; }; } 8824 { (exit 1); exit 1; }; }
9179else 8825else
9180 cat >conftest.$ac_ext <<_ACEOF 8826 cat >conftest.$ac_ext <<_ACEOF
9181/* confdefs.h. */ 8827/* confdefs.h. */
9182_ACEOF 8828_ACEOF
9284 grep -v '^ *+' conftest.er1 >conftest.err 8930 grep -v '^ *+' conftest.er1 >conftest.err
9285 rm -f conftest.er1 8931 rm -f conftest.er1
9286 cat conftest.err >&5 8932 cat conftest.err >&5
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); } && 8934 (exit $ac_status); } &&
9289 { 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'
9290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9291 (eval $ac_try) 2>&5 8938 (eval $ac_try) 2>&5
9292 ac_status=$? 8939 ac_status=$?
9293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9294 (exit $ac_status); }; } && 8941 (exit $ac_status); }; } &&
9346 grep -v '^ *+' conftest.er1 >conftest.err 8993 grep -v '^ *+' conftest.er1 >conftest.err
9347 rm -f conftest.er1 8994 rm -f conftest.er1
9348 cat conftest.err >&5 8995 cat conftest.err >&5
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); } && 8997 (exit $ac_status); } &&
9351 { 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'
9352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9353 (eval $ac_try) 2>&5 9001 (eval $ac_try) 2>&5
9354 ac_status=$? 9002 ac_status=$?
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); }; } && 9004 (exit $ac_status); }; } &&
9386 grep -v '^ *+' conftest.er1 >conftest.err 9034 grep -v '^ *+' conftest.er1 >conftest.err
9387 rm -f conftest.er1 9035 rm -f conftest.er1
9388 cat conftest.err >&5 9036 cat conftest.err >&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); } && 9038 (exit $ac_status); } &&
9391 { 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'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9393 (eval $ac_try) 2>&5 9042 (eval $ac_try) 2>&5
9394 ac_status=$? 9043 ac_status=$?
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; } && 9045 (exit $ac_status); }; } &&
9442 grep -v '^ *+' conftest.er1 >conftest.err 9091 grep -v '^ *+' conftest.er1 >conftest.err
9443 rm -f conftest.er1 9092 rm -f conftest.er1
9444 cat conftest.err >&5 9093 cat conftest.err >&5
9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 (exit $ac_status); } && 9095 (exit $ac_status); } &&
9447 { 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'
9448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9449 (eval $ac_try) 2>&5 9099 (eval $ac_try) 2>&5
9450 ac_status=$? 9100 ac_status=$?
9451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9452 (exit $ac_status); }; } && 9102 (exit $ac_status); }; } &&
9482 grep -v '^ *+' conftest.er1 >conftest.err 9132 grep -v '^ *+' conftest.er1 >conftest.err
9483 rm -f conftest.er1 9133 rm -f conftest.er1
9484 cat conftest.err >&5 9134 cat conftest.err >&5
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); } && 9136 (exit $ac_status); } &&
9487 { 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'
9488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9489 (eval $ac_try) 2>&5 9140 (eval $ac_try) 2>&5
9490 ac_status=$? 9141 ac_status=$?
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 (exit $ac_status); }; } && 9143 (exit $ac_status); }; } &&
9546 grep -v '^ *+' conftest.er1 >conftest.err 9197 grep -v '^ *+' conftest.er1 >conftest.err
9547 rm -f conftest.er1 9198 rm -f conftest.er1
9548 cat conftest.err >&5 9199 cat conftest.err >&5
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 (exit $ac_status); } && 9201 (exit $ac_status); } &&
9551 { 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'
9552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9553 (eval $ac_try) 2>&5 9205 (eval $ac_try) 2>&5
9554 ac_status=$? 9206 ac_status=$?
9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); }; } && 9208 (exit $ac_status); }; } &&
9577See \`config.log' for more details." >&2;} 9229See \`config.log' for more details." >&2;}
9578 { (exit 1); exit 1; }; } ;; 9230 { (exit 1); exit 1; }; } ;;
9579esac 9231esac
9580else 9232else
9581 if test "$cross_compiling" = yes; then 9233 if test "$cross_compiling" = yes; then
9582 { { 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
9583echo "$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;}
9584 { (exit 1); exit 1; }; } 9238 { (exit 1); exit 1; }; }
9585else 9239else
9586 cat >conftest.$ac_ext <<_ACEOF 9240 cat >conftest.$ac_ext <<_ACEOF
9587/* confdefs.h. */ 9241/* confdefs.h. */
9588_ACEOF 9242_ACEOF
9689 grep -v '^ *+' conftest.er1 >conftest.err 9343 grep -v '^ *+' conftest.er1 >conftest.err
9690 rm -f conftest.er1 9344 rm -f conftest.er1
9691 cat conftest.err >&5 9345 cat conftest.err >&5
9692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693 (exit $ac_status); } && 9347 (exit $ac_status); } &&
9694 { 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'
9695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 (eval $ac_try) 2>&5 9351 (eval $ac_try) 2>&5
9697 ac_status=$? 9352 ac_status=$?
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699 (exit $ac_status); }; } && 9354 (exit $ac_status); }; } &&
9771 grep -v '^ *+' conftest.er1 >conftest.err 9426 grep -v '^ *+' conftest.er1 >conftest.err
9772 rm -f conftest.er1 9427 rm -f conftest.er1
9773 cat conftest.err >&5 9428 cat conftest.err >&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); } && 9430 (exit $ac_status); } &&
9776 { 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'
9777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9778 (eval $ac_try) 2>&5 9434 (eval $ac_try) 2>&5
9779 ac_status=$? 9435 ac_status=$?
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); }; } && 9437 (exit $ac_status); }; } &&
9853 grep -v '^ *+' conftest.er1 >conftest.err 9509 grep -v '^ *+' conftest.er1 >conftest.err
9854 rm -f conftest.er1 9510 rm -f conftest.er1
9855 cat conftest.err >&5 9511 cat conftest.err >&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); } && 9513 (exit $ac_status); } &&
9858 { 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'
9859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9860 (eval $ac_try) 2>&5 9517 (eval $ac_try) 2>&5
9861 ac_status=$? 9518 ac_status=$?
9862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9863 (exit $ac_status); }; } && 9520 (exit $ac_status); }; } &&
9935 grep -v '^ *+' conftest.er1 >conftest.err 9592 grep -v '^ *+' conftest.er1 >conftest.err
9936 rm -f conftest.er1 9593 rm -f conftest.er1
9937 cat conftest.err >&5 9594 cat conftest.err >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); } && 9596 (exit $ac_status); } &&
9940 { 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'
9941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9942 (eval $ac_try) 2>&5 9600 (eval $ac_try) 2>&5
9943 ac_status=$? 9601 ac_status=$?
9944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945 (exit $ac_status); }; } && 9603 (exit $ac_status); }; } &&
10047 grep -v '^ *+' conftest.er1 >conftest.err 9705 grep -v '^ *+' conftest.er1 >conftest.err
10048 rm -f conftest.er1 9706 rm -f conftest.er1
10049 cat conftest.err >&5 9707 cat conftest.err >&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); } && 9709 (exit $ac_status); } &&
10052 { 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'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5 9713 (eval $ac_try) 2>&5
10055 ac_status=$? 9714 ac_status=$?
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; } && 9716 (exit $ac_status); }; } &&
10080 9739
10081 9740
10082 9741
10083 9742
10084 9743
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099for ac_func in \ 9744for ac_func in \
10100 revoke \
10101 unsetenv \ 9745 unsetenv \
10102 setutent \ 9746 setutent \
10103 seteuid \
10104 setresuid \
10105 setreuid \
10106 _getpty \
10107 getpt \
10108 posix_openpt \
10109 grantpt \
10110 unlockpt \
10111 isastream \
10112 on_exit \ 9747 on_exit \
10113 nanosleep \
10114 updwtmp \
10115 updwtmpx \
10116 ttyslot \
10117 9748
10118do 9749do
10119as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9750as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10120echo "$as_me:$LINENO: checking for $ac_func" >&5 9751echo "$as_me:$LINENO: checking for $ac_func" >&5
10121echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9752echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10180 grep -v '^ *+' conftest.er1 >conftest.err 9811 grep -v '^ *+' conftest.er1 >conftest.err
10181 rm -f conftest.er1 9812 rm -f conftest.er1
10182 cat conftest.err >&5 9813 cat conftest.err >&5
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); } && 9815 (exit $ac_status); } &&
10185 { 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'
10186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10187 (eval $ac_try) 2>&5 9819 (eval $ac_try) 2>&5
10188 ac_status=$? 9820 ac_status=$?
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; } && 9822 (exit $ac_status); }; } &&
10214fi 9846fi
10215done 9847done
10216 9848
10217 9849
10218 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
9900
9901
9902
9903
9904for ac_func in \
9905 ttyslot \
9906 updwtmp \
9907 updwtmpx \
9908
9909do
9910as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9911echo "$as_me:$LINENO: checking for $ac_func" >&5
9912echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9913if eval "test \"\${$as_ac_var+set}\" = set"; then
9914 echo $ECHO_N "(cached) $ECHO_C" >&6
9915else
9916 cat >conftest.$ac_ext <<_ACEOF
9917/* confdefs.h. */
9918_ACEOF
9919cat confdefs.h >>conftest.$ac_ext
9920cat >>conftest.$ac_ext <<_ACEOF
9921/* end confdefs.h. */
9922/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9924#define $ac_func innocuous_$ac_func
9925
9926/* System header to define __stub macros and hopefully few prototypes,
9927 which can conflict with char $ac_func (); below.
9928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9929 <limits.h> exists even on freestanding compilers. */
9930
9931#ifdef __STDC__
9932# include <limits.h>
9933#else
9934# include <assert.h>
9935#endif
9936
9937#undef $ac_func
9938
9939/* Override any gcc2 internal prototype to avoid an error. */
9940#ifdef __cplusplus
9941extern "C"
9942{
9943#endif
9944/* We use char because int might match the return type of a gcc2
9945 builtin and then its argument prototype would still apply. */
9946char $ac_func ();
9947/* The GNU C library defines this for functions which it implements
9948 to always fail with ENOSYS. Some functions are actually named
9949 something starting with __ and the normal name is an alias. */
9950#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9951choke me
9952#else
9953char (*f) () = $ac_func;
9954#endif
9955#ifdef __cplusplus
9956}
9957#endif
9958
9959int
9960main ()
9961{
9962return f != $ac_func;
9963 ;
9964 return 0;
9965}
9966_ACEOF
9967rm -f conftest.$ac_objext conftest$ac_exeext
9968if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9969 (eval $ac_link) 2>conftest.er1
9970 ac_status=$?
9971 grep -v '^ *+' conftest.er1 >conftest.err
9972 rm -f conftest.er1
9973 cat conftest.err >&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); } &&
9976 { ac_try='test -z "$ac_cxx_werror_flag"
9977 || test ! -s conftest.err'
9978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979 (eval $ac_try) 2>&5
9980 ac_status=$?
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); }; } &&
9983 { ac_try='test -s conftest$ac_exeext'
9984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9985 (eval $ac_try) 2>&5
9986 ac_status=$?
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); }; }; then
9989 eval "$as_ac_var=yes"
9990else
9991 echo "$as_me: failed program was:" >&5
9992sed 's/^/| /' conftest.$ac_ext >&5
9993
9994eval "$as_ac_var=no"
9995fi
9996rm -f conftest.err conftest.$ac_objext \
9997 conftest$ac_exeext conftest.$ac_ext
9998fi
9999echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10000echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10001if test `eval echo '${'$as_ac_var'}'` = yes; then
10002 cat >>confdefs.h <<_ACEOF
10003#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10004_ACEOF
10005
10006fi
10007done
10008
10009
10010
10011
10012
10013for ac_header in \
10014 utmp.h \
10015 utmpx.h \
10016 lastlog.h \
10017
10018do
10019as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10020if eval "test \"\${$as_ac_Header+set}\" = set"; then
10021 echo "$as_me:$LINENO: checking for $ac_header" >&5
10022echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10023if eval "test \"\${$as_ac_Header+set}\" = set"; then
10024 echo $ECHO_N "(cached) $ECHO_C" >&6
10025fi
10026echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10027echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10028else
10029 # Is the header compilable?
10030echo "$as_me:$LINENO: checking $ac_header usability" >&5
10031echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10032cat >conftest.$ac_ext <<_ACEOF
10033/* confdefs.h. */
10034_ACEOF
10035cat confdefs.h >>conftest.$ac_ext
10036cat >>conftest.$ac_ext <<_ACEOF
10037/* end confdefs.h. */
10038$ac_includes_default
10039#include <$ac_header>
10040_ACEOF
10041rm -f conftest.$ac_objext
10042if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10043 (eval $ac_compile) 2>conftest.er1
10044 ac_status=$?
10045 grep -v '^ *+' conftest.er1 >conftest.err
10046 rm -f conftest.er1
10047 cat conftest.err >&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); } &&
10050 { ac_try='test -z "$ac_cxx_werror_flag"
10051 || test ! -s conftest.err'
10052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10053 (eval $ac_try) 2>&5
10054 ac_status=$?
10055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056 (exit $ac_status); }; } &&
10057 { ac_try='test -s conftest.$ac_objext'
10058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10059 (eval $ac_try) 2>&5
10060 ac_status=$?
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); }; }; then
10063 ac_header_compiler=yes
10064else
10065 echo "$as_me: failed program was:" >&5
10066sed 's/^/| /' conftest.$ac_ext >&5
10067
10068ac_header_compiler=no
10069fi
10070rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10071echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10072echo "${ECHO_T}$ac_header_compiler" >&6
10073
10074# Is the header present?
10075echo "$as_me:$LINENO: checking $ac_header presence" >&5
10076echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10077cat >conftest.$ac_ext <<_ACEOF
10078/* confdefs.h. */
10079_ACEOF
10080cat confdefs.h >>conftest.$ac_ext
10081cat >>conftest.$ac_ext <<_ACEOF
10082/* end confdefs.h. */
10083#include <$ac_header>
10084_ACEOF
10085if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10087 ac_status=$?
10088 grep -v '^ *+' conftest.er1 >conftest.err
10089 rm -f conftest.er1
10090 cat conftest.err >&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); } >/dev/null; then
10093 if test -s conftest.err; then
10094 ac_cpp_err=$ac_cxx_preproc_warn_flag
10095 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10096 else
10097 ac_cpp_err=
10098 fi
10099else
10100 ac_cpp_err=yes
10101fi
10102if test -z "$ac_cpp_err"; then
10103 ac_header_preproc=yes
10104else
10105 echo "$as_me: failed program was:" >&5
10106sed 's/^/| /' conftest.$ac_ext >&5
10107
10108 ac_header_preproc=no
10109fi
10110rm -f conftest.err conftest.$ac_ext
10111echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10112echo "${ECHO_T}$ac_header_preproc" >&6
10113
10114# So? What about this header?
10115case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10116 yes:no: )
10117 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10118echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10120echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10121 ac_header_preproc=yes
10122 ;;
10123 no:yes:* )
10124 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10125echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10126 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10127echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10128 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10129echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10130 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10131echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10133echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10134 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10135echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10136 (
10137 cat <<\_ASBOX
10138## ------------------------------------------ ##
10139## Report this to the AC_PACKAGE_NAME lists. ##
10140## ------------------------------------------ ##
10141_ASBOX
10142 ) |
10143 sed "s/^/$as_me: WARNING: /" >&2
10144 ;;
10145esac
10146echo "$as_me:$LINENO: checking for $ac_header" >&5
10147echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10148if eval "test \"\${$as_ac_Header+set}\" = set"; then
10149 echo $ECHO_N "(cached) $ECHO_C" >&6
10150else
10151 eval "$as_ac_Header=\$ac_header_preproc"
10152fi
10153echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10154echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10155
10156fi
10157if test `eval echo '${'$as_ac_Header'}'` = yes; then
10158 cat >>confdefs.h <<_ACEOF
10159#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10160_ACEOF
10161
10162fi
10163
10164done
10165
10166
10167
10219if test "${ac_cv_header_utmp_h+set}" = set; then 10168if test "${ac_cv_header_utmp_h+set}" = set; then
10220 echo "$as_me:$LINENO: checking for utmp.h" >&5 10169 echo "$as_me:$LINENO: checking for utmp.h" >&5
10221echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 10170echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6
10222if test "${ac_cv_header_utmp_h+set}" = set; then 10171if test "${ac_cv_header_utmp_h+set}" = set; then
10223 echo $ECHO_N "(cached) $ECHO_C" >&6 10172 echo $ECHO_N "(cached) $ECHO_C" >&6
10244 grep -v '^ *+' conftest.er1 >conftest.err 10193 grep -v '^ *+' conftest.er1 >conftest.err
10245 rm -f conftest.er1 10194 rm -f conftest.er1
10246 cat conftest.err >&5 10195 cat conftest.err >&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); } && 10197 (exit $ac_status); } &&
10249 { 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'
10250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10251 (eval $ac_try) 2>&5 10201 (eval $ac_try) 2>&5
10252 ac_status=$? 10202 ac_status=$?
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); }; } && 10204 (exit $ac_status); }; } &&
10353 10303
10354fi 10304fi
10355if test $ac_cv_header_utmp_h = yes; then 10305if test $ac_cv_header_utmp_h = yes; then
10356 echo "$as_me:$LINENO: checking for struct utmp" >&5 10306 echo "$as_me:$LINENO: checking for struct utmp" >&5
10357echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 10307echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6
10358if test "${rxvt_cv_struct_utmp+set}" = set; then 10308if test "${struct_utmp+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6 10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10360else 10310else
10361 cat >conftest.$ac_ext <<_ACEOF 10311 cat >conftest.$ac_ext <<_ACEOF
10362/* confdefs.h. */ 10312/* confdefs.h. */
10363_ACEOF 10313_ACEOF
10381 grep -v '^ *+' conftest.er1 >conftest.err 10331 grep -v '^ *+' conftest.er1 >conftest.err
10382 rm -f conftest.er1 10332 rm -f conftest.er1
10383 cat conftest.err >&5 10333 cat conftest.err >&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } && 10335 (exit $ac_status); } &&
10386 { 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'
10387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10388 (eval $ac_try) 2>&5 10339 (eval $ac_try) 2>&5
10389 ac_status=$? 10340 ac_status=$?
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }; } && 10342 (exit $ac_status); }; } &&
10393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10394 (eval $ac_try) 2>&5 10345 (eval $ac_try) 2>&5
10395 ac_status=$? 10346 ac_status=$?
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); }; }; then 10348 (exit $ac_status); }; }; then
10398 rxvt_cv_struct_utmp=yes 10349 struct_utmp=yes
10399else 10350else
10400 echo "$as_me: failed program was:" >&5 10351 echo "$as_me: failed program was:" >&5
10401sed 's/^/| /' conftest.$ac_ext >&5 10352sed 's/^/| /' conftest.$ac_ext >&5
10402 10353
10403rxvt_cv_struct_utmp=no 10354struct_utmp=no
10404fi 10355fi
10405rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10356rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10406fi 10357fi
10407echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 10358echo "$as_me:$LINENO: result: $struct_utmp" >&5
10408echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 10359echo "${ECHO_T}$struct_utmp" >&6
10409if test x$rxvt_cv_struct_utmp = xyes; then 10360if test x$struct_utmp = xyes; then
10410 10361
10411cat >>confdefs.h <<\_ACEOF 10362cat >>confdefs.h <<\_ACEOF
10412#define HAVE_STRUCT_UTMP 1 10363#define HAVE_STRUCT_UTMP 1
10413_ACEOF 10364_ACEOF
10414 10365
10415fi 10366fi
10416 10367
10417 10368
10418echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 10369echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5
10419echo $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
10420if test "${rxvt_cv_struct_utmp_host+set}" = set; then 10371if test "${struct_utmp_host+set}" = set; then
10421 echo $ECHO_N "(cached) $ECHO_C" >&6 10372 echo $ECHO_N "(cached) $ECHO_C" >&6
10422else 10373else
10423 cat >conftest.$ac_ext <<_ACEOF 10374 cat >conftest.$ac_ext <<_ACEOF
10424/* confdefs.h. */ 10375/* confdefs.h. */
10425_ACEOF 10376_ACEOF
10443 grep -v '^ *+' conftest.er1 >conftest.err 10394 grep -v '^ *+' conftest.er1 >conftest.err
10444 rm -f conftest.er1 10395 rm -f conftest.er1
10445 cat conftest.err >&5 10396 cat conftest.err >&5
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); } && 10398 (exit $ac_status); } &&
10448 { 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'
10449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10450 (eval $ac_try) 2>&5 10402 (eval $ac_try) 2>&5
10451 ac_status=$? 10403 ac_status=$?
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); }; } && 10405 (exit $ac_status); }; } &&
10455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10456 (eval $ac_try) 2>&5 10408 (eval $ac_try) 2>&5
10457 ac_status=$? 10409 ac_status=$?
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); }; }; then 10411 (exit $ac_status); }; }; then
10460 rxvt_cv_struct_utmp_host=yes 10412 struct_utmp_host=yes
10461else 10413else
10462 echo "$as_me: failed program was:" >&5 10414 echo "$as_me: failed program was:" >&5
10463sed 's/^/| /' conftest.$ac_ext >&5 10415sed 's/^/| /' conftest.$ac_ext >&5
10464 10416
10465rxvt_cv_struct_utmp_host=no 10417struct_utmp_host=no
10466fi 10418fi
10467rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10419rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10468fi 10420fi
10469echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 10421echo "$as_me:$LINENO: result: $struct_utmp_host" >&5
10470echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 10422echo "${ECHO_T}$struct_utmp_host" >&6
10471if test x$rxvt_cv_struct_utmp_host = xyes; then 10423if test x$struct_utmp_host = xyes; then
10472 10424
10473cat >>confdefs.h <<\_ACEOF 10425cat >>confdefs.h <<\_ACEOF
10474#define HAVE_UTMP_HOST 1 10426#define HAVE_UTMP_HOST 1
10475_ACEOF 10427_ACEOF
10476 10428
10477fi 10429fi
10478 10430
10479echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 10431echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5
10480echo $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
10481if test "${rxvt_cv_struct_utmp_pid+set}" = set; then 10433if test "${struct_utmp_pid+set}" = set; then
10482 echo $ECHO_N "(cached) $ECHO_C" >&6 10434 echo $ECHO_N "(cached) $ECHO_C" >&6
10483else 10435else
10484 cat >conftest.$ac_ext <<_ACEOF 10436 cat >conftest.$ac_ext <<_ACEOF
10485/* confdefs.h. */ 10437/* confdefs.h. */
10486_ACEOF 10438_ACEOF
10504 grep -v '^ *+' conftest.er1 >conftest.err 10456 grep -v '^ *+' conftest.er1 >conftest.err
10505 rm -f conftest.er1 10457 rm -f conftest.er1
10506 cat conftest.err >&5 10458 cat conftest.err >&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); } && 10460 (exit $ac_status); } &&
10509 { 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'
10510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10511 (eval $ac_try) 2>&5 10464 (eval $ac_try) 2>&5
10512 ac_status=$? 10465 ac_status=$?
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); }; } && 10467 (exit $ac_status); }; } &&
10516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10517 (eval $ac_try) 2>&5 10470 (eval $ac_try) 2>&5
10518 ac_status=$? 10471 ac_status=$?
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); }; }; then 10473 (exit $ac_status); }; }; then
10521 rxvt_cv_struct_utmp_pid=yes 10474 struct_utmp_pid=yes
10522else 10475else
10523 echo "$as_me: failed program was:" >&5 10476 echo "$as_me: failed program was:" >&5
10524sed 's/^/| /' conftest.$ac_ext >&5 10477sed 's/^/| /' conftest.$ac_ext >&5
10525 10478
10526rxvt_cv_struct_utmp_pid=no 10479struct_utmp_pid=no
10527fi 10480fi
10528rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10481rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10529fi 10482fi
10530echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 10483echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5
10531echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 10484echo "${ECHO_T}$struct_utmp_pid" >&6
10532if test x$rxvt_cv_struct_utmp_pid = xyes; then 10485if test x$struct_utmp_pid = xyes; then
10533 10486
10534cat >>confdefs.h <<\_ACEOF 10487cat >>confdefs.h <<\_ACEOF
10535#define HAVE_UTMP_PID 1 10488#define HAVE_UTMP_PID 1
10536_ACEOF 10489_ACEOF
10537 10490
10569 grep -v '^ *+' conftest.er1 >conftest.err 10522 grep -v '^ *+' conftest.er1 >conftest.err
10570 rm -f conftest.er1 10523 rm -f conftest.er1
10571 cat conftest.err >&5 10524 cat conftest.err >&5
10572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10573 (exit $ac_status); } && 10526 (exit $ac_status); } &&
10574 { 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'
10575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10576 (eval $ac_try) 2>&5 10530 (eval $ac_try) 2>&5
10577 ac_status=$? 10531 ac_status=$?
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); }; } && 10533 (exit $ac_status); }; } &&
10678 10632
10679fi 10633fi
10680if test $ac_cv_header_utmpx_h = yes; then 10634if test $ac_cv_header_utmpx_h = yes; then
10681 echo "$as_me:$LINENO: checking for struct utmpx" >&5 10635 echo "$as_me:$LINENO: checking for struct utmpx" >&5
10682echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 10636echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6
10683if test "${rxvt_cv_struct_utmpx+set}" = set; then 10637if test "${struct_utmpx+set}" = set; then
10684 echo $ECHO_N "(cached) $ECHO_C" >&6 10638 echo $ECHO_N "(cached) $ECHO_C" >&6
10685else 10639else
10686 cat >conftest.$ac_ext <<_ACEOF 10640 cat >conftest.$ac_ext <<_ACEOF
10687/* confdefs.h. */ 10641/* confdefs.h. */
10688_ACEOF 10642_ACEOF
10706 grep -v '^ *+' conftest.er1 >conftest.err 10660 grep -v '^ *+' conftest.er1 >conftest.err
10707 rm -f conftest.er1 10661 rm -f conftest.er1
10708 cat conftest.err >&5 10662 cat conftest.err >&5
10709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710 (exit $ac_status); } && 10664 (exit $ac_status); } &&
10711 { 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'
10712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10713 (eval $ac_try) 2>&5 10668 (eval $ac_try) 2>&5
10714 ac_status=$? 10669 ac_status=$?
10715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716 (exit $ac_status); }; } && 10671 (exit $ac_status); }; } &&
10718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10719 (eval $ac_try) 2>&5 10674 (eval $ac_try) 2>&5
10720 ac_status=$? 10675 ac_status=$?
10721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); }; }; then 10677 (exit $ac_status); }; }; then
10723 rxvt_cv_struct_utmpx=yes 10678 struct_utmpx=yes
10724else 10679else
10725 echo "$as_me: failed program was:" >&5 10680 echo "$as_me: failed program was:" >&5
10726sed 's/^/| /' conftest.$ac_ext >&5 10681sed 's/^/| /' conftest.$ac_ext >&5
10727 10682
10728rxvt_cv_struct_utmpx=no 10683struct_utmpx=no
10729fi 10684fi
10730rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10685rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10731fi 10686fi
10732echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 10687echo "$as_me:$LINENO: result: $struct_utmpx" >&5
10733echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 10688echo "${ECHO_T}$struct_utmpx" >&6
10734if test x$rxvt_cv_struct_utmpx = xyes; then 10689if test x$struct_utmpx = xyes; then
10735 10690
10736cat >>confdefs.h <<\_ACEOF 10691cat >>confdefs.h <<\_ACEOF
10737#define HAVE_STRUCT_UTMPX 1 10692#define HAVE_STRUCT_UTMPX 1
10738_ACEOF 10693_ACEOF
10739 10694
10740fi 10695fi
10741 10696
10742 10697
10743echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 10698echo "$as_me:$LINENO: checking for host in utmpx struct" >&5
10744echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 10699echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6
10745if test "${rxvt_cv_struct_utmpx_host+set}" = set; then 10700if test "${struct_utmpx_host+set}" = set; then
10746 echo $ECHO_N "(cached) $ECHO_C" >&6 10701 echo $ECHO_N "(cached) $ECHO_C" >&6
10747else 10702else
10748 cat >conftest.$ac_ext <<_ACEOF 10703 cat >conftest.$ac_ext <<_ACEOF
10749/* confdefs.h. */ 10704/* confdefs.h. */
10750_ACEOF 10705_ACEOF
10768 grep -v '^ *+' conftest.er1 >conftest.err 10723 grep -v '^ *+' conftest.er1 >conftest.err
10769 rm -f conftest.er1 10724 rm -f conftest.er1
10770 cat conftest.err >&5 10725 cat conftest.err >&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); } && 10727 (exit $ac_status); } &&
10773 { 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'
10774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10775 (eval $ac_try) 2>&5 10731 (eval $ac_try) 2>&5
10776 ac_status=$? 10732 ac_status=$?
10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778 (exit $ac_status); }; } && 10734 (exit $ac_status); }; } &&
10780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10781 (eval $ac_try) 2>&5 10737 (eval $ac_try) 2>&5
10782 ac_status=$? 10738 ac_status=$?
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); }; }; then 10740 (exit $ac_status); }; }; then
10785 rxvt_cv_struct_utmpx_host=yes 10741 struct_utmpx_host=yes
10786else 10742else
10787 echo "$as_me: failed program was:" >&5 10743 echo "$as_me: failed program was:" >&5
10788sed 's/^/| /' conftest.$ac_ext >&5 10744sed 's/^/| /' conftest.$ac_ext >&5
10789 10745
10790rxvt_cv_struct_utmpx_host=no 10746struct_utmpx_host=no
10791fi 10747fi
10792rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10748rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10793fi 10749fi
10794echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 10750echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5
10795echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 10751echo "${ECHO_T}$struct_utmpx_host" >&6
10796if test x$rxvt_cv_struct_utmpx_host = xyes; then 10752if test x$struct_utmpx_host = xyes; then
10797 10753
10798cat >>confdefs.h <<\_ACEOF 10754cat >>confdefs.h <<\_ACEOF
10799#define HAVE_UTMPX_HOST 1 10755#define HAVE_UTMPX_HOST 1
10800_ACEOF 10756_ACEOF
10801 10757
10802fi 10758fi
10803 10759
10804echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 10760echo "$as_me:$LINENO: checking for session in utmpx struct" >&5
10805echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 10761echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6
10806if test "${rxvt_cv_struct_utmpx_session+set}" = set; then 10762if test "${struct_utmpx_session+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6 10763 echo $ECHO_N "(cached) $ECHO_C" >&6
10808else 10764else
10809 cat >conftest.$ac_ext <<_ACEOF 10765 cat >conftest.$ac_ext <<_ACEOF
10810/* confdefs.h. */ 10766/* confdefs.h. */
10811_ACEOF 10767_ACEOF
10829 grep -v '^ *+' conftest.er1 >conftest.err 10785 grep -v '^ *+' conftest.er1 >conftest.err
10830 rm -f conftest.er1 10786 rm -f conftest.er1
10831 cat conftest.err >&5 10787 cat conftest.err >&5
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 (exit $ac_status); } && 10789 (exit $ac_status); } &&
10834 { 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'
10835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10836 (eval $ac_try) 2>&5 10793 (eval $ac_try) 2>&5
10837 ac_status=$? 10794 ac_status=$?
10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839 (exit $ac_status); }; } && 10796 (exit $ac_status); }; } &&
10841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10842 (eval $ac_try) 2>&5 10799 (eval $ac_try) 2>&5
10843 ac_status=$? 10800 ac_status=$?
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); }; }; then 10802 (exit $ac_status); }; }; then
10846 rxvt_cv_struct_utmpx_session=yes 10803 struct_utmpx_session=yes
10847else 10804else
10848 echo "$as_me: failed program was:" >&5 10805 echo "$as_me: failed program was:" >&5
10849sed 's/^/| /' conftest.$ac_ext >&5 10806sed 's/^/| /' conftest.$ac_ext >&5
10850 10807
10851rxvt_cv_struct_utmpx_session=no 10808struct_utmpx_session=no
10852fi 10809fi
10853rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10810rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10854fi 10811fi
10855echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 10812echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5
10856echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 10813echo "${ECHO_T}$struct_utmpx_session" >&6
10857if test x$rxvt_cv_struct_utmpx_session = xyes; then 10814if test x$struct_utmpx_session = xyes; then
10858 10815
10859cat >>confdefs.h <<\_ACEOF 10816cat >>confdefs.h <<\_ACEOF
10860#define HAVE_UTMPX_SESSION 1 10817#define HAVE_UTMPX_SESSION 1
10861_ACEOF 10818_ACEOF
10862 10819
10865fi 10822fi
10866 10823
10867 10824
10868echo "$as_me:$LINENO: checking for struct lastlog" >&5 10825echo "$as_me:$LINENO: checking for struct lastlog" >&5
10869echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 10826echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
10870if test "${rxvt_cv_struct_lastlog+set}" = set; then 10827if test "${struct_lastlog+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6 10828 echo $ECHO_N "(cached) $ECHO_C" >&6
10872else 10829else
10873 cat >conftest.$ac_ext <<_ACEOF 10830 cat >conftest.$ac_ext <<_ACEOF
10874/* confdefs.h. */ 10831/* confdefs.h. */
10875_ACEOF 10832_ACEOF
10897 grep -v '^ *+' conftest.er1 >conftest.err 10854 grep -v '^ *+' conftest.er1 >conftest.err
10898 rm -f conftest.er1 10855 rm -f conftest.er1
10899 cat conftest.err >&5 10856 cat conftest.err >&5
10900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10901 (exit $ac_status); } && 10858 (exit $ac_status); } &&
10902 { 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'
10903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10904 (eval $ac_try) 2>&5 10862 (eval $ac_try) 2>&5
10905 ac_status=$? 10863 ac_status=$?
10906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10907 (exit $ac_status); }; } && 10865 (exit $ac_status); }; } &&
10909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10910 (eval $ac_try) 2>&5 10868 (eval $ac_try) 2>&5
10911 ac_status=$? 10869 ac_status=$?
10912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10913 (exit $ac_status); }; }; then 10871 (exit $ac_status); }; }; then
10914 rxvt_cv_struct_lastlog=yes 10872 struct_lastlog=yes
10915else 10873else
10916 echo "$as_me: failed program was:" >&5 10874 echo "$as_me: failed program was:" >&5
10917sed 's/^/| /' conftest.$ac_ext >&5 10875sed 's/^/| /' conftest.$ac_ext >&5
10918 10876
10919rxvt_cv_struct_lastlog=no 10877struct_lastlog=no
10920fi 10878fi
10921rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10879rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10922fi 10880fi
10923echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 10881echo "$as_me:$LINENO: result: $struct_lastlog" >&5
10924echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 10882echo "${ECHO_T}$struct_lastlog" >&6
10925if test x$rxvt_cv_struct_lastlog = xyes; then 10883if test x$struct_lastlog = xyes; then
10926 10884
10927cat >>confdefs.h <<\_ACEOF 10885cat >>confdefs.h <<\_ACEOF
10928#define HAVE_STRUCT_LASTLOG 1 10886#define HAVE_STRUCT_LASTLOG 1
10929_ACEOF 10887_ACEOF
10930 10888
10931fi 10889fi
10932 10890
10933echo "$as_me:$LINENO: checking for struct lastlogx" >&5 10891echo "$as_me:$LINENO: checking for struct lastlogx" >&5
10934echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 10892echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6
10935if test "${rxvt_cv_struct_lastlogx+set}" = set; then 10893if test "${struct_lastlogx+set}" = set; then
10936 echo $ECHO_N "(cached) $ECHO_C" >&6 10894 echo $ECHO_N "(cached) $ECHO_C" >&6
10937else 10895else
10938 cat >conftest.$ac_ext <<_ACEOF 10896 cat >conftest.$ac_ext <<_ACEOF
10939/* confdefs.h. */ 10897/* confdefs.h. */
10940_ACEOF 10898_ACEOF
10962 grep -v '^ *+' conftest.er1 >conftest.err 10920 grep -v '^ *+' conftest.er1 >conftest.err
10963 rm -f conftest.er1 10921 rm -f conftest.er1
10964 cat conftest.err >&5 10922 cat conftest.err >&5
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); } && 10924 (exit $ac_status); } &&
10967 { 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'
10968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10969 (eval $ac_try) 2>&5 10928 (eval $ac_try) 2>&5
10970 ac_status=$? 10929 ac_status=$?
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); }; } && 10931 (exit $ac_status); }; } &&
10974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10975 (eval $ac_try) 2>&5 10934 (eval $ac_try) 2>&5
10976 ac_status=$? 10935 ac_status=$?
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); }; }; then 10937 (exit $ac_status); }; }; then
10979 rxvt_cv_struct_lastlogx=yes 10938 struct_lastlogx=yes
10980else 10939else
10981 echo "$as_me: failed program was:" >&5 10940 echo "$as_me: failed program was:" >&5
10982sed 's/^/| /' conftest.$ac_ext >&5 10941sed 's/^/| /' conftest.$ac_ext >&5
10983 10942
10984rxvt_cv_struct_lastlogx=no 10943struct_lastlogx=no
10985fi 10944fi
10986rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10945rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10987fi 10946fi
10988echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 10947echo "$as_me:$LINENO: result: $struct_lastlogx" >&5
10989echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 10948echo "${ECHO_T}$struct_lastlogx" >&6
10990if test x$rxvt_cv_struct_lastlogx = xyes; then 10949if test x$struct_lastlogx = xyes; then
10991 10950
10992cat >>confdefs.h <<\_ACEOF 10951cat >>confdefs.h <<\_ACEOF
10993#define HAVE_STRUCT_LASTLOGX 1 10952#define HAVE_STRUCT_LASTLOGX 1
10994_ACEOF 10953_ACEOF
10995 10954
10996fi 10955fi
10997 10956
10998 10957
10999echo "$as_me:$LINENO: checking where utmp is located" >&5 10958echo "$as_me:$LINENO: checking where utmp is located" >&5
11000echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 10959echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6
11001if test "${rxvt_cv_path_utmp+set}" = set; then 10960if test "${path_utmp+set}" = set; then
11002 echo $ECHO_N "(cached) $ECHO_C" >&6 10961 echo $ECHO_N "(cached) $ECHO_C" >&6
11003else 10962else
11004 if test "$cross_compiling" = yes; then 10963 if test "$cross_compiling" = yes; then
11005 { 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
11006echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} 10965echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
11007else 10966else
11008 cat >conftest.$ac_ext <<_ACEOF 10967 cat >conftest.$ac_ext <<_ACEOF
11009/* confdefs.h. */ 10968/* confdefs.h. */
11010_ACEOF 10969_ACEOF
11011cat confdefs.h >>conftest.$ac_ext 10970cat confdefs.h >>conftest.$ac_ext
11012cat >>conftest.$ac_ext <<_ACEOF 10971cat >>conftest.$ac_ext <<_ACEOF
11013/* end confdefs.h. */ 10972/* end confdefs.h. */
11014#include <stdio.h> 10973#include <stdio.h>
10974#include <stdlib.h>
11015#include <sys/types.h> 10975#include <sys/types.h>
11016#include <utmp.h> 10976#include <utmp.h>
11017#include <errno.h> 10977#include <errno.h>
11018main() 10978main()
11019{ 10979{
11047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11048 (eval $ac_try) 2>&5 11008 (eval $ac_try) 2>&5
11049 ac_status=$? 11009 ac_status=$?
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); }; }; then 11011 (exit $ac_status); }; }; then
11052 rxvt_cv_path_utmp=`cat conftestval` 11012 path_utmp=`cat conftestval`
11053else 11013else
11054 echo "$as_me: program exited with status $ac_status" >&5 11014 echo "$as_me: program exited with status $ac_status" >&5
11055echo "$as_me: failed program was:" >&5 11015echo "$as_me: failed program was:" >&5
11056sed 's/^/| /' conftest.$ac_ext >&5 11016sed 's/^/| /' conftest.$ac_ext >&5
11057 11017
11058( exit $ac_status ) 11018( exit $ac_status )
11059rxvt_cv_path_utmp= 11019path_utmp=
11060fi 11020fi
11061rm -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
11062fi 11022fi
11063fi 11023fi
11064echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 11024echo "$as_me:$LINENO: result: $path_utmp" >&5
11065echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 11025echo "${ECHO_T}$path_utmp" >&6
11066if test x$rxvt_cv_path_utmp != x; then 11026if test x$path_utmp != x; then
11067 11027
11068cat >>confdefs.h <<_ACEOF 11028cat >>confdefs.h <<_ACEOF
11069#define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" 11029#define UTMP_FILE "$path_utmp"
11070_ACEOF 11030_ACEOF
11071 11031
11072fi 11032fi
11073 11033
11074 11034
11075echo "$as_me:$LINENO: checking where utmpx is located" >&5 11035echo "$as_me:$LINENO: checking where utmpx is located" >&5
11076echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 11036echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6
11077if test "${rxvt_cv_path_utmpx+set}" = set; then 11037if test "${path_utmpx+set}" = set; then
11078 echo $ECHO_N "(cached) $ECHO_C" >&6 11038 echo $ECHO_N "(cached) $ECHO_C" >&6
11079else 11039else
11080 if test "$cross_compiling" = yes; then 11040 if test "$cross_compiling" = yes; then
11081 { 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
11082echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} 11042echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;}
11083else 11043else
11084 cat >conftest.$ac_ext <<_ACEOF 11044 cat >conftest.$ac_ext <<_ACEOF
11085/* confdefs.h. */ 11045/* confdefs.h. */
11086_ACEOF 11046_ACEOF
11087cat confdefs.h >>conftest.$ac_ext 11047cat confdefs.h >>conftest.$ac_ext
11088cat >>conftest.$ac_ext <<_ACEOF 11048cat >>conftest.$ac_ext <<_ACEOF
11089/* end confdefs.h. */ 11049/* end confdefs.h. */
11090#include <stdio.h> 11050#include <stdio.h>
11051#include <stdlib.h>
11091#include <sys/types.h> 11052#include <sys/types.h>
11092#include <utmpx.h> 11053#include <utmpx.h>
11093#include <errno.h> 11054#include <errno.h>
11094#include <sys/stat.h> 11055#include <sys/stat.h>
11095#ifdef HAVE_STRING_H 11056#ifdef HAVE_STRING_H
11133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11134 (eval $ac_try) 2>&5 11095 (eval $ac_try) 2>&5
11135 ac_status=$? 11096 ac_status=$?
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); }; }; then 11098 (exit $ac_status); }; }; then
11138 rxvt_cv_path_utmpx=`cat conftestval` 11099 path_utmpx=`cat conftestval`
11139else 11100else
11140 echo "$as_me: program exited with status $ac_status" >&5 11101 echo "$as_me: program exited with status $ac_status" >&5
11141echo "$as_me: failed program was:" >&5 11102echo "$as_me: failed program was:" >&5
11142sed 's/^/| /' conftest.$ac_ext >&5 11103sed 's/^/| /' conftest.$ac_ext >&5
11143 11104
11144( exit $ac_status ) 11105( exit $ac_status )
11145rxvt_cv_path_utmpx= 11106path_utmpx=
11146fi 11107fi
11147rm -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
11148fi 11109fi
11149fi 11110fi
11150echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 11111echo "$as_me:$LINENO: result: $path_utmpx" >&5
11151echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 11112echo "${ECHO_T}$path_utmpx" >&6
11152if test x$rxvt_cv_path_utmpx != x; then 11113if test x$path_utmpx != x; then
11153 11114
11154cat >>confdefs.h <<_ACEOF 11115cat >>confdefs.h <<_ACEOF
11155#define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" 11116#define UTMPX_FILE "$path_utmpx"
11156_ACEOF 11117_ACEOF
11157 11118
11158fi 11119fi
11159 11120
11160 11121
11161echo "$as_me:$LINENO: checking where wtmp is located" >&5 11122echo "$as_me:$LINENO: checking where wtmp is located" >&5
11162echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 11123echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6
11163if test "${rxvt_cv_path_wtmp+set}" = set; then 11124if test "${path_wtmp+set}" = set; then
11164 echo $ECHO_N "(cached) $ECHO_C" >&6 11125 echo $ECHO_N "(cached) $ECHO_C" >&6
11165else 11126else
11166 if test "$cross_compiling" = yes; then 11127 if test "$cross_compiling" = yes; then
11167 { 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
11168echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} 11129echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
11169else 11130else
11170 cat >conftest.$ac_ext <<_ACEOF 11131 cat >conftest.$ac_ext <<_ACEOF
11171/* confdefs.h. */ 11132/* confdefs.h. */
11172_ACEOF 11133_ACEOF
11173cat confdefs.h >>conftest.$ac_ext 11134cat confdefs.h >>conftest.$ac_ext
11174cat >>conftest.$ac_ext <<_ACEOF 11135cat >>conftest.$ac_ext <<_ACEOF
11175/* end confdefs.h. */ 11136/* end confdefs.h. */
11176#include <stdio.h> 11137#include <stdio.h>
11138#include <stdlib.h>
11177#include <sys/types.h> 11139#include <sys/types.h>
11178#ifdef HAVE_UTMP_H 11140#ifdef HAVE_UTMP_H
11179#include <utmp.h> 11141#include <utmp.h>
11180#endif 11142#endif
11181#include <errno.h> 11143#include <errno.h>
11211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11212 (eval $ac_try) 2>&5 11174 (eval $ac_try) 2>&5
11213 ac_status=$? 11175 ac_status=$?
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); }; }; then 11177 (exit $ac_status); }; }; then
11216 rxvt_cv_path_wtmp=`cat conftestval` 11178 path_wtmp=`cat conftestval`
11217else 11179else
11218 echo "$as_me: program exited with status $ac_status" >&5 11180 echo "$as_me: program exited with status $ac_status" >&5
11219echo "$as_me: failed program was:" >&5 11181echo "$as_me: failed program was:" >&5
11220sed 's/^/| /' conftest.$ac_ext >&5 11182sed 's/^/| /' conftest.$ac_ext >&5
11221 11183
11222( exit $ac_status ) 11184( exit $ac_status )
11223rxvt_cv_path_wtmp= 11185path_wtmp=
11224fi 11186fi
11225rm -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
11226fi 11188fi
11227fi 11189fi
11228echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 11190echo "$as_me:$LINENO: result: $path_wtmp" >&5
11229echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 11191echo "${ECHO_T}$path_wtmp" >&6
11230if test x$rxvt_cv_path_wtmp != x; then 11192if test x$path_wtmp != x; then
11231 11193
11232cat >>confdefs.h <<_ACEOF 11194cat >>confdefs.h <<_ACEOF
11233#define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" 11195#define WTMP_FILE "$path_wtmp"
11234_ACEOF 11196_ACEOF
11235 11197
11236fi 11198fi
11237 11199
11238echo "$as_me:$LINENO: checking where wtmpx is located" >&5 11200echo "$as_me:$LINENO: checking where wtmpx is located" >&5
11239echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 11201echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6
11240if test "${rxvt_cv_path_wtmpx+set}" = set; then 11202if test "${path_wtmpx+set}" = set; then
11241 echo $ECHO_N "(cached) $ECHO_C" >&6 11203 echo $ECHO_N "(cached) $ECHO_C" >&6
11242else 11204else
11243 if test "$cross_compiling" = yes; then 11205 if test "$cross_compiling" = yes; then
11244 { 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
11245echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} 11207echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;}
11246else 11208else
11247 cat >conftest.$ac_ext <<_ACEOF 11209 cat >conftest.$ac_ext <<_ACEOF
11248/* confdefs.h. */ 11210/* confdefs.h. */
11249_ACEOF 11211_ACEOF
11250cat confdefs.h >>conftest.$ac_ext 11212cat confdefs.h >>conftest.$ac_ext
11251cat >>conftest.$ac_ext <<_ACEOF 11213cat >>conftest.$ac_ext <<_ACEOF
11252/* end confdefs.h. */ 11214/* end confdefs.h. */
11253#include <stdio.h> 11215#include <stdio.h>
11216#include <stdlib.h>
11254#ifdef HAVE_UTMPX_H 11217#ifdef HAVE_UTMPX_H
11255#include <utmpx.h> 11218#include <utmpx.h>
11256#endif 11219#endif
11257#include <errno.h> 11220#include <errno.h>
11258main() 11221main()
11287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11288 (eval $ac_try) 2>&5 11251 (eval $ac_try) 2>&5
11289 ac_status=$? 11252 ac_status=$?
11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291 (exit $ac_status); }; }; then 11254 (exit $ac_status); }; }; then
11292 rxvt_cv_path_wtmpx=`cat conftestval` 11255 path_wtmpx=`cat conftestval`
11293else 11256else
11294 echo "$as_me: program exited with status $ac_status" >&5 11257 echo "$as_me: program exited with status $ac_status" >&5
11295echo "$as_me: failed program was:" >&5 11258echo "$as_me: failed program was:" >&5
11296sed 's/^/| /' conftest.$ac_ext >&5 11259sed 's/^/| /' conftest.$ac_ext >&5
11297 11260
11298( exit $ac_status ) 11261( exit $ac_status )
11299rxvt_cv_path_wtmpx= 11262path_wtmpx=
11300fi 11263fi
11301rm -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
11302fi 11265fi
11303fi 11266fi
11304echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 11267echo "$as_me:$LINENO: result: $path_wtmpx" >&5
11305echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 11268echo "${ECHO_T}$path_wtmpx" >&6
11306if test x$rxvt_cv_path_wtmpx != x; then 11269if test x$path_wtmpx != x; then
11307 11270
11308cat >>confdefs.h <<_ACEOF 11271cat >>confdefs.h <<_ACEOF
11309#define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" 11272#define WTMPX_FILE "$path_wtmpx"
11310_ACEOF 11273_ACEOF
11311 11274
11312fi 11275fi
11313 11276
11314echo "$as_me:$LINENO: checking where lastlog is located" >&5 11277echo "$as_me:$LINENO: checking where lastlog is located" >&5
11315echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 11278echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6
11316if test "${rxvt_cv_path_lastlog+set}" = set; then 11279if test "${path_lastlog+set}" = set; then
11317 echo $ECHO_N "(cached) $ECHO_C" >&6 11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11318else 11281else
11319 if test "$cross_compiling" = yes; then 11282 if test "$cross_compiling" = yes; then
11320 { 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
11321echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} 11284echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;}
11322else 11285else
11323 cat >conftest.$ac_ext <<_ACEOF 11286 cat >conftest.$ac_ext <<_ACEOF
11324/* confdefs.h. */ 11287/* confdefs.h. */
11325_ACEOF 11288_ACEOF
11326cat confdefs.h >>conftest.$ac_ext 11289cat confdefs.h >>conftest.$ac_ext
11327cat >>conftest.$ac_ext <<_ACEOF 11290cat >>conftest.$ac_ext <<_ACEOF
11328/* end confdefs.h. */ 11291/* end confdefs.h. */
11329#include <stdio.h> 11292#include <stdio.h>
11293#include <stdlib.h>
11330#include <sys/types.h> 11294#include <sys/types.h>
11331#ifdef HAVE_UTMPX_H 11295#ifdef HAVE_UTMPX_H
11332#include <utmpx.h> 11296#include <utmpx.h>
11333#elif defined(HAVE_UTMP_H) 11297#elif defined(HAVE_UTMP_H)
11334#include <utmp.h> 11298#include <utmp.h>
11368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11369 (eval $ac_try) 2>&5 11333 (eval $ac_try) 2>&5
11370 ac_status=$? 11334 ac_status=$?
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); }; }; then 11336 (exit $ac_status); }; }; then
11373 rxvt_cv_path_lastlog=`cat conftestval` 11337 path_lastlog=`cat conftestval`
11374else 11338else
11375 echo "$as_me: program exited with status $ac_status" >&5 11339 echo "$as_me: program exited with status $ac_status" >&5
11376echo "$as_me: failed program was:" >&5 11340echo "$as_me: failed program was:" >&5
11377sed 's/^/| /' conftest.$ac_ext >&5 11341sed 's/^/| /' conftest.$ac_ext >&5
11378 11342
11379( exit $ac_status ) 11343( exit $ac_status )
11380rxvt_cv_path_lastlog= 11344path_lastlog=
11381fi 11345fi
11382rm -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
11383fi 11347fi
11384fi 11348fi
11385echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 11349echo "$as_me:$LINENO: result: $path_lastlog" >&5
11386echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 11350echo "${ECHO_T}$path_lastlog" >&6
11387if test x$rxvt_cv_path_lastlog != x; then 11351if test x$path_lastlog != x; then
11388 11352
11389cat >>confdefs.h <<_ACEOF 11353cat >>confdefs.h <<_ACEOF
11390#define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" 11354#define LASTLOG_FILE "$path_lastlog"
11391_ACEOF 11355_ACEOF
11392 11356
11393 if test -d "$rxvt_cv_path_lastlog"; then 11357 if test -d "$path_lastlog"; then
11394 11358
11395cat >>confdefs.h <<\_ACEOF 11359cat >>confdefs.h <<\_ACEOF
11396#define LASTLOG_IS_DIR 1 11360#define LASTLOG_IS_DIR 1
11397_ACEOF 11361_ACEOF
11398 11362
11399 fi 11363 fi
11400fi 11364fi
11401 11365
11402echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11366echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11403echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 11367echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6
11404if test "${rxvt_cv_path_lastlogx+set}" = set; then 11368if test "${path_lastlogx+set}" = set; then
11405 echo $ECHO_N "(cached) $ECHO_C" >&6 11369 echo $ECHO_N "(cached) $ECHO_C" >&6
11406else 11370else
11407 if test "$cross_compiling" = yes; then 11371 if test "$cross_compiling" = yes; then
11408 { 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
11409echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} 11373echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;}
11410else 11374else
11411 cat >conftest.$ac_ext <<_ACEOF 11375 cat >conftest.$ac_ext <<_ACEOF
11412/* confdefs.h. */ 11376/* confdefs.h. */
11413_ACEOF 11377_ACEOF
11414cat confdefs.h >>conftest.$ac_ext 11378cat confdefs.h >>conftest.$ac_ext
11415cat >>conftest.$ac_ext <<_ACEOF 11379cat >>conftest.$ac_ext <<_ACEOF
11416/* end confdefs.h. */ 11380/* end confdefs.h. */
11417#include <stdio.h> 11381#include <stdio.h>
11382#include <stdlib.h>
11418#ifdef HAVE_UTMPX_H 11383#ifdef HAVE_UTMPX_H
11419#include <utmpx.h> 11384#include <utmpx.h>
11420#endif 11385#endif
11421#include <errno.h> 11386#include <errno.h>
11422main() 11387main()
11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11451 (eval $ac_try) 2>&5 11416 (eval $ac_try) 2>&5
11452 ac_status=$? 11417 ac_status=$?
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); }; }; then 11419 (exit $ac_status); }; }; then
11455 rxvt_cv_path_lastlogx=`cat conftestval` 11420 path_lastlogx=`cat conftestval`
11456else 11421else
11457 echo "$as_me: program exited with status $ac_status" >&5 11422 echo "$as_me: program exited with status $ac_status" >&5
11458echo "$as_me: failed program was:" >&5 11423echo "$as_me: failed program was:" >&5
11459sed 's/^/| /' conftest.$ac_ext >&5 11424sed 's/^/| /' conftest.$ac_ext >&5
11460 11425
11461( exit $ac_status ) 11426( exit $ac_status )
11462rxvt_cv_path_lastlogx= 11427path_lastlogx=
11463fi 11428fi
11464rm -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
11465fi 11430fi
11466fi 11431fi
11467echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 11432echo "$as_me:$LINENO: result: $path_lastlogx" >&5
11468echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 11433echo "${ECHO_T}$path_lastlogx" >&6
11469if test x$rxvt_cv_path_lastlogx != x; then 11434if test x$path_lastlogx != x; then
11470 11435
11471cat >>confdefs.h <<_ACEOF 11436cat >>confdefs.h <<_ACEOF
11472#define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" 11437#define LASTLOGX_FILE "$path_lastlogx"
11473_ACEOF 11438_ACEOF
11474 11439
11475fi 11440fi
11441
11476 11442
11477 11443
11478echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 11444echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11479echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 11445echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6
11480if test "${rxvt_cv_path_ttytab+set}" = set; then 11446if test "${rxvt_cv_path_ttytab+set}" = set; then
11521_ACEOF 11487_ACEOF
11522cat confdefs.h >>conftest.$ac_ext 11488cat confdefs.h >>conftest.$ac_ext
11523cat >>conftest.$ac_ext <<_ACEOF 11489cat >>conftest.$ac_ext <<_ACEOF
11524/* end confdefs.h. */ 11490/* end confdefs.h. */
11525#include <X11/Xlib.h> 11491#include <X11/Xlib.h>
11492#include <stdlib.h>
11526main() { 11493main() {
11527char *p; 11494char *p;
11528if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 11495if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
11529exit (XSupportsLocale() ? 0 : 1); 11496exit (XSupportsLocale() ? 0 : 1);
11530else 11497else
11591 grep -v '^ *+' conftest.er1 >conftest.err 11558 grep -v '^ *+' conftest.er1 >conftest.err
11592 rm -f conftest.er1 11559 rm -f conftest.er1
11593 cat conftest.err >&5 11560 cat conftest.err >&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); } && 11562 (exit $ac_status); } &&
11596 { 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'
11597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11598 (eval $ac_try) 2>&5 11566 (eval $ac_try) 2>&5
11599 ac_status=$? 11567 ac_status=$?
11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11601 (exit $ac_status); }; } && 11569 (exit $ac_status); }; } &&
11654 grep -v '^ *+' conftest.er1 >conftest.err 11622 grep -v '^ *+' conftest.er1 >conftest.err
11655 rm -f conftest.er1 11623 rm -f conftest.er1
11656 cat conftest.err >&5 11624 cat conftest.err >&5
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); } && 11626 (exit $ac_status); } &&
11659 { 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'
11660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11661 (eval $ac_try) 2>&5 11630 (eval $ac_try) 2>&5
11662 ac_status=$? 11631 ac_status=$?
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); }; } && 11633 (exit $ac_status); }; } &&
11715 grep -v '^ *+' conftest.er1 >conftest.err 11684 grep -v '^ *+' conftest.er1 >conftest.err
11716 rm -f conftest.er1 11685 rm -f conftest.er1
11717 cat conftest.err >&5 11686 cat conftest.err >&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); } && 11688 (exit $ac_status); } &&
11720 { 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'
11721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11722 (eval $ac_try) 2>&5 11692 (eval $ac_try) 2>&5
11723 ac_status=$? 11693 ac_status=$?
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); }; } && 11695 (exit $ac_status); }; } &&
11747#define HAVE_NL_LANGINFO 1 11717#define HAVE_NL_LANGINFO 1
11748_ACEOF 11718_ACEOF
11749 11719
11750fi 11720fi
11751 11721
11722
11752echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 11723echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5
11753echo $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
11754if test "${rxvt_can_pass_fds+set}" = set; then 11725if test "${can_pass_fds+set}" = set; then
11755 echo $ECHO_N "(cached) $ECHO_C" >&6 11726 echo $ECHO_N "(cached) $ECHO_C" >&6
11756else 11727else
11757 cat >conftest.$ac_ext <<_ACEOF 11728 cat >conftest.$ac_ext <<_ACEOF
11758/* confdefs.h. */ 11729/* confdefs.h. */
11759_ACEOF 11730_ACEOF
11760cat confdefs.h >>conftest.$ac_ext 11731cat confdefs.h >>conftest.$ac_ext
11761cat >>conftest.$ac_ext <<_ACEOF 11732cat >>conftest.$ac_ext <<_ACEOF
11762/* end confdefs.h. */ 11733/* end confdefs.h. */
11763 11734
11735#include <cstddef> // broken bsds (is that redundant?) need this
11764#include <sys/types.h> 11736#include <sys/types.h>
11765#include <sys/socket.h> 11737#include <sys/socket.h>
11738#include <sys/uio.h>
11766 11739
11767int 11740int
11768main () 11741main ()
11769{ 11742{
11770 11743
11803 grep -v '^ *+' conftest.er1 >conftest.err 11776 grep -v '^ *+' conftest.er1 >conftest.err
11804 rm -f conftest.er1 11777 rm -f conftest.er1
11805 cat conftest.err >&5 11778 cat conftest.err >&5
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); } && 11780 (exit $ac_status); } &&
11808 { 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'
11809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11810 (eval $ac_try) 2>&5 11784 (eval $ac_try) 2>&5
11811 ac_status=$? 11785 ac_status=$?
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); }; } && 11787 (exit $ac_status); }; } &&
11815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11816 (eval $ac_try) 2>&5 11790 (eval $ac_try) 2>&5
11817 ac_status=$? 11791 ac_status=$?
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); }; }; then 11793 (exit $ac_status); }; }; then
11820 rxvt_can_pass_fds=yes 11794 can_pass_fds=yes
11821else 11795else
11822 echo "$as_me: failed program was:" >&5 11796 echo "$as_me: failed program was:" >&5
11823sed 's/^/| /' conftest.$ac_ext >&5 11797sed 's/^/| /' conftest.$ac_ext >&5
11824 11798
11825rxvt_can_pass_fds=no 11799can_pass_fds=no
11826fi 11800fi
11827rm -f conftest.err conftest.$ac_objext \ 11801rm -f conftest.err conftest.$ac_objext \
11828 conftest$ac_exeext conftest.$ac_ext 11802 conftest$ac_exeext conftest.$ac_ext
11829fi 11803fi
11830echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 11804echo "$as_me:$LINENO: result: $can_pass_fds" >&5
11831echo "${ECHO_T}$rxvt_can_pass_fds" >&6 11805echo "${ECHO_T}$can_pass_fds" >&6
11832if test x$rxvt_can_pass_fds = xyes; then 11806if test x$can_pass_fds = xyes; then
11833 11807
11834cat >>confdefs.h <<\_ACEOF 11808cat >>confdefs.h <<\_ACEOF
11835#define HAVE_UNIX_FDPASS 1 11809#define HAVE_UNIX_FDPASS 1
11836_ACEOF 11810_ACEOF
11837 11811
11838else 11812else
11839 { { 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
11840echo "$as_me: error: urxvt requires unix-compliant filehandle passing ability" >&2;} 11814echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
11841 { (exit 1); exit 1; }; } 11815 { (exit 1); exit 1; }; }
11842fi 11816fi
11817
11843 11818
11844echo "$as_me:$LINENO: checking for broken XIM callback" >&5 11819echo "$as_me:$LINENO: checking for broken XIM callback" >&5
11845echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 11820echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
11846if test "${rxvt_broken_ximcb+set}" = set; then 11821if test "${rxvt_broken_ximcb+set}" = set; then
11847 echo $ECHO_N "(cached) $ECHO_C" >&6 11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11865 grep -v '^ *+' conftest.er1 >conftest.err 11840 grep -v '^ *+' conftest.er1 >conftest.err
11866 rm -f conftest.er1 11841 rm -f conftest.er1
11867 cat conftest.err >&5 11842 cat conftest.err >&5
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); } && 11844 (exit $ac_status); } &&
11870 { 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'
11871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11872 (eval $ac_try) 2>&5 11848 (eval $ac_try) 2>&5
11873 ac_status=$? 11849 ac_status=$?
11874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875 (exit $ac_status); }; } && 11851 (exit $ac_status); }; } &&
11897#define XIMCB_PROTO_BROKEN 1 11873#define XIMCB_PROTO_BROKEN 1
11898_ACEOF 11874_ACEOF
11899 11875
11900fi 11876fi
11901 11877
11902if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then
11903 echo "$as_me:$LINENO: checking for openpty" >&5
11904echo $ECHO_N "checking for openpty... $ECHO_C" >&6
11905if test "${ac_cv_func_openpty+set}" = set; then
11906 echo $ECHO_N "(cached) $ECHO_C" >&6
11907else
11908 cat >conftest.$ac_ext <<_ACEOF
11909/* confdefs.h. */
11910_ACEOF
11911cat confdefs.h >>conftest.$ac_ext
11912cat >>conftest.$ac_ext <<_ACEOF
11913/* end confdefs.h. */
11914/* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
11915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11916#define openpty innocuous_openpty
11917 11878
11918/* System header to define __stub macros and hopefully few prototypes,
11919 which can conflict with char openpty (); below.
11920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921 <limits.h> exists even on freestanding compilers. */
11922 11879
11923#ifdef __STDC__
11924# include <limits.h>
11925#else
11926# include <assert.h>
11927#endif
11928 11880
11929#undef openpty
11930 11881
11931/* Override any gcc2 internal prototype to avoid an error. */
11932#ifdef __cplusplus
11933extern "C"
11934{
11935#endif
11936/* We use char because int might match the return type of a gcc2
11937 builtin and then its argument prototype would still apply. */
11938char openpty ();
11939/* The GNU C library defines this for functions which it implements
11940 to always fail with ENOSYS. Some functions are actually named
11941 something starting with __ and the normal name is an alias. */
11942#if defined (__stub_openpty) || defined (__stub___openpty)
11943choke me
11944#else
11945char (*f) () = openpty;
11946#endif
11947#ifdef __cplusplus
11948}
11949#endif
11950 11882
11951int
11952main ()
11953{
11954return f != openpty;
11955 ;
11956 return 0;
11957}
11958_ACEOF
11959rm -f conftest.$ac_objext conftest$ac_exeext
11960if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11961 (eval $ac_link) 2>conftest.er1
11962 ac_status=$?
11963 grep -v '^ *+' conftest.er1 >conftest.err
11964 rm -f conftest.er1
11965 cat conftest.err >&5
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); } &&
11968 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11970 (eval $ac_try) 2>&5
11971 ac_status=$?
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); }; } &&
11974 { ac_try='test -s conftest$ac_exeext'
11975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976 (eval $ac_try) 2>&5
11977 ac_status=$?
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); }; }; then
11980 ac_cv_func_openpty=yes
11981else
11982 echo "$as_me: failed program was:" >&5
11983sed 's/^/| /' conftest.$ac_ext >&5
11984 11883
11985ac_cv_func_openpty=no 11884for ac_header in \
11986fi 11885 pty.h \
11987rm -f conftest.err conftest.$ac_objext \ 11886 util.h \
11988 conftest$ac_exeext conftest.$ac_ext 11887 libutil.h \
11989fi 11888 sys/ioctl.h \
11990echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 11889 sys/stropts.h \
11991echo "${ECHO_T}$ac_cv_func_openpty" >&6
11992if test $ac_cv_func_openpty = yes; then
11993 :
11994else
11995 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
11996echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
11997if test "${ac_cv_lib_util_openpty+set}" = set; then
11998 echo $ECHO_N "(cached) $ECHO_C" >&6
11999else
12000 ac_check_lib_save_LIBS=$LIBS
12001LIBS="-lutil $LIBS"
12002cat >conftest.$ac_ext <<_ACEOF
12003/* confdefs.h. */
12004_ACEOF
12005cat confdefs.h >>conftest.$ac_ext
12006cat >>conftest.$ac_ext <<_ACEOF
12007/* end confdefs.h. */
12008 11890
12009/* Override any gcc2 internal prototype to avoid an error. */
12010#ifdef __cplusplus
12011extern "C"
12012#endif
12013/* We use char because int might match the return type of a gcc2
12014 builtin and then its argument prototype would still apply. */
12015char openpty ();
12016int
12017main ()
12018{
12019openpty ();
12020 ;
12021 return 0;
12022}
12023_ACEOF
12024rm -f conftest.$ac_objext conftest$ac_exeext
12025if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12026 (eval $ac_link) 2>conftest.er1
12027 ac_status=$?
12028 grep -v '^ *+' conftest.er1 >conftest.err
12029 rm -f conftest.er1
12030 cat conftest.err >&5
12031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12032 (exit $ac_status); } &&
12033 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12035 (eval $ac_try) 2>&5
12036 ac_status=$?
12037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 (exit $ac_status); }; } &&
12039 { ac_try='test -s conftest$ac_exeext'
12040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12041 (eval $ac_try) 2>&5
12042 ac_status=$?
12043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044 (exit $ac_status); }; }; then
12045 ac_cv_lib_util_openpty=yes
12046else
12047 echo "$as_me: failed program was:" >&5
12048sed 's/^/| /' conftest.$ac_ext >&5
12049
12050ac_cv_lib_util_openpty=no
12051fi
12052rm -f conftest.err conftest.$ac_objext \
12053 conftest$ac_exeext conftest.$ac_ext
12054LIBS=$ac_check_lib_save_LIBS
12055fi
12056echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
12057echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
12058if test $ac_cv_lib_util_openpty = yes; then
12059 LIBS="$LIBS -lutil"
12060fi
12061
12062fi
12063
12064fi
12065
12066echo "$as_me:$LINENO: checking for pty/tty type" >&5
12067echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6
12068if test "${rxvt_cv_ptys+set}" = set; then
12069 echo $ECHO_N "(cached) $ECHO_C" >&6
12070else
12071 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
12072 rxvt_cv_ptys=OPENPTY
12073 else if test x$ac_cv_func_getpt = xyes; then
12074 rxvt_cv_ptys=GLIBC
12075 else if test x$ac_cv_func_posix_openpt = xyes; then
12076 rxvt_cv_ptys=POSIX
12077 else if test x$ac_cv_func__getpty = xyes; then
12078 rxvt_cv_ptys=SGI4
12079 else if test -c /dev/ttyp20; then
12080 rxvt_cv_ptys=SCO
12081 else if test -c /dev/ptym/clone; then
12082 rxvt_cv_ptys=HPUX
12083 else if test -c /dev/ptc -a -c /dev/pts; then
12084 rxvt_cv_ptys=PTC
12085 else if test -c /dev/ptc -a -d /dev/pts; then
12086 rxvt_cv_ptys=PTC
12087 else if test -c /dev/ptmx -a -c /dev/pts/0; then
12088 rxvt_cv_ptys=STREAMS
12089 else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then
12090 rxvt_cv_ptys=STREAMS
12091 else
12092 rxvt_cv_ptys=BSD
12093fi
12094fi
12095fi
12096fi
12097fi
12098fi
12099fi
12100fi
12101fi
12102fi
12103
12104fi
12105echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
12106echo "${ECHO_T}$rxvt_cv_ptys" >&6
12107
12108if test x$rxvt_cv_ptys = xGLIBC; then
12109
12110cat >>confdefs.h <<\_ACEOF
12111#define PTYS_ARE_GETPT 1
12112_ACEOF
12113
12114fi
12115if test x$rxvt_cv_ptys = xPOSIX; then
12116
12117cat >>confdefs.h <<\_ACEOF
12118#define PTYS_ARE_POSIX 1
12119_ACEOF
12120
12121fi
12122if test x$rxvt_cv_ptys = xOPENPTY; then
12123
12124cat >>confdefs.h <<\_ACEOF
12125#define PTYS_ARE_OPENPTY 1
12126_ACEOF
12127
12128fi
12129if test x$rxvt_cv_ptys = xSCO; then
12130
12131cat >>confdefs.h <<\_ACEOF
12132#define PTYS_ARE_NUMERIC 1
12133_ACEOF
12134
12135fi
12136if test x$rxvt_cv_ptys = xSTREAMS; then
12137
12138cat >>confdefs.h <<\_ACEOF
12139#define PTYS_ARE_PTMX 1
12140_ACEOF
12141
12142fi
12143if test x$rxvt_cv_ptys = xPTC; then
12144
12145cat >>confdefs.h <<\_ACEOF
12146#define PTYS_ARE_PTC 1
12147_ACEOF
12148
12149fi
12150if test x$rxvt_cv_ptys = xSGI4; then
12151
12152cat >>confdefs.h <<\_ACEOF
12153#define PTYS_ARE__GETPTY 1
12154_ACEOF
12155
12156fi
12157if test x$rxvt_cv_ptys = xHPUX; then
12158
12159cat >>confdefs.h <<\_ACEOF
12160#define PTYS_ARE_CLONE 1
12161_ACEOF
12162
12163fi
12164if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then
12165
12166cat >>confdefs.h <<\_ACEOF
12167#define PTYS_ARE_SEARCHED 1
12168_ACEOF
12169
12170fi
12171
12172
12173{ echo "$as_me:$LINENO: checking for pty ranges..." >&5
12174echo "$as_me: checking for pty ranges..." >&6;}
12175ptys=`echo /dev/pty??`
12176pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'`
12177pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'`
12178if test x$pch1 != x; then
12179
12180cat >>confdefs.h <<_ACEOF
12181#define PTYCHAR1 "$pch1"
12182_ACEOF
12183
12184fi
12185if test x$pch2 != x; then
12186
12187cat >>confdefs.h <<_ACEOF
12188#define PTYCHAR2 "$pch2"
12189_ACEOF
12190
12191fi
12192
12193if test x$support_xft = xyes; then
12194 LIBS="$LIBS `pkg-config xft --libs`"
12195 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
12196
12197
12198for ac_header in X11/Xft/Xft.h
12199do 11891do
12200as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11892as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12201if eval "test \"\${$as_ac_Header+set}\" = set"; then 11893if eval "test \"\${$as_ac_Header+set}\" = set"; then
12202 echo "$as_me:$LINENO: checking for $ac_header" >&5 11894 echo "$as_me:$LINENO: checking for $ac_header" >&5
12203echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11895echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12226 grep -v '^ *+' conftest.er1 >conftest.err 11918 grep -v '^ *+' conftest.er1 >conftest.err
12227 rm -f conftest.er1 11919 rm -f conftest.er1
12228 cat conftest.err >&5 11920 cat conftest.err >&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); } && 11922 (exit $ac_status); } &&
12231 { 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'
12232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12233 (eval $ac_try) 2>&5 11926 (eval $ac_try) 2>&5
12234 ac_status=$? 11927 ac_status=$?
12235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236 (exit $ac_status); }; } && 11929 (exit $ac_status); }; } &&
12337if test `eval echo '${'$as_ac_Header'}'` = yes; then 12030if test `eval echo '${'$as_ac_Header'}'` = yes; then
12338 cat >>confdefs.h <<_ACEOF 12031 cat >>confdefs.h <<_ACEOF
12339#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12032#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12340_ACEOF 12033_ACEOF
12341 12034
12035fi
12036
12037done
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049for ac_func in \
12050 revoke \
12051 _getpty \
12052 getpt \
12053 posix_openpt \
12054 isastream \
12055 setuid \
12056 seteuid \
12057 setreuid \
12058 setresuid \
12059
12060do
12061as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12062echo "$as_me:$LINENO: checking for $ac_func" >&5
12063echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12064if eval "test \"\${$as_ac_var+set}\" = set"; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12066else
12067 cat >conftest.$ac_ext <<_ACEOF
12068/* confdefs.h. */
12069_ACEOF
12070cat confdefs.h >>conftest.$ac_ext
12071cat >>conftest.$ac_ext <<_ACEOF
12072/* end confdefs.h. */
12073/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12075#define $ac_func innocuous_$ac_func
12076
12077/* System header to define __stub macros and hopefully few prototypes,
12078 which can conflict with char $ac_func (); below.
12079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12080 <limits.h> exists even on freestanding compilers. */
12081
12082#ifdef __STDC__
12083# include <limits.h>
12084#else
12085# include <assert.h>
12086#endif
12087
12088#undef $ac_func
12089
12090/* Override any gcc2 internal prototype to avoid an error. */
12091#ifdef __cplusplus
12092extern "C"
12093{
12094#endif
12095/* We use char because int might match the return type of a gcc2
12096 builtin and then its argument prototype would still apply. */
12097char $ac_func ();
12098/* The GNU C library defines this for functions which it implements
12099 to always fail with ENOSYS. Some functions are actually named
12100 something starting with __ and the normal name is an alias. */
12101#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12102choke me
12103#else
12104char (*f) () = $ac_func;
12105#endif
12106#ifdef __cplusplus
12107}
12108#endif
12109
12110int
12111main ()
12112{
12113return f != $ac_func;
12114 ;
12115 return 0;
12116}
12117_ACEOF
12118rm -f conftest.$ac_objext conftest$ac_exeext
12119if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12120 (eval $ac_link) 2>conftest.er1
12121 ac_status=$?
12122 grep -v '^ *+' conftest.er1 >conftest.err
12123 rm -f conftest.er1
12124 cat conftest.err >&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); } &&
12127 { ac_try='test -z "$ac_cxx_werror_flag"
12128 || test ! -s conftest.err'
12129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12130 (eval $ac_try) 2>&5
12131 ac_status=$?
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); }; } &&
12134 { ac_try='test -s conftest$ac_exeext'
12135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12136 (eval $ac_try) 2>&5
12137 ac_status=$?
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); }; }; then
12140 eval "$as_ac_var=yes"
12141else
12142 echo "$as_me: failed program was:" >&5
12143sed 's/^/| /' conftest.$ac_ext >&5
12144
12145eval "$as_ac_var=no"
12146fi
12147rm -f conftest.err conftest.$ac_objext \
12148 conftest$ac_exeext conftest.$ac_ext
12149fi
12150echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12151echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12152if test `eval echo '${'$as_ac_var'}'` = yes; then
12153 cat >>confdefs.h <<_ACEOF
12154#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12155_ACEOF
12156
12157fi
12158done
12159
12160
12161have_clone=no
12162
12163echo "$as_me:$LINENO: checking for /dev/ptym/clone" >&5
12164echo $ECHO_N "checking for /dev/ptym/clone... $ECHO_C" >&6
12165if test -e /dev/ptym/clone; then
12166 echo "$as_me:$LINENO: result: yes" >&5
12167echo "${ECHO_T}yes" >&6
12168
12169cat >>confdefs.h <<\_ACEOF
12170#define HAVE_DEV_CLONE 1
12171_ACEOF
12172
12173
12174cat >>confdefs.h <<\_ACEOF
12175#define CLONE_DEVICE "/dev/ptym/clone"
12176_ACEOF
12177
12178 have_clone=yes
12179else
12180 echo "$as_me:$LINENO: result: no" >&5
12181echo "${ECHO_T}no" >&6
12182fi
12183
12184echo "$as_me:$LINENO: checking for /dev/ptc" >&5
12185echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6
12186if test -e /dev/ptc; then
12187 echo "$as_me:$LINENO: result: yes" >&5
12188echo "${ECHO_T}yes" >&6
12189
12190cat >>confdefs.h <<\_ACEOF
12191#define HAVE_DEV_PTC 1
12192_ACEOF
12193
12194
12195cat >>confdefs.h <<\_ACEOF
12196#define CLONE_DEVICE "/dev/ptc"
12197_ACEOF
12198
12199 have_clone=yes
12200else
12201 echo "$as_me:$LINENO: result: no" >&5
12202echo "${ECHO_T}no" >&6
12203fi
12204
12205case $host in
12206 *-*-cygwin*)
12207 have_clone=yes
12208
12209cat >>confdefs.h <<\_ACEOF
12210#define CLONE_DEVICE "/dev/ptmx"
12211_ACEOF
12212
12213 ;;
12214 *)
12215 echo "$as_me:$LINENO: checking for /dev/ptmx" >&5
12216echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6
12217 if test -e /dev/ptmx; then
12218 echo "$as_me:$LINENO: result: yes" >&5
12219echo "${ECHO_T}yes" >&6
12220
12221cat >>confdefs.h <<\_ACEOF
12222#define HAVE_DEV_PTMX 1
12223_ACEOF
12224
12225
12226cat >>confdefs.h <<\_ACEOF
12227#define CLONE_DEVICE "/dev/ptmx"
12228_ACEOF
12229
12230 have_clone=yes
12231 else
12232 echo "$as_me:$LINENO: result: no" >&5
12233echo "${ECHO_T}no" >&6
12234 fi
12235 ;;
12236esac
12237
12238if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then
12239 echo "$as_me:$LINENO: checking for UNIX98 ptys" >&5
12240echo $ECHO_N "checking for UNIX98 ptys... $ECHO_C" >&6
12241 cat >conftest.$ac_ext <<_ACEOF
12242/* confdefs.h. */
12243_ACEOF
12244cat confdefs.h >>conftest.$ac_ext
12245cat >>conftest.$ac_ext <<_ACEOF
12246/* end confdefs.h. */
12247#include <stdlib.h>
12248int
12249main ()
12250{
12251grantpt(0);unlockpt(0);ptsname(0);
12252 ;
12253 return 0;
12254}
12255_ACEOF
12256rm -f conftest.$ac_objext conftest$ac_exeext
12257if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12258 (eval $ac_link) 2>conftest.er1
12259 ac_status=$?
12260 grep -v '^ *+' conftest.er1 >conftest.err
12261 rm -f conftest.er1
12262 cat conftest.err >&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); } &&
12265 { ac_try='test -z "$ac_cxx_werror_flag"
12266 || test ! -s conftest.err'
12267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12268 (eval $ac_try) 2>&5
12269 ac_status=$?
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; } &&
12272 { ac_try='test -s conftest$ac_exeext'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12275 ac_status=$?
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; }; then
12278 unix98_pty=yes
12279
12280cat >>confdefs.h <<\_ACEOF
12281#define UNIX98_PTY 1
12282_ACEOF
12283
12284 echo "$as_me:$LINENO: result: yes" >&5
12285echo "${ECHO_T}yes" >&6
12286else
12287 echo "$as_me: failed program was:" >&5
12288sed 's/^/| /' conftest.$ac_ext >&5
12289
12290echo "$as_me:$LINENO: result: no" >&5
12291echo "${ECHO_T}no" >&6
12292fi
12293rm -f conftest.err conftest.$ac_objext \
12294 conftest$ac_exeext conftest.$ac_ext
12295fi
12296
12297if test -z "$unix98_pty"; then
12298
12299for ac_func in openpty
12300do
12301as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12302echo "$as_me:$LINENO: checking for $ac_func" >&5
12303echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12304if eval "test \"\${$as_ac_var+set}\" = set"; then
12305 echo $ECHO_N "(cached) $ECHO_C" >&6
12306else
12307 cat >conftest.$ac_ext <<_ACEOF
12308/* confdefs.h. */
12309_ACEOF
12310cat confdefs.h >>conftest.$ac_ext
12311cat >>conftest.$ac_ext <<_ACEOF
12312/* end confdefs.h. */
12313/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12315#define $ac_func innocuous_$ac_func
12316
12317/* System header to define __stub macros and hopefully few prototypes,
12318 which can conflict with char $ac_func (); below.
12319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12320 <limits.h> exists even on freestanding compilers. */
12321
12322#ifdef __STDC__
12323# include <limits.h>
12324#else
12325# include <assert.h>
12326#endif
12327
12328#undef $ac_func
12329
12330/* Override any gcc2 internal prototype to avoid an error. */
12331#ifdef __cplusplus
12332extern "C"
12333{
12334#endif
12335/* We use char because int might match the return type of a gcc2
12336 builtin and then its argument prototype would still apply. */
12337char $ac_func ();
12338/* The GNU C library defines this for functions which it implements
12339 to always fail with ENOSYS. Some functions are actually named
12340 something starting with __ and the normal name is an alias. */
12341#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12342choke me
12343#else
12344char (*f) () = $ac_func;
12345#endif
12346#ifdef __cplusplus
12347}
12348#endif
12349
12350int
12351main ()
12352{
12353return f != $ac_func;
12354 ;
12355 return 0;
12356}
12357_ACEOF
12358rm -f conftest.$ac_objext conftest$ac_exeext
12359if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12360 (eval $ac_link) 2>conftest.er1
12361 ac_status=$?
12362 grep -v '^ *+' conftest.er1 >conftest.err
12363 rm -f conftest.er1
12364 cat conftest.err >&5
12365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366 (exit $ac_status); } &&
12367 { ac_try='test -z "$ac_cxx_werror_flag"
12368 || test ! -s conftest.err'
12369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12370 (eval $ac_try) 2>&5
12371 ac_status=$?
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); }; } &&
12374 { ac_try='test -s conftest$ac_exeext'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12377 ac_status=$?
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; }; then
12380 eval "$as_ac_var=yes"
12381else
12382 echo "$as_me: failed program was:" >&5
12383sed 's/^/| /' conftest.$ac_ext >&5
12384
12385eval "$as_ac_var=no"
12386fi
12387rm -f conftest.err conftest.$ac_objext \
12388 conftest$ac_exeext conftest.$ac_ext
12389fi
12390echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12391echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12392if test `eval echo '${'$as_ac_var'}'` = yes; then
12393 cat >>confdefs.h <<_ACEOF
12394#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12395_ACEOF
12396
12397else
12398 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
12399echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
12400if test "${ac_cv_lib_util_openpty+set}" = set; then
12401 echo $ECHO_N "(cached) $ECHO_C" >&6
12402else
12403 ac_check_lib_save_LIBS=$LIBS
12404LIBS="-lutil $LIBS"
12405cat >conftest.$ac_ext <<_ACEOF
12406/* confdefs.h. */
12407_ACEOF
12408cat confdefs.h >>conftest.$ac_ext
12409cat >>conftest.$ac_ext <<_ACEOF
12410/* end confdefs.h. */
12411
12412/* Override any gcc2 internal prototype to avoid an error. */
12413#ifdef __cplusplus
12414extern "C"
12415#endif
12416/* We use char because int might match the return type of a gcc2
12417 builtin and then its argument prototype would still apply. */
12418char openpty ();
12419int
12420main ()
12421{
12422openpty ();
12423 ;
12424 return 0;
12425}
12426_ACEOF
12427rm -f conftest.$ac_objext conftest$ac_exeext
12428if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12429 (eval $ac_link) 2>conftest.er1
12430 ac_status=$?
12431 grep -v '^ *+' conftest.er1 >conftest.err
12432 rm -f conftest.er1
12433 cat conftest.err >&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); } &&
12436 { ac_try='test -z "$ac_cxx_werror_flag"
12437 || test ! -s conftest.err'
12438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12439 (eval $ac_try) 2>&5
12440 ac_status=$?
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); }; } &&
12443 { ac_try='test -s conftest$ac_exeext'
12444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12445 (eval $ac_try) 2>&5
12446 ac_status=$?
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); }; }; then
12449 ac_cv_lib_util_openpty=yes
12450else
12451 echo "$as_me: failed program was:" >&5
12452sed 's/^/| /' conftest.$ac_ext >&5
12453
12454ac_cv_lib_util_openpty=no
12455fi
12456rm -f conftest.err conftest.$ac_objext \
12457 conftest$ac_exeext conftest.$ac_ext
12458LIBS=$ac_check_lib_save_LIBS
12459fi
12460echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
12461echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
12462if test $ac_cv_lib_util_openpty = yes; then
12463 cat >>confdefs.h <<\_ACEOF
12464#define HAVE_OPENPTY 1
12465_ACEOF
12466 LIBS="$LIBS -lutil"
12467fi
12468
12469fi
12470done
12471
12472fi
12473
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
12545if test x$support_xft = xyes; then
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`"
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
12635
12636
12637for ac_header in X11/Xft/Xft.h
12638do
12639as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12640if eval "test \"\${$as_ac_Header+set}\" = set"; then
12641 echo "$as_me:$LINENO: checking for $ac_header" >&5
12642echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12643if eval "test \"\${$as_ac_Header+set}\" = set"; then
12644 echo $ECHO_N "(cached) $ECHO_C" >&6
12645fi
12646echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12647echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12648else
12649 # Is the header compilable?
12650echo "$as_me:$LINENO: checking $ac_header usability" >&5
12651echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12652cat >conftest.$ac_ext <<_ACEOF
12653/* confdefs.h. */
12654_ACEOF
12655cat confdefs.h >>conftest.$ac_ext
12656cat >>conftest.$ac_ext <<_ACEOF
12657/* end confdefs.h. */
12658$ac_includes_default
12659#include <$ac_header>
12660_ACEOF
12661rm -f conftest.$ac_objext
12662if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12663 (eval $ac_compile) 2>conftest.er1
12664 ac_status=$?
12665 grep -v '^ *+' conftest.er1 >conftest.err
12666 rm -f conftest.er1
12667 cat conftest.err >&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); } &&
12670 { ac_try='test -z "$ac_cxx_werror_flag"
12671 || test ! -s conftest.err'
12672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12673 (eval $ac_try) 2>&5
12674 ac_status=$?
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); }; } &&
12677 { ac_try='test -s conftest.$ac_objext'
12678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12679 (eval $ac_try) 2>&5
12680 ac_status=$?
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); }; }; then
12683 ac_header_compiler=yes
12684else
12685 echo "$as_me: failed program was:" >&5
12686sed 's/^/| /' conftest.$ac_ext >&5
12687
12688ac_header_compiler=no
12689fi
12690rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12691echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12692echo "${ECHO_T}$ac_header_compiler" >&6
12693
12694# Is the header present?
12695echo "$as_me:$LINENO: checking $ac_header presence" >&5
12696echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12697cat >conftest.$ac_ext <<_ACEOF
12698/* confdefs.h. */
12699_ACEOF
12700cat confdefs.h >>conftest.$ac_ext
12701cat >>conftest.$ac_ext <<_ACEOF
12702/* end confdefs.h. */
12703#include <$ac_header>
12704_ACEOF
12705if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12707 ac_status=$?
12708 grep -v '^ *+' conftest.er1 >conftest.err
12709 rm -f conftest.er1
12710 cat conftest.err >&5
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); } >/dev/null; then
12713 if test -s conftest.err; then
12714 ac_cpp_err=$ac_cxx_preproc_warn_flag
12715 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12716 else
12717 ac_cpp_err=
12718 fi
12719else
12720 ac_cpp_err=yes
12721fi
12722if test -z "$ac_cpp_err"; then
12723 ac_header_preproc=yes
12724else
12725 echo "$as_me: failed program was:" >&5
12726sed 's/^/| /' conftest.$ac_ext >&5
12727
12728 ac_header_preproc=no
12729fi
12730rm -f conftest.err conftest.$ac_ext
12731echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12732echo "${ECHO_T}$ac_header_preproc" >&6
12733
12734# So? What about this header?
12735case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
12736 yes:no: )
12737 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12738echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12740echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12741 ac_header_preproc=yes
12742 ;;
12743 no:yes:* )
12744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12745echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12747echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12748 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12749echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12750 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12751echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12753echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12754 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12755echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12756 (
12757 cat <<\_ASBOX
12758## ------------------------------------------ ##
12759## Report this to the AC_PACKAGE_NAME lists. ##
12760## ------------------------------------------ ##
12761_ASBOX
12762 ) |
12763 sed "s/^/$as_me: WARNING: /" >&2
12764 ;;
12765esac
12766echo "$as_me:$LINENO: checking for $ac_header" >&5
12767echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12768if eval "test \"\${$as_ac_Header+set}\" = set"; then
12769 echo $ECHO_N "(cached) $ECHO_C" >&6
12770else
12771 eval "$as_ac_Header=\$ac_header_preproc"
12772fi
12773echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12774echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12775
12776fi
12777if test `eval echo '${'$as_ac_Header'}'` = yes; then
12778 cat >>confdefs.h <<_ACEOF
12779#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12780_ACEOF
12781
12342else 12782else
12343 support_xft=no 12783 support_xft=no
12344fi 12784fi
12345 12785
12346done 12786done
12382 grep -v '^ *+' conftest.er1 >conftest.err 12822 grep -v '^ *+' conftest.er1 >conftest.err
12383 rm -f conftest.er1 12823 rm -f conftest.er1
12384 cat conftest.err >&5 12824 cat conftest.err >&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); } && 12826 (exit $ac_status); } &&
12387 { 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'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5 12830 (eval $ac_try) 2>&5
12390 ac_status=$? 12831 ac_status=$?
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; } && 12833 (exit $ac_status); }; } &&
12490cat >>confdefs.h <<\_ACEOF 12931cat >>confdefs.h <<\_ACEOF
12491#define ENABLE_FRILLS 1 12932#define ENABLE_FRILLS 1
12492_ACEOF 12933_ACEOF
12493 12934
12494fi 12935fi
12495if test x$support_24bit = xyes; then
12496
12497cat >>confdefs.h <<\_ACEOF
12498#define PREFER_24BIT 1
12499_ACEOF
12500
12501fi
12502if test x$support_mousewheel = xyes; then 12936if test x$support_mousewheel = xyes; then
12503 12937
12504cat >>confdefs.h <<\_ACEOF 12938cat >>confdefs.h <<\_ACEOF
12505#define MOUSE_WHEEL 1 12939#define MOUSE_WHEEL 1
12506_ACEOF 12940_ACEOF
12511cat >>confdefs.h <<\_ACEOF 12945cat >>confdefs.h <<\_ACEOF
12512#define MOUSE_SLIP_WHEELING 1 12946#define MOUSE_SLIP_WHEELING 1
12513_ACEOF 12947_ACEOF
12514 12948
12515fi 12949fi
12516if test x$support_utmp = xyes; then
12517
12518cat >>confdefs.h <<\_ACEOF
12519#define UTMP_SUPPORT 1
12520_ACEOF
12521
12522fi
12523if test x$support_wtmp = xyes; then
12524
12525cat >>confdefs.h <<\_ACEOF
12526#define WTMP_SUPPORT 1
12527_ACEOF
12528
12529fi
12530if test x$support_lastlog = xyes; then
12531
12532cat >>confdefs.h <<\_ACEOF
12533#define LASTLOG_SUPPORT 1
12534_ACEOF
12535
12536fi
12537if test x$support_xim = xyes -o x$multichar_set = xyes; then 12950if test x$support_xim = xyes -o x$multichar_set = xyes; then
12538 if test x$rxvt_cv_func_xlocale = xyes; then 12951 if test x$rxvt_cv_func_xlocale = xyes; then
12539 12952
12540cat >>confdefs.h <<\_ACEOF 12953cat >>confdefs.h <<\_ACEOF
12541#define USE_XIM 1 12954#define USE_XIM 1
12542_ACEOF 12955_ACEOF
12543 12956
12544 fi 12957 fi
12545fi 12958fi
12546if test x$support_xpm = xyes; then 12959if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then
12547 12960
12548cat >>confdefs.h <<\_ACEOF 12961cat >>confdefs.h <<\_ACEOF
12549#define XPM_BACKGROUND 1 12962#define XPM_BACKGROUND 1
12550_ACEOF 12963_ACEOF
12551 12964
12552fi 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
12553if test x$support_scroll_rxvt = xyes; then 12983if test x$support_scroll_rxvt = xyes; then
12554 12984
12555cat >>confdefs.h <<\_ACEOF 12985cat >>confdefs.h <<\_ACEOF
12556#define RXVT_SCROLLBAR 1 12986#define RXVT_SCROLLBAR 1
12557_ACEOF 12987_ACEOF
12770 grep -v '^ *+' conftest.er1 >conftest.err 13200 grep -v '^ *+' conftest.er1 >conftest.err
12771 rm -f conftest.er1 13201 rm -f conftest.er1
12772 cat conftest.err >&5 13202 cat conftest.err >&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); } && 13204 (exit $ac_status); } &&
12775 { 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'
12776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12777 (eval $ac_try) 2>&5 13208 (eval $ac_try) 2>&5
12778 ac_status=$? 13209 ac_status=$?
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; } && 13211 (exit $ac_status); }; } &&
12830if test x$support_perl = xyes; then 13261if test x$support_perl = xyes; then
12831 support_frills=yes 13262 support_frills=yes
12832fi 13263fi
12833 13264
12834 13265
12835CFLAGS=${CFLAGS--O}
12836LDFLAGS=${LDFLAGS--O}
12837
12838CPPFLAGS="$CPPFLAGS"
12839
12840
12841
12842 13266
12843 13267
12844 13268
12845 13269
12846if 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
12847 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
12848 LIBS=`echo $LIBS | sed "$R_TRANSLATE"` 13271 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
12849 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` 13272 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
12850 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` 13273 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
12851 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` 13274 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
12852fi 13275fi
13276
13277
12853 13278
12854 13279
12855 13280
12856 13281
12857 13282
13580s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 14005s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13581s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 14006s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13582s,@INSTALL_DATA@,$INSTALL_DATA,;t t 14007s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13583s,@EGREP@,$EGREP,;t t 14008s,@EGREP@,$EGREP,;t t
13584s,@LINKER@,$LINKER,;t t 14009s,@LINKER@,$LINKER,;t t
14010s,@CXXLIB@,$CXXLIB,;t t
13585s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 14011s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
13586s,@RXVTNAME@,$RXVTNAME,;t t 14012s,@RXVTNAME@,$RXVTNAME,;t t
13587s,@MV@,$MV,;t t
13588s,@RM@,$RM,;t t
13589s,@CP@,$CP,;t t
13590s,@LN@,$LN,;t t
13591s,@SED@,$SED,;t t
13592s,@ECHO@,$ECHO,;t t
13593s,@CMP@,$CMP,;t t
13594s,@TIC@,$TIC,;t t 14013s,@TIC@,$TIC,;t t
13595s,@CXXCPP@,$CXXCPP,;t t 14014s,@CXXCPP@,$CXXCPP,;t t
13596s,@X_CFLAGS@,$X_CFLAGS,;t t 14015s,@X_CFLAGS@,$X_CFLAGS,;t t
13597s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 14016s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
13598s,@X_LIBS@,$X_LIBS,;t t 14017s,@X_LIBS@,$X_LIBS,;t t
13599s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 14018s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
14019s,@afterimage_config@,$afterimage_config,;t t
13600s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 14020s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t
13601s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t 14021s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t
13602s,@XPM_LIBS@,$XPM_LIBS,;t t 14022s,@XPM_LIBS@,$XPM_LIBS,;t t
13603s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t 14023s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t
13604s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t 14024s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t
13605s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t 14025s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t
13606s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t 14026s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t
13607s,@rxvt_intp_define@,$rxvt_intp_define,;t t 14027s,@rxvt_intp_define@,$rxvt_intp_define,;t t
13608s,@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
13609s,@PERL@,$PERL,;t t 14031s,@PERL@,$PERL,;t t
13610s,@PERLLIB@,$PERLLIB,;t t 14032s,@PERLLIB@,$PERLLIB,;t t
13611s,@PERLFLAGS@,$PERLFLAGS,;t t 14033s,@PERLFLAGS@,$PERLFLAGS,;t t
13612s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t 14034s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t
13613s,@IF_PERL@,$IF_PERL,;t t 14035s,@IF_PERL@,$IF_PERL,;t t
13614s,@PERL_O@,$PERL_O,;t t 14036s,@PERL_O@,$PERL_O,;t t
13615s,@DEBUG@,$DEBUG,;t t 14037s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t
13616s,@DINCLUDE@,$DINCLUDE,;t t 14038s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t
13617s,@DLIB@,$DLIB,;t t
13618s,@include_stdint_h@,$include_stdint_h,;t t 14039s,@include_stdint_h@,$include_stdint_h,;t t
13619s,@include_stdarg_h@,$include_stdarg_h,;t t 14040s,@include_stdarg_h@,$include_stdarg_h,;t t
13620s,@include_stdlib_h@,$include_stdlib_h,;t t 14041s,@include_stdlib_h@,$include_stdlib_h,;t t
13621s,@include_unistd_h@,$include_unistd_h,;t t 14042s,@include_unistd_h@,$include_unistd_h,;t t
13622s,@include_string_h@,$include_string_h,;t t 14043s,@include_string_h@,$include_string_h,;t t
13794 case $INSTALL in 14215 case $INSTALL in
13795 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14216 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13796 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 14217 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13797 esac 14218 esac
13798 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
13799 # 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
13800 # use $as_me), people would be surprised to read: 14226 # use $as_me), people would be surprised to read:
13801 # /* config.h. Generated by config.status. */ 14227 # /* config.h. Generated by config.status. */
13802 if test x"$ac_file" = x-; then 14228 if test x"$ac_file" = x-; then
13803 configure_input= 14229 configure_input=
13832echo "$as_me: error: cannot find input file: $f" >&2;} 14258echo "$as_me: error: cannot find input file: $f" >&2;}
13833 { (exit 1); exit 1; }; } 14259 { (exit 1); exit 1; }; }
13834 fi;; 14260 fi;;
13835 esac 14261 esac
13836 done` || { (exit 1); exit 1; } 14262 done` || { (exit 1); exit 1; }
13837
13838 if test x"$ac_file" != x-; then
13839 { echo "$as_me:$LINENO: creating $ac_file" >&5
13840echo "$as_me: creating $ac_file" >&6;}
13841 rm -f "$ac_file"
13842 fi
13843_ACEOF 14263_ACEOF
13844cat >>$CONFIG_STATUS <<_ACEOF 14264cat >>$CONFIG_STATUS <<_ACEOF
13845 sed "$ac_vpsub 14265 sed "$ac_vpsub
13846$extrasub 14266$extrasub
13847_ACEOF 14267_ACEOF
14127 14547
14128 Rxvt version: $VERSION : $DATE 14548 Rxvt version: $VERSION : $DATE
14129 Source code location: $srcdir 14549 Source code location: $srcdir
14130 Install path: ${prefix}/bin 14550 Install path: ${prefix}/bin
14131 Compiler: $CXX 14551 Compiler: $CXX
14132 Compiler flags: $CFLAGS 14552 Compiler flags: $CXXFLAGS
14133 Linker: $LINKER" 14553 Linker: $LINKER"
14134
14135if test "$MALLOC_TYPE" = S; then
14136 echo " malloc support: system default"
14137fi
14138if test "$MALLOC_TYPE" = G; then
14139 echo " malloc support: Gray Watson's dmalloc"
14140fi
14141if test "$MALLOC_TYPE" = D; then
14142 echo " malloc support: Doug Lea's malloc"
14143fi
14144 14554
14145if test x$support_xpm = xyes; then 14555if test x$support_xpm = xyes; then
14146 echo " Xpm library: $XPM_LIBS" 14556 echo " Xpm library: $XPM_LIBS"
14147fi 14557fi
14148 14558
14149echo " 14559if test x$support_afterimage = xyes; then
14150The following are set in config.h 14560 echo " AfterImage support: yes"
14151" 14561fi
14152echo " pty/tty type: "$rxvt_cv_ptys 14562
14153if test x$support_utmp != xyes; then 14563if test x$support_afterstep = xyes; then
14154 echo " utmp support: disabled" 14564 echo " AfterStep integration: yes"
14155 echo
14156else
14157 echo " utmp support: enabled
14158 utmp file: $rxvt_cv_path_utmp
14159 utmpx file: $rxvt_cv_path_utmpx
14160 wtmp file: $rxvt_cv_path_wtmp
14161 wtmpx file: $rxvt_cv_path_wtmpx
14162 lastlog file: $rxvt_cv_path_lastlog
14163 ttys/ttytab file: $rxvt_cv_path_ttytab
14164 embedded perl: $support_perl"
14165 echo
14166fi 14565fi
14566
14167if test x$term != x; then 14567if test x$term != x; then
14168 echo " set TERM to: $term" 14568 echo " set TERM to: $term"
14169fi 14569fi
14170if test x$terminfo != x; then 14570if test x$terminfo != x; then
14171 echo " set TERMINFO to: $terminfo" 14571 echo " set TERMINFO to: $terminfo"
14174echo " resource class: $RESCLASS" 14574echo " resource class: $RESCLASS"
14175if test x$RESFALLBACK != x; then 14575if test x$RESFALLBACK != x; then
14176 echo " resource class fallback: $RESFALLBACK" 14576 echo " resource class fallback: $RESFALLBACK"
14177fi 14577fi
14178echo 14578echo
14179if test x$rxvt_cv_ptys = xUNKNOWN; then 14579echo " embedded perl: $support_perl"
14180 echo ".----------------------------------------------------------------." 14580echo
14181 echo ". WARNING: could not determine pty/tty type. Do not build until ."
14182 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
14183 echo ".----------------------------------------------------------------."
14184fi
14185if test x$support_xpm = xneedsmanualspecification; then 14581if test x$support_xpm = xneedsmanualspecification; then
14186 echo ".----------------------------------------------------------------." 14582 echo ".----------------------------------------------------------------."
14187 echo ". WARNING: --enable-xpm-background was specified however the ." 14583 echo ". WARNING: --enable-xpm-background was specified however the ."
14188 echo ". XPM includes files and libraries could not be found. ." 14584 echo ". XPM includes files and libraries could not be found. ."
14189 echo ". XPM backgrounds are now being DISABLED! If you want ." 14585 echo ". XPM backgrounds are now being DISABLED! If you want ."
14198 echo ". functions could not be found. ." 14594 echo ". functions could not be found. ."
14199 echo ". XIM is now being DISABLED! ." 14595 echo ". XIM is now being DISABLED! ."
14200 echo ".----------------------------------------------------------------." 14596 echo ".----------------------------------------------------------------."
14201fi 14597fi
14202 14598
14203echo " *** Optionally check src/feature.h for further options ***" 14599echo "*** Optionally check src/feature.h for further, rarely used options ***"
14204echo 14600echo
14205 14601
14206echo ".----------------------------------------------------------------."
14207echo ". NOTE: some features are disabled by default, try ."
14208echo ". configure --help to get an idea of the optional features, ."
14209echo ". or read ./README.configure ."
14210echo ". ."
14211echo ". The script ./reconf gives a reasonable baseline, try it if ."
14212echo ". you do not want to read documentation and still want some ."
14213echo ". useful features. ."
14214echo ".----------------------------------------------------------------."
14215echo
14216

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines