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

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

307#endif 307#endif
308#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS afterimage_config XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PKG_CONFIG XFT_CONFIG PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O LIBAFTERIMAGE_CFLAGS AFTERIMAGE_LIBS include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS'
313ac_subst_files='' 313ac_subst_files=''
314 314
315# Initialize some variables set by options. 315# Initialize some variables set by options.
316ac_init_help= 316ac_init_help=
317ac_init_version=false 317ac_init_version=false
870 NOTE: automatically enabled with --enable-shared 870 NOTE: automatically enabled with --enable-shared
871 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 871 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
872 --enable-combining enable composition of base and combining characters 872 --enable-combining enable composition of base and combining characters
873 --enable-xft enable xft support on systems that have it 873 --enable-xft enable xft support on systems that have it
874 --enable-font-styles enable bold and italic support 874 --enable-font-styles enable bold and italic support
875 --enable-utmp enable utmp (utmpx) support
876 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
877 --enable-lastlog enable lastlog support (requires --enable-utmp)
878 --enable-xpm-background enable XPM background pixmaps 875 --enable-xpm-background enable background pixmaps
876 --enable-afterimage enable integration with libAfterImage for background images
877 --enable-afterstep enable integration with AfterStep window manager
879 --enable-transparency enable transparent backgrounds 878 --enable-transparency enable transparent backgrounds
880 --enable-tinting enable tinting of transparent bg 879 --enable-tinting enable tinting of transparent bg
881 --enable-fading enable colors fading when off focus 880 --enable-fading enable colors fading when off focus
882 --enable-rxvt-scroll enable rxvt style scrollbar 881 --enable-rxvt-scroll enable rxvt style scrollbar
883 --enable-next-scroll enable NeXT style scrollbar 882 --enable-next-scroll enable NeXT style scrollbar
884 --enable-xterm-scroll enable Xterm style scrollbar 883 --enable-xterm-scroll enable Xterm style scrollbar
885 --enable-perl enable embedded perl interpreter 884 --enable-perl enable embedded perl interpreter
886 --enable-plain-scroll enable plain style scrollbar 885 --enable-plain-scroll enable plain style scrollbar
887 --enable-xim XIM (X Input Method) protocol support 886 --enable-xim XIM (X Input Method) protocol support
888 --enable-ttygid enable tty setting to group named "tty"
889 --disable-backspace-key disable handling of the backspace key 887 --disable-backspace-key disable handling of the backspace key
890 --disable-delete-key disable handling of the delete key 888 --disable-delete-key disable handling of the delete key
891 --disable-resources disable all resource checking 889 --disable-resources disable all resource checking
892 --enable-8bitctrls enable 8 bit control sequences (not recommended) 890 --enable-8bitctrls enable 8 bit control sequences (not recommended)
893 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 891 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
894 --disable-swapscreen disable swap screen support 892 --disable-swapscreen disable swap screen support
895 --enable-iso14755 enable support for extended ISO 14755 modes 893 --enable-iso14755 enable support for extended ISO 14755 modes
896 --enable-frills enable support for rarely used features 894 --enable-frills enable support for rarely used features
897 --enable-24bit enable support for using 24bit visuals if available
898 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 895 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
899 --enable-selectionscrolling enable scrolling during selections 896 --enable-selectionscrolling enable scrolling during selections
900 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 897 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
901 --enable-slipwheeling enable slip wheel scrolling (requires previous) 898 --enable-slipwheeling enable slip wheel scrolling (requires previous)
902 --enable-dmalloc enable Gray Watson's malloc - for debugging use
903 --enable-dlmalloc enable Doug Lea's malloc - for production use
904 NOTE: enable only one malloc package
905 --enable-smart-resize enable smart growth/shrink behaviour 899 --enable-smart-resize enable smart growth/shrink behaviour
906 --enable-text-blink enable blinking text 900 --enable-text-blink enable blinking text
907 --enable-pointer-blank enable pointer blank when typing or inactive pointer 901 --enable-pointer-blank enable pointer blank when typing or inactive pointer
902 --enable-utmp enable utmp (utmpx) support
903 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
904 --enable-lastlog enable lastlog support (requires --enable-utmp)
908 905
909Optional Packages: 906Optional Packages:
910 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 907 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
911 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 908 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
909 --with-afterimage-config=DIR use libAfterImage config script in DIR
912 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) 910 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)
913 --with-res-name=NAME use this as default resource name (default: urxvt) 911 --with-res-name=NAME use this as default resource name (default: urxvt)
914 --with-res-class=CLASS use this as the resource class (default: URxvt) 912 --with-res-class=CLASS use this as the resource class (default: URxvt)
915 --with-name=NAME set the basename for the installed binaries (default: urxvt) 913 --with-name=NAME set the basename for the installed binaries (default: urxvt)
916 --with-term=NAME set the terminal to NAME (default: rxvt) 914 --with-term=NAME set the terminal to NAME (default: rxvt)
1021 echo 1019 echo
1022 $ac_configure --help 1020 $ac_configure --help
1023 else 1021 else
1024 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1022 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1025 fi 1023 fi
1026 cd "$ac_popdir" 1024 cd $ac_popdir
1027 done 1025 done
1028fi 1026fi
1029 1027
1030test -n "$ac_init_help" && exit 0 1028test -n "$ac_init_help" && exit 0
1031if $ac_init_version; then 1029if $ac_init_version; then
2030 grep -v '^ *+' conftest.er1 >conftest.err 2028 grep -v '^ *+' conftest.er1 >conftest.err
2031 rm -f conftest.er1 2029 rm -f conftest.er1
2032 cat conftest.err >&5 2030 cat conftest.err >&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); } && 2032 (exit $ac_status); } &&
2035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2033 { ac_try='test -z "$ac_c_werror_flag"
2034 || test ! -s conftest.err'
2036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2037 (eval $ac_try) 2>&5 2036 (eval $ac_try) 2>&5
2038 ac_status=$? 2037 ac_status=$?
2039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040 (exit $ac_status); }; } && 2039 (exit $ac_status); }; } &&
2088 grep -v '^ *+' conftest.er1 >conftest.err 2087 grep -v '^ *+' conftest.er1 >conftest.err
2089 rm -f conftest.er1 2088 rm -f conftest.er1
2090 cat conftest.err >&5 2089 cat conftest.err >&5
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092 (exit $ac_status); } && 2091 (exit $ac_status); } &&
2093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2092 { ac_try='test -z "$ac_c_werror_flag"
2093 || test ! -s conftest.err'
2094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 (eval $ac_try) 2>&5 2095 (eval $ac_try) 2>&5
2096 ac_status=$? 2096 ac_status=$?
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); }; } && 2098 (exit $ac_status); }; } &&
2204 grep -v '^ *+' conftest.er1 >conftest.err 2204 grep -v '^ *+' conftest.er1 >conftest.err
2205 rm -f conftest.er1 2205 rm -f conftest.er1
2206 cat conftest.err >&5 2206 cat conftest.err >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); } && 2208 (exit $ac_status); } &&
2209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2209 { ac_try='test -z "$ac_c_werror_flag"
2210 || test ! -s conftest.err'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 (eval $ac_try) 2>&5 2212 (eval $ac_try) 2>&5
2212 ac_status=$? 2213 ac_status=$?
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; } && 2215 (exit $ac_status); }; } &&
2258 grep -v '^ *+' conftest.er1 >conftest.err 2259 grep -v '^ *+' conftest.er1 >conftest.err
2259 rm -f conftest.er1 2260 rm -f conftest.er1
2260 cat conftest.err >&5 2261 cat conftest.err >&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); } && 2263 (exit $ac_status); } &&
2263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2264 { ac_try='test -z "$ac_c_werror_flag"
2265 || test ! -s conftest.err'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265 (eval $ac_try) 2>&5 2267 (eval $ac_try) 2>&5
2266 ac_status=$? 2268 ac_status=$?
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; } && 2270 (exit $ac_status); }; } &&
2303 grep -v '^ *+' conftest.er1 >conftest.err 2305 grep -v '^ *+' conftest.er1 >conftest.err
2304 rm -f conftest.er1 2306 rm -f conftest.er1
2305 cat conftest.err >&5 2307 cat conftest.err >&5
2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307 (exit $ac_status); } && 2309 (exit $ac_status); } &&
2308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2310 { ac_try='test -z "$ac_c_werror_flag"
2311 || test ! -s conftest.err'
2309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 (eval $ac_try) 2>&5 2313 (eval $ac_try) 2>&5
2311 ac_status=$? 2314 ac_status=$?
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }; } && 2316 (exit $ac_status); }; } &&
2347 grep -v '^ *+' conftest.er1 >conftest.err 2350 grep -v '^ *+' conftest.er1 >conftest.err
2348 rm -f conftest.er1 2351 rm -f conftest.er1
2349 cat conftest.err >&5 2352 cat conftest.err >&5
2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 (exit $ac_status); } && 2354 (exit $ac_status); } &&
2352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2355 { ac_try='test -z "$ac_c_werror_flag"
2356 || test ! -s conftest.err'
2353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354 (eval $ac_try) 2>&5 2358 (eval $ac_try) 2>&5
2355 ac_status=$? 2359 ac_status=$?
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; } && 2361 (exit $ac_status); }; } &&
2531 grep -v '^ *+' conftest.er1 >conftest.err 2535 grep -v '^ *+' conftest.er1 >conftest.err
2532 rm -f conftest.er1 2536 rm -f conftest.er1
2533 cat conftest.err >&5 2537 cat conftest.err >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); } && 2539 (exit $ac_status); } &&
2536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 2540 { ac_try='test -z "$ac_cxx_werror_flag"
2541 || test ! -s conftest.err'
2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538 (eval $ac_try) 2>&5 2543 (eval $ac_try) 2>&5
2539 ac_status=$? 2544 ac_status=$?
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; } && 2546 (exit $ac_status); }; } &&
2589 grep -v '^ *+' conftest.er1 >conftest.err 2594 grep -v '^ *+' conftest.er1 >conftest.err
2590 rm -f conftest.er1 2595 rm -f conftest.er1
2591 cat conftest.err >&5 2596 cat conftest.err >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); } && 2598 (exit $ac_status); } &&
2594 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 2599 { ac_try='test -z "$ac_cxx_werror_flag"
2600 || test ! -s conftest.err'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 (eval $ac_try) 2>&5 2602 (eval $ac_try) 2>&5
2597 ac_status=$? 2603 ac_status=$?
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; } && 2605 (exit $ac_status); }; } &&
2660 grep -v '^ *+' conftest.er1 >conftest.err 2666 grep -v '^ *+' conftest.er1 >conftest.err
2661 rm -f conftest.er1 2667 rm -f conftest.er1
2662 cat conftest.err >&5 2668 cat conftest.err >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } && 2670 (exit $ac_status); } &&
2665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 2671 { ac_try='test -z "$ac_cxx_werror_flag"
2672 || test ! -s conftest.err'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667 (eval $ac_try) 2>&5 2674 (eval $ac_try) 2>&5
2668 ac_status=$? 2675 ac_status=$?
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; } && 2677 (exit $ac_status); }; } &&
2704 grep -v '^ *+' conftest.er1 >conftest.err 2711 grep -v '^ *+' conftest.er1 >conftest.err
2705 rm -f conftest.er1 2712 rm -f conftest.er1
2706 cat conftest.err >&5 2713 cat conftest.err >&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); } && 2715 (exit $ac_status); } &&
2709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 2716 { ac_try='test -z "$ac_cxx_werror_flag"
2717 || test ! -s conftest.err'
2710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711 (eval $ac_try) 2>&5 2719 (eval $ac_try) 2>&5
2712 ac_status=$? 2720 ac_status=$?
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }; } && 2722 (exit $ac_status); }; } &&
3135 grep -v '^ *+' conftest.er1 >conftest.err 3143 grep -v '^ *+' conftest.er1 >conftest.err
3136 rm -f conftest.er1 3144 rm -f conftest.er1
3137 cat conftest.err >&5 3145 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } && 3147 (exit $ac_status); } &&
3140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3148 { ac_try='test -z "$ac_c_werror_flag"
3149 || test ! -s conftest.err'
3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142 (eval $ac_try) 2>&5 3151 (eval $ac_try) 2>&5
3143 ac_status=$? 3152 ac_status=$?
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }; } && 3154 (exit $ac_status); }; } &&
3189 grep -v '^ *+' conftest.er1 >conftest.err 3198 grep -v '^ *+' conftest.er1 >conftest.err
3190 rm -f conftest.er1 3199 rm -f conftest.er1
3191 cat conftest.err >&5 3200 cat conftest.err >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); } && 3202 (exit $ac_status); } &&
3194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3203 { ac_try='test -z "$ac_c_werror_flag"
3204 || test ! -s conftest.err'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 (eval $ac_try) 2>&5 3206 (eval $ac_try) 2>&5
3197 ac_status=$? 3207 ac_status=$?
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; } && 3209 (exit $ac_status); }; } &&
3220echo "${ECHO_T}$ac_cv_search_strerror" >&6 3230echo "${ECHO_T}$ac_cv_search_strerror" >&6
3221if test "$ac_cv_search_strerror" != no; then 3231if test "$ac_cv_search_strerror" != no; then
3222 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3232 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3223 3233
3224fi 3234fi
3225
3226
3227ac_ext=c
3228ac_cpp='$CPP $CPPFLAGS'
3229ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3230ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3231ac_compiler_gnu=$ac_cv_c_compiler_gnu
3232
3233
3234LINKER="$CXX"
3235if test x$GCC = xyes && test x$GXX = xyes; then
3236 echo "$as_me:$LINENO: checking for main in -lsupc++" >&5
3237echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6
3238if test "${ac_cv_lib_supcpp_main+set}" = set; then
3239 echo $ECHO_N "(cached) $ECHO_C" >&6
3240else
3241 ac_check_lib_save_LIBS=$LIBS
3242LIBS="-lsupc++ $LIBS"
3243cat >conftest.$ac_ext <<_ACEOF
3244/* confdefs.h. */
3245_ACEOF
3246cat confdefs.h >>conftest.$ac_ext
3247cat >>conftest.$ac_ext <<_ACEOF
3248/* end confdefs.h. */
3249
3250
3251int
3252main ()
3253{
3254main ();
3255 ;
3256 return 0;
3257}
3258_ACEOF
3259rm -f conftest.$ac_objext conftest$ac_exeext
3260if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3261 (eval $ac_link) 2>conftest.er1
3262 ac_status=$?
3263 grep -v '^ *+' conftest.er1 >conftest.err
3264 rm -f conftest.er1
3265 cat conftest.err >&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); } &&
3268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3270 (eval $ac_try) 2>&5
3271 ac_status=$?
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; } &&
3274 { ac_try='test -s conftest$ac_exeext'
3275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3276 (eval $ac_try) 2>&5
3277 ac_status=$?
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); }; }; then
3280 ac_cv_lib_supcpp_main=yes
3281else
3282 echo "$as_me: failed program was:" >&5
3283sed 's/^/| /' conftest.$ac_ext >&5
3284
3285ac_cv_lib_supcpp_main=no
3286fi
3287rm -f conftest.err conftest.$ac_objext \
3288 conftest$ac_exeext conftest.$ac_ext
3289LIBS=$ac_check_lib_save_LIBS
3290fi
3291echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5
3292echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6
3293if test $ac_cv_lib_supcpp_main = yes; then
3294
3295 LINKER="$CC"
3296 LIBS="$LIBS -lsupc++"
3297
3298fi
3299
3300fi
3301LINKER=$LINKER
3302
3303 3235
3304ac_ext=cc 3236ac_ext=cc
3305ac_cpp='$CXXCPP $CPPFLAGS' 3237ac_cpp='$CXXCPP $CPPFLAGS'
3306ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3238ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3307ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3239ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3308ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3240ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3309 3241
3310if test -z "$orig_CXXFLAGS"; then 3242
3311 if test x$GCC = xyes && test "x$GXX" = xyes; then 3243if test x$GCC = xyes && test x$GXX = xyes; then
3312 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3244 echo "$as_me:$LINENO: checking for working libsupc++" >&5
3245echo $ECHO_N "checking for working libsupc++... $ECHO_C" >&6
3246 save_CXX="$CXX"
3247 save_LIBS="$LIBS"
3248 CXX="$CC"
3249 LIBS="$LIBS -lsupc++"
3250 LINKER="$CC"
3313 3251
3314cat >conftest.$ac_ext <<_ACEOF 3252cat >conftest.$ac_ext <<_ACEOF
3315/* confdefs.h. */ 3253/* confdefs.h. */
3316_ACEOF 3254_ACEOF
3317cat confdefs.h >>conftest.$ac_ext 3255cat confdefs.h >>conftest.$ac_ext
3318cat >>conftest.$ac_ext <<_ACEOF 3256cat >>conftest.$ac_ext <<_ACEOF
3319/* end confdefs.h. */ 3257/* end confdefs.h. */
3320 3258struct test { }; void f() try { throw new test; } catch (...) { throw; }
3321int 3259int
3322main () 3260main ()
3323{ 3261{
3324 3262
3325 ; 3263 ;
3326 return 0; 3264 return 0;
3327} 3265}
3328_ACEOF 3266_ACEOF
3267rm -f conftest.$ac_objext conftest$ac_exeext
3268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3269 (eval $ac_link) 2>conftest.er1
3270 ac_status=$?
3271 grep -v '^ *+' conftest.er1 >conftest.err
3272 rm -f conftest.er1
3273 cat conftest.err >&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); } &&
3276 { ac_try='test -z "$ac_cxx_werror_flag"
3277 || test ! -s conftest.err'
3278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279 (eval $ac_try) 2>&5
3280 ac_status=$?
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }; } &&
3283 { ac_try='test -s conftest$ac_exeext'
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285 (eval $ac_try) 2>&5
3286 ac_status=$?
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; }; then
3289 echo "$as_me:$LINENO: result: ok" >&5
3290echo "${ECHO_T}ok" >&6
3291else
3292 echo "$as_me: failed program was:" >&5
3293sed 's/^/| /' conftest.$ac_ext >&5
3294
3295
3296 echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5
3297echo "${ECHO_T}no, making everything bigger and slower" >&6
3298 LIBS="$save_LIBS"
3299 LINKER="$save_CXX"
3300
3301
3302fi
3303rm -f conftest.err conftest.$ac_objext \
3304 conftest$ac_exeext conftest.$ac_ext
3305 CXX="$save_CXX"
3306fi
3307LINKER=$LINKER
3308
3309
3310if test -z "$orig_CXXFLAGS"; then
3311 if test x$GCC = xyes && test "x$GXX" = xyes; then
3312 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3313 cat >conftest.$ac_ext <<_ACEOF
3314/* confdefs.h. */
3315_ACEOF
3316cat confdefs.h >>conftest.$ac_ext
3317cat >>conftest.$ac_ext <<_ACEOF
3318/* end confdefs.h. */
3319
3320int
3321main ()
3322{
3323
3324 ;
3325 return 0;
3326}
3327_ACEOF
3329rm -f conftest.$ac_objext 3328rm -f conftest.$ac_objext
3330if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3329if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3331 (eval $ac_compile) 2>conftest.er1 3330 (eval $ac_compile) 2>conftest.er1
3332 ac_status=$? 3331 ac_status=$?
3333 grep -v '^ *+' conftest.er1 >conftest.err 3332 grep -v '^ *+' conftest.er1 >conftest.err
3334 rm -f conftest.er1 3333 rm -f conftest.er1
3335 cat conftest.err >&5 3334 cat conftest.err >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } && 3336 (exit $ac_status); } &&
3338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3337 { ac_try='test -z "$ac_cxx_werror_flag"
3338 || test ! -s conftest.err'
3339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3340 (eval $ac_try) 2>&5 3340 (eval $ac_try) 2>&5
3341 ac_status=$? 3341 ac_status=$?
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }; } && 3343 (exit $ac_status); }; } &&
3369 3369
3370case $host in 3370case $host in
3371 *-*-solaris* ) 3371 *-*-solaris* )
3372 3372
3373cat >>confdefs.h <<\_ACEOF 3373cat >>confdefs.h <<\_ACEOF
3374#define _XOPEN_SOURCE_EXTENDED 1
3375_ACEOF
3376
3377
3378cat >>confdefs.h <<\_ACEOF
3379#define _XOPEN_SOURCE 2 3374#define _XOPEN_SOURCE 500
3380_ACEOF
3381
3382
3383cat >>confdefs.h <<\_ACEOF
3384#define __EXTENSIONS__ 1
3385_ACEOF 3375_ACEOF
3386 3376
3387 ;; 3377 ;;
3388esac 3378esac
3389 3379
3451 grep -v '^ *+' conftest.er1 >conftest.err 3441 grep -v '^ *+' conftest.er1 >conftest.err
3452 rm -f conftest.er1 3442 rm -f conftest.er1
3453 cat conftest.err >&5 3443 cat conftest.err >&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); } && 3445 (exit $ac_status); } &&
3456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3446 { ac_try='test -z "$ac_cxx_werror_flag"
3447 || test ! -s conftest.err'
3457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3458 (eval $ac_try) 2>&5 3449 (eval $ac_try) 2>&5
3459 ac_status=$? 3450 ac_status=$?
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); }; } && 3452 (exit $ac_status); }; } &&
3516 grep -v '^ *+' conftest.er1 >conftest.err 3507 grep -v '^ *+' conftest.er1 >conftest.err
3517 rm -f conftest.er1 3508 rm -f conftest.er1
3518 cat conftest.err >&5 3509 cat conftest.err >&5
3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } && 3511 (exit $ac_status); } &&
3521 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3512 { ac_try='test -z "$ac_cxx_werror_flag"
3513 || test ! -s conftest.err'
3522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 (eval $ac_try) 2>&5 3515 (eval $ac_try) 2>&5
3524 ac_status=$? 3516 ac_status=$?
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }; } && 3518 (exit $ac_status); }; } &&
3613 grep -v '^ *+' conftest.er1 >conftest.err 3605 grep -v '^ *+' conftest.er1 >conftest.err
3614 rm -f conftest.er1 3606 rm -f conftest.er1
3615 cat conftest.err >&5 3607 cat conftest.err >&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); } && 3609 (exit $ac_status); } &&
3618 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3610 { ac_try='test -z "$ac_cxx_werror_flag"
3611 || test ! -s conftest.err'
3619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3620 (eval $ac_try) 2>&5 3613 (eval $ac_try) 2>&5
3621 ac_status=$? 3614 ac_status=$?
3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); }; } && 3616 (exit $ac_status); }; } &&
3678 grep -v '^ *+' conftest.er1 >conftest.err 3671 grep -v '^ *+' conftest.er1 >conftest.err
3679 rm -f conftest.er1 3672 rm -f conftest.er1
3680 cat conftest.err >&5 3673 cat conftest.err >&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); } && 3675 (exit $ac_status); } &&
3683 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3676 { ac_try='test -z "$ac_cxx_werror_flag"
3677 || test ! -s conftest.err'
3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3685 (eval $ac_try) 2>&5 3679 (eval $ac_try) 2>&5
3686 ac_status=$? 3680 ac_status=$?
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; } && 3682 (exit $ac_status); }; } &&
3774 grep -v '^ *+' conftest.er1 >conftest.err 3768 grep -v '^ *+' conftest.er1 >conftest.err
3775 rm -f conftest.er1 3769 rm -f conftest.er1
3776 cat conftest.err >&5 3770 cat conftest.err >&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); } && 3772 (exit $ac_status); } &&
3779 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3773 { ac_try='test -z "$ac_cxx_werror_flag"
3774 || test ! -s conftest.err'
3780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781 (eval $ac_try) 2>&5 3776 (eval $ac_try) 2>&5
3782 ac_status=$? 3777 ac_status=$?
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); }; } && 3779 (exit $ac_status); }; } &&
3839 grep -v '^ *+' conftest.er1 >conftest.err 3834 grep -v '^ *+' conftest.er1 >conftest.err
3840 rm -f conftest.er1 3835 rm -f conftest.er1
3841 cat conftest.err >&5 3836 cat conftest.err >&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); } && 3838 (exit $ac_status); } &&
3844 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 3839 { ac_try='test -z "$ac_cxx_werror_flag"
3840 || test ! -s conftest.err'
3845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3846 (eval $ac_try) 2>&5 3842 (eval $ac_try) 2>&5
3847 ac_status=$? 3843 ac_status=$?
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); }; } && 3845 (exit $ac_status); }; } &&
3871fi 3867fi
3872 3868
3873fi 3869fi
3874 3870
3875 3871
3876echo "$as_me:$LINENO: checking for sched_yield" >&5
3877echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
3878if test "${ac_cv_func_sched_yield+set}" = set; then
3879 echo $ECHO_N "(cached) $ECHO_C" >&6
3880else
3881 cat >conftest.$ac_ext <<_ACEOF
3882/* confdefs.h. */
3883_ACEOF
3884cat confdefs.h >>conftest.$ac_ext
3885cat >>conftest.$ac_ext <<_ACEOF
3886/* end confdefs.h. */
3887/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
3888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3889#define sched_yield innocuous_sched_yield
3890
3891/* System header to define __stub macros and hopefully few prototypes,
3892 which can conflict with char sched_yield (); below.
3893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3894 <limits.h> exists even on freestanding compilers. */
3895
3896#ifdef __STDC__
3897# include <limits.h>
3898#else
3899# include <assert.h>
3900#endif
3901
3902#undef sched_yield
3903
3904/* Override any gcc2 internal prototype to avoid an error. */
3905#ifdef __cplusplus
3906extern "C"
3907{
3908#endif
3909/* We use char because int might match the return type of a gcc2
3910 builtin and then its argument prototype would still apply. */
3911char sched_yield ();
3912/* The GNU C library defines this for functions which it implements
3913 to always fail with ENOSYS. Some functions are actually named
3914 something starting with __ and the normal name is an alias. */
3915#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
3916choke me
3917#else
3918char (*f) () = sched_yield;
3919#endif
3920#ifdef __cplusplus
3921}
3922#endif
3923
3924int
3925main ()
3926{
3927return f != sched_yield;
3928 ;
3929 return 0;
3930}
3931_ACEOF
3932rm -f conftest.$ac_objext conftest$ac_exeext
3933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3934 (eval $ac_link) 2>conftest.er1
3935 ac_status=$?
3936 grep -v '^ *+' conftest.er1 >conftest.err
3937 rm -f conftest.er1
3938 cat conftest.err >&5
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); } &&
3941 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943 (eval $ac_try) 2>&5
3944 ac_status=$?
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); }; } &&
3947 { ac_try='test -s conftest$ac_exeext'
3948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3949 (eval $ac_try) 2>&5
3950 ac_status=$?
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); }; }; then
3953 ac_cv_func_sched_yield=yes
3954else
3955 echo "$as_me: failed program was:" >&5
3956sed 's/^/| /' conftest.$ac_ext >&5
3957
3958ac_cv_func_sched_yield=no
3959fi
3960rm -f conftest.err conftest.$ac_objext \
3961 conftest$ac_exeext conftest.$ac_ext
3962fi
3963echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
3964echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
3965if test $ac_cv_func_sched_yield = yes; then
3966 :
3967else
3968 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
3969echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
3970if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
3971 echo $ECHO_N "(cached) $ECHO_C" >&6
3972else
3973 ac_check_lib_save_LIBS=$LIBS
3974LIBS="-lrt $LIBS"
3975cat >conftest.$ac_ext <<_ACEOF
3976/* confdefs.h. */
3977_ACEOF
3978cat confdefs.h >>conftest.$ac_ext
3979cat >>conftest.$ac_ext <<_ACEOF
3980/* end confdefs.h. */
3981
3982/* Override any gcc2 internal prototype to avoid an error. */
3983#ifdef __cplusplus
3984extern "C"
3985#endif
3986/* We use char because int might match the return type of a gcc2
3987 builtin and then its argument prototype would still apply. */
3988char sched_yield ();
3989int
3990main ()
3991{
3992sched_yield ();
3993 ;
3994 return 0;
3995}
3996_ACEOF
3997rm -f conftest.$ac_objext conftest$ac_exeext
3998if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3999 (eval $ac_link) 2>conftest.er1
4000 ac_status=$?
4001 grep -v '^ *+' conftest.er1 >conftest.err
4002 rm -f conftest.er1
4003 cat conftest.err >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); } &&
4006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4008 (eval $ac_try) 2>&5
4009 ac_status=$?
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); }; } &&
4012 { ac_try='test -s conftest$ac_exeext'
4013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4014 (eval $ac_try) 2>&5
4015 ac_status=$?
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); }; }; then
4018 ac_cv_lib_rt_sched_yield=yes
4019else
4020 echo "$as_me: failed program was:" >&5
4021sed 's/^/| /' conftest.$ac_ext >&5
4022
4023ac_cv_lib_rt_sched_yield=no
4024fi
4025rm -f conftest.err conftest.$ac_objext \
4026 conftest$ac_exeext conftest.$ac_ext
4027LIBS=$ac_check_lib_save_LIBS
4028fi
4029echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
4030echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
4031if test $ac_cv_lib_rt_sched_yield = yes; then
4032 LIBS="$LIBS -lrt"
4033fi
4034
4035fi
4036
4037
4038echo "$as_me:$LINENO: checking for sched_yield support" >&5
4039echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6
4040cat >conftest.$ac_ext <<_ACEOF
4041/* confdefs.h. */
4042_ACEOF
4043cat confdefs.h >>conftest.$ac_ext
4044cat >>conftest.$ac_ext <<_ACEOF
4045/* end confdefs.h. */
4046#include <sched.h>
4047int
4048main ()
4049{
4050sched_yield ()
4051 ;
4052 return 0;
4053}
4054_ACEOF
4055rm -f conftest.$ac_objext conftest$ac_exeext
4056if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4057 (eval $ac_link) 2>conftest.er1
4058 ac_status=$?
4059 grep -v '^ *+' conftest.er1 >conftest.err
4060 rm -f conftest.er1
4061 cat conftest.err >&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); } &&
4064 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4066 (eval $ac_try) 2>&5
4067 ac_status=$?
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); }; } &&
4070 { ac_try='test -s conftest$ac_exeext'
4071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4072 (eval $ac_try) 2>&5
4073 ac_status=$?
4074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4075 (exit $ac_status); }; }; then
4076 echo "$as_me:$LINENO: result: yes" >&5
4077echo "${ECHO_T}yes" >&6
4078
4079cat >>confdefs.h <<\_ACEOF
4080#define HAVE_SCHED_YIELD 1
4081_ACEOF
4082
4083else
4084 echo "$as_me: failed program was:" >&5
4085sed 's/^/| /' conftest.$ac_ext >&5
4086
4087echo "$as_me:$LINENO: result: no" >&5
4088echo "${ECHO_T}no" >&6
4089fi
4090rm -f conftest.err conftest.$ac_objext \
4091 conftest$ac_exeext conftest.$ac_ext
4092
4093
4094MALLOC_TYPE=S
4095 3872
4096support_frills=yes 3873support_frills=yes
4097support_inheritpixmap=yes 3874support_inheritpixmap=yes
4098support_tinting=yes 3875support_tinting=yes
4099support_fading=yes 3876support_fading=yes
4100support_keepscrolling=yes 3877support_keepscrolling=yes
4101support_selectionscrolling=yes 3878support_selectionscrolling=yes
4102support_mousewheel=yes 3879support_mousewheel=yes
4103support_mouseslipwheel=yes 3880support_mouseslipwheel=yes
4104support_utmp=yes
4105support_wtmp=yes
4106support_lastlog=yes
4107support_text_blink=yes 3881support_text_blink=yes
4108support_pointer_blank=yes 3882support_pointer_blank=yes
4109support_scroll_rxvt=yes 3883support_scroll_rxvt=yes
4110support_scroll_next=yes 3884support_scroll_next=yes
4111support_scroll_xterm=yes 3885support_scroll_xterm=yes
4112support_scroll_plain=yes 3886support_scroll_plain=yes
4113support_xim=yes 3887support_xim=yes
4114support_xpm=yes 3888support_xpm=yes
3889support_afterimage=yes
3890support_afterstep=yes
4115support_xft=yes 3891support_xft=yes
4116support_unicode3=no 3892support_unicode3=no
4117support_combining=yes 3893support_combining=yes
4118support_8bitctrls=no 3894support_8bitctrls=no
4119support_iso14755=yes 3895support_iso14755=yes
4135# Check whether --enable-everything or --disable-everything was given. 3911# Check whether --enable-everything or --disable-everything was given.
4136if test "${enable_everything+set}" = set; then 3912if test "${enable_everything+set}" = set; then
4137 enableval="$enable_everything" 3913 enableval="$enable_everything"
4138 3914
4139 if test x$enableval = xno; then 3915 if test x$enableval = xno; then
4140 support_24bit=no
4141 support_frills=no 3916 support_frills=no
4142 support_inheritpixmap=no 3917 support_inheritpixmap=no
4143 support_tinting=no 3918 support_tinting=no
4144 support_fading=no 3919 support_fading=no
4145 support_keepscrolling=no 3920 support_keepscrolling=no
4155 support_scroll_plain=no 3930 support_scroll_plain=no
4156 support_utmp=no 3931 support_utmp=no
4157 support_wtmp=no 3932 support_wtmp=no
4158 support_xim=no 3933 support_xim=no
4159 support_xpm=no 3934 support_xpm=no
3935 support_afterimage=no
3936 support_afterstep=no
4160 support_xft=no 3937 support_xft=no
4161 support_unicode3=no 3938 support_unicode3=no
4162 support_combining=no 3939 support_combining=no
4163 support_8bitctrls=no 3940 support_8bitctrls=no
4164 support_iso14755=no 3941 support_iso14755=no
4165 support_styles=no 3942 support_styles=no
4166 support_perl=no 3943 support_perl=no
4167 codesets= 3944 codesets=
4168 fi 3945 fi
4169 if test x$enableval = xyes; then 3946 if test x$enableval = xyes; then
4170 support_24bit=yes
4171 support_frills=yes 3947 support_frills=yes
4172 support_inheritpixmap=yes 3948 support_inheritpixmap=yes
4173 support_tinting=yes 3949 support_tinting=yes
4174 support_fading=yes 3950 support_fading=yes
4175 support_keepscrolling=yes 3951 support_keepscrolling=yes
4185 support_scroll_plain=yes 3961 support_scroll_plain=yes
4186 support_utmp=yes 3962 support_utmp=yes
4187 support_wtmp=yes 3963 support_wtmp=yes
4188 support_xim=yes 3964 support_xim=yes
4189 support_xpm=yes 3965 support_xpm=yes
3966 support_afterimage=yes
3967 support_afterstep=yes
4190 support_xft=yes 3968 support_xft=yes
4191 support_unicode3=yes 3969 support_unicode3=yes
4192 support_combining=yes 3970 support_combining=yes
4193 #support_8bitctrls=yes 3971 #support_8bitctrls=yes
4194 support_iso14755=yes 3972 support_iso14755=yes
4229 if test x$enableval = xyes -o x$enableval = xno; then 4007 if test x$enableval = xyes -o x$enableval = xno; then
4230 support_styles=$enableval 4008 support_styles=$enableval
4231 fi 4009 fi
4232fi; 4010fi;
4233 4011
4234# Check whether --enable-utmp or --disable-utmp was given.
4235if test "${enable_utmp+set}" = set; then
4236 enableval="$enable_utmp"
4237 if test x$enableval = xyes -o x$enableval = xno; then
4238 support_utmp=$enableval
4239 fi
4240fi;
4241
4242# Check whether --enable-wtmp or --disable-wtmp was given.
4243if test "${enable_wtmp+set}" = set; then
4244 enableval="$enable_wtmp"
4245 if test x$enableval = xyes -o x$enableval = xno; then
4246 support_wtmp=$enableval
4247 fi
4248fi;
4249
4250# Check whether --enable-lastlog or --disable-lastlog was given.
4251if test "${enable_lastlog+set}" = set; then
4252 enableval="$enable_lastlog"
4253 if test x$enableval = xyes -o x$enableval = xno; then
4254 support_lastlog=$enableval
4255 fi
4256fi;
4257
4258# Check whether --enable-xpm-background or --disable-xpm-background was given. 4012# Check whether --enable-xpm-background or --disable-xpm-background was given.
4259if test "${enable_xpm_background+set}" = set; then 4013if test "${enable_xpm_background+set}" = set; then
4260 enableval="$enable_xpm_background" 4014 enableval="$enable_xpm_background"
4261 if test x$enableval = xyes -o x$enableval = xno; then 4015 if test x$enableval = xyes -o x$enableval = xno; then
4262 support_xpm=$enableval 4016 support_xpm=$enableval
4263 fi 4017 fi
4264fi; 4018fi;
4265 4019
4020# Check whether --enable-afterimage or --disable-afterimage was given.
4021if test "${enable_afterimage+set}" = set; then
4022 enableval="$enable_afterimage"
4023 if test x$enableval = xyes -o x$enableval = xno; then
4024 support_afterimage=$enableval
4025 fi
4026fi;
4027
4028
4029# Check whether --with-afterimage_config or --without-afterimage_config was given.
4030if test "${with_afterimage_config+set}" = set; then
4031 withval="$with_afterimage_config"
4032 if test "x$withval" != x; then
4033 afterimage_config=$withval/afterimage-config
4034 fi
4035fi;
4036
4037# Check whether --enable-afterstep or --disable-afterstep was given.
4038if test "${enable_afterstep+set}" = set; then
4039 enableval="$enable_afterstep"
4040 if test x$enableval = xyes -o x$enableval = xno; then
4041 support_afterstep=$enableval
4042 fi
4043fi;
4044
4266# Check whether --enable-transparency or --disable-transparency was given. 4045# Check whether --enable-transparency or --disable-transparency was given.
4267if test "${enable_transparency+set}" = set; then 4046if test "${enable_transparency+set}" = set; then
4268 enableval="$enable_transparency" 4047 enableval="$enable_transparency"
4269 if test x$enableval = xyes -o x$enableval = xno; then 4048 if test x$enableval = xyes -o x$enableval = xno; then
4270 support_inheritpixmap=$enableval 4049 support_inheritpixmap=$enableval
4326 support_scroll_plain=$enableval 4105 support_scroll_plain=$enableval
4327 fi 4106 fi
4328fi; 4107fi;
4329 4108
4330 4109
4331
4332# Check whether --with-codesets or --without-codesets was given. 4110# Check whether --with-codesets or --without-codesets was given.
4333if test "${with_codesets+set}" = set; then 4111if test "${with_codesets+set}" = set; then
4334 withval="$with_codesets" 4112 withval="$with_codesets"
4335 codesets="$withval" 4113 codesets="$withval"
4336fi; 4114fi;
4341 if test x$enableval = xyes -o x$enableval = xno; then 4119 if test x$enableval = xyes -o x$enableval = xno; then
4342 support_xim=$enableval 4120 support_xim=$enableval
4343 fi 4121 fi
4344fi; 4122fi;
4345 4123
4346# Check whether --enable-ttygid or --disable-ttygid was given.
4347if test "${enable_ttygid+set}" = set; then
4348 enableval="$enable_ttygid"
4349 if test x$enableval = xyes; then
4350
4351cat >>confdefs.h <<\_ACEOF
4352#define TTY_GID_SUPPORT 1
4353_ACEOF
4354
4355 fi
4356fi;
4357
4358# Check whether --enable-backspace-key or --disable-backspace-key was given. 4124# Check whether --enable-backspace-key or --disable-backspace-key was given.
4359if test "${enable_backspace_key+set}" = set; then 4125if test "${enable_backspace_key+set}" = set; then
4360 enableval="$enable_backspace_key" 4126 enableval="$enable_backspace_key"
4361 if test x$enableval = xno; then 4127 if test x$enableval = xno; then
4362 4128
4486 if test x$enableval = xyes -o x$enableval = xno; then 4252 if test x$enableval = xyes -o x$enableval = xno; then
4487 support_frills=$enableval 4253 support_frills=$enableval
4488 fi 4254 fi
4489fi; 4255fi;
4490 4256
4491# Check whether --enable-24bit or --disable-24bit was given.
4492if test "${enable_24bit+set}" = set; then
4493 enableval="$enable_24bit"
4494 if test x$enableval = xyes -o x$enableval = xno; then
4495 support_24bit=$enableval
4496 fi
4497fi;
4498
4499# Check whether --enable-keepscrolling or --disable-keepscrolling was given. 4257# Check whether --enable-keepscrolling or --disable-keepscrolling was given.
4500if test "${enable_keepscrolling+set}" = set; then 4258if test "${enable_keepscrolling+set}" = set; then
4501 enableval="$enable_keepscrolling" 4259 enableval="$enable_keepscrolling"
4502 if test x$enableval = xyes -o x$enableval = xno; then 4260 if test x$enableval = xyes -o x$enableval = xno; then
4503 support_keepscrolling=$enableval 4261 support_keepscrolling=$enableval
4526 if test x$enableval = xyes -o x$enableval = xno; then 4284 if test x$enableval = xyes -o x$enableval = xno; then
4527 support_mouseslipwheel=$enableval 4285 support_mouseslipwheel=$enableval
4528 fi 4286 fi
4529fi; 4287fi;
4530 4288
4531# Check whether --enable-dmalloc or --disable-dmalloc was given.
4532if test "${enable_dmalloc+set}" = set; then
4533 enableval="$enable_dmalloc"
4534 if test x$enableval = xyes; then
4535 MALLOC_TYPE=G
4536 DEBUG=-DDEBUG_MALLOC
4537 DLIB="-L/usr/local/lib -ldmalloc"
4538 DINCLUDE=-I/usr/local/include
4539 fi
4540fi;
4541
4542# Check whether --enable-dlmalloc or --disable-dlmalloc was given.
4543if test "${enable_dlmalloc+set}" = set; then
4544 enableval="$enable_dlmalloc"
4545 if test x$enableval = xyes; then
4546 MALLOC_TYPE=D
4547 DEBUG=
4548 DLIB="-L/usr/local/lib -ldlmalloc"
4549 DINCLUDE=
4550 fi
4551fi;
4552
4553# Check whether --enable-smart-resize or --disable-smart-resize was given. 4289# Check whether --enable-smart-resize or --disable-smart-resize was given.
4554if test "${enable_smart_resize+set}" = set; then 4290if test "${enable_smart_resize+set}" = set; then
4555 enableval="$enable_smart_resize" 4291 enableval="$enable_smart_resize"
4556 if test x$enableval = xyes; then 4292 if test x$enableval = xyes; then
4557 4293
4602_ACEOF 4338_ACEOF
4603 terminfo="$withval" 4339 terminfo="$withval"
4604 fi 4340 fi
4605fi; 4341fi;
4606 4342
4607
4608# Extract the first word of "mv", so it can be a program name with args.
4609set dummy mv; ac_word=$2
4610echo "$as_me:$LINENO: checking for $ac_word" >&5
4611echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4612if test "${ac_cv_path_MV+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4614else
4615 case $MV in
4616 [\\/]* | ?:[\\/]*)
4617 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4618 ;;
4619 *)
4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621for as_dir in $PATH
4622do
4623 IFS=$as_save_IFS
4624 test -z "$as_dir" && as_dir=.
4625 for ac_exec_ext in '' $ac_executable_extensions; do
4626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4627 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 break 2
4630 fi
4631done
4632done
4633
4634 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
4635 ;;
4636esac
4637fi
4638MV=$ac_cv_path_MV
4639
4640if test -n "$MV"; then
4641 echo "$as_me:$LINENO: result: $MV" >&5
4642echo "${ECHO_T}$MV" >&6
4643else
4644 echo "$as_me:$LINENO: result: no" >&5
4645echo "${ECHO_T}no" >&6
4646fi
4647
4648# Extract the first word of "rm", so it can be a program name with args.
4649set dummy rm; ac_word=$2
4650echo "$as_me:$LINENO: checking for $ac_word" >&5
4651echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4652if test "${ac_cv_path_RM+set}" = set; then
4653 echo $ECHO_N "(cached) $ECHO_C" >&6
4654else
4655 case $RM in
4656 [\\/]* | ?:[\\/]*)
4657 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4658 ;;
4659 *)
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661for as_dir in $PATH
4662do
4663 IFS=$as_save_IFS
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 break 2
4670 fi
4671done
4672done
4673
4674 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
4675 ;;
4676esac
4677fi
4678RM=$ac_cv_path_RM
4679
4680if test -n "$RM"; then
4681 echo "$as_me:$LINENO: result: $RM" >&5
4682echo "${ECHO_T}$RM" >&6
4683else
4684 echo "$as_me:$LINENO: result: no" >&5
4685echo "${ECHO_T}no" >&6
4686fi
4687
4688# Extract the first word of "cp", so it can be a program name with args.
4689set dummy cp; ac_word=$2
4690echo "$as_me:$LINENO: checking for $ac_word" >&5
4691echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4692if test "${ac_cv_path_CP+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4694else
4695 case $CP in
4696 [\\/]* | ?:[\\/]*)
4697 ac_cv_path_CP="$CP" # Let the user override the test with a path.
4698 ;;
4699 *)
4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701for as_dir in $PATH
4702do
4703 IFS=$as_save_IFS
4704 test -z "$as_dir" && as_dir=.
4705 for ac_exec_ext in '' $ac_executable_extensions; do
4706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4707 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4709 break 2
4710 fi
4711done
4712done
4713
4714 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
4715 ;;
4716esac
4717fi
4718CP=$ac_cv_path_CP
4719
4720if test -n "$CP"; then
4721 echo "$as_me:$LINENO: result: $CP" >&5
4722echo "${ECHO_T}$CP" >&6
4723else
4724 echo "$as_me:$LINENO: result: no" >&5
4725echo "${ECHO_T}no" >&6
4726fi
4727
4728# Extract the first word of "ln", so it can be a program name with args.
4729set dummy ln; ac_word=$2
4730echo "$as_me:$LINENO: checking for $ac_word" >&5
4731echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4732if test "${ac_cv_path_LN+set}" = set; then
4733 echo $ECHO_N "(cached) $ECHO_C" >&6
4734else
4735 case $LN in
4736 [\\/]* | ?:[\\/]*)
4737 ac_cv_path_LN="$LN" # Let the user override the test with a path.
4738 ;;
4739 *)
4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741for as_dir in $PATH
4742do
4743 IFS=$as_save_IFS
4744 test -z "$as_dir" && as_dir=.
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4747 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4749 break 2
4750 fi
4751done
4752done
4753
4754 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
4755 ;;
4756esac
4757fi
4758LN=$ac_cv_path_LN
4759
4760if test -n "$LN"; then
4761 echo "$as_me:$LINENO: result: $LN" >&5
4762echo "${ECHO_T}$LN" >&6
4763else
4764 echo "$as_me:$LINENO: result: no" >&5
4765echo "${ECHO_T}no" >&6
4766fi
4767
4768# Extract the first word of "sed", so it can be a program name with args.
4769set dummy sed; ac_word=$2
4770echo "$as_me:$LINENO: checking for $ac_word" >&5
4771echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4772if test "${ac_cv_path_SED+set}" = set; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4774else
4775 case $SED in
4776 [\\/]* | ?:[\\/]*)
4777 ac_cv_path_SED="$SED" # Let the user override the test with a path.
4778 ;;
4779 *)
4780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4781for as_dir in $PATH
4782do
4783 IFS=$as_save_IFS
4784 test -z "$as_dir" && as_dir=.
4785 for ac_exec_ext in '' $ac_executable_extensions; do
4786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4787 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
4788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 break 2
4790 fi
4791done
4792done
4793
4794 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
4795 ;;
4796esac
4797fi
4798SED=$ac_cv_path_SED
4799
4800if test -n "$SED"; then
4801 echo "$as_me:$LINENO: result: $SED" >&5
4802echo "${ECHO_T}$SED" >&6
4803else
4804 echo "$as_me:$LINENO: result: no" >&5
4805echo "${ECHO_T}no" >&6
4806fi
4807
4808# Extract the first word of "echo", so it can be a program name with args.
4809set dummy echo; ac_word=$2
4810echo "$as_me:$LINENO: checking for $ac_word" >&5
4811echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4812if test "${ac_cv_path_ECHO+set}" = set; then
4813 echo $ECHO_N "(cached) $ECHO_C" >&6
4814else
4815 case $ECHO in
4816 [\\/]* | ?:[\\/]*)
4817 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
4818 ;;
4819 *)
4820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4821for as_dir in $PATH
4822do
4823 IFS=$as_save_IFS
4824 test -z "$as_dir" && as_dir=.
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4827 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
4828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4829 break 2
4830 fi
4831done
4832done
4833
4834 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
4835 ;;
4836esac
4837fi
4838ECHO=$ac_cv_path_ECHO
4839
4840if test -n "$ECHO"; then
4841 echo "$as_me:$LINENO: result: $ECHO" >&5
4842echo "${ECHO_T}$ECHO" >&6
4843else
4844 echo "$as_me:$LINENO: result: no" >&5
4845echo "${ECHO_T}no" >&6
4846fi
4847
4848# Extract the first word of "cmp", so it can be a program name with args.
4849set dummy cmp; ac_word=$2
4850echo "$as_me:$LINENO: checking for $ac_word" >&5
4851echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4852if test "${ac_cv_path_CMP+set}" = set; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4854else
4855 case $CMP in
4856 [\\/]* | ?:[\\/]*)
4857 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4858 ;;
4859 *)
4860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861for as_dir in $PATH
4862do
4863 IFS=$as_save_IFS
4864 test -z "$as_dir" && as_dir=.
4865 for ac_exec_ext in '' $ac_executable_extensions; do
4866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4867 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4869 break 2
4870 fi
4871done
4872done
4873
4874 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
4875 ;;
4876esac
4877fi
4878CMP=$ac_cv_path_CMP
4879
4880if test -n "$CMP"; then
4881 echo "$as_me:$LINENO: result: $CMP" >&5
4882echo "${ECHO_T}$CMP" >&6
4883else
4884 echo "$as_me:$LINENO: result: no" >&5
4885echo "${ECHO_T}no" >&6
4886fi
4887 4343
4888# Extract the first word of "tic", so it can be a program name with args. 4344# Extract the first word of "tic", so it can be a program name with args.
4889set dummy tic; ac_word=$2 4345set dummy tic; ac_word=$2
4890echo "$as_me:$LINENO: checking for $ac_word" >&5 4346echo "$as_me:$LINENO: checking for $ac_word" >&5
4891echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4347echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5156ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4612ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5157ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4613ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5158ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4614ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5159 4615
5160 4616
5161
5162if test "x$ac_path_x_has_been_run" != xyes; then
5163 echo "$as_me:$LINENO: checking for X" >&5 4617echo "$as_me:$LINENO: checking for X" >&5
5164echo $ECHO_N "checking for X... $ECHO_C" >&6 4618echo $ECHO_N "checking for X... $ECHO_C" >&6
5165 4619
5166ac_path_x_has_been_run=yes
5167 4620
5168# Check whether --with-x or --without-x was given. 4621# Check whether --with-x or --without-x was given.
5169if test "${with_x+set}" = set; then 4622if test "${with_x+set}" = set; then
5170 withval="$with_x" 4623 withval="$with_x"
5171 4624
5254 4707
5255/usr/openwin/include 4708/usr/openwin/include
5256/usr/openwin/share/include' 4709/usr/openwin/share/include'
5257 4710
5258if test "$ac_x_includes" = no; then 4711if test "$ac_x_includes" = no; then
5259 # Guess where to find include files, by looking for a specified header file. 4712 # Guess where to find include files, by looking for Intrinsic.h.
5260 # First, try using that file with no special directory specified. 4713 # First, try using that file with no special directory specified.
5261 cat >conftest.$ac_ext <<_ACEOF 4714 cat >conftest.$ac_ext <<_ACEOF
5262/* confdefs.h. */ 4715/* confdefs.h. */
5263_ACEOF 4716_ACEOF
5264cat confdefs.h >>conftest.$ac_ext 4717cat confdefs.h >>conftest.$ac_ext
5265cat >>conftest.$ac_ext <<_ACEOF 4718cat >>conftest.$ac_ext <<_ACEOF
5266/* end confdefs.h. */ 4719/* end confdefs.h. */
5267#include <X11/Xlib.h> 4720#include <X11/Intrinsic.h>
5268_ACEOF 4721_ACEOF
5269if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4722if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5271 ac_status=$? 4724 ac_status=$?
5272 grep -v '^ *+' conftest.er1 >conftest.err 4725 grep -v '^ *+' conftest.er1 >conftest.err
5289else 4742else
5290 echo "$as_me: failed program was:" >&5 4743 echo "$as_me: failed program was:" >&5
5291sed 's/^/| /' conftest.$ac_ext >&5 4744sed 's/^/| /' conftest.$ac_ext >&5
5292 4745
5293 for ac_dir in $ac_x_header_dirs; do 4746 for ac_dir in $ac_x_header_dirs; do
5294 if test -r "$ac_dir/X11/Xlib.h"; then 4747 if test -r "$ac_dir/X11/Intrinsic.h"; then
5295 ac_x_includes=$ac_dir 4748 ac_x_includes=$ac_dir
5296 break 4749 break
5297 fi 4750 fi
5298done 4751done
5299fi 4752fi
5303if test "$ac_x_libraries" = no; then 4756if test "$ac_x_libraries" = no; then
5304 # Check for the libraries. 4757 # Check for the libraries.
5305 # See if we find them without any special options. 4758 # See if we find them without any special options.
5306 # Don't add to $LIBS permanently. 4759 # Don't add to $LIBS permanently.
5307 ac_save_LIBS=$LIBS 4760 ac_save_LIBS=$LIBS
5308 LIBS="-lX11 $LIBS" 4761 LIBS="-lXt $LIBS"
5309 cat >conftest.$ac_ext <<_ACEOF 4762 cat >conftest.$ac_ext <<_ACEOF
5310/* confdefs.h. */ 4763/* confdefs.h. */
5311_ACEOF 4764_ACEOF
5312cat confdefs.h >>conftest.$ac_ext 4765cat confdefs.h >>conftest.$ac_ext
5313cat >>conftest.$ac_ext <<_ACEOF 4766cat >>conftest.$ac_ext <<_ACEOF
5314/* end confdefs.h. */ 4767/* end confdefs.h. */
5315#include <X11/Xlib.h> 4768#include <X11/Intrinsic.h>
5316int 4769int
5317main () 4770main ()
5318{ 4771{
5319XrmInitialize () 4772XtMalloc (0)
5320 ; 4773 ;
5321 return 0; 4774 return 0;
5322} 4775}
5323_ACEOF 4776_ACEOF
5324rm -f conftest.$ac_objext conftest$ac_exeext 4777rm -f conftest.$ac_objext conftest$ac_exeext
5328 grep -v '^ *+' conftest.er1 >conftest.err 4781 grep -v '^ *+' conftest.er1 >conftest.err
5329 rm -f conftest.er1 4782 rm -f conftest.er1
5330 cat conftest.err >&5 4783 cat conftest.err >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); } && 4785 (exit $ac_status); } &&
5333 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 4786 { ac_try='test -z "$ac_cxx_werror_flag"
4787 || test ! -s conftest.err'
5334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5335 (eval $ac_try) 2>&5 4789 (eval $ac_try) 2>&5
5336 ac_status=$? 4790 ac_status=$?
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); }; } && 4792 (exit $ac_status); }; } &&
5352LIBS=$ac_save_LIBS 4806LIBS=$ac_save_LIBS
5353for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 4807for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5354do 4808do
5355 # Don't even attempt the hair of trying to link an X program! 4809 # Don't even attempt the hair of trying to link an X program!
5356 for ac_extension in a so sl; do 4810 for ac_extension in a so sl; do
5357 if test -r $ac_dir/libX11.$ac_extension; then 4811 if test -r $ac_dir/libXt.$ac_extension; then
5358 ac_x_libraries=$ac_dir 4812 ac_x_libraries=$ac_dir
5359 break 2 4813 break 2
5360 fi 4814 fi
5361 done 4815 done
5362done 4816done
5388 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 4842 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5389 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 4843 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5390 # Update the cache value to reflect the command line values. 4844 # Update the cache value to reflect the command line values.
5391 ac_cv_have_x="have_x=yes \ 4845 ac_cv_have_x="have_x=yes \
5392 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 4846 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5393 # It might be that x_includes is empty (headers are found in the
5394 # standard search path. Then output the corresponding message
5395 ac_out_x_includes=$x_includes
5396 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
5397 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 4847 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5398echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 4848echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5399fi 4849fi
5400 4850
5401fi
5402if test "$no_x" = yes; then 4851if test "$no_x" = yes; then
5403 # Not all programs may use this symbol, but it does not hurt to define it. 4852 # Not all programs may use this symbol, but it does not hurt to define it.
5404 4853
5405cat >>confdefs.h <<\_ACEOF 4854cat >>confdefs.h <<\_ACEOF
5406#define X_DISPLAY_MISSING 1 4855#define X_DISPLAY_MISSING 1
5444 grep -v '^ *+' conftest.er1 >conftest.err 4893 grep -v '^ *+' conftest.er1 >conftest.err
5445 rm -f conftest.er1 4894 rm -f conftest.er1
5446 cat conftest.err >&5 4895 cat conftest.err >&5
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); } && 4897 (exit $ac_status); } &&
5449 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 4898 { ac_try='test -z "$ac_cxx_werror_flag"
4899 || test ! -s conftest.err'
5450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5451 (eval $ac_try) 2>&5 4901 (eval $ac_try) 2>&5
5452 ac_status=$? 4902 ac_status=$?
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); }; } && 4904 (exit $ac_status); }; } &&
5495 grep -v '^ *+' conftest.er1 >conftest.err 4945 grep -v '^ *+' conftest.er1 >conftest.err
5496 rm -f conftest.er1 4946 rm -f conftest.er1
5497 cat conftest.err >&5 4947 cat conftest.err >&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } && 4949 (exit $ac_status); } &&
5500 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 4950 { ac_try='test -z "$ac_cxx_werror_flag"
4951 || test ! -s conftest.err'
5501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5502 (eval $ac_try) 2>&5 4953 (eval $ac_try) 2>&5
5503 ac_status=$? 4954 ac_status=$?
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); }; } && 4956 (exit $ac_status); }; } &&
5571 grep -v '^ *+' conftest.er1 >conftest.err 5022 grep -v '^ *+' conftest.er1 >conftest.err
5572 rm -f conftest.er1 5023 rm -f conftest.er1
5573 cat conftest.err >&5 5024 cat conftest.err >&5
5574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5575 (exit $ac_status); } && 5026 (exit $ac_status); } &&
5576 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5027 { ac_try='test -z "$ac_cxx_werror_flag"
5028 || test ! -s conftest.err'
5577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5578 (eval $ac_try) 2>&5 5030 (eval $ac_try) 2>&5
5579 ac_status=$? 5031 ac_status=$?
5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581 (exit $ac_status); }; } && 5033 (exit $ac_status); }; } &&
5626 grep -v '^ *+' conftest.er1 >conftest.err 5078 grep -v '^ *+' conftest.er1 >conftest.err
5627 rm -f conftest.er1 5079 rm -f conftest.er1
5628 cat conftest.err >&5 5080 cat conftest.err >&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); } && 5082 (exit $ac_status); } &&
5631 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5083 { ac_try='test -z "$ac_cxx_werror_flag"
5084 || test ! -s conftest.err'
5632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5633 (eval $ac_try) 2>&5 5086 (eval $ac_try) 2>&5
5634 ac_status=$? 5087 ac_status=$?
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); }; } && 5089 (exit $ac_status); }; } &&
5694 grep -v '^ *+' conftest.er1 >conftest.err 5147 grep -v '^ *+' conftest.er1 >conftest.err
5695 rm -f conftest.er1 5148 rm -f conftest.er1
5696 cat conftest.err >&5 5149 cat conftest.err >&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); } && 5151 (exit $ac_status); } &&
5699 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5152 { ac_try='test -z "$ac_cxx_werror_flag"
5153 || test ! -s conftest.err'
5700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5701 (eval $ac_try) 2>&5 5155 (eval $ac_try) 2>&5
5702 ac_status=$? 5156 ac_status=$?
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); }; } && 5158 (exit $ac_status); }; } &&
5802 grep -v '^ *+' conftest.er1 >conftest.err 5256 grep -v '^ *+' conftest.er1 >conftest.err
5803 rm -f conftest.er1 5257 rm -f conftest.er1
5804 cat conftest.err >&5 5258 cat conftest.err >&5
5805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 (exit $ac_status); } && 5260 (exit $ac_status); } &&
5807 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5261 { ac_try='test -z "$ac_cxx_werror_flag"
5262 || test ! -s conftest.err'
5808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5809 (eval $ac_try) 2>&5 5264 (eval $ac_try) 2>&5
5810 ac_status=$? 5265 ac_status=$?
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); }; } && 5267 (exit $ac_status); }; } &&
5866 grep -v '^ *+' conftest.er1 >conftest.err 5321 grep -v '^ *+' conftest.er1 >conftest.err
5867 rm -f conftest.er1 5322 rm -f conftest.er1
5868 cat conftest.err >&5 5323 cat conftest.err >&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); } && 5325 (exit $ac_status); } &&
5871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5326 { ac_try='test -z "$ac_cxx_werror_flag"
5327 || test ! -s conftest.err'
5872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873 (eval $ac_try) 2>&5 5329 (eval $ac_try) 2>&5
5874 ac_status=$? 5330 ac_status=$?
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); }; } && 5332 (exit $ac_status); }; } &&
5934 grep -v '^ *+' conftest.er1 >conftest.err 5390 grep -v '^ *+' conftest.er1 >conftest.err
5935 rm -f conftest.er1 5391 rm -f conftest.er1
5936 cat conftest.err >&5 5392 cat conftest.err >&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); } && 5394 (exit $ac_status); } &&
5939 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5395 { ac_try='test -z "$ac_cxx_werror_flag"
5396 || test ! -s conftest.err'
5940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 (eval $ac_try) 2>&5 5398 (eval $ac_try) 2>&5
5942 ac_status=$? 5399 ac_status=$?
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); }; } && 5401 (exit $ac_status); }; } &&
6038 grep -v '^ *+' conftest.er1 >conftest.err 5495 grep -v '^ *+' conftest.er1 >conftest.err
6039 rm -f conftest.er1 5496 rm -f conftest.er1
6040 cat conftest.err >&5 5497 cat conftest.err >&5
6041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6042 (exit $ac_status); } && 5499 (exit $ac_status); } &&
6043 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5500 { ac_try='test -z "$ac_cxx_werror_flag"
5501 || test ! -s conftest.err'
6044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6045 (eval $ac_try) 2>&5 5503 (eval $ac_try) 2>&5
6046 ac_status=$? 5504 ac_status=$?
6047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048 (exit $ac_status); }; } && 5506 (exit $ac_status); }; } &&
6102 grep -v '^ *+' conftest.er1 >conftest.err 5560 grep -v '^ *+' conftest.er1 >conftest.err
6103 rm -f conftest.er1 5561 rm -f conftest.er1
6104 cat conftest.err >&5 5562 cat conftest.err >&5
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); } && 5564 (exit $ac_status); } &&
6107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5565 { ac_try='test -z "$ac_cxx_werror_flag"
5566 || test ! -s conftest.err'
6108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6109 (eval $ac_try) 2>&5 5568 (eval $ac_try) 2>&5
6110 ac_status=$? 5569 ac_status=$?
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); }; } && 5571 (exit $ac_status); }; } &&
6199 grep -v '^ *+' conftest.er1 >conftest.err 5658 grep -v '^ *+' conftest.er1 >conftest.err
6200 rm -f conftest.er1 5659 rm -f conftest.er1
6201 cat conftest.err >&5 5660 cat conftest.err >&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); } && 5662 (exit $ac_status); } &&
6204 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5663 { ac_try='test -z "$ac_cxx_werror_flag"
5664 || test ! -s conftest.err'
6205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6206 (eval $ac_try) 2>&5 5666 (eval $ac_try) 2>&5
6207 ac_status=$? 5667 ac_status=$?
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); }; } && 5669 (exit $ac_status); }; } &&
6263 grep -v '^ *+' conftest.er1 >conftest.err 5723 grep -v '^ *+' conftest.er1 >conftest.err
6264 rm -f conftest.er1 5724 rm -f conftest.er1
6265 cat conftest.err >&5 5725 cat conftest.err >&5
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); } && 5727 (exit $ac_status); } &&
6268 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5728 { ac_try='test -z "$ac_cxx_werror_flag"
5729 || test ! -s conftest.err'
6269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270 (eval $ac_try) 2>&5 5731 (eval $ac_try) 2>&5
6271 ac_status=$? 5732 ac_status=$?
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); }; } && 5734 (exit $ac_status); }; } &&
6360 grep -v '^ *+' conftest.er1 >conftest.err 5821 grep -v '^ *+' conftest.er1 >conftest.err
6361 rm -f conftest.er1 5822 rm -f conftest.er1
6362 cat conftest.err >&5 5823 cat conftest.err >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } && 5825 (exit $ac_status); } &&
6365 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5826 { ac_try='test -z "$ac_cxx_werror_flag"
5827 || test ! -s conftest.err'
6366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367 (eval $ac_try) 2>&5 5829 (eval $ac_try) 2>&5
6368 ac_status=$? 5830 ac_status=$?
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; } && 5832 (exit $ac_status); }; } &&
6424 grep -v '^ *+' conftest.er1 >conftest.err 5886 grep -v '^ *+' conftest.er1 >conftest.err
6425 rm -f conftest.er1 5887 rm -f conftest.er1
6426 cat conftest.err >&5 5888 cat conftest.err >&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } && 5890 (exit $ac_status); } &&
6429 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5891 { ac_try='test -z "$ac_cxx_werror_flag"
5892 || test ! -s conftest.err'
6430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6431 (eval $ac_try) 2>&5 5894 (eval $ac_try) 2>&5
6432 ac_status=$? 5895 ac_status=$?
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); }; } && 5897 (exit $ac_status); }; } &&
6503 grep -v '^ *+' conftest.er1 >conftest.err 5966 grep -v '^ *+' conftest.er1 >conftest.err
6504 rm -f conftest.er1 5967 rm -f conftest.er1
6505 cat conftest.err >&5 5968 cat conftest.err >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } && 5970 (exit $ac_status); } &&
6508 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 5971 { ac_try='test -z "$ac_cxx_werror_flag"
5972 || test ! -s conftest.err'
6509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510 (eval $ac_try) 2>&5 5974 (eval $ac_try) 2>&5
6511 ac_status=$? 5975 ac_status=$?
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); }; } && 5977 (exit $ac_status); }; } &&
6538 6002
6539fi 6003fi
6540 6004
6541 6005
6542 6006
6007LIBAFTERIMAGE_CFLAGS=
6008AFTERIMAGE_LIBS=
6009have_afterimage=
6010
6543if test x$support_xpm = xyes; then 6011if test x$support_afterimage = xyes; then
6012 support_afterimage=no
6013
6014 if test "x$afterimage_config" = "x" ; then
6015 # Extract the first word of "afterimage-config", so it can be a program name with args.
6016set dummy afterimage-config; ac_word=$2
6017echo "$as_me:$LINENO: checking for $ac_word" >&5
6018echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6019if test "${ac_cv_path_afterimage_config+set}" = set; then
6020 echo $ECHO_N "(cached) $ECHO_C" >&6
6021else
6022 case $afterimage_config in
6023 [\\/]* | ?:[\\/]*)
6024 ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path.
6025 ;;
6026 *)
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028for as_dir in $PATH
6029do
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext"
6035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6037 fi
6038done
6039done
6040
6041 test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no"
6042 ;;
6043esac
6044fi
6045afterimage_config=$ac_cv_path_afterimage_config
6046
6047if test -n "$afterimage_config"; then
6048 echo "$as_me:$LINENO: result: $afterimage_config" >&5
6049echo "${ECHO_T}$afterimage_config" >&6
6050else
6051 echo "$as_me:$LINENO: result: no" >&5
6052echo "${ECHO_T}no" >&6
6053fi
6054
6055 fi
6056
6057 echo "$as_me:$LINENO: checking for libAfterImage" >&5
6058echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6
6059 if $afterimage_config --version >/dev/null 2>&1 ; then
6060 LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags`
6061 AFTERIMAGE_LIBS=`$afterimage_config --libs`
6062 if test "x$AFTERIMAGE_LIBS" != "x"; then
6063 support_afterimage=yes
6064 fi
6065 fi
6066
6067 if test "x$support_afterimage" = "xyes"; then
6068 echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5
6069echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6
6070 else
6071 echo "$as_me:$LINENO: result: no" >&5
6072echo "${ECHO_T}no" >&6
6073 fi
6074fi
6075
6076if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then
6544 6077
6545 6078
6546 6079
6547# Initialize some more variables set by options. 6080# Initialize some more variables set by options.
6548# The variables have the same names as the options, with 6081# The variables have the same names as the options, with
6719 grep -v '^ *+' conftest.er1 >conftest.err 6252 grep -v '^ *+' conftest.er1 >conftest.err
6720 rm -f conftest.er1 6253 rm -f conftest.er1
6721 cat conftest.err >&5 6254 cat conftest.err >&5
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); } && 6256 (exit $ac_status); } &&
6724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6257 { ac_try='test -z "$ac_cxx_werror_flag"
6258 || test ! -s conftest.err'
6725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6726 (eval $ac_try) 2>&5 6260 (eval $ac_try) 2>&5
6727 ac_status=$? 6261 ac_status=$?
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); }; } && 6263 (exit $ac_status); }; } &&
6933 grep -v '^ *+' conftest.er1 >conftest.err 6467 grep -v '^ *+' conftest.er1 >conftest.err
6934 rm -f conftest.er1 6468 rm -f conftest.er1
6935 cat conftest.err >&5 6469 cat conftest.err >&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } && 6471 (exit $ac_status); } &&
6938 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6472 { ac_try='test -z "$ac_cxx_werror_flag"
6473 || test ! -s conftest.err'
6939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6940 (eval $ac_try) 2>&5 6475 (eval $ac_try) 2>&5
6941 ac_status=$? 6476 ac_status=$?
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); }; } && 6478 (exit $ac_status); }; } &&
6997 grep -v '^ *+' conftest.er1 >conftest.err 6532 grep -v '^ *+' conftest.er1 >conftest.err
6998 rm -f conftest.er1 6533 rm -f conftest.er1
6999 cat conftest.err >&5 6534 cat conftest.err >&5
7000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001 (exit $ac_status); } && 6536 (exit $ac_status); } &&
7002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6537 { ac_try='test -z "$ac_cxx_werror_flag"
6538 || test ! -s conftest.err'
7003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7004 (eval $ac_try) 2>&5 6540 (eval $ac_try) 2>&5
7005 ac_status=$? 6541 ac_status=$?
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); }; } && 6543 (exit $ac_status); }; } &&
7167 grep -v '^ *+' conftest.er1 >conftest.err 6703 grep -v '^ *+' conftest.er1 >conftest.err
7168 rm -f conftest.er1 6704 rm -f conftest.er1
7169 cat conftest.err >&5 6705 cat conftest.err >&5
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); } && 6707 (exit $ac_status); } &&
7172 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6708 { ac_try='test -z "$ac_cxx_werror_flag"
6709 || test ! -s conftest.err'
7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7174 (eval $ac_try) 2>&5 6711 (eval $ac_try) 2>&5
7175 ac_status=$? 6712 ac_status=$?
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); }; } && 6714 (exit $ac_status); }; } &&
7268 grep -v '^ *+' conftest.er1 >conftest.err 6805 grep -v '^ *+' conftest.er1 >conftest.err
7269 rm -f conftest.er1 6806 rm -f conftest.er1
7270 cat conftest.err >&5 6807 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && 6809 (exit $ac_status); } &&
7273 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6810 { ac_try='test -z "$ac_cxx_werror_flag"
6811 || test ! -s conftest.err'
7274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275 (eval $ac_try) 2>&5 6813 (eval $ac_try) 2>&5
7276 ac_status=$? 6814 ac_status=$?
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); }; } && 6816 (exit $ac_status); }; } &&
7417 grep -v '^ *+' conftest.er1 >conftest.err 6955 grep -v '^ *+' conftest.er1 >conftest.err
7418 rm -f conftest.er1 6956 rm -f conftest.er1
7419 cat conftest.err >&5 6957 cat conftest.err >&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); } && 6959 (exit $ac_status); } &&
7422 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 6960 { ac_try='test -z "$ac_cxx_werror_flag"
6961 || test ! -s conftest.err'
7423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7424 (eval $ac_try) 2>&5 6963 (eval $ac_try) 2>&5
7425 ac_status=$? 6964 ac_status=$?
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); }; } && 6966 (exit $ac_status); }; } &&
7482 grep -v '^ *+' conftest.er1 >conftest.err 7021 grep -v '^ *+' conftest.er1 >conftest.err
7483 rm -f conftest.er1 7022 rm -f conftest.er1
7484 cat conftest.err >&5 7023 cat conftest.err >&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); } && 7025 (exit $ac_status); } &&
7487 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7026 { ac_try='test -z "$ac_cxx_werror_flag"
7027 || test ! -s conftest.err'
7488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7489 (eval $ac_try) 2>&5 7029 (eval $ac_try) 2>&5
7490 ac_status=$? 7030 ac_status=$?
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); }; } && 7032 (exit $ac_status); }; } &&
7505fi 7045fi
7506rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7046rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7507fi 7047fi
7508echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 7048echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7509echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6 7049echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6
7510
7511if test -n "$GCC"; then
7512 LDARG="-Wl,"
7513else
7514 LDARG=""
7515fi
7516R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g'
7517
7518ac_save_CFLAGS=$CFLAGS
7519ac_save_LIBS=$LIBS
7520CFLAGS="$CFLAGS $X_CFLAGS"
7521LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7522echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5
7523echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6
7524if test "${rxvt_cv_rpath+set}" = set; then
7525 echo $ECHO_N "(cached) $ECHO_C" >&6
7526else
7527 if test "$cross_compiling" = yes; then
7528 { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5
7529echo "$as_me: WARNING: You may need to check the LIBS line" >&2;}
7530else
7531 cat >conftest.$ac_ext <<_ACEOF
7532/* confdefs.h. */
7533_ACEOF
7534cat confdefs.h >>conftest.$ac_ext
7535cat >>conftest.$ac_ext <<_ACEOF
7536/* end confdefs.h. */
7537
7538main()
7539{
7540 exit(0);
7541 (void) XOpenDisplay("foobar");
7542}
7543_ACEOF
7544rm -f conftest$ac_exeext
7545if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7546 (eval $ac_link) 2>&5
7547 ac_status=$?
7548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7551 (eval $ac_try) 2>&5
7552 ac_status=$?
7553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554 (exit $ac_status); }; }; then
7555 rxvt_cv_rpath=yes
7556else
7557 echo "$as_me: program exited with status $ac_status" >&5
7558echo "$as_me: failed program was:" >&5
7559sed 's/^/| /' conftest.$ac_ext >&5
7560
7561( exit $ac_status )
7562rxvt_cv_rpath=no
7563fi
7564rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7565fi
7566fi
7567echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5
7568echo "${ECHO_T}$rxvt_cv_rpath" >&6
7569if test x$rxvt_cv_rpath != xyes; then
7570 R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g'
7571 LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7572 echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5
7573echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6
7574if test "${rxvt_cv_R+set}" = set; then
7575 echo $ECHO_N "(cached) $ECHO_C" >&6
7576else
7577 if test "$cross_compiling" = yes; then
7578 rxvt_cv_R=no
7579else
7580 cat >conftest.$ac_ext <<_ACEOF
7581/* confdefs.h. */
7582_ACEOF
7583cat confdefs.h >>conftest.$ac_ext
7584cat >>conftest.$ac_ext <<_ACEOF
7585/* end confdefs.h. */
7586
7587main()
7588{
7589 exit(0);
7590 (void) XOpenDisplay("foobar");
7591}
7592_ACEOF
7593rm -f conftest$ac_exeext
7594if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7595 (eval $ac_link) 2>&5
7596 ac_status=$?
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7600 (eval $ac_try) 2>&5
7601 ac_status=$?
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); }; }; then
7604 rxvt_cv_R=yes
7605else
7606 echo "$as_me: program exited with status $ac_status" >&5
7607echo "$as_me: failed program was:" >&5
7608sed 's/^/| /' conftest.$ac_ext >&5
7609
7610( exit $ac_status )
7611rxvt_cv_R=no
7612fi
7613rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7614fi
7615fi
7616echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5
7617echo "${ECHO_T}$rxvt_cv_R" >&6
7618 if test x$rxvt_cv_R != xyes; then
7619 LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
7620 fi
7621fi
7622 7050
7623echo "$as_me:$LINENO: checking for XPointer" >&5 7051echo "$as_me:$LINENO: checking for XPointer" >&5
7624echo $ECHO_N "checking for XPointer... $ECHO_C" >&6 7052echo $ECHO_N "checking for XPointer... $ECHO_C" >&6
7625if test "${rxvt_cv_xpointer+set}" = set; then 7053if test "${rxvt_cv_xpointer+set}" = set; then
7626 echo $ECHO_N "(cached) $ECHO_C" >&6 7054 echo $ECHO_N "(cached) $ECHO_C" >&6
7647 grep -v '^ *+' conftest.er1 >conftest.err 7075 grep -v '^ *+' conftest.er1 >conftest.err
7648 rm -f conftest.er1 7076 rm -f conftest.er1
7649 cat conftest.err >&5 7077 cat conftest.err >&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); } && 7079 (exit $ac_status); } &&
7652 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7080 { ac_try='test -z "$ac_cxx_werror_flag"
7081 || test ! -s conftest.err'
7653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7654 (eval $ac_try) 2>&5 7083 (eval $ac_try) 2>&5
7655 ac_status=$? 7084 ac_status=$?
7656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7657 (exit $ac_status); }; } && 7086 (exit $ac_status); }; } &&
7677cat >>confdefs.h <<\_ACEOF 7106cat >>confdefs.h <<\_ACEOF
7678#define HAVE_XPOINTER 1 7107#define HAVE_XPOINTER 1
7679_ACEOF 7108_ACEOF
7680 7109
7681fi 7110fi
7682LIBS=$ac_save_LIBS
7683CFLAGS=$ac_save_CFLAGS
7684 7111
7112echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7113echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6
7114if test "${rxvt_xlib_illegal_access+set}" = set; then
7115 echo $ECHO_N "(cached) $ECHO_C" >&6
7116else
7117 cat >conftest.$ac_ext <<_ACEOF
7118/* confdefs.h. */
7119_ACEOF
7120cat confdefs.h >>conftest.$ac_ext
7121cat >>conftest.$ac_ext <<_ACEOF
7122/* end confdefs.h. */
7123
7124#define XLIB_ILLEGAL_ACCESS
7125#include <X11/Xlib.h>
7126
7127int
7128main ()
7129{
7130
7131 Display *dpy;
7132 dpy->xdefaults = (char *)0;
7133
7134 ;
7135 return 0;
7136}
7137_ACEOF
7138rm -f conftest.$ac_objext
7139if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7140 (eval $ac_compile) 2>conftest.er1
7141 ac_status=$?
7142 grep -v '^ *+' conftest.er1 >conftest.err
7143 rm -f conftest.er1
7144 cat conftest.err >&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } &&
7147 { ac_try='test -z "$ac_cxx_werror_flag"
7148 || test ! -s conftest.err'
7149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7150 (eval $ac_try) 2>&5
7151 ac_status=$?
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); }; } &&
7154 { ac_try='test -s conftest.$ac_objext'
7155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7156 (eval $ac_try) 2>&5
7157 ac_status=$?
7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159 (exit $ac_status); }; }; then
7160 rxvt_xlib_illegal_access=yes
7161else
7162 echo "$as_me: failed program was:" >&5
7163sed 's/^/| /' conftest.$ac_ext >&5
7164
7165rxvt_xlib_illegal_access=no
7166
7167fi
7168rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7169fi
7170echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5
7171echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6
7172if test x$rxvt_xlib_illegal_access = xyes; then
7173
7174cat >>confdefs.h <<\_ACEOF
7175#define XLIB_ILLEGAL_ACCESS 1
7176_ACEOF
7177
7178fi
7685 7179
7686echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7180echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7687echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7181echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7688if test "${ac_cv_c_const+set}" = set; then 7182if test "${ac_cv_c_const+set}" = set; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6 7183 echo $ECHO_N "(cached) $ECHO_C" >&6
7756 grep -v '^ *+' conftest.er1 >conftest.err 7250 grep -v '^ *+' conftest.er1 >conftest.err
7757 rm -f conftest.er1 7251 rm -f conftest.er1
7758 cat conftest.err >&5 7252 cat conftest.err >&5
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); } && 7254 (exit $ac_status); } &&
7761 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7255 { ac_try='test -z "$ac_cxx_werror_flag"
7256 || test ! -s conftest.err'
7762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7763 (eval $ac_try) 2>&5 7258 (eval $ac_try) 2>&5
7764 ac_status=$? 7259 ac_status=$?
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); }; } && 7261 (exit $ac_status); }; } &&
7816 grep -v '^ *+' conftest.er1 >conftest.err 7311 grep -v '^ *+' conftest.er1 >conftest.err
7817 rm -f conftest.er1 7312 rm -f conftest.er1
7818 cat conftest.err >&5 7313 cat conftest.err >&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); } && 7315 (exit $ac_status); } &&
7821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7316 { ac_try='test -z "$ac_cxx_werror_flag"
7317 || test ! -s conftest.err'
7822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7823 (eval $ac_try) 2>&5 7319 (eval $ac_try) 2>&5
7824 ac_status=$? 7320 ac_status=$?
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); }; } && 7322 (exit $ac_status); }; } &&
7891 grep -v '^ *+' conftest.er1 >conftest.err 7387 grep -v '^ *+' conftest.er1 >conftest.err
7892 rm -f conftest.er1 7388 rm -f conftest.er1
7893 cat conftest.err >&5 7389 cat conftest.err >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); } && 7391 (exit $ac_status); } &&
7896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7392 { ac_try='test -z "$ac_cxx_werror_flag"
7393 || test ! -s conftest.err'
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7898 (eval $ac_try) 2>&5 7395 (eval $ac_try) 2>&5
7899 ac_status=$? 7396 ac_status=$?
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; } && 7398 (exit $ac_status); }; } &&
7956 grep -v '^ *+' conftest.er1 >conftest.err 7453 grep -v '^ *+' conftest.er1 >conftest.err
7957 rm -f conftest.er1 7454 rm -f conftest.er1
7958 cat conftest.err >&5 7455 cat conftest.err >&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); } && 7457 (exit $ac_status); } &&
7961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7458 { ac_try='test -z "$ac_cxx_werror_flag"
7459 || test ! -s conftest.err'
7962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7963 (eval $ac_try) 2>&5 7461 (eval $ac_try) 2>&5
7964 ac_status=$? 7462 ac_status=$?
7965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966 (exit $ac_status); }; } && 7464 (exit $ac_status); }; } &&
8060 grep -v '^ *+' conftest.er1 >conftest.err 7558 grep -v '^ *+' conftest.er1 >conftest.err
8061 rm -f conftest.er1 7559 rm -f conftest.er1
8062 cat conftest.err >&5 7560 cat conftest.err >&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); } && 7562 (exit $ac_status); } &&
8065 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7563 { ac_try='test -z "$ac_cxx_werror_flag"
7564 || test ! -s conftest.err'
8066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8067 (eval $ac_try) 2>&5 7566 (eval $ac_try) 2>&5
8068 ac_status=$? 7567 ac_status=$?
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); }; } && 7569 (exit $ac_status); }; } &&
8122 grep -v '^ *+' conftest.er1 >conftest.err 7621 grep -v '^ *+' conftest.er1 >conftest.err
8123 rm -f conftest.er1 7622 rm -f conftest.er1
8124 cat conftest.err >&5 7623 cat conftest.err >&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); } && 7625 (exit $ac_status); } &&
8127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7626 { ac_try='test -z "$ac_cxx_werror_flag"
7627 || test ! -s conftest.err'
8128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8129 (eval $ac_try) 2>&5 7629 (eval $ac_try) 2>&5
8130 ac_status=$? 7630 ac_status=$?
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); }; } && 7632 (exit $ac_status); }; } &&
8162 grep -v '^ *+' conftest.er1 >conftest.err 7662 grep -v '^ *+' conftest.er1 >conftest.err
8163 rm -f conftest.er1 7663 rm -f conftest.er1
8164 cat conftest.err >&5 7664 cat conftest.err >&5
8165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8166 (exit $ac_status); } && 7666 (exit $ac_status); } &&
8167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7667 { ac_try='test -z "$ac_cxx_werror_flag"
7668 || test ! -s conftest.err'
8168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8169 (eval $ac_try) 2>&5 7670 (eval $ac_try) 2>&5
8170 ac_status=$? 7671 ac_status=$?
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); }; } && 7673 (exit $ac_status); }; } &&
8218 grep -v '^ *+' conftest.er1 >conftest.err 7719 grep -v '^ *+' conftest.er1 >conftest.err
8219 rm -f conftest.er1 7720 rm -f conftest.er1
8220 cat conftest.err >&5 7721 cat conftest.err >&5
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); } && 7723 (exit $ac_status); } &&
8223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7724 { ac_try='test -z "$ac_cxx_werror_flag"
7725 || test ! -s conftest.err'
8224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 (eval $ac_try) 2>&5 7727 (eval $ac_try) 2>&5
8226 ac_status=$? 7728 ac_status=$?
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); }; } && 7730 (exit $ac_status); }; } &&
8258 grep -v '^ *+' conftest.er1 >conftest.err 7760 grep -v '^ *+' conftest.er1 >conftest.err
8259 rm -f conftest.er1 7761 rm -f conftest.er1
8260 cat conftest.err >&5 7762 cat conftest.err >&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); } && 7764 (exit $ac_status); } &&
8263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7765 { ac_try='test -z "$ac_cxx_werror_flag"
7766 || test ! -s conftest.err'
8264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8265 (eval $ac_try) 2>&5 7768 (eval $ac_try) 2>&5
8266 ac_status=$? 7769 ac_status=$?
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); }; } && 7771 (exit $ac_status); }; } &&
8322 grep -v '^ *+' conftest.er1 >conftest.err 7825 grep -v '^ *+' conftest.er1 >conftest.err
8323 rm -f conftest.er1 7826 rm -f conftest.er1
8324 cat conftest.err >&5 7827 cat conftest.err >&5
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); } && 7829 (exit $ac_status); } &&
8327 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7830 { ac_try='test -z "$ac_cxx_werror_flag"
7831 || test ! -s conftest.err'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329 (eval $ac_try) 2>&5 7833 (eval $ac_try) 2>&5
8330 ac_status=$? 7834 ac_status=$?
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; } && 7836 (exit $ac_status); }; } &&
8353See \`config.log' for more details." >&2;} 7857See \`config.log' for more details." >&2;}
8354 { (exit 1); exit 1; }; } ;; 7858 { (exit 1); exit 1; }; } ;;
8355esac 7859esac
8356else 7860else
8357 if test "$cross_compiling" = yes; then 7861 if test "$cross_compiling" = yes; then
8358 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 7862 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8359echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 7863See \`config.log' for more details." >&5
7864echo "$as_me: error: cannot run test program while cross compiling
7865See \`config.log' for more details." >&2;}
8360 { (exit 1); exit 1; }; } 7866 { (exit 1); exit 1; }; }
8361else 7867else
8362 cat >conftest.$ac_ext <<_ACEOF 7868 cat >conftest.$ac_ext <<_ACEOF
8363/* confdefs.h. */ 7869/* confdefs.h. */
8364_ACEOF 7870_ACEOF
8466 grep -v '^ *+' conftest.er1 >conftest.err 7972 grep -v '^ *+' conftest.er1 >conftest.err
8467 rm -f conftest.er1 7973 rm -f conftest.er1
8468 cat conftest.err >&5 7974 cat conftest.err >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); } && 7976 (exit $ac_status); } &&
8471 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 7977 { ac_try='test -z "$ac_cxx_werror_flag"
7978 || test ! -s conftest.err'
8472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8473 (eval $ac_try) 2>&5 7980 (eval $ac_try) 2>&5
8474 ac_status=$? 7981 ac_status=$?
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); }; } && 7983 (exit $ac_status); }; } &&
8528 grep -v '^ *+' conftest.er1 >conftest.err 8035 grep -v '^ *+' conftest.er1 >conftest.err
8529 rm -f conftest.er1 8036 rm -f conftest.er1
8530 cat conftest.err >&5 8037 cat conftest.err >&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); } && 8039 (exit $ac_status); } &&
8533 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8040 { ac_try='test -z "$ac_cxx_werror_flag"
8041 || test ! -s conftest.err'
8534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535 (eval $ac_try) 2>&5 8043 (eval $ac_try) 2>&5
8536 ac_status=$? 8044 ac_status=$?
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }; } && 8046 (exit $ac_status); }; } &&
8568 grep -v '^ *+' conftest.er1 >conftest.err 8076 grep -v '^ *+' conftest.er1 >conftest.err
8569 rm -f conftest.er1 8077 rm -f conftest.er1
8570 cat conftest.err >&5 8078 cat conftest.err >&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); } && 8080 (exit $ac_status); } &&
8573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8081 { ac_try='test -z "$ac_cxx_werror_flag"
8082 || test ! -s conftest.err'
8574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8575 (eval $ac_try) 2>&5 8084 (eval $ac_try) 2>&5
8576 ac_status=$? 8085 ac_status=$?
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); }; } && 8087 (exit $ac_status); }; } &&
8624 grep -v '^ *+' conftest.er1 >conftest.err 8133 grep -v '^ *+' conftest.er1 >conftest.err
8625 rm -f conftest.er1 8134 rm -f conftest.er1
8626 cat conftest.err >&5 8135 cat conftest.err >&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); } && 8137 (exit $ac_status); } &&
8629 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8138 { ac_try='test -z "$ac_cxx_werror_flag"
8139 || test ! -s conftest.err'
8630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8631 (eval $ac_try) 2>&5 8141 (eval $ac_try) 2>&5
8632 ac_status=$? 8142 ac_status=$?
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); }; } && 8144 (exit $ac_status); }; } &&
8664 grep -v '^ *+' conftest.er1 >conftest.err 8174 grep -v '^ *+' conftest.er1 >conftest.err
8665 rm -f conftest.er1 8175 rm -f conftest.er1
8666 cat conftest.err >&5 8176 cat conftest.err >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } && 8178 (exit $ac_status); } &&
8669 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8179 { ac_try='test -z "$ac_cxx_werror_flag"
8180 || test ! -s conftest.err'
8670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8671 (eval $ac_try) 2>&5 8182 (eval $ac_try) 2>&5
8672 ac_status=$? 8183 ac_status=$?
8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674 (exit $ac_status); }; } && 8185 (exit $ac_status); }; } &&
8728 grep -v '^ *+' conftest.er1 >conftest.err 8239 grep -v '^ *+' conftest.er1 >conftest.err
8729 rm -f conftest.er1 8240 rm -f conftest.er1
8730 cat conftest.err >&5 8241 cat conftest.err >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); } && 8243 (exit $ac_status); } &&
8733 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8244 { ac_try='test -z "$ac_cxx_werror_flag"
8245 || test ! -s conftest.err'
8734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8735 (eval $ac_try) 2>&5 8247 (eval $ac_try) 2>&5
8736 ac_status=$? 8248 ac_status=$?
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); }; } && 8250 (exit $ac_status); }; } &&
8759See \`config.log' for more details." >&2;} 8271See \`config.log' for more details." >&2;}
8760 { (exit 1); exit 1; }; } ;; 8272 { (exit 1); exit 1; }; } ;;
8761esac 8273esac
8762else 8274else
8763 if test "$cross_compiling" = yes; then 8275 if test "$cross_compiling" = yes; then
8764 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8276 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8765echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8277See \`config.log' for more details." >&5
8278echo "$as_me: error: cannot run test program while cross compiling
8279See \`config.log' for more details." >&2;}
8766 { (exit 1); exit 1; }; } 8280 { (exit 1); exit 1; }; }
8767else 8281else
8768 cat >conftest.$ac_ext <<_ACEOF 8282 cat >conftest.$ac_ext <<_ACEOF
8769/* confdefs.h. */ 8283/* confdefs.h. */
8770_ACEOF 8284_ACEOF
8872 grep -v '^ *+' conftest.er1 >conftest.err 8386 grep -v '^ *+' conftest.er1 >conftest.err
8873 rm -f conftest.er1 8387 rm -f conftest.er1
8874 cat conftest.err >&5 8388 cat conftest.err >&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); } && 8390 (exit $ac_status); } &&
8877 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8391 { ac_try='test -z "$ac_cxx_werror_flag"
8392 || test ! -s conftest.err'
8878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8879 (eval $ac_try) 2>&5 8394 (eval $ac_try) 2>&5
8880 ac_status=$? 8395 ac_status=$?
8881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882 (exit $ac_status); }; } && 8397 (exit $ac_status); }; } &&
8934 grep -v '^ *+' conftest.er1 >conftest.err 8449 grep -v '^ *+' conftest.er1 >conftest.err
8935 rm -f conftest.er1 8450 rm -f conftest.er1
8936 cat conftest.err >&5 8451 cat conftest.err >&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 (exit $ac_status); } && 8453 (exit $ac_status); } &&
8939 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8454 { ac_try='test -z "$ac_cxx_werror_flag"
8455 || test ! -s conftest.err'
8940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8941 (eval $ac_try) 2>&5 8457 (eval $ac_try) 2>&5
8942 ac_status=$? 8458 ac_status=$?
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 (exit $ac_status); }; } && 8460 (exit $ac_status); }; } &&
8974 grep -v '^ *+' conftest.er1 >conftest.err 8490 grep -v '^ *+' conftest.er1 >conftest.err
8975 rm -f conftest.er1 8491 rm -f conftest.er1
8976 cat conftest.err >&5 8492 cat conftest.err >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); } && 8494 (exit $ac_status); } &&
8979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8495 { ac_try='test -z "$ac_cxx_werror_flag"
8496 || test ! -s conftest.err'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981 (eval $ac_try) 2>&5 8498 (eval $ac_try) 2>&5
8982 ac_status=$? 8499 ac_status=$?
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; } && 8501 (exit $ac_status); }; } &&
9030 grep -v '^ *+' conftest.er1 >conftest.err 8547 grep -v '^ *+' conftest.er1 >conftest.err
9031 rm -f conftest.er1 8548 rm -f conftest.er1
9032 cat conftest.err >&5 8549 cat conftest.err >&5
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); } && 8551 (exit $ac_status); } &&
9035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8552 { ac_try='test -z "$ac_cxx_werror_flag"
8553 || test ! -s conftest.err'
9036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9037 (eval $ac_try) 2>&5 8555 (eval $ac_try) 2>&5
9038 ac_status=$? 8556 ac_status=$?
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); }; } && 8558 (exit $ac_status); }; } &&
9070 grep -v '^ *+' conftest.er1 >conftest.err 8588 grep -v '^ *+' conftest.er1 >conftest.err
9071 rm -f conftest.er1 8589 rm -f conftest.er1
9072 cat conftest.err >&5 8590 cat conftest.err >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); } && 8592 (exit $ac_status); } &&
9075 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8593 { ac_try='test -z "$ac_cxx_werror_flag"
8594 || test ! -s conftest.err'
9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077 (eval $ac_try) 2>&5 8596 (eval $ac_try) 2>&5
9078 ac_status=$? 8597 ac_status=$?
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; } && 8599 (exit $ac_status); }; } &&
9134 grep -v '^ *+' conftest.er1 >conftest.err 8653 grep -v '^ *+' conftest.er1 >conftest.err
9135 rm -f conftest.er1 8654 rm -f conftest.er1
9136 cat conftest.err >&5 8655 cat conftest.err >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); } && 8657 (exit $ac_status); } &&
9139 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8658 { ac_try='test -z "$ac_cxx_werror_flag"
8659 || test ! -s conftest.err'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9141 (eval $ac_try) 2>&5 8661 (eval $ac_try) 2>&5
9142 ac_status=$? 8662 ac_status=$?
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; } && 8664 (exit $ac_status); }; } &&
9165See \`config.log' for more details." >&2;} 8685See \`config.log' for more details." >&2;}
9166 { (exit 1); exit 1; }; } ;; 8686 { (exit 1); exit 1; }; } ;;
9167esac 8687esac
9168else 8688else
9169 if test "$cross_compiling" = yes; then 8689 if test "$cross_compiling" = yes; then
9170 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 8690 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9171echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 8691See \`config.log' for more details." >&5
8692echo "$as_me: error: cannot run test program while cross compiling
8693See \`config.log' for more details." >&2;}
9172 { (exit 1); exit 1; }; } 8694 { (exit 1); exit 1; }; }
9173else 8695else
9174 cat >conftest.$ac_ext <<_ACEOF 8696 cat >conftest.$ac_ext <<_ACEOF
9175/* confdefs.h. */ 8697/* confdefs.h. */
9176_ACEOF 8698_ACEOF
9278 grep -v '^ *+' conftest.er1 >conftest.err 8800 grep -v '^ *+' conftest.er1 >conftest.err
9279 rm -f conftest.er1 8801 rm -f conftest.er1
9280 cat conftest.err >&5 8802 cat conftest.err >&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); } && 8804 (exit $ac_status); } &&
9283 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8805 { ac_try='test -z "$ac_cxx_werror_flag"
8806 || test ! -s conftest.err'
9284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9285 (eval $ac_try) 2>&5 8808 (eval $ac_try) 2>&5
9286 ac_status=$? 8809 ac_status=$?
9287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9288 (exit $ac_status); }; } && 8811 (exit $ac_status); }; } &&
9340 grep -v '^ *+' conftest.er1 >conftest.err 8863 grep -v '^ *+' conftest.er1 >conftest.err
9341 rm -f conftest.er1 8864 rm -f conftest.er1
9342 cat conftest.err >&5 8865 cat conftest.err >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); } && 8867 (exit $ac_status); } &&
9345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8868 { ac_try='test -z "$ac_cxx_werror_flag"
8869 || test ! -s conftest.err'
9346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9347 (eval $ac_try) 2>&5 8871 (eval $ac_try) 2>&5
9348 ac_status=$? 8872 ac_status=$?
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); }; } && 8874 (exit $ac_status); }; } &&
9380 grep -v '^ *+' conftest.er1 >conftest.err 8904 grep -v '^ *+' conftest.er1 >conftest.err
9381 rm -f conftest.er1 8905 rm -f conftest.er1
9382 cat conftest.err >&5 8906 cat conftest.err >&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); } && 8908 (exit $ac_status); } &&
9385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8909 { ac_try='test -z "$ac_cxx_werror_flag"
8910 || test ! -s conftest.err'
9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9387 (eval $ac_try) 2>&5 8912 (eval $ac_try) 2>&5
9388 ac_status=$? 8913 ac_status=$?
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; } && 8915 (exit $ac_status); }; } &&
9436 grep -v '^ *+' conftest.er1 >conftest.err 8961 grep -v '^ *+' conftest.er1 >conftest.err
9437 rm -f conftest.er1 8962 rm -f conftest.er1
9438 cat conftest.err >&5 8963 cat conftest.err >&5
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); } && 8965 (exit $ac_status); } &&
9441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 8966 { ac_try='test -z "$ac_cxx_werror_flag"
8967 || test ! -s conftest.err'
9442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443 (eval $ac_try) 2>&5 8969 (eval $ac_try) 2>&5
9444 ac_status=$? 8970 ac_status=$?
9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 (exit $ac_status); }; } && 8972 (exit $ac_status); }; } &&
9476 grep -v '^ *+' conftest.er1 >conftest.err 9002 grep -v '^ *+' conftest.er1 >conftest.err
9477 rm -f conftest.er1 9003 rm -f conftest.er1
9478 cat conftest.err >&5 9004 cat conftest.err >&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); } && 9006 (exit $ac_status); } &&
9481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9007 { ac_try='test -z "$ac_cxx_werror_flag"
9008 || test ! -s conftest.err'
9482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9483 (eval $ac_try) 2>&5 9010 (eval $ac_try) 2>&5
9484 ac_status=$? 9011 ac_status=$?
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); }; } && 9013 (exit $ac_status); }; } &&
9540 grep -v '^ *+' conftest.er1 >conftest.err 9067 grep -v '^ *+' conftest.er1 >conftest.err
9541 rm -f conftest.er1 9068 rm -f conftest.er1
9542 cat conftest.err >&5 9069 cat conftest.err >&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); } && 9071 (exit $ac_status); } &&
9545 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9072 { ac_try='test -z "$ac_cxx_werror_flag"
9073 || test ! -s conftest.err'
9546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9547 (eval $ac_try) 2>&5 9075 (eval $ac_try) 2>&5
9548 ac_status=$? 9076 ac_status=$?
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 (exit $ac_status); }; } && 9078 (exit $ac_status); }; } &&
9571See \`config.log' for more details." >&2;} 9099See \`config.log' for more details." >&2;}
9572 { (exit 1); exit 1; }; } ;; 9100 { (exit 1); exit 1; }; } ;;
9573esac 9101esac
9574else 9102else
9575 if test "$cross_compiling" = yes; then 9103 if test "$cross_compiling" = yes; then
9576 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 9104 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9577echo "$as_me: error: internal error: not reached in cross-compile" >&2;} 9105See \`config.log' for more details." >&5
9106echo "$as_me: error: cannot run test program while cross compiling
9107See \`config.log' for more details." >&2;}
9578 { (exit 1); exit 1; }; } 9108 { (exit 1); exit 1; }; }
9579else 9109else
9580 cat >conftest.$ac_ext <<_ACEOF 9110 cat >conftest.$ac_ext <<_ACEOF
9581/* confdefs.h. */ 9111/* confdefs.h. */
9582_ACEOF 9112_ACEOF
9683 grep -v '^ *+' conftest.er1 >conftest.err 9213 grep -v '^ *+' conftest.er1 >conftest.err
9684 rm -f conftest.er1 9214 rm -f conftest.er1
9685 cat conftest.err >&5 9215 cat conftest.err >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } && 9217 (exit $ac_status); } &&
9688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9218 { ac_try='test -z "$ac_cxx_werror_flag"
9219 || test ! -s conftest.err'
9689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9690 (eval $ac_try) 2>&5 9221 (eval $ac_try) 2>&5
9691 ac_status=$? 9222 ac_status=$?
9692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693 (exit $ac_status); }; } && 9224 (exit $ac_status); }; } &&
9765 grep -v '^ *+' conftest.er1 >conftest.err 9296 grep -v '^ *+' conftest.er1 >conftest.err
9766 rm -f conftest.er1 9297 rm -f conftest.er1
9767 cat conftest.err >&5 9298 cat conftest.err >&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); } && 9300 (exit $ac_status); } &&
9770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9301 { ac_try='test -z "$ac_cxx_werror_flag"
9302 || test ! -s conftest.err'
9771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9772 (eval $ac_try) 2>&5 9304 (eval $ac_try) 2>&5
9773 ac_status=$? 9305 ac_status=$?
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); }; } && 9307 (exit $ac_status); }; } &&
9847 grep -v '^ *+' conftest.er1 >conftest.err 9379 grep -v '^ *+' conftest.er1 >conftest.err
9848 rm -f conftest.er1 9380 rm -f conftest.er1
9849 cat conftest.err >&5 9381 cat conftest.err >&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); } && 9383 (exit $ac_status); } &&
9852 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9384 { ac_try='test -z "$ac_cxx_werror_flag"
9385 || test ! -s conftest.err'
9853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9854 (eval $ac_try) 2>&5 9387 (eval $ac_try) 2>&5
9855 ac_status=$? 9388 ac_status=$?
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); }; } && 9390 (exit $ac_status); }; } &&
9929 grep -v '^ *+' conftest.er1 >conftest.err 9462 grep -v '^ *+' conftest.er1 >conftest.err
9930 rm -f conftest.er1 9463 rm -f conftest.er1
9931 cat conftest.err >&5 9464 cat conftest.err >&5
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); } && 9466 (exit $ac_status); } &&
9934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9467 { ac_try='test -z "$ac_cxx_werror_flag"
9468 || test ! -s conftest.err'
9935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9936 (eval $ac_try) 2>&5 9470 (eval $ac_try) 2>&5
9937 ac_status=$? 9471 ac_status=$?
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); }; } && 9473 (exit $ac_status); }; } &&
10041 grep -v '^ *+' conftest.er1 >conftest.err 9575 grep -v '^ *+' conftest.er1 >conftest.err
10042 rm -f conftest.er1 9576 rm -f conftest.er1
10043 cat conftest.err >&5 9577 cat conftest.err >&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); } && 9579 (exit $ac_status); } &&
10046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9580 { ac_try='test -z "$ac_cxx_werror_flag"
9581 || test ! -s conftest.err'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5 9583 (eval $ac_try) 2>&5
10049 ac_status=$? 9584 ac_status=$?
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; } && 9586 (exit $ac_status); }; } &&
10068echo "${ECHO_T}$ac_cv_type_signal" >&6 9603echo "${ECHO_T}$ac_cv_type_signal" >&6
10069 9604
10070cat >>confdefs.h <<_ACEOF 9605cat >>confdefs.h <<_ACEOF
10071#define RETSIGTYPE $ac_cv_type_signal 9606#define RETSIGTYPE $ac_cv_type_signal
10072_ACEOF 9607_ACEOF
10073
10074
10075
10076
10077 9608
10078 9609
10079 9610
10080 9611
10081 9612
10082 9613
10083for ac_func in \ 9614for ac_func in \
10084 unsetenv \ 9615 unsetenv \
10085 setutent \ 9616 setutent \
10086 seteuid \
10087 setresuid \
10088 setreuid \
10089 on_exit \ 9617 on_exit \
10090 nanosleep \
10091 9618
10092do 9619do
10093as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9620as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10094echo "$as_me:$LINENO: checking for $ac_func" >&5 9621echo "$as_me:$LINENO: checking for $ac_func" >&5
10095echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9622echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10154 grep -v '^ *+' conftest.er1 >conftest.err 9681 grep -v '^ *+' conftest.er1 >conftest.err
10155 rm -f conftest.er1 9682 rm -f conftest.er1
10156 cat conftest.err >&5 9683 cat conftest.err >&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); } && 9685 (exit $ac_status); } &&
10159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9686 { ac_try='test -z "$ac_cxx_werror_flag"
9687 || test ! -s conftest.err'
10160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10161 (eval $ac_try) 2>&5 9689 (eval $ac_try) 2>&5
10162 ac_status=$? 9690 ac_status=$?
10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10164 (exit $ac_status); }; } && 9692 (exit $ac_status); }; } &&
10187 9715
10188fi 9716fi
10189done 9717done
10190 9718
10191 9719
9720
9721support_utmp=yes
9722support_wtmp=yes
9723support_lastlog=yes
9724
9725# Check whether --enable-utmp or --disable-utmp was given.
9726if test "${enable_utmp+set}" = set; then
9727 enableval="$enable_utmp"
9728 if test x$enableval = xyes -o x$enableval = xno; then
9729 support_utmp=$enableval
9730 fi
9731fi;
9732
9733# Check whether --enable-wtmp or --disable-wtmp was given.
9734if test "${enable_wtmp+set}" = set; then
9735 enableval="$enable_wtmp"
9736 if test x$enableval = xyes -o x$enableval = xno; then
9737 support_wtmp=$enableval
9738 fi
9739fi;
9740
9741# Check whether --enable-lastlog or --disable-lastlog was given.
9742if test "${enable_lastlog+set}" = set; then
9743 enableval="$enable_lastlog"
9744 if test x$enableval = xyes -o x$enableval = xno; then
9745 support_lastlog=$enableval
9746 fi
9747fi;
9748
9749if test x$support_utmp = xyes; then
9750
9751cat >>confdefs.h <<\_ACEOF
9752#define UTMP_SUPPORT 1
9753_ACEOF
9754
9755fi
9756if test x$support_wtmp = xyes; then
9757
9758cat >>confdefs.h <<\_ACEOF
9759#define WTMP_SUPPORT 1
9760_ACEOF
9761
9762fi
9763if test x$support_lastlog = xyes; then
9764
9765cat >>confdefs.h <<\_ACEOF
9766#define LASTLOG_SUPPORT 1
9767_ACEOF
9768
9769fi
10192 9770
10193 9771
10194 9772
10195 9773
10196for ac_func in \ 9774for ac_func in \
10263 grep -v '^ *+' conftest.er1 >conftest.err 9841 grep -v '^ *+' conftest.er1 >conftest.err
10264 rm -f conftest.er1 9842 rm -f conftest.er1
10265 cat conftest.err >&5 9843 cat conftest.err >&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); } && 9845 (exit $ac_status); } &&
10268 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9846 { ac_try='test -z "$ac_cxx_werror_flag"
9847 || test ! -s conftest.err'
10269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10270 (eval $ac_try) 2>&5 9849 (eval $ac_try) 2>&5
10271 ac_status=$? 9850 ac_status=$?
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); }; } && 9852 (exit $ac_status); }; } &&
10336 grep -v '^ *+' conftest.er1 >conftest.err 9915 grep -v '^ *+' conftest.er1 >conftest.err
10337 rm -f conftest.er1 9916 rm -f conftest.er1
10338 cat conftest.err >&5 9917 cat conftest.err >&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); } && 9919 (exit $ac_status); } &&
10341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 9920 { ac_try='test -z "$ac_cxx_werror_flag"
9921 || test ! -s conftest.err'
10342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343 (eval $ac_try) 2>&5 9923 (eval $ac_try) 2>&5
10344 ac_status=$? 9924 ac_status=$?
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; } && 9926 (exit $ac_status); }; } &&
10483 grep -v '^ *+' conftest.er1 >conftest.err 10063 grep -v '^ *+' conftest.er1 >conftest.err
10484 rm -f conftest.er1 10064 rm -f conftest.er1
10485 cat conftest.err >&5 10065 cat conftest.err >&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); } && 10067 (exit $ac_status); } &&
10488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10068 { ac_try='test -z "$ac_cxx_werror_flag"
10069 || test ! -s conftest.err'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5 10071 (eval $ac_try) 2>&5
10491 ac_status=$? 10072 ac_status=$?
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; } && 10074 (exit $ac_status); }; } &&
10592 10173
10593fi 10174fi
10594if test $ac_cv_header_utmp_h = yes; then 10175if test $ac_cv_header_utmp_h = yes; then
10595 echo "$as_me:$LINENO: checking for struct utmp" >&5 10176 echo "$as_me:$LINENO: checking for struct utmp" >&5
10596echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 10177echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6
10597if test "${rxvt_cv_struct_utmp+set}" = set; then 10178if test "${struct_utmp+set}" = set; then
10598 echo $ECHO_N "(cached) $ECHO_C" >&6 10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10599else 10180else
10600 cat >conftest.$ac_ext <<_ACEOF 10181 cat >conftest.$ac_ext <<_ACEOF
10601/* confdefs.h. */ 10182/* confdefs.h. */
10602_ACEOF 10183_ACEOF
10620 grep -v '^ *+' conftest.er1 >conftest.err 10201 grep -v '^ *+' conftest.er1 >conftest.err
10621 rm -f conftest.er1 10202 rm -f conftest.er1
10622 cat conftest.err >&5 10203 cat conftest.err >&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } && 10205 (exit $ac_status); } &&
10625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10206 { ac_try='test -z "$ac_cxx_werror_flag"
10207 || test ! -s conftest.err'
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5 10209 (eval $ac_try) 2>&5
10628 ac_status=$? 10210 ac_status=$?
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; } && 10212 (exit $ac_status); }; } &&
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5 10215 (eval $ac_try) 2>&5
10634 ac_status=$? 10216 ac_status=$?
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; }; then 10218 (exit $ac_status); }; }; then
10637 rxvt_cv_struct_utmp=yes 10219 struct_utmp=yes
10638else 10220else
10639 echo "$as_me: failed program was:" >&5 10221 echo "$as_me: failed program was:" >&5
10640sed 's/^/| /' conftest.$ac_ext >&5 10222sed 's/^/| /' conftest.$ac_ext >&5
10641 10223
10642rxvt_cv_struct_utmp=no 10224struct_utmp=no
10643fi 10225fi
10644rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10226rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10645fi 10227fi
10646echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 10228echo "$as_me:$LINENO: result: $struct_utmp" >&5
10647echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 10229echo "${ECHO_T}$struct_utmp" >&6
10648if test x$rxvt_cv_struct_utmp = xyes; then 10230if test x$struct_utmp = xyes; then
10649 10231
10650cat >>confdefs.h <<\_ACEOF 10232cat >>confdefs.h <<\_ACEOF
10651#define HAVE_STRUCT_UTMP 1 10233#define HAVE_STRUCT_UTMP 1
10652_ACEOF 10234_ACEOF
10653 10235
10654fi 10236fi
10655 10237
10656 10238
10657echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 10239echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5
10658echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 10240echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6
10659if test "${rxvt_cv_struct_utmp_host+set}" = set; then 10241if test "${struct_utmp_host+set}" = set; then
10660 echo $ECHO_N "(cached) $ECHO_C" >&6 10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10661else 10243else
10662 cat >conftest.$ac_ext <<_ACEOF 10244 cat >conftest.$ac_ext <<_ACEOF
10663/* confdefs.h. */ 10245/* confdefs.h. */
10664_ACEOF 10246_ACEOF
10682 grep -v '^ *+' conftest.er1 >conftest.err 10264 grep -v '^ *+' conftest.er1 >conftest.err
10683 rm -f conftest.er1 10265 rm -f conftest.er1
10684 cat conftest.err >&5 10266 cat conftest.err >&5
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); } && 10268 (exit $ac_status); } &&
10687 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10269 { ac_try='test -z "$ac_cxx_werror_flag"
10270 || test ! -s conftest.err'
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5 10272 (eval $ac_try) 2>&5
10690 ac_status=$? 10273 ac_status=$?
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; } && 10275 (exit $ac_status); }; } &&
10694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10695 (eval $ac_try) 2>&5 10278 (eval $ac_try) 2>&5
10696 ac_status=$? 10279 ac_status=$?
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); }; }; then 10281 (exit $ac_status); }; }; then
10699 rxvt_cv_struct_utmp_host=yes 10282 struct_utmp_host=yes
10700else 10283else
10701 echo "$as_me: failed program was:" >&5 10284 echo "$as_me: failed program was:" >&5
10702sed 's/^/| /' conftest.$ac_ext >&5 10285sed 's/^/| /' conftest.$ac_ext >&5
10703 10286
10704rxvt_cv_struct_utmp_host=no 10287struct_utmp_host=no
10705fi 10288fi
10706rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10289rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10707fi 10290fi
10708echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 10291echo "$as_me:$LINENO: result: $struct_utmp_host" >&5
10709echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 10292echo "${ECHO_T}$struct_utmp_host" >&6
10710if test x$rxvt_cv_struct_utmp_host = xyes; then 10293if test x$struct_utmp_host = xyes; then
10711 10294
10712cat >>confdefs.h <<\_ACEOF 10295cat >>confdefs.h <<\_ACEOF
10713#define HAVE_UTMP_HOST 1 10296#define HAVE_UTMP_HOST 1
10714_ACEOF 10297_ACEOF
10715 10298
10716fi 10299fi
10717 10300
10718echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 10301echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5
10719echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 10302echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6
10720if test "${rxvt_cv_struct_utmp_pid+set}" = set; then 10303if test "${struct_utmp_pid+set}" = set; then
10721 echo $ECHO_N "(cached) $ECHO_C" >&6 10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10722else 10305else
10723 cat >conftest.$ac_ext <<_ACEOF 10306 cat >conftest.$ac_ext <<_ACEOF
10724/* confdefs.h. */ 10307/* confdefs.h. */
10725_ACEOF 10308_ACEOF
10743 grep -v '^ *+' conftest.er1 >conftest.err 10326 grep -v '^ *+' conftest.er1 >conftest.err
10744 rm -f conftest.er1 10327 rm -f conftest.er1
10745 cat conftest.err >&5 10328 cat conftest.err >&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); } && 10330 (exit $ac_status); } &&
10748 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10331 { ac_try='test -z "$ac_cxx_werror_flag"
10332 || test ! -s conftest.err'
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5 10334 (eval $ac_try) 2>&5
10751 ac_status=$? 10335 ac_status=$?
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; } && 10337 (exit $ac_status); }; } &&
10755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10756 (eval $ac_try) 2>&5 10340 (eval $ac_try) 2>&5
10757 ac_status=$? 10341 ac_status=$?
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); }; }; then 10343 (exit $ac_status); }; }; then
10760 rxvt_cv_struct_utmp_pid=yes 10344 struct_utmp_pid=yes
10761else 10345else
10762 echo "$as_me: failed program was:" >&5 10346 echo "$as_me: failed program was:" >&5
10763sed 's/^/| /' conftest.$ac_ext >&5 10347sed 's/^/| /' conftest.$ac_ext >&5
10764 10348
10765rxvt_cv_struct_utmp_pid=no 10349struct_utmp_pid=no
10766fi 10350fi
10767rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10351rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10768fi 10352fi
10769echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 10353echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5
10770echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 10354echo "${ECHO_T}$struct_utmp_pid" >&6
10771if test x$rxvt_cv_struct_utmp_pid = xyes; then 10355if test x$struct_utmp_pid = xyes; then
10772 10356
10773cat >>confdefs.h <<\_ACEOF 10357cat >>confdefs.h <<\_ACEOF
10774#define HAVE_UTMP_PID 1 10358#define HAVE_UTMP_PID 1
10775_ACEOF 10359_ACEOF
10776 10360
10808 grep -v '^ *+' conftest.er1 >conftest.err 10392 grep -v '^ *+' conftest.er1 >conftest.err
10809 rm -f conftest.er1 10393 rm -f conftest.er1
10810 cat conftest.err >&5 10394 cat conftest.err >&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); } && 10396 (exit $ac_status); } &&
10813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10397 { ac_try='test -z "$ac_cxx_werror_flag"
10398 || test ! -s conftest.err'
10814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10815 (eval $ac_try) 2>&5 10400 (eval $ac_try) 2>&5
10816 ac_status=$? 10401 ac_status=$?
10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818 (exit $ac_status); }; } && 10403 (exit $ac_status); }; } &&
10917 10502
10918fi 10503fi
10919if test $ac_cv_header_utmpx_h = yes; then 10504if test $ac_cv_header_utmpx_h = yes; then
10920 echo "$as_me:$LINENO: checking for struct utmpx" >&5 10505 echo "$as_me:$LINENO: checking for struct utmpx" >&5
10921echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 10506echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6
10922if test "${rxvt_cv_struct_utmpx+set}" = set; then 10507if test "${struct_utmpx+set}" = set; then
10923 echo $ECHO_N "(cached) $ECHO_C" >&6 10508 echo $ECHO_N "(cached) $ECHO_C" >&6
10924else 10509else
10925 cat >conftest.$ac_ext <<_ACEOF 10510 cat >conftest.$ac_ext <<_ACEOF
10926/* confdefs.h. */ 10511/* confdefs.h. */
10927_ACEOF 10512_ACEOF
10945 grep -v '^ *+' conftest.er1 >conftest.err 10530 grep -v '^ *+' conftest.er1 >conftest.err
10946 rm -f conftest.er1 10531 rm -f conftest.er1
10947 cat conftest.err >&5 10532 cat conftest.err >&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); } && 10534 (exit $ac_status); } &&
10950 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10535 { ac_try='test -z "$ac_cxx_werror_flag"
10536 || test ! -s conftest.err'
10951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10952 (eval $ac_try) 2>&5 10538 (eval $ac_try) 2>&5
10953 ac_status=$? 10539 ac_status=$?
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); }; } && 10541 (exit $ac_status); }; } &&
10957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10958 (eval $ac_try) 2>&5 10544 (eval $ac_try) 2>&5
10959 ac_status=$? 10545 ac_status=$?
10960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961 (exit $ac_status); }; }; then 10547 (exit $ac_status); }; }; then
10962 rxvt_cv_struct_utmpx=yes 10548 struct_utmpx=yes
10963else 10549else
10964 echo "$as_me: failed program was:" >&5 10550 echo "$as_me: failed program was:" >&5
10965sed 's/^/| /' conftest.$ac_ext >&5 10551sed 's/^/| /' conftest.$ac_ext >&5
10966 10552
10967rxvt_cv_struct_utmpx=no 10553struct_utmpx=no
10968fi 10554fi
10969rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10555rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10970fi 10556fi
10971echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 10557echo "$as_me:$LINENO: result: $struct_utmpx" >&5
10972echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 10558echo "${ECHO_T}$struct_utmpx" >&6
10973if test x$rxvt_cv_struct_utmpx = xyes; then 10559if test x$struct_utmpx = xyes; then
10974 10560
10975cat >>confdefs.h <<\_ACEOF 10561cat >>confdefs.h <<\_ACEOF
10976#define HAVE_STRUCT_UTMPX 1 10562#define HAVE_STRUCT_UTMPX 1
10977_ACEOF 10563_ACEOF
10978 10564
10979fi 10565fi
10980 10566
10981 10567
10982echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 10568echo "$as_me:$LINENO: checking for host in utmpx struct" >&5
10983echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 10569echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6
10984if test "${rxvt_cv_struct_utmpx_host+set}" = set; then 10570if test "${struct_utmpx_host+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6 10571 echo $ECHO_N "(cached) $ECHO_C" >&6
10986else 10572else
10987 cat >conftest.$ac_ext <<_ACEOF 10573 cat >conftest.$ac_ext <<_ACEOF
10988/* confdefs.h. */ 10574/* confdefs.h. */
10989_ACEOF 10575_ACEOF
11007 grep -v '^ *+' conftest.er1 >conftest.err 10593 grep -v '^ *+' conftest.er1 >conftest.err
11008 rm -f conftest.er1 10594 rm -f conftest.er1
11009 cat conftest.err >&5 10595 cat conftest.err >&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } && 10597 (exit $ac_status); } &&
11012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10598 { ac_try='test -z "$ac_cxx_werror_flag"
10599 || test ! -s conftest.err'
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5 10601 (eval $ac_try) 2>&5
11015 ac_status=$? 10602 ac_status=$?
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; } && 10604 (exit $ac_status); }; } &&
11019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11020 (eval $ac_try) 2>&5 10607 (eval $ac_try) 2>&5
11021 ac_status=$? 10608 ac_status=$?
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }; }; then 10610 (exit $ac_status); }; }; then
11024 rxvt_cv_struct_utmpx_host=yes 10611 struct_utmpx_host=yes
11025else 10612else
11026 echo "$as_me: failed program was:" >&5 10613 echo "$as_me: failed program was:" >&5
11027sed 's/^/| /' conftest.$ac_ext >&5 10614sed 's/^/| /' conftest.$ac_ext >&5
11028 10615
11029rxvt_cv_struct_utmpx_host=no 10616struct_utmpx_host=no
11030fi 10617fi
11031rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10618rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11032fi 10619fi
11033echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 10620echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5
11034echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 10621echo "${ECHO_T}$struct_utmpx_host" >&6
11035if test x$rxvt_cv_struct_utmpx_host = xyes; then 10622if test x$struct_utmpx_host = xyes; then
11036 10623
11037cat >>confdefs.h <<\_ACEOF 10624cat >>confdefs.h <<\_ACEOF
11038#define HAVE_UTMPX_HOST 1 10625#define HAVE_UTMPX_HOST 1
11039_ACEOF 10626_ACEOF
11040 10627
11041fi 10628fi
11042 10629
11043echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 10630echo "$as_me:$LINENO: checking for session in utmpx struct" >&5
11044echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 10631echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6
11045if test "${rxvt_cv_struct_utmpx_session+set}" = set; then 10632if test "${struct_utmpx_session+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6 10633 echo $ECHO_N "(cached) $ECHO_C" >&6
11047else 10634else
11048 cat >conftest.$ac_ext <<_ACEOF 10635 cat >conftest.$ac_ext <<_ACEOF
11049/* confdefs.h. */ 10636/* confdefs.h. */
11050_ACEOF 10637_ACEOF
11068 grep -v '^ *+' conftest.er1 >conftest.err 10655 grep -v '^ *+' conftest.er1 >conftest.err
11069 rm -f conftest.er1 10656 rm -f conftest.er1
11070 cat conftest.err >&5 10657 cat conftest.err >&5
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); } && 10659 (exit $ac_status); } &&
11073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10660 { ac_try='test -z "$ac_cxx_werror_flag"
10661 || test ! -s conftest.err'
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5 10663 (eval $ac_try) 2>&5
11076 ac_status=$? 10664 ac_status=$?
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; } && 10666 (exit $ac_status); }; } &&
11080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11081 (eval $ac_try) 2>&5 10669 (eval $ac_try) 2>&5
11082 ac_status=$? 10670 ac_status=$?
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); }; }; then 10672 (exit $ac_status); }; }; then
11085 rxvt_cv_struct_utmpx_session=yes 10673 struct_utmpx_session=yes
11086else 10674else
11087 echo "$as_me: failed program was:" >&5 10675 echo "$as_me: failed program was:" >&5
11088sed 's/^/| /' conftest.$ac_ext >&5 10676sed 's/^/| /' conftest.$ac_ext >&5
11089 10677
11090rxvt_cv_struct_utmpx_session=no 10678struct_utmpx_session=no
11091fi 10679fi
11092rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10680rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11093fi 10681fi
11094echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 10682echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5
11095echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 10683echo "${ECHO_T}$struct_utmpx_session" >&6
11096if test x$rxvt_cv_struct_utmpx_session = xyes; then 10684if test x$struct_utmpx_session = xyes; then
11097 10685
11098cat >>confdefs.h <<\_ACEOF 10686cat >>confdefs.h <<\_ACEOF
11099#define HAVE_UTMPX_SESSION 1 10687#define HAVE_UTMPX_SESSION 1
11100_ACEOF 10688_ACEOF
11101 10689
11104fi 10692fi
11105 10693
11106 10694
11107echo "$as_me:$LINENO: checking for struct lastlog" >&5 10695echo "$as_me:$LINENO: checking for struct lastlog" >&5
11108echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 10696echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
11109if test "${rxvt_cv_struct_lastlog+set}" = set; then 10697if test "${struct_lastlog+set}" = set; then
11110 echo $ECHO_N "(cached) $ECHO_C" >&6 10698 echo $ECHO_N "(cached) $ECHO_C" >&6
11111else 10699else
11112 cat >conftest.$ac_ext <<_ACEOF 10700 cat >conftest.$ac_ext <<_ACEOF
11113/* confdefs.h. */ 10701/* confdefs.h. */
11114_ACEOF 10702_ACEOF
11136 grep -v '^ *+' conftest.er1 >conftest.err 10724 grep -v '^ *+' conftest.er1 >conftest.err
11137 rm -f conftest.er1 10725 rm -f conftest.er1
11138 cat conftest.err >&5 10726 cat conftest.err >&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); } && 10728 (exit $ac_status); } &&
11141 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10729 { ac_try='test -z "$ac_cxx_werror_flag"
10730 || test ! -s conftest.err'
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5 10732 (eval $ac_try) 2>&5
11144 ac_status=$? 10733 ac_status=$?
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; } && 10735 (exit $ac_status); }; } &&
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5 10738 (eval $ac_try) 2>&5
11150 ac_status=$? 10739 ac_status=$?
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; }; then 10741 (exit $ac_status); }; }; then
11153 rxvt_cv_struct_lastlog=yes 10742 struct_lastlog=yes
11154else 10743else
11155 echo "$as_me: failed program was:" >&5 10744 echo "$as_me: failed program was:" >&5
11156sed 's/^/| /' conftest.$ac_ext >&5 10745sed 's/^/| /' conftest.$ac_ext >&5
11157 10746
11158rxvt_cv_struct_lastlog=no 10747struct_lastlog=no
11159fi 10748fi
11160rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10749rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11161fi 10750fi
11162echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 10751echo "$as_me:$LINENO: result: $struct_lastlog" >&5
11163echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 10752echo "${ECHO_T}$struct_lastlog" >&6
11164if test x$rxvt_cv_struct_lastlog = xyes; then 10753if test x$struct_lastlog = xyes; then
11165 10754
11166cat >>confdefs.h <<\_ACEOF 10755cat >>confdefs.h <<\_ACEOF
11167#define HAVE_STRUCT_LASTLOG 1 10756#define HAVE_STRUCT_LASTLOG 1
11168_ACEOF 10757_ACEOF
11169 10758
11170fi 10759fi
11171 10760
11172echo "$as_me:$LINENO: checking for struct lastlogx" >&5 10761echo "$as_me:$LINENO: checking for struct lastlogx" >&5
11173echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 10762echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6
11174if test "${rxvt_cv_struct_lastlogx+set}" = set; then 10763if test "${struct_lastlogx+set}" = set; then
11175 echo $ECHO_N "(cached) $ECHO_C" >&6 10764 echo $ECHO_N "(cached) $ECHO_C" >&6
11176else 10765else
11177 cat >conftest.$ac_ext <<_ACEOF 10766 cat >conftest.$ac_ext <<_ACEOF
11178/* confdefs.h. */ 10767/* confdefs.h. */
11179_ACEOF 10768_ACEOF
11201 grep -v '^ *+' conftest.er1 >conftest.err 10790 grep -v '^ *+' conftest.er1 >conftest.err
11202 rm -f conftest.er1 10791 rm -f conftest.er1
11203 cat conftest.err >&5 10792 cat conftest.err >&5
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); } && 10794 (exit $ac_status); } &&
11206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 10795 { ac_try='test -z "$ac_cxx_werror_flag"
10796 || test ! -s conftest.err'
11207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11208 (eval $ac_try) 2>&5 10798 (eval $ac_try) 2>&5
11209 ac_status=$? 10799 ac_status=$?
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; } && 10801 (exit $ac_status); }; } &&
11213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11214 (eval $ac_try) 2>&5 10804 (eval $ac_try) 2>&5
11215 ac_status=$? 10805 ac_status=$?
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); }; }; then 10807 (exit $ac_status); }; }; then
11218 rxvt_cv_struct_lastlogx=yes 10808 struct_lastlogx=yes
11219else 10809else
11220 echo "$as_me: failed program was:" >&5 10810 echo "$as_me: failed program was:" >&5
11221sed 's/^/| /' conftest.$ac_ext >&5 10811sed 's/^/| /' conftest.$ac_ext >&5
11222 10812
11223rxvt_cv_struct_lastlogx=no 10813struct_lastlogx=no
11224fi 10814fi
11225rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10815rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11226fi 10816fi
11227echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 10817echo "$as_me:$LINENO: result: $struct_lastlogx" >&5
11228echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 10818echo "${ECHO_T}$struct_lastlogx" >&6
11229if test x$rxvt_cv_struct_lastlogx = xyes; then 10819if test x$struct_lastlogx = xyes; then
11230 10820
11231cat >>confdefs.h <<\_ACEOF 10821cat >>confdefs.h <<\_ACEOF
11232#define HAVE_STRUCT_LASTLOGX 1 10822#define HAVE_STRUCT_LASTLOGX 1
11233_ACEOF 10823_ACEOF
11234 10824
11235fi 10825fi
11236 10826
11237 10827
11238echo "$as_me:$LINENO: checking where utmp is located" >&5 10828echo "$as_me:$LINENO: checking where utmp is located" >&5
11239echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 10829echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6
11240if test "${rxvt_cv_path_utmp+set}" = set; then 10830if test "${path_utmp+set}" = set; then
11241 echo $ECHO_N "(cached) $ECHO_C" >&6 10831 echo $ECHO_N "(cached) $ECHO_C" >&6
11242else 10832else
11243 if test "$cross_compiling" = yes; then 10833 if test "$cross_compiling" = yes; then
11244 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 10834 { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5
11245echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} 10835echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
11246else 10836else
11247 cat >conftest.$ac_ext <<_ACEOF 10837 cat >conftest.$ac_ext <<_ACEOF
11248/* confdefs.h. */ 10838/* confdefs.h. */
11249_ACEOF 10839_ACEOF
11250cat confdefs.h >>conftest.$ac_ext 10840cat confdefs.h >>conftest.$ac_ext
11251cat >>conftest.$ac_ext <<_ACEOF 10841cat >>conftest.$ac_ext <<_ACEOF
11252/* end confdefs.h. */ 10842/* end confdefs.h. */
11253#include <stdio.h> 10843#include <stdio.h>
10844#include <stdlib.h>
11254#include <sys/types.h> 10845#include <sys/types.h>
11255#include <utmp.h> 10846#include <utmp.h>
11256#include <errno.h> 10847#include <errno.h>
11257main() 10848main()
11258{ 10849{
11286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11287 (eval $ac_try) 2>&5 10878 (eval $ac_try) 2>&5
11288 ac_status=$? 10879 ac_status=$?
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); }; }; then 10881 (exit $ac_status); }; }; then
11291 rxvt_cv_path_utmp=`cat conftestval` 10882 path_utmp=`cat conftestval`
11292else 10883else
11293 echo "$as_me: program exited with status $ac_status" >&5 10884 echo "$as_me: program exited with status $ac_status" >&5
11294echo "$as_me: failed program was:" >&5 10885echo "$as_me: failed program was:" >&5
11295sed 's/^/| /' conftest.$ac_ext >&5 10886sed 's/^/| /' conftest.$ac_ext >&5
11296 10887
11297( exit $ac_status ) 10888( exit $ac_status )
11298rxvt_cv_path_utmp= 10889path_utmp=
11299fi 10890fi
11300rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10891rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11301fi 10892fi
11302fi 10893fi
11303echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 10894echo "$as_me:$LINENO: result: $path_utmp" >&5
11304echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 10895echo "${ECHO_T}$path_utmp" >&6
11305if test x$rxvt_cv_path_utmp != x; then 10896if test x$path_utmp != x; then
11306 10897
11307cat >>confdefs.h <<_ACEOF 10898cat >>confdefs.h <<_ACEOF
11308#define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" 10899#define UTMP_FILE "$path_utmp"
11309_ACEOF 10900_ACEOF
11310 10901
11311fi 10902fi
11312 10903
11313 10904
11314echo "$as_me:$LINENO: checking where utmpx is located" >&5 10905echo "$as_me:$LINENO: checking where utmpx is located" >&5
11315echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 10906echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6
11316if test "${rxvt_cv_path_utmpx+set}" = set; then 10907if test "${path_utmpx+set}" = set; then
11317 echo $ECHO_N "(cached) $ECHO_C" >&6 10908 echo $ECHO_N "(cached) $ECHO_C" >&6
11318else 10909else
11319 if test "$cross_compiling" = yes; then 10910 if test "$cross_compiling" = yes; then
11320 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 10911 { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5
11321echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} 10912echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;}
11322else 10913else
11323 cat >conftest.$ac_ext <<_ACEOF 10914 cat >conftest.$ac_ext <<_ACEOF
11324/* confdefs.h. */ 10915/* confdefs.h. */
11325_ACEOF 10916_ACEOF
11326cat confdefs.h >>conftest.$ac_ext 10917cat confdefs.h >>conftest.$ac_ext
11327cat >>conftest.$ac_ext <<_ACEOF 10918cat >>conftest.$ac_ext <<_ACEOF
11328/* end confdefs.h. */ 10919/* end confdefs.h. */
11329#include <stdio.h> 10920#include <stdio.h>
10921#include <stdlib.h>
11330#include <sys/types.h> 10922#include <sys/types.h>
11331#include <utmpx.h> 10923#include <utmpx.h>
11332#include <errno.h> 10924#include <errno.h>
11333#include <sys/stat.h> 10925#include <sys/stat.h>
11334#ifdef HAVE_STRING_H 10926#ifdef HAVE_STRING_H
11372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11373 (eval $ac_try) 2>&5 10965 (eval $ac_try) 2>&5
11374 ac_status=$? 10966 ac_status=$?
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); }; }; then 10968 (exit $ac_status); }; }; then
11377 rxvt_cv_path_utmpx=`cat conftestval` 10969 path_utmpx=`cat conftestval`
11378else 10970else
11379 echo "$as_me: program exited with status $ac_status" >&5 10971 echo "$as_me: program exited with status $ac_status" >&5
11380echo "$as_me: failed program was:" >&5 10972echo "$as_me: failed program was:" >&5
11381sed 's/^/| /' conftest.$ac_ext >&5 10973sed 's/^/| /' conftest.$ac_ext >&5
11382 10974
11383( exit $ac_status ) 10975( exit $ac_status )
11384rxvt_cv_path_utmpx= 10976path_utmpx=
11385fi 10977fi
11386rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10978rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11387fi 10979fi
11388fi 10980fi
11389echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 10981echo "$as_me:$LINENO: result: $path_utmpx" >&5
11390echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 10982echo "${ECHO_T}$path_utmpx" >&6
11391if test x$rxvt_cv_path_utmpx != x; then 10983if test x$path_utmpx != x; then
11392 10984
11393cat >>confdefs.h <<_ACEOF 10985cat >>confdefs.h <<_ACEOF
11394#define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" 10986#define UTMPX_FILE "$path_utmpx"
11395_ACEOF 10987_ACEOF
11396 10988
11397fi 10989fi
11398 10990
11399 10991
11400echo "$as_me:$LINENO: checking where wtmp is located" >&5 10992echo "$as_me:$LINENO: checking where wtmp is located" >&5
11401echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 10993echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6
11402if test "${rxvt_cv_path_wtmp+set}" = set; then 10994if test "${path_wtmp+set}" = set; then
11403 echo $ECHO_N "(cached) $ECHO_C" >&6 10995 echo $ECHO_N "(cached) $ECHO_C" >&6
11404else 10996else
11405 if test "$cross_compiling" = yes; then 10997 if test "$cross_compiling" = yes; then
11406 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 10998 { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5
11407echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} 10999echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
11408else 11000else
11409 cat >conftest.$ac_ext <<_ACEOF 11001 cat >conftest.$ac_ext <<_ACEOF
11410/* confdefs.h. */ 11002/* confdefs.h. */
11411_ACEOF 11003_ACEOF
11412cat confdefs.h >>conftest.$ac_ext 11004cat confdefs.h >>conftest.$ac_ext
11413cat >>conftest.$ac_ext <<_ACEOF 11005cat >>conftest.$ac_ext <<_ACEOF
11414/* end confdefs.h. */ 11006/* end confdefs.h. */
11415#include <stdio.h> 11007#include <stdio.h>
11008#include <stdlib.h>
11416#include <sys/types.h> 11009#include <sys/types.h>
11417#ifdef HAVE_UTMP_H 11010#ifdef HAVE_UTMP_H
11418#include <utmp.h> 11011#include <utmp.h>
11419#endif 11012#endif
11420#include <errno.h> 11013#include <errno.h>
11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11451 (eval $ac_try) 2>&5 11044 (eval $ac_try) 2>&5
11452 ac_status=$? 11045 ac_status=$?
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); }; }; then 11047 (exit $ac_status); }; }; then
11455 rxvt_cv_path_wtmp=`cat conftestval` 11048 path_wtmp=`cat conftestval`
11456else 11049else
11457 echo "$as_me: program exited with status $ac_status" >&5 11050 echo "$as_me: program exited with status $ac_status" >&5
11458echo "$as_me: failed program was:" >&5 11051echo "$as_me: failed program was:" >&5
11459sed 's/^/| /' conftest.$ac_ext >&5 11052sed 's/^/| /' conftest.$ac_ext >&5
11460 11053
11461( exit $ac_status ) 11054( exit $ac_status )
11462rxvt_cv_path_wtmp= 11055path_wtmp=
11463fi 11056fi
11464rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11057rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11465fi 11058fi
11466fi 11059fi
11467echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 11060echo "$as_me:$LINENO: result: $path_wtmp" >&5
11468echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 11061echo "${ECHO_T}$path_wtmp" >&6
11469if test x$rxvt_cv_path_wtmp != x; then 11062if test x$path_wtmp != x; then
11470 11063
11471cat >>confdefs.h <<_ACEOF 11064cat >>confdefs.h <<_ACEOF
11472#define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" 11065#define WTMP_FILE "$path_wtmp"
11473_ACEOF 11066_ACEOF
11474 11067
11475fi 11068fi
11476 11069
11477echo "$as_me:$LINENO: checking where wtmpx is located" >&5 11070echo "$as_me:$LINENO: checking where wtmpx is located" >&5
11478echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 11071echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6
11479if test "${rxvt_cv_path_wtmpx+set}" = set; then 11072if test "${path_wtmpx+set}" = set; then
11480 echo $ECHO_N "(cached) $ECHO_C" >&6 11073 echo $ECHO_N "(cached) $ECHO_C" >&6
11481else 11074else
11482 if test "$cross_compiling" = yes; then 11075 if test "$cross_compiling" = yes; then
11483 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 11076 { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5
11484echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} 11077echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;}
11485else 11078else
11486 cat >conftest.$ac_ext <<_ACEOF 11079 cat >conftest.$ac_ext <<_ACEOF
11487/* confdefs.h. */ 11080/* confdefs.h. */
11488_ACEOF 11081_ACEOF
11489cat confdefs.h >>conftest.$ac_ext 11082cat confdefs.h >>conftest.$ac_ext
11490cat >>conftest.$ac_ext <<_ACEOF 11083cat >>conftest.$ac_ext <<_ACEOF
11491/* end confdefs.h. */ 11084/* end confdefs.h. */
11492#include <stdio.h> 11085#include <stdio.h>
11086#include <stdlib.h>
11493#ifdef HAVE_UTMPX_H 11087#ifdef HAVE_UTMPX_H
11494#include <utmpx.h> 11088#include <utmpx.h>
11495#endif 11089#endif
11496#include <errno.h> 11090#include <errno.h>
11497main() 11091main()
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5 11121 (eval $ac_try) 2>&5
11528 ac_status=$? 11122 ac_status=$?
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then 11124 (exit $ac_status); }; }; then
11531 rxvt_cv_path_wtmpx=`cat conftestval` 11125 path_wtmpx=`cat conftestval`
11532else 11126else
11533 echo "$as_me: program exited with status $ac_status" >&5 11127 echo "$as_me: program exited with status $ac_status" >&5
11534echo "$as_me: failed program was:" >&5 11128echo "$as_me: failed program was:" >&5
11535sed 's/^/| /' conftest.$ac_ext >&5 11129sed 's/^/| /' conftest.$ac_ext >&5
11536 11130
11537( exit $ac_status ) 11131( exit $ac_status )
11538rxvt_cv_path_wtmpx= 11132path_wtmpx=
11539fi 11133fi
11540rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11134rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11541fi 11135fi
11542fi 11136fi
11543echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 11137echo "$as_me:$LINENO: result: $path_wtmpx" >&5
11544echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 11138echo "${ECHO_T}$path_wtmpx" >&6
11545if test x$rxvt_cv_path_wtmpx != x; then 11139if test x$path_wtmpx != x; then
11546 11140
11547cat >>confdefs.h <<_ACEOF 11141cat >>confdefs.h <<_ACEOF
11548#define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" 11142#define WTMPX_FILE "$path_wtmpx"
11549_ACEOF 11143_ACEOF
11550 11144
11551fi 11145fi
11552 11146
11553echo "$as_me:$LINENO: checking where lastlog is located" >&5 11147echo "$as_me:$LINENO: checking where lastlog is located" >&5
11554echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 11148echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6
11555if test "${rxvt_cv_path_lastlog+set}" = set; then 11149if test "${path_lastlog+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6 11150 echo $ECHO_N "(cached) $ECHO_C" >&6
11557else 11151else
11558 if test "$cross_compiling" = yes; then 11152 if test "$cross_compiling" = yes; then
11559 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 11153 { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5
11560echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} 11154echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;}
11561else 11155else
11562 cat >conftest.$ac_ext <<_ACEOF 11156 cat >conftest.$ac_ext <<_ACEOF
11563/* confdefs.h. */ 11157/* confdefs.h. */
11564_ACEOF 11158_ACEOF
11565cat confdefs.h >>conftest.$ac_ext 11159cat confdefs.h >>conftest.$ac_ext
11566cat >>conftest.$ac_ext <<_ACEOF 11160cat >>conftest.$ac_ext <<_ACEOF
11567/* end confdefs.h. */ 11161/* end confdefs.h. */
11568#include <stdio.h> 11162#include <stdio.h>
11163#include <stdlib.h>
11569#include <sys/types.h> 11164#include <sys/types.h>
11570#ifdef HAVE_UTMPX_H 11165#ifdef HAVE_UTMPX_H
11571#include <utmpx.h> 11166#include <utmpx.h>
11572#elif defined(HAVE_UTMP_H) 11167#elif defined(HAVE_UTMP_H)
11573#include <utmp.h> 11168#include <utmp.h>
11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608 (eval $ac_try) 2>&5 11203 (eval $ac_try) 2>&5
11609 ac_status=$? 11204 ac_status=$?
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; }; then 11206 (exit $ac_status); }; }; then
11612 rxvt_cv_path_lastlog=`cat conftestval` 11207 path_lastlog=`cat conftestval`
11613else 11208else
11614 echo "$as_me: program exited with status $ac_status" >&5 11209 echo "$as_me: program exited with status $ac_status" >&5
11615echo "$as_me: failed program was:" >&5 11210echo "$as_me: failed program was:" >&5
11616sed 's/^/| /' conftest.$ac_ext >&5 11211sed 's/^/| /' conftest.$ac_ext >&5
11617 11212
11618( exit $ac_status ) 11213( exit $ac_status )
11619rxvt_cv_path_lastlog= 11214path_lastlog=
11620fi 11215fi
11621rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11216rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11622fi 11217fi
11623fi 11218fi
11624echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 11219echo "$as_me:$LINENO: result: $path_lastlog" >&5
11625echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 11220echo "${ECHO_T}$path_lastlog" >&6
11626if test x$rxvt_cv_path_lastlog != x; then 11221if test x$path_lastlog != x; then
11627 11222
11628cat >>confdefs.h <<_ACEOF 11223cat >>confdefs.h <<_ACEOF
11629#define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" 11224#define LASTLOG_FILE "$path_lastlog"
11630_ACEOF 11225_ACEOF
11631 11226
11632 if test -d "$rxvt_cv_path_lastlog"; then 11227 if test -d "$path_lastlog"; then
11633 11228
11634cat >>confdefs.h <<\_ACEOF 11229cat >>confdefs.h <<\_ACEOF
11635#define LASTLOG_IS_DIR 1 11230#define LASTLOG_IS_DIR 1
11636_ACEOF 11231_ACEOF
11637 11232
11638 fi 11233 fi
11639fi 11234fi
11640 11235
11641echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11236echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11642echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 11237echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6
11643if test "${rxvt_cv_path_lastlogx+set}" = set; then 11238if test "${path_lastlogx+set}" = set; then
11644 echo $ECHO_N "(cached) $ECHO_C" >&6 11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11645else 11240else
11646 if test "$cross_compiling" = yes; then 11241 if test "$cross_compiling" = yes; then
11647 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 11242 { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5
11648echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} 11243echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;}
11649else 11244else
11650 cat >conftest.$ac_ext <<_ACEOF 11245 cat >conftest.$ac_ext <<_ACEOF
11651/* confdefs.h. */ 11246/* confdefs.h. */
11652_ACEOF 11247_ACEOF
11653cat confdefs.h >>conftest.$ac_ext 11248cat confdefs.h >>conftest.$ac_ext
11654cat >>conftest.$ac_ext <<_ACEOF 11249cat >>conftest.$ac_ext <<_ACEOF
11655/* end confdefs.h. */ 11250/* end confdefs.h. */
11656#include <stdio.h> 11251#include <stdio.h>
11252#include <stdlib.h>
11657#ifdef HAVE_UTMPX_H 11253#ifdef HAVE_UTMPX_H
11658#include <utmpx.h> 11254#include <utmpx.h>
11659#endif 11255#endif
11660#include <errno.h> 11256#include <errno.h>
11661main() 11257main()
11689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690 (eval $ac_try) 2>&5 11286 (eval $ac_try) 2>&5
11691 ac_status=$? 11287 ac_status=$?
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }; }; then 11289 (exit $ac_status); }; }; then
11694 rxvt_cv_path_lastlogx=`cat conftestval` 11290 path_lastlogx=`cat conftestval`
11695else 11291else
11696 echo "$as_me: program exited with status $ac_status" >&5 11292 echo "$as_me: program exited with status $ac_status" >&5
11697echo "$as_me: failed program was:" >&5 11293echo "$as_me: failed program was:" >&5
11698sed 's/^/| /' conftest.$ac_ext >&5 11294sed 's/^/| /' conftest.$ac_ext >&5
11699 11295
11700( exit $ac_status ) 11296( exit $ac_status )
11701rxvt_cv_path_lastlogx= 11297path_lastlogx=
11702fi 11298fi
11703rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11299rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11704fi 11300fi
11705fi 11301fi
11706echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 11302echo "$as_me:$LINENO: result: $path_lastlogx" >&5
11707echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 11303echo "${ECHO_T}$path_lastlogx" >&6
11708if test x$rxvt_cv_path_lastlogx != x; then 11304if test x$path_lastlogx != x; then
11709 11305
11710cat >>confdefs.h <<_ACEOF 11306cat >>confdefs.h <<_ACEOF
11711#define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" 11307#define LASTLOGX_FILE "$path_lastlogx"
11712_ACEOF 11308_ACEOF
11713 11309
11714fi 11310fi
11715 11311
11716 11312
11742 11338
11743ac_save_LIBS=$LIBS 11339ac_save_LIBS=$LIBS
11744ac_save_CFLAGS=$CFLAGS 11340ac_save_CFLAGS=$CFLAGS
11745CFLAGS="$CFLAGS $X_CFLAGS" 11341CFLAGS="$CFLAGS $X_CFLAGS"
11746LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11342LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
11747if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
11748 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
11749fi
11750echo "$as_me:$LINENO: checking for working Xlocale" >&5 11343echo "$as_me:$LINENO: checking for working Xlocale" >&5
11751echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 11344echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6
11752if test "${rxvt_cv_func_xlocale+set}" = set; then 11345if test "${rxvt_cv_func_xlocale+set}" = set; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6 11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11754else 11347else
11755 if test "$cross_compiling" = yes; then 11348 if test "$cross_compiling" = yes; then
11756 { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 11349 :
11757echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;}
11758else 11350else
11759 cat >conftest.$ac_ext <<_ACEOF 11351 cat >conftest.$ac_ext <<_ACEOF
11760/* confdefs.h. */ 11352/* confdefs.h. */
11761_ACEOF 11353_ACEOF
11762cat confdefs.h >>conftest.$ac_ext 11354cat confdefs.h >>conftest.$ac_ext
11763cat >>conftest.$ac_ext <<_ACEOF 11355cat >>conftest.$ac_ext <<_ACEOF
11764/* end confdefs.h. */ 11356/* end confdefs.h. */
11765#include <X11/Xlib.h> 11357#include <X11/Xlib.h>
11358#include <stdlib.h>
11766main() { 11359main() {
11767char *p; 11360char *p;
11768if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 11361if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
11769exit (XSupportsLocale() ? 0 : 1); 11362exit (XSupportsLocale() ? 0 : 1);
11770else 11363else
11793rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11386rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11794fi 11387fi
11795fi 11388fi
11796echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 11389echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5
11797echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 11390echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6
11391if test x$support_xim = xyes; then
11798if test x$rxvt_cv_func_xlocale = xyes; then 11392 if test x$rxvt_cv_func_xlocale = xyes; then
11799 11393
11800cat >>confdefs.h <<\_ACEOF 11394cat >>confdefs.h <<\_ACEOF
11801#define HAVE_XLOCALE 1 11395#define USE_XIM 1
11802_ACEOF 11396_ACEOF
11803 11397
11398 fi
11804fi 11399fi
11805 11400
11806echo "$as_me:$LINENO: checking for working X setlocale" >&5 11401echo "$as_me:$LINENO: checking for working X setlocale" >&5
11807echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 11402echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6
11808if test "${rxvt_cv_func_xsetlocale+set}" = set; then 11403if test "${rxvt_cv_func_xsetlocale+set}" = set; then
11831 grep -v '^ *+' conftest.er1 >conftest.err 11426 grep -v '^ *+' conftest.er1 >conftest.err
11832 rm -f conftest.er1 11427 rm -f conftest.er1
11833 cat conftest.err >&5 11428 cat conftest.err >&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } && 11430 (exit $ac_status); } &&
11836 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11431 { ac_try='test -z "$ac_cxx_werror_flag"
11432 || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5 11434 (eval $ac_try) 2>&5
11839 ac_status=$? 11435 ac_status=$?
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } && 11437 (exit $ac_status); }; } &&
11894 grep -v '^ *+' conftest.er1 >conftest.err 11490 grep -v '^ *+' conftest.er1 >conftest.err
11895 rm -f conftest.er1 11491 rm -f conftest.er1
11896 cat conftest.err >&5 11492 cat conftest.err >&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); } && 11494 (exit $ac_status); } &&
11899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11495 { ac_try='test -z "$ac_cxx_werror_flag"
11496 || test ! -s conftest.err'
11900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11901 (eval $ac_try) 2>&5 11498 (eval $ac_try) 2>&5
11902 ac_status=$? 11499 ac_status=$?
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); }; } && 11501 (exit $ac_status); }; } &&
11955 grep -v '^ *+' conftest.er1 >conftest.err 11552 grep -v '^ *+' conftest.er1 >conftest.err
11956 rm -f conftest.er1 11553 rm -f conftest.er1
11957 cat conftest.err >&5 11554 cat conftest.err >&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); } && 11556 (exit $ac_status); } &&
11960 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11557 { ac_try='test -z "$ac_cxx_werror_flag"
11558 || test ! -s conftest.err'
11961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962 (eval $ac_try) 2>&5 11560 (eval $ac_try) 2>&5
11963 ac_status=$? 11561 ac_status=$?
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; } && 11563 (exit $ac_status); }; } &&
11987#define HAVE_NL_LANGINFO 1 11585#define HAVE_NL_LANGINFO 1
11988_ACEOF 11586_ACEOF
11989 11587
11990fi 11588fi
11991 11589
11590
11992echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 11591echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5
11993echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 11592echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6
11994if test "${rxvt_can_pass_fds+set}" = set; then 11593if test "${can_pass_fds+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6 11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11996else 11595else
11997 cat >conftest.$ac_ext <<_ACEOF 11596 cat >conftest.$ac_ext <<_ACEOF
11998/* confdefs.h. */ 11597/* confdefs.h. */
11999_ACEOF 11598_ACEOF
12000cat confdefs.h >>conftest.$ac_ext 11599cat confdefs.h >>conftest.$ac_ext
12001cat >>conftest.$ac_ext <<_ACEOF 11600cat >>conftest.$ac_ext <<_ACEOF
12002/* end confdefs.h. */ 11601/* end confdefs.h. */
12003 11602
11603#include <cstddef> // broken bsds (is that redundant?) need this
12004#include <sys/types.h> 11604#include <sys/types.h>
12005#include <sys/socket.h> 11605#include <sys/socket.h>
11606#include <sys/uio.h>
12006 11607
12007int 11608int
12008main () 11609main ()
12009{ 11610{
12010 11611
12043 grep -v '^ *+' conftest.er1 >conftest.err 11644 grep -v '^ *+' conftest.er1 >conftest.err
12044 rm -f conftest.er1 11645 rm -f conftest.er1
12045 cat conftest.err >&5 11646 cat conftest.err >&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); } && 11648 (exit $ac_status); } &&
12048 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11649 { ac_try='test -z "$ac_cxx_werror_flag"
11650 || test ! -s conftest.err'
12049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12050 (eval $ac_try) 2>&5 11652 (eval $ac_try) 2>&5
12051 ac_status=$? 11653 ac_status=$?
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); }; } && 11655 (exit $ac_status); }; } &&
12055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12056 (eval $ac_try) 2>&5 11658 (eval $ac_try) 2>&5
12057 ac_status=$? 11659 ac_status=$?
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); }; }; then 11661 (exit $ac_status); }; }; then
12060 rxvt_can_pass_fds=yes 11662 can_pass_fds=yes
12061else 11663else
12062 echo "$as_me: failed program was:" >&5 11664 echo "$as_me: failed program was:" >&5
12063sed 's/^/| /' conftest.$ac_ext >&5 11665sed 's/^/| /' conftest.$ac_ext >&5
12064 11666
12065rxvt_can_pass_fds=no 11667can_pass_fds=no
12066fi 11668fi
12067rm -f conftest.err conftest.$ac_objext \ 11669rm -f conftest.err conftest.$ac_objext \
12068 conftest$ac_exeext conftest.$ac_ext 11670 conftest$ac_exeext conftest.$ac_ext
12069fi 11671fi
12070echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 11672echo "$as_me:$LINENO: result: $can_pass_fds" >&5
12071echo "${ECHO_T}$rxvt_can_pass_fds" >&6 11673echo "${ECHO_T}$can_pass_fds" >&6
12072if test x$rxvt_can_pass_fds = xyes; then 11674if test x$can_pass_fds = xyes; then
12073 11675
12074cat >>confdefs.h <<\_ACEOF 11676cat >>confdefs.h <<\_ACEOF
12075#define HAVE_UNIX_FDPASS 1 11677#define HAVE_UNIX_FDPASS 1
12076_ACEOF 11678_ACEOF
12077 11679
12078else 11680else
12079 { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5 11681 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5
12080echo "$as_me: error: urxvt requires unix-compliant filehandle passing ability" >&2;} 11682echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
12081 { (exit 1); exit 1; }; } 11683 { (exit 1); exit 1; }; }
12082fi 11684fi
11685
12083 11686
12084echo "$as_me:$LINENO: checking for broken XIM callback" >&5 11687echo "$as_me:$LINENO: checking for broken XIM callback" >&5
12085echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 11688echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
12086if test "${rxvt_broken_ximcb+set}" = set; then 11689if test "${rxvt_broken_ximcb+set}" = set; then
12087 echo $ECHO_N "(cached) $ECHO_C" >&6 11690 echo $ECHO_N "(cached) $ECHO_C" >&6
12105 grep -v '^ *+' conftest.er1 >conftest.err 11708 grep -v '^ *+' conftest.er1 >conftest.err
12106 rm -f conftest.er1 11709 rm -f conftest.er1
12107 cat conftest.err >&5 11710 cat conftest.err >&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } && 11712 (exit $ac_status); } &&
12110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11713 { ac_try='test -z "$ac_cxx_werror_flag"
11714 || test ! -s conftest.err'
12111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12112 (eval $ac_try) 2>&5 11716 (eval $ac_try) 2>&5
12113 ac_status=$? 11717 ac_status=$?
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; } && 11719 (exit $ac_status); }; } &&
12182 grep -v '^ *+' conftest.er1 >conftest.err 11786 grep -v '^ *+' conftest.er1 >conftest.err
12183 rm -f conftest.er1 11787 rm -f conftest.er1
12184 cat conftest.err >&5 11788 cat conftest.err >&5
12185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 (exit $ac_status); } && 11790 (exit $ac_status); } &&
12187 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11791 { ac_try='test -z "$ac_cxx_werror_flag"
11792 || test ! -s conftest.err'
12188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12189 (eval $ac_try) 2>&5 11794 (eval $ac_try) 2>&5
12190 ac_status=$? 11795 ac_status=$?
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); }; } && 11797 (exit $ac_status); }; } &&
12303 11908
12304 11909
12305 11910
12306 11911
12307 11912
11913
11914
11915
11916
12308for ac_func in \ 11917for ac_func in \
12309 revoke \ 11918 revoke \
12310 _getpty \ 11919 _getpty \
12311 getpt \ 11920 getpt \
12312 posix_openpt \ 11921 posix_openpt \
12313 isastream \ 11922 isastream \
11923 setuid \
11924 seteuid \
11925 setreuid \
11926 setresuid \
12314 11927
12315do 11928do
12316as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11929as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12317echo "$as_me:$LINENO: checking for $ac_func" >&5 11930echo "$as_me:$LINENO: checking for $ac_func" >&5
12318echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11931echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12377 grep -v '^ *+' conftest.er1 >conftest.err 11990 grep -v '^ *+' conftest.er1 >conftest.err
12378 rm -f conftest.er1 11991 rm -f conftest.er1
12379 cat conftest.err >&5 11992 cat conftest.err >&5
12380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381 (exit $ac_status); } && 11994 (exit $ac_status); } &&
12382 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 11995 { ac_try='test -z "$ac_cxx_werror_flag"
11996 || test ! -s conftest.err'
12383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12384 (eval $ac_try) 2>&5 11998 (eval $ac_try) 2>&5
12385 ac_status=$? 11999 ac_status=$?
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); }; } && 12001 (exit $ac_status); }; } &&
12514 grep -v '^ *+' conftest.er1 >conftest.err 12128 grep -v '^ *+' conftest.er1 >conftest.err
12515 rm -f conftest.er1 12129 rm -f conftest.er1
12516 cat conftest.err >&5 12130 cat conftest.err >&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); } && 12132 (exit $ac_status); } &&
12519 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12133 { ac_try='test -z "$ac_cxx_werror_flag"
12134 || test ! -s conftest.err'
12520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12521 (eval $ac_try) 2>&5 12136 (eval $ac_try) 2>&5
12522 ac_status=$? 12137 ac_status=$?
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }; } && 12139 (exit $ac_status); }; } &&
12615 grep -v '^ *+' conftest.er1 >conftest.err 12230 grep -v '^ *+' conftest.er1 >conftest.err
12616 rm -f conftest.er1 12231 rm -f conftest.er1
12617 cat conftest.err >&5 12232 cat conftest.err >&5
12618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12619 (exit $ac_status); } && 12234 (exit $ac_status); } &&
12620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12235 { ac_try='test -z "$ac_cxx_werror_flag"
12236 || test ! -s conftest.err'
12621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12622 (eval $ac_try) 2>&5 12238 (eval $ac_try) 2>&5
12623 ac_status=$? 12239 ac_status=$?
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); }; } && 12241 (exit $ac_status); }; } &&
12683 grep -v '^ *+' conftest.er1 >conftest.err 12299 grep -v '^ *+' conftest.er1 >conftest.err
12684 rm -f conftest.er1 12300 rm -f conftest.er1
12685 cat conftest.err >&5 12301 cat conftest.err >&5
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); } && 12303 (exit $ac_status); } &&
12688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12304 { ac_try='test -z "$ac_cxx_werror_flag"
12305 || test ! -s conftest.err'
12689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12690 (eval $ac_try) 2>&5 12307 (eval $ac_try) 2>&5
12691 ac_status=$? 12308 ac_status=$?
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); }; } && 12310 (exit $ac_status); }; } &&
12721done 12338done
12722 12339
12723fi 12340fi
12724 12341
12725 12342
12343
12344echo "$as_me:$LINENO: checking for tty group" >&5
12345echo $ECHO_N "checking for tty group... $ECHO_C" >&6
12346if test "${tty_group+set}" = set; then
12347 echo $ECHO_N "(cached) $ECHO_C" >&6
12348else
12349 if test "$cross_compiling" = yes; then
12350 tty_group=no
12351else
12352 cat >conftest.$ac_ext <<_ACEOF
12353/* confdefs.h. */
12354_ACEOF
12355cat confdefs.h >>conftest.$ac_ext
12356cat >>conftest.$ac_ext <<_ACEOF
12357/* end confdefs.h. */
12358
12359#include <sys/types.h>
12360#include <sys/stat.h>
12361#include <unistd.h>
12362#include <grp.h>
12363
12364main()
12365{
12366 struct stat st;
12367 struct group *gr;
12368 char *tty;
12369 gr = getgrnam("tty");
12370 tty = ttyname(0);
12371 if (gr != 0
12372 && tty != 0
12373 && (stat(tty, &st)) == 0
12374 && st.st_gid == gr->gr_gid)
12375 return 0;
12376 else
12377 return 1;
12378}
12379_ACEOF
12380rm -f conftest$ac_exeext
12381if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12382 (eval $ac_link) 2>&5
12383 ac_status=$?
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12388 ac_status=$?
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; }; then
12391 tty_group=yes
12392else
12393 echo "$as_me: program exited with status $ac_status" >&5
12394echo "$as_me: failed program was:" >&5
12395sed 's/^/| /' conftest.$ac_ext >&5
12396
12397( exit $ac_status )
12398tty_group=no
12399fi
12400rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12401fi
12402fi
12403echo "$as_me:$LINENO: result: $tty_group" >&5
12404echo "${ECHO_T}$tty_group" >&6
12405if test x$tty_group = xyes; then
12406
12407cat >>confdefs.h <<\_ACEOF
12408#define TTY_GID_SUPPORT 1
12409_ACEOF
12410
12411fi
12412
12726if test x$support_xft = xyes; then 12413if test x$support_xft = xyes; then
12727 LIBS="$LIBS `pkg-config xft --libs`" 12414 # Extract the first word of "pkg-config", so it can be a program name with args.
12415set dummy pkg-config; ac_word=$2
12416echo "$as_me:$LINENO: checking for $ac_word" >&5
12417echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12418if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12420else
12421 case $PKG_CONFIG in
12422 [\\/]* | ?:[\\/]*)
12423 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12424 ;;
12425 *)
12426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12427for as_dir in $PATH
12428do
12429 IFS=$as_save_IFS
12430 test -z "$as_dir" && as_dir=.
12431 for ac_exec_ext in '' $ac_executable_extensions; do
12432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12433 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12435 break 2
12436 fi
12437done
12438done
12439
12440 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12441 ;;
12442esac
12443fi
12444PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12445
12446if test -n "$PKG_CONFIG"; then
12447 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12448echo "${ECHO_T}$PKG_CONFIG" >&6
12449else
12450 echo "$as_me:$LINENO: result: no" >&5
12451echo "${ECHO_T}no" >&6
12452fi
12453
12454 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12455 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12728 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 12456 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12457 else
12458 # Extract the first word of "xft-config", so it can be a program name with args.
12459set dummy xft-config; ac_word=$2
12460echo "$as_me:$LINENO: checking for $ac_word" >&5
12461echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12462if test "${ac_cv_path_XFT_CONFIG+set}" = set; then
12463 echo $ECHO_N "(cached) $ECHO_C" >&6
12464else
12465 case $XFT_CONFIG in
12466 [\\/]* | ?:[\\/]*)
12467 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path.
12468 ;;
12469 *)
12470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12471for as_dir in $PATH
12472do
12473 IFS=$as_save_IFS
12474 test -z "$as_dir" && as_dir=.
12475 for ac_exec_ext in '' $ac_executable_extensions; do
12476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12477 ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12479 break 2
12480 fi
12481done
12482done
12483
12484 test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no"
12485 ;;
12486esac
12487fi
12488XFT_CONFIG=$ac_cv_path_XFT_CONFIG
12489
12490if test -n "$XFT_CONFIG"; then
12491 echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5
12492echo "${ECHO_T}$XFT_CONFIG" >&6
12493else
12494 echo "$as_me:$LINENO: result: no" >&5
12495echo "${ECHO_T}no" >&6
12496fi
12497
12498 if test $XFT_CONFIG != no; then
12499 LIBS="$LIBS `$XFT_CONFIG --libs`"
12500 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12501 fi
12502 fi
12729 12503
12730 12504
12731for ac_header in X11/Xft/Xft.h 12505for ac_header in X11/Xft/Xft.h
12732do 12506do
12733as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12507as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12759 grep -v '^ *+' conftest.er1 >conftest.err 12533 grep -v '^ *+' conftest.er1 >conftest.err
12760 rm -f conftest.er1 12534 rm -f conftest.er1
12761 cat conftest.err >&5 12535 cat conftest.err >&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); } && 12537 (exit $ac_status); } &&
12764 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12538 { ac_try='test -z "$ac_cxx_werror_flag"
12539 || test ! -s conftest.err'
12765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12766 (eval $ac_try) 2>&5 12541 (eval $ac_try) 2>&5
12767 ac_status=$? 12542 ac_status=$?
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; } && 12544 (exit $ac_status); }; } &&
12915 grep -v '^ *+' conftest.er1 >conftest.err 12690 grep -v '^ *+' conftest.er1 >conftest.err
12916 rm -f conftest.er1 12691 rm -f conftest.er1
12917 cat conftest.err >&5 12692 cat conftest.err >&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); } && 12694 (exit $ac_status); } &&
12920 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 12695 { ac_try='test -z "$ac_cxx_werror_flag"
12696 || test ! -s conftest.err'
12921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922 (eval $ac_try) 2>&5 12698 (eval $ac_try) 2>&5
12923 ac_status=$? 12699 ac_status=$?
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); }; } && 12701 (exit $ac_status); }; } &&
12998 12774
12999fi 12775fi
13000if test x$support_inheritpixmap = xyes; then 12776if test x$support_inheritpixmap = xyes; then
13001 12777
13002cat >>confdefs.h <<\_ACEOF 12778cat >>confdefs.h <<\_ACEOF
13003#define TRANSPARENT 1 12779#define ENABLE_TRANSPARENCY 1
13004_ACEOF 12780_ACEOF
13005 12781
13006fi 12782fi
13007if test x$support_keepscrolling = xno; then 12783if test x$support_keepscrolling = xno; then
13008 12784
13016cat >>confdefs.h <<\_ACEOF 12792cat >>confdefs.h <<\_ACEOF
13017#define SELECTION_SCROLLING 1 12793#define SELECTION_SCROLLING 1
13018_ACEOF 12794_ACEOF
13019 12795
13020fi 12796fi
13021if test x$support_frills = xyes; then
13022
13023cat >>confdefs.h <<\_ACEOF
13024#define ENABLE_FRILLS 1
13025_ACEOF
13026
13027fi
13028if test x$support_24bit = xyes; then
13029
13030cat >>confdefs.h <<\_ACEOF
13031#define PREFER_24BIT 1
13032_ACEOF
13033
13034fi
13035if test x$support_mousewheel = xyes; then 12797if test x$support_mousewheel = xyes; then
13036 12798
13037cat >>confdefs.h <<\_ACEOF 12799cat >>confdefs.h <<\_ACEOF
13038#define MOUSE_WHEEL 1 12800#define MOUSE_WHEEL 1
13039_ACEOF 12801_ACEOF
13044cat >>confdefs.h <<\_ACEOF 12806cat >>confdefs.h <<\_ACEOF
13045#define MOUSE_SLIP_WHEELING 1 12807#define MOUSE_SLIP_WHEELING 1
13046_ACEOF 12808_ACEOF
13047 12809
13048fi 12810fi
13049if test x$support_utmp = xyes; then
13050
13051cat >>confdefs.h <<\_ACEOF
13052#define UTMP_SUPPORT 1
13053_ACEOF
13054
13055fi
13056if test x$support_wtmp = xyes; then
13057
13058cat >>confdefs.h <<\_ACEOF
13059#define WTMP_SUPPORT 1
13060_ACEOF
13061
13062fi
13063if test x$support_lastlog = xyes; then
13064
13065cat >>confdefs.h <<\_ACEOF
13066#define LASTLOG_SUPPORT 1
13067_ACEOF
13068
13069fi
13070if test x$support_xim = xyes -o x$multichar_set = xyes; then 12811if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then
13071 if test x$rxvt_cv_func_xlocale = xyes; then
13072
13073cat >>confdefs.h <<\_ACEOF
13074#define USE_XIM 1
13075_ACEOF
13076
13077 fi
13078fi
13079if test x$support_xpm = xyes; then
13080 12812
13081cat >>confdefs.h <<\_ACEOF 12813cat >>confdefs.h <<\_ACEOF
13082#define XPM_BACKGROUND 1 12814#define XPM_BACKGROUND 1
13083_ACEOF 12815_ACEOF
13084 12816
13085fi 12817fi
12818
12819if test x$support_afterimage = xyes; then
12820
12821cat >>confdefs.h <<\_ACEOF
12822#define HAVE_AFTERIMAGE 1
12823_ACEOF
12824
12825fi
12826
12827if test x$support_afterstep = xyes; then
12828
12829cat >>confdefs.h <<\_ACEOF
12830#define AFTERSTEP_INTEGRATION 1
12831_ACEOF
12832
12833fi
12834
13086if test x$support_scroll_rxvt = xyes; then 12835if test x$support_scroll_rxvt = xyes; then
13087 12836
13088cat >>confdefs.h <<\_ACEOF 12837cat >>confdefs.h <<\_ACEOF
13089#define RXVT_SCROLLBAR 1 12838#define RXVT_SCROLLBAR 1
13090_ACEOF 12839_ACEOF
13303 grep -v '^ *+' conftest.er1 >conftest.err 13052 grep -v '^ *+' conftest.er1 >conftest.err
13304 rm -f conftest.er1 13053 rm -f conftest.er1
13305 cat conftest.err >&5 13054 cat conftest.err >&5
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); } && 13056 (exit $ac_status); } &&
13308 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' 13057 { ac_try='test -z "$ac_cxx_werror_flag"
13058 || test ! -s conftest.err'
13309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 13059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13310 (eval $ac_try) 2>&5 13060 (eval $ac_try) 2>&5
13311 ac_status=$? 13061 ac_status=$?
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); }; } && 13063 (exit $ac_status); }; } &&
13362 13112
13363if test x$support_perl = xyes; then 13113if test x$support_perl = xyes; then
13364 support_frills=yes 13114 support_frills=yes
13365fi 13115fi
13366 13116
13117if test x$support_frills = xyes; then
13367 13118
13368CFLAGS=${CFLAGS--O} 13119cat >>confdefs.h <<\_ACEOF
13369LDFLAGS=${LDFLAGS--O} 13120#define ENABLE_FRILLS 1
13121_ACEOF
13370 13122
13371CPPFLAGS="$CPPFLAGS"
13372
13373
13374
13375
13376
13377
13378
13379if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
13380 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
13381 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
13382 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
13383 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
13384 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
13385fi 13123fi
13124
13125
13126
13127
13128
13129
13130
13131
13386 13132
13387 13133
13388 13134
13389 13135
13390 13136
14115s,@INSTALL_DATA@,$INSTALL_DATA,;t t 13861s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14116s,@EGREP@,$EGREP,;t t 13862s,@EGREP@,$EGREP,;t t
14117s,@LINKER@,$LINKER,;t t 13863s,@LINKER@,$LINKER,;t t
14118s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 13864s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
14119s,@RXVTNAME@,$RXVTNAME,;t t 13865s,@RXVTNAME@,$RXVTNAME,;t t
14120s,@MV@,$MV,;t t
14121s,@RM@,$RM,;t t
14122s,@CP@,$CP,;t t
14123s,@LN@,$LN,;t t
14124s,@SED@,$SED,;t t
14125s,@ECHO@,$ECHO,;t t
14126s,@CMP@,$CMP,;t t
14127s,@TIC@,$TIC,;t t 13866s,@TIC@,$TIC,;t t
14128s,@CXXCPP@,$CXXCPP,;t t 13867s,@CXXCPP@,$CXXCPP,;t t
14129s,@X_CFLAGS@,$X_CFLAGS,;t t 13868s,@X_CFLAGS@,$X_CFLAGS,;t t
14130s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 13869s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
14131s,@X_LIBS@,$X_LIBS,;t t 13870s,@X_LIBS@,$X_LIBS,;t t
14132s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 13871s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
13872s,@afterimage_config@,$afterimage_config,;t t
14133s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 13873s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t
14134s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t 13874s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t
14135s,@XPM_LIBS@,$XPM_LIBS,;t t 13875s,@XPM_LIBS@,$XPM_LIBS,;t t
14136s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t 13876s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t
14137s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t 13877s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t
14138s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t 13878s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t
14139s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t 13879s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t
14140s,@rxvt_intp_define@,$rxvt_intp_define,;t t 13880s,@rxvt_intp_define@,$rxvt_intp_define,;t t
14141s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 13881s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
13882s,@PKG_CONFIG@,$PKG_CONFIG,;t t
13883s,@XFT_CONFIG@,$XFT_CONFIG,;t t
14142s,@PERL@,$PERL,;t t 13884s,@PERL@,$PERL,;t t
14143s,@PERLLIB@,$PERLLIB,;t t 13885s,@PERLLIB@,$PERLLIB,;t t
14144s,@PERLFLAGS@,$PERLFLAGS,;t t 13886s,@PERLFLAGS@,$PERLFLAGS,;t t
14145s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t 13887s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t
14146s,@IF_PERL@,$IF_PERL,;t t 13888s,@IF_PERL@,$IF_PERL,;t t
14147s,@PERL_O@,$PERL_O,;t t 13889s,@PERL_O@,$PERL_O,;t t
14148s,@DEBUG@,$DEBUG,;t t 13890s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t
14149s,@DINCLUDE@,$DINCLUDE,;t t 13891s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t
14150s,@DLIB@,$DLIB,;t t
14151s,@include_stdint_h@,$include_stdint_h,;t t 13892s,@include_stdint_h@,$include_stdint_h,;t t
14152s,@include_stdarg_h@,$include_stdarg_h,;t t 13893s,@include_stdarg_h@,$include_stdarg_h,;t t
14153s,@include_stdlib_h@,$include_stdlib_h,;t t 13894s,@include_stdlib_h@,$include_stdlib_h,;t t
14154s,@include_unistd_h@,$include_unistd_h,;t t 13895s,@include_unistd_h@,$include_unistd_h,;t t
14155s,@include_string_h@,$include_string_h,;t t 13896s,@include_string_h@,$include_string_h,;t t
14327 case $INSTALL in 14068 case $INSTALL in
14328 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14069 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14329 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 14070 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14330 esac 14071 esac
14331 14072
14073 if test x"$ac_file" != x-; then
14074 { echo "$as_me:$LINENO: creating $ac_file" >&5
14075echo "$as_me: creating $ac_file" >&6;}
14076 rm -f "$ac_file"
14077 fi
14332 # Let's still pretend it is `configure' which instantiates (i.e., don't 14078 # Let's still pretend it is `configure' which instantiates (i.e., don't
14333 # use $as_me), people would be surprised to read: 14079 # use $as_me), people would be surprised to read:
14334 # /* config.h. Generated by config.status. */ 14080 # /* config.h. Generated by config.status. */
14335 if test x"$ac_file" = x-; then 14081 if test x"$ac_file" = x-; then
14336 configure_input= 14082 configure_input=
14365echo "$as_me: error: cannot find input file: $f" >&2;} 14111echo "$as_me: error: cannot find input file: $f" >&2;}
14366 { (exit 1); exit 1; }; } 14112 { (exit 1); exit 1; }; }
14367 fi;; 14113 fi;;
14368 esac 14114 esac
14369 done` || { (exit 1); exit 1; } 14115 done` || { (exit 1); exit 1; }
14370
14371 if test x"$ac_file" != x-; then
14372 { echo "$as_me:$LINENO: creating $ac_file" >&5
14373echo "$as_me: creating $ac_file" >&6;}
14374 rm -f "$ac_file"
14375 fi
14376_ACEOF 14116_ACEOF
14377cat >>$CONFIG_STATUS <<_ACEOF 14117cat >>$CONFIG_STATUS <<_ACEOF
14378 sed "$ac_vpsub 14118 sed "$ac_vpsub
14379$extrasub 14119$extrasub
14380_ACEOF 14120_ACEOF
14660 14400
14661 Rxvt version: $VERSION : $DATE 14401 Rxvt version: $VERSION : $DATE
14662 Source code location: $srcdir 14402 Source code location: $srcdir
14663 Install path: ${prefix}/bin 14403 Install path: ${prefix}/bin
14664 Compiler: $CXX 14404 Compiler: $CXX
14665 Compiler flags: $CFLAGS 14405 Compiler flags: $CXXFLAGS
14666 Linker: $LINKER" 14406 Linker: $LINKER"
14667
14668if test "$MALLOC_TYPE" = S; then
14669 echo " malloc support: system default"
14670fi
14671if test "$MALLOC_TYPE" = G; then
14672 echo " malloc support: Gray Watson's dmalloc"
14673fi
14674if test "$MALLOC_TYPE" = D; then
14675 echo " malloc support: Doug Lea's malloc"
14676fi
14677 14407
14678if test x$support_xpm = xyes; then 14408if test x$support_xpm = xyes; then
14679 echo " Xpm library: $XPM_LIBS" 14409 echo " Xpm library: $XPM_LIBS"
14680fi 14410fi
14681 14411
14682echo " 14412if test x$support_afterimage = xyes; then
14683The following are set in config.h 14413 echo " AfterImage support: yes"
14684" 14414fi
14415
14685if test x$support_utmp != xyes; then 14416if test x$support_afterstep = xyes; then
14686 echo " utmp support: disabled" 14417 echo " AfterStep integration: yes"
14687 echo
14688else
14689 echo " utmp support: enabled
14690 utmp file: $rxvt_cv_path_utmp
14691 utmpx file: $rxvt_cv_path_utmpx
14692 wtmp file: $rxvt_cv_path_wtmp
14693 wtmpx file: $rxvt_cv_path_wtmpx
14694 lastlog file: $rxvt_cv_path_lastlog
14695 ttys/ttytab file: $rxvt_cv_path_ttytab
14696 embedded perl: $support_perl"
14697 echo
14698fi 14418fi
14419
14699if test x$term != x; then 14420if test x$term != x; then
14700 echo " set TERM to: $term" 14421 echo " set TERM to: $term"
14701fi 14422fi
14702if test x$terminfo != x; then 14423if test x$terminfo != x; then
14703 echo " set TERMINFO to: $terminfo" 14424 echo " set TERMINFO to: $terminfo"
14705echo " default resource name: $RESNAME" 14426echo " default resource name: $RESNAME"
14706echo " resource class: $RESCLASS" 14427echo " resource class: $RESCLASS"
14707if test x$RESFALLBACK != x; then 14428if test x$RESFALLBACK != x; then
14708 echo " resource class fallback: $RESFALLBACK" 14429 echo " resource class fallback: $RESFALLBACK"
14709fi 14430fi
14431echo
14432echo " embedded perl: $support_perl"
14710echo 14433echo
14711if test x$support_xpm = xneedsmanualspecification; then 14434if test x$support_xpm = xneedsmanualspecification; then
14712 echo ".----------------------------------------------------------------." 14435 echo ".----------------------------------------------------------------."
14713 echo ". WARNING: --enable-xpm-background was specified however the ." 14436 echo ". WARNING: --enable-xpm-background was specified however the ."
14714 echo ". XPM includes files and libraries could not be found. ." 14437 echo ". XPM includes files and libraries could not be found. ."
14724 echo ". functions could not be found. ." 14447 echo ". functions could not be found. ."
14725 echo ". XIM is now being DISABLED! ." 14448 echo ". XIM is now being DISABLED! ."
14726 echo ".----------------------------------------------------------------." 14449 echo ".----------------------------------------------------------------."
14727fi 14450fi
14728 14451
14729echo " *** Optionally check src/feature.h for further options ***" 14452echo "*** Optionally check src/feature.h for further, rarely used options ***"
14730echo 14453echo
14731 14454
14732echo ".----------------------------------------------------------------."
14733echo ". NOTE: some features are disabled by default, try ."
14734echo ". configure --help to get an idea of the optional features, ."
14735echo ". or read ./README.configure ."
14736echo ". ."
14737echo ". The script ./reconf gives a reasonable baseline, try it if ."
14738echo ". you do not want to read documentation and still want some ."
14739echo ". useful features. ."
14740echo ".----------------------------------------------------------------."
14741echo
14742

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines