… | |
… | |
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 MV CP LN SED ECHO CMP TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PKG_CONFIG XFT_CONFIG PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
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 XPM background pixmaps |
879 | --enable-transparency enable transparent backgrounds |
876 | --enable-transparency enable transparent backgrounds |
880 | --enable-tinting enable tinting of transparent bg |
877 | --enable-tinting enable tinting of transparent bg |
881 | --enable-fading enable colors fading when off focus |
878 | --enable-fading enable colors fading when off focus |
882 | --enable-rxvt-scroll enable rxvt style scrollbar |
879 | --enable-rxvt-scroll enable rxvt style scrollbar |
883 | --enable-next-scroll enable NeXT style scrollbar |
880 | --enable-next-scroll enable NeXT style scrollbar |
884 | --enable-xterm-scroll enable Xterm style scrollbar |
881 | --enable-xterm-scroll enable Xterm style scrollbar |
885 | --enable-perl enable embedded perl interpreter |
882 | --enable-perl enable embedded perl interpreter |
886 | --enable-plain-scroll enable plain style scrollbar |
883 | --enable-plain-scroll enable plain style scrollbar |
887 | --enable-xim XIM (X Input Method) protocol support |
884 | --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 |
885 | --disable-backspace-key disable handling of the backspace key |
890 | --disable-delete-key disable handling of the delete key |
886 | --disable-delete-key disable handling of the delete key |
891 | --disable-resources disable all resource checking |
887 | --disable-resources disable all resource checking |
892 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
888 | --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) |
889 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
894 | --disable-swapscreen disable swap screen support |
890 | --disable-swapscreen disable swap screen support |
895 | --enable-iso14755 enable support for extended ISO 14755 modes |
891 | --enable-iso14755 enable support for extended ISO 14755 modes |
896 | --enable-frills enable support for rarely used features |
892 | --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 |
893 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
899 | --enable-selectionscrolling enable scrolling during selections |
894 | --enable-selectionscrolling enable scrolling during selections |
900 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
895 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
901 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
896 | --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 |
897 | --enable-smart-resize enable smart growth/shrink behaviour |
906 | --enable-text-blink enable blinking text |
898 | --enable-text-blink enable blinking text |
907 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
899 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
|
|
900 | --enable-utmp enable utmp (utmpx) support |
|
|
901 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
|
|
902 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
908 | |
903 | |
909 | Optional Packages: |
904 | Optional Packages: |
910 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
905 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
911 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
906 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
912 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
907 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
… | |
… | |
3221 | if test "$ac_cv_search_strerror" != no; then |
3216 | if test "$ac_cv_search_strerror" != no; then |
3222 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3217 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3223 | |
3218 | |
3224 | fi |
3219 | fi |
3225 | |
3220 | |
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 | |
|
|
3304 | ac_ext=cc |
3221 | ac_ext=cc |
3305 | ac_cpp='$CXXCPP $CPPFLAGS' |
3222 | ac_cpp='$CXXCPP $CPPFLAGS' |
3306 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3223 | 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' |
3224 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3308 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3225 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3309 | |
3226 | |
|
|
3227 | |
|
|
3228 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3229 | echo "$as_me:$LINENO: checking for working libsupc++" >&5 |
|
|
3230 | echo $ECHO_N "checking for working libsupc++... $ECHO_C" >&6 |
|
|
3231 | save_CXX="$CXX" |
|
|
3232 | save_LIBS="$LIBS" |
|
|
3233 | CXX="$CC" |
|
|
3234 | LIBS="$LIBS -lsupc++" |
|
|
3235 | LINKER="$CC" |
|
|
3236 | |
|
|
3237 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3238 | /* confdefs.h. */ |
|
|
3239 | _ACEOF |
|
|
3240 | cat confdefs.h >>conftest.$ac_ext |
|
|
3241 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3242 | /* end confdefs.h. */ |
|
|
3243 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
|
|
3244 | int |
|
|
3245 | main () |
|
|
3246 | { |
|
|
3247 | |
|
|
3248 | ; |
|
|
3249 | return 0; |
|
|
3250 | } |
|
|
3251 | _ACEOF |
|
|
3252 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3253 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3254 | (eval $ac_link) 2>conftest.er1 |
|
|
3255 | ac_status=$? |
|
|
3256 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3257 | rm -f conftest.er1 |
|
|
3258 | cat conftest.err >&5 |
|
|
3259 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3260 | (exit $ac_status); } && |
|
|
3261 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3262 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3263 | (eval $ac_try) 2>&5 |
|
|
3264 | ac_status=$? |
|
|
3265 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3266 | (exit $ac_status); }; } && |
|
|
3267 | { ac_try='test -s conftest$ac_exeext' |
|
|
3268 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3269 | (eval $ac_try) 2>&5 |
|
|
3270 | ac_status=$? |
|
|
3271 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3272 | (exit $ac_status); }; }; then |
|
|
3273 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
3274 | echo "${ECHO_T}ok" >&6 |
|
|
3275 | else |
|
|
3276 | echo "$as_me: failed program was:" >&5 |
|
|
3277 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3278 | |
|
|
3279 | |
|
|
3280 | echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5 |
|
|
3281 | echo "${ECHO_T}no, making everything bigger and slower" >&6 |
|
|
3282 | LIBS="$save_LIBS" |
|
|
3283 | LINKER="$save_CXX" |
|
|
3284 | |
|
|
3285 | |
|
|
3286 | fi |
|
|
3287 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3288 | conftest$ac_exeext conftest.$ac_ext |
|
|
3289 | CXX="$save_CXX" |
|
|
3290 | fi |
|
|
3291 | LINKER=$LINKER |
|
|
3292 | |
|
|
3293 | |
3310 | if test -z "$orig_CXXFLAGS"; then |
3294 | if test -z "$orig_CXXFLAGS"; then |
3311 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3295 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3312 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3296 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3313 | |
|
|
3314 | cat >conftest.$ac_ext <<_ACEOF |
3297 | cat >conftest.$ac_ext <<_ACEOF |
3315 | /* confdefs.h. */ |
3298 | /* confdefs.h. */ |
3316 | _ACEOF |
3299 | _ACEOF |
3317 | cat confdefs.h >>conftest.$ac_ext |
3300 | cat confdefs.h >>conftest.$ac_ext |
3318 | cat >>conftest.$ac_ext <<_ACEOF |
3301 | cat >>conftest.$ac_ext <<_ACEOF |
3319 | /* end confdefs.h. */ |
3302 | /* end confdefs.h. */ |
… | |
… | |
3871 | fi |
3854 | fi |
3872 | |
3855 | |
3873 | fi |
3856 | fi |
3874 | |
3857 | |
3875 | |
3858 | |
3876 | echo "$as_me:$LINENO: checking for sched_yield" >&5 |
|
|
3877 | echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6 |
|
|
3878 | if test "${ac_cv_func_sched_yield+set}" = set; then |
|
|
3879 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3880 | else |
|
|
3881 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3882 | /* confdefs.h. */ |
|
|
3883 | _ACEOF |
|
|
3884 | cat confdefs.h >>conftest.$ac_ext |
|
|
3885 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3886 | /* end confdefs.h. */ |
|
|
3887 | /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield. |
|
|
3888 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3889 | #define sched_yield innocuous_sched_yield |
|
|
3890 | |
|
|
3891 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3892 | which can conflict with char sched_yield (); below. |
|
|
3893 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3894 | <limits.h> exists even on freestanding compilers. */ |
|
|
3895 | |
|
|
3896 | #ifdef __STDC__ |
|
|
3897 | # include <limits.h> |
|
|
3898 | #else |
|
|
3899 | # include <assert.h> |
|
|
3900 | #endif |
|
|
3901 | |
|
|
3902 | #undef sched_yield |
|
|
3903 | |
|
|
3904 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3905 | #ifdef __cplusplus |
|
|
3906 | extern "C" |
|
|
3907 | { |
|
|
3908 | #endif |
|
|
3909 | /* We use char because int might match the return type of a gcc2 |
|
|
3910 | builtin and then its argument prototype would still apply. */ |
|
|
3911 | char sched_yield (); |
|
|
3912 | /* The GNU C library defines this for functions which it implements |
|
|
3913 | to always fail with ENOSYS. Some functions are actually named |
|
|
3914 | something starting with __ and the normal name is an alias. */ |
|
|
3915 | #if defined (__stub_sched_yield) || defined (__stub___sched_yield) |
|
|
3916 | choke me |
|
|
3917 | #else |
|
|
3918 | char (*f) () = sched_yield; |
|
|
3919 | #endif |
|
|
3920 | #ifdef __cplusplus |
|
|
3921 | } |
|
|
3922 | #endif |
|
|
3923 | |
|
|
3924 | int |
|
|
3925 | main () |
|
|
3926 | { |
|
|
3927 | return f != sched_yield; |
|
|
3928 | ; |
|
|
3929 | return 0; |
|
|
3930 | } |
|
|
3931 | _ACEOF |
|
|
3932 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3933 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3934 | (eval $ac_link) 2>conftest.er1 |
|
|
3935 | ac_status=$? |
|
|
3936 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3937 | rm -f conftest.er1 |
|
|
3938 | cat conftest.err >&5 |
|
|
3939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3940 | (exit $ac_status); } && |
|
|
3941 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3942 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3943 | (eval $ac_try) 2>&5 |
|
|
3944 | ac_status=$? |
|
|
3945 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3946 | (exit $ac_status); }; } && |
|
|
3947 | { ac_try='test -s conftest$ac_exeext' |
|
|
3948 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3949 | (eval $ac_try) 2>&5 |
|
|
3950 | ac_status=$? |
|
|
3951 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3952 | (exit $ac_status); }; }; then |
|
|
3953 | ac_cv_func_sched_yield=yes |
|
|
3954 | else |
|
|
3955 | echo "$as_me: failed program was:" >&5 |
|
|
3956 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3957 | |
|
|
3958 | ac_cv_func_sched_yield=no |
|
|
3959 | fi |
|
|
3960 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3961 | conftest$ac_exeext conftest.$ac_ext |
|
|
3962 | fi |
|
|
3963 | echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5 |
|
|
3964 | echo "${ECHO_T}$ac_cv_func_sched_yield" >&6 |
|
|
3965 | if test $ac_cv_func_sched_yield = yes; then |
|
|
3966 | : |
|
|
3967 | else |
|
|
3968 | echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5 |
|
|
3969 | echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6 |
|
|
3970 | if test "${ac_cv_lib_rt_sched_yield+set}" = set; then |
|
|
3971 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3972 | else |
|
|
3973 | ac_check_lib_save_LIBS=$LIBS |
|
|
3974 | LIBS="-lrt $LIBS" |
|
|
3975 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3976 | /* confdefs.h. */ |
|
|
3977 | _ACEOF |
|
|
3978 | cat confdefs.h >>conftest.$ac_ext |
|
|
3979 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3980 | /* end confdefs.h. */ |
|
|
3981 | |
|
|
3982 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3983 | #ifdef __cplusplus |
|
|
3984 | extern "C" |
|
|
3985 | #endif |
|
|
3986 | /* We use char because int might match the return type of a gcc2 |
|
|
3987 | builtin and then its argument prototype would still apply. */ |
|
|
3988 | char sched_yield (); |
|
|
3989 | int |
|
|
3990 | main () |
|
|
3991 | { |
|
|
3992 | sched_yield (); |
|
|
3993 | ; |
|
|
3994 | return 0; |
|
|
3995 | } |
|
|
3996 | _ACEOF |
|
|
3997 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3998 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3999 | (eval $ac_link) 2>conftest.er1 |
|
|
4000 | ac_status=$? |
|
|
4001 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4002 | rm -f conftest.er1 |
|
|
4003 | cat conftest.err >&5 |
|
|
4004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4005 | (exit $ac_status); } && |
|
|
4006 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4007 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4008 | (eval $ac_try) 2>&5 |
|
|
4009 | ac_status=$? |
|
|
4010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4011 | (exit $ac_status); }; } && |
|
|
4012 | { ac_try='test -s conftest$ac_exeext' |
|
|
4013 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4014 | (eval $ac_try) 2>&5 |
|
|
4015 | ac_status=$? |
|
|
4016 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4017 | (exit $ac_status); }; }; then |
|
|
4018 | ac_cv_lib_rt_sched_yield=yes |
|
|
4019 | else |
|
|
4020 | echo "$as_me: failed program was:" >&5 |
|
|
4021 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4022 | |
|
|
4023 | ac_cv_lib_rt_sched_yield=no |
|
|
4024 | fi |
|
|
4025 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4026 | conftest$ac_exeext conftest.$ac_ext |
|
|
4027 | LIBS=$ac_check_lib_save_LIBS |
|
|
4028 | fi |
|
|
4029 | echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5 |
|
|
4030 | echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6 |
|
|
4031 | if test $ac_cv_lib_rt_sched_yield = yes; then |
|
|
4032 | LIBS="$LIBS -lrt" |
|
|
4033 | fi |
|
|
4034 | |
|
|
4035 | fi |
|
|
4036 | |
|
|
4037 | |
|
|
4038 | echo "$as_me:$LINENO: checking for sched_yield support" >&5 |
|
|
4039 | echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6 |
|
|
4040 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4041 | /* confdefs.h. */ |
|
|
4042 | _ACEOF |
|
|
4043 | cat confdefs.h >>conftest.$ac_ext |
|
|
4044 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4045 | /* end confdefs.h. */ |
|
|
4046 | #include <sched.h> |
|
|
4047 | int |
|
|
4048 | main () |
|
|
4049 | { |
|
|
4050 | sched_yield () |
|
|
4051 | ; |
|
|
4052 | return 0; |
|
|
4053 | } |
|
|
4054 | _ACEOF |
|
|
4055 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4056 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4057 | (eval $ac_link) 2>conftest.er1 |
|
|
4058 | ac_status=$? |
|
|
4059 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4060 | rm -f conftest.er1 |
|
|
4061 | cat conftest.err >&5 |
|
|
4062 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4063 | (exit $ac_status); } && |
|
|
4064 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4065 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4066 | (eval $ac_try) 2>&5 |
|
|
4067 | ac_status=$? |
|
|
4068 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4069 | (exit $ac_status); }; } && |
|
|
4070 | { ac_try='test -s conftest$ac_exeext' |
|
|
4071 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4072 | (eval $ac_try) 2>&5 |
|
|
4073 | ac_status=$? |
|
|
4074 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4075 | (exit $ac_status); }; }; then |
|
|
4076 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
4077 | echo "${ECHO_T}yes" >&6 |
|
|
4078 | |
|
|
4079 | cat >>confdefs.h <<\_ACEOF |
|
|
4080 | #define HAVE_SCHED_YIELD 1 |
|
|
4081 | _ACEOF |
|
|
4082 | |
|
|
4083 | else |
|
|
4084 | echo "$as_me: failed program was:" >&5 |
|
|
4085 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4086 | |
|
|
4087 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4088 | echo "${ECHO_T}no" >&6 |
|
|
4089 | fi |
|
|
4090 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4091 | conftest$ac_exeext conftest.$ac_ext |
|
|
4092 | |
|
|
4093 | |
|
|
4094 | MALLOC_TYPE=S |
|
|
4095 | |
3859 | |
4096 | support_frills=yes |
3860 | support_frills=yes |
4097 | support_inheritpixmap=yes |
3861 | support_inheritpixmap=yes |
4098 | support_tinting=yes |
3862 | support_tinting=yes |
4099 | support_fading=yes |
3863 | support_fading=yes |
4100 | support_keepscrolling=yes |
3864 | support_keepscrolling=yes |
4101 | support_selectionscrolling=yes |
3865 | support_selectionscrolling=yes |
4102 | support_mousewheel=yes |
3866 | support_mousewheel=yes |
4103 | support_mouseslipwheel=yes |
3867 | support_mouseslipwheel=yes |
4104 | support_utmp=yes |
|
|
4105 | support_wtmp=yes |
|
|
4106 | support_lastlog=yes |
|
|
4107 | support_text_blink=yes |
3868 | support_text_blink=yes |
4108 | support_pointer_blank=yes |
3869 | support_pointer_blank=yes |
4109 | support_scroll_rxvt=yes |
3870 | support_scroll_rxvt=yes |
4110 | support_scroll_next=yes |
3871 | support_scroll_next=yes |
4111 | support_scroll_xterm=yes |
3872 | support_scroll_xterm=yes |
… | |
… | |
4135 | # Check whether --enable-everything or --disable-everything was given. |
3896 | # Check whether --enable-everything or --disable-everything was given. |
4136 | if test "${enable_everything+set}" = set; then |
3897 | if test "${enable_everything+set}" = set; then |
4137 | enableval="$enable_everything" |
3898 | enableval="$enable_everything" |
4138 | |
3899 | |
4139 | if test x$enableval = xno; then |
3900 | if test x$enableval = xno; then |
4140 | support_24bit=no |
|
|
4141 | support_frills=no |
3901 | support_frills=no |
4142 | support_inheritpixmap=no |
3902 | support_inheritpixmap=no |
4143 | support_tinting=no |
3903 | support_tinting=no |
4144 | support_fading=no |
3904 | support_fading=no |
4145 | support_keepscrolling=no |
3905 | support_keepscrolling=no |
… | |
… | |
4165 | support_styles=no |
3925 | support_styles=no |
4166 | support_perl=no |
3926 | support_perl=no |
4167 | codesets= |
3927 | codesets= |
4168 | fi |
3928 | fi |
4169 | if test x$enableval = xyes; then |
3929 | if test x$enableval = xyes; then |
4170 | support_24bit=yes |
|
|
4171 | support_frills=yes |
3930 | support_frills=yes |
4172 | support_inheritpixmap=yes |
3931 | support_inheritpixmap=yes |
4173 | support_tinting=yes |
3932 | support_tinting=yes |
4174 | support_fading=yes |
3933 | support_fading=yes |
4175 | support_keepscrolling=yes |
3934 | support_keepscrolling=yes |
… | |
… | |
4229 | if test x$enableval = xyes -o x$enableval = xno; then |
3988 | if test x$enableval = xyes -o x$enableval = xno; then |
4230 | support_styles=$enableval |
3989 | support_styles=$enableval |
4231 | fi |
3990 | fi |
4232 | fi; |
3991 | fi; |
4233 | |
3992 | |
4234 | # Check whether --enable-utmp or --disable-utmp was given. |
|
|
4235 | if test "${enable_utmp+set}" = set; then |
|
|
4236 | enableval="$enable_utmp" |
|
|
4237 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4238 | support_utmp=$enableval |
|
|
4239 | fi |
|
|
4240 | fi; |
|
|
4241 | |
|
|
4242 | # Check whether --enable-wtmp or --disable-wtmp was given. |
|
|
4243 | if test "${enable_wtmp+set}" = set; then |
|
|
4244 | enableval="$enable_wtmp" |
|
|
4245 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4246 | support_wtmp=$enableval |
|
|
4247 | fi |
|
|
4248 | fi; |
|
|
4249 | |
|
|
4250 | # Check whether --enable-lastlog or --disable-lastlog was given. |
|
|
4251 | if test "${enable_lastlog+set}" = set; then |
|
|
4252 | enableval="$enable_lastlog" |
|
|
4253 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4254 | support_lastlog=$enableval |
|
|
4255 | fi |
|
|
4256 | fi; |
|
|
4257 | |
|
|
4258 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
3993 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
4259 | if test "${enable_xpm_background+set}" = set; then |
3994 | if test "${enable_xpm_background+set}" = set; then |
4260 | enableval="$enable_xpm_background" |
3995 | enableval="$enable_xpm_background" |
4261 | if test x$enableval = xyes -o x$enableval = xno; then |
3996 | if test x$enableval = xyes -o x$enableval = xno; then |
4262 | support_xpm=$enableval |
3997 | support_xpm=$enableval |
… | |
… | |
4326 | support_scroll_plain=$enableval |
4061 | support_scroll_plain=$enableval |
4327 | fi |
4062 | fi |
4328 | fi; |
4063 | fi; |
4329 | |
4064 | |
4330 | |
4065 | |
4331 | |
|
|
4332 | # Check whether --with-codesets or --without-codesets was given. |
4066 | # Check whether --with-codesets or --without-codesets was given. |
4333 | if test "${with_codesets+set}" = set; then |
4067 | if test "${with_codesets+set}" = set; then |
4334 | withval="$with_codesets" |
4068 | withval="$with_codesets" |
4335 | codesets="$withval" |
4069 | codesets="$withval" |
4336 | fi; |
4070 | fi; |
… | |
… | |
4341 | if test x$enableval = xyes -o x$enableval = xno; then |
4075 | if test x$enableval = xyes -o x$enableval = xno; then |
4342 | support_xim=$enableval |
4076 | support_xim=$enableval |
4343 | fi |
4077 | fi |
4344 | fi; |
4078 | fi; |
4345 | |
4079 | |
4346 | # Check whether --enable-ttygid or --disable-ttygid was given. |
|
|
4347 | if test "${enable_ttygid+set}" = set; then |
|
|
4348 | enableval="$enable_ttygid" |
|
|
4349 | if test x$enableval = xyes; then |
|
|
4350 | |
|
|
4351 | cat >>confdefs.h <<\_ACEOF |
|
|
4352 | #define TTY_GID_SUPPORT 1 |
|
|
4353 | _ACEOF |
|
|
4354 | |
|
|
4355 | fi |
|
|
4356 | fi; |
|
|
4357 | |
|
|
4358 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
4080 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
4359 | if test "${enable_backspace_key+set}" = set; then |
4081 | if test "${enable_backspace_key+set}" = set; then |
4360 | enableval="$enable_backspace_key" |
4082 | enableval="$enable_backspace_key" |
4361 | if test x$enableval = xno; then |
4083 | if test x$enableval = xno; then |
4362 | |
4084 | |
… | |
… | |
4486 | if test x$enableval = xyes -o x$enableval = xno; then |
4208 | if test x$enableval = xyes -o x$enableval = xno; then |
4487 | support_frills=$enableval |
4209 | support_frills=$enableval |
4488 | fi |
4210 | fi |
4489 | fi; |
4211 | fi; |
4490 | |
4212 | |
4491 | # Check whether --enable-24bit or --disable-24bit was given. |
|
|
4492 | if test "${enable_24bit+set}" = set; then |
|
|
4493 | enableval="$enable_24bit" |
|
|
4494 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4495 | support_24bit=$enableval |
|
|
4496 | fi |
|
|
4497 | fi; |
|
|
4498 | |
|
|
4499 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
4213 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
4500 | if test "${enable_keepscrolling+set}" = set; then |
4214 | if test "${enable_keepscrolling+set}" = set; then |
4501 | enableval="$enable_keepscrolling" |
4215 | enableval="$enable_keepscrolling" |
4502 | if test x$enableval = xyes -o x$enableval = xno; then |
4216 | if test x$enableval = xyes -o x$enableval = xno; then |
4503 | support_keepscrolling=$enableval |
4217 | support_keepscrolling=$enableval |
… | |
… | |
4523 | # Check whether --enable-slipwheeling or --disable-slipwheeling was given. |
4237 | # Check whether --enable-slipwheeling or --disable-slipwheeling was given. |
4524 | if test "${enable_slipwheeling+set}" = set; then |
4238 | if test "${enable_slipwheeling+set}" = set; then |
4525 | enableval="$enable_slipwheeling" |
4239 | enableval="$enable_slipwheeling" |
4526 | if test x$enableval = xyes -o x$enableval = xno; then |
4240 | if test x$enableval = xyes -o x$enableval = xno; then |
4527 | support_mouseslipwheel=$enableval |
4241 | support_mouseslipwheel=$enableval |
4528 | fi |
|
|
4529 | fi; |
|
|
4530 | |
|
|
4531 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
|
|
4532 | if test "${enable_dmalloc+set}" = set; then |
|
|
4533 | enableval="$enable_dmalloc" |
|
|
4534 | if test x$enableval = xyes; then |
|
|
4535 | MALLOC_TYPE=G |
|
|
4536 | DEBUG=-DDEBUG_MALLOC |
|
|
4537 | DLIB="-L/usr/local/lib -ldmalloc" |
|
|
4538 | DINCLUDE=-I/usr/local/include |
|
|
4539 | fi |
|
|
4540 | fi; |
|
|
4541 | |
|
|
4542 | # Check whether --enable-dlmalloc or --disable-dlmalloc was given. |
|
|
4543 | if test "${enable_dlmalloc+set}" = set; then |
|
|
4544 | enableval="$enable_dlmalloc" |
|
|
4545 | if test x$enableval = xyes; then |
|
|
4546 | MALLOC_TYPE=D |
|
|
4547 | DEBUG= |
|
|
4548 | DLIB="-L/usr/local/lib -ldlmalloc" |
|
|
4549 | DINCLUDE= |
|
|
4550 | fi |
4242 | fi |
4551 | fi; |
4243 | fi; |
4552 | |
4244 | |
4553 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
4245 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
4554 | if test "${enable_smart_resize+set}" = set; then |
4246 | if test "${enable_smart_resize+set}" = set; then |
… | |
… | |
4638 | MV=$ac_cv_path_MV |
4330 | MV=$ac_cv_path_MV |
4639 | |
4331 | |
4640 | if test -n "$MV"; then |
4332 | if test -n "$MV"; then |
4641 | echo "$as_me:$LINENO: result: $MV" >&5 |
4333 | echo "$as_me:$LINENO: result: $MV" >&5 |
4642 | echo "${ECHO_T}$MV" >&6 |
4334 | echo "${ECHO_T}$MV" >&6 |
4643 | else |
|
|
4644 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4645 | echo "${ECHO_T}no" >&6 |
|
|
4646 | fi |
|
|
4647 | |
|
|
4648 | # Extract the first word of "rm", so it can be a program name with args. |
|
|
4649 | set dummy rm; ac_word=$2 |
|
|
4650 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
4651 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
4652 | if test "${ac_cv_path_RM+set}" = set; then |
|
|
4653 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4654 | else |
|
|
4655 | case $RM in |
|
|
4656 | [\\/]* | ?:[\\/]*) |
|
|
4657 | ac_cv_path_RM="$RM" # Let the user override the test with a path. |
|
|
4658 | ;; |
|
|
4659 | *) |
|
|
4660 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4661 | for as_dir in $PATH |
|
|
4662 | do |
|
|
4663 | IFS=$as_save_IFS |
|
|
4664 | test -z "$as_dir" && as_dir=. |
|
|
4665 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4666 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
4667 | ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" |
|
|
4668 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
4669 | break 2 |
|
|
4670 | fi |
|
|
4671 | done |
|
|
4672 | done |
|
|
4673 | |
|
|
4674 | test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm" |
|
|
4675 | ;; |
|
|
4676 | esac |
|
|
4677 | fi |
|
|
4678 | RM=$ac_cv_path_RM |
|
|
4679 | |
|
|
4680 | if test -n "$RM"; then |
|
|
4681 | echo "$as_me:$LINENO: result: $RM" >&5 |
|
|
4682 | echo "${ECHO_T}$RM" >&6 |
|
|
4683 | else |
4335 | else |
4684 | echo "$as_me:$LINENO: result: no" >&5 |
4336 | echo "$as_me:$LINENO: result: no" >&5 |
4685 | echo "${ECHO_T}no" >&6 |
4337 | echo "${ECHO_T}no" >&6 |
4686 | fi |
4338 | fi |
4687 | |
4339 | |
… | |
… | |
7680 | |
7332 | |
7681 | fi |
7333 | fi |
7682 | LIBS=$ac_save_LIBS |
7334 | LIBS=$ac_save_LIBS |
7683 | CFLAGS=$ac_save_CFLAGS |
7335 | CFLAGS=$ac_save_CFLAGS |
7684 | |
7336 | |
|
|
7337 | echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
|
|
7338 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6 |
|
|
7339 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
|
|
7340 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7341 | else |
|
|
7342 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7343 | /* confdefs.h. */ |
|
|
7344 | _ACEOF |
|
|
7345 | cat confdefs.h >>conftest.$ac_ext |
|
|
7346 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7347 | /* end confdefs.h. */ |
|
|
7348 | |
|
|
7349 | #define XLIB_ILLEGAL_ACCESS |
|
|
7350 | #include <X11/Xlib.h> |
|
|
7351 | |
|
|
7352 | int |
|
|
7353 | main () |
|
|
7354 | { |
|
|
7355 | |
|
|
7356 | Display *dpy; |
|
|
7357 | dpy->xdefaults = (char *)0; |
|
|
7358 | |
|
|
7359 | ; |
|
|
7360 | return 0; |
|
|
7361 | } |
|
|
7362 | _ACEOF |
|
|
7363 | rm -f conftest.$ac_objext |
|
|
7364 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7365 | (eval $ac_compile) 2>conftest.er1 |
|
|
7366 | ac_status=$? |
|
|
7367 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7368 | rm -f conftest.er1 |
|
|
7369 | cat conftest.err >&5 |
|
|
7370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7371 | (exit $ac_status); } && |
|
|
7372 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7373 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7374 | (eval $ac_try) 2>&5 |
|
|
7375 | ac_status=$? |
|
|
7376 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7377 | (exit $ac_status); }; } && |
|
|
7378 | { ac_try='test -s conftest.$ac_objext' |
|
|
7379 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7380 | (eval $ac_try) 2>&5 |
|
|
7381 | ac_status=$? |
|
|
7382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7383 | (exit $ac_status); }; }; then |
|
|
7384 | rxvt_xlib_illegal_access=yes |
|
|
7385 | else |
|
|
7386 | echo "$as_me: failed program was:" >&5 |
|
|
7387 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7388 | |
|
|
7389 | rxvt_xlib_illegal_access=no |
|
|
7390 | |
|
|
7391 | fi |
|
|
7392 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7393 | fi |
|
|
7394 | echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5 |
|
|
7395 | echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6 |
|
|
7396 | if test x$rxvt_xlib_illegal_access = xyes; then |
|
|
7397 | |
|
|
7398 | cat >>confdefs.h <<\_ACEOF |
|
|
7399 | #define XLIB_ILLEGAL_ACCESS 1 |
|
|
7400 | _ACEOF |
|
|
7401 | |
|
|
7402 | fi |
7685 | |
7403 | |
7686 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7404 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7687 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7405 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7688 | if test "${ac_cv_c_const+set}" = set; then |
7406 | if test "${ac_cv_c_const+set}" = set; then |
7689 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7407 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
10074 | |
9792 | |
10075 | |
9793 | |
10076 | |
9794 | |
10077 | |
9795 | |
10078 | |
9796 | |
10079 | |
|
|
10080 | |
|
|
10081 | |
|
|
10082 | |
|
|
10083 | for ac_func in \ |
9797 | for ac_func in \ |
10084 | unsetenv \ |
9798 | unsetenv \ |
10085 | setutent \ |
9799 | setutent \ |
10086 | seteuid \ |
|
|
10087 | setresuid \ |
|
|
10088 | setreuid \ |
|
|
10089 | on_exit \ |
9800 | on_exit \ |
10090 | nanosleep \ |
|
|
10091 | |
9801 | |
10092 | do |
9802 | do |
10093 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9803 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10094 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9804 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10095 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9805 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
… | |
… | |
10187 | |
9897 | |
10188 | fi |
9898 | fi |
10189 | done |
9899 | done |
10190 | |
9900 | |
10191 | |
9901 | |
|
|
9902 | |
|
|
9903 | support_utmp=yes |
|
|
9904 | support_wtmp=yes |
|
|
9905 | support_lastlog=yes |
|
|
9906 | |
|
|
9907 | # Check whether --enable-utmp or --disable-utmp was given. |
|
|
9908 | if test "${enable_utmp+set}" = set; then |
|
|
9909 | enableval="$enable_utmp" |
|
|
9910 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9911 | support_utmp=$enableval |
|
|
9912 | fi |
|
|
9913 | fi; |
|
|
9914 | |
|
|
9915 | # Check whether --enable-wtmp or --disable-wtmp was given. |
|
|
9916 | if test "${enable_wtmp+set}" = set; then |
|
|
9917 | enableval="$enable_wtmp" |
|
|
9918 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9919 | support_wtmp=$enableval |
|
|
9920 | fi |
|
|
9921 | fi; |
|
|
9922 | |
|
|
9923 | # Check whether --enable-lastlog or --disable-lastlog was given. |
|
|
9924 | if test "${enable_lastlog+set}" = set; then |
|
|
9925 | enableval="$enable_lastlog" |
|
|
9926 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9927 | support_lastlog=$enableval |
|
|
9928 | fi |
|
|
9929 | fi; |
|
|
9930 | |
|
|
9931 | if test x$support_utmp = xyes; then |
|
|
9932 | |
|
|
9933 | cat >>confdefs.h <<\_ACEOF |
|
|
9934 | #define UTMP_SUPPORT 1 |
|
|
9935 | _ACEOF |
|
|
9936 | |
|
|
9937 | fi |
|
|
9938 | if test x$support_wtmp = xyes; then |
|
|
9939 | |
|
|
9940 | cat >>confdefs.h <<\_ACEOF |
|
|
9941 | #define WTMP_SUPPORT 1 |
|
|
9942 | _ACEOF |
|
|
9943 | |
|
|
9944 | fi |
|
|
9945 | if test x$support_lastlog = xyes; then |
|
|
9946 | |
|
|
9947 | cat >>confdefs.h <<\_ACEOF |
|
|
9948 | #define LASTLOG_SUPPORT 1 |
|
|
9949 | _ACEOF |
|
|
9950 | |
|
|
9951 | fi |
10192 | |
9952 | |
10193 | |
9953 | |
10194 | |
9954 | |
10195 | |
9955 | |
10196 | for ac_func in \ |
9956 | for ac_func in \ |
… | |
… | |
10592 | |
10352 | |
10593 | fi |
10353 | fi |
10594 | if test $ac_cv_header_utmp_h = yes; then |
10354 | if test $ac_cv_header_utmp_h = yes; then |
10595 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10355 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10596 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
10356 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
10597 | if test "${rxvt_cv_struct_utmp+set}" = set; then |
10357 | if test "${struct_utmp+set}" = set; then |
10598 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10358 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10599 | else |
10359 | else |
10600 | cat >conftest.$ac_ext <<_ACEOF |
10360 | cat >conftest.$ac_ext <<_ACEOF |
10601 | /* confdefs.h. */ |
10361 | /* confdefs.h. */ |
10602 | _ACEOF |
10362 | _ACEOF |
… | |
… | |
10632 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10392 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10633 | (eval $ac_try) 2>&5 |
10393 | (eval $ac_try) 2>&5 |
10634 | ac_status=$? |
10394 | ac_status=$? |
10635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10395 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10636 | (exit $ac_status); }; }; then |
10396 | (exit $ac_status); }; }; then |
10637 | rxvt_cv_struct_utmp=yes |
10397 | struct_utmp=yes |
10638 | else |
10398 | else |
10639 | echo "$as_me: failed program was:" >&5 |
10399 | echo "$as_me: failed program was:" >&5 |
10640 | sed 's/^/| /' conftest.$ac_ext >&5 |
10400 | sed 's/^/| /' conftest.$ac_ext >&5 |
10641 | |
10401 | |
10642 | rxvt_cv_struct_utmp=no |
10402 | struct_utmp=no |
10643 | fi |
10403 | fi |
10644 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10404 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10645 | fi |
10405 | fi |
10646 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 |
10406 | echo "$as_me:$LINENO: result: $struct_utmp" >&5 |
10647 | echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 |
10407 | echo "${ECHO_T}$struct_utmp" >&6 |
10648 | if test x$rxvt_cv_struct_utmp = xyes; then |
10408 | if test x$struct_utmp = xyes; then |
10649 | |
10409 | |
10650 | cat >>confdefs.h <<\_ACEOF |
10410 | cat >>confdefs.h <<\_ACEOF |
10651 | #define HAVE_STRUCT_UTMP 1 |
10411 | #define HAVE_STRUCT_UTMP 1 |
10652 | _ACEOF |
10412 | _ACEOF |
10653 | |
10413 | |
10654 | fi |
10414 | fi |
10655 | |
10415 | |
10656 | |
10416 | |
10657 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
10417 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
10658 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
10418 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
10659 | if test "${rxvt_cv_struct_utmp_host+set}" = set; then |
10419 | if test "${struct_utmp_host+set}" = set; then |
10660 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10420 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10661 | else |
10421 | else |
10662 | cat >conftest.$ac_ext <<_ACEOF |
10422 | cat >conftest.$ac_ext <<_ACEOF |
10663 | /* confdefs.h. */ |
10423 | /* confdefs.h. */ |
10664 | _ACEOF |
10424 | _ACEOF |
… | |
… | |
10694 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10454 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10695 | (eval $ac_try) 2>&5 |
10455 | (eval $ac_try) 2>&5 |
10696 | ac_status=$? |
10456 | ac_status=$? |
10697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10457 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10698 | (exit $ac_status); }; }; then |
10458 | (exit $ac_status); }; }; then |
10699 | rxvt_cv_struct_utmp_host=yes |
10459 | struct_utmp_host=yes |
10700 | else |
10460 | else |
10701 | echo "$as_me: failed program was:" >&5 |
10461 | echo "$as_me: failed program was:" >&5 |
10702 | sed 's/^/| /' conftest.$ac_ext >&5 |
10462 | sed 's/^/| /' conftest.$ac_ext >&5 |
10703 | |
10463 | |
10704 | rxvt_cv_struct_utmp_host=no |
10464 | struct_utmp_host=no |
10705 | fi |
10465 | fi |
10706 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10466 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10707 | fi |
10467 | fi |
10708 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 |
10468 | echo "$as_me:$LINENO: result: $struct_utmp_host" >&5 |
10709 | echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 |
10469 | echo "${ECHO_T}$struct_utmp_host" >&6 |
10710 | if test x$rxvt_cv_struct_utmp_host = xyes; then |
10470 | if test x$struct_utmp_host = xyes; then |
10711 | |
10471 | |
10712 | cat >>confdefs.h <<\_ACEOF |
10472 | cat >>confdefs.h <<\_ACEOF |
10713 | #define HAVE_UTMP_HOST 1 |
10473 | #define HAVE_UTMP_HOST 1 |
10714 | _ACEOF |
10474 | _ACEOF |
10715 | |
10475 | |
10716 | fi |
10476 | fi |
10717 | |
10477 | |
10718 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10478 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10719 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10479 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10720 | if test "${rxvt_cv_struct_utmp_pid+set}" = set; then |
10480 | if test "${struct_utmp_pid+set}" = set; then |
10721 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10481 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10722 | else |
10482 | else |
10723 | cat >conftest.$ac_ext <<_ACEOF |
10483 | cat >conftest.$ac_ext <<_ACEOF |
10724 | /* confdefs.h. */ |
10484 | /* confdefs.h. */ |
10725 | _ACEOF |
10485 | _ACEOF |
… | |
… | |
10755 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10515 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10756 | (eval $ac_try) 2>&5 |
10516 | (eval $ac_try) 2>&5 |
10757 | ac_status=$? |
10517 | ac_status=$? |
10758 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10518 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10759 | (exit $ac_status); }; }; then |
10519 | (exit $ac_status); }; }; then |
10760 | rxvt_cv_struct_utmp_pid=yes |
10520 | struct_utmp_pid=yes |
10761 | else |
10521 | else |
10762 | echo "$as_me: failed program was:" >&5 |
10522 | echo "$as_me: failed program was:" >&5 |
10763 | sed 's/^/| /' conftest.$ac_ext >&5 |
10523 | sed 's/^/| /' conftest.$ac_ext >&5 |
10764 | |
10524 | |
10765 | rxvt_cv_struct_utmp_pid=no |
10525 | struct_utmp_pid=no |
10766 | fi |
10526 | fi |
10767 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10527 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10768 | fi |
10528 | fi |
10769 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 |
10529 | echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5 |
10770 | echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 |
10530 | echo "${ECHO_T}$struct_utmp_pid" >&6 |
10771 | if test x$rxvt_cv_struct_utmp_pid = xyes; then |
10531 | if test x$struct_utmp_pid = xyes; then |
10772 | |
10532 | |
10773 | cat >>confdefs.h <<\_ACEOF |
10533 | cat >>confdefs.h <<\_ACEOF |
10774 | #define HAVE_UTMP_PID 1 |
10534 | #define HAVE_UTMP_PID 1 |
10775 | _ACEOF |
10535 | _ACEOF |
10776 | |
10536 | |
… | |
… | |
10917 | |
10677 | |
10918 | fi |
10678 | fi |
10919 | if test $ac_cv_header_utmpx_h = yes; then |
10679 | if test $ac_cv_header_utmpx_h = yes; then |
10920 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10680 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10921 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10681 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10922 | if test "${rxvt_cv_struct_utmpx+set}" = set; then |
10682 | if test "${struct_utmpx+set}" = set; then |
10923 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10683 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10924 | else |
10684 | else |
10925 | cat >conftest.$ac_ext <<_ACEOF |
10685 | cat >conftest.$ac_ext <<_ACEOF |
10926 | /* confdefs.h. */ |
10686 | /* confdefs.h. */ |
10927 | _ACEOF |
10687 | _ACEOF |
… | |
… | |
10957 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10717 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10958 | (eval $ac_try) 2>&5 |
10718 | (eval $ac_try) 2>&5 |
10959 | ac_status=$? |
10719 | ac_status=$? |
10960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10961 | (exit $ac_status); }; }; then |
10721 | (exit $ac_status); }; }; then |
10962 | rxvt_cv_struct_utmpx=yes |
10722 | struct_utmpx=yes |
10963 | else |
10723 | else |
10964 | echo "$as_me: failed program was:" >&5 |
10724 | echo "$as_me: failed program was:" >&5 |
10965 | sed 's/^/| /' conftest.$ac_ext >&5 |
10725 | sed 's/^/| /' conftest.$ac_ext >&5 |
10966 | |
10726 | |
10967 | rxvt_cv_struct_utmpx=no |
10727 | struct_utmpx=no |
10968 | fi |
10728 | fi |
10969 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10729 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10970 | fi |
10730 | fi |
10971 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 |
10731 | echo "$as_me:$LINENO: result: $struct_utmpx" >&5 |
10972 | echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 |
10732 | echo "${ECHO_T}$struct_utmpx" >&6 |
10973 | if test x$rxvt_cv_struct_utmpx = xyes; then |
10733 | if test x$struct_utmpx = xyes; then |
10974 | |
10734 | |
10975 | cat >>confdefs.h <<\_ACEOF |
10735 | cat >>confdefs.h <<\_ACEOF |
10976 | #define HAVE_STRUCT_UTMPX 1 |
10736 | #define HAVE_STRUCT_UTMPX 1 |
10977 | _ACEOF |
10737 | _ACEOF |
10978 | |
10738 | |
10979 | fi |
10739 | fi |
10980 | |
10740 | |
10981 | |
10741 | |
10982 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10742 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10983 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10743 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10984 | if test "${rxvt_cv_struct_utmpx_host+set}" = set; then |
10744 | if test "${struct_utmpx_host+set}" = set; then |
10985 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10745 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10986 | else |
10746 | else |
10987 | cat >conftest.$ac_ext <<_ACEOF |
10747 | cat >conftest.$ac_ext <<_ACEOF |
10988 | /* confdefs.h. */ |
10748 | /* confdefs.h. */ |
10989 | _ACEOF |
10749 | _ACEOF |
… | |
… | |
11019 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10779 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11020 | (eval $ac_try) 2>&5 |
10780 | (eval $ac_try) 2>&5 |
11021 | ac_status=$? |
10781 | ac_status=$? |
11022 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11023 | (exit $ac_status); }; }; then |
10783 | (exit $ac_status); }; }; then |
11024 | rxvt_cv_struct_utmpx_host=yes |
10784 | struct_utmpx_host=yes |
11025 | else |
10785 | else |
11026 | echo "$as_me: failed program was:" >&5 |
10786 | echo "$as_me: failed program was:" >&5 |
11027 | sed 's/^/| /' conftest.$ac_ext >&5 |
10787 | sed 's/^/| /' conftest.$ac_ext >&5 |
11028 | |
10788 | |
11029 | rxvt_cv_struct_utmpx_host=no |
10789 | struct_utmpx_host=no |
11030 | fi |
10790 | fi |
11031 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10791 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11032 | fi |
10792 | fi |
11033 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 |
10793 | echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5 |
11034 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 |
10794 | echo "${ECHO_T}$struct_utmpx_host" >&6 |
11035 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
10795 | if test x$struct_utmpx_host = xyes; then |
11036 | |
10796 | |
11037 | cat >>confdefs.h <<\_ACEOF |
10797 | cat >>confdefs.h <<\_ACEOF |
11038 | #define HAVE_UTMPX_HOST 1 |
10798 | #define HAVE_UTMPX_HOST 1 |
11039 | _ACEOF |
10799 | _ACEOF |
11040 | |
10800 | |
11041 | fi |
10801 | fi |
11042 | |
10802 | |
11043 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
10803 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
11044 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
10804 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
11045 | if test "${rxvt_cv_struct_utmpx_session+set}" = set; then |
10805 | if test "${struct_utmpx_session+set}" = set; then |
11046 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10806 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11047 | else |
10807 | else |
11048 | cat >conftest.$ac_ext <<_ACEOF |
10808 | cat >conftest.$ac_ext <<_ACEOF |
11049 | /* confdefs.h. */ |
10809 | /* confdefs.h. */ |
11050 | _ACEOF |
10810 | _ACEOF |
… | |
… | |
11080 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10840 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11081 | (eval $ac_try) 2>&5 |
10841 | (eval $ac_try) 2>&5 |
11082 | ac_status=$? |
10842 | ac_status=$? |
11083 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11084 | (exit $ac_status); }; }; then |
10844 | (exit $ac_status); }; }; then |
11085 | rxvt_cv_struct_utmpx_session=yes |
10845 | struct_utmpx_session=yes |
11086 | else |
10846 | else |
11087 | echo "$as_me: failed program was:" >&5 |
10847 | echo "$as_me: failed program was:" >&5 |
11088 | sed 's/^/| /' conftest.$ac_ext >&5 |
10848 | sed 's/^/| /' conftest.$ac_ext >&5 |
11089 | |
10849 | |
11090 | rxvt_cv_struct_utmpx_session=no |
10850 | struct_utmpx_session=no |
11091 | fi |
10851 | fi |
11092 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10852 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11093 | fi |
10853 | fi |
11094 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 |
10854 | echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5 |
11095 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 |
10855 | echo "${ECHO_T}$struct_utmpx_session" >&6 |
11096 | if test x$rxvt_cv_struct_utmpx_session = xyes; then |
10856 | if test x$struct_utmpx_session = xyes; then |
11097 | |
10857 | |
11098 | cat >>confdefs.h <<\_ACEOF |
10858 | cat >>confdefs.h <<\_ACEOF |
11099 | #define HAVE_UTMPX_SESSION 1 |
10859 | #define HAVE_UTMPX_SESSION 1 |
11100 | _ACEOF |
10860 | _ACEOF |
11101 | |
10861 | |
… | |
… | |
11104 | fi |
10864 | fi |
11105 | |
10865 | |
11106 | |
10866 | |
11107 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10867 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
11108 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10868 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
11109 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |
10869 | if test "${struct_lastlog+set}" = set; then |
11110 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10870 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11111 | else |
10871 | else |
11112 | cat >conftest.$ac_ext <<_ACEOF |
10872 | cat >conftest.$ac_ext <<_ACEOF |
11113 | /* confdefs.h. */ |
10873 | /* confdefs.h. */ |
11114 | _ACEOF |
10874 | _ACEOF |
… | |
… | |
11148 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10908 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11149 | (eval $ac_try) 2>&5 |
10909 | (eval $ac_try) 2>&5 |
11150 | ac_status=$? |
10910 | ac_status=$? |
11151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11152 | (exit $ac_status); }; }; then |
10912 | (exit $ac_status); }; }; then |
11153 | rxvt_cv_struct_lastlog=yes |
10913 | struct_lastlog=yes |
11154 | else |
10914 | else |
11155 | echo "$as_me: failed program was:" >&5 |
10915 | echo "$as_me: failed program was:" >&5 |
11156 | sed 's/^/| /' conftest.$ac_ext >&5 |
10916 | sed 's/^/| /' conftest.$ac_ext >&5 |
11157 | |
10917 | |
11158 | rxvt_cv_struct_lastlog=no |
10918 | struct_lastlog=no |
11159 | fi |
10919 | fi |
11160 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10920 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11161 | fi |
10921 | fi |
11162 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 |
10922 | echo "$as_me:$LINENO: result: $struct_lastlog" >&5 |
11163 | echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 |
10923 | echo "${ECHO_T}$struct_lastlog" >&6 |
11164 | if test x$rxvt_cv_struct_lastlog = xyes; then |
10924 | if test x$struct_lastlog = xyes; then |
11165 | |
10925 | |
11166 | cat >>confdefs.h <<\_ACEOF |
10926 | cat >>confdefs.h <<\_ACEOF |
11167 | #define HAVE_STRUCT_LASTLOG 1 |
10927 | #define HAVE_STRUCT_LASTLOG 1 |
11168 | _ACEOF |
10928 | _ACEOF |
11169 | |
10929 | |
11170 | fi |
10930 | fi |
11171 | |
10931 | |
11172 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
10932 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
11173 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
10933 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
11174 | if test "${rxvt_cv_struct_lastlogx+set}" = set; then |
10934 | if test "${struct_lastlogx+set}" = set; then |
11175 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10935 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11176 | else |
10936 | else |
11177 | cat >conftest.$ac_ext <<_ACEOF |
10937 | cat >conftest.$ac_ext <<_ACEOF |
11178 | /* confdefs.h. */ |
10938 | /* confdefs.h. */ |
11179 | _ACEOF |
10939 | _ACEOF |
… | |
… | |
11213 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10973 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11214 | (eval $ac_try) 2>&5 |
10974 | (eval $ac_try) 2>&5 |
11215 | ac_status=$? |
10975 | ac_status=$? |
11216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10976 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11217 | (exit $ac_status); }; }; then |
10977 | (exit $ac_status); }; }; then |
11218 | rxvt_cv_struct_lastlogx=yes |
10978 | struct_lastlogx=yes |
11219 | else |
10979 | else |
11220 | echo "$as_me: failed program was:" >&5 |
10980 | echo "$as_me: failed program was:" >&5 |
11221 | sed 's/^/| /' conftest.$ac_ext >&5 |
10981 | sed 's/^/| /' conftest.$ac_ext >&5 |
11222 | |
10982 | |
11223 | rxvt_cv_struct_lastlogx=no |
10983 | struct_lastlogx=no |
11224 | fi |
10984 | fi |
11225 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10985 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11226 | fi |
10986 | fi |
11227 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 |
10987 | echo "$as_me:$LINENO: result: $struct_lastlogx" >&5 |
11228 | echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 |
10988 | echo "${ECHO_T}$struct_lastlogx" >&6 |
11229 | if test x$rxvt_cv_struct_lastlogx = xyes; then |
10989 | if test x$struct_lastlogx = xyes; then |
11230 | |
10990 | |
11231 | cat >>confdefs.h <<\_ACEOF |
10991 | cat >>confdefs.h <<\_ACEOF |
11232 | #define HAVE_STRUCT_LASTLOGX 1 |
10992 | #define HAVE_STRUCT_LASTLOGX 1 |
11233 | _ACEOF |
10993 | _ACEOF |
11234 | |
10994 | |
11235 | fi |
10995 | fi |
11236 | |
10996 | |
11237 | |
10997 | |
11238 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
10998 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
11239 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
10999 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
11240 | if test "${rxvt_cv_path_utmp+set}" = set; then |
11000 | if test "${path_utmp+set}" = set; then |
11241 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11001 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11242 | else |
11002 | else |
11243 | if test "$cross_compiling" = yes; then |
11003 | if test "$cross_compiling" = yes; then |
11244 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 |
11004 | { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5 |
11245 | echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} |
11005 | echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;} |
11246 | else |
11006 | else |
11247 | cat >conftest.$ac_ext <<_ACEOF |
11007 | cat >conftest.$ac_ext <<_ACEOF |
11248 | /* confdefs.h. */ |
11008 | /* confdefs.h. */ |
11249 | _ACEOF |
11009 | _ACEOF |
11250 | cat confdefs.h >>conftest.$ac_ext |
11010 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
11286 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11046 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11287 | (eval $ac_try) 2>&5 |
11047 | (eval $ac_try) 2>&5 |
11288 | ac_status=$? |
11048 | ac_status=$? |
11289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11290 | (exit $ac_status); }; }; then |
11050 | (exit $ac_status); }; }; then |
11291 | rxvt_cv_path_utmp=`cat conftestval` |
11051 | path_utmp=`cat conftestval` |
11292 | else |
11052 | else |
11293 | echo "$as_me: program exited with status $ac_status" >&5 |
11053 | echo "$as_me: program exited with status $ac_status" >&5 |
11294 | echo "$as_me: failed program was:" >&5 |
11054 | echo "$as_me: failed program was:" >&5 |
11295 | sed 's/^/| /' conftest.$ac_ext >&5 |
11055 | sed 's/^/| /' conftest.$ac_ext >&5 |
11296 | |
11056 | |
11297 | ( exit $ac_status ) |
11057 | ( exit $ac_status ) |
11298 | rxvt_cv_path_utmp= |
11058 | path_utmp= |
11299 | fi |
11059 | fi |
11300 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11060 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11301 | fi |
11061 | fi |
11302 | fi |
11062 | fi |
11303 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 |
11063 | echo "$as_me:$LINENO: result: $path_utmp" >&5 |
11304 | echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 |
11064 | echo "${ECHO_T}$path_utmp" >&6 |
11305 | if test x$rxvt_cv_path_utmp != x; then |
11065 | if test x$path_utmp != x; then |
11306 | |
11066 | |
11307 | cat >>confdefs.h <<_ACEOF |
11067 | cat >>confdefs.h <<_ACEOF |
11308 | #define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" |
11068 | #define UTMP_FILE "$path_utmp" |
11309 | _ACEOF |
11069 | _ACEOF |
11310 | |
11070 | |
11311 | fi |
11071 | fi |
11312 | |
11072 | |
11313 | |
11073 | |
11314 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
11074 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
11315 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
11075 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
11316 | if test "${rxvt_cv_path_utmpx+set}" = set; then |
11076 | if test "${path_utmpx+set}" = set; then |
11317 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11077 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11318 | else |
11078 | else |
11319 | if test "$cross_compiling" = yes; then |
11079 | if test "$cross_compiling" = yes; then |
11320 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 |
11080 | { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5 |
11321 | echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} |
11081 | echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;} |
11322 | else |
11082 | else |
11323 | cat >conftest.$ac_ext <<_ACEOF |
11083 | cat >conftest.$ac_ext <<_ACEOF |
11324 | /* confdefs.h. */ |
11084 | /* confdefs.h. */ |
11325 | _ACEOF |
11085 | _ACEOF |
11326 | cat confdefs.h >>conftest.$ac_ext |
11086 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
11372 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11132 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11373 | (eval $ac_try) 2>&5 |
11133 | (eval $ac_try) 2>&5 |
11374 | ac_status=$? |
11134 | ac_status=$? |
11375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11376 | (exit $ac_status); }; }; then |
11136 | (exit $ac_status); }; }; then |
11377 | rxvt_cv_path_utmpx=`cat conftestval` |
11137 | path_utmpx=`cat conftestval` |
11378 | else |
11138 | else |
11379 | echo "$as_me: program exited with status $ac_status" >&5 |
11139 | echo "$as_me: program exited with status $ac_status" >&5 |
11380 | echo "$as_me: failed program was:" >&5 |
11140 | echo "$as_me: failed program was:" >&5 |
11381 | sed 's/^/| /' conftest.$ac_ext >&5 |
11141 | sed 's/^/| /' conftest.$ac_ext >&5 |
11382 | |
11142 | |
11383 | ( exit $ac_status ) |
11143 | ( exit $ac_status ) |
11384 | rxvt_cv_path_utmpx= |
11144 | path_utmpx= |
11385 | fi |
11145 | fi |
11386 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11146 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11387 | fi |
11147 | fi |
11388 | fi |
11148 | fi |
11389 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 |
11149 | echo "$as_me:$LINENO: result: $path_utmpx" >&5 |
11390 | echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 |
11150 | echo "${ECHO_T}$path_utmpx" >&6 |
11391 | if test x$rxvt_cv_path_utmpx != x; then |
11151 | if test x$path_utmpx != x; then |
11392 | |
11152 | |
11393 | cat >>confdefs.h <<_ACEOF |
11153 | cat >>confdefs.h <<_ACEOF |
11394 | #define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" |
11154 | #define UTMPX_FILE "$path_utmpx" |
11395 | _ACEOF |
11155 | _ACEOF |
11396 | |
11156 | |
11397 | fi |
11157 | fi |
11398 | |
11158 | |
11399 | |
11159 | |
11400 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
11160 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
11401 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
11161 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
11402 | if test "${rxvt_cv_path_wtmp+set}" = set; then |
11162 | if test "${path_wtmp+set}" = set; then |
11403 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11163 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11404 | else |
11164 | else |
11405 | if test "$cross_compiling" = yes; then |
11165 | if test "$cross_compiling" = yes; then |
11406 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 |
11166 | { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5 |
11407 | echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} |
11167 | echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;} |
11408 | else |
11168 | else |
11409 | cat >conftest.$ac_ext <<_ACEOF |
11169 | cat >conftest.$ac_ext <<_ACEOF |
11410 | /* confdefs.h. */ |
11170 | /* confdefs.h. */ |
11411 | _ACEOF |
11171 | _ACEOF |
11412 | cat confdefs.h >>conftest.$ac_ext |
11172 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
11450 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11210 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11451 | (eval $ac_try) 2>&5 |
11211 | (eval $ac_try) 2>&5 |
11452 | ac_status=$? |
11212 | ac_status=$? |
11453 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11213 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11454 | (exit $ac_status); }; }; then |
11214 | (exit $ac_status); }; }; then |
11455 | rxvt_cv_path_wtmp=`cat conftestval` |
11215 | path_wtmp=`cat conftestval` |
11456 | else |
11216 | else |
11457 | echo "$as_me: program exited with status $ac_status" >&5 |
11217 | echo "$as_me: program exited with status $ac_status" >&5 |
11458 | echo "$as_me: failed program was:" >&5 |
11218 | echo "$as_me: failed program was:" >&5 |
11459 | sed 's/^/| /' conftest.$ac_ext >&5 |
11219 | sed 's/^/| /' conftest.$ac_ext >&5 |
11460 | |
11220 | |
11461 | ( exit $ac_status ) |
11221 | ( exit $ac_status ) |
11462 | rxvt_cv_path_wtmp= |
11222 | path_wtmp= |
11463 | fi |
11223 | fi |
11464 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11224 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11465 | fi |
11225 | fi |
11466 | fi |
11226 | fi |
11467 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 |
11227 | echo "$as_me:$LINENO: result: $path_wtmp" >&5 |
11468 | echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 |
11228 | echo "${ECHO_T}$path_wtmp" >&6 |
11469 | if test x$rxvt_cv_path_wtmp != x; then |
11229 | if test x$path_wtmp != x; then |
11470 | |
11230 | |
11471 | cat >>confdefs.h <<_ACEOF |
11231 | cat >>confdefs.h <<_ACEOF |
11472 | #define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" |
11232 | #define WTMP_FILE "$path_wtmp" |
11473 | _ACEOF |
11233 | _ACEOF |
11474 | |
11234 | |
11475 | fi |
11235 | fi |
11476 | |
11236 | |
11477 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
11237 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
11478 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
11238 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
11479 | if test "${rxvt_cv_path_wtmpx+set}" = set; then |
11239 | if test "${path_wtmpx+set}" = set; then |
11480 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11240 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11481 | else |
11241 | else |
11482 | if test "$cross_compiling" = yes; then |
11242 | if test "$cross_compiling" = yes; then |
11483 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 |
11243 | { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5 |
11484 | echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} |
11244 | echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} |
11485 | else |
11245 | else |
11486 | cat >conftest.$ac_ext <<_ACEOF |
11246 | cat >conftest.$ac_ext <<_ACEOF |
11487 | /* confdefs.h. */ |
11247 | /* confdefs.h. */ |
11488 | _ACEOF |
11248 | _ACEOF |
11489 | cat confdefs.h >>conftest.$ac_ext |
11249 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
11526 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11286 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11527 | (eval $ac_try) 2>&5 |
11287 | (eval $ac_try) 2>&5 |
11528 | ac_status=$? |
11288 | ac_status=$? |
11529 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11530 | (exit $ac_status); }; }; then |
11290 | (exit $ac_status); }; }; then |
11531 | rxvt_cv_path_wtmpx=`cat conftestval` |
11291 | path_wtmpx=`cat conftestval` |
11532 | else |
11292 | else |
11533 | echo "$as_me: program exited with status $ac_status" >&5 |
11293 | echo "$as_me: program exited with status $ac_status" >&5 |
11534 | echo "$as_me: failed program was:" >&5 |
11294 | echo "$as_me: failed program was:" >&5 |
11535 | sed 's/^/| /' conftest.$ac_ext >&5 |
11295 | sed 's/^/| /' conftest.$ac_ext >&5 |
11536 | |
11296 | |
11537 | ( exit $ac_status ) |
11297 | ( exit $ac_status ) |
11538 | rxvt_cv_path_wtmpx= |
11298 | path_wtmpx= |
11539 | fi |
11299 | fi |
11540 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11300 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11541 | fi |
11301 | fi |
11542 | fi |
11302 | fi |
11543 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 |
11303 | echo "$as_me:$LINENO: result: $path_wtmpx" >&5 |
11544 | echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 |
11304 | echo "${ECHO_T}$path_wtmpx" >&6 |
11545 | if test x$rxvt_cv_path_wtmpx != x; then |
11305 | if test x$path_wtmpx != x; then |
11546 | |
11306 | |
11547 | cat >>confdefs.h <<_ACEOF |
11307 | cat >>confdefs.h <<_ACEOF |
11548 | #define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" |
11308 | #define WTMPX_FILE "$path_wtmpx" |
11549 | _ACEOF |
11309 | _ACEOF |
11550 | |
11310 | |
11551 | fi |
11311 | fi |
11552 | |
11312 | |
11553 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
11313 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
11554 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
11314 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
11555 | if test "${rxvt_cv_path_lastlog+set}" = set; then |
11315 | if test "${path_lastlog+set}" = set; then |
11556 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11316 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11557 | else |
11317 | else |
11558 | if test "$cross_compiling" = yes; then |
11318 | if test "$cross_compiling" = yes; then |
11559 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 |
11319 | { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5 |
11560 | echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} |
11320 | echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} |
11561 | else |
11321 | else |
11562 | cat >conftest.$ac_ext <<_ACEOF |
11322 | cat >conftest.$ac_ext <<_ACEOF |
11563 | /* confdefs.h. */ |
11323 | /* confdefs.h. */ |
11564 | _ACEOF |
11324 | _ACEOF |
11565 | cat confdefs.h >>conftest.$ac_ext |
11325 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
11607 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11367 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11608 | (eval $ac_try) 2>&5 |
11368 | (eval $ac_try) 2>&5 |
11609 | ac_status=$? |
11369 | ac_status=$? |
11610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11611 | (exit $ac_status); }; }; then |
11371 | (exit $ac_status); }; }; then |
11612 | rxvt_cv_path_lastlog=`cat conftestval` |
11372 | path_lastlog=`cat conftestval` |
11613 | else |
11373 | else |
11614 | echo "$as_me: program exited with status $ac_status" >&5 |
11374 | echo "$as_me: program exited with status $ac_status" >&5 |
11615 | echo "$as_me: failed program was:" >&5 |
11375 | echo "$as_me: failed program was:" >&5 |
11616 | sed 's/^/| /' conftest.$ac_ext >&5 |
11376 | sed 's/^/| /' conftest.$ac_ext >&5 |
11617 | |
11377 | |
11618 | ( exit $ac_status ) |
11378 | ( exit $ac_status ) |
11619 | rxvt_cv_path_lastlog= |
11379 | path_lastlog= |
11620 | fi |
11380 | fi |
11621 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11381 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11622 | fi |
11382 | fi |
11623 | fi |
11383 | fi |
11624 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 |
11384 | echo "$as_me:$LINENO: result: $path_lastlog" >&5 |
11625 | echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 |
11385 | echo "${ECHO_T}$path_lastlog" >&6 |
11626 | if test x$rxvt_cv_path_lastlog != x; then |
11386 | if test x$path_lastlog != x; then |
11627 | |
11387 | |
11628 | cat >>confdefs.h <<_ACEOF |
11388 | cat >>confdefs.h <<_ACEOF |
11629 | #define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" |
11389 | #define LASTLOG_FILE "$path_lastlog" |
11630 | _ACEOF |
11390 | _ACEOF |
11631 | |
11391 | |
11632 | if test -d "$rxvt_cv_path_lastlog"; then |
11392 | if test -d "$path_lastlog"; then |
11633 | |
11393 | |
11634 | cat >>confdefs.h <<\_ACEOF |
11394 | cat >>confdefs.h <<\_ACEOF |
11635 | #define LASTLOG_IS_DIR 1 |
11395 | #define LASTLOG_IS_DIR 1 |
11636 | _ACEOF |
11396 | _ACEOF |
11637 | |
11397 | |
11638 | fi |
11398 | fi |
11639 | fi |
11399 | fi |
11640 | |
11400 | |
11641 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11401 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11642 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
11402 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
11643 | if test "${rxvt_cv_path_lastlogx+set}" = set; then |
11403 | if test "${path_lastlogx+set}" = set; then |
11644 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11404 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11645 | else |
11405 | else |
11646 | if test "$cross_compiling" = yes; then |
11406 | if test "$cross_compiling" = yes; then |
11647 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 |
11407 | { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 |
11648 | echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} |
11408 | echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} |
11649 | else |
11409 | else |
11650 | cat >conftest.$ac_ext <<_ACEOF |
11410 | cat >conftest.$ac_ext <<_ACEOF |
11651 | /* confdefs.h. */ |
11411 | /* confdefs.h. */ |
11652 | _ACEOF |
11412 | _ACEOF |
11653 | cat confdefs.h >>conftest.$ac_ext |
11413 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
11689 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11449 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11690 | (eval $ac_try) 2>&5 |
11450 | (eval $ac_try) 2>&5 |
11691 | ac_status=$? |
11451 | ac_status=$? |
11692 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11693 | (exit $ac_status); }; }; then |
11453 | (exit $ac_status); }; }; then |
11694 | rxvt_cv_path_lastlogx=`cat conftestval` |
11454 | path_lastlogx=`cat conftestval` |
11695 | else |
11455 | else |
11696 | echo "$as_me: program exited with status $ac_status" >&5 |
11456 | echo "$as_me: program exited with status $ac_status" >&5 |
11697 | echo "$as_me: failed program was:" >&5 |
11457 | echo "$as_me: failed program was:" >&5 |
11698 | sed 's/^/| /' conftest.$ac_ext >&5 |
11458 | sed 's/^/| /' conftest.$ac_ext >&5 |
11699 | |
11459 | |
11700 | ( exit $ac_status ) |
11460 | ( exit $ac_status ) |
11701 | rxvt_cv_path_lastlogx= |
11461 | path_lastlogx= |
11702 | fi |
11462 | fi |
11703 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11463 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11704 | fi |
11464 | fi |
11705 | fi |
11465 | fi |
11706 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 |
11466 | echo "$as_me:$LINENO: result: $path_lastlogx" >&5 |
11707 | echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 |
11467 | echo "${ECHO_T}$path_lastlogx" >&6 |
11708 | if test x$rxvt_cv_path_lastlogx != x; then |
11468 | if test x$path_lastlogx != x; then |
11709 | |
11469 | |
11710 | cat >>confdefs.h <<_ACEOF |
11470 | cat >>confdefs.h <<_ACEOF |
11711 | #define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" |
11471 | #define LASTLOGX_FILE "$path_lastlogx" |
11712 | _ACEOF |
11472 | _ACEOF |
11713 | |
11473 | |
11714 | fi |
11474 | fi |
11715 | |
11475 | |
11716 | |
11476 | |
… | |
… | |
11987 | #define HAVE_NL_LANGINFO 1 |
11747 | #define HAVE_NL_LANGINFO 1 |
11988 | _ACEOF |
11748 | _ACEOF |
11989 | |
11749 | |
11990 | fi |
11750 | fi |
11991 | |
11751 | |
|
|
11752 | |
11992 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
11753 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
11993 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
11754 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
11994 | if test "${rxvt_can_pass_fds+set}" = set; then |
11755 | if test "${can_pass_fds+set}" = set; then |
11995 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11756 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11996 | else |
11757 | else |
11997 | cat >conftest.$ac_ext <<_ACEOF |
11758 | cat >conftest.$ac_ext <<_ACEOF |
11998 | /* confdefs.h. */ |
11759 | /* confdefs.h. */ |
11999 | _ACEOF |
11760 | _ACEOF |
12000 | cat confdefs.h >>conftest.$ac_ext |
11761 | cat confdefs.h >>conftest.$ac_ext |
12001 | cat >>conftest.$ac_ext <<_ACEOF |
11762 | cat >>conftest.$ac_ext <<_ACEOF |
12002 | /* end confdefs.h. */ |
11763 | /* end confdefs.h. */ |
12003 | |
11764 | |
|
|
11765 | #include <cstddef> // broken bsds (is that redundant?) need this |
12004 | #include <sys/types.h> |
11766 | #include <sys/types.h> |
12005 | #include <sys/socket.h> |
11767 | #include <sys/socket.h> |
|
|
11768 | #include <sys/uio.h> |
12006 | |
11769 | |
12007 | int |
11770 | int |
12008 | main () |
11771 | main () |
12009 | { |
11772 | { |
12010 | |
11773 | |
… | |
… | |
12055 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11818 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12056 | (eval $ac_try) 2>&5 |
11819 | (eval $ac_try) 2>&5 |
12057 | ac_status=$? |
11820 | ac_status=$? |
12058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12059 | (exit $ac_status); }; }; then |
11822 | (exit $ac_status); }; }; then |
12060 | rxvt_can_pass_fds=yes |
11823 | can_pass_fds=yes |
12061 | else |
11824 | else |
12062 | echo "$as_me: failed program was:" >&5 |
11825 | echo "$as_me: failed program was:" >&5 |
12063 | sed 's/^/| /' conftest.$ac_ext >&5 |
11826 | sed 's/^/| /' conftest.$ac_ext >&5 |
12064 | |
11827 | |
12065 | rxvt_can_pass_fds=no |
11828 | can_pass_fds=no |
12066 | fi |
11829 | fi |
12067 | rm -f conftest.err conftest.$ac_objext \ |
11830 | rm -f conftest.err conftest.$ac_objext \ |
12068 | conftest$ac_exeext conftest.$ac_ext |
11831 | conftest$ac_exeext conftest.$ac_ext |
12069 | fi |
11832 | fi |
12070 | echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 |
11833 | echo "$as_me:$LINENO: result: $can_pass_fds" >&5 |
12071 | echo "${ECHO_T}$rxvt_can_pass_fds" >&6 |
11834 | echo "${ECHO_T}$can_pass_fds" >&6 |
12072 | if test x$rxvt_can_pass_fds = xyes; then |
11835 | if test x$can_pass_fds = xyes; then |
12073 | |
11836 | |
12074 | cat >>confdefs.h <<\_ACEOF |
11837 | cat >>confdefs.h <<\_ACEOF |
12075 | #define HAVE_UNIX_FDPASS 1 |
11838 | #define HAVE_UNIX_FDPASS 1 |
12076 | _ACEOF |
11839 | _ACEOF |
12077 | |
11840 | |
12078 | else |
11841 | else |
12079 | { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5 |
11842 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
12080 | echo "$as_me: error: urxvt requires unix-compliant filehandle passing ability" >&2;} |
11843 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
12081 | { (exit 1); exit 1; }; } |
11844 | { (exit 1); exit 1; }; } |
12082 | fi |
11845 | fi |
|
|
11846 | |
12083 | |
11847 | |
12084 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11848 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
12085 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11849 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
12086 | if test "${rxvt_broken_ximcb+set}" = set; then |
11850 | if test "${rxvt_broken_ximcb+set}" = set; then |
12087 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11851 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
12303 | |
12067 | |
12304 | |
12068 | |
12305 | |
12069 | |
12306 | |
12070 | |
12307 | |
12071 | |
|
|
12072 | |
|
|
12073 | |
|
|
12074 | |
|
|
12075 | |
12308 | for ac_func in \ |
12076 | for ac_func in \ |
12309 | revoke \ |
12077 | revoke \ |
12310 | _getpty \ |
12078 | _getpty \ |
12311 | getpt \ |
12079 | getpt \ |
12312 | posix_openpt \ |
12080 | posix_openpt \ |
12313 | isastream \ |
12081 | isastream \ |
|
|
12082 | setuid \ |
|
|
12083 | seteuid \ |
|
|
12084 | setreuid \ |
|
|
12085 | setresuid \ |
12314 | |
12086 | |
12315 | do |
12087 | do |
12316 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12088 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12317 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12089 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12318 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
12090 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
… | |
… | |
12721 | done |
12493 | done |
12722 | |
12494 | |
12723 | fi |
12495 | fi |
12724 | |
12496 | |
12725 | |
12497 | |
|
|
12498 | |
|
|
12499 | echo "$as_me:$LINENO: checking for tty group" >&5 |
|
|
12500 | echo $ECHO_N "checking for tty group... $ECHO_C" >&6 |
|
|
12501 | if test "${tty_group+set}" = set; then |
|
|
12502 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12503 | else |
|
|
12504 | if test "$cross_compiling" = yes; then |
|
|
12505 | tty_group=no |
|
|
12506 | else |
|
|
12507 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12508 | /* confdefs.h. */ |
|
|
12509 | _ACEOF |
|
|
12510 | cat confdefs.h >>conftest.$ac_ext |
|
|
12511 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12512 | /* end confdefs.h. */ |
|
|
12513 | |
|
|
12514 | #include <sys/types.h> |
|
|
12515 | #include <sys/stat.h> |
|
|
12516 | #include <unistd.h> |
|
|
12517 | #include <grp.h> |
|
|
12518 | |
|
|
12519 | main() |
|
|
12520 | { |
|
|
12521 | struct stat st; |
|
|
12522 | struct group *gr; |
|
|
12523 | char *tty; |
|
|
12524 | gr = getgrnam("tty"); |
|
|
12525 | tty = ttyname(0); |
|
|
12526 | if (gr != 0 |
|
|
12527 | && tty != 0 |
|
|
12528 | && (stat(tty, &st)) == 0 |
|
|
12529 | && st.st_gid == gr->gr_gid) |
|
|
12530 | return 0; |
|
|
12531 | else |
|
|
12532 | return 1; |
|
|
12533 | } |
|
|
12534 | _ACEOF |
|
|
12535 | rm -f conftest$ac_exeext |
|
|
12536 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12537 | (eval $ac_link) 2>&5 |
|
|
12538 | ac_status=$? |
|
|
12539 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12540 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
12541 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12542 | (eval $ac_try) 2>&5 |
|
|
12543 | ac_status=$? |
|
|
12544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12545 | (exit $ac_status); }; }; then |
|
|
12546 | tty_group=yes |
|
|
12547 | else |
|
|
12548 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
12549 | echo "$as_me: failed program was:" >&5 |
|
|
12550 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12551 | |
|
|
12552 | ( exit $ac_status ) |
|
|
12553 | tty_group=no |
|
|
12554 | fi |
|
|
12555 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
12556 | fi |
|
|
12557 | fi |
|
|
12558 | echo "$as_me:$LINENO: result: $tty_group" >&5 |
|
|
12559 | echo "${ECHO_T}$tty_group" >&6 |
|
|
12560 | if test x$tty_group = xyes; then |
|
|
12561 | |
|
|
12562 | cat >>confdefs.h <<\_ACEOF |
|
|
12563 | #define TTY_GID_SUPPORT 1 |
|
|
12564 | _ACEOF |
|
|
12565 | |
|
|
12566 | fi |
|
|
12567 | |
12726 | if test x$support_xft = xyes; then |
12568 | if test x$support_xft = xyes; then |
12727 | LIBS="$LIBS `pkg-config xft --libs`" |
12569 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
12570 | set dummy pkg-config; ac_word=$2 |
|
|
12571 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12572 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12573 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
|
|
12574 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12575 | else |
|
|
12576 | case $PKG_CONFIG in |
|
|
12577 | [\\/]* | ?:[\\/]*) |
|
|
12578 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
12579 | ;; |
|
|
12580 | *) |
|
|
12581 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12582 | for as_dir in $PATH |
|
|
12583 | do |
|
|
12584 | IFS=$as_save_IFS |
|
|
12585 | test -z "$as_dir" && as_dir=. |
|
|
12586 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12587 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12588 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12589 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12590 | break 2 |
|
|
12591 | fi |
|
|
12592 | done |
|
|
12593 | done |
|
|
12594 | |
|
|
12595 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
12596 | ;; |
|
|
12597 | esac |
|
|
12598 | fi |
|
|
12599 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
12600 | |
|
|
12601 | if test -n "$PKG_CONFIG"; then |
|
|
12602 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
|
|
12603 | echo "${ECHO_T}$PKG_CONFIG" >&6 |
|
|
12604 | else |
|
|
12605 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12606 | echo "${ECHO_T}no" >&6 |
|
|
12607 | fi |
|
|
12608 | |
|
|
12609 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
|
|
12610 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
12728 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12611 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
|
|
12612 | else |
|
|
12613 | # Extract the first word of "xft-config", so it can be a program name with args. |
|
|
12614 | set dummy xft-config; ac_word=$2 |
|
|
12615 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12616 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12617 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then |
|
|
12618 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12619 | else |
|
|
12620 | case $XFT_CONFIG in |
|
|
12621 | [\\/]* | ?:[\\/]*) |
|
|
12622 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
|
|
12623 | ;; |
|
|
12624 | *) |
|
|
12625 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12626 | for as_dir in $PATH |
|
|
12627 | do |
|
|
12628 | IFS=$as_save_IFS |
|
|
12629 | test -z "$as_dir" && as_dir=. |
|
|
12630 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12631 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12632 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12633 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12634 | break 2 |
|
|
12635 | fi |
|
|
12636 | done |
|
|
12637 | done |
|
|
12638 | |
|
|
12639 | test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no" |
|
|
12640 | ;; |
|
|
12641 | esac |
|
|
12642 | fi |
|
|
12643 | XFT_CONFIG=$ac_cv_path_XFT_CONFIG |
|
|
12644 | |
|
|
12645 | if test -n "$XFT_CONFIG"; then |
|
|
12646 | echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5 |
|
|
12647 | echo "${ECHO_T}$XFT_CONFIG" >&6 |
|
|
12648 | else |
|
|
12649 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12650 | echo "${ECHO_T}no" >&6 |
|
|
12651 | fi |
|
|
12652 | |
|
|
12653 | if test $XFT_CONFIG != no; then |
|
|
12654 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
|
|
12655 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
|
|
12656 | fi |
|
|
12657 | fi |
12729 | |
12658 | |
12730 | |
12659 | |
12731 | for ac_header in X11/Xft/Xft.h |
12660 | for ac_header in X11/Xft/Xft.h |
12732 | do |
12661 | do |
12733 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12662 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
… | |
… | |
13023 | cat >>confdefs.h <<\_ACEOF |
12952 | cat >>confdefs.h <<\_ACEOF |
13024 | #define ENABLE_FRILLS 1 |
12953 | #define ENABLE_FRILLS 1 |
13025 | _ACEOF |
12954 | _ACEOF |
13026 | |
12955 | |
13027 | fi |
12956 | fi |
13028 | if test x$support_24bit = xyes; then |
|
|
13029 | |
|
|
13030 | cat >>confdefs.h <<\_ACEOF |
|
|
13031 | #define PREFER_24BIT 1 |
|
|
13032 | _ACEOF |
|
|
13033 | |
|
|
13034 | fi |
|
|
13035 | if test x$support_mousewheel = xyes; then |
12957 | if test x$support_mousewheel = xyes; then |
13036 | |
12958 | |
13037 | cat >>confdefs.h <<\_ACEOF |
12959 | cat >>confdefs.h <<\_ACEOF |
13038 | #define MOUSE_WHEEL 1 |
12960 | #define MOUSE_WHEEL 1 |
13039 | _ACEOF |
12961 | _ACEOF |
… | |
… | |
13041 | fi |
12963 | fi |
13042 | if test x$support_mouseslipwheel = xyes; then |
12964 | if test x$support_mouseslipwheel = xyes; then |
13043 | |
12965 | |
13044 | cat >>confdefs.h <<\_ACEOF |
12966 | cat >>confdefs.h <<\_ACEOF |
13045 | #define MOUSE_SLIP_WHEELING 1 |
12967 | #define MOUSE_SLIP_WHEELING 1 |
13046 | _ACEOF |
|
|
13047 | |
|
|
13048 | fi |
|
|
13049 | if test x$support_utmp = xyes; then |
|
|
13050 | |
|
|
13051 | cat >>confdefs.h <<\_ACEOF |
|
|
13052 | #define UTMP_SUPPORT 1 |
|
|
13053 | _ACEOF |
|
|
13054 | |
|
|
13055 | fi |
|
|
13056 | if test x$support_wtmp = xyes; then |
|
|
13057 | |
|
|
13058 | cat >>confdefs.h <<\_ACEOF |
|
|
13059 | #define WTMP_SUPPORT 1 |
|
|
13060 | _ACEOF |
|
|
13061 | |
|
|
13062 | fi |
|
|
13063 | if test x$support_lastlog = xyes; then |
|
|
13064 | |
|
|
13065 | cat >>confdefs.h <<\_ACEOF |
|
|
13066 | #define LASTLOG_SUPPORT 1 |
|
|
13067 | _ACEOF |
12968 | _ACEOF |
13068 | |
12969 | |
13069 | fi |
12970 | fi |
13070 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
12971 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
13071 | if test x$rxvt_cv_func_xlocale = xyes; then |
12972 | if test x$rxvt_cv_func_xlocale = xyes; then |
… | |
… | |
13358 | |
13259 | |
13359 | |
13260 | |
13360 | |
13261 | |
13361 | |
13262 | |
13362 | |
13263 | |
|
|
13264 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13265 | /* confdefs.h. */ |
|
|
13266 | _ACEOF |
|
|
13267 | cat confdefs.h >>conftest.$ac_ext |
|
|
13268 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13269 | /* end confdefs.h. */ |
|
|
13270 | |
|
|
13271 | #include <EXTERN.h> |
|
|
13272 | #include <perl.h> |
|
|
13273 | #include <XSUB.h> |
|
|
13274 | |
|
|
13275 | int |
|
|
13276 | main () |
|
|
13277 | { |
|
|
13278 | |
|
|
13279 | PerlInterpreter *perl = perl_alloc (); |
|
|
13280 | |
|
|
13281 | ; |
|
|
13282 | return 0; |
|
|
13283 | } |
|
|
13284 | _ACEOF |
|
|
13285 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
13286 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13287 | (eval $ac_link) 2>conftest.er1 |
|
|
13288 | ac_status=$? |
|
|
13289 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13290 | rm -f conftest.er1 |
|
|
13291 | cat conftest.err >&5 |
|
|
13292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13293 | (exit $ac_status); } && |
|
|
13294 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13295 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13296 | (eval $ac_try) 2>&5 |
|
|
13297 | ac_status=$? |
|
|
13298 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13299 | (exit $ac_status); }; } && |
|
|
13300 | { ac_try='test -s conftest$ac_exeext' |
|
|
13301 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13302 | (eval $ac_try) 2>&5 |
|
|
13303 | ac_status=$? |
|
|
13304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13305 | (exit $ac_status); }; }; then |
|
|
13306 | rxvt_perl_link=yes |
|
|
13307 | else |
|
|
13308 | echo "$as_me: failed program was:" >&5 |
|
|
13309 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13310 | |
|
|
13311 | rxvt_perl_link=no |
|
|
13312 | fi |
|
|
13313 | rm -f conftest.err conftest.$ac_objext \ |
|
|
13314 | conftest$ac_exeext conftest.$ac_ext |
13363 | if test x$support_perl = xyes; then |
13315 | if test x$support_perl = xyes; then |
13364 | support_frills=yes |
13316 | support_frills=yes |
13365 | fi |
13317 | fi |
13366 | |
13318 | |
13367 | |
|
|
13368 | CFLAGS=${CFLAGS--O} |
|
|
13369 | LDFLAGS=${LDFLAGS--O} |
|
|
13370 | |
|
|
13371 | CPPFLAGS="$CPPFLAGS" |
|
|
13372 | |
13319 | |
13373 | |
13320 | |
13374 | |
13321 | |
13375 | |
13322 | |
13376 | |
13323 | |
… | |
… | |
14116 | s,@EGREP@,$EGREP,;t t |
14063 | s,@EGREP@,$EGREP,;t t |
14117 | s,@LINKER@,$LINKER,;t t |
14064 | s,@LINKER@,$LINKER,;t t |
14118 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
14065 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
14119 | s,@RXVTNAME@,$RXVTNAME,;t t |
14066 | s,@RXVTNAME@,$RXVTNAME,;t t |
14120 | s,@MV@,$MV,;t t |
14067 | s,@MV@,$MV,;t t |
14121 | s,@RM@,$RM,;t t |
|
|
14122 | s,@CP@,$CP,;t t |
14068 | s,@CP@,$CP,;t t |
14123 | s,@LN@,$LN,;t t |
14069 | s,@LN@,$LN,;t t |
14124 | s,@SED@,$SED,;t t |
14070 | s,@SED@,$SED,;t t |
14125 | s,@ECHO@,$ECHO,;t t |
14071 | s,@ECHO@,$ECHO,;t t |
14126 | s,@CMP@,$CMP,;t t |
14072 | s,@CMP@,$CMP,;t t |
… | |
… | |
14137 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
14083 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
14138 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
14084 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
14139 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
14085 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
14140 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
14086 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
14141 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
14087 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
|
|
14088 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
|
|
14089 | s,@XFT_CONFIG@,$XFT_CONFIG,;t t |
14142 | s,@PERL@,$PERL,;t t |
14090 | s,@PERL@,$PERL,;t t |
14143 | s,@PERLLIB@,$PERLLIB,;t t |
14091 | s,@PERLLIB@,$PERLLIB,;t t |
14144 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
14092 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
14145 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
14093 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
14146 | s,@IF_PERL@,$IF_PERL,;t t |
14094 | s,@IF_PERL@,$IF_PERL,;t t |
… | |
… | |
14660 | |
14608 | |
14661 | Rxvt version: $VERSION : $DATE |
14609 | Rxvt version: $VERSION : $DATE |
14662 | Source code location: $srcdir |
14610 | Source code location: $srcdir |
14663 | Install path: ${prefix}/bin |
14611 | Install path: ${prefix}/bin |
14664 | Compiler: $CXX |
14612 | Compiler: $CXX |
14665 | Compiler flags: $CFLAGS |
14613 | Compiler flags: $CXXFLAGS |
14666 | Linker: $LINKER" |
14614 | Linker: $LINKER" |
14667 | |
|
|
14668 | if test "$MALLOC_TYPE" = S; then |
|
|
14669 | echo " malloc support: system default" |
|
|
14670 | fi |
|
|
14671 | if test "$MALLOC_TYPE" = G; then |
|
|
14672 | echo " malloc support: Gray Watson's dmalloc" |
|
|
14673 | fi |
|
|
14674 | if test "$MALLOC_TYPE" = D; then |
|
|
14675 | echo " malloc support: Doug Lea's malloc" |
|
|
14676 | fi |
|
|
14677 | |
14615 | |
14678 | if test x$support_xpm = xyes; then |
14616 | if test x$support_xpm = xyes; then |
14679 | echo " Xpm library: $XPM_LIBS" |
14617 | echo " Xpm library: $XPM_LIBS" |
14680 | fi |
14618 | fi |
14681 | |
14619 | |
14682 | echo " |
|
|
14683 | The following are set in config.h |
|
|
14684 | " |
|
|
14685 | if test x$support_utmp != xyes; then |
|
|
14686 | echo " utmp support: disabled" |
|
|
14687 | echo |
|
|
14688 | else |
|
|
14689 | echo " utmp support: enabled |
|
|
14690 | utmp file: $rxvt_cv_path_utmp |
|
|
14691 | utmpx file: $rxvt_cv_path_utmpx |
|
|
14692 | wtmp file: $rxvt_cv_path_wtmp |
|
|
14693 | wtmpx file: $rxvt_cv_path_wtmpx |
|
|
14694 | lastlog file: $rxvt_cv_path_lastlog |
|
|
14695 | ttys/ttytab file: $rxvt_cv_path_ttytab |
|
|
14696 | embedded perl: $support_perl" |
|
|
14697 | echo |
|
|
14698 | fi |
|
|
14699 | if test x$term != x; then |
14620 | if test x$term != x; then |
14700 | echo " set TERM to: $term" |
14621 | echo " set TERM to: $term" |
14701 | fi |
14622 | fi |
14702 | if test x$terminfo != x; then |
14623 | if test x$terminfo != x; then |
14703 | echo " set TERMINFO to: $terminfo" |
14624 | echo " set TERMINFO to: $terminfo" |
… | |
… | |
14705 | echo " default resource name: $RESNAME" |
14626 | echo " default resource name: $RESNAME" |
14706 | echo " resource class: $RESCLASS" |
14627 | echo " resource class: $RESCLASS" |
14707 | if test x$RESFALLBACK != x; then |
14628 | if test x$RESFALLBACK != x; then |
14708 | echo " resource class fallback: $RESFALLBACK" |
14629 | echo " resource class fallback: $RESFALLBACK" |
14709 | fi |
14630 | fi |
|
|
14631 | echo |
|
|
14632 | echo " embedded perl: $support_perl" |
14710 | echo |
14633 | echo |
14711 | if test x$support_xpm = xneedsmanualspecification; then |
14634 | if test x$support_xpm = xneedsmanualspecification; then |
14712 | echo ".----------------------------------------------------------------." |
14635 | echo ".----------------------------------------------------------------." |
14713 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14636 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14714 | echo ". XPM includes files and libraries could not be found. ." |
14637 | echo ". XPM includes files and libraries could not be found. ." |
… | |
… | |
14724 | echo ". functions could not be found. ." |
14647 | echo ". functions could not be found. ." |
14725 | echo ". XIM is now being DISABLED! ." |
14648 | echo ". XIM is now being DISABLED! ." |
14726 | echo ".----------------------------------------------------------------." |
14649 | echo ".----------------------------------------------------------------." |
14727 | fi |
14650 | fi |
14728 | |
14651 | |
14729 | echo " *** Optionally check src/feature.h for further options ***" |
14652 | echo "*** Optionally check src/feature.h for further, rarely used options ***" |
14730 | echo |
14653 | echo |
14731 | |
14654 | |
14732 | echo ".----------------------------------------------------------------." |
|
|
14733 | echo ". NOTE: some features are disabled by default, try ." |
|
|
14734 | echo ". configure --help to get an idea of the optional features, ." |
|
|
14735 | echo ". or read ./README.configure ." |
|
|
14736 | echo ". ." |
|
|
14737 | echo ". The script ./reconf gives a reasonable baseline, try it if ." |
|
|
14738 | echo ". you do not want to read documentation and still want some ." |
|
|
14739 | echo ". useful features. ." |
|
|
14740 | echo ".----------------------------------------------------------------." |
|
|
14741 | echo |
|
|
14742 | |
|
|