… | |
… | |
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 | |
312 | ac_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' |
312 | ac_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' |
313 | ac_subst_files='' |
313 | ac_subst_files='' |
314 | |
314 | |
315 | # Initialize some variables set by options. |
315 | # Initialize some variables set by options. |
316 | ac_init_help= |
316 | ac_init_help= |
317 | ac_init_version=false |
317 | ac_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 | |
909 | Optional Packages: |
906 | Optional 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 |
1028 | fi |
1026 | fi |
1029 | |
1027 | |
1030 | test -n "$ac_init_help" && exit 0 |
1028 | test -n "$ac_init_help" && exit 0 |
1031 | if $ac_init_version; then |
1029 | if $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); }; } && |
… | |
… | |
3220 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3230 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3221 | if test "$ac_cv_search_strerror" != no; then |
3231 | if 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 | |
3224 | fi |
3234 | fi |
3225 | |
|
|
3226 | |
|
|
3227 | ac_ext=c |
|
|
3228 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3229 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3230 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3231 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3232 | |
|
|
3233 | |
|
|
3234 | LINKER="$CXX" |
|
|
3235 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3236 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
|
|
3237 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
|
|
3238 | if test "${ac_cv_lib_supcpp_main+set}" = set; then |
|
|
3239 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3240 | else |
|
|
3241 | ac_check_lib_save_LIBS=$LIBS |
|
|
3242 | LIBS="-lsupc++ $LIBS" |
|
|
3243 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3244 | /* confdefs.h. */ |
|
|
3245 | _ACEOF |
|
|
3246 | cat confdefs.h >>conftest.$ac_ext |
|
|
3247 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3248 | /* end confdefs.h. */ |
|
|
3249 | |
|
|
3250 | |
|
|
3251 | int |
|
|
3252 | main () |
|
|
3253 | { |
|
|
3254 | main (); |
|
|
3255 | ; |
|
|
3256 | return 0; |
|
|
3257 | } |
|
|
3258 | _ACEOF |
|
|
3259 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3260 | if { (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 |
|
|
3281 | else |
|
|
3282 | echo "$as_me: failed program was:" >&5 |
|
|
3283 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3284 | |
|
|
3285 | ac_cv_lib_supcpp_main=no |
|
|
3286 | fi |
|
|
3287 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3288 | conftest$ac_exeext conftest.$ac_ext |
|
|
3289 | LIBS=$ac_check_lib_save_LIBS |
|
|
3290 | fi |
|
|
3291 | echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5 |
|
|
3292 | echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6 |
|
|
3293 | if test $ac_cv_lib_supcpp_main = yes; then |
|
|
3294 | |
|
|
3295 | LINKER="$CC" |
|
|
3296 | LIBS="$LIBS -lsupc++" |
|
|
3297 | |
|
|
3298 | fi |
|
|
3299 | |
|
|
3300 | fi |
|
|
3301 | LINKER=$LINKER |
|
|
3302 | |
|
|
3303 | |
3235 | |
3304 | ac_ext=cc |
3236 | ac_ext=cc |
3305 | ac_cpp='$CXXCPP $CPPFLAGS' |
3237 | ac_cpp='$CXXCPP $CPPFLAGS' |
3306 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3238 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3307 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3239 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3308 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3240 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3309 | |
3241 | |
|
|
3242 | |
|
|
3243 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3244 | echo "$as_me:$LINENO: checking for working libsupc++" >&5 |
|
|
3245 | echo $ECHO_N "checking for working libsupc++... $ECHO_C" >&6 |
|
|
3246 | save_CXX="$CXX" |
|
|
3247 | save_LIBS="$LIBS" |
|
|
3248 | CXX="$CC" |
|
|
3249 | LIBS="$LIBS -lsupc++" |
|
|
3250 | LINKER="$CC" |
|
|
3251 | |
|
|
3252 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3253 | /* confdefs.h. */ |
|
|
3254 | _ACEOF |
|
|
3255 | cat confdefs.h >>conftest.$ac_ext |
|
|
3256 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3257 | /* end confdefs.h. */ |
|
|
3258 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
|
|
3259 | int |
|
|
3260 | main () |
|
|
3261 | { |
|
|
3262 | |
|
|
3263 | ; |
|
|
3264 | return 0; |
|
|
3265 | } |
|
|
3266 | _ACEOF |
|
|
3267 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3268 | if { (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 |
|
|
3290 | echo "${ECHO_T}ok" >&6 |
|
|
3291 | else |
|
|
3292 | echo "$as_me: failed program was:" >&5 |
|
|
3293 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3294 | |
|
|
3295 | |
|
|
3296 | echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5 |
|
|
3297 | echo "${ECHO_T}no, making everything bigger and slower" >&6 |
|
|
3298 | LIBS="$save_LIBS" |
|
|
3299 | LINKER="$save_CXX" |
|
|
3300 | |
|
|
3301 | |
|
|
3302 | fi |
|
|
3303 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3304 | conftest$ac_exeext conftest.$ac_ext |
|
|
3305 | CXX="$save_CXX" |
|
|
3306 | fi |
|
|
3307 | LINKER=$LINKER |
|
|
3308 | |
|
|
3309 | |
3310 | if test -z "$orig_CXXFLAGS"; then |
3310 | if test -z "$orig_CXXFLAGS"; then |
3311 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3311 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3312 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3312 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3313 | |
3313 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3314 | /* confdefs.h. */ |
|
|
3315 | _ACEOF |
|
|
3316 | cat confdefs.h >>conftest.$ac_ext |
3314 | cat >conftest.$ac_ext <<_ACEOF |
3317 | cat >>conftest.$ac_ext <<_ACEOF |
3315 | int i; |
3318 | /* end confdefs.h. */ |
|
|
3319 | |
|
|
3320 | int |
|
|
3321 | main () |
|
|
3322 | { |
|
|
3323 | |
|
|
3324 | ; |
|
|
3325 | return 0; |
|
|
3326 | } |
3316 | _ACEOF |
3327 | _ACEOF |
3317 | rm -f conftest.$ac_objext |
3328 | rm -f conftest.$ac_objext |
3318 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3329 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3319 | (eval $ac_compile) 2>conftest.er1 |
3330 | (eval $ac_compile) 2>conftest.er1 |
3320 | ac_status=$? |
3331 | ac_status=$? |
3321 | grep -v '^ *+' conftest.er1 >conftest.err |
3332 | grep -v '^ *+' conftest.er1 >conftest.err |
3322 | rm -f conftest.er1 |
3333 | rm -f conftest.er1 |
3323 | cat conftest.err >&5 |
3334 | cat conftest.err >&5 |
3324 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3325 | (exit $ac_status); } && |
3336 | (exit $ac_status); } && |
3326 | { 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' |
3327 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3339 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3328 | (eval $ac_try) 2>&5 |
3340 | (eval $ac_try) 2>&5 |
3329 | ac_status=$? |
3341 | ac_status=$? |
3330 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3331 | (exit $ac_status); }; } && |
3343 | (exit $ac_status); }; } && |
… | |
… | |
3357 | |
3369 | |
3358 | case $host in |
3370 | case $host in |
3359 | *-*-solaris* ) |
3371 | *-*-solaris* ) |
3360 | |
3372 | |
3361 | cat >>confdefs.h <<\_ACEOF |
3373 | cat >>confdefs.h <<\_ACEOF |
3362 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3363 | _ACEOF |
|
|
3364 | |
|
|
3365 | |
|
|
3366 | cat >>confdefs.h <<\_ACEOF |
|
|
3367 | #define _XOPEN_SOURCE 2 |
3374 | #define _XOPEN_SOURCE 500 |
3368 | _ACEOF |
|
|
3369 | |
|
|
3370 | |
|
|
3371 | cat >>confdefs.h <<\_ACEOF |
|
|
3372 | #define __EXTENSIONS__ 1 |
|
|
3373 | _ACEOF |
3375 | _ACEOF |
3374 | |
3376 | |
3375 | ;; |
3377 | ;; |
3376 | esac |
3378 | esac |
3377 | |
3379 | |
… | |
… | |
3439 | grep -v '^ *+' conftest.er1 >conftest.err |
3441 | grep -v '^ *+' conftest.er1 >conftest.err |
3440 | rm -f conftest.er1 |
3442 | rm -f conftest.er1 |
3441 | cat conftest.err >&5 |
3443 | cat conftest.err >&5 |
3442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3443 | (exit $ac_status); } && |
3445 | (exit $ac_status); } && |
3444 | { 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' |
3445 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3448 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3446 | (eval $ac_try) 2>&5 |
3449 | (eval $ac_try) 2>&5 |
3447 | ac_status=$? |
3450 | ac_status=$? |
3448 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3451 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3449 | (exit $ac_status); }; } && |
3452 | (exit $ac_status); }; } && |
… | |
… | |
3504 | grep -v '^ *+' conftest.er1 >conftest.err |
3507 | grep -v '^ *+' conftest.er1 >conftest.err |
3505 | rm -f conftest.er1 |
3508 | rm -f conftest.er1 |
3506 | cat conftest.err >&5 |
3509 | cat conftest.err >&5 |
3507 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3510 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3508 | (exit $ac_status); } && |
3511 | (exit $ac_status); } && |
3509 | { 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' |
3510 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3514 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3511 | (eval $ac_try) 2>&5 |
3515 | (eval $ac_try) 2>&5 |
3512 | ac_status=$? |
3516 | ac_status=$? |
3513 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3517 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3514 | (exit $ac_status); }; } && |
3518 | (exit $ac_status); }; } && |
… | |
… | |
3601 | grep -v '^ *+' conftest.er1 >conftest.err |
3605 | grep -v '^ *+' conftest.er1 >conftest.err |
3602 | rm -f conftest.er1 |
3606 | rm -f conftest.er1 |
3603 | cat conftest.err >&5 |
3607 | cat conftest.err >&5 |
3604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3608 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3605 | (exit $ac_status); } && |
3609 | (exit $ac_status); } && |
3606 | { 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' |
3607 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3612 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3608 | (eval $ac_try) 2>&5 |
3613 | (eval $ac_try) 2>&5 |
3609 | ac_status=$? |
3614 | ac_status=$? |
3610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3611 | (exit $ac_status); }; } && |
3616 | (exit $ac_status); }; } && |
… | |
… | |
3666 | grep -v '^ *+' conftest.er1 >conftest.err |
3671 | grep -v '^ *+' conftest.er1 >conftest.err |
3667 | rm -f conftest.er1 |
3672 | rm -f conftest.er1 |
3668 | cat conftest.err >&5 |
3673 | cat conftest.err >&5 |
3669 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3670 | (exit $ac_status); } && |
3675 | (exit $ac_status); } && |
3671 | { 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' |
3672 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3678 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3673 | (eval $ac_try) 2>&5 |
3679 | (eval $ac_try) 2>&5 |
3674 | ac_status=$? |
3680 | ac_status=$? |
3675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3681 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3676 | (exit $ac_status); }; } && |
3682 | (exit $ac_status); }; } && |
… | |
… | |
3762 | grep -v '^ *+' conftest.er1 >conftest.err |
3768 | grep -v '^ *+' conftest.er1 >conftest.err |
3763 | rm -f conftest.er1 |
3769 | rm -f conftest.er1 |
3764 | cat conftest.err >&5 |
3770 | cat conftest.err >&5 |
3765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3766 | (exit $ac_status); } && |
3772 | (exit $ac_status); } && |
3767 | { 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' |
3768 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3775 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3769 | (eval $ac_try) 2>&5 |
3776 | (eval $ac_try) 2>&5 |
3770 | ac_status=$? |
3777 | ac_status=$? |
3771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3778 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3772 | (exit $ac_status); }; } && |
3779 | (exit $ac_status); }; } && |
… | |
… | |
3827 | grep -v '^ *+' conftest.er1 >conftest.err |
3834 | grep -v '^ *+' conftest.er1 >conftest.err |
3828 | rm -f conftest.er1 |
3835 | rm -f conftest.er1 |
3829 | cat conftest.err >&5 |
3836 | cat conftest.err >&5 |
3830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3831 | (exit $ac_status); } && |
3838 | (exit $ac_status); } && |
3832 | { 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' |
3833 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3841 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3834 | (eval $ac_try) 2>&5 |
3842 | (eval $ac_try) 2>&5 |
3835 | ac_status=$? |
3843 | ac_status=$? |
3836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3837 | (exit $ac_status); }; } && |
3845 | (exit $ac_status); }; } && |
… | |
… | |
3859 | fi |
3867 | fi |
3860 | |
3868 | |
3861 | fi |
3869 | fi |
3862 | |
3870 | |
3863 | |
3871 | |
3864 | echo "$as_me:$LINENO: checking for sched_yield" >&5 |
|
|
3865 | echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6 |
|
|
3866 | if test "${ac_cv_func_sched_yield+set}" = set; then |
|
|
3867 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3868 | else |
|
|
3869 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3870 | /* confdefs.h. */ |
|
|
3871 | _ACEOF |
|
|
3872 | cat confdefs.h >>conftest.$ac_ext |
|
|
3873 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3874 | /* end confdefs.h. */ |
|
|
3875 | /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield. |
|
|
3876 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3877 | #define sched_yield innocuous_sched_yield |
|
|
3878 | |
|
|
3879 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3880 | which can conflict with char sched_yield (); below. |
|
|
3881 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3882 | <limits.h> exists even on freestanding compilers. */ |
|
|
3883 | |
|
|
3884 | #ifdef __STDC__ |
|
|
3885 | # include <limits.h> |
|
|
3886 | #else |
|
|
3887 | # include <assert.h> |
|
|
3888 | #endif |
|
|
3889 | |
|
|
3890 | #undef sched_yield |
|
|
3891 | |
|
|
3892 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3893 | #ifdef __cplusplus |
|
|
3894 | extern "C" |
|
|
3895 | { |
|
|
3896 | #endif |
|
|
3897 | /* We use char because int might match the return type of a gcc2 |
|
|
3898 | builtin and then its argument prototype would still apply. */ |
|
|
3899 | char sched_yield (); |
|
|
3900 | /* The GNU C library defines this for functions which it implements |
|
|
3901 | to always fail with ENOSYS. Some functions are actually named |
|
|
3902 | something starting with __ and the normal name is an alias. */ |
|
|
3903 | #if defined (__stub_sched_yield) || defined (__stub___sched_yield) |
|
|
3904 | choke me |
|
|
3905 | #else |
|
|
3906 | char (*f) () = sched_yield; |
|
|
3907 | #endif |
|
|
3908 | #ifdef __cplusplus |
|
|
3909 | } |
|
|
3910 | #endif |
|
|
3911 | |
|
|
3912 | int |
|
|
3913 | main () |
|
|
3914 | { |
|
|
3915 | return f != sched_yield; |
|
|
3916 | ; |
|
|
3917 | return 0; |
|
|
3918 | } |
|
|
3919 | _ACEOF |
|
|
3920 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3921 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3922 | (eval $ac_link) 2>conftest.er1 |
|
|
3923 | ac_status=$? |
|
|
3924 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3925 | rm -f conftest.er1 |
|
|
3926 | cat conftest.err >&5 |
|
|
3927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3928 | (exit $ac_status); } && |
|
|
3929 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3930 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3931 | (eval $ac_try) 2>&5 |
|
|
3932 | ac_status=$? |
|
|
3933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3934 | (exit $ac_status); }; } && |
|
|
3935 | { ac_try='test -s conftest$ac_exeext' |
|
|
3936 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3937 | (eval $ac_try) 2>&5 |
|
|
3938 | ac_status=$? |
|
|
3939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3940 | (exit $ac_status); }; }; then |
|
|
3941 | ac_cv_func_sched_yield=yes |
|
|
3942 | else |
|
|
3943 | echo "$as_me: failed program was:" >&5 |
|
|
3944 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3945 | |
|
|
3946 | ac_cv_func_sched_yield=no |
|
|
3947 | fi |
|
|
3948 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3949 | conftest$ac_exeext conftest.$ac_ext |
|
|
3950 | fi |
|
|
3951 | echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5 |
|
|
3952 | echo "${ECHO_T}$ac_cv_func_sched_yield" >&6 |
|
|
3953 | if test $ac_cv_func_sched_yield = yes; then |
|
|
3954 | : |
|
|
3955 | else |
|
|
3956 | echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5 |
|
|
3957 | echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6 |
|
|
3958 | if test "${ac_cv_lib_rt_sched_yield+set}" = set; then |
|
|
3959 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3960 | else |
|
|
3961 | ac_check_lib_save_LIBS=$LIBS |
|
|
3962 | LIBS="-lrt $LIBS" |
|
|
3963 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3964 | /* confdefs.h. */ |
|
|
3965 | _ACEOF |
|
|
3966 | cat confdefs.h >>conftest.$ac_ext |
|
|
3967 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3968 | /* end confdefs.h. */ |
|
|
3969 | |
|
|
3970 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3971 | #ifdef __cplusplus |
|
|
3972 | extern "C" |
|
|
3973 | #endif |
|
|
3974 | /* We use char because int might match the return type of a gcc2 |
|
|
3975 | builtin and then its argument prototype would still apply. */ |
|
|
3976 | char sched_yield (); |
|
|
3977 | int |
|
|
3978 | main () |
|
|
3979 | { |
|
|
3980 | sched_yield (); |
|
|
3981 | ; |
|
|
3982 | return 0; |
|
|
3983 | } |
|
|
3984 | _ACEOF |
|
|
3985 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3986 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3987 | (eval $ac_link) 2>conftest.er1 |
|
|
3988 | ac_status=$? |
|
|
3989 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3990 | rm -f conftest.er1 |
|
|
3991 | cat conftest.err >&5 |
|
|
3992 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3993 | (exit $ac_status); } && |
|
|
3994 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3995 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3996 | (eval $ac_try) 2>&5 |
|
|
3997 | ac_status=$? |
|
|
3998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3999 | (exit $ac_status); }; } && |
|
|
4000 | { ac_try='test -s conftest$ac_exeext' |
|
|
4001 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4002 | (eval $ac_try) 2>&5 |
|
|
4003 | ac_status=$? |
|
|
4004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4005 | (exit $ac_status); }; }; then |
|
|
4006 | ac_cv_lib_rt_sched_yield=yes |
|
|
4007 | else |
|
|
4008 | echo "$as_me: failed program was:" >&5 |
|
|
4009 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4010 | |
|
|
4011 | ac_cv_lib_rt_sched_yield=no |
|
|
4012 | fi |
|
|
4013 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4014 | conftest$ac_exeext conftest.$ac_ext |
|
|
4015 | LIBS=$ac_check_lib_save_LIBS |
|
|
4016 | fi |
|
|
4017 | echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5 |
|
|
4018 | echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6 |
|
|
4019 | if test $ac_cv_lib_rt_sched_yield = yes; then |
|
|
4020 | LIBS="$LIBS -lrt" |
|
|
4021 | fi |
|
|
4022 | |
|
|
4023 | fi |
|
|
4024 | |
|
|
4025 | |
|
|
4026 | echo "$as_me:$LINENO: checking for sched_yield support" >&5 |
|
|
4027 | echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6 |
|
|
4028 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4029 | /* confdefs.h. */ |
|
|
4030 | _ACEOF |
|
|
4031 | cat confdefs.h >>conftest.$ac_ext |
|
|
4032 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4033 | /* end confdefs.h. */ |
|
|
4034 | #include <sched.h> |
|
|
4035 | int |
|
|
4036 | main () |
|
|
4037 | { |
|
|
4038 | sched_yield () |
|
|
4039 | ; |
|
|
4040 | return 0; |
|
|
4041 | } |
|
|
4042 | _ACEOF |
|
|
4043 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4044 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4045 | (eval $ac_link) 2>conftest.er1 |
|
|
4046 | ac_status=$? |
|
|
4047 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4048 | rm -f conftest.er1 |
|
|
4049 | cat conftest.err >&5 |
|
|
4050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4051 | (exit $ac_status); } && |
|
|
4052 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4053 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4054 | (eval $ac_try) 2>&5 |
|
|
4055 | ac_status=$? |
|
|
4056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4057 | (exit $ac_status); }; } && |
|
|
4058 | { ac_try='test -s conftest$ac_exeext' |
|
|
4059 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4060 | (eval $ac_try) 2>&5 |
|
|
4061 | ac_status=$? |
|
|
4062 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4063 | (exit $ac_status); }; }; then |
|
|
4064 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
4065 | echo "${ECHO_T}yes" >&6 |
|
|
4066 | |
|
|
4067 | cat >>confdefs.h <<\_ACEOF |
|
|
4068 | #define HAVE_SCHED_YIELD 1 |
|
|
4069 | _ACEOF |
|
|
4070 | |
|
|
4071 | else |
|
|
4072 | echo "$as_me: failed program was:" >&5 |
|
|
4073 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4074 | |
|
|
4075 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4076 | echo "${ECHO_T}no" >&6 |
|
|
4077 | fi |
|
|
4078 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4079 | conftest$ac_exeext conftest.$ac_ext |
|
|
4080 | |
|
|
4081 | |
|
|
4082 | MALLOC_TYPE=S |
|
|
4083 | |
3872 | |
4084 | support_frills=yes |
3873 | support_frills=yes |
4085 | support_inheritpixmap=yes |
3874 | support_inheritpixmap=yes |
4086 | support_tinting=yes |
3875 | support_tinting=yes |
4087 | support_fading=yes |
3876 | support_fading=yes |
4088 | support_keepscrolling=yes |
3877 | support_keepscrolling=yes |
4089 | support_selectionscrolling=yes |
3878 | support_selectionscrolling=yes |
4090 | support_mousewheel=yes |
3879 | support_mousewheel=yes |
4091 | support_mouseslipwheel=yes |
3880 | support_mouseslipwheel=yes |
4092 | support_utmp=yes |
|
|
4093 | support_wtmp=yes |
|
|
4094 | support_lastlog=yes |
|
|
4095 | support_text_blink=yes |
3881 | support_text_blink=yes |
4096 | support_pointer_blank=yes |
3882 | support_pointer_blank=yes |
4097 | support_scroll_rxvt=yes |
3883 | support_scroll_rxvt=yes |
4098 | support_scroll_next=yes |
3884 | support_scroll_next=yes |
4099 | support_scroll_xterm=yes |
3885 | support_scroll_xterm=yes |
4100 | support_scroll_plain=yes |
3886 | support_scroll_plain=yes |
4101 | support_xim=yes |
3887 | support_xim=yes |
4102 | support_xpm=yes |
3888 | support_xpm=yes |
|
|
3889 | support_afterimage=yes |
|
|
3890 | support_afterstep=yes |
4103 | support_xft=yes |
3891 | support_xft=yes |
4104 | support_unicode3=no |
3892 | support_unicode3=no |
4105 | support_combining=yes |
3893 | support_combining=yes |
4106 | support_8bitctrls=no |
3894 | support_8bitctrls=no |
4107 | support_iso14755=yes |
3895 | support_iso14755=yes |
… | |
… | |
4123 | # Check whether --enable-everything or --disable-everything was given. |
3911 | # Check whether --enable-everything or --disable-everything was given. |
4124 | if test "${enable_everything+set}" = set; then |
3912 | if test "${enable_everything+set}" = set; then |
4125 | enableval="$enable_everything" |
3913 | enableval="$enable_everything" |
4126 | |
3914 | |
4127 | if test x$enableval = xno; then |
3915 | if test x$enableval = xno; then |
4128 | support_24bit=no |
|
|
4129 | support_frills=no |
3916 | support_frills=no |
4130 | support_inheritpixmap=no |
3917 | support_inheritpixmap=no |
4131 | support_tinting=no |
3918 | support_tinting=no |
4132 | support_fading=no |
3919 | support_fading=no |
4133 | support_keepscrolling=no |
3920 | support_keepscrolling=no |
… | |
… | |
4143 | support_scroll_plain=no |
3930 | support_scroll_plain=no |
4144 | support_utmp=no |
3931 | support_utmp=no |
4145 | support_wtmp=no |
3932 | support_wtmp=no |
4146 | support_xim=no |
3933 | support_xim=no |
4147 | support_xpm=no |
3934 | support_xpm=no |
|
|
3935 | support_afterimage=no |
|
|
3936 | support_afterstep=no |
4148 | support_xft=no |
3937 | support_xft=no |
4149 | support_unicode3=no |
3938 | support_unicode3=no |
4150 | support_combining=no |
3939 | support_combining=no |
4151 | support_8bitctrls=no |
3940 | support_8bitctrls=no |
4152 | support_iso14755=no |
3941 | support_iso14755=no |
4153 | support_styles=no |
3942 | support_styles=no |
4154 | support_perl=no |
3943 | support_perl=no |
4155 | codesets= |
3944 | codesets= |
4156 | fi |
3945 | fi |
4157 | if test x$enableval = xyes; then |
3946 | if test x$enableval = xyes; then |
4158 | support_24bit=yes |
|
|
4159 | support_frills=yes |
3947 | support_frills=yes |
4160 | support_inheritpixmap=yes |
3948 | support_inheritpixmap=yes |
4161 | support_tinting=yes |
3949 | support_tinting=yes |
4162 | support_fading=yes |
3950 | support_fading=yes |
4163 | support_keepscrolling=yes |
3951 | support_keepscrolling=yes |
… | |
… | |
4173 | support_scroll_plain=yes |
3961 | support_scroll_plain=yes |
4174 | support_utmp=yes |
3962 | support_utmp=yes |
4175 | support_wtmp=yes |
3963 | support_wtmp=yes |
4176 | support_xim=yes |
3964 | support_xim=yes |
4177 | support_xpm=yes |
3965 | support_xpm=yes |
|
|
3966 | support_afterimage=yes |
|
|
3967 | support_afterstep=yes |
4178 | support_xft=yes |
3968 | support_xft=yes |
4179 | support_unicode3=yes |
3969 | support_unicode3=yes |
4180 | support_combining=yes |
3970 | support_combining=yes |
4181 | #support_8bitctrls=yes |
3971 | #support_8bitctrls=yes |
4182 | support_iso14755=yes |
3972 | support_iso14755=yes |
… | |
… | |
4217 | if test x$enableval = xyes -o x$enableval = xno; then |
4007 | if test x$enableval = xyes -o x$enableval = xno; then |
4218 | support_styles=$enableval |
4008 | support_styles=$enableval |
4219 | fi |
4009 | fi |
4220 | fi; |
4010 | fi; |
4221 | |
4011 | |
4222 | # Check whether --enable-utmp or --disable-utmp was given. |
|
|
4223 | if test "${enable_utmp+set}" = set; then |
|
|
4224 | enableval="$enable_utmp" |
|
|
4225 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4226 | support_utmp=$enableval |
|
|
4227 | fi |
|
|
4228 | fi; |
|
|
4229 | |
|
|
4230 | # Check whether --enable-wtmp or --disable-wtmp was given. |
|
|
4231 | if test "${enable_wtmp+set}" = set; then |
|
|
4232 | enableval="$enable_wtmp" |
|
|
4233 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4234 | support_wtmp=$enableval |
|
|
4235 | fi |
|
|
4236 | fi; |
|
|
4237 | |
|
|
4238 | # Check whether --enable-lastlog or --disable-lastlog was given. |
|
|
4239 | if test "${enable_lastlog+set}" = set; then |
|
|
4240 | enableval="$enable_lastlog" |
|
|
4241 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4242 | support_lastlog=$enableval |
|
|
4243 | fi |
|
|
4244 | fi; |
|
|
4245 | |
|
|
4246 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
4012 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
4247 | if test "${enable_xpm_background+set}" = set; then |
4013 | if test "${enable_xpm_background+set}" = set; then |
4248 | enableval="$enable_xpm_background" |
4014 | enableval="$enable_xpm_background" |
4249 | if test x$enableval = xyes -o x$enableval = xno; then |
4015 | if test x$enableval = xyes -o x$enableval = xno; then |
4250 | support_xpm=$enableval |
4016 | support_xpm=$enableval |
4251 | fi |
4017 | fi |
4252 | fi; |
4018 | fi; |
4253 | |
4019 | |
|
|
4020 | # Check whether --enable-afterimage or --disable-afterimage was given. |
|
|
4021 | if 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 |
|
|
4026 | fi; |
|
|
4027 | |
|
|
4028 | |
|
|
4029 | # Check whether --with-afterimage_config or --without-afterimage_config was given. |
|
|
4030 | if 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 |
|
|
4035 | fi; |
|
|
4036 | |
|
|
4037 | # Check whether --enable-afterstep or --disable-afterstep was given. |
|
|
4038 | if 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 |
|
|
4043 | fi; |
|
|
4044 | |
4254 | # Check whether --enable-transparency or --disable-transparency was given. |
4045 | # Check whether --enable-transparency or --disable-transparency was given. |
4255 | if test "${enable_transparency+set}" = set; then |
4046 | if test "${enable_transparency+set}" = set; then |
4256 | enableval="$enable_transparency" |
4047 | enableval="$enable_transparency" |
4257 | if test x$enableval = xyes -o x$enableval = xno; then |
4048 | if test x$enableval = xyes -o x$enableval = xno; then |
4258 | support_inheritpixmap=$enableval |
4049 | support_inheritpixmap=$enableval |
… | |
… | |
4314 | support_scroll_plain=$enableval |
4105 | support_scroll_plain=$enableval |
4315 | fi |
4106 | fi |
4316 | fi; |
4107 | fi; |
4317 | |
4108 | |
4318 | |
4109 | |
4319 | |
|
|
4320 | # Check whether --with-codesets or --without-codesets was given. |
4110 | # Check whether --with-codesets or --without-codesets was given. |
4321 | if test "${with_codesets+set}" = set; then |
4111 | if test "${with_codesets+set}" = set; then |
4322 | withval="$with_codesets" |
4112 | withval="$with_codesets" |
4323 | codesets="$withval" |
4113 | codesets="$withval" |
4324 | fi; |
4114 | fi; |
… | |
… | |
4329 | if test x$enableval = xyes -o x$enableval = xno; then |
4119 | if test x$enableval = xyes -o x$enableval = xno; then |
4330 | support_xim=$enableval |
4120 | support_xim=$enableval |
4331 | fi |
4121 | fi |
4332 | fi; |
4122 | fi; |
4333 | |
4123 | |
4334 | # Check whether --enable-ttygid or --disable-ttygid was given. |
|
|
4335 | if test "${enable_ttygid+set}" = set; then |
|
|
4336 | enableval="$enable_ttygid" |
|
|
4337 | if test x$enableval = xyes; then |
|
|
4338 | |
|
|
4339 | cat >>confdefs.h <<\_ACEOF |
|
|
4340 | #define TTY_GID_SUPPORT 1 |
|
|
4341 | _ACEOF |
|
|
4342 | |
|
|
4343 | fi |
|
|
4344 | fi; |
|
|
4345 | |
|
|
4346 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
4124 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
4347 | if test "${enable_backspace_key+set}" = set; then |
4125 | if test "${enable_backspace_key+set}" = set; then |
4348 | enableval="$enable_backspace_key" |
4126 | enableval="$enable_backspace_key" |
4349 | if test x$enableval = xno; then |
4127 | if test x$enableval = xno; then |
4350 | |
4128 | |
… | |
… | |
4474 | if test x$enableval = xyes -o x$enableval = xno; then |
4252 | if test x$enableval = xyes -o x$enableval = xno; then |
4475 | support_frills=$enableval |
4253 | support_frills=$enableval |
4476 | fi |
4254 | fi |
4477 | fi; |
4255 | fi; |
4478 | |
4256 | |
4479 | # Check whether --enable-24bit or --disable-24bit was given. |
|
|
4480 | if test "${enable_24bit+set}" = set; then |
|
|
4481 | enableval="$enable_24bit" |
|
|
4482 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4483 | support_24bit=$enableval |
|
|
4484 | fi |
|
|
4485 | fi; |
|
|
4486 | |
|
|
4487 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
4257 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
4488 | if test "${enable_keepscrolling+set}" = set; then |
4258 | if test "${enable_keepscrolling+set}" = set; then |
4489 | enableval="$enable_keepscrolling" |
4259 | enableval="$enable_keepscrolling" |
4490 | if test x$enableval = xyes -o x$enableval = xno; then |
4260 | if test x$enableval = xyes -o x$enableval = xno; then |
4491 | support_keepscrolling=$enableval |
4261 | support_keepscrolling=$enableval |
… | |
… | |
4514 | if test x$enableval = xyes -o x$enableval = xno; then |
4284 | if test x$enableval = xyes -o x$enableval = xno; then |
4515 | support_mouseslipwheel=$enableval |
4285 | support_mouseslipwheel=$enableval |
4516 | fi |
4286 | fi |
4517 | fi; |
4287 | fi; |
4518 | |
4288 | |
4519 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
|
|
4520 | if test "${enable_dmalloc+set}" = set; then |
|
|
4521 | enableval="$enable_dmalloc" |
|
|
4522 | if test x$enableval = xyes; then |
|
|
4523 | MALLOC_TYPE=G |
|
|
4524 | DEBUG=-DDEBUG_MALLOC |
|
|
4525 | DLIB="-L/usr/local/lib -ldmalloc" |
|
|
4526 | DINCLUDE=-I/usr/local/include |
|
|
4527 | fi |
|
|
4528 | fi; |
|
|
4529 | |
|
|
4530 | # Check whether --enable-dlmalloc or --disable-dlmalloc was given. |
|
|
4531 | if test "${enable_dlmalloc+set}" = set; then |
|
|
4532 | enableval="$enable_dlmalloc" |
|
|
4533 | if test x$enableval = xyes; then |
|
|
4534 | MALLOC_TYPE=D |
|
|
4535 | DEBUG= |
|
|
4536 | DLIB="-L/usr/local/lib -ldlmalloc" |
|
|
4537 | DINCLUDE= |
|
|
4538 | fi |
|
|
4539 | fi; |
|
|
4540 | |
|
|
4541 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
4289 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
4542 | if test "${enable_smart_resize+set}" = set; then |
4290 | if test "${enable_smart_resize+set}" = set; then |
4543 | enableval="$enable_smart_resize" |
4291 | enableval="$enable_smart_resize" |
4544 | if test x$enableval = xyes; then |
4292 | if test x$enableval = xyes; then |
4545 | |
4293 | |
… | |
… | |
4590 | _ACEOF |
4338 | _ACEOF |
4591 | terminfo="$withval" |
4339 | terminfo="$withval" |
4592 | fi |
4340 | fi |
4593 | fi; |
4341 | fi; |
4594 | |
4342 | |
4595 | |
|
|
4596 | # Extract the first word of "mv", so it can be a program name with args. |
|
|
4597 | set dummy mv; ac_word=$2 |
|
|
4598 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4599 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4600 | if test "${ac_cv_path_MV+set}" = set; then |
|
|
4601 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4602 | else |
|
|
4603 | case $MV in |
|
|
4604 | [\\/]* | ?:[\\/]*) |
|
|
4605 | ac_cv_path_MV="$MV" # Let the user override the test with a path. |
|
|
4606 | ;; |
|
|
4607 | *) |
|
|
4608 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4609 | for as_dir in $PATH |
|
|
4610 | do |
|
|
4611 | IFS=$as_save_IFS |
|
|
4612 | test -z "$as_dir" && as_dir=. |
|
|
4613 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4614 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4615 | ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" |
|
|
4616 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4617 | break 2 |
|
|
4618 | fi |
|
|
4619 | done |
|
|
4620 | done |
|
|
4621 | |
|
|
4622 | test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv" |
|
|
4623 | ;; |
|
|
4624 | esac |
|
|
4625 | fi |
|
|
4626 | MV=$ac_cv_path_MV |
|
|
4627 | |
|
|
4628 | if test -n "$MV"; then |
|
|
4629 | echo "$as_me:$LINENO: result: $MV" >&5 |
|
|
4630 | echo "${ECHO_T}$MV" >&6 |
|
|
4631 | else |
|
|
4632 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4633 | echo "${ECHO_T}no" >&6 |
|
|
4634 | fi |
|
|
4635 | |
|
|
4636 | # Extract the first word of "rm", so it can be a program name with args. |
|
|
4637 | set dummy rm; ac_word=$2 |
|
|
4638 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4639 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4640 | if test "${ac_cv_path_RM+set}" = set; then |
|
|
4641 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4642 | else |
|
|
4643 | case $RM in |
|
|
4644 | [\\/]* | ?:[\\/]*) |
|
|
4645 | ac_cv_path_RM="$RM" # Let the user override the test with a path. |
|
|
4646 | ;; |
|
|
4647 | *) |
|
|
4648 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4649 | for as_dir in $PATH |
|
|
4650 | do |
|
|
4651 | IFS=$as_save_IFS |
|
|
4652 | test -z "$as_dir" && as_dir=. |
|
|
4653 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4654 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4655 | ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" |
|
|
4656 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4657 | break 2 |
|
|
4658 | fi |
|
|
4659 | done |
|
|
4660 | done |
|
|
4661 | |
|
|
4662 | test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm" |
|
|
4663 | ;; |
|
|
4664 | esac |
|
|
4665 | fi |
|
|
4666 | RM=$ac_cv_path_RM |
|
|
4667 | |
|
|
4668 | if test -n "$RM"; then |
|
|
4669 | echo "$as_me:$LINENO: result: $RM" >&5 |
|
|
4670 | echo "${ECHO_T}$RM" >&6 |
|
|
4671 | else |
|
|
4672 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4673 | echo "${ECHO_T}no" >&6 |
|
|
4674 | fi |
|
|
4675 | |
|
|
4676 | # Extract the first word of "cp", so it can be a program name with args. |
|
|
4677 | set dummy cp; ac_word=$2 |
|
|
4678 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4679 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4680 | if test "${ac_cv_path_CP+set}" = set; then |
|
|
4681 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4682 | else |
|
|
4683 | case $CP in |
|
|
4684 | [\\/]* | ?:[\\/]*) |
|
|
4685 | ac_cv_path_CP="$CP" # Let the user override the test with a path. |
|
|
4686 | ;; |
|
|
4687 | *) |
|
|
4688 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4689 | for as_dir in $PATH |
|
|
4690 | do |
|
|
4691 | IFS=$as_save_IFS |
|
|
4692 | test -z "$as_dir" && as_dir=. |
|
|
4693 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4694 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4695 | ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" |
|
|
4696 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4697 | break 2 |
|
|
4698 | fi |
|
|
4699 | done |
|
|
4700 | done |
|
|
4701 | |
|
|
4702 | test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp" |
|
|
4703 | ;; |
|
|
4704 | esac |
|
|
4705 | fi |
|
|
4706 | CP=$ac_cv_path_CP |
|
|
4707 | |
|
|
4708 | if test -n "$CP"; then |
|
|
4709 | echo "$as_me:$LINENO: result: $CP" >&5 |
|
|
4710 | echo "${ECHO_T}$CP" >&6 |
|
|
4711 | else |
|
|
4712 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4713 | echo "${ECHO_T}no" >&6 |
|
|
4714 | fi |
|
|
4715 | |
|
|
4716 | # Extract the first word of "ln", so it can be a program name with args. |
|
|
4717 | set dummy ln; ac_word=$2 |
|
|
4718 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4719 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4720 | if test "${ac_cv_path_LN+set}" = set; then |
|
|
4721 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4722 | else |
|
|
4723 | case $LN in |
|
|
4724 | [\\/]* | ?:[\\/]*) |
|
|
4725 | ac_cv_path_LN="$LN" # Let the user override the test with a path. |
|
|
4726 | ;; |
|
|
4727 | *) |
|
|
4728 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4729 | for as_dir in $PATH |
|
|
4730 | do |
|
|
4731 | IFS=$as_save_IFS |
|
|
4732 | test -z "$as_dir" && as_dir=. |
|
|
4733 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4734 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4735 | ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" |
|
|
4736 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4737 | break 2 |
|
|
4738 | fi |
|
|
4739 | done |
|
|
4740 | done |
|
|
4741 | |
|
|
4742 | test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln" |
|
|
4743 | ;; |
|
|
4744 | esac |
|
|
4745 | fi |
|
|
4746 | LN=$ac_cv_path_LN |
|
|
4747 | |
|
|
4748 | if test -n "$LN"; then |
|
|
4749 | echo "$as_me:$LINENO: result: $LN" >&5 |
|
|
4750 | echo "${ECHO_T}$LN" >&6 |
|
|
4751 | else |
|
|
4752 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4753 | echo "${ECHO_T}no" >&6 |
|
|
4754 | fi |
|
|
4755 | |
|
|
4756 | # Extract the first word of "sed", so it can be a program name with args. |
|
|
4757 | set dummy sed; ac_word=$2 |
|
|
4758 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4759 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4760 | if test "${ac_cv_path_SED+set}" = set; then |
|
|
4761 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4762 | else |
|
|
4763 | case $SED in |
|
|
4764 | [\\/]* | ?:[\\/]*) |
|
|
4765 | ac_cv_path_SED="$SED" # Let the user override the test with a path. |
|
|
4766 | ;; |
|
|
4767 | *) |
|
|
4768 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4769 | for as_dir in $PATH |
|
|
4770 | do |
|
|
4771 | IFS=$as_save_IFS |
|
|
4772 | test -z "$as_dir" && as_dir=. |
|
|
4773 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4774 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4775 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
|
|
4776 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4777 | break 2 |
|
|
4778 | fi |
|
|
4779 | done |
|
|
4780 | done |
|
|
4781 | |
|
|
4782 | test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed" |
|
|
4783 | ;; |
|
|
4784 | esac |
|
|
4785 | fi |
|
|
4786 | SED=$ac_cv_path_SED |
|
|
4787 | |
|
|
4788 | if test -n "$SED"; then |
|
|
4789 | echo "$as_me:$LINENO: result: $SED" >&5 |
|
|
4790 | echo "${ECHO_T}$SED" >&6 |
|
|
4791 | else |
|
|
4792 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4793 | echo "${ECHO_T}no" >&6 |
|
|
4794 | fi |
|
|
4795 | |
|
|
4796 | # Extract the first word of "echo", so it can be a program name with args. |
|
|
4797 | set dummy echo; ac_word=$2 |
|
|
4798 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4799 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4800 | if test "${ac_cv_path_ECHO+set}" = set; then |
|
|
4801 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4802 | else |
|
|
4803 | case $ECHO in |
|
|
4804 | [\\/]* | ?:[\\/]*) |
|
|
4805 | ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. |
|
|
4806 | ;; |
|
|
4807 | *) |
|
|
4808 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4809 | for as_dir in $PATH |
|
|
4810 | do |
|
|
4811 | IFS=$as_save_IFS |
|
|
4812 | test -z "$as_dir" && as_dir=. |
|
|
4813 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4814 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4815 | ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" |
|
|
4816 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4817 | break 2 |
|
|
4818 | fi |
|
|
4819 | done |
|
|
4820 | done |
|
|
4821 | |
|
|
4822 | test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo" |
|
|
4823 | ;; |
|
|
4824 | esac |
|
|
4825 | fi |
|
|
4826 | ECHO=$ac_cv_path_ECHO |
|
|
4827 | |
|
|
4828 | if test -n "$ECHO"; then |
|
|
4829 | echo "$as_me:$LINENO: result: $ECHO" >&5 |
|
|
4830 | echo "${ECHO_T}$ECHO" >&6 |
|
|
4831 | else |
|
|
4832 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4833 | echo "${ECHO_T}no" >&6 |
|
|
4834 | fi |
|
|
4835 | |
|
|
4836 | # Extract the first word of "cmp", so it can be a program name with args. |
|
|
4837 | set dummy cmp; ac_word=$2 |
|
|
4838 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4839 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4840 | if test "${ac_cv_path_CMP+set}" = set; then |
|
|
4841 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4842 | else |
|
|
4843 | case $CMP in |
|
|
4844 | [\\/]* | ?:[\\/]*) |
|
|
4845 | ac_cv_path_CMP="$CMP" # Let the user override the test with a path. |
|
|
4846 | ;; |
|
|
4847 | *) |
|
|
4848 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4849 | for as_dir in $PATH |
|
|
4850 | do |
|
|
4851 | IFS=$as_save_IFS |
|
|
4852 | test -z "$as_dir" && as_dir=. |
|
|
4853 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4854 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4855 | ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext" |
|
|
4856 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4857 | break 2 |
|
|
4858 | fi |
|
|
4859 | done |
|
|
4860 | done |
|
|
4861 | |
|
|
4862 | test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp" |
|
|
4863 | ;; |
|
|
4864 | esac |
|
|
4865 | fi |
|
|
4866 | CMP=$ac_cv_path_CMP |
|
|
4867 | |
|
|
4868 | if test -n "$CMP"; then |
|
|
4869 | echo "$as_me:$LINENO: result: $CMP" >&5 |
|
|
4870 | echo "${ECHO_T}$CMP" >&6 |
|
|
4871 | else |
|
|
4872 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4873 | echo "${ECHO_T}no" >&6 |
|
|
4874 | fi |
|
|
4875 | |
4343 | |
4876 | # 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. |
4877 | set dummy tic; ac_word=$2 |
4345 | set dummy tic; ac_word=$2 |
4878 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4346 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4879 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4347 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
… | |
… | |
5144 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4612 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5145 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4613 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5146 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4614 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5147 | |
4615 | |
5148 | |
4616 | |
5149 | |
|
|
5150 | if test "x$ac_path_x_has_been_run" != xyes; then |
|
|
5151 | echo "$as_me:$LINENO: checking for X" >&5 |
4617 | echo "$as_me:$LINENO: checking for X" >&5 |
5152 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
4618 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
5153 | |
4619 | |
5154 | ac_path_x_has_been_run=yes |
|
|
5155 | |
4620 | |
5156 | # Check whether --with-x or --without-x was given. |
4621 | # Check whether --with-x or --without-x was given. |
5157 | if test "${with_x+set}" = set; then |
4622 | if test "${with_x+set}" = set; then |
5158 | withval="$with_x" |
4623 | withval="$with_x" |
5159 | |
4624 | |
… | |
… | |
5242 | |
4707 | |
5243 | /usr/openwin/include |
4708 | /usr/openwin/include |
5244 | /usr/openwin/share/include' |
4709 | /usr/openwin/share/include' |
5245 | |
4710 | |
5246 | if test "$ac_x_includes" = no; then |
4711 | if test "$ac_x_includes" = no; then |
5247 | # 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. |
5248 | # First, try using that file with no special directory specified. |
4713 | # First, try using that file with no special directory specified. |
5249 | cat >conftest.$ac_ext <<_ACEOF |
4714 | cat >conftest.$ac_ext <<_ACEOF |
5250 | /* confdefs.h. */ |
4715 | /* confdefs.h. */ |
5251 | _ACEOF |
4716 | _ACEOF |
5252 | cat confdefs.h >>conftest.$ac_ext |
4717 | cat confdefs.h >>conftest.$ac_ext |
5253 | cat >>conftest.$ac_ext <<_ACEOF |
4718 | cat >>conftest.$ac_ext <<_ACEOF |
5254 | /* end confdefs.h. */ |
4719 | /* end confdefs.h. */ |
5255 | #include <X11/Xlib.h> |
4720 | #include <X11/Intrinsic.h> |
5256 | _ACEOF |
4721 | _ACEOF |
5257 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4722 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5258 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4723 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5259 | ac_status=$? |
4724 | ac_status=$? |
5260 | grep -v '^ *+' conftest.er1 >conftest.err |
4725 | grep -v '^ *+' conftest.er1 >conftest.err |
… | |
… | |
5277 | else |
4742 | else |
5278 | echo "$as_me: failed program was:" >&5 |
4743 | echo "$as_me: failed program was:" >&5 |
5279 | sed 's/^/| /' conftest.$ac_ext >&5 |
4744 | sed 's/^/| /' conftest.$ac_ext >&5 |
5280 | |
4745 | |
5281 | for ac_dir in $ac_x_header_dirs; do |
4746 | for ac_dir in $ac_x_header_dirs; do |
5282 | if test -r "$ac_dir/X11/Xlib.h"; then |
4747 | if test -r "$ac_dir/X11/Intrinsic.h"; then |
5283 | ac_x_includes=$ac_dir |
4748 | ac_x_includes=$ac_dir |
5284 | break |
4749 | break |
5285 | fi |
4750 | fi |
5286 | done |
4751 | done |
5287 | fi |
4752 | fi |
… | |
… | |
5291 | if test "$ac_x_libraries" = no; then |
4756 | if test "$ac_x_libraries" = no; then |
5292 | # Check for the libraries. |
4757 | # Check for the libraries. |
5293 | # See if we find them without any special options. |
4758 | # See if we find them without any special options. |
5294 | # Don't add to $LIBS permanently. |
4759 | # Don't add to $LIBS permanently. |
5295 | ac_save_LIBS=$LIBS |
4760 | ac_save_LIBS=$LIBS |
5296 | LIBS="-lX11 $LIBS" |
4761 | LIBS="-lXt $LIBS" |
5297 | cat >conftest.$ac_ext <<_ACEOF |
4762 | cat >conftest.$ac_ext <<_ACEOF |
5298 | /* confdefs.h. */ |
4763 | /* confdefs.h. */ |
5299 | _ACEOF |
4764 | _ACEOF |
5300 | cat confdefs.h >>conftest.$ac_ext |
4765 | cat confdefs.h >>conftest.$ac_ext |
5301 | cat >>conftest.$ac_ext <<_ACEOF |
4766 | cat >>conftest.$ac_ext <<_ACEOF |
5302 | /* end confdefs.h. */ |
4767 | /* end confdefs.h. */ |
5303 | #include <X11/Xlib.h> |
4768 | #include <X11/Intrinsic.h> |
5304 | int |
4769 | int |
5305 | main () |
4770 | main () |
5306 | { |
4771 | { |
5307 | XrmInitialize () |
4772 | XtMalloc (0) |
5308 | ; |
4773 | ; |
5309 | return 0; |
4774 | return 0; |
5310 | } |
4775 | } |
5311 | _ACEOF |
4776 | _ACEOF |
5312 | rm -f conftest.$ac_objext conftest$ac_exeext |
4777 | rm -f conftest.$ac_objext conftest$ac_exeext |
… | |
… | |
5316 | grep -v '^ *+' conftest.er1 >conftest.err |
4781 | grep -v '^ *+' conftest.er1 >conftest.err |
5317 | rm -f conftest.er1 |
4782 | rm -f conftest.er1 |
5318 | cat conftest.err >&5 |
4783 | cat conftest.err >&5 |
5319 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5320 | (exit $ac_status); } && |
4785 | (exit $ac_status); } && |
5321 | { 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' |
5322 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4788 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5323 | (eval $ac_try) 2>&5 |
4789 | (eval $ac_try) 2>&5 |
5324 | ac_status=$? |
4790 | ac_status=$? |
5325 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5326 | (exit $ac_status); }; } && |
4792 | (exit $ac_status); }; } && |
… | |
… | |
5340 | LIBS=$ac_save_LIBS |
4806 | LIBS=$ac_save_LIBS |
5341 | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
4807 | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
5342 | do |
4808 | do |
5343 | # 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! |
5344 | for ac_extension in a so sl; do |
4810 | for ac_extension in a so sl; do |
5345 | if test -r $ac_dir/libX11.$ac_extension; then |
4811 | if test -r $ac_dir/libXt.$ac_extension; then |
5346 | ac_x_libraries=$ac_dir |
4812 | ac_x_libraries=$ac_dir |
5347 | break 2 |
4813 | break 2 |
5348 | fi |
4814 | fi |
5349 | done |
4815 | done |
5350 | done |
4816 | done |
… | |
… | |
5376 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
4842 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
5377 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
4843 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
5378 | # Update the cache value to reflect the command line values. |
4844 | # Update the cache value to reflect the command line values. |
5379 | ac_cv_have_x="have_x=yes \ |
4845 | ac_cv_have_x="have_x=yes \ |
5380 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
4846 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
5381 | # It might be that x_includes is empty (headers are found in the |
|
|
5382 | # standard search path. Then output the corresponding message |
|
|
5383 | ac_out_x_includes=$x_includes |
|
|
5384 | test "x$x_includes" = x && ac_out_x_includes="in standard search path" |
|
|
5385 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 |
4847 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
5386 | echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 |
4848 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
5387 | fi |
4849 | fi |
5388 | |
4850 | |
5389 | fi |
|
|
5390 | if test "$no_x" = yes; then |
4851 | if test "$no_x" = yes; then |
5391 | # 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. |
5392 | |
4853 | |
5393 | cat >>confdefs.h <<\_ACEOF |
4854 | cat >>confdefs.h <<\_ACEOF |
5394 | #define X_DISPLAY_MISSING 1 |
4855 | #define X_DISPLAY_MISSING 1 |
… | |
… | |
5432 | grep -v '^ *+' conftest.er1 >conftest.err |
4893 | grep -v '^ *+' conftest.er1 >conftest.err |
5433 | rm -f conftest.er1 |
4894 | rm -f conftest.er1 |
5434 | cat conftest.err >&5 |
4895 | cat conftest.err >&5 |
5435 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5436 | (exit $ac_status); } && |
4897 | (exit $ac_status); } && |
5437 | { 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' |
5438 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4900 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5439 | (eval $ac_try) 2>&5 |
4901 | (eval $ac_try) 2>&5 |
5440 | ac_status=$? |
4902 | ac_status=$? |
5441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5442 | (exit $ac_status); }; } && |
4904 | (exit $ac_status); }; } && |
… | |
… | |
5483 | grep -v '^ *+' conftest.er1 >conftest.err |
4945 | grep -v '^ *+' conftest.er1 >conftest.err |
5484 | rm -f conftest.er1 |
4946 | rm -f conftest.er1 |
5485 | cat conftest.err >&5 |
4947 | cat conftest.err >&5 |
5486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5487 | (exit $ac_status); } && |
4949 | (exit $ac_status); } && |
5488 | { 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' |
5489 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4952 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5490 | (eval $ac_try) 2>&5 |
4953 | (eval $ac_try) 2>&5 |
5491 | ac_status=$? |
4954 | ac_status=$? |
5492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5493 | (exit $ac_status); }; } && |
4956 | (exit $ac_status); }; } && |
… | |
… | |
5559 | grep -v '^ *+' conftest.er1 >conftest.err |
5022 | grep -v '^ *+' conftest.er1 >conftest.err |
5560 | rm -f conftest.er1 |
5023 | rm -f conftest.er1 |
5561 | cat conftest.err >&5 |
5024 | cat conftest.err >&5 |
5562 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5563 | (exit $ac_status); } && |
5026 | (exit $ac_status); } && |
5564 | { 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' |
5565 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5029 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5566 | (eval $ac_try) 2>&5 |
5030 | (eval $ac_try) 2>&5 |
5567 | ac_status=$? |
5031 | ac_status=$? |
5568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5032 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5569 | (exit $ac_status); }; } && |
5033 | (exit $ac_status); }; } && |
… | |
… | |
5614 | grep -v '^ *+' conftest.er1 >conftest.err |
5078 | grep -v '^ *+' conftest.er1 >conftest.err |
5615 | rm -f conftest.er1 |
5079 | rm -f conftest.er1 |
5616 | cat conftest.err >&5 |
5080 | cat conftest.err >&5 |
5617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5618 | (exit $ac_status); } && |
5082 | (exit $ac_status); } && |
5619 | { 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' |
5620 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5085 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5621 | (eval $ac_try) 2>&5 |
5086 | (eval $ac_try) 2>&5 |
5622 | ac_status=$? |
5087 | ac_status=$? |
5623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5624 | (exit $ac_status); }; } && |
5089 | (exit $ac_status); }; } && |
… | |
… | |
5682 | grep -v '^ *+' conftest.er1 >conftest.err |
5147 | grep -v '^ *+' conftest.er1 >conftest.err |
5683 | rm -f conftest.er1 |
5148 | rm -f conftest.er1 |
5684 | cat conftest.err >&5 |
5149 | cat conftest.err >&5 |
5685 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5686 | (exit $ac_status); } && |
5151 | (exit $ac_status); } && |
5687 | { 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' |
5688 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5154 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5689 | (eval $ac_try) 2>&5 |
5155 | (eval $ac_try) 2>&5 |
5690 | ac_status=$? |
5156 | ac_status=$? |
5691 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5692 | (exit $ac_status); }; } && |
5158 | (exit $ac_status); }; } && |
… | |
… | |
5790 | grep -v '^ *+' conftest.er1 >conftest.err |
5256 | grep -v '^ *+' conftest.er1 >conftest.err |
5791 | rm -f conftest.er1 |
5257 | rm -f conftest.er1 |
5792 | cat conftest.err >&5 |
5258 | cat conftest.err >&5 |
5793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5259 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5794 | (exit $ac_status); } && |
5260 | (exit $ac_status); } && |
5795 | { 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' |
5796 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5263 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5797 | (eval $ac_try) 2>&5 |
5264 | (eval $ac_try) 2>&5 |
5798 | ac_status=$? |
5265 | ac_status=$? |
5799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5800 | (exit $ac_status); }; } && |
5267 | (exit $ac_status); }; } && |
… | |
… | |
5854 | grep -v '^ *+' conftest.er1 >conftest.err |
5321 | grep -v '^ *+' conftest.er1 >conftest.err |
5855 | rm -f conftest.er1 |
5322 | rm -f conftest.er1 |
5856 | cat conftest.err >&5 |
5323 | cat conftest.err >&5 |
5857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5324 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5858 | (exit $ac_status); } && |
5325 | (exit $ac_status); } && |
5859 | { 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' |
5860 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5328 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5861 | (eval $ac_try) 2>&5 |
5329 | (eval $ac_try) 2>&5 |
5862 | ac_status=$? |
5330 | ac_status=$? |
5863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5864 | (exit $ac_status); }; } && |
5332 | (exit $ac_status); }; } && |
… | |
… | |
5922 | grep -v '^ *+' conftest.er1 >conftest.err |
5390 | grep -v '^ *+' conftest.er1 >conftest.err |
5923 | rm -f conftest.er1 |
5391 | rm -f conftest.er1 |
5924 | cat conftest.err >&5 |
5392 | cat conftest.err >&5 |
5925 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5393 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5926 | (exit $ac_status); } && |
5394 | (exit $ac_status); } && |
5927 | { 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' |
5928 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5397 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5929 | (eval $ac_try) 2>&5 |
5398 | (eval $ac_try) 2>&5 |
5930 | ac_status=$? |
5399 | ac_status=$? |
5931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5932 | (exit $ac_status); }; } && |
5401 | (exit $ac_status); }; } && |
… | |
… | |
6026 | grep -v '^ *+' conftest.er1 >conftest.err |
5495 | grep -v '^ *+' conftest.er1 >conftest.err |
6027 | rm -f conftest.er1 |
5496 | rm -f conftest.er1 |
6028 | cat conftest.err >&5 |
5497 | cat conftest.err >&5 |
6029 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6030 | (exit $ac_status); } && |
5499 | (exit $ac_status); } && |
6031 | { 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' |
6032 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5502 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6033 | (eval $ac_try) 2>&5 |
5503 | (eval $ac_try) 2>&5 |
6034 | ac_status=$? |
5504 | ac_status=$? |
6035 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5505 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6036 | (exit $ac_status); }; } && |
5506 | (exit $ac_status); }; } && |
… | |
… | |
6090 | grep -v '^ *+' conftest.er1 >conftest.err |
5560 | grep -v '^ *+' conftest.er1 >conftest.err |
6091 | rm -f conftest.er1 |
5561 | rm -f conftest.er1 |
6092 | cat conftest.err >&5 |
5562 | cat conftest.err >&5 |
6093 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6094 | (exit $ac_status); } && |
5564 | (exit $ac_status); } && |
6095 | { 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' |
6096 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5567 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6097 | (eval $ac_try) 2>&5 |
5568 | (eval $ac_try) 2>&5 |
6098 | ac_status=$? |
5569 | ac_status=$? |
6099 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6100 | (exit $ac_status); }; } && |
5571 | (exit $ac_status); }; } && |
… | |
… | |
6187 | grep -v '^ *+' conftest.er1 >conftest.err |
5658 | grep -v '^ *+' conftest.er1 >conftest.err |
6188 | rm -f conftest.er1 |
5659 | rm -f conftest.er1 |
6189 | cat conftest.err >&5 |
5660 | cat conftest.err >&5 |
6190 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6191 | (exit $ac_status); } && |
5662 | (exit $ac_status); } && |
6192 | { 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' |
6193 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5665 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6194 | (eval $ac_try) 2>&5 |
5666 | (eval $ac_try) 2>&5 |
6195 | ac_status=$? |
5667 | ac_status=$? |
6196 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6197 | (exit $ac_status); }; } && |
5669 | (exit $ac_status); }; } && |
… | |
… | |
6251 | grep -v '^ *+' conftest.er1 >conftest.err |
5723 | grep -v '^ *+' conftest.er1 >conftest.err |
6252 | rm -f conftest.er1 |
5724 | rm -f conftest.er1 |
6253 | cat conftest.err >&5 |
5725 | cat conftest.err >&5 |
6254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5726 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6255 | (exit $ac_status); } && |
5727 | (exit $ac_status); } && |
6256 | { 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' |
6257 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5730 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6258 | (eval $ac_try) 2>&5 |
5731 | (eval $ac_try) 2>&5 |
6259 | ac_status=$? |
5732 | ac_status=$? |
6260 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6261 | (exit $ac_status); }; } && |
5734 | (exit $ac_status); }; } && |
… | |
… | |
6348 | grep -v '^ *+' conftest.er1 >conftest.err |
5821 | grep -v '^ *+' conftest.er1 >conftest.err |
6349 | rm -f conftest.er1 |
5822 | rm -f conftest.er1 |
6350 | cat conftest.err >&5 |
5823 | cat conftest.err >&5 |
6351 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6352 | (exit $ac_status); } && |
5825 | (exit $ac_status); } && |
6353 | { 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' |
6354 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5828 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6355 | (eval $ac_try) 2>&5 |
5829 | (eval $ac_try) 2>&5 |
6356 | ac_status=$? |
5830 | ac_status=$? |
6357 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6358 | (exit $ac_status); }; } && |
5832 | (exit $ac_status); }; } && |
… | |
… | |
6412 | grep -v '^ *+' conftest.er1 >conftest.err |
5886 | grep -v '^ *+' conftest.er1 >conftest.err |
6413 | rm -f conftest.er1 |
5887 | rm -f conftest.er1 |
6414 | cat conftest.err >&5 |
5888 | cat conftest.err >&5 |
6415 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6416 | (exit $ac_status); } && |
5890 | (exit $ac_status); } && |
6417 | { 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' |
6418 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5893 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6419 | (eval $ac_try) 2>&5 |
5894 | (eval $ac_try) 2>&5 |
6420 | ac_status=$? |
5895 | ac_status=$? |
6421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6422 | (exit $ac_status); }; } && |
5897 | (exit $ac_status); }; } && |
… | |
… | |
6491 | grep -v '^ *+' conftest.er1 >conftest.err |
5966 | grep -v '^ *+' conftest.er1 >conftest.err |
6492 | rm -f conftest.er1 |
5967 | rm -f conftest.er1 |
6493 | cat conftest.err >&5 |
5968 | cat conftest.err >&5 |
6494 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6495 | (exit $ac_status); } && |
5970 | (exit $ac_status); } && |
6496 | { 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' |
6497 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5973 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6498 | (eval $ac_try) 2>&5 |
5974 | (eval $ac_try) 2>&5 |
6499 | ac_status=$? |
5975 | ac_status=$? |
6500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5976 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6501 | (exit $ac_status); }; } && |
5977 | (exit $ac_status); }; } && |
… | |
… | |
6526 | |
6002 | |
6527 | fi |
6003 | fi |
6528 | |
6004 | |
6529 | |
6005 | |
6530 | |
6006 | |
|
|
6007 | LIBAFTERIMAGE_CFLAGS= |
|
|
6008 | AFTERIMAGE_LIBS= |
|
|
6009 | have_afterimage= |
|
|
6010 | |
6531 | if test x$support_xpm = xyes; then |
6011 | if 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. |
|
|
6016 | set dummy afterimage-config; ac_word=$2 |
|
|
6017 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
6018 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
6019 | if test "${ac_cv_path_afterimage_config+set}" = set; then |
|
|
6020 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6021 | else |
|
|
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 |
|
|
6028 | for as_dir in $PATH |
|
|
6029 | do |
|
|
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 |
|
|
6038 | done |
|
|
6039 | done |
|
|
6040 | |
|
|
6041 | test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no" |
|
|
6042 | ;; |
|
|
6043 | esac |
|
|
6044 | fi |
|
|
6045 | afterimage_config=$ac_cv_path_afterimage_config |
|
|
6046 | |
|
|
6047 | if test -n "$afterimage_config"; then |
|
|
6048 | echo "$as_me:$LINENO: result: $afterimage_config" >&5 |
|
|
6049 | echo "${ECHO_T}$afterimage_config" >&6 |
|
|
6050 | else |
|
|
6051 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6052 | echo "${ECHO_T}no" >&6 |
|
|
6053 | fi |
|
|
6054 | |
|
|
6055 | fi |
|
|
6056 | |
|
|
6057 | echo "$as_me:$LINENO: checking for libAfterImage" >&5 |
|
|
6058 | echo $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 |
|
|
6069 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6 |
|
|
6070 | else |
|
|
6071 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6072 | echo "${ECHO_T}no" >&6 |
|
|
6073 | fi |
|
|
6074 | fi |
|
|
6075 | |
|
|
6076 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
6532 | |
6077 | |
6533 | |
6078 | |
6534 | |
6079 | |
6535 | # Initialize some more variables set by options. |
6080 | # Initialize some more variables set by options. |
6536 | # The variables have the same names as the options, with |
6081 | # The variables have the same names as the options, with |
… | |
… | |
6707 | grep -v '^ *+' conftest.er1 >conftest.err |
6252 | grep -v '^ *+' conftest.er1 >conftest.err |
6708 | rm -f conftest.er1 |
6253 | rm -f conftest.er1 |
6709 | cat conftest.err >&5 |
6254 | cat conftest.err >&5 |
6710 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6711 | (exit $ac_status); } && |
6256 | (exit $ac_status); } && |
6712 | { 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' |
6713 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6259 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6714 | (eval $ac_try) 2>&5 |
6260 | (eval $ac_try) 2>&5 |
6715 | ac_status=$? |
6261 | ac_status=$? |
6716 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6717 | (exit $ac_status); }; } && |
6263 | (exit $ac_status); }; } && |
… | |
… | |
6921 | grep -v '^ *+' conftest.er1 >conftest.err |
6467 | grep -v '^ *+' conftest.er1 >conftest.err |
6922 | rm -f conftest.er1 |
6468 | rm -f conftest.er1 |
6923 | cat conftest.err >&5 |
6469 | cat conftest.err >&5 |
6924 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6470 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6925 | (exit $ac_status); } && |
6471 | (exit $ac_status); } && |
6926 | { 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' |
6927 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6474 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6928 | (eval $ac_try) 2>&5 |
6475 | (eval $ac_try) 2>&5 |
6929 | ac_status=$? |
6476 | ac_status=$? |
6930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6477 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6931 | (exit $ac_status); }; } && |
6478 | (exit $ac_status); }; } && |
… | |
… | |
6985 | grep -v '^ *+' conftest.er1 >conftest.err |
6532 | grep -v '^ *+' conftest.er1 >conftest.err |
6986 | rm -f conftest.er1 |
6533 | rm -f conftest.er1 |
6987 | cat conftest.err >&5 |
6534 | cat conftest.err >&5 |
6988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6989 | (exit $ac_status); } && |
6536 | (exit $ac_status); } && |
6990 | { 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' |
6991 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6539 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6992 | (eval $ac_try) 2>&5 |
6540 | (eval $ac_try) 2>&5 |
6993 | ac_status=$? |
6541 | ac_status=$? |
6994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6995 | (exit $ac_status); }; } && |
6543 | (exit $ac_status); }; } && |
… | |
… | |
7155 | grep -v '^ *+' conftest.er1 >conftest.err |
6703 | grep -v '^ *+' conftest.er1 >conftest.err |
7156 | rm -f conftest.er1 |
6704 | rm -f conftest.er1 |
7157 | cat conftest.err >&5 |
6705 | cat conftest.err >&5 |
7158 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7159 | (exit $ac_status); } && |
6707 | (exit $ac_status); } && |
7160 | { 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' |
7161 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6710 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7162 | (eval $ac_try) 2>&5 |
6711 | (eval $ac_try) 2>&5 |
7163 | ac_status=$? |
6712 | ac_status=$? |
7164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7165 | (exit $ac_status); }; } && |
6714 | (exit $ac_status); }; } && |
… | |
… | |
7205 | |
6754 | |
7206 | |
6755 | |
7207 | |
6756 | |
7208 | |
6757 | |
7209 | |
6758 | |
7210 | |
|
|
7211 | |
|
|
7212 | |
|
|
7213 | |
|
|
7214 | |
|
|
7215 | |
|
|
7216 | |
|
|
7217 | |
|
|
7218 | |
|
|
7219 | for ac_header in \ |
6759 | for ac_header in \ |
7220 | assert.h \ |
6760 | assert.h \ |
7221 | fcntl.h \ |
6761 | fcntl.h \ |
7222 | grp.h \ |
|
|
7223 | libc.h \ |
|
|
7224 | lastlog.h \ |
|
|
7225 | stdarg.h \ |
6762 | stdarg.h \ |
7226 | stdlib.h \ |
6763 | stdlib.h \ |
7227 | string.h \ |
6764 | string.h \ |
7228 | termios.h \ |
6765 | termios.h \ |
7229 | unistd.h \ |
6766 | unistd.h \ |
7230 | sys/byteorder.h \ |
6767 | sys/byteorder.h \ |
7231 | sys/ioctl.h \ |
6768 | sys/ioctl.h \ |
7232 | sys/select.h \ |
6769 | sys/select.h \ |
7233 | sys/sockio.h \ |
6770 | sys/sockio.h \ |
7234 | sys/strredir.h \ |
6771 | sys/strredir.h \ |
7235 | sys/stropts.h \ |
|
|
7236 | sys/time.h \ |
6772 | sys/time.h \ |
7237 | utmp.h \ |
6773 | stdint.h \ |
7238 | utmpx.h \ |
6774 | wchar.h \ |
7239 | stdint.h \ |
6775 | cwchar \ |
7240 | pty.h \ |
6776 | clocale \ |
7241 | util.h \ |
|
|
7242 | libutil.h \ |
|
|
7243 | wchar.h \ |
|
|
7244 | cwchar \ |
|
|
7245 | clocale \ |
|
|
7246 | |
6777 | |
7247 | do |
6778 | do |
7248 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6779 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7249 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6780 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7250 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6781 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
7274 | grep -v '^ *+' conftest.er1 >conftest.err |
6805 | grep -v '^ *+' conftest.er1 >conftest.err |
7275 | rm -f conftest.er1 |
6806 | rm -f conftest.er1 |
7276 | cat conftest.err >&5 |
6807 | cat conftest.err >&5 |
7277 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7278 | (exit $ac_status); } && |
6809 | (exit $ac_status); } && |
7279 | { 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' |
7280 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6812 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7281 | (eval $ac_try) 2>&5 |
6813 | (eval $ac_try) 2>&5 |
7282 | ac_status=$? |
6814 | ac_status=$? |
7283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7284 | (exit $ac_status); }; } && |
6816 | (exit $ac_status); }; } && |
… | |
… | |
7423 | grep -v '^ *+' conftest.er1 >conftest.err |
6955 | grep -v '^ *+' conftest.er1 >conftest.err |
7424 | rm -f conftest.er1 |
6956 | rm -f conftest.er1 |
7425 | cat conftest.err >&5 |
6957 | cat conftest.err >&5 |
7426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7427 | (exit $ac_status); } && |
6959 | (exit $ac_status); } && |
7428 | { 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' |
7429 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7430 | (eval $ac_try) 2>&5 |
6963 | (eval $ac_try) 2>&5 |
7431 | ac_status=$? |
6964 | ac_status=$? |
7432 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7433 | (exit $ac_status); }; } && |
6966 | (exit $ac_status); }; } && |
… | |
… | |
7488 | grep -v '^ *+' conftest.er1 >conftest.err |
7021 | grep -v '^ *+' conftest.er1 >conftest.err |
7489 | rm -f conftest.er1 |
7022 | rm -f conftest.er1 |
7490 | cat conftest.err >&5 |
7023 | cat conftest.err >&5 |
7491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7492 | (exit $ac_status); } && |
7025 | (exit $ac_status); } && |
7493 | { 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' |
7494 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7028 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7495 | (eval $ac_try) 2>&5 |
7029 | (eval $ac_try) 2>&5 |
7496 | ac_status=$? |
7030 | ac_status=$? |
7497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7498 | (exit $ac_status); }; } && |
7032 | (exit $ac_status); }; } && |
… | |
… | |
7511 | fi |
7045 | fi |
7512 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7046 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
7513 | fi |
7047 | fi |
7514 | echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7048 | echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7515 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6 |
7049 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6 |
7516 | |
|
|
7517 | if test -n "$GCC"; then |
|
|
7518 | LDARG="-Wl," |
|
|
7519 | else |
|
|
7520 | LDARG="" |
|
|
7521 | fi |
|
|
7522 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g' |
|
|
7523 | |
|
|
7524 | ac_save_CFLAGS=$CFLAGS |
|
|
7525 | ac_save_LIBS=$LIBS |
|
|
7526 | CFLAGS="$CFLAGS $X_CFLAGS" |
|
|
7527 | LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7528 | echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5 |
|
|
7529 | echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6 |
|
|
7530 | if test "${rxvt_cv_rpath+set}" = set; then |
|
|
7531 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7532 | else |
|
|
7533 | if test "$cross_compiling" = yes; then |
|
|
7534 | { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5 |
|
|
7535 | echo "$as_me: WARNING: You may need to check the LIBS line" >&2;} |
|
|
7536 | else |
|
|
7537 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7538 | /* confdefs.h. */ |
|
|
7539 | _ACEOF |
|
|
7540 | cat confdefs.h >>conftest.$ac_ext |
|
|
7541 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7542 | /* end confdefs.h. */ |
|
|
7543 | |
|
|
7544 | main() |
|
|
7545 | { |
|
|
7546 | exit(0); |
|
|
7547 | (void) XOpenDisplay("foobar"); |
|
|
7548 | } |
|
|
7549 | _ACEOF |
|
|
7550 | rm -f conftest$ac_exeext |
|
|
7551 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7552 | (eval $ac_link) 2>&5 |
|
|
7553 | ac_status=$? |
|
|
7554 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7555 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7556 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7557 | (eval $ac_try) 2>&5 |
|
|
7558 | ac_status=$? |
|
|
7559 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7560 | (exit $ac_status); }; }; then |
|
|
7561 | rxvt_cv_rpath=yes |
|
|
7562 | else |
|
|
7563 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7564 | echo "$as_me: failed program was:" >&5 |
|
|
7565 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7566 | |
|
|
7567 | ( exit $ac_status ) |
|
|
7568 | rxvt_cv_rpath=no |
|
|
7569 | fi |
|
|
7570 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7571 | fi |
|
|
7572 | fi |
|
|
7573 | echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5 |
|
|
7574 | echo "${ECHO_T}$rxvt_cv_rpath" >&6 |
|
|
7575 | if test x$rxvt_cv_rpath != xyes; then |
|
|
7576 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g' |
|
|
7577 | LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7578 | echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5 |
|
|
7579 | echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6 |
|
|
7580 | if test "${rxvt_cv_R+set}" = set; then |
|
|
7581 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7582 | else |
|
|
7583 | if test "$cross_compiling" = yes; then |
|
|
7584 | rxvt_cv_R=no |
|
|
7585 | else |
|
|
7586 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7587 | /* confdefs.h. */ |
|
|
7588 | _ACEOF |
|
|
7589 | cat confdefs.h >>conftest.$ac_ext |
|
|
7590 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7591 | /* end confdefs.h. */ |
|
|
7592 | |
|
|
7593 | main() |
|
|
7594 | { |
|
|
7595 | exit(0); |
|
|
7596 | (void) XOpenDisplay("foobar"); |
|
|
7597 | } |
|
|
7598 | _ACEOF |
|
|
7599 | rm -f conftest$ac_exeext |
|
|
7600 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7601 | (eval $ac_link) 2>&5 |
|
|
7602 | ac_status=$? |
|
|
7603 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7604 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7605 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7606 | (eval $ac_try) 2>&5 |
|
|
7607 | ac_status=$? |
|
|
7608 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7609 | (exit $ac_status); }; }; then |
|
|
7610 | rxvt_cv_R=yes |
|
|
7611 | else |
|
|
7612 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7613 | echo "$as_me: failed program was:" >&5 |
|
|
7614 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7615 | |
|
|
7616 | ( exit $ac_status ) |
|
|
7617 | rxvt_cv_R=no |
|
|
7618 | fi |
|
|
7619 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7620 | fi |
|
|
7621 | fi |
|
|
7622 | echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5 |
|
|
7623 | echo "${ECHO_T}$rxvt_cv_R" >&6 |
|
|
7624 | if test x$rxvt_cv_R != xyes; then |
|
|
7625 | LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
|
|
7626 | fi |
|
|
7627 | fi |
|
|
7628 | |
7050 | |
7629 | echo "$as_me:$LINENO: checking for XPointer" >&5 |
7051 | echo "$as_me:$LINENO: checking for XPointer" >&5 |
7630 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6 |
7052 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6 |
7631 | if test "${rxvt_cv_xpointer+set}" = set; then |
7053 | if test "${rxvt_cv_xpointer+set}" = set; then |
7632 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7054 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
7653 | grep -v '^ *+' conftest.er1 >conftest.err |
7075 | grep -v '^ *+' conftest.er1 >conftest.err |
7654 | rm -f conftest.er1 |
7076 | rm -f conftest.er1 |
7655 | cat conftest.err >&5 |
7077 | cat conftest.err >&5 |
7656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7078 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7657 | (exit $ac_status); } && |
7079 | (exit $ac_status); } && |
7658 | { 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' |
7659 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7082 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7660 | (eval $ac_try) 2>&5 |
7083 | (eval $ac_try) 2>&5 |
7661 | ac_status=$? |
7084 | ac_status=$? |
7662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7663 | (exit $ac_status); }; } && |
7086 | (exit $ac_status); }; } && |
… | |
… | |
7686 | |
7109 | |
7687 | fi |
7110 | fi |
7688 | LIBS=$ac_save_LIBS |
7111 | LIBS=$ac_save_LIBS |
7689 | CFLAGS=$ac_save_CFLAGS |
7112 | CFLAGS=$ac_save_CFLAGS |
7690 | |
7113 | |
|
|
7114 | echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
|
|
7115 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6 |
|
|
7116 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
|
|
7117 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7118 | else |
|
|
7119 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7120 | /* confdefs.h. */ |
|
|
7121 | _ACEOF |
|
|
7122 | cat confdefs.h >>conftest.$ac_ext |
|
|
7123 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7124 | /* end confdefs.h. */ |
|
|
7125 | |
|
|
7126 | #define XLIB_ILLEGAL_ACCESS |
|
|
7127 | #include <X11/Xlib.h> |
|
|
7128 | |
|
|
7129 | int |
|
|
7130 | main () |
|
|
7131 | { |
|
|
7132 | |
|
|
7133 | Display *dpy; |
|
|
7134 | dpy->xdefaults = (char *)0; |
|
|
7135 | |
|
|
7136 | ; |
|
|
7137 | return 0; |
|
|
7138 | } |
|
|
7139 | _ACEOF |
|
|
7140 | rm -f conftest.$ac_objext |
|
|
7141 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7142 | (eval $ac_compile) 2>conftest.er1 |
|
|
7143 | ac_status=$? |
|
|
7144 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7145 | rm -f conftest.er1 |
|
|
7146 | cat conftest.err >&5 |
|
|
7147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7148 | (exit $ac_status); } && |
|
|
7149 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7150 | || test ! -s conftest.err' |
|
|
7151 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7152 | (eval $ac_try) 2>&5 |
|
|
7153 | ac_status=$? |
|
|
7154 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7155 | (exit $ac_status); }; } && |
|
|
7156 | { ac_try='test -s conftest.$ac_objext' |
|
|
7157 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7158 | (eval $ac_try) 2>&5 |
|
|
7159 | ac_status=$? |
|
|
7160 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7161 | (exit $ac_status); }; }; then |
|
|
7162 | rxvt_xlib_illegal_access=yes |
|
|
7163 | else |
|
|
7164 | echo "$as_me: failed program was:" >&5 |
|
|
7165 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7166 | |
|
|
7167 | rxvt_xlib_illegal_access=no |
|
|
7168 | |
|
|
7169 | fi |
|
|
7170 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7171 | fi |
|
|
7172 | echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5 |
|
|
7173 | echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6 |
|
|
7174 | if test x$rxvt_xlib_illegal_access = xyes; then |
|
|
7175 | |
|
|
7176 | cat >>confdefs.h <<\_ACEOF |
|
|
7177 | #define XLIB_ILLEGAL_ACCESS 1 |
|
|
7178 | _ACEOF |
|
|
7179 | |
|
|
7180 | fi |
7691 | |
7181 | |
7692 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7182 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7693 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7183 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7694 | if test "${ac_cv_c_const+set}" = set; then |
7184 | if test "${ac_cv_c_const+set}" = set; then |
7695 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7185 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
7762 | grep -v '^ *+' conftest.er1 >conftest.err |
7252 | grep -v '^ *+' conftest.er1 >conftest.err |
7763 | rm -f conftest.er1 |
7253 | rm -f conftest.er1 |
7764 | cat conftest.err >&5 |
7254 | cat conftest.err >&5 |
7765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7766 | (exit $ac_status); } && |
7256 | (exit $ac_status); } && |
7767 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7257 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7258 | || test ! -s conftest.err' |
7768 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7259 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7769 | (eval $ac_try) 2>&5 |
7260 | (eval $ac_try) 2>&5 |
7770 | ac_status=$? |
7261 | ac_status=$? |
7771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7772 | (exit $ac_status); }; } && |
7263 | (exit $ac_status); }; } && |
… | |
… | |
7822 | grep -v '^ *+' conftest.er1 >conftest.err |
7313 | grep -v '^ *+' conftest.er1 >conftest.err |
7823 | rm -f conftest.er1 |
7314 | rm -f conftest.er1 |
7824 | cat conftest.err >&5 |
7315 | cat conftest.err >&5 |
7825 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7316 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7826 | (exit $ac_status); } && |
7317 | (exit $ac_status); } && |
7827 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7318 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7319 | || test ! -s conftest.err' |
7828 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7320 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7829 | (eval $ac_try) 2>&5 |
7321 | (eval $ac_try) 2>&5 |
7830 | ac_status=$? |
7322 | ac_status=$? |
7831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7323 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7832 | (exit $ac_status); }; } && |
7324 | (exit $ac_status); }; } && |
… | |
… | |
7897 | grep -v '^ *+' conftest.er1 >conftest.err |
7389 | grep -v '^ *+' conftest.er1 >conftest.err |
7898 | rm -f conftest.er1 |
7390 | rm -f conftest.er1 |
7899 | cat conftest.err >&5 |
7391 | cat conftest.err >&5 |
7900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7392 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7901 | (exit $ac_status); } && |
7393 | (exit $ac_status); } && |
7902 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7394 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7395 | || test ! -s conftest.err' |
7903 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7396 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7904 | (eval $ac_try) 2>&5 |
7397 | (eval $ac_try) 2>&5 |
7905 | ac_status=$? |
7398 | ac_status=$? |
7906 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7399 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7907 | (exit $ac_status); }; } && |
7400 | (exit $ac_status); }; } && |
… | |
… | |
7962 | grep -v '^ *+' conftest.er1 >conftest.err |
7455 | grep -v '^ *+' conftest.er1 >conftest.err |
7963 | rm -f conftest.er1 |
7456 | rm -f conftest.er1 |
7964 | cat conftest.err >&5 |
7457 | cat conftest.err >&5 |
7965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7966 | (exit $ac_status); } && |
7459 | (exit $ac_status); } && |
7967 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7460 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7461 | || test ! -s conftest.err' |
7968 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7462 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7969 | (eval $ac_try) 2>&5 |
7463 | (eval $ac_try) 2>&5 |
7970 | ac_status=$? |
7464 | ac_status=$? |
7971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7972 | (exit $ac_status); }; } && |
7466 | (exit $ac_status); }; } && |
… | |
… | |
8066 | grep -v '^ *+' conftest.er1 >conftest.err |
7560 | grep -v '^ *+' conftest.er1 >conftest.err |
8067 | rm -f conftest.er1 |
7561 | rm -f conftest.er1 |
8068 | cat conftest.err >&5 |
7562 | cat conftest.err >&5 |
8069 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8070 | (exit $ac_status); } && |
7564 | (exit $ac_status); } && |
8071 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7565 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7566 | || test ! -s conftest.err' |
8072 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7567 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8073 | (eval $ac_try) 2>&5 |
7568 | (eval $ac_try) 2>&5 |
8074 | ac_status=$? |
7569 | ac_status=$? |
8075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8076 | (exit $ac_status); }; } && |
7571 | (exit $ac_status); }; } && |
… | |
… | |
8128 | grep -v '^ *+' conftest.er1 >conftest.err |
7623 | grep -v '^ *+' conftest.er1 >conftest.err |
8129 | rm -f conftest.er1 |
7624 | rm -f conftest.er1 |
8130 | cat conftest.err >&5 |
7625 | cat conftest.err >&5 |
8131 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7626 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8132 | (exit $ac_status); } && |
7627 | (exit $ac_status); } && |
8133 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7628 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7629 | || test ! -s conftest.err' |
8134 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7630 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8135 | (eval $ac_try) 2>&5 |
7631 | (eval $ac_try) 2>&5 |
8136 | ac_status=$? |
7632 | ac_status=$? |
8137 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7633 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8138 | (exit $ac_status); }; } && |
7634 | (exit $ac_status); }; } && |
… | |
… | |
8168 | grep -v '^ *+' conftest.er1 >conftest.err |
7664 | grep -v '^ *+' conftest.er1 >conftest.err |
8169 | rm -f conftest.er1 |
7665 | rm -f conftest.er1 |
8170 | cat conftest.err >&5 |
7666 | cat conftest.err >&5 |
8171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7667 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8172 | (exit $ac_status); } && |
7668 | (exit $ac_status); } && |
8173 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7669 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7670 | || test ! -s conftest.err' |
8174 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7671 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8175 | (eval $ac_try) 2>&5 |
7672 | (eval $ac_try) 2>&5 |
8176 | ac_status=$? |
7673 | ac_status=$? |
8177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8178 | (exit $ac_status); }; } && |
7675 | (exit $ac_status); }; } && |
… | |
… | |
8224 | grep -v '^ *+' conftest.er1 >conftest.err |
7721 | grep -v '^ *+' conftest.er1 >conftest.err |
8225 | rm -f conftest.er1 |
7722 | rm -f conftest.er1 |
8226 | cat conftest.err >&5 |
7723 | cat conftest.err >&5 |
8227 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7724 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8228 | (exit $ac_status); } && |
7725 | (exit $ac_status); } && |
8229 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7726 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7727 | || test ! -s conftest.err' |
8230 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7728 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8231 | (eval $ac_try) 2>&5 |
7729 | (eval $ac_try) 2>&5 |
8232 | ac_status=$? |
7730 | ac_status=$? |
8233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8234 | (exit $ac_status); }; } && |
7732 | (exit $ac_status); }; } && |
… | |
… | |
8264 | grep -v '^ *+' conftest.er1 >conftest.err |
7762 | grep -v '^ *+' conftest.er1 >conftest.err |
8265 | rm -f conftest.er1 |
7763 | rm -f conftest.er1 |
8266 | cat conftest.err >&5 |
7764 | cat conftest.err >&5 |
8267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8268 | (exit $ac_status); } && |
7766 | (exit $ac_status); } && |
8269 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7767 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7768 | || test ! -s conftest.err' |
8270 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7769 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8271 | (eval $ac_try) 2>&5 |
7770 | (eval $ac_try) 2>&5 |
8272 | ac_status=$? |
7771 | ac_status=$? |
8273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8274 | (exit $ac_status); }; } && |
7773 | (exit $ac_status); }; } && |
… | |
… | |
8328 | grep -v '^ *+' conftest.er1 >conftest.err |
7827 | grep -v '^ *+' conftest.er1 >conftest.err |
8329 | rm -f conftest.er1 |
7828 | rm -f conftest.er1 |
8330 | cat conftest.err >&5 |
7829 | cat conftest.err >&5 |
8331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8332 | (exit $ac_status); } && |
7831 | (exit $ac_status); } && |
8333 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7832 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7833 | || test ! -s conftest.err' |
8334 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7834 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8335 | (eval $ac_try) 2>&5 |
7835 | (eval $ac_try) 2>&5 |
8336 | ac_status=$? |
7836 | ac_status=$? |
8337 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8338 | (exit $ac_status); }; } && |
7838 | (exit $ac_status); }; } && |
… | |
… | |
8359 | See \`config.log' for more details." >&2;} |
7859 | See \`config.log' for more details." >&2;} |
8360 | { (exit 1); exit 1; }; } ;; |
7860 | { (exit 1); exit 1; }; } ;; |
8361 | esac |
7861 | esac |
8362 | else |
7862 | else |
8363 | if test "$cross_compiling" = yes; then |
7863 | if test "$cross_compiling" = yes; then |
8364 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
7864 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
8365 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
7865 | See \`config.log' for more details." >&5 |
|
|
7866 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
7867 | See \`config.log' for more details." >&2;} |
8366 | { (exit 1); exit 1; }; } |
7868 | { (exit 1); exit 1; }; } |
8367 | else |
7869 | else |
8368 | cat >conftest.$ac_ext <<_ACEOF |
7870 | cat >conftest.$ac_ext <<_ACEOF |
8369 | /* confdefs.h. */ |
7871 | /* confdefs.h. */ |
8370 | _ACEOF |
7872 | _ACEOF |
… | |
… | |
8472 | grep -v '^ *+' conftest.er1 >conftest.err |
7974 | grep -v '^ *+' conftest.er1 >conftest.err |
8473 | rm -f conftest.er1 |
7975 | rm -f conftest.er1 |
8474 | cat conftest.err >&5 |
7976 | cat conftest.err >&5 |
8475 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7977 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8476 | (exit $ac_status); } && |
7978 | (exit $ac_status); } && |
8477 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7979 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7980 | || test ! -s conftest.err' |
8478 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7981 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8479 | (eval $ac_try) 2>&5 |
7982 | (eval $ac_try) 2>&5 |
8480 | ac_status=$? |
7983 | ac_status=$? |
8481 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7984 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8482 | (exit $ac_status); }; } && |
7985 | (exit $ac_status); }; } && |
… | |
… | |
8534 | grep -v '^ *+' conftest.er1 >conftest.err |
8037 | grep -v '^ *+' conftest.er1 >conftest.err |
8535 | rm -f conftest.er1 |
8038 | rm -f conftest.er1 |
8536 | cat conftest.err >&5 |
8039 | cat conftest.err >&5 |
8537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8538 | (exit $ac_status); } && |
8041 | (exit $ac_status); } && |
8539 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8042 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8043 | || test ! -s conftest.err' |
8540 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8044 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8541 | (eval $ac_try) 2>&5 |
8045 | (eval $ac_try) 2>&5 |
8542 | ac_status=$? |
8046 | ac_status=$? |
8543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8544 | (exit $ac_status); }; } && |
8048 | (exit $ac_status); }; } && |
… | |
… | |
8574 | grep -v '^ *+' conftest.er1 >conftest.err |
8078 | grep -v '^ *+' conftest.er1 >conftest.err |
8575 | rm -f conftest.er1 |
8079 | rm -f conftest.er1 |
8576 | cat conftest.err >&5 |
8080 | cat conftest.err >&5 |
8577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8578 | (exit $ac_status); } && |
8082 | (exit $ac_status); } && |
8579 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8083 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8084 | || test ! -s conftest.err' |
8580 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8085 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8581 | (eval $ac_try) 2>&5 |
8086 | (eval $ac_try) 2>&5 |
8582 | ac_status=$? |
8087 | ac_status=$? |
8583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8584 | (exit $ac_status); }; } && |
8089 | (exit $ac_status); }; } && |
… | |
… | |
8630 | grep -v '^ *+' conftest.er1 >conftest.err |
8135 | grep -v '^ *+' conftest.er1 >conftest.err |
8631 | rm -f conftest.er1 |
8136 | rm -f conftest.er1 |
8632 | cat conftest.err >&5 |
8137 | cat conftest.err >&5 |
8633 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8634 | (exit $ac_status); } && |
8139 | (exit $ac_status); } && |
8635 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8140 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8141 | || test ! -s conftest.err' |
8636 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8142 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8637 | (eval $ac_try) 2>&5 |
8143 | (eval $ac_try) 2>&5 |
8638 | ac_status=$? |
8144 | ac_status=$? |
8639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8640 | (exit $ac_status); }; } && |
8146 | (exit $ac_status); }; } && |
… | |
… | |
8670 | grep -v '^ *+' conftest.er1 >conftest.err |
8176 | grep -v '^ *+' conftest.er1 >conftest.err |
8671 | rm -f conftest.er1 |
8177 | rm -f conftest.er1 |
8672 | cat conftest.err >&5 |
8178 | cat conftest.err >&5 |
8673 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8179 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8674 | (exit $ac_status); } && |
8180 | (exit $ac_status); } && |
8675 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8181 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8182 | || test ! -s conftest.err' |
8676 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8183 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8677 | (eval $ac_try) 2>&5 |
8184 | (eval $ac_try) 2>&5 |
8678 | ac_status=$? |
8185 | ac_status=$? |
8679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8680 | (exit $ac_status); }; } && |
8187 | (exit $ac_status); }; } && |
… | |
… | |
8734 | grep -v '^ *+' conftest.er1 >conftest.err |
8241 | grep -v '^ *+' conftest.er1 >conftest.err |
8735 | rm -f conftest.er1 |
8242 | rm -f conftest.er1 |
8736 | cat conftest.err >&5 |
8243 | cat conftest.err >&5 |
8737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8244 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8738 | (exit $ac_status); } && |
8245 | (exit $ac_status); } && |
8739 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8246 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8247 | || test ! -s conftest.err' |
8740 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8248 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8741 | (eval $ac_try) 2>&5 |
8249 | (eval $ac_try) 2>&5 |
8742 | ac_status=$? |
8250 | ac_status=$? |
8743 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8744 | (exit $ac_status); }; } && |
8252 | (exit $ac_status); }; } && |
… | |
… | |
8765 | See \`config.log' for more details." >&2;} |
8273 | See \`config.log' for more details." >&2;} |
8766 | { (exit 1); exit 1; }; } ;; |
8274 | { (exit 1); exit 1; }; } ;; |
8767 | esac |
8275 | esac |
8768 | else |
8276 | else |
8769 | if test "$cross_compiling" = yes; then |
8277 | if test "$cross_compiling" = yes; then |
8770 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
8278 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
8771 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
8279 | See \`config.log' for more details." >&5 |
|
|
8280 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
8281 | See \`config.log' for more details." >&2;} |
8772 | { (exit 1); exit 1; }; } |
8282 | { (exit 1); exit 1; }; } |
8773 | else |
8283 | else |
8774 | cat >conftest.$ac_ext <<_ACEOF |
8284 | cat >conftest.$ac_ext <<_ACEOF |
8775 | /* confdefs.h. */ |
8285 | /* confdefs.h. */ |
8776 | _ACEOF |
8286 | _ACEOF |
… | |
… | |
8878 | grep -v '^ *+' conftest.er1 >conftest.err |
8388 | grep -v '^ *+' conftest.er1 >conftest.err |
8879 | rm -f conftest.er1 |
8389 | rm -f conftest.er1 |
8880 | cat conftest.err >&5 |
8390 | cat conftest.err >&5 |
8881 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8391 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8882 | (exit $ac_status); } && |
8392 | (exit $ac_status); } && |
8883 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8393 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8394 | || test ! -s conftest.err' |
8884 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8395 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8885 | (eval $ac_try) 2>&5 |
8396 | (eval $ac_try) 2>&5 |
8886 | ac_status=$? |
8397 | ac_status=$? |
8887 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8398 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8888 | (exit $ac_status); }; } && |
8399 | (exit $ac_status); }; } && |
… | |
… | |
8940 | grep -v '^ *+' conftest.er1 >conftest.err |
8451 | grep -v '^ *+' conftest.er1 >conftest.err |
8941 | rm -f conftest.er1 |
8452 | rm -f conftest.er1 |
8942 | cat conftest.err >&5 |
8453 | cat conftest.err >&5 |
8943 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8454 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8944 | (exit $ac_status); } && |
8455 | (exit $ac_status); } && |
8945 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8456 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8457 | || test ! -s conftest.err' |
8946 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8458 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8947 | (eval $ac_try) 2>&5 |
8459 | (eval $ac_try) 2>&5 |
8948 | ac_status=$? |
8460 | ac_status=$? |
8949 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8461 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8950 | (exit $ac_status); }; } && |
8462 | (exit $ac_status); }; } && |
… | |
… | |
8980 | grep -v '^ *+' conftest.er1 >conftest.err |
8492 | grep -v '^ *+' conftest.er1 >conftest.err |
8981 | rm -f conftest.er1 |
8493 | rm -f conftest.er1 |
8982 | cat conftest.err >&5 |
8494 | cat conftest.err >&5 |
8983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8984 | (exit $ac_status); } && |
8496 | (exit $ac_status); } && |
8985 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8497 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8498 | || test ! -s conftest.err' |
8986 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8499 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8987 | (eval $ac_try) 2>&5 |
8500 | (eval $ac_try) 2>&5 |
8988 | ac_status=$? |
8501 | ac_status=$? |
8989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8990 | (exit $ac_status); }; } && |
8503 | (exit $ac_status); }; } && |
… | |
… | |
9036 | grep -v '^ *+' conftest.er1 >conftest.err |
8549 | grep -v '^ *+' conftest.er1 >conftest.err |
9037 | rm -f conftest.er1 |
8550 | rm -f conftest.er1 |
9038 | cat conftest.err >&5 |
8551 | cat conftest.err >&5 |
9039 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8552 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9040 | (exit $ac_status); } && |
8553 | (exit $ac_status); } && |
9041 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8554 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8555 | || test ! -s conftest.err' |
9042 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8556 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9043 | (eval $ac_try) 2>&5 |
8557 | (eval $ac_try) 2>&5 |
9044 | ac_status=$? |
8558 | ac_status=$? |
9045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8559 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9046 | (exit $ac_status); }; } && |
8560 | (exit $ac_status); }; } && |
… | |
… | |
9076 | grep -v '^ *+' conftest.er1 >conftest.err |
8590 | grep -v '^ *+' conftest.er1 >conftest.err |
9077 | rm -f conftest.er1 |
8591 | rm -f conftest.er1 |
9078 | cat conftest.err >&5 |
8592 | cat conftest.err >&5 |
9079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9080 | (exit $ac_status); } && |
8594 | (exit $ac_status); } && |
9081 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8595 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8596 | || test ! -s conftest.err' |
9082 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8597 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9083 | (eval $ac_try) 2>&5 |
8598 | (eval $ac_try) 2>&5 |
9084 | ac_status=$? |
8599 | ac_status=$? |
9085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8600 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9086 | (exit $ac_status); }; } && |
8601 | (exit $ac_status); }; } && |
… | |
… | |
9140 | grep -v '^ *+' conftest.er1 >conftest.err |
8655 | grep -v '^ *+' conftest.er1 >conftest.err |
9141 | rm -f conftest.er1 |
8656 | rm -f conftest.er1 |
9142 | cat conftest.err >&5 |
8657 | cat conftest.err >&5 |
9143 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8658 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9144 | (exit $ac_status); } && |
8659 | (exit $ac_status); } && |
9145 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8660 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8661 | || test ! -s conftest.err' |
9146 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8662 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9147 | (eval $ac_try) 2>&5 |
8663 | (eval $ac_try) 2>&5 |
9148 | ac_status=$? |
8664 | ac_status=$? |
9149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9150 | (exit $ac_status); }; } && |
8666 | (exit $ac_status); }; } && |
… | |
… | |
9171 | See \`config.log' for more details." >&2;} |
8687 | See \`config.log' for more details." >&2;} |
9172 | { (exit 1); exit 1; }; } ;; |
8688 | { (exit 1); exit 1; }; } ;; |
9173 | esac |
8689 | esac |
9174 | else |
8690 | else |
9175 | if test "$cross_compiling" = yes; then |
8691 | if test "$cross_compiling" = yes; then |
9176 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
8692 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
9177 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
8693 | See \`config.log' for more details." >&5 |
|
|
8694 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
8695 | See \`config.log' for more details." >&2;} |
9178 | { (exit 1); exit 1; }; } |
8696 | { (exit 1); exit 1; }; } |
9179 | else |
8697 | else |
9180 | cat >conftest.$ac_ext <<_ACEOF |
8698 | cat >conftest.$ac_ext <<_ACEOF |
9181 | /* confdefs.h. */ |
8699 | /* confdefs.h. */ |
9182 | _ACEOF |
8700 | _ACEOF |
… | |
… | |
9284 | grep -v '^ *+' conftest.er1 >conftest.err |
8802 | grep -v '^ *+' conftest.er1 >conftest.err |
9285 | rm -f conftest.er1 |
8803 | rm -f conftest.er1 |
9286 | cat conftest.err >&5 |
8804 | cat conftest.err >&5 |
9287 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8805 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9288 | (exit $ac_status); } && |
8806 | (exit $ac_status); } && |
9289 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8807 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8808 | || test ! -s conftest.err' |
9290 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8809 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9291 | (eval $ac_try) 2>&5 |
8810 | (eval $ac_try) 2>&5 |
9292 | ac_status=$? |
8811 | ac_status=$? |
9293 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9294 | (exit $ac_status); }; } && |
8813 | (exit $ac_status); }; } && |
… | |
… | |
9346 | grep -v '^ *+' conftest.er1 >conftest.err |
8865 | grep -v '^ *+' conftest.er1 >conftest.err |
9347 | rm -f conftest.er1 |
8866 | rm -f conftest.er1 |
9348 | cat conftest.err >&5 |
8867 | cat conftest.err >&5 |
9349 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8868 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9350 | (exit $ac_status); } && |
8869 | (exit $ac_status); } && |
9351 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8870 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8871 | || test ! -s conftest.err' |
9352 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8872 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9353 | (eval $ac_try) 2>&5 |
8873 | (eval $ac_try) 2>&5 |
9354 | ac_status=$? |
8874 | ac_status=$? |
9355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9356 | (exit $ac_status); }; } && |
8876 | (exit $ac_status); }; } && |
… | |
… | |
9386 | grep -v '^ *+' conftest.er1 >conftest.err |
8906 | grep -v '^ *+' conftest.er1 >conftest.err |
9387 | rm -f conftest.er1 |
8907 | rm -f conftest.er1 |
9388 | cat conftest.err >&5 |
8908 | cat conftest.err >&5 |
9389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8909 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9390 | (exit $ac_status); } && |
8910 | (exit $ac_status); } && |
9391 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8911 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8912 | || test ! -s conftest.err' |
9392 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8913 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9393 | (eval $ac_try) 2>&5 |
8914 | (eval $ac_try) 2>&5 |
9394 | ac_status=$? |
8915 | ac_status=$? |
9395 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8916 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9396 | (exit $ac_status); }; } && |
8917 | (exit $ac_status); }; } && |
… | |
… | |
9442 | grep -v '^ *+' conftest.er1 >conftest.err |
8963 | grep -v '^ *+' conftest.er1 >conftest.err |
9443 | rm -f conftest.er1 |
8964 | rm -f conftest.er1 |
9444 | cat conftest.err >&5 |
8965 | cat conftest.err >&5 |
9445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8966 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9446 | (exit $ac_status); } && |
8967 | (exit $ac_status); } && |
9447 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8968 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8969 | || test ! -s conftest.err' |
9448 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8970 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9449 | (eval $ac_try) 2>&5 |
8971 | (eval $ac_try) 2>&5 |
9450 | ac_status=$? |
8972 | ac_status=$? |
9451 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8973 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9452 | (exit $ac_status); }; } && |
8974 | (exit $ac_status); }; } && |
… | |
… | |
9482 | grep -v '^ *+' conftest.er1 >conftest.err |
9004 | grep -v '^ *+' conftest.er1 >conftest.err |
9483 | rm -f conftest.er1 |
9005 | rm -f conftest.er1 |
9484 | cat conftest.err >&5 |
9006 | cat conftest.err >&5 |
9485 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9007 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9486 | (exit $ac_status); } && |
9008 | (exit $ac_status); } && |
9487 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9009 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9010 | || test ! -s conftest.err' |
9488 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9011 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9489 | (eval $ac_try) 2>&5 |
9012 | (eval $ac_try) 2>&5 |
9490 | ac_status=$? |
9013 | ac_status=$? |
9491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9014 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9492 | (exit $ac_status); }; } && |
9015 | (exit $ac_status); }; } && |
… | |
… | |
9546 | grep -v '^ *+' conftest.er1 >conftest.err |
9069 | grep -v '^ *+' conftest.er1 >conftest.err |
9547 | rm -f conftest.er1 |
9070 | rm -f conftest.er1 |
9548 | cat conftest.err >&5 |
9071 | cat conftest.err >&5 |
9549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9072 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9550 | (exit $ac_status); } && |
9073 | (exit $ac_status); } && |
9551 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9074 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9075 | || test ! -s conftest.err' |
9552 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9076 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9553 | (eval $ac_try) 2>&5 |
9077 | (eval $ac_try) 2>&5 |
9554 | ac_status=$? |
9078 | ac_status=$? |
9555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9556 | (exit $ac_status); }; } && |
9080 | (exit $ac_status); }; } && |
… | |
… | |
9577 | See \`config.log' for more details." >&2;} |
9101 | See \`config.log' for more details." >&2;} |
9578 | { (exit 1); exit 1; }; } ;; |
9102 | { (exit 1); exit 1; }; } ;; |
9579 | esac |
9103 | esac |
9580 | else |
9104 | else |
9581 | if test "$cross_compiling" = yes; then |
9105 | if test "$cross_compiling" = yes; then |
9582 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
9106 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
9583 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
9107 | See \`config.log' for more details." >&5 |
|
|
9108 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
9109 | See \`config.log' for more details." >&2;} |
9584 | { (exit 1); exit 1; }; } |
9110 | { (exit 1); exit 1; }; } |
9585 | else |
9111 | else |
9586 | cat >conftest.$ac_ext <<_ACEOF |
9112 | cat >conftest.$ac_ext <<_ACEOF |
9587 | /* confdefs.h. */ |
9113 | /* confdefs.h. */ |
9588 | _ACEOF |
9114 | _ACEOF |
… | |
… | |
9689 | grep -v '^ *+' conftest.er1 >conftest.err |
9215 | grep -v '^ *+' conftest.er1 >conftest.err |
9690 | rm -f conftest.er1 |
9216 | rm -f conftest.er1 |
9691 | cat conftest.err >&5 |
9217 | cat conftest.err >&5 |
9692 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9218 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9693 | (exit $ac_status); } && |
9219 | (exit $ac_status); } && |
9694 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9220 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9221 | || test ! -s conftest.err' |
9695 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9222 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9696 | (eval $ac_try) 2>&5 |
9223 | (eval $ac_try) 2>&5 |
9697 | ac_status=$? |
9224 | ac_status=$? |
9698 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9225 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9699 | (exit $ac_status); }; } && |
9226 | (exit $ac_status); }; } && |
… | |
… | |
9771 | grep -v '^ *+' conftest.er1 >conftest.err |
9298 | grep -v '^ *+' conftest.er1 >conftest.err |
9772 | rm -f conftest.er1 |
9299 | rm -f conftest.er1 |
9773 | cat conftest.err >&5 |
9300 | cat conftest.err >&5 |
9774 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9301 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9775 | (exit $ac_status); } && |
9302 | (exit $ac_status); } && |
9776 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9303 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9304 | || test ! -s conftest.err' |
9777 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9305 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9778 | (eval $ac_try) 2>&5 |
9306 | (eval $ac_try) 2>&5 |
9779 | ac_status=$? |
9307 | ac_status=$? |
9780 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9308 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9781 | (exit $ac_status); }; } && |
9309 | (exit $ac_status); }; } && |
… | |
… | |
9853 | grep -v '^ *+' conftest.er1 >conftest.err |
9381 | grep -v '^ *+' conftest.er1 >conftest.err |
9854 | rm -f conftest.er1 |
9382 | rm -f conftest.er1 |
9855 | cat conftest.err >&5 |
9383 | cat conftest.err >&5 |
9856 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9857 | (exit $ac_status); } && |
9385 | (exit $ac_status); } && |
9858 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9386 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9387 | || test ! -s conftest.err' |
9859 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9388 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9860 | (eval $ac_try) 2>&5 |
9389 | (eval $ac_try) 2>&5 |
9861 | ac_status=$? |
9390 | ac_status=$? |
9862 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9391 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9863 | (exit $ac_status); }; } && |
9392 | (exit $ac_status); }; } && |
… | |
… | |
9935 | grep -v '^ *+' conftest.er1 >conftest.err |
9464 | grep -v '^ *+' conftest.er1 >conftest.err |
9936 | rm -f conftest.er1 |
9465 | rm -f conftest.er1 |
9937 | cat conftest.err >&5 |
9466 | cat conftest.err >&5 |
9938 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9467 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9939 | (exit $ac_status); } && |
9468 | (exit $ac_status); } && |
9940 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9469 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9470 | || test ! -s conftest.err' |
9941 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9471 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9942 | (eval $ac_try) 2>&5 |
9472 | (eval $ac_try) 2>&5 |
9943 | ac_status=$? |
9473 | ac_status=$? |
9944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9474 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9945 | (exit $ac_status); }; } && |
9475 | (exit $ac_status); }; } && |
… | |
… | |
10047 | grep -v '^ *+' conftest.er1 >conftest.err |
9577 | grep -v '^ *+' conftest.er1 >conftest.err |
10048 | rm -f conftest.er1 |
9578 | rm -f conftest.er1 |
10049 | cat conftest.err >&5 |
9579 | cat conftest.err >&5 |
10050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9580 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10051 | (exit $ac_status); } && |
9581 | (exit $ac_status); } && |
10052 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9582 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9583 | || test ! -s conftest.err' |
10053 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9584 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10054 | (eval $ac_try) 2>&5 |
9585 | (eval $ac_try) 2>&5 |
10055 | ac_status=$? |
9586 | ac_status=$? |
10056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9587 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10057 | (exit $ac_status); }; } && |
9588 | (exit $ac_status); }; } && |
… | |
… | |
10080 | |
9611 | |
10081 | |
9612 | |
10082 | |
9613 | |
10083 | |
9614 | |
10084 | |
9615 | |
10085 | |
|
|
10086 | |
|
|
10087 | |
|
|
10088 | |
|
|
10089 | |
|
|
10090 | |
|
|
10091 | |
|
|
10092 | |
|
|
10093 | |
|
|
10094 | |
|
|
10095 | |
|
|
10096 | |
|
|
10097 | |
|
|
10098 | |
|
|
10099 | for ac_func in \ |
9616 | for ac_func in \ |
10100 | revoke \ |
|
|
10101 | unsetenv \ |
9617 | unsetenv \ |
10102 | setutent \ |
9618 | setutent \ |
10103 | seteuid \ |
|
|
10104 | setresuid \ |
|
|
10105 | setreuid \ |
|
|
10106 | _getpty \ |
|
|
10107 | getpt \ |
|
|
10108 | posix_openpt \ |
|
|
10109 | grantpt \ |
|
|
10110 | unlockpt \ |
|
|
10111 | isastream \ |
|
|
10112 | on_exit \ |
9619 | on_exit \ |
10113 | nanosleep \ |
|
|
10114 | updwtmp \ |
|
|
10115 | updwtmpx \ |
|
|
10116 | ttyslot \ |
|
|
10117 | |
9620 | |
10118 | do |
9621 | do |
10119 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9622 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10120 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9623 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10121 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9624 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
… | |
… | |
10180 | grep -v '^ *+' conftest.er1 >conftest.err |
9683 | grep -v '^ *+' conftest.er1 >conftest.err |
10181 | rm -f conftest.er1 |
9684 | rm -f conftest.er1 |
10182 | cat conftest.err >&5 |
9685 | cat conftest.err >&5 |
10183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10184 | (exit $ac_status); } && |
9687 | (exit $ac_status); } && |
10185 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9688 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9689 | || test ! -s conftest.err' |
10186 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9690 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10187 | (eval $ac_try) 2>&5 |
9691 | (eval $ac_try) 2>&5 |
10188 | ac_status=$? |
9692 | ac_status=$? |
10189 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9693 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10190 | (exit $ac_status); }; } && |
9694 | (exit $ac_status); }; } && |
… | |
… | |
10214 | fi |
9718 | fi |
10215 | done |
9719 | done |
10216 | |
9720 | |
10217 | |
9721 | |
10218 | |
9722 | |
|
|
9723 | support_utmp=yes |
|
|
9724 | support_wtmp=yes |
|
|
9725 | support_lastlog=yes |
|
|
9726 | |
|
|
9727 | # Check whether --enable-utmp or --disable-utmp was given. |
|
|
9728 | if test "${enable_utmp+set}" = set; then |
|
|
9729 | enableval="$enable_utmp" |
|
|
9730 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9731 | support_utmp=$enableval |
|
|
9732 | fi |
|
|
9733 | fi; |
|
|
9734 | |
|
|
9735 | # Check whether --enable-wtmp or --disable-wtmp was given. |
|
|
9736 | if test "${enable_wtmp+set}" = set; then |
|
|
9737 | enableval="$enable_wtmp" |
|
|
9738 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9739 | support_wtmp=$enableval |
|
|
9740 | fi |
|
|
9741 | fi; |
|
|
9742 | |
|
|
9743 | # Check whether --enable-lastlog or --disable-lastlog was given. |
|
|
9744 | if test "${enable_lastlog+set}" = set; then |
|
|
9745 | enableval="$enable_lastlog" |
|
|
9746 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9747 | support_lastlog=$enableval |
|
|
9748 | fi |
|
|
9749 | fi; |
|
|
9750 | |
|
|
9751 | if test x$support_utmp = xyes; then |
|
|
9752 | |
|
|
9753 | cat >>confdefs.h <<\_ACEOF |
|
|
9754 | #define UTMP_SUPPORT 1 |
|
|
9755 | _ACEOF |
|
|
9756 | |
|
|
9757 | fi |
|
|
9758 | if test x$support_wtmp = xyes; then |
|
|
9759 | |
|
|
9760 | cat >>confdefs.h <<\_ACEOF |
|
|
9761 | #define WTMP_SUPPORT 1 |
|
|
9762 | _ACEOF |
|
|
9763 | |
|
|
9764 | fi |
|
|
9765 | if test x$support_lastlog = xyes; then |
|
|
9766 | |
|
|
9767 | cat >>confdefs.h <<\_ACEOF |
|
|
9768 | #define LASTLOG_SUPPORT 1 |
|
|
9769 | _ACEOF |
|
|
9770 | |
|
|
9771 | fi |
|
|
9772 | |
|
|
9773 | |
|
|
9774 | |
|
|
9775 | |
|
|
9776 | for ac_func in \ |
|
|
9777 | ttyslot \ |
|
|
9778 | updwtmp \ |
|
|
9779 | updwtmpx \ |
|
|
9780 | |
|
|
9781 | do |
|
|
9782 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
9783 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
9784 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
9785 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
9786 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9787 | else |
|
|
9788 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9789 | /* confdefs.h. */ |
|
|
9790 | _ACEOF |
|
|
9791 | cat confdefs.h >>conftest.$ac_ext |
|
|
9792 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9793 | /* end confdefs.h. */ |
|
|
9794 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
9795 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9796 | #define $ac_func innocuous_$ac_func |
|
|
9797 | |
|
|
9798 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
9799 | which can conflict with char $ac_func (); below. |
|
|
9800 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
9801 | <limits.h> exists even on freestanding compilers. */ |
|
|
9802 | |
|
|
9803 | #ifdef __STDC__ |
|
|
9804 | # include <limits.h> |
|
|
9805 | #else |
|
|
9806 | # include <assert.h> |
|
|
9807 | #endif |
|
|
9808 | |
|
|
9809 | #undef $ac_func |
|
|
9810 | |
|
|
9811 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9812 | #ifdef __cplusplus |
|
|
9813 | extern "C" |
|
|
9814 | { |
|
|
9815 | #endif |
|
|
9816 | /* We use char because int might match the return type of a gcc2 |
|
|
9817 | builtin and then its argument prototype would still apply. */ |
|
|
9818 | char $ac_func (); |
|
|
9819 | /* The GNU C library defines this for functions which it implements |
|
|
9820 | to always fail with ENOSYS. Some functions are actually named |
|
|
9821 | something starting with __ and the normal name is an alias. */ |
|
|
9822 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
9823 | choke me |
|
|
9824 | #else |
|
|
9825 | char (*f) () = $ac_func; |
|
|
9826 | #endif |
|
|
9827 | #ifdef __cplusplus |
|
|
9828 | } |
|
|
9829 | #endif |
|
|
9830 | |
|
|
9831 | int |
|
|
9832 | main () |
|
|
9833 | { |
|
|
9834 | return f != $ac_func; |
|
|
9835 | ; |
|
|
9836 | return 0; |
|
|
9837 | } |
|
|
9838 | _ACEOF |
|
|
9839 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9840 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9841 | (eval $ac_link) 2>conftest.er1 |
|
|
9842 | ac_status=$? |
|
|
9843 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9844 | rm -f conftest.er1 |
|
|
9845 | cat conftest.err >&5 |
|
|
9846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9847 | (exit $ac_status); } && |
|
|
9848 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9849 | || test ! -s conftest.err' |
|
|
9850 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9851 | (eval $ac_try) 2>&5 |
|
|
9852 | ac_status=$? |
|
|
9853 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9854 | (exit $ac_status); }; } && |
|
|
9855 | { ac_try='test -s conftest$ac_exeext' |
|
|
9856 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9857 | (eval $ac_try) 2>&5 |
|
|
9858 | ac_status=$? |
|
|
9859 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9860 | (exit $ac_status); }; }; then |
|
|
9861 | eval "$as_ac_var=yes" |
|
|
9862 | else |
|
|
9863 | echo "$as_me: failed program was:" >&5 |
|
|
9864 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9865 | |
|
|
9866 | eval "$as_ac_var=no" |
|
|
9867 | fi |
|
|
9868 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9869 | conftest$ac_exeext conftest.$ac_ext |
|
|
9870 | fi |
|
|
9871 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
9872 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
9873 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
9874 | cat >>confdefs.h <<_ACEOF |
|
|
9875 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
9876 | _ACEOF |
|
|
9877 | |
|
|
9878 | fi |
|
|
9879 | done |
|
|
9880 | |
|
|
9881 | |
|
|
9882 | |
|
|
9883 | |
|
|
9884 | |
|
|
9885 | for ac_header in \ |
|
|
9886 | utmp.h \ |
|
|
9887 | utmpx.h \ |
|
|
9888 | lastlog.h \ |
|
|
9889 | |
|
|
9890 | do |
|
|
9891 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
9892 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
9893 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
9894 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
9895 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
9896 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9897 | fi |
|
|
9898 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
9899 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
9900 | else |
|
|
9901 | # Is the header compilable? |
|
|
9902 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
9903 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
9904 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9905 | /* confdefs.h. */ |
|
|
9906 | _ACEOF |
|
|
9907 | cat confdefs.h >>conftest.$ac_ext |
|
|
9908 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9909 | /* end confdefs.h. */ |
|
|
9910 | $ac_includes_default |
|
|
9911 | #include <$ac_header> |
|
|
9912 | _ACEOF |
|
|
9913 | rm -f conftest.$ac_objext |
|
|
9914 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
9915 | (eval $ac_compile) 2>conftest.er1 |
|
|
9916 | ac_status=$? |
|
|
9917 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9918 | rm -f conftest.er1 |
|
|
9919 | cat conftest.err >&5 |
|
|
9920 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9921 | (exit $ac_status); } && |
|
|
9922 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9923 | || test ! -s conftest.err' |
|
|
9924 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9925 | (eval $ac_try) 2>&5 |
|
|
9926 | ac_status=$? |
|
|
9927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9928 | (exit $ac_status); }; } && |
|
|
9929 | { ac_try='test -s conftest.$ac_objext' |
|
|
9930 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9931 | (eval $ac_try) 2>&5 |
|
|
9932 | ac_status=$? |
|
|
9933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9934 | (exit $ac_status); }; }; then |
|
|
9935 | ac_header_compiler=yes |
|
|
9936 | else |
|
|
9937 | echo "$as_me: failed program was:" >&5 |
|
|
9938 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9939 | |
|
|
9940 | ac_header_compiler=no |
|
|
9941 | fi |
|
|
9942 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9943 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
9944 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
9945 | |
|
|
9946 | # Is the header present? |
|
|
9947 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
9948 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
9949 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9950 | /* confdefs.h. */ |
|
|
9951 | _ACEOF |
|
|
9952 | cat confdefs.h >>conftest.$ac_ext |
|
|
9953 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9954 | /* end confdefs.h. */ |
|
|
9955 | #include <$ac_header> |
|
|
9956 | _ACEOF |
|
|
9957 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
9958 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
9959 | ac_status=$? |
|
|
9960 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9961 | rm -f conftest.er1 |
|
|
9962 | cat conftest.err >&5 |
|
|
9963 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9964 | (exit $ac_status); } >/dev/null; then |
|
|
9965 | if test -s conftest.err; then |
|
|
9966 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
9967 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
9968 | else |
|
|
9969 | ac_cpp_err= |
|
|
9970 | fi |
|
|
9971 | else |
|
|
9972 | ac_cpp_err=yes |
|
|
9973 | fi |
|
|
9974 | if test -z "$ac_cpp_err"; then |
|
|
9975 | ac_header_preproc=yes |
|
|
9976 | else |
|
|
9977 | echo "$as_me: failed program was:" >&5 |
|
|
9978 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9979 | |
|
|
9980 | ac_header_preproc=no |
|
|
9981 | fi |
|
|
9982 | rm -f conftest.err conftest.$ac_ext |
|
|
9983 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
9984 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
9985 | |
|
|
9986 | # So? What about this header? |
|
|
9987 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
9988 | yes:no: ) |
|
|
9989 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
9990 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
9991 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
9992 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
9993 | ac_header_preproc=yes |
|
|
9994 | ;; |
|
|
9995 | no:yes:* ) |
|
|
9996 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
9997 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
9998 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
9999 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
10000 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
10001 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
10002 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
10003 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
10004 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
10005 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
10006 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
10007 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
10008 | ( |
|
|
10009 | cat <<\_ASBOX |
|
|
10010 | ## ------------------------------------------ ## |
|
|
10011 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
10012 | ## ------------------------------------------ ## |
|
|
10013 | _ASBOX |
|
|
10014 | ) | |
|
|
10015 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
10016 | ;; |
|
|
10017 | esac |
|
|
10018 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
10019 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
10020 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10021 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10022 | else |
|
|
10023 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
10024 | fi |
|
|
10025 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
10026 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
10027 | |
|
|
10028 | fi |
|
|
10029 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
10030 | cat >>confdefs.h <<_ACEOF |
|
|
10031 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
10032 | _ACEOF |
|
|
10033 | |
|
|
10034 | fi |
|
|
10035 | |
|
|
10036 | done |
|
|
10037 | |
|
|
10038 | |
|
|
10039 | |
10219 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10040 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10220 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10041 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10221 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
10042 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
10222 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10043 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10223 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10044 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
10244 | grep -v '^ *+' conftest.er1 >conftest.err |
10065 | grep -v '^ *+' conftest.er1 >conftest.err |
10245 | rm -f conftest.er1 |
10066 | rm -f conftest.er1 |
10246 | cat conftest.err >&5 |
10067 | cat conftest.err >&5 |
10247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10068 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10248 | (exit $ac_status); } && |
10069 | (exit $ac_status); } && |
10249 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10070 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10071 | || test ! -s conftest.err' |
10250 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10072 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10251 | (eval $ac_try) 2>&5 |
10073 | (eval $ac_try) 2>&5 |
10252 | ac_status=$? |
10074 | ac_status=$? |
10253 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10254 | (exit $ac_status); }; } && |
10076 | (exit $ac_status); }; } && |
… | |
… | |
10353 | |
10175 | |
10354 | fi |
10176 | fi |
10355 | if test $ac_cv_header_utmp_h = yes; then |
10177 | if test $ac_cv_header_utmp_h = yes; then |
10356 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10178 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10357 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
10179 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
10358 | if test "${rxvt_cv_struct_utmp+set}" = set; then |
10180 | if test "${struct_utmp+set}" = set; then |
10359 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10181 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10360 | else |
10182 | else |
10361 | cat >conftest.$ac_ext <<_ACEOF |
10183 | cat >conftest.$ac_ext <<_ACEOF |
10362 | /* confdefs.h. */ |
10184 | /* confdefs.h. */ |
10363 | _ACEOF |
10185 | _ACEOF |
… | |
… | |
10381 | grep -v '^ *+' conftest.er1 >conftest.err |
10203 | grep -v '^ *+' conftest.er1 >conftest.err |
10382 | rm -f conftest.er1 |
10204 | rm -f conftest.er1 |
10383 | cat conftest.err >&5 |
10205 | cat conftest.err >&5 |
10384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10385 | (exit $ac_status); } && |
10207 | (exit $ac_status); } && |
10386 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10208 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10209 | || test ! -s conftest.err' |
10387 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10210 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10388 | (eval $ac_try) 2>&5 |
10211 | (eval $ac_try) 2>&5 |
10389 | ac_status=$? |
10212 | ac_status=$? |
10390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10213 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10391 | (exit $ac_status); }; } && |
10214 | (exit $ac_status); }; } && |
… | |
… | |
10393 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10216 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10394 | (eval $ac_try) 2>&5 |
10217 | (eval $ac_try) 2>&5 |
10395 | ac_status=$? |
10218 | ac_status=$? |
10396 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10219 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10397 | (exit $ac_status); }; }; then |
10220 | (exit $ac_status); }; }; then |
10398 | rxvt_cv_struct_utmp=yes |
10221 | struct_utmp=yes |
10399 | else |
10222 | else |
10400 | echo "$as_me: failed program was:" >&5 |
10223 | echo "$as_me: failed program was:" >&5 |
10401 | sed 's/^/| /' conftest.$ac_ext >&5 |
10224 | sed 's/^/| /' conftest.$ac_ext >&5 |
10402 | |
10225 | |
10403 | rxvt_cv_struct_utmp=no |
10226 | struct_utmp=no |
10404 | fi |
10227 | fi |
10405 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10228 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10406 | fi |
10229 | fi |
10407 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 |
10230 | echo "$as_me:$LINENO: result: $struct_utmp" >&5 |
10408 | echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 |
10231 | echo "${ECHO_T}$struct_utmp" >&6 |
10409 | if test x$rxvt_cv_struct_utmp = xyes; then |
10232 | if test x$struct_utmp = xyes; then |
10410 | |
10233 | |
10411 | cat >>confdefs.h <<\_ACEOF |
10234 | cat >>confdefs.h <<\_ACEOF |
10412 | #define HAVE_STRUCT_UTMP 1 |
10235 | #define HAVE_STRUCT_UTMP 1 |
10413 | _ACEOF |
10236 | _ACEOF |
10414 | |
10237 | |
10415 | fi |
10238 | fi |
10416 | |
10239 | |
10417 | |
10240 | |
10418 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
10241 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
10419 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
10242 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
10420 | if test "${rxvt_cv_struct_utmp_host+set}" = set; then |
10243 | if test "${struct_utmp_host+set}" = set; then |
10421 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10244 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10422 | else |
10245 | else |
10423 | cat >conftest.$ac_ext <<_ACEOF |
10246 | cat >conftest.$ac_ext <<_ACEOF |
10424 | /* confdefs.h. */ |
10247 | /* confdefs.h. */ |
10425 | _ACEOF |
10248 | _ACEOF |
… | |
… | |
10443 | grep -v '^ *+' conftest.er1 >conftest.err |
10266 | grep -v '^ *+' conftest.er1 >conftest.err |
10444 | rm -f conftest.er1 |
10267 | rm -f conftest.er1 |
10445 | cat conftest.err >&5 |
10268 | cat conftest.err >&5 |
10446 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10447 | (exit $ac_status); } && |
10270 | (exit $ac_status); } && |
10448 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10271 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10272 | || test ! -s conftest.err' |
10449 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10273 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10450 | (eval $ac_try) 2>&5 |
10274 | (eval $ac_try) 2>&5 |
10451 | ac_status=$? |
10275 | ac_status=$? |
10452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10453 | (exit $ac_status); }; } && |
10277 | (exit $ac_status); }; } && |
… | |
… | |
10455 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10279 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10456 | (eval $ac_try) 2>&5 |
10280 | (eval $ac_try) 2>&5 |
10457 | ac_status=$? |
10281 | ac_status=$? |
10458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10282 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10459 | (exit $ac_status); }; }; then |
10283 | (exit $ac_status); }; }; then |
10460 | rxvt_cv_struct_utmp_host=yes |
10284 | struct_utmp_host=yes |
10461 | else |
10285 | else |
10462 | echo "$as_me: failed program was:" >&5 |
10286 | echo "$as_me: failed program was:" >&5 |
10463 | sed 's/^/| /' conftest.$ac_ext >&5 |
10287 | sed 's/^/| /' conftest.$ac_ext >&5 |
10464 | |
10288 | |
10465 | rxvt_cv_struct_utmp_host=no |
10289 | struct_utmp_host=no |
10466 | fi |
10290 | fi |
10467 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10291 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10468 | fi |
10292 | fi |
10469 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 |
10293 | echo "$as_me:$LINENO: result: $struct_utmp_host" >&5 |
10470 | echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 |
10294 | echo "${ECHO_T}$struct_utmp_host" >&6 |
10471 | if test x$rxvt_cv_struct_utmp_host = xyes; then |
10295 | if test x$struct_utmp_host = xyes; then |
10472 | |
10296 | |
10473 | cat >>confdefs.h <<\_ACEOF |
10297 | cat >>confdefs.h <<\_ACEOF |
10474 | #define HAVE_UTMP_HOST 1 |
10298 | #define HAVE_UTMP_HOST 1 |
10475 | _ACEOF |
10299 | _ACEOF |
10476 | |
10300 | |
10477 | fi |
10301 | fi |
10478 | |
10302 | |
10479 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10303 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10480 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10304 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10481 | if test "${rxvt_cv_struct_utmp_pid+set}" = set; then |
10305 | if test "${struct_utmp_pid+set}" = set; then |
10482 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10306 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10483 | else |
10307 | else |
10484 | cat >conftest.$ac_ext <<_ACEOF |
10308 | cat >conftest.$ac_ext <<_ACEOF |
10485 | /* confdefs.h. */ |
10309 | /* confdefs.h. */ |
10486 | _ACEOF |
10310 | _ACEOF |
… | |
… | |
10504 | grep -v '^ *+' conftest.er1 >conftest.err |
10328 | grep -v '^ *+' conftest.er1 >conftest.err |
10505 | rm -f conftest.er1 |
10329 | rm -f conftest.er1 |
10506 | cat conftest.err >&5 |
10330 | cat conftest.err >&5 |
10507 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10508 | (exit $ac_status); } && |
10332 | (exit $ac_status); } && |
10509 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10333 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10334 | || test ! -s conftest.err' |
10510 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10335 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10511 | (eval $ac_try) 2>&5 |
10336 | (eval $ac_try) 2>&5 |
10512 | ac_status=$? |
10337 | ac_status=$? |
10513 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10514 | (exit $ac_status); }; } && |
10339 | (exit $ac_status); }; } && |
… | |
… | |
10516 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10341 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10517 | (eval $ac_try) 2>&5 |
10342 | (eval $ac_try) 2>&5 |
10518 | ac_status=$? |
10343 | ac_status=$? |
10519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10344 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10520 | (exit $ac_status); }; }; then |
10345 | (exit $ac_status); }; }; then |
10521 | rxvt_cv_struct_utmp_pid=yes |
10346 | struct_utmp_pid=yes |
10522 | else |
10347 | else |
10523 | echo "$as_me: failed program was:" >&5 |
10348 | echo "$as_me: failed program was:" >&5 |
10524 | sed 's/^/| /' conftest.$ac_ext >&5 |
10349 | sed 's/^/| /' conftest.$ac_ext >&5 |
10525 | |
10350 | |
10526 | rxvt_cv_struct_utmp_pid=no |
10351 | struct_utmp_pid=no |
10527 | fi |
10352 | fi |
10528 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10353 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10529 | fi |
10354 | fi |
10530 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 |
10355 | echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5 |
10531 | echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 |
10356 | echo "${ECHO_T}$struct_utmp_pid" >&6 |
10532 | if test x$rxvt_cv_struct_utmp_pid = xyes; then |
10357 | if test x$struct_utmp_pid = xyes; then |
10533 | |
10358 | |
10534 | cat >>confdefs.h <<\_ACEOF |
10359 | cat >>confdefs.h <<\_ACEOF |
10535 | #define HAVE_UTMP_PID 1 |
10360 | #define HAVE_UTMP_PID 1 |
10536 | _ACEOF |
10361 | _ACEOF |
10537 | |
10362 | |
… | |
… | |
10569 | grep -v '^ *+' conftest.er1 >conftest.err |
10394 | grep -v '^ *+' conftest.er1 >conftest.err |
10570 | rm -f conftest.er1 |
10395 | rm -f conftest.er1 |
10571 | cat conftest.err >&5 |
10396 | cat conftest.err >&5 |
10572 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10397 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10573 | (exit $ac_status); } && |
10398 | (exit $ac_status); } && |
10574 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10399 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10400 | || test ! -s conftest.err' |
10575 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10401 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10576 | (eval $ac_try) 2>&5 |
10402 | (eval $ac_try) 2>&5 |
10577 | ac_status=$? |
10403 | ac_status=$? |
10578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10579 | (exit $ac_status); }; } && |
10405 | (exit $ac_status); }; } && |
… | |
… | |
10678 | |
10504 | |
10679 | fi |
10505 | fi |
10680 | if test $ac_cv_header_utmpx_h = yes; then |
10506 | if test $ac_cv_header_utmpx_h = yes; then |
10681 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10507 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10682 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10508 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10683 | if test "${rxvt_cv_struct_utmpx+set}" = set; then |
10509 | if test "${struct_utmpx+set}" = set; then |
10684 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10510 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10685 | else |
10511 | else |
10686 | cat >conftest.$ac_ext <<_ACEOF |
10512 | cat >conftest.$ac_ext <<_ACEOF |
10687 | /* confdefs.h. */ |
10513 | /* confdefs.h. */ |
10688 | _ACEOF |
10514 | _ACEOF |
… | |
… | |
10706 | grep -v '^ *+' conftest.er1 >conftest.err |
10532 | grep -v '^ *+' conftest.er1 >conftest.err |
10707 | rm -f conftest.er1 |
10533 | rm -f conftest.er1 |
10708 | cat conftest.err >&5 |
10534 | cat conftest.err >&5 |
10709 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10710 | (exit $ac_status); } && |
10536 | (exit $ac_status); } && |
10711 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10537 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10538 | || test ! -s conftest.err' |
10712 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10539 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10713 | (eval $ac_try) 2>&5 |
10540 | (eval $ac_try) 2>&5 |
10714 | ac_status=$? |
10541 | ac_status=$? |
10715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10716 | (exit $ac_status); }; } && |
10543 | (exit $ac_status); }; } && |
… | |
… | |
10718 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10545 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10719 | (eval $ac_try) 2>&5 |
10546 | (eval $ac_try) 2>&5 |
10720 | ac_status=$? |
10547 | ac_status=$? |
10721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10722 | (exit $ac_status); }; }; then |
10549 | (exit $ac_status); }; }; then |
10723 | rxvt_cv_struct_utmpx=yes |
10550 | struct_utmpx=yes |
10724 | else |
10551 | else |
10725 | echo "$as_me: failed program was:" >&5 |
10552 | echo "$as_me: failed program was:" >&5 |
10726 | sed 's/^/| /' conftest.$ac_ext >&5 |
10553 | sed 's/^/| /' conftest.$ac_ext >&5 |
10727 | |
10554 | |
10728 | rxvt_cv_struct_utmpx=no |
10555 | struct_utmpx=no |
10729 | fi |
10556 | fi |
10730 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10557 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10731 | fi |
10558 | fi |
10732 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 |
10559 | echo "$as_me:$LINENO: result: $struct_utmpx" >&5 |
10733 | echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 |
10560 | echo "${ECHO_T}$struct_utmpx" >&6 |
10734 | if test x$rxvt_cv_struct_utmpx = xyes; then |
10561 | if test x$struct_utmpx = xyes; then |
10735 | |
10562 | |
10736 | cat >>confdefs.h <<\_ACEOF |
10563 | cat >>confdefs.h <<\_ACEOF |
10737 | #define HAVE_STRUCT_UTMPX 1 |
10564 | #define HAVE_STRUCT_UTMPX 1 |
10738 | _ACEOF |
10565 | _ACEOF |
10739 | |
10566 | |
10740 | fi |
10567 | fi |
10741 | |
10568 | |
10742 | |
10569 | |
10743 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10570 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10744 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10571 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10745 | if test "${rxvt_cv_struct_utmpx_host+set}" = set; then |
10572 | if test "${struct_utmpx_host+set}" = set; then |
10746 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10573 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10747 | else |
10574 | else |
10748 | cat >conftest.$ac_ext <<_ACEOF |
10575 | cat >conftest.$ac_ext <<_ACEOF |
10749 | /* confdefs.h. */ |
10576 | /* confdefs.h. */ |
10750 | _ACEOF |
10577 | _ACEOF |
… | |
… | |
10768 | grep -v '^ *+' conftest.er1 >conftest.err |
10595 | grep -v '^ *+' conftest.er1 >conftest.err |
10769 | rm -f conftest.er1 |
10596 | rm -f conftest.er1 |
10770 | cat conftest.err >&5 |
10597 | cat conftest.err >&5 |
10771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10772 | (exit $ac_status); } && |
10599 | (exit $ac_status); } && |
10773 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10600 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10601 | || test ! -s conftest.err' |
10774 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10602 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10775 | (eval $ac_try) 2>&5 |
10603 | (eval $ac_try) 2>&5 |
10776 | ac_status=$? |
10604 | ac_status=$? |
10777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10605 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10778 | (exit $ac_status); }; } && |
10606 | (exit $ac_status); }; } && |
… | |
… | |
10780 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10608 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10781 | (eval $ac_try) 2>&5 |
10609 | (eval $ac_try) 2>&5 |
10782 | ac_status=$? |
10610 | ac_status=$? |
10783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10784 | (exit $ac_status); }; }; then |
10612 | (exit $ac_status); }; }; then |
10785 | rxvt_cv_struct_utmpx_host=yes |
10613 | struct_utmpx_host=yes |
10786 | else |
10614 | else |
10787 | echo "$as_me: failed program was:" >&5 |
10615 | echo "$as_me: failed program was:" >&5 |
10788 | sed 's/^/| /' conftest.$ac_ext >&5 |
10616 | sed 's/^/| /' conftest.$ac_ext >&5 |
10789 | |
10617 | |
10790 | rxvt_cv_struct_utmpx_host=no |
10618 | struct_utmpx_host=no |
10791 | fi |
10619 | fi |
10792 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10620 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10793 | fi |
10621 | fi |
10794 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 |
10622 | echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5 |
10795 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 |
10623 | echo "${ECHO_T}$struct_utmpx_host" >&6 |
10796 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
10624 | if test x$struct_utmpx_host = xyes; then |
10797 | |
10625 | |
10798 | cat >>confdefs.h <<\_ACEOF |
10626 | cat >>confdefs.h <<\_ACEOF |
10799 | #define HAVE_UTMPX_HOST 1 |
10627 | #define HAVE_UTMPX_HOST 1 |
10800 | _ACEOF |
10628 | _ACEOF |
10801 | |
10629 | |
10802 | fi |
10630 | fi |
10803 | |
10631 | |
10804 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
10632 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
10805 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
10633 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
10806 | if test "${rxvt_cv_struct_utmpx_session+set}" = set; then |
10634 | if test "${struct_utmpx_session+set}" = set; then |
10807 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10635 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10808 | else |
10636 | else |
10809 | cat >conftest.$ac_ext <<_ACEOF |
10637 | cat >conftest.$ac_ext <<_ACEOF |
10810 | /* confdefs.h. */ |
10638 | /* confdefs.h. */ |
10811 | _ACEOF |
10639 | _ACEOF |
… | |
… | |
10829 | grep -v '^ *+' conftest.er1 >conftest.err |
10657 | grep -v '^ *+' conftest.er1 >conftest.err |
10830 | rm -f conftest.er1 |
10658 | rm -f conftest.er1 |
10831 | cat conftest.err >&5 |
10659 | cat conftest.err >&5 |
10832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10660 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10833 | (exit $ac_status); } && |
10661 | (exit $ac_status); } && |
10834 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10662 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10663 | || test ! -s conftest.err' |
10835 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10664 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10836 | (eval $ac_try) 2>&5 |
10665 | (eval $ac_try) 2>&5 |
10837 | ac_status=$? |
10666 | ac_status=$? |
10838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10667 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10839 | (exit $ac_status); }; } && |
10668 | (exit $ac_status); }; } && |
… | |
… | |
10841 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10670 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10842 | (eval $ac_try) 2>&5 |
10671 | (eval $ac_try) 2>&5 |
10843 | ac_status=$? |
10672 | ac_status=$? |
10844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10673 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10845 | (exit $ac_status); }; }; then |
10674 | (exit $ac_status); }; }; then |
10846 | rxvt_cv_struct_utmpx_session=yes |
10675 | struct_utmpx_session=yes |
10847 | else |
10676 | else |
10848 | echo "$as_me: failed program was:" >&5 |
10677 | echo "$as_me: failed program was:" >&5 |
10849 | sed 's/^/| /' conftest.$ac_ext >&5 |
10678 | sed 's/^/| /' conftest.$ac_ext >&5 |
10850 | |
10679 | |
10851 | rxvt_cv_struct_utmpx_session=no |
10680 | struct_utmpx_session=no |
10852 | fi |
10681 | fi |
10853 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10682 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10854 | fi |
10683 | fi |
10855 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 |
10684 | echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5 |
10856 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 |
10685 | echo "${ECHO_T}$struct_utmpx_session" >&6 |
10857 | if test x$rxvt_cv_struct_utmpx_session = xyes; then |
10686 | if test x$struct_utmpx_session = xyes; then |
10858 | |
10687 | |
10859 | cat >>confdefs.h <<\_ACEOF |
10688 | cat >>confdefs.h <<\_ACEOF |
10860 | #define HAVE_UTMPX_SESSION 1 |
10689 | #define HAVE_UTMPX_SESSION 1 |
10861 | _ACEOF |
10690 | _ACEOF |
10862 | |
10691 | |
… | |
… | |
10865 | fi |
10694 | fi |
10866 | |
10695 | |
10867 | |
10696 | |
10868 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10697 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10869 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10698 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10870 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |
10699 | if test "${struct_lastlog+set}" = set; then |
10871 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10700 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10872 | else |
10701 | else |
10873 | cat >conftest.$ac_ext <<_ACEOF |
10702 | cat >conftest.$ac_ext <<_ACEOF |
10874 | /* confdefs.h. */ |
10703 | /* confdefs.h. */ |
10875 | _ACEOF |
10704 | _ACEOF |
… | |
… | |
10897 | grep -v '^ *+' conftest.er1 >conftest.err |
10726 | grep -v '^ *+' conftest.er1 >conftest.err |
10898 | rm -f conftest.er1 |
10727 | rm -f conftest.er1 |
10899 | cat conftest.err >&5 |
10728 | cat conftest.err >&5 |
10900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10901 | (exit $ac_status); } && |
10730 | (exit $ac_status); } && |
10902 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10731 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10732 | || test ! -s conftest.err' |
10903 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10733 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10904 | (eval $ac_try) 2>&5 |
10734 | (eval $ac_try) 2>&5 |
10905 | ac_status=$? |
10735 | ac_status=$? |
10906 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10907 | (exit $ac_status); }; } && |
10737 | (exit $ac_status); }; } && |
… | |
… | |
10909 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10739 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10910 | (eval $ac_try) 2>&5 |
10740 | (eval $ac_try) 2>&5 |
10911 | ac_status=$? |
10741 | ac_status=$? |
10912 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10913 | (exit $ac_status); }; }; then |
10743 | (exit $ac_status); }; }; then |
10914 | rxvt_cv_struct_lastlog=yes |
10744 | struct_lastlog=yes |
10915 | else |
10745 | else |
10916 | echo "$as_me: failed program was:" >&5 |
10746 | echo "$as_me: failed program was:" >&5 |
10917 | sed 's/^/| /' conftest.$ac_ext >&5 |
10747 | sed 's/^/| /' conftest.$ac_ext >&5 |
10918 | |
10748 | |
10919 | rxvt_cv_struct_lastlog=no |
10749 | struct_lastlog=no |
10920 | fi |
10750 | fi |
10921 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10751 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10922 | fi |
10752 | fi |
10923 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 |
10753 | echo "$as_me:$LINENO: result: $struct_lastlog" >&5 |
10924 | echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 |
10754 | echo "${ECHO_T}$struct_lastlog" >&6 |
10925 | if test x$rxvt_cv_struct_lastlog = xyes; then |
10755 | if test x$struct_lastlog = xyes; then |
10926 | |
10756 | |
10927 | cat >>confdefs.h <<\_ACEOF |
10757 | cat >>confdefs.h <<\_ACEOF |
10928 | #define HAVE_STRUCT_LASTLOG 1 |
10758 | #define HAVE_STRUCT_LASTLOG 1 |
10929 | _ACEOF |
10759 | _ACEOF |
10930 | |
10760 | |
10931 | fi |
10761 | fi |
10932 | |
10762 | |
10933 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
10763 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
10934 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
10764 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
10935 | if test "${rxvt_cv_struct_lastlogx+set}" = set; then |
10765 | if test "${struct_lastlogx+set}" = set; then |
10936 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10766 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10937 | else |
10767 | else |
10938 | cat >conftest.$ac_ext <<_ACEOF |
10768 | cat >conftest.$ac_ext <<_ACEOF |
10939 | /* confdefs.h. */ |
10769 | /* confdefs.h. */ |
10940 | _ACEOF |
10770 | _ACEOF |
… | |
… | |
10962 | grep -v '^ *+' conftest.er1 >conftest.err |
10792 | grep -v '^ *+' conftest.er1 >conftest.err |
10963 | rm -f conftest.er1 |
10793 | rm -f conftest.er1 |
10964 | cat conftest.err >&5 |
10794 | cat conftest.err >&5 |
10965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10966 | (exit $ac_status); } && |
10796 | (exit $ac_status); } && |
10967 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10797 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10798 | || test ! -s conftest.err' |
10968 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10799 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10969 | (eval $ac_try) 2>&5 |
10800 | (eval $ac_try) 2>&5 |
10970 | ac_status=$? |
10801 | ac_status=$? |
10971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10802 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10972 | (exit $ac_status); }; } && |
10803 | (exit $ac_status); }; } && |
… | |
… | |
10974 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10805 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10975 | (eval $ac_try) 2>&5 |
10806 | (eval $ac_try) 2>&5 |
10976 | ac_status=$? |
10807 | ac_status=$? |
10977 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10978 | (exit $ac_status); }; }; then |
10809 | (exit $ac_status); }; }; then |
10979 | rxvt_cv_struct_lastlogx=yes |
10810 | struct_lastlogx=yes |
10980 | else |
10811 | else |
10981 | echo "$as_me: failed program was:" >&5 |
10812 | echo "$as_me: failed program was:" >&5 |
10982 | sed 's/^/| /' conftest.$ac_ext >&5 |
10813 | sed 's/^/| /' conftest.$ac_ext >&5 |
10983 | |
10814 | |
10984 | rxvt_cv_struct_lastlogx=no |
10815 | struct_lastlogx=no |
10985 | fi |
10816 | fi |
10986 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10817 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10987 | fi |
10818 | fi |
10988 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 |
10819 | echo "$as_me:$LINENO: result: $struct_lastlogx" >&5 |
10989 | echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 |
10820 | echo "${ECHO_T}$struct_lastlogx" >&6 |
10990 | if test x$rxvt_cv_struct_lastlogx = xyes; then |
10821 | if test x$struct_lastlogx = xyes; then |
10991 | |
10822 | |
10992 | cat >>confdefs.h <<\_ACEOF |
10823 | cat >>confdefs.h <<\_ACEOF |
10993 | #define HAVE_STRUCT_LASTLOGX 1 |
10824 | #define HAVE_STRUCT_LASTLOGX 1 |
10994 | _ACEOF |
10825 | _ACEOF |
10995 | |
10826 | |
10996 | fi |
10827 | fi |
10997 | |
10828 | |
10998 | |
10829 | |
10999 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
10830 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
11000 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
10831 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
11001 | if test "${rxvt_cv_path_utmp+set}" = set; then |
10832 | if test "${path_utmp+set}" = set; then |
11002 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10833 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11003 | else |
10834 | else |
11004 | if test "$cross_compiling" = yes; then |
10835 | if test "$cross_compiling" = yes; then |
11005 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 |
10836 | { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5 |
11006 | echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} |
10837 | echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;} |
11007 | else |
10838 | else |
11008 | cat >conftest.$ac_ext <<_ACEOF |
10839 | cat >conftest.$ac_ext <<_ACEOF |
11009 | /* confdefs.h. */ |
10840 | /* confdefs.h. */ |
11010 | _ACEOF |
10841 | _ACEOF |
11011 | cat confdefs.h >>conftest.$ac_ext |
10842 | cat confdefs.h >>conftest.$ac_ext |
11012 | cat >>conftest.$ac_ext <<_ACEOF |
10843 | cat >>conftest.$ac_ext <<_ACEOF |
11013 | /* end confdefs.h. */ |
10844 | /* end confdefs.h. */ |
11014 | #include <stdio.h> |
10845 | #include <stdio.h> |
|
|
10846 | #include <stdlib.h> |
11015 | #include <sys/types.h> |
10847 | #include <sys/types.h> |
11016 | #include <utmp.h> |
10848 | #include <utmp.h> |
11017 | #include <errno.h> |
10849 | #include <errno.h> |
11018 | main() |
10850 | main() |
11019 | { |
10851 | { |
… | |
… | |
11047 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10879 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11048 | (eval $ac_try) 2>&5 |
10880 | (eval $ac_try) 2>&5 |
11049 | ac_status=$? |
10881 | ac_status=$? |
11050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10882 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11051 | (exit $ac_status); }; }; then |
10883 | (exit $ac_status); }; }; then |
11052 | rxvt_cv_path_utmp=`cat conftestval` |
10884 | path_utmp=`cat conftestval` |
11053 | else |
10885 | else |
11054 | echo "$as_me: program exited with status $ac_status" >&5 |
10886 | echo "$as_me: program exited with status $ac_status" >&5 |
11055 | echo "$as_me: failed program was:" >&5 |
10887 | echo "$as_me: failed program was:" >&5 |
11056 | sed 's/^/| /' conftest.$ac_ext >&5 |
10888 | sed 's/^/| /' conftest.$ac_ext >&5 |
11057 | |
10889 | |
11058 | ( exit $ac_status ) |
10890 | ( exit $ac_status ) |
11059 | rxvt_cv_path_utmp= |
10891 | path_utmp= |
11060 | fi |
10892 | fi |
11061 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10893 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11062 | fi |
10894 | fi |
11063 | fi |
10895 | fi |
11064 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 |
10896 | echo "$as_me:$LINENO: result: $path_utmp" >&5 |
11065 | echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 |
10897 | echo "${ECHO_T}$path_utmp" >&6 |
11066 | if test x$rxvt_cv_path_utmp != x; then |
10898 | if test x$path_utmp != x; then |
11067 | |
10899 | |
11068 | cat >>confdefs.h <<_ACEOF |
10900 | cat >>confdefs.h <<_ACEOF |
11069 | #define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" |
10901 | #define UTMP_FILE "$path_utmp" |
11070 | _ACEOF |
10902 | _ACEOF |
11071 | |
10903 | |
11072 | fi |
10904 | fi |
11073 | |
10905 | |
11074 | |
10906 | |
11075 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
10907 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
11076 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
10908 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
11077 | if test "${rxvt_cv_path_utmpx+set}" = set; then |
10909 | if test "${path_utmpx+set}" = set; then |
11078 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10910 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11079 | else |
10911 | else |
11080 | if test "$cross_compiling" = yes; then |
10912 | if test "$cross_compiling" = yes; then |
11081 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 |
10913 | { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5 |
11082 | echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} |
10914 | echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;} |
11083 | else |
10915 | else |
11084 | cat >conftest.$ac_ext <<_ACEOF |
10916 | cat >conftest.$ac_ext <<_ACEOF |
11085 | /* confdefs.h. */ |
10917 | /* confdefs.h. */ |
11086 | _ACEOF |
10918 | _ACEOF |
11087 | cat confdefs.h >>conftest.$ac_ext |
10919 | cat confdefs.h >>conftest.$ac_ext |
11088 | cat >>conftest.$ac_ext <<_ACEOF |
10920 | cat >>conftest.$ac_ext <<_ACEOF |
11089 | /* end confdefs.h. */ |
10921 | /* end confdefs.h. */ |
11090 | #include <stdio.h> |
10922 | #include <stdio.h> |
|
|
10923 | #include <stdlib.h> |
11091 | #include <sys/types.h> |
10924 | #include <sys/types.h> |
11092 | #include <utmpx.h> |
10925 | #include <utmpx.h> |
11093 | #include <errno.h> |
10926 | #include <errno.h> |
11094 | #include <sys/stat.h> |
10927 | #include <sys/stat.h> |
11095 | #ifdef HAVE_STRING_H |
10928 | #ifdef HAVE_STRING_H |
… | |
… | |
11133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10966 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11134 | (eval $ac_try) 2>&5 |
10967 | (eval $ac_try) 2>&5 |
11135 | ac_status=$? |
10968 | ac_status=$? |
11136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11137 | (exit $ac_status); }; }; then |
10970 | (exit $ac_status); }; }; then |
11138 | rxvt_cv_path_utmpx=`cat conftestval` |
10971 | path_utmpx=`cat conftestval` |
11139 | else |
10972 | else |
11140 | echo "$as_me: program exited with status $ac_status" >&5 |
10973 | echo "$as_me: program exited with status $ac_status" >&5 |
11141 | echo "$as_me: failed program was:" >&5 |
10974 | echo "$as_me: failed program was:" >&5 |
11142 | sed 's/^/| /' conftest.$ac_ext >&5 |
10975 | sed 's/^/| /' conftest.$ac_ext >&5 |
11143 | |
10976 | |
11144 | ( exit $ac_status ) |
10977 | ( exit $ac_status ) |
11145 | rxvt_cv_path_utmpx= |
10978 | path_utmpx= |
11146 | fi |
10979 | fi |
11147 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10980 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11148 | fi |
10981 | fi |
11149 | fi |
10982 | fi |
11150 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 |
10983 | echo "$as_me:$LINENO: result: $path_utmpx" >&5 |
11151 | echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 |
10984 | echo "${ECHO_T}$path_utmpx" >&6 |
11152 | if test x$rxvt_cv_path_utmpx != x; then |
10985 | if test x$path_utmpx != x; then |
11153 | |
10986 | |
11154 | cat >>confdefs.h <<_ACEOF |
10987 | cat >>confdefs.h <<_ACEOF |
11155 | #define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" |
10988 | #define UTMPX_FILE "$path_utmpx" |
11156 | _ACEOF |
10989 | _ACEOF |
11157 | |
10990 | |
11158 | fi |
10991 | fi |
11159 | |
10992 | |
11160 | |
10993 | |
11161 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
10994 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
11162 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
10995 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
11163 | if test "${rxvt_cv_path_wtmp+set}" = set; then |
10996 | if test "${path_wtmp+set}" = set; then |
11164 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10997 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11165 | else |
10998 | else |
11166 | if test "$cross_compiling" = yes; then |
10999 | if test "$cross_compiling" = yes; then |
11167 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 |
11000 | { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5 |
11168 | echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} |
11001 | echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;} |
11169 | else |
11002 | else |
11170 | cat >conftest.$ac_ext <<_ACEOF |
11003 | cat >conftest.$ac_ext <<_ACEOF |
11171 | /* confdefs.h. */ |
11004 | /* confdefs.h. */ |
11172 | _ACEOF |
11005 | _ACEOF |
11173 | cat confdefs.h >>conftest.$ac_ext |
11006 | cat confdefs.h >>conftest.$ac_ext |
11174 | cat >>conftest.$ac_ext <<_ACEOF |
11007 | cat >>conftest.$ac_ext <<_ACEOF |
11175 | /* end confdefs.h. */ |
11008 | /* end confdefs.h. */ |
11176 | #include <stdio.h> |
11009 | #include <stdio.h> |
|
|
11010 | #include <stdlib.h> |
11177 | #include <sys/types.h> |
11011 | #include <sys/types.h> |
11178 | #ifdef HAVE_UTMP_H |
11012 | #ifdef HAVE_UTMP_H |
11179 | #include <utmp.h> |
11013 | #include <utmp.h> |
11180 | #endif |
11014 | #endif |
11181 | #include <errno.h> |
11015 | #include <errno.h> |
… | |
… | |
11211 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11045 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11212 | (eval $ac_try) 2>&5 |
11046 | (eval $ac_try) 2>&5 |
11213 | ac_status=$? |
11047 | ac_status=$? |
11214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11215 | (exit $ac_status); }; }; then |
11049 | (exit $ac_status); }; }; then |
11216 | rxvt_cv_path_wtmp=`cat conftestval` |
11050 | path_wtmp=`cat conftestval` |
11217 | else |
11051 | else |
11218 | echo "$as_me: program exited with status $ac_status" >&5 |
11052 | echo "$as_me: program exited with status $ac_status" >&5 |
11219 | echo "$as_me: failed program was:" >&5 |
11053 | echo "$as_me: failed program was:" >&5 |
11220 | sed 's/^/| /' conftest.$ac_ext >&5 |
11054 | sed 's/^/| /' conftest.$ac_ext >&5 |
11221 | |
11055 | |
11222 | ( exit $ac_status ) |
11056 | ( exit $ac_status ) |
11223 | rxvt_cv_path_wtmp= |
11057 | path_wtmp= |
11224 | fi |
11058 | fi |
11225 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11059 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11226 | fi |
11060 | fi |
11227 | fi |
11061 | fi |
11228 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 |
11062 | echo "$as_me:$LINENO: result: $path_wtmp" >&5 |
11229 | echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 |
11063 | echo "${ECHO_T}$path_wtmp" >&6 |
11230 | if test x$rxvt_cv_path_wtmp != x; then |
11064 | if test x$path_wtmp != x; then |
11231 | |
11065 | |
11232 | cat >>confdefs.h <<_ACEOF |
11066 | cat >>confdefs.h <<_ACEOF |
11233 | #define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" |
11067 | #define WTMP_FILE "$path_wtmp" |
11234 | _ACEOF |
11068 | _ACEOF |
11235 | |
11069 | |
11236 | fi |
11070 | fi |
11237 | |
11071 | |
11238 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
11072 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
11239 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
11073 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
11240 | if test "${rxvt_cv_path_wtmpx+set}" = set; then |
11074 | if test "${path_wtmpx+set}" = set; then |
11241 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11075 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11242 | else |
11076 | else |
11243 | if test "$cross_compiling" = yes; then |
11077 | if test "$cross_compiling" = yes; then |
11244 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 |
11078 | { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5 |
11245 | echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} |
11079 | echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} |
11246 | else |
11080 | else |
11247 | cat >conftest.$ac_ext <<_ACEOF |
11081 | cat >conftest.$ac_ext <<_ACEOF |
11248 | /* confdefs.h. */ |
11082 | /* confdefs.h. */ |
11249 | _ACEOF |
11083 | _ACEOF |
11250 | cat confdefs.h >>conftest.$ac_ext |
11084 | cat confdefs.h >>conftest.$ac_ext |
11251 | cat >>conftest.$ac_ext <<_ACEOF |
11085 | cat >>conftest.$ac_ext <<_ACEOF |
11252 | /* end confdefs.h. */ |
11086 | /* end confdefs.h. */ |
11253 | #include <stdio.h> |
11087 | #include <stdio.h> |
|
|
11088 | #include <stdlib.h> |
11254 | #ifdef HAVE_UTMPX_H |
11089 | #ifdef HAVE_UTMPX_H |
11255 | #include <utmpx.h> |
11090 | #include <utmpx.h> |
11256 | #endif |
11091 | #endif |
11257 | #include <errno.h> |
11092 | #include <errno.h> |
11258 | main() |
11093 | main() |
… | |
… | |
11287 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11122 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11288 | (eval $ac_try) 2>&5 |
11123 | (eval $ac_try) 2>&5 |
11289 | ac_status=$? |
11124 | ac_status=$? |
11290 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11291 | (exit $ac_status); }; }; then |
11126 | (exit $ac_status); }; }; then |
11292 | rxvt_cv_path_wtmpx=`cat conftestval` |
11127 | path_wtmpx=`cat conftestval` |
11293 | else |
11128 | else |
11294 | echo "$as_me: program exited with status $ac_status" >&5 |
11129 | echo "$as_me: program exited with status $ac_status" >&5 |
11295 | echo "$as_me: failed program was:" >&5 |
11130 | echo "$as_me: failed program was:" >&5 |
11296 | sed 's/^/| /' conftest.$ac_ext >&5 |
11131 | sed 's/^/| /' conftest.$ac_ext >&5 |
11297 | |
11132 | |
11298 | ( exit $ac_status ) |
11133 | ( exit $ac_status ) |
11299 | rxvt_cv_path_wtmpx= |
11134 | path_wtmpx= |
11300 | fi |
11135 | fi |
11301 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11136 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11302 | fi |
11137 | fi |
11303 | fi |
11138 | fi |
11304 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 |
11139 | echo "$as_me:$LINENO: result: $path_wtmpx" >&5 |
11305 | echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 |
11140 | echo "${ECHO_T}$path_wtmpx" >&6 |
11306 | if test x$rxvt_cv_path_wtmpx != x; then |
11141 | if test x$path_wtmpx != x; then |
11307 | |
11142 | |
11308 | cat >>confdefs.h <<_ACEOF |
11143 | cat >>confdefs.h <<_ACEOF |
11309 | #define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" |
11144 | #define WTMPX_FILE "$path_wtmpx" |
11310 | _ACEOF |
11145 | _ACEOF |
11311 | |
11146 | |
11312 | fi |
11147 | fi |
11313 | |
11148 | |
11314 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
11149 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
11315 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
11150 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
11316 | if test "${rxvt_cv_path_lastlog+set}" = set; then |
11151 | if test "${path_lastlog+set}" = set; then |
11317 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11152 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11318 | else |
11153 | else |
11319 | if test "$cross_compiling" = yes; then |
11154 | if test "$cross_compiling" = yes; then |
11320 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 |
11155 | { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5 |
11321 | echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} |
11156 | echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} |
11322 | else |
11157 | else |
11323 | cat >conftest.$ac_ext <<_ACEOF |
11158 | cat >conftest.$ac_ext <<_ACEOF |
11324 | /* confdefs.h. */ |
11159 | /* confdefs.h. */ |
11325 | _ACEOF |
11160 | _ACEOF |
11326 | cat confdefs.h >>conftest.$ac_ext |
11161 | cat confdefs.h >>conftest.$ac_ext |
11327 | cat >>conftest.$ac_ext <<_ACEOF |
11162 | cat >>conftest.$ac_ext <<_ACEOF |
11328 | /* end confdefs.h. */ |
11163 | /* end confdefs.h. */ |
11329 | #include <stdio.h> |
11164 | #include <stdio.h> |
|
|
11165 | #include <stdlib.h> |
11330 | #include <sys/types.h> |
11166 | #include <sys/types.h> |
11331 | #ifdef HAVE_UTMPX_H |
11167 | #ifdef HAVE_UTMPX_H |
11332 | #include <utmpx.h> |
11168 | #include <utmpx.h> |
11333 | #elif defined(HAVE_UTMP_H) |
11169 | #elif defined(HAVE_UTMP_H) |
11334 | #include <utmp.h> |
11170 | #include <utmp.h> |
… | |
… | |
11368 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11204 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11369 | (eval $ac_try) 2>&5 |
11205 | (eval $ac_try) 2>&5 |
11370 | ac_status=$? |
11206 | ac_status=$? |
11371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11372 | (exit $ac_status); }; }; then |
11208 | (exit $ac_status); }; }; then |
11373 | rxvt_cv_path_lastlog=`cat conftestval` |
11209 | path_lastlog=`cat conftestval` |
11374 | else |
11210 | else |
11375 | echo "$as_me: program exited with status $ac_status" >&5 |
11211 | echo "$as_me: program exited with status $ac_status" >&5 |
11376 | echo "$as_me: failed program was:" >&5 |
11212 | echo "$as_me: failed program was:" >&5 |
11377 | sed 's/^/| /' conftest.$ac_ext >&5 |
11213 | sed 's/^/| /' conftest.$ac_ext >&5 |
11378 | |
11214 | |
11379 | ( exit $ac_status ) |
11215 | ( exit $ac_status ) |
11380 | rxvt_cv_path_lastlog= |
11216 | path_lastlog= |
11381 | fi |
11217 | fi |
11382 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11218 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11383 | fi |
11219 | fi |
11384 | fi |
11220 | fi |
11385 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 |
11221 | echo "$as_me:$LINENO: result: $path_lastlog" >&5 |
11386 | echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 |
11222 | echo "${ECHO_T}$path_lastlog" >&6 |
11387 | if test x$rxvt_cv_path_lastlog != x; then |
11223 | if test x$path_lastlog != x; then |
11388 | |
11224 | |
11389 | cat >>confdefs.h <<_ACEOF |
11225 | cat >>confdefs.h <<_ACEOF |
11390 | #define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" |
11226 | #define LASTLOG_FILE "$path_lastlog" |
11391 | _ACEOF |
11227 | _ACEOF |
11392 | |
11228 | |
11393 | if test -d "$rxvt_cv_path_lastlog"; then |
11229 | if test -d "$path_lastlog"; then |
11394 | |
11230 | |
11395 | cat >>confdefs.h <<\_ACEOF |
11231 | cat >>confdefs.h <<\_ACEOF |
11396 | #define LASTLOG_IS_DIR 1 |
11232 | #define LASTLOG_IS_DIR 1 |
11397 | _ACEOF |
11233 | _ACEOF |
11398 | |
11234 | |
11399 | fi |
11235 | fi |
11400 | fi |
11236 | fi |
11401 | |
11237 | |
11402 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11238 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11403 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
11239 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
11404 | if test "${rxvt_cv_path_lastlogx+set}" = set; then |
11240 | if test "${path_lastlogx+set}" = set; then |
11405 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11241 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11406 | else |
11242 | else |
11407 | if test "$cross_compiling" = yes; then |
11243 | if test "$cross_compiling" = yes; then |
11408 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 |
11244 | { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 |
11409 | echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} |
11245 | echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} |
11410 | else |
11246 | else |
11411 | cat >conftest.$ac_ext <<_ACEOF |
11247 | cat >conftest.$ac_ext <<_ACEOF |
11412 | /* confdefs.h. */ |
11248 | /* confdefs.h. */ |
11413 | _ACEOF |
11249 | _ACEOF |
11414 | cat confdefs.h >>conftest.$ac_ext |
11250 | cat confdefs.h >>conftest.$ac_ext |
11415 | cat >>conftest.$ac_ext <<_ACEOF |
11251 | cat >>conftest.$ac_ext <<_ACEOF |
11416 | /* end confdefs.h. */ |
11252 | /* end confdefs.h. */ |
11417 | #include <stdio.h> |
11253 | #include <stdio.h> |
|
|
11254 | #include <stdlib.h> |
11418 | #ifdef HAVE_UTMPX_H |
11255 | #ifdef HAVE_UTMPX_H |
11419 | #include <utmpx.h> |
11256 | #include <utmpx.h> |
11420 | #endif |
11257 | #endif |
11421 | #include <errno.h> |
11258 | #include <errno.h> |
11422 | main() |
11259 | main() |
… | |
… | |
11450 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11287 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11451 | (eval $ac_try) 2>&5 |
11288 | (eval $ac_try) 2>&5 |
11452 | ac_status=$? |
11289 | ac_status=$? |
11453 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11290 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11454 | (exit $ac_status); }; }; then |
11291 | (exit $ac_status); }; }; then |
11455 | rxvt_cv_path_lastlogx=`cat conftestval` |
11292 | path_lastlogx=`cat conftestval` |
11456 | else |
11293 | else |
11457 | echo "$as_me: program exited with status $ac_status" >&5 |
11294 | echo "$as_me: program exited with status $ac_status" >&5 |
11458 | echo "$as_me: failed program was:" >&5 |
11295 | echo "$as_me: failed program was:" >&5 |
11459 | sed 's/^/| /' conftest.$ac_ext >&5 |
11296 | sed 's/^/| /' conftest.$ac_ext >&5 |
11460 | |
11297 | |
11461 | ( exit $ac_status ) |
11298 | ( exit $ac_status ) |
11462 | rxvt_cv_path_lastlogx= |
11299 | path_lastlogx= |
11463 | fi |
11300 | fi |
11464 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11301 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11465 | fi |
11302 | fi |
11466 | fi |
11303 | fi |
11467 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 |
11304 | echo "$as_me:$LINENO: result: $path_lastlogx" >&5 |
11468 | echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 |
11305 | echo "${ECHO_T}$path_lastlogx" >&6 |
11469 | if test x$rxvt_cv_path_lastlogx != x; then |
11306 | if test x$path_lastlogx != x; then |
11470 | |
11307 | |
11471 | cat >>confdefs.h <<_ACEOF |
11308 | cat >>confdefs.h <<_ACEOF |
11472 | #define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" |
11309 | #define LASTLOGX_FILE "$path_lastlogx" |
11473 | _ACEOF |
11310 | _ACEOF |
11474 | |
11311 | |
11475 | fi |
11312 | fi |
|
|
11313 | |
11476 | |
11314 | |
11477 | |
11315 | |
11478 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
11316 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
11479 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
11317 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
11480 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
11318 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
… | |
… | |
11502 | |
11340 | |
11503 | ac_save_LIBS=$LIBS |
11341 | ac_save_LIBS=$LIBS |
11504 | ac_save_CFLAGS=$CFLAGS |
11342 | ac_save_CFLAGS=$CFLAGS |
11505 | CFLAGS="$CFLAGS $X_CFLAGS" |
11343 | CFLAGS="$CFLAGS $X_CFLAGS" |
11506 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11344 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11507 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
11508 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
11509 | fi |
|
|
11510 | echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11345 | echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11511 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 |
11346 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 |
11512 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11347 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11513 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11348 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11514 | else |
11349 | else |
11515 | if test "$cross_compiling" = yes; then |
11350 | if test "$cross_compiling" = yes; then |
11516 | { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 |
11351 | : |
11517 | echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;} |
|
|
11518 | else |
11352 | else |
11519 | cat >conftest.$ac_ext <<_ACEOF |
11353 | cat >conftest.$ac_ext <<_ACEOF |
11520 | /* confdefs.h. */ |
11354 | /* confdefs.h. */ |
11521 | _ACEOF |
11355 | _ACEOF |
11522 | cat confdefs.h >>conftest.$ac_ext |
11356 | cat confdefs.h >>conftest.$ac_ext |
11523 | cat >>conftest.$ac_ext <<_ACEOF |
11357 | cat >>conftest.$ac_ext <<_ACEOF |
11524 | /* end confdefs.h. */ |
11358 | /* end confdefs.h. */ |
11525 | #include <X11/Xlib.h> |
11359 | #include <X11/Xlib.h> |
|
|
11360 | #include <stdlib.h> |
11526 | main() { |
11361 | main() { |
11527 | char *p; |
11362 | char *p; |
11528 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11363 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11529 | exit (XSupportsLocale() ? 0 : 1); |
11364 | exit (XSupportsLocale() ? 0 : 1); |
11530 | else |
11365 | else |
… | |
… | |
11553 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11388 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11554 | fi |
11389 | fi |
11555 | fi |
11390 | fi |
11556 | echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11391 | echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11557 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 |
11392 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 |
|
|
11393 | if test x$support_xim = xyes; then |
11558 | if test x$rxvt_cv_func_xlocale = xyes; then |
11394 | if test x$rxvt_cv_func_xlocale = xyes; then |
11559 | |
11395 | |
11560 | cat >>confdefs.h <<\_ACEOF |
11396 | cat >>confdefs.h <<\_ACEOF |
11561 | #define HAVE_XLOCALE 1 |
11397 | #define USE_XIM 1 |
11562 | _ACEOF |
11398 | _ACEOF |
11563 | |
11399 | |
|
|
11400 | fi |
11564 | fi |
11401 | fi |
11565 | |
11402 | |
11566 | echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
11403 | echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
11567 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 |
11404 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 |
11568 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then |
11405 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then |
… | |
… | |
11591 | grep -v '^ *+' conftest.er1 >conftest.err |
11428 | grep -v '^ *+' conftest.er1 >conftest.err |
11592 | rm -f conftest.er1 |
11429 | rm -f conftest.er1 |
11593 | cat conftest.err >&5 |
11430 | cat conftest.err >&5 |
11594 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11431 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11595 | (exit $ac_status); } && |
11432 | (exit $ac_status); } && |
11596 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11433 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11434 | || test ! -s conftest.err' |
11597 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11435 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11598 | (eval $ac_try) 2>&5 |
11436 | (eval $ac_try) 2>&5 |
11599 | ac_status=$? |
11437 | ac_status=$? |
11600 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11438 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11601 | (exit $ac_status); }; } && |
11439 | (exit $ac_status); }; } && |
… | |
… | |
11654 | grep -v '^ *+' conftest.er1 >conftest.err |
11492 | grep -v '^ *+' conftest.er1 >conftest.err |
11655 | rm -f conftest.er1 |
11493 | rm -f conftest.er1 |
11656 | cat conftest.err >&5 |
11494 | cat conftest.err >&5 |
11657 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11658 | (exit $ac_status); } && |
11496 | (exit $ac_status); } && |
11659 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11497 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11498 | || test ! -s conftest.err' |
11660 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11499 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11661 | (eval $ac_try) 2>&5 |
11500 | (eval $ac_try) 2>&5 |
11662 | ac_status=$? |
11501 | ac_status=$? |
11663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11664 | (exit $ac_status); }; } && |
11503 | (exit $ac_status); }; } && |
… | |
… | |
11715 | grep -v '^ *+' conftest.er1 >conftest.err |
11554 | grep -v '^ *+' conftest.er1 >conftest.err |
11716 | rm -f conftest.er1 |
11555 | rm -f conftest.er1 |
11717 | cat conftest.err >&5 |
11556 | cat conftest.err >&5 |
11718 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11719 | (exit $ac_status); } && |
11558 | (exit $ac_status); } && |
11720 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11559 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11560 | || test ! -s conftest.err' |
11721 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11561 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11722 | (eval $ac_try) 2>&5 |
11562 | (eval $ac_try) 2>&5 |
11723 | ac_status=$? |
11563 | ac_status=$? |
11724 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11725 | (exit $ac_status); }; } && |
11565 | (exit $ac_status); }; } && |
… | |
… | |
11747 | #define HAVE_NL_LANGINFO 1 |
11587 | #define HAVE_NL_LANGINFO 1 |
11748 | _ACEOF |
11588 | _ACEOF |
11749 | |
11589 | |
11750 | fi |
11590 | fi |
11751 | |
11591 | |
|
|
11592 | |
11752 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
11593 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
11753 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
11594 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
11754 | if test "${rxvt_can_pass_fds+set}" = set; then |
11595 | if test "${can_pass_fds+set}" = set; then |
11755 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11596 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11756 | else |
11597 | else |
11757 | cat >conftest.$ac_ext <<_ACEOF |
11598 | cat >conftest.$ac_ext <<_ACEOF |
11758 | /* confdefs.h. */ |
11599 | /* confdefs.h. */ |
11759 | _ACEOF |
11600 | _ACEOF |
11760 | cat confdefs.h >>conftest.$ac_ext |
11601 | cat confdefs.h >>conftest.$ac_ext |
11761 | cat >>conftest.$ac_ext <<_ACEOF |
11602 | cat >>conftest.$ac_ext <<_ACEOF |
11762 | /* end confdefs.h. */ |
11603 | /* end confdefs.h. */ |
11763 | |
11604 | |
|
|
11605 | #include <cstddef> // broken bsds (is that redundant?) need this |
11764 | #include <sys/types.h> |
11606 | #include <sys/types.h> |
11765 | #include <sys/socket.h> |
11607 | #include <sys/socket.h> |
|
|
11608 | #include <sys/uio.h> |
11766 | |
11609 | |
11767 | int |
11610 | int |
11768 | main () |
11611 | main () |
11769 | { |
11612 | { |
11770 | |
11613 | |
… | |
… | |
11803 | grep -v '^ *+' conftest.er1 >conftest.err |
11646 | grep -v '^ *+' conftest.er1 >conftest.err |
11804 | rm -f conftest.er1 |
11647 | rm -f conftest.er1 |
11805 | cat conftest.err >&5 |
11648 | cat conftest.err >&5 |
11806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11649 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11807 | (exit $ac_status); } && |
11650 | (exit $ac_status); } && |
11808 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11651 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11652 | || test ! -s conftest.err' |
11809 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11653 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11810 | (eval $ac_try) 2>&5 |
11654 | (eval $ac_try) 2>&5 |
11811 | ac_status=$? |
11655 | ac_status=$? |
11812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11813 | (exit $ac_status); }; } && |
11657 | (exit $ac_status); }; } && |
… | |
… | |
11815 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11659 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11816 | (eval $ac_try) 2>&5 |
11660 | (eval $ac_try) 2>&5 |
11817 | ac_status=$? |
11661 | ac_status=$? |
11818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11819 | (exit $ac_status); }; }; then |
11663 | (exit $ac_status); }; }; then |
11820 | rxvt_can_pass_fds=yes |
11664 | can_pass_fds=yes |
11821 | else |
11665 | else |
11822 | echo "$as_me: failed program was:" >&5 |
11666 | echo "$as_me: failed program was:" >&5 |
11823 | sed 's/^/| /' conftest.$ac_ext >&5 |
11667 | sed 's/^/| /' conftest.$ac_ext >&5 |
11824 | |
11668 | |
11825 | rxvt_can_pass_fds=no |
11669 | can_pass_fds=no |
11826 | fi |
11670 | fi |
11827 | rm -f conftest.err conftest.$ac_objext \ |
11671 | rm -f conftest.err conftest.$ac_objext \ |
11828 | conftest$ac_exeext conftest.$ac_ext |
11672 | conftest$ac_exeext conftest.$ac_ext |
11829 | fi |
11673 | fi |
11830 | echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 |
11674 | echo "$as_me:$LINENO: result: $can_pass_fds" >&5 |
11831 | echo "${ECHO_T}$rxvt_can_pass_fds" >&6 |
11675 | echo "${ECHO_T}$can_pass_fds" >&6 |
11832 | if test x$rxvt_can_pass_fds = xyes; then |
11676 | if test x$can_pass_fds = xyes; then |
11833 | |
11677 | |
11834 | cat >>confdefs.h <<\_ACEOF |
11678 | cat >>confdefs.h <<\_ACEOF |
11835 | #define HAVE_UNIX_FDPASS 1 |
11679 | #define HAVE_UNIX_FDPASS 1 |
11836 | _ACEOF |
11680 | _ACEOF |
11837 | |
11681 | |
11838 | else |
11682 | else |
11839 | { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5 |
11683 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
11840 | echo "$as_me: error: urxvt requires unix-compliant filehandle passing ability" >&2;} |
11684 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
11841 | { (exit 1); exit 1; }; } |
11685 | { (exit 1); exit 1; }; } |
11842 | fi |
11686 | fi |
|
|
11687 | |
11843 | |
11688 | |
11844 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11689 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11845 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11690 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11846 | if test "${rxvt_broken_ximcb+set}" = set; then |
11691 | if test "${rxvt_broken_ximcb+set}" = set; then |
11847 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11692 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
11865 | grep -v '^ *+' conftest.er1 >conftest.err |
11710 | grep -v '^ *+' conftest.er1 >conftest.err |
11866 | rm -f conftest.er1 |
11711 | rm -f conftest.er1 |
11867 | cat conftest.err >&5 |
11712 | cat conftest.err >&5 |
11868 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11869 | (exit $ac_status); } && |
11714 | (exit $ac_status); } && |
11870 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11715 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11716 | || test ! -s conftest.err' |
11871 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11717 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11872 | (eval $ac_try) 2>&5 |
11718 | (eval $ac_try) 2>&5 |
11873 | ac_status=$? |
11719 | ac_status=$? |
11874 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11875 | (exit $ac_status); }; } && |
11721 | (exit $ac_status); }; } && |
… | |
… | |
11897 | #define XIMCB_PROTO_BROKEN 1 |
11743 | #define XIMCB_PROTO_BROKEN 1 |
11898 | _ACEOF |
11744 | _ACEOF |
11899 | |
11745 | |
11900 | fi |
11746 | fi |
11901 | |
11747 | |
11902 | if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then |
|
|
11903 | echo "$as_me:$LINENO: checking for openpty" >&5 |
|
|
11904 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
|
|
11905 | if test "${ac_cv_func_openpty+set}" = set; then |
|
|
11906 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11907 | else |
|
|
11908 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11909 | /* confdefs.h. */ |
|
|
11910 | _ACEOF |
|
|
11911 | cat confdefs.h >>conftest.$ac_ext |
|
|
11912 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11913 | /* end confdefs.h. */ |
|
|
11914 | /* Define openpty to an innocuous variant, in case <limits.h> declares openpty. |
|
|
11915 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
11916 | #define openpty innocuous_openpty |
|
|
11917 | |
11748 | |
11918 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
11919 | which can conflict with char openpty (); below. |
|
|
11920 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
11921 | <limits.h> exists even on freestanding compilers. */ |
|
|
11922 | |
11749 | |
11923 | #ifdef __STDC__ |
|
|
11924 | # include <limits.h> |
|
|
11925 | #else |
|
|
11926 | # include <assert.h> |
|
|
11927 | #endif |
|
|
11928 | |
11750 | |
11929 | #undef openpty |
|
|
11930 | |
11751 | |
11931 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
11932 | #ifdef __cplusplus |
|
|
11933 | extern "C" |
|
|
11934 | { |
|
|
11935 | #endif |
|
|
11936 | /* We use char because int might match the return type of a gcc2 |
|
|
11937 | builtin and then its argument prototype would still apply. */ |
|
|
11938 | char openpty (); |
|
|
11939 | /* The GNU C library defines this for functions which it implements |
|
|
11940 | to always fail with ENOSYS. Some functions are actually named |
|
|
11941 | something starting with __ and the normal name is an alias. */ |
|
|
11942 | #if defined (__stub_openpty) || defined (__stub___openpty) |
|
|
11943 | choke me |
|
|
11944 | #else |
|
|
11945 | char (*f) () = openpty; |
|
|
11946 | #endif |
|
|
11947 | #ifdef __cplusplus |
|
|
11948 | } |
|
|
11949 | #endif |
|
|
11950 | |
11752 | |
11951 | int |
|
|
11952 | main () |
|
|
11953 | { |
|
|
11954 | return f != openpty; |
|
|
11955 | ; |
|
|
11956 | return 0; |
|
|
11957 | } |
|
|
11958 | _ACEOF |
|
|
11959 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11960 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11961 | (eval $ac_link) 2>conftest.er1 |
|
|
11962 | ac_status=$? |
|
|
11963 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11964 | rm -f conftest.er1 |
|
|
11965 | cat conftest.err >&5 |
|
|
11966 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11967 | (exit $ac_status); } && |
|
|
11968 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11969 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11970 | (eval $ac_try) 2>&5 |
|
|
11971 | ac_status=$? |
|
|
11972 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11973 | (exit $ac_status); }; } && |
|
|
11974 | { ac_try='test -s conftest$ac_exeext' |
|
|
11975 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11976 | (eval $ac_try) 2>&5 |
|
|
11977 | ac_status=$? |
|
|
11978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11979 | (exit $ac_status); }; }; then |
|
|
11980 | ac_cv_func_openpty=yes |
|
|
11981 | else |
|
|
11982 | echo "$as_me: failed program was:" >&5 |
|
|
11983 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11984 | |
11753 | |
11985 | ac_cv_func_openpty=no |
11754 | for ac_header in \ |
11986 | fi |
11755 | pty.h \ |
11987 | rm -f conftest.err conftest.$ac_objext \ |
11756 | util.h \ |
11988 | conftest$ac_exeext conftest.$ac_ext |
11757 | libutil.h \ |
11989 | fi |
11758 | sys/ioctl.h \ |
11990 | echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 |
11759 | sys/stropts.h \ |
11991 | echo "${ECHO_T}$ac_cv_func_openpty" >&6 |
|
|
11992 | if test $ac_cv_func_openpty = yes; then |
|
|
11993 | : |
|
|
11994 | else |
|
|
11995 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
11996 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
11997 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
11998 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11999 | else |
|
|
12000 | ac_check_lib_save_LIBS=$LIBS |
|
|
12001 | LIBS="-lutil $LIBS" |
|
|
12002 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12003 | /* confdefs.h. */ |
|
|
12004 | _ACEOF |
|
|
12005 | cat confdefs.h >>conftest.$ac_ext |
|
|
12006 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12007 | /* end confdefs.h. */ |
|
|
12008 | |
11760 | |
12009 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12010 | #ifdef __cplusplus |
|
|
12011 | extern "C" |
|
|
12012 | #endif |
|
|
12013 | /* We use char because int might match the return type of a gcc2 |
|
|
12014 | builtin and then its argument prototype would still apply. */ |
|
|
12015 | char openpty (); |
|
|
12016 | int |
|
|
12017 | main () |
|
|
12018 | { |
|
|
12019 | openpty (); |
|
|
12020 | ; |
|
|
12021 | return 0; |
|
|
12022 | } |
|
|
12023 | _ACEOF |
|
|
12024 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12025 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12026 | (eval $ac_link) 2>conftest.er1 |
|
|
12027 | ac_status=$? |
|
|
12028 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12029 | rm -f conftest.er1 |
|
|
12030 | cat conftest.err >&5 |
|
|
12031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12032 | (exit $ac_status); } && |
|
|
12033 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12034 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12035 | (eval $ac_try) 2>&5 |
|
|
12036 | ac_status=$? |
|
|
12037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12038 | (exit $ac_status); }; } && |
|
|
12039 | { ac_try='test -s conftest$ac_exeext' |
|
|
12040 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12041 | (eval $ac_try) 2>&5 |
|
|
12042 | ac_status=$? |
|
|
12043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12044 | (exit $ac_status); }; }; then |
|
|
12045 | ac_cv_lib_util_openpty=yes |
|
|
12046 | else |
|
|
12047 | echo "$as_me: failed program was:" >&5 |
|
|
12048 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12049 | |
|
|
12050 | ac_cv_lib_util_openpty=no |
|
|
12051 | fi |
|
|
12052 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12053 | conftest$ac_exeext conftest.$ac_ext |
|
|
12054 | LIBS=$ac_check_lib_save_LIBS |
|
|
12055 | fi |
|
|
12056 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12057 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12058 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12059 | LIBS="$LIBS -lutil" |
|
|
12060 | fi |
|
|
12061 | |
|
|
12062 | fi |
|
|
12063 | |
|
|
12064 | fi |
|
|
12065 | |
|
|
12066 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
|
|
12067 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
|
|
12068 | if test "${rxvt_cv_ptys+set}" = set; then |
|
|
12069 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12070 | else |
|
|
12071 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
|
|
12072 | rxvt_cv_ptys=OPENPTY |
|
|
12073 | else if test x$ac_cv_func_getpt = xyes; then |
|
|
12074 | rxvt_cv_ptys=GLIBC |
|
|
12075 | else if test x$ac_cv_func_posix_openpt = xyes; then |
|
|
12076 | rxvt_cv_ptys=POSIX |
|
|
12077 | else if test x$ac_cv_func__getpty = xyes; then |
|
|
12078 | rxvt_cv_ptys=SGI4 |
|
|
12079 | else if test -c /dev/ttyp20; then |
|
|
12080 | rxvt_cv_ptys=SCO |
|
|
12081 | else if test -c /dev/ptym/clone; then |
|
|
12082 | rxvt_cv_ptys=HPUX |
|
|
12083 | else if test -c /dev/ptc -a -c /dev/pts; then |
|
|
12084 | rxvt_cv_ptys=PTC |
|
|
12085 | else if test -c /dev/ptc -a -d /dev/pts; then |
|
|
12086 | rxvt_cv_ptys=PTC |
|
|
12087 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
|
|
12088 | rxvt_cv_ptys=STREAMS |
|
|
12089 | else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then |
|
|
12090 | rxvt_cv_ptys=STREAMS |
|
|
12091 | else |
|
|
12092 | rxvt_cv_ptys=BSD |
|
|
12093 | fi |
|
|
12094 | fi |
|
|
12095 | fi |
|
|
12096 | fi |
|
|
12097 | fi |
|
|
12098 | fi |
|
|
12099 | fi |
|
|
12100 | fi |
|
|
12101 | fi |
|
|
12102 | fi |
|
|
12103 | |
|
|
12104 | fi |
|
|
12105 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
|
|
12106 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
|
|
12107 | |
|
|
12108 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
12109 | |
|
|
12110 | cat >>confdefs.h <<\_ACEOF |
|
|
12111 | #define PTYS_ARE_GETPT 1 |
|
|
12112 | _ACEOF |
|
|
12113 | |
|
|
12114 | fi |
|
|
12115 | if test x$rxvt_cv_ptys = xPOSIX; then |
|
|
12116 | |
|
|
12117 | cat >>confdefs.h <<\_ACEOF |
|
|
12118 | #define PTYS_ARE_POSIX 1 |
|
|
12119 | _ACEOF |
|
|
12120 | |
|
|
12121 | fi |
|
|
12122 | if test x$rxvt_cv_ptys = xOPENPTY; then |
|
|
12123 | |
|
|
12124 | cat >>confdefs.h <<\_ACEOF |
|
|
12125 | #define PTYS_ARE_OPENPTY 1 |
|
|
12126 | _ACEOF |
|
|
12127 | |
|
|
12128 | fi |
|
|
12129 | if test x$rxvt_cv_ptys = xSCO; then |
|
|
12130 | |
|
|
12131 | cat >>confdefs.h <<\_ACEOF |
|
|
12132 | #define PTYS_ARE_NUMERIC 1 |
|
|
12133 | _ACEOF |
|
|
12134 | |
|
|
12135 | fi |
|
|
12136 | if test x$rxvt_cv_ptys = xSTREAMS; then |
|
|
12137 | |
|
|
12138 | cat >>confdefs.h <<\_ACEOF |
|
|
12139 | #define PTYS_ARE_PTMX 1 |
|
|
12140 | _ACEOF |
|
|
12141 | |
|
|
12142 | fi |
|
|
12143 | if test x$rxvt_cv_ptys = xPTC; then |
|
|
12144 | |
|
|
12145 | cat >>confdefs.h <<\_ACEOF |
|
|
12146 | #define PTYS_ARE_PTC 1 |
|
|
12147 | _ACEOF |
|
|
12148 | |
|
|
12149 | fi |
|
|
12150 | if test x$rxvt_cv_ptys = xSGI4; then |
|
|
12151 | |
|
|
12152 | cat >>confdefs.h <<\_ACEOF |
|
|
12153 | #define PTYS_ARE__GETPTY 1 |
|
|
12154 | _ACEOF |
|
|
12155 | |
|
|
12156 | fi |
|
|
12157 | if test x$rxvt_cv_ptys = xHPUX; then |
|
|
12158 | |
|
|
12159 | cat >>confdefs.h <<\_ACEOF |
|
|
12160 | #define PTYS_ARE_CLONE 1 |
|
|
12161 | _ACEOF |
|
|
12162 | |
|
|
12163 | fi |
|
|
12164 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then |
|
|
12165 | |
|
|
12166 | cat >>confdefs.h <<\_ACEOF |
|
|
12167 | #define PTYS_ARE_SEARCHED 1 |
|
|
12168 | _ACEOF |
|
|
12169 | |
|
|
12170 | fi |
|
|
12171 | |
|
|
12172 | |
|
|
12173 | { echo "$as_me:$LINENO: checking for pty ranges..." >&5 |
|
|
12174 | echo "$as_me: checking for pty ranges..." >&6;} |
|
|
12175 | ptys=`echo /dev/pty??` |
|
|
12176 | pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'` |
|
|
12177 | pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'` |
|
|
12178 | if test x$pch1 != x; then |
|
|
12179 | |
|
|
12180 | cat >>confdefs.h <<_ACEOF |
|
|
12181 | #define PTYCHAR1 "$pch1" |
|
|
12182 | _ACEOF |
|
|
12183 | |
|
|
12184 | fi |
|
|
12185 | if test x$pch2 != x; then |
|
|
12186 | |
|
|
12187 | cat >>confdefs.h <<_ACEOF |
|
|
12188 | #define PTYCHAR2 "$pch2" |
|
|
12189 | _ACEOF |
|
|
12190 | |
|
|
12191 | fi |
|
|
12192 | |
|
|
12193 | if test x$support_xft = xyes; then |
|
|
12194 | LIBS="$LIBS `pkg-config xft --libs`" |
|
|
12195 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
|
|
12196 | |
|
|
12197 | |
|
|
12198 | for ac_header in X11/Xft/Xft.h |
|
|
12199 | do |
11761 | do |
12200 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11762 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12201 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11763 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
12202 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11764 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12203 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11765 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
… | |
… | |
12226 | grep -v '^ *+' conftest.er1 >conftest.err |
11788 | grep -v '^ *+' conftest.er1 >conftest.err |
12227 | rm -f conftest.er1 |
11789 | rm -f conftest.er1 |
12228 | cat conftest.err >&5 |
11790 | cat conftest.err >&5 |
12229 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12230 | (exit $ac_status); } && |
11792 | (exit $ac_status); } && |
12231 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11793 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11794 | || test ! -s conftest.err' |
12232 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11795 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12233 | (eval $ac_try) 2>&5 |
11796 | (eval $ac_try) 2>&5 |
12234 | ac_status=$? |
11797 | ac_status=$? |
12235 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12236 | (exit $ac_status); }; } && |
11799 | (exit $ac_status); }; } && |
… | |
… | |
12337 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
11900 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12338 | cat >>confdefs.h <<_ACEOF |
11901 | cat >>confdefs.h <<_ACEOF |
12339 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11902 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12340 | _ACEOF |
11903 | _ACEOF |
12341 | |
11904 | |
|
|
11905 | fi |
|
|
11906 | |
|
|
11907 | done |
|
|
11908 | |
|
|
11909 | |
|
|
11910 | |
|
|
11911 | |
|
|
11912 | |
|
|
11913 | |
|
|
11914 | |
|
|
11915 | |
|
|
11916 | |
|
|
11917 | |
|
|
11918 | |
|
|
11919 | for ac_func in \ |
|
|
11920 | revoke \ |
|
|
11921 | _getpty \ |
|
|
11922 | getpt \ |
|
|
11923 | posix_openpt \ |
|
|
11924 | isastream \ |
|
|
11925 | setuid \ |
|
|
11926 | seteuid \ |
|
|
11927 | setreuid \ |
|
|
11928 | setresuid \ |
|
|
11929 | |
|
|
11930 | do |
|
|
11931 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
11932 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
11933 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
11934 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
11935 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11936 | else |
|
|
11937 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11938 | /* confdefs.h. */ |
|
|
11939 | _ACEOF |
|
|
11940 | cat confdefs.h >>conftest.$ac_ext |
|
|
11941 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11942 | /* end confdefs.h. */ |
|
|
11943 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
11944 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
11945 | #define $ac_func innocuous_$ac_func |
|
|
11946 | |
|
|
11947 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
11948 | which can conflict with char $ac_func (); below. |
|
|
11949 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
11950 | <limits.h> exists even on freestanding compilers. */ |
|
|
11951 | |
|
|
11952 | #ifdef __STDC__ |
|
|
11953 | # include <limits.h> |
|
|
11954 | #else |
|
|
11955 | # include <assert.h> |
|
|
11956 | #endif |
|
|
11957 | |
|
|
11958 | #undef $ac_func |
|
|
11959 | |
|
|
11960 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
11961 | #ifdef __cplusplus |
|
|
11962 | extern "C" |
|
|
11963 | { |
|
|
11964 | #endif |
|
|
11965 | /* We use char because int might match the return type of a gcc2 |
|
|
11966 | builtin and then its argument prototype would still apply. */ |
|
|
11967 | char $ac_func (); |
|
|
11968 | /* The GNU C library defines this for functions which it implements |
|
|
11969 | to always fail with ENOSYS. Some functions are actually named |
|
|
11970 | something starting with __ and the normal name is an alias. */ |
|
|
11971 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
11972 | choke me |
|
|
11973 | #else |
|
|
11974 | char (*f) () = $ac_func; |
|
|
11975 | #endif |
|
|
11976 | #ifdef __cplusplus |
|
|
11977 | } |
|
|
11978 | #endif |
|
|
11979 | |
|
|
11980 | int |
|
|
11981 | main () |
|
|
11982 | { |
|
|
11983 | return f != $ac_func; |
|
|
11984 | ; |
|
|
11985 | return 0; |
|
|
11986 | } |
|
|
11987 | _ACEOF |
|
|
11988 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11989 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11990 | (eval $ac_link) 2>conftest.er1 |
|
|
11991 | ac_status=$? |
|
|
11992 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11993 | rm -f conftest.er1 |
|
|
11994 | cat conftest.err >&5 |
|
|
11995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11996 | (exit $ac_status); } && |
|
|
11997 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11998 | || test ! -s conftest.err' |
|
|
11999 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12000 | (eval $ac_try) 2>&5 |
|
|
12001 | ac_status=$? |
|
|
12002 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12003 | (exit $ac_status); }; } && |
|
|
12004 | { ac_try='test -s conftest$ac_exeext' |
|
|
12005 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12006 | (eval $ac_try) 2>&5 |
|
|
12007 | ac_status=$? |
|
|
12008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12009 | (exit $ac_status); }; }; then |
|
|
12010 | eval "$as_ac_var=yes" |
|
|
12011 | else |
|
|
12012 | echo "$as_me: failed program was:" >&5 |
|
|
12013 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12014 | |
|
|
12015 | eval "$as_ac_var=no" |
|
|
12016 | fi |
|
|
12017 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12018 | conftest$ac_exeext conftest.$ac_ext |
|
|
12019 | fi |
|
|
12020 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
12021 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
12022 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
12023 | cat >>confdefs.h <<_ACEOF |
|
|
12024 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
12025 | _ACEOF |
|
|
12026 | |
|
|
12027 | fi |
|
|
12028 | done |
|
|
12029 | |
|
|
12030 | |
|
|
12031 | have_clone=no |
|
|
12032 | |
|
|
12033 | echo "$as_me:$LINENO: checking for /dev/ptym/clone" >&5 |
|
|
12034 | echo $ECHO_N "checking for /dev/ptym/clone... $ECHO_C" >&6 |
|
|
12035 | if test -e /dev/ptym/clone; then |
|
|
12036 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12037 | echo "${ECHO_T}yes" >&6 |
|
|
12038 | |
|
|
12039 | cat >>confdefs.h <<\_ACEOF |
|
|
12040 | #define HAVE_DEV_CLONE 1 |
|
|
12041 | _ACEOF |
|
|
12042 | |
|
|
12043 | |
|
|
12044 | cat >>confdefs.h <<\_ACEOF |
|
|
12045 | #define CLONE_DEVICE "/dev/ptym/clone" |
|
|
12046 | _ACEOF |
|
|
12047 | |
|
|
12048 | have_clone=yes |
|
|
12049 | else |
|
|
12050 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12051 | echo "${ECHO_T}no" >&6 |
|
|
12052 | fi |
|
|
12053 | |
|
|
12054 | echo "$as_me:$LINENO: checking for /dev/ptc" >&5 |
|
|
12055 | echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6 |
|
|
12056 | if test -e /dev/ptc; then |
|
|
12057 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12058 | echo "${ECHO_T}yes" >&6 |
|
|
12059 | |
|
|
12060 | cat >>confdefs.h <<\_ACEOF |
|
|
12061 | #define HAVE_DEV_PTC 1 |
|
|
12062 | _ACEOF |
|
|
12063 | |
|
|
12064 | |
|
|
12065 | cat >>confdefs.h <<\_ACEOF |
|
|
12066 | #define CLONE_DEVICE "/dev/ptc" |
|
|
12067 | _ACEOF |
|
|
12068 | |
|
|
12069 | have_clone=yes |
|
|
12070 | else |
|
|
12071 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12072 | echo "${ECHO_T}no" >&6 |
|
|
12073 | fi |
|
|
12074 | |
|
|
12075 | case $host in |
|
|
12076 | *-*-cygwin*) |
|
|
12077 | have_clone=yes |
|
|
12078 | |
|
|
12079 | cat >>confdefs.h <<\_ACEOF |
|
|
12080 | #define CLONE_DEVICE "/dev/ptmx" |
|
|
12081 | _ACEOF |
|
|
12082 | |
|
|
12083 | ;; |
|
|
12084 | *) |
|
|
12085 | echo "$as_me:$LINENO: checking for /dev/ptmx" >&5 |
|
|
12086 | echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6 |
|
|
12087 | if test -e /dev/ptmx; then |
|
|
12088 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12089 | echo "${ECHO_T}yes" >&6 |
|
|
12090 | |
|
|
12091 | cat >>confdefs.h <<\_ACEOF |
|
|
12092 | #define HAVE_DEV_PTMX 1 |
|
|
12093 | _ACEOF |
|
|
12094 | |
|
|
12095 | |
|
|
12096 | cat >>confdefs.h <<\_ACEOF |
|
|
12097 | #define CLONE_DEVICE "/dev/ptmx" |
|
|
12098 | _ACEOF |
|
|
12099 | |
|
|
12100 | have_clone=yes |
|
|
12101 | else |
|
|
12102 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12103 | echo "${ECHO_T}no" >&6 |
|
|
12104 | fi |
|
|
12105 | ;; |
|
|
12106 | esac |
|
|
12107 | |
|
|
12108 | if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then |
|
|
12109 | echo "$as_me:$LINENO: checking for UNIX98 ptys" >&5 |
|
|
12110 | echo $ECHO_N "checking for UNIX98 ptys... $ECHO_C" >&6 |
|
|
12111 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12112 | /* confdefs.h. */ |
|
|
12113 | _ACEOF |
|
|
12114 | cat confdefs.h >>conftest.$ac_ext |
|
|
12115 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12116 | /* end confdefs.h. */ |
|
|
12117 | #include <stdlib.h> |
|
|
12118 | int |
|
|
12119 | main () |
|
|
12120 | { |
|
|
12121 | grantpt(0);unlockpt(0);ptsname(0); |
|
|
12122 | ; |
|
|
12123 | return 0; |
|
|
12124 | } |
|
|
12125 | _ACEOF |
|
|
12126 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12127 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12128 | (eval $ac_link) 2>conftest.er1 |
|
|
12129 | ac_status=$? |
|
|
12130 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12131 | rm -f conftest.er1 |
|
|
12132 | cat conftest.err >&5 |
|
|
12133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12134 | (exit $ac_status); } && |
|
|
12135 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12136 | || test ! -s conftest.err' |
|
|
12137 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12138 | (eval $ac_try) 2>&5 |
|
|
12139 | ac_status=$? |
|
|
12140 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12141 | (exit $ac_status); }; } && |
|
|
12142 | { ac_try='test -s conftest$ac_exeext' |
|
|
12143 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12144 | (eval $ac_try) 2>&5 |
|
|
12145 | ac_status=$? |
|
|
12146 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12147 | (exit $ac_status); }; }; then |
|
|
12148 | unix98_pty=yes |
|
|
12149 | |
|
|
12150 | cat >>confdefs.h <<\_ACEOF |
|
|
12151 | #define UNIX98_PTY 1 |
|
|
12152 | _ACEOF |
|
|
12153 | |
|
|
12154 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12155 | echo "${ECHO_T}yes" >&6 |
|
|
12156 | else |
|
|
12157 | echo "$as_me: failed program was:" >&5 |
|
|
12158 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12159 | |
|
|
12160 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12161 | echo "${ECHO_T}no" >&6 |
|
|
12162 | fi |
|
|
12163 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12164 | conftest$ac_exeext conftest.$ac_ext |
|
|
12165 | fi |
|
|
12166 | |
|
|
12167 | if test -z "$unix98_pty"; then |
|
|
12168 | |
|
|
12169 | for ac_func in openpty |
|
|
12170 | do |
|
|
12171 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
12172 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
12173 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
12174 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
12175 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12176 | else |
|
|
12177 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12178 | /* confdefs.h. */ |
|
|
12179 | _ACEOF |
|
|
12180 | cat confdefs.h >>conftest.$ac_ext |
|
|
12181 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12182 | /* end confdefs.h. */ |
|
|
12183 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
12184 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
12185 | #define $ac_func innocuous_$ac_func |
|
|
12186 | |
|
|
12187 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
12188 | which can conflict with char $ac_func (); below. |
|
|
12189 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
12190 | <limits.h> exists even on freestanding compilers. */ |
|
|
12191 | |
|
|
12192 | #ifdef __STDC__ |
|
|
12193 | # include <limits.h> |
|
|
12194 | #else |
|
|
12195 | # include <assert.h> |
|
|
12196 | #endif |
|
|
12197 | |
|
|
12198 | #undef $ac_func |
|
|
12199 | |
|
|
12200 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12201 | #ifdef __cplusplus |
|
|
12202 | extern "C" |
|
|
12203 | { |
|
|
12204 | #endif |
|
|
12205 | /* We use char because int might match the return type of a gcc2 |
|
|
12206 | builtin and then its argument prototype would still apply. */ |
|
|
12207 | char $ac_func (); |
|
|
12208 | /* The GNU C library defines this for functions which it implements |
|
|
12209 | to always fail with ENOSYS. Some functions are actually named |
|
|
12210 | something starting with __ and the normal name is an alias. */ |
|
|
12211 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
12212 | choke me |
|
|
12213 | #else |
|
|
12214 | char (*f) () = $ac_func; |
|
|
12215 | #endif |
|
|
12216 | #ifdef __cplusplus |
|
|
12217 | } |
|
|
12218 | #endif |
|
|
12219 | |
|
|
12220 | int |
|
|
12221 | main () |
|
|
12222 | { |
|
|
12223 | return f != $ac_func; |
|
|
12224 | ; |
|
|
12225 | return 0; |
|
|
12226 | } |
|
|
12227 | _ACEOF |
|
|
12228 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12229 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12230 | (eval $ac_link) 2>conftest.er1 |
|
|
12231 | ac_status=$? |
|
|
12232 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12233 | rm -f conftest.er1 |
|
|
12234 | cat conftest.err >&5 |
|
|
12235 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12236 | (exit $ac_status); } && |
|
|
12237 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12238 | || test ! -s conftest.err' |
|
|
12239 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12240 | (eval $ac_try) 2>&5 |
|
|
12241 | ac_status=$? |
|
|
12242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12243 | (exit $ac_status); }; } && |
|
|
12244 | { ac_try='test -s conftest$ac_exeext' |
|
|
12245 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12246 | (eval $ac_try) 2>&5 |
|
|
12247 | ac_status=$? |
|
|
12248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12249 | (exit $ac_status); }; }; then |
|
|
12250 | eval "$as_ac_var=yes" |
|
|
12251 | else |
|
|
12252 | echo "$as_me: failed program was:" >&5 |
|
|
12253 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12254 | |
|
|
12255 | eval "$as_ac_var=no" |
|
|
12256 | fi |
|
|
12257 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12258 | conftest$ac_exeext conftest.$ac_ext |
|
|
12259 | fi |
|
|
12260 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
12261 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
12262 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
12263 | cat >>confdefs.h <<_ACEOF |
|
|
12264 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
12265 | _ACEOF |
|
|
12266 | |
|
|
12267 | else |
|
|
12268 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
12269 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
12270 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
12271 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12272 | else |
|
|
12273 | ac_check_lib_save_LIBS=$LIBS |
|
|
12274 | LIBS="-lutil $LIBS" |
|
|
12275 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12276 | /* confdefs.h. */ |
|
|
12277 | _ACEOF |
|
|
12278 | cat confdefs.h >>conftest.$ac_ext |
|
|
12279 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12280 | /* end confdefs.h. */ |
|
|
12281 | |
|
|
12282 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12283 | #ifdef __cplusplus |
|
|
12284 | extern "C" |
|
|
12285 | #endif |
|
|
12286 | /* We use char because int might match the return type of a gcc2 |
|
|
12287 | builtin and then its argument prototype would still apply. */ |
|
|
12288 | char openpty (); |
|
|
12289 | int |
|
|
12290 | main () |
|
|
12291 | { |
|
|
12292 | openpty (); |
|
|
12293 | ; |
|
|
12294 | return 0; |
|
|
12295 | } |
|
|
12296 | _ACEOF |
|
|
12297 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12298 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12299 | (eval $ac_link) 2>conftest.er1 |
|
|
12300 | ac_status=$? |
|
|
12301 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12302 | rm -f conftest.er1 |
|
|
12303 | cat conftest.err >&5 |
|
|
12304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12305 | (exit $ac_status); } && |
|
|
12306 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12307 | || test ! -s conftest.err' |
|
|
12308 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12309 | (eval $ac_try) 2>&5 |
|
|
12310 | ac_status=$? |
|
|
12311 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12312 | (exit $ac_status); }; } && |
|
|
12313 | { ac_try='test -s conftest$ac_exeext' |
|
|
12314 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12315 | (eval $ac_try) 2>&5 |
|
|
12316 | ac_status=$? |
|
|
12317 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12318 | (exit $ac_status); }; }; then |
|
|
12319 | ac_cv_lib_util_openpty=yes |
|
|
12320 | else |
|
|
12321 | echo "$as_me: failed program was:" >&5 |
|
|
12322 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12323 | |
|
|
12324 | ac_cv_lib_util_openpty=no |
|
|
12325 | fi |
|
|
12326 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12327 | conftest$ac_exeext conftest.$ac_ext |
|
|
12328 | LIBS=$ac_check_lib_save_LIBS |
|
|
12329 | fi |
|
|
12330 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12331 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12332 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12333 | cat >>confdefs.h <<\_ACEOF |
|
|
12334 | #define HAVE_OPENPTY 1 |
|
|
12335 | _ACEOF |
|
|
12336 | LIBS="$LIBS -lutil" |
|
|
12337 | fi |
|
|
12338 | |
|
|
12339 | fi |
|
|
12340 | done |
|
|
12341 | |
|
|
12342 | fi |
|
|
12343 | |
|
|
12344 | |
|
|
12345 | |
|
|
12346 | echo "$as_me:$LINENO: checking for tty group" >&5 |
|
|
12347 | echo $ECHO_N "checking for tty group... $ECHO_C" >&6 |
|
|
12348 | if test "${tty_group+set}" = set; then |
|
|
12349 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12350 | else |
|
|
12351 | if test "$cross_compiling" = yes; then |
|
|
12352 | tty_group=no |
|
|
12353 | else |
|
|
12354 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12355 | /* confdefs.h. */ |
|
|
12356 | _ACEOF |
|
|
12357 | cat confdefs.h >>conftest.$ac_ext |
|
|
12358 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12359 | /* end confdefs.h. */ |
|
|
12360 | |
|
|
12361 | #include <sys/types.h> |
|
|
12362 | #include <sys/stat.h> |
|
|
12363 | #include <unistd.h> |
|
|
12364 | #include <grp.h> |
|
|
12365 | |
|
|
12366 | main() |
|
|
12367 | { |
|
|
12368 | struct stat st; |
|
|
12369 | struct group *gr; |
|
|
12370 | char *tty; |
|
|
12371 | gr = getgrnam("tty"); |
|
|
12372 | tty = ttyname(0); |
|
|
12373 | if (gr != 0 |
|
|
12374 | && tty != 0 |
|
|
12375 | && (stat(tty, &st)) == 0 |
|
|
12376 | && st.st_gid == gr->gr_gid) |
|
|
12377 | return 0; |
|
|
12378 | else |
|
|
12379 | return 1; |
|
|
12380 | } |
|
|
12381 | _ACEOF |
|
|
12382 | rm -f conftest$ac_exeext |
|
|
12383 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12384 | (eval $ac_link) 2>&5 |
|
|
12385 | ac_status=$? |
|
|
12386 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12387 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
12388 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12389 | (eval $ac_try) 2>&5 |
|
|
12390 | ac_status=$? |
|
|
12391 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12392 | (exit $ac_status); }; }; then |
|
|
12393 | tty_group=yes |
|
|
12394 | else |
|
|
12395 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
12396 | echo "$as_me: failed program was:" >&5 |
|
|
12397 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12398 | |
|
|
12399 | ( exit $ac_status ) |
|
|
12400 | tty_group=no |
|
|
12401 | fi |
|
|
12402 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
12403 | fi |
|
|
12404 | fi |
|
|
12405 | echo "$as_me:$LINENO: result: $tty_group" >&5 |
|
|
12406 | echo "${ECHO_T}$tty_group" >&6 |
|
|
12407 | if test x$tty_group = xyes; then |
|
|
12408 | |
|
|
12409 | cat >>confdefs.h <<\_ACEOF |
|
|
12410 | #define TTY_GID_SUPPORT 1 |
|
|
12411 | _ACEOF |
|
|
12412 | |
|
|
12413 | fi |
|
|
12414 | |
|
|
12415 | if test x$support_xft = xyes; then |
|
|
12416 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
12417 | set dummy pkg-config; ac_word=$2 |
|
|
12418 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12419 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12420 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
|
|
12421 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12422 | else |
|
|
12423 | case $PKG_CONFIG in |
|
|
12424 | [\\/]* | ?:[\\/]*) |
|
|
12425 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
12426 | ;; |
|
|
12427 | *) |
|
|
12428 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12429 | for as_dir in $PATH |
|
|
12430 | do |
|
|
12431 | IFS=$as_save_IFS |
|
|
12432 | test -z "$as_dir" && as_dir=. |
|
|
12433 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12434 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12435 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12436 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12437 | break 2 |
|
|
12438 | fi |
|
|
12439 | done |
|
|
12440 | done |
|
|
12441 | |
|
|
12442 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
12443 | ;; |
|
|
12444 | esac |
|
|
12445 | fi |
|
|
12446 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
12447 | |
|
|
12448 | if test -n "$PKG_CONFIG"; then |
|
|
12449 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
|
|
12450 | echo "${ECHO_T}$PKG_CONFIG" >&6 |
|
|
12451 | else |
|
|
12452 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12453 | echo "${ECHO_T}no" >&6 |
|
|
12454 | fi |
|
|
12455 | |
|
|
12456 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
|
|
12457 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
|
|
12458 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
|
|
12459 | else |
|
|
12460 | # Extract the first word of "xft-config", so it can be a program name with args. |
|
|
12461 | set dummy xft-config; ac_word=$2 |
|
|
12462 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12463 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12464 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then |
|
|
12465 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12466 | else |
|
|
12467 | case $XFT_CONFIG in |
|
|
12468 | [\\/]* | ?:[\\/]*) |
|
|
12469 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
|
|
12470 | ;; |
|
|
12471 | *) |
|
|
12472 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12473 | for as_dir in $PATH |
|
|
12474 | do |
|
|
12475 | IFS=$as_save_IFS |
|
|
12476 | test -z "$as_dir" && as_dir=. |
|
|
12477 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12478 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12479 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12480 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12481 | break 2 |
|
|
12482 | fi |
|
|
12483 | done |
|
|
12484 | done |
|
|
12485 | |
|
|
12486 | test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no" |
|
|
12487 | ;; |
|
|
12488 | esac |
|
|
12489 | fi |
|
|
12490 | XFT_CONFIG=$ac_cv_path_XFT_CONFIG |
|
|
12491 | |
|
|
12492 | if test -n "$XFT_CONFIG"; then |
|
|
12493 | echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5 |
|
|
12494 | echo "${ECHO_T}$XFT_CONFIG" >&6 |
|
|
12495 | else |
|
|
12496 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12497 | echo "${ECHO_T}no" >&6 |
|
|
12498 | fi |
|
|
12499 | |
|
|
12500 | if test $XFT_CONFIG != no; then |
|
|
12501 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
|
|
12502 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
|
|
12503 | fi |
|
|
12504 | fi |
|
|
12505 | |
|
|
12506 | |
|
|
12507 | for ac_header in X11/Xft/Xft.h |
|
|
12508 | do |
|
|
12509 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
12510 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12511 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
12512 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
12513 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12514 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12515 | fi |
|
|
12516 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
12517 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
12518 | else |
|
|
12519 | # Is the header compilable? |
|
|
12520 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
12521 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
12522 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12523 | /* confdefs.h. */ |
|
|
12524 | _ACEOF |
|
|
12525 | cat confdefs.h >>conftest.$ac_ext |
|
|
12526 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12527 | /* end confdefs.h. */ |
|
|
12528 | $ac_includes_default |
|
|
12529 | #include <$ac_header> |
|
|
12530 | _ACEOF |
|
|
12531 | rm -f conftest.$ac_objext |
|
|
12532 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12533 | (eval $ac_compile) 2>conftest.er1 |
|
|
12534 | ac_status=$? |
|
|
12535 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12536 | rm -f conftest.er1 |
|
|
12537 | cat conftest.err >&5 |
|
|
12538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12539 | (exit $ac_status); } && |
|
|
12540 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12541 | || test ! -s conftest.err' |
|
|
12542 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12543 | (eval $ac_try) 2>&5 |
|
|
12544 | ac_status=$? |
|
|
12545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12546 | (exit $ac_status); }; } && |
|
|
12547 | { ac_try='test -s conftest.$ac_objext' |
|
|
12548 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12549 | (eval $ac_try) 2>&5 |
|
|
12550 | ac_status=$? |
|
|
12551 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12552 | (exit $ac_status); }; }; then |
|
|
12553 | ac_header_compiler=yes |
|
|
12554 | else |
|
|
12555 | echo "$as_me: failed program was:" >&5 |
|
|
12556 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12557 | |
|
|
12558 | ac_header_compiler=no |
|
|
12559 | fi |
|
|
12560 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12561 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
12562 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
12563 | |
|
|
12564 | # Is the header present? |
|
|
12565 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
12566 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
12567 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12568 | /* confdefs.h. */ |
|
|
12569 | _ACEOF |
|
|
12570 | cat confdefs.h >>conftest.$ac_ext |
|
|
12571 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12572 | /* end confdefs.h. */ |
|
|
12573 | #include <$ac_header> |
|
|
12574 | _ACEOF |
|
|
12575 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
12576 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
12577 | ac_status=$? |
|
|
12578 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12579 | rm -f conftest.er1 |
|
|
12580 | cat conftest.err >&5 |
|
|
12581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12582 | (exit $ac_status); } >/dev/null; then |
|
|
12583 | if test -s conftest.err; then |
|
|
12584 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
12585 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
12586 | else |
|
|
12587 | ac_cpp_err= |
|
|
12588 | fi |
|
|
12589 | else |
|
|
12590 | ac_cpp_err=yes |
|
|
12591 | fi |
|
|
12592 | if test -z "$ac_cpp_err"; then |
|
|
12593 | ac_header_preproc=yes |
|
|
12594 | else |
|
|
12595 | echo "$as_me: failed program was:" >&5 |
|
|
12596 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12597 | |
|
|
12598 | ac_header_preproc=no |
|
|
12599 | fi |
|
|
12600 | rm -f conftest.err conftest.$ac_ext |
|
|
12601 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
12602 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
12603 | |
|
|
12604 | # So? What about this header? |
|
|
12605 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
12606 | yes:no: ) |
|
|
12607 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
12608 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
12609 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
12610 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
12611 | ac_header_preproc=yes |
|
|
12612 | ;; |
|
|
12613 | no:yes:* ) |
|
|
12614 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
12615 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
12616 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
12617 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
12618 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
12619 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
12620 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
12621 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
12622 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
12623 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
12624 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
12625 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
12626 | ( |
|
|
12627 | cat <<\_ASBOX |
|
|
12628 | ## ------------------------------------------ ## |
|
|
12629 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
12630 | ## ------------------------------------------ ## |
|
|
12631 | _ASBOX |
|
|
12632 | ) | |
|
|
12633 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
12634 | ;; |
|
|
12635 | esac |
|
|
12636 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
12637 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
12638 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12639 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12640 | else |
|
|
12641 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
12642 | fi |
|
|
12643 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
12644 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
12645 | |
|
|
12646 | fi |
|
|
12647 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
12648 | cat >>confdefs.h <<_ACEOF |
|
|
12649 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
12650 | _ACEOF |
|
|
12651 | |
12342 | else |
12652 | else |
12343 | support_xft=no |
12653 | support_xft=no |
12344 | fi |
12654 | fi |
12345 | |
12655 | |
12346 | done |
12656 | done |
… | |
… | |
12382 | grep -v '^ *+' conftest.er1 >conftest.err |
12692 | grep -v '^ *+' conftest.er1 >conftest.err |
12383 | rm -f conftest.er1 |
12693 | rm -f conftest.er1 |
12384 | cat conftest.err >&5 |
12694 | cat conftest.err >&5 |
12385 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12386 | (exit $ac_status); } && |
12696 | (exit $ac_status); } && |
12387 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12697 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12698 | || test ! -s conftest.err' |
12388 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12699 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12389 | (eval $ac_try) 2>&5 |
12700 | (eval $ac_try) 2>&5 |
12390 | ac_status=$? |
12701 | ac_status=$? |
12391 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12392 | (exit $ac_status); }; } && |
12703 | (exit $ac_status); }; } && |
… | |
… | |
12465 | |
12776 | |
12466 | fi |
12777 | fi |
12467 | if test x$support_inheritpixmap = xyes; then |
12778 | if test x$support_inheritpixmap = xyes; then |
12468 | |
12779 | |
12469 | cat >>confdefs.h <<\_ACEOF |
12780 | cat >>confdefs.h <<\_ACEOF |
12470 | #define TRANSPARENT 1 |
12781 | #define ENABLE_TRANSPARENCY 1 |
12471 | _ACEOF |
12782 | _ACEOF |
12472 | |
12783 | |
12473 | fi |
12784 | fi |
12474 | if test x$support_keepscrolling = xno; then |
12785 | if test x$support_keepscrolling = xno; then |
12475 | |
12786 | |
… | |
… | |
12483 | cat >>confdefs.h <<\_ACEOF |
12794 | cat >>confdefs.h <<\_ACEOF |
12484 | #define SELECTION_SCROLLING 1 |
12795 | #define SELECTION_SCROLLING 1 |
12485 | _ACEOF |
12796 | _ACEOF |
12486 | |
12797 | |
12487 | fi |
12798 | fi |
12488 | if test x$support_frills = xyes; then |
|
|
12489 | |
|
|
12490 | cat >>confdefs.h <<\_ACEOF |
|
|
12491 | #define ENABLE_FRILLS 1 |
|
|
12492 | _ACEOF |
|
|
12493 | |
|
|
12494 | fi |
|
|
12495 | if test x$support_24bit = xyes; then |
|
|
12496 | |
|
|
12497 | cat >>confdefs.h <<\_ACEOF |
|
|
12498 | #define PREFER_24BIT 1 |
|
|
12499 | _ACEOF |
|
|
12500 | |
|
|
12501 | fi |
|
|
12502 | if test x$support_mousewheel = xyes; then |
12799 | if test x$support_mousewheel = xyes; then |
12503 | |
12800 | |
12504 | cat >>confdefs.h <<\_ACEOF |
12801 | cat >>confdefs.h <<\_ACEOF |
12505 | #define MOUSE_WHEEL 1 |
12802 | #define MOUSE_WHEEL 1 |
12506 | _ACEOF |
12803 | _ACEOF |
… | |
… | |
12511 | cat >>confdefs.h <<\_ACEOF |
12808 | cat >>confdefs.h <<\_ACEOF |
12512 | #define MOUSE_SLIP_WHEELING 1 |
12809 | #define MOUSE_SLIP_WHEELING 1 |
12513 | _ACEOF |
12810 | _ACEOF |
12514 | |
12811 | |
12515 | fi |
12812 | fi |
12516 | if test x$support_utmp = xyes; then |
|
|
12517 | |
|
|
12518 | cat >>confdefs.h <<\_ACEOF |
|
|
12519 | #define UTMP_SUPPORT 1 |
|
|
12520 | _ACEOF |
|
|
12521 | |
|
|
12522 | fi |
|
|
12523 | if test x$support_wtmp = xyes; then |
|
|
12524 | |
|
|
12525 | cat >>confdefs.h <<\_ACEOF |
|
|
12526 | #define WTMP_SUPPORT 1 |
|
|
12527 | _ACEOF |
|
|
12528 | |
|
|
12529 | fi |
|
|
12530 | if test x$support_lastlog = xyes; then |
|
|
12531 | |
|
|
12532 | cat >>confdefs.h <<\_ACEOF |
|
|
12533 | #define LASTLOG_SUPPORT 1 |
|
|
12534 | _ACEOF |
|
|
12535 | |
|
|
12536 | fi |
|
|
12537 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
12813 | if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then |
12538 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
12539 | |
|
|
12540 | cat >>confdefs.h <<\_ACEOF |
|
|
12541 | #define USE_XIM 1 |
|
|
12542 | _ACEOF |
|
|
12543 | |
|
|
12544 | fi |
|
|
12545 | fi |
|
|
12546 | if test x$support_xpm = xyes; then |
|
|
12547 | |
12814 | |
12548 | cat >>confdefs.h <<\_ACEOF |
12815 | cat >>confdefs.h <<\_ACEOF |
12549 | #define XPM_BACKGROUND 1 |
12816 | #define XPM_BACKGROUND 1 |
12550 | _ACEOF |
12817 | _ACEOF |
12551 | |
12818 | |
12552 | fi |
12819 | fi |
|
|
12820 | |
|
|
12821 | if test x$support_afterimage = xyes; then |
|
|
12822 | |
|
|
12823 | cat >>confdefs.h <<\_ACEOF |
|
|
12824 | #define HAVE_AFTERIMAGE 1 |
|
|
12825 | _ACEOF |
|
|
12826 | |
|
|
12827 | fi |
|
|
12828 | |
|
|
12829 | if test x$support_afterstep = xyes; then |
|
|
12830 | |
|
|
12831 | cat >>confdefs.h <<\_ACEOF |
|
|
12832 | #define AFTERSTEP_INTEGRATION 1 |
|
|
12833 | _ACEOF |
|
|
12834 | |
|
|
12835 | fi |
|
|
12836 | |
12553 | if test x$support_scroll_rxvt = xyes; then |
12837 | if test x$support_scroll_rxvt = xyes; then |
12554 | |
12838 | |
12555 | cat >>confdefs.h <<\_ACEOF |
12839 | cat >>confdefs.h <<\_ACEOF |
12556 | #define RXVT_SCROLLBAR 1 |
12840 | #define RXVT_SCROLLBAR 1 |
12557 | _ACEOF |
12841 | _ACEOF |
… | |
… | |
12770 | grep -v '^ *+' conftest.er1 >conftest.err |
13054 | grep -v '^ *+' conftest.er1 >conftest.err |
12771 | rm -f conftest.er1 |
13055 | rm -f conftest.er1 |
12772 | cat conftest.err >&5 |
13056 | cat conftest.err >&5 |
12773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13057 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12774 | (exit $ac_status); } && |
13058 | (exit $ac_status); } && |
12775 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
13059 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
13060 | || test ! -s conftest.err' |
12776 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13061 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12777 | (eval $ac_try) 2>&5 |
13062 | (eval $ac_try) 2>&5 |
12778 | ac_status=$? |
13063 | ac_status=$? |
12779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12780 | (exit $ac_status); }; } && |
13065 | (exit $ac_status); }; } && |
… | |
… | |
12829 | |
13114 | |
12830 | if test x$support_perl = xyes; then |
13115 | if test x$support_perl = xyes; then |
12831 | support_frills=yes |
13116 | support_frills=yes |
12832 | fi |
13117 | fi |
12833 | |
13118 | |
|
|
13119 | if test x$support_frills = xyes; then |
12834 | |
13120 | |
12835 | CFLAGS=${CFLAGS--O} |
13121 | cat >>confdefs.h <<\_ACEOF |
12836 | LDFLAGS=${LDFLAGS--O} |
13122 | #define ENABLE_FRILLS 1 |
|
|
13123 | _ACEOF |
12837 | |
13124 | |
12838 | CPPFLAGS="$CPPFLAGS" |
|
|
12839 | |
|
|
12840 | |
|
|
12841 | |
|
|
12842 | |
|
|
12843 | |
|
|
12844 | |
|
|
12845 | |
|
|
12846 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
12847 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
12848 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
12849 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
12850 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
12851 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
12852 | fi |
13125 | fi |
|
|
13126 | |
|
|
13127 | |
|
|
13128 | |
|
|
13129 | |
|
|
13130 | |
|
|
13131 | |
|
|
13132 | |
|
|
13133 | |
12853 | |
13134 | |
12854 | |
13135 | |
12855 | |
13136 | |
12856 | |
13137 | |
12857 | |
13138 | |
… | |
… | |
13582 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13863 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13583 | s,@EGREP@,$EGREP,;t t |
13864 | s,@EGREP@,$EGREP,;t t |
13584 | s,@LINKER@,$LINKER,;t t |
13865 | s,@LINKER@,$LINKER,;t t |
13585 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
13866 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
13586 | s,@RXVTNAME@,$RXVTNAME,;t t |
13867 | s,@RXVTNAME@,$RXVTNAME,;t t |
13587 | s,@MV@,$MV,;t t |
|
|
13588 | s,@RM@,$RM,;t t |
|
|
13589 | s,@CP@,$CP,;t t |
|
|
13590 | s,@LN@,$LN,;t t |
|
|
13591 | s,@SED@,$SED,;t t |
|
|
13592 | s,@ECHO@,$ECHO,;t t |
|
|
13593 | s,@CMP@,$CMP,;t t |
|
|
13594 | s,@TIC@,$TIC,;t t |
13868 | s,@TIC@,$TIC,;t t |
13595 | s,@CXXCPP@,$CXXCPP,;t t |
13869 | s,@CXXCPP@,$CXXCPP,;t t |
13596 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13870 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13597 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13871 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13598 | s,@X_LIBS@,$X_LIBS,;t t |
13872 | s,@X_LIBS@,$X_LIBS,;t t |
13599 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
13873 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
|
|
13874 | s,@afterimage_config@,$afterimage_config,;t t |
13600 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
13875 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
13601 | s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t |
13876 | s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t |
13602 | s,@XPM_LIBS@,$XPM_LIBS,;t t |
13877 | s,@XPM_LIBS@,$XPM_LIBS,;t t |
13603 | s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t |
13878 | s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t |
13604 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13879 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13605 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13880 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13606 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13881 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13607 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13882 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13608 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
13883 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
|
|
13884 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
|
|
13885 | s,@XFT_CONFIG@,$XFT_CONFIG,;t t |
13609 | s,@PERL@,$PERL,;t t |
13886 | s,@PERL@,$PERL,;t t |
13610 | s,@PERLLIB@,$PERLLIB,;t t |
13887 | s,@PERLLIB@,$PERLLIB,;t t |
13611 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
13888 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
13612 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
13889 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
13613 | s,@IF_PERL@,$IF_PERL,;t t |
13890 | s,@IF_PERL@,$IF_PERL,;t t |
13614 | s,@PERL_O@,$PERL_O,;t t |
13891 | s,@PERL_O@,$PERL_O,;t t |
13615 | s,@DEBUG@,$DEBUG,;t t |
13892 | s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t |
13616 | s,@DINCLUDE@,$DINCLUDE,;t t |
13893 | s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t |
13617 | s,@DLIB@,$DLIB,;t t |
|
|
13618 | s,@include_stdint_h@,$include_stdint_h,;t t |
13894 | s,@include_stdint_h@,$include_stdint_h,;t t |
13619 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
13895 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
13620 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
13896 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
13621 | s,@include_unistd_h@,$include_unistd_h,;t t |
13897 | s,@include_unistd_h@,$include_unistd_h,;t t |
13622 | s,@include_string_h@,$include_string_h,;t t |
13898 | s,@include_string_h@,$include_string_h,;t t |
… | |
… | |
13794 | case $INSTALL in |
14070 | case $INSTALL in |
13795 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
14071 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
13796 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
14072 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
13797 | esac |
14073 | esac |
13798 | |
14074 | |
|
|
14075 | if test x"$ac_file" != x-; then |
|
|
14076 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
14077 | echo "$as_me: creating $ac_file" >&6;} |
|
|
14078 | rm -f "$ac_file" |
|
|
14079 | fi |
13799 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
14080 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
13800 | # use $as_me), people would be surprised to read: |
14081 | # use $as_me), people would be surprised to read: |
13801 | # /* config.h. Generated by config.status. */ |
14082 | # /* config.h. Generated by config.status. */ |
13802 | if test x"$ac_file" = x-; then |
14083 | if test x"$ac_file" = x-; then |
13803 | configure_input= |
14084 | configure_input= |
… | |
… | |
13832 | echo "$as_me: error: cannot find input file: $f" >&2;} |
14113 | echo "$as_me: error: cannot find input file: $f" >&2;} |
13833 | { (exit 1); exit 1; }; } |
14114 | { (exit 1); exit 1; }; } |
13834 | fi;; |
14115 | fi;; |
13835 | esac |
14116 | esac |
13836 | done` || { (exit 1); exit 1; } |
14117 | done` || { (exit 1); exit 1; } |
13837 | |
|
|
13838 | if test x"$ac_file" != x-; then |
|
|
13839 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
13840 | echo "$as_me: creating $ac_file" >&6;} |
|
|
13841 | rm -f "$ac_file" |
|
|
13842 | fi |
|
|
13843 | _ACEOF |
14118 | _ACEOF |
13844 | cat >>$CONFIG_STATUS <<_ACEOF |
14119 | cat >>$CONFIG_STATUS <<_ACEOF |
13845 | sed "$ac_vpsub |
14120 | sed "$ac_vpsub |
13846 | $extrasub |
14121 | $extrasub |
13847 | _ACEOF |
14122 | _ACEOF |
… | |
… | |
14127 | |
14402 | |
14128 | Rxvt version: $VERSION : $DATE |
14403 | Rxvt version: $VERSION : $DATE |
14129 | Source code location: $srcdir |
14404 | Source code location: $srcdir |
14130 | Install path: ${prefix}/bin |
14405 | Install path: ${prefix}/bin |
14131 | Compiler: $CXX |
14406 | Compiler: $CXX |
14132 | Compiler flags: $CFLAGS |
14407 | Compiler flags: $CXXFLAGS |
14133 | Linker: $LINKER" |
14408 | Linker: $LINKER" |
14134 | |
|
|
14135 | if test "$MALLOC_TYPE" = S; then |
|
|
14136 | echo " malloc support: system default" |
|
|
14137 | fi |
|
|
14138 | if test "$MALLOC_TYPE" = G; then |
|
|
14139 | echo " malloc support: Gray Watson's dmalloc" |
|
|
14140 | fi |
|
|
14141 | if test "$MALLOC_TYPE" = D; then |
|
|
14142 | echo " malloc support: Doug Lea's malloc" |
|
|
14143 | fi |
|
|
14144 | |
14409 | |
14145 | if test x$support_xpm = xyes; then |
14410 | if test x$support_xpm = xyes; then |
14146 | echo " Xpm library: $XPM_LIBS" |
14411 | echo " Xpm library: $XPM_LIBS" |
14147 | fi |
14412 | fi |
14148 | |
14413 | |
14149 | echo " |
14414 | if test x$support_afterimage = xyes; then |
14150 | The following are set in config.h |
14415 | echo " AfterImage support: yes" |
14151 | " |
14416 | fi |
14152 | echo " pty/tty type: "$rxvt_cv_ptys |
14417 | |
14153 | if test x$support_utmp != xyes; then |
14418 | if test x$support_afterstep = xyes; then |
14154 | echo " utmp support: disabled" |
14419 | echo " AfterStep integration: yes" |
14155 | echo |
|
|
14156 | else |
|
|
14157 | echo " utmp support: enabled |
|
|
14158 | utmp file: $rxvt_cv_path_utmp |
|
|
14159 | utmpx file: $rxvt_cv_path_utmpx |
|
|
14160 | wtmp file: $rxvt_cv_path_wtmp |
|
|
14161 | wtmpx file: $rxvt_cv_path_wtmpx |
|
|
14162 | lastlog file: $rxvt_cv_path_lastlog |
|
|
14163 | ttys/ttytab file: $rxvt_cv_path_ttytab |
|
|
14164 | embedded perl: $support_perl" |
|
|
14165 | echo |
|
|
14166 | fi |
14420 | fi |
|
|
14421 | |
14167 | if test x$term != x; then |
14422 | if test x$term != x; then |
14168 | echo " set TERM to: $term" |
14423 | echo " set TERM to: $term" |
14169 | fi |
14424 | fi |
14170 | if test x$terminfo != x; then |
14425 | if test x$terminfo != x; then |
14171 | echo " set TERMINFO to: $terminfo" |
14426 | echo " set TERMINFO to: $terminfo" |
… | |
… | |
14174 | echo " resource class: $RESCLASS" |
14429 | echo " resource class: $RESCLASS" |
14175 | if test x$RESFALLBACK != x; then |
14430 | if test x$RESFALLBACK != x; then |
14176 | echo " resource class fallback: $RESFALLBACK" |
14431 | echo " resource class fallback: $RESFALLBACK" |
14177 | fi |
14432 | fi |
14178 | echo |
14433 | echo |
14179 | if test x$rxvt_cv_ptys = xUNKNOWN; then |
14434 | echo " embedded perl: $support_perl" |
14180 | echo ".----------------------------------------------------------------." |
14435 | echo |
14181 | echo ". WARNING: could not determine pty/tty type. Do not build until ." |
|
|
14182 | echo ". the appropriate PTYS_ARE_* is defined in config.h ." |
|
|
14183 | echo ".----------------------------------------------------------------." |
|
|
14184 | fi |
|
|
14185 | if test x$support_xpm = xneedsmanualspecification; then |
14436 | if test x$support_xpm = xneedsmanualspecification; then |
14186 | echo ".----------------------------------------------------------------." |
14437 | echo ".----------------------------------------------------------------." |
14187 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14438 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14188 | echo ". XPM includes files and libraries could not be found. ." |
14439 | echo ". XPM includes files and libraries could not be found. ." |
14189 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
14440 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
… | |
… | |
14198 | echo ". functions could not be found. ." |
14449 | echo ". functions could not be found. ." |
14199 | echo ". XIM is now being DISABLED! ." |
14450 | echo ". XIM is now being DISABLED! ." |
14200 | echo ".----------------------------------------------------------------." |
14451 | echo ".----------------------------------------------------------------." |
14201 | fi |
14452 | fi |
14202 | |
14453 | |
14203 | echo " *** Optionally check src/feature.h for further options ***" |
14454 | echo "*** Optionally check src/feature.h for further, rarely used options ***" |
14204 | echo |
14455 | echo |
14205 | |
14456 | |
14206 | echo ".----------------------------------------------------------------." |
|
|
14207 | echo ". NOTE: some features are disabled by default, try ." |
|
|
14208 | echo ". configure --help to get an idea of the optional features, ." |
|
|
14209 | echo ". or read ./README.configure ." |
|
|
14210 | echo ". ." |
|
|
14211 | echo ". The script ./reconf gives a reasonable baseline, try it if ." |
|
|
14212 | echo ". you do not want to read documentation and still want some ." |
|
|
14213 | echo ". useful features. ." |
|
|
14214 | echo ".----------------------------------------------------------------." |
|
|
14215 | echo |
|
|
14216 | |
|
|