… | |
… | |
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 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 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 |
… | |
… | |
883 | --enable-next-scroll enable NeXT style scrollbar |
883 | --enable-next-scroll enable NeXT style scrollbar |
884 | --enable-xterm-scroll enable Xterm style scrollbar |
884 | --enable-xterm-scroll enable Xterm style scrollbar |
885 | --enable-perl enable embedded perl interpreter |
885 | --enable-perl enable embedded perl interpreter |
886 | --enable-plain-scroll enable plain style scrollbar |
886 | --enable-plain-scroll enable plain style scrollbar |
887 | --enable-xim XIM (X Input Method) protocol support |
887 | --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 |
888 | --disable-backspace-key disable handling of the backspace key |
890 | --disable-delete-key disable handling of the delete key |
889 | --disable-delete-key disable handling of the delete key |
891 | --disable-resources disable all resource checking |
890 | --disable-resources disable all resource checking |
892 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
891 | --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) |
892 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
… | |
… | |
3221 | if test "$ac_cv_search_strerror" != no; then |
3220 | if test "$ac_cv_search_strerror" != no; then |
3222 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3221 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3223 | |
3222 | |
3224 | fi |
3223 | fi |
3225 | |
3224 | |
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 |
3225 | ac_ext=cc |
3305 | ac_cpp='$CXXCPP $CPPFLAGS' |
3226 | ac_cpp='$CXXCPP $CPPFLAGS' |
3306 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3227 | 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' |
3228 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3308 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3229 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3309 | |
3230 | |
|
|
3231 | |
|
|
3232 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3233 | echo "$as_me:$LINENO: checking for working libsupc++" >&5 |
|
|
3234 | echo $ECHO_N "checking for working libsupc++... $ECHO_C" >&6 |
|
|
3235 | save_CXX="$CXX" |
|
|
3236 | save_LIBS="$LIBS" |
|
|
3237 | CXX="$CC" |
|
|
3238 | LIBS="$LIBS -lsupc++" |
|
|
3239 | LINKER="$CC" |
|
|
3240 | |
|
|
3241 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3242 | /* confdefs.h. */ |
|
|
3243 | _ACEOF |
|
|
3244 | cat confdefs.h >>conftest.$ac_ext |
|
|
3245 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3246 | /* end confdefs.h. */ |
|
|
3247 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
|
|
3248 | int |
|
|
3249 | main () |
|
|
3250 | { |
|
|
3251 | |
|
|
3252 | ; |
|
|
3253 | return 0; |
|
|
3254 | } |
|
|
3255 | _ACEOF |
|
|
3256 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3257 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3258 | (eval $ac_link) 2>conftest.er1 |
|
|
3259 | ac_status=$? |
|
|
3260 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3261 | rm -f conftest.er1 |
|
|
3262 | cat conftest.err >&5 |
|
|
3263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3264 | (exit $ac_status); } && |
|
|
3265 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3266 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3267 | (eval $ac_try) 2>&5 |
|
|
3268 | ac_status=$? |
|
|
3269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3270 | (exit $ac_status); }; } && |
|
|
3271 | { ac_try='test -s conftest$ac_exeext' |
|
|
3272 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3273 | (eval $ac_try) 2>&5 |
|
|
3274 | ac_status=$? |
|
|
3275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3276 | (exit $ac_status); }; }; then |
|
|
3277 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
3278 | echo "${ECHO_T}ok" >&6 |
|
|
3279 | else |
|
|
3280 | echo "$as_me: failed program was:" >&5 |
|
|
3281 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3282 | |
|
|
3283 | |
|
|
3284 | echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5 |
|
|
3285 | echo "${ECHO_T}no, making everything bigger and slower" >&6 |
|
|
3286 | LIBS="$save_LIBS" |
|
|
3287 | LINKER="$save_CXX" |
|
|
3288 | |
|
|
3289 | |
|
|
3290 | fi |
|
|
3291 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3292 | conftest$ac_exeext conftest.$ac_ext |
|
|
3293 | CXX="$save_CXX" |
|
|
3294 | fi |
|
|
3295 | LINKER=$LINKER |
|
|
3296 | |
|
|
3297 | |
|
|
3298 | ac_ext=cc |
|
|
3299 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3300 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3301 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3302 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3303 | |
3310 | if test -z "$orig_CXXFLAGS"; then |
3304 | if test -z "$orig_CXXFLAGS"; then |
3311 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3305 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3312 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3306 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3313 | |
|
|
3314 | cat >conftest.$ac_ext <<_ACEOF |
3307 | cat >conftest.$ac_ext <<_ACEOF |
3315 | /* confdefs.h. */ |
3308 | /* confdefs.h. */ |
3316 | _ACEOF |
3309 | _ACEOF |
3317 | cat confdefs.h >>conftest.$ac_ext |
3310 | cat confdefs.h >>conftest.$ac_ext |
3318 | cat >>conftest.$ac_ext <<_ACEOF |
3311 | cat >>conftest.$ac_ext <<_ACEOF |
3319 | /* end confdefs.h. */ |
3312 | /* end confdefs.h. */ |
… | |
… | |
4341 | if test x$enableval = xyes -o x$enableval = xno; then |
4334 | if test x$enableval = xyes -o x$enableval = xno; then |
4342 | support_xim=$enableval |
4335 | support_xim=$enableval |
4343 | fi |
4336 | fi |
4344 | fi; |
4337 | fi; |
4345 | |
4338 | |
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. |
4339 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
4359 | if test "${enable_backspace_key+set}" = set; then |
4340 | if test "${enable_backspace_key+set}" = set; then |
4360 | enableval="$enable_backspace_key" |
4341 | enableval="$enable_backspace_key" |
4361 | if test x$enableval = xno; then |
4342 | if test x$enableval = xno; then |
4362 | |
4343 | |
… | |
… | |
10077 | |
10058 | |
10078 | |
10059 | |
10079 | |
10060 | |
10080 | |
10061 | |
10081 | |
10062 | |
10082 | |
|
|
10083 | for ac_func in \ |
10063 | for ac_func in \ |
10084 | unsetenv \ |
10064 | unsetenv \ |
10085 | setutent \ |
10065 | setutent \ |
10086 | seteuid \ |
10066 | seteuid \ |
10087 | setresuid \ |
10067 | setresuid \ |
10088 | setreuid \ |
10068 | setreuid \ |
10089 | on_exit \ |
10069 | on_exit \ |
10090 | nanosleep \ |
|
|
10091 | |
10070 | |
10092 | do |
10071 | do |
10093 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10072 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10094 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10073 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10095 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
10074 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
… | |
… | |
10592 | |
10571 | |
10593 | fi |
10572 | fi |
10594 | if test $ac_cv_header_utmp_h = yes; then |
10573 | if test $ac_cv_header_utmp_h = yes; then |
10595 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10574 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10596 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
10575 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
10597 | if test "${rxvt_cv_struct_utmp+set}" = set; then |
10576 | if test "${struct_utmp+set}" = set; then |
10598 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10577 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10599 | else |
10578 | else |
10600 | cat >conftest.$ac_ext <<_ACEOF |
10579 | cat >conftest.$ac_ext <<_ACEOF |
10601 | /* confdefs.h. */ |
10580 | /* confdefs.h. */ |
10602 | _ACEOF |
10581 | _ACEOF |
… | |
… | |
10632 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10611 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10633 | (eval $ac_try) 2>&5 |
10612 | (eval $ac_try) 2>&5 |
10634 | ac_status=$? |
10613 | ac_status=$? |
10635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10614 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10636 | (exit $ac_status); }; }; then |
10615 | (exit $ac_status); }; }; then |
10637 | rxvt_cv_struct_utmp=yes |
10616 | struct_utmp=yes |
10638 | else |
10617 | else |
10639 | echo "$as_me: failed program was:" >&5 |
10618 | echo "$as_me: failed program was:" >&5 |
10640 | sed 's/^/| /' conftest.$ac_ext >&5 |
10619 | sed 's/^/| /' conftest.$ac_ext >&5 |
10641 | |
10620 | |
10642 | rxvt_cv_struct_utmp=no |
10621 | struct_utmp=no |
10643 | fi |
10622 | fi |
10644 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10623 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10645 | fi |
10624 | fi |
10646 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 |
10625 | echo "$as_me:$LINENO: result: $struct_utmp" >&5 |
10647 | echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 |
10626 | echo "${ECHO_T}$struct_utmp" >&6 |
10648 | if test x$rxvt_cv_struct_utmp = xyes; then |
10627 | if test x$struct_utmp = xyes; then |
10649 | |
10628 | |
10650 | cat >>confdefs.h <<\_ACEOF |
10629 | cat >>confdefs.h <<\_ACEOF |
10651 | #define HAVE_STRUCT_UTMP 1 |
10630 | #define HAVE_STRUCT_UTMP 1 |
10652 | _ACEOF |
10631 | _ACEOF |
10653 | |
10632 | |
10654 | fi |
10633 | fi |
10655 | |
10634 | |
10656 | |
10635 | |
10657 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
10636 | 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 |
10637 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
10659 | if test "${rxvt_cv_struct_utmp_host+set}" = set; then |
10638 | if test "${struct_utmp_host+set}" = set; then |
10660 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10639 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10661 | else |
10640 | else |
10662 | cat >conftest.$ac_ext <<_ACEOF |
10641 | cat >conftest.$ac_ext <<_ACEOF |
10663 | /* confdefs.h. */ |
10642 | /* confdefs.h. */ |
10664 | _ACEOF |
10643 | _ACEOF |
… | |
… | |
10694 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10673 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10695 | (eval $ac_try) 2>&5 |
10674 | (eval $ac_try) 2>&5 |
10696 | ac_status=$? |
10675 | ac_status=$? |
10697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10698 | (exit $ac_status); }; }; then |
10677 | (exit $ac_status); }; }; then |
10699 | rxvt_cv_struct_utmp_host=yes |
10678 | struct_utmp_host=yes |
10700 | else |
10679 | else |
10701 | echo "$as_me: failed program was:" >&5 |
10680 | echo "$as_me: failed program was:" >&5 |
10702 | sed 's/^/| /' conftest.$ac_ext >&5 |
10681 | sed 's/^/| /' conftest.$ac_ext >&5 |
10703 | |
10682 | |
10704 | rxvt_cv_struct_utmp_host=no |
10683 | struct_utmp_host=no |
10705 | fi |
10684 | fi |
10706 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10685 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10707 | fi |
10686 | fi |
10708 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 |
10687 | echo "$as_me:$LINENO: result: $struct_utmp_host" >&5 |
10709 | echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 |
10688 | echo "${ECHO_T}$struct_utmp_host" >&6 |
10710 | if test x$rxvt_cv_struct_utmp_host = xyes; then |
10689 | if test x$struct_utmp_host = xyes; then |
10711 | |
10690 | |
10712 | cat >>confdefs.h <<\_ACEOF |
10691 | cat >>confdefs.h <<\_ACEOF |
10713 | #define HAVE_UTMP_HOST 1 |
10692 | #define HAVE_UTMP_HOST 1 |
10714 | _ACEOF |
10693 | _ACEOF |
10715 | |
10694 | |
10716 | fi |
10695 | fi |
10717 | |
10696 | |
10718 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10697 | 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 |
10698 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10720 | if test "${rxvt_cv_struct_utmp_pid+set}" = set; then |
10699 | if test "${struct_utmp_pid+set}" = set; then |
10721 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10700 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10722 | else |
10701 | else |
10723 | cat >conftest.$ac_ext <<_ACEOF |
10702 | cat >conftest.$ac_ext <<_ACEOF |
10724 | /* confdefs.h. */ |
10703 | /* confdefs.h. */ |
10725 | _ACEOF |
10704 | _ACEOF |
… | |
… | |
10755 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10734 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10756 | (eval $ac_try) 2>&5 |
10735 | (eval $ac_try) 2>&5 |
10757 | ac_status=$? |
10736 | ac_status=$? |
10758 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10759 | (exit $ac_status); }; }; then |
10738 | (exit $ac_status); }; }; then |
10760 | rxvt_cv_struct_utmp_pid=yes |
10739 | struct_utmp_pid=yes |
10761 | else |
10740 | else |
10762 | echo "$as_me: failed program was:" >&5 |
10741 | echo "$as_me: failed program was:" >&5 |
10763 | sed 's/^/| /' conftest.$ac_ext >&5 |
10742 | sed 's/^/| /' conftest.$ac_ext >&5 |
10764 | |
10743 | |
10765 | rxvt_cv_struct_utmp_pid=no |
10744 | struct_utmp_pid=no |
10766 | fi |
10745 | fi |
10767 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10746 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10768 | fi |
10747 | fi |
10769 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 |
10748 | echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5 |
10770 | echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 |
10749 | echo "${ECHO_T}$struct_utmp_pid" >&6 |
10771 | if test x$rxvt_cv_struct_utmp_pid = xyes; then |
10750 | if test x$struct_utmp_pid = xyes; then |
10772 | |
10751 | |
10773 | cat >>confdefs.h <<\_ACEOF |
10752 | cat >>confdefs.h <<\_ACEOF |
10774 | #define HAVE_UTMP_PID 1 |
10753 | #define HAVE_UTMP_PID 1 |
10775 | _ACEOF |
10754 | _ACEOF |
10776 | |
10755 | |
… | |
… | |
10917 | |
10896 | |
10918 | fi |
10897 | fi |
10919 | if test $ac_cv_header_utmpx_h = yes; then |
10898 | if test $ac_cv_header_utmpx_h = yes; then |
10920 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10899 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10921 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10900 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10922 | if test "${rxvt_cv_struct_utmpx+set}" = set; then |
10901 | if test "${struct_utmpx+set}" = set; then |
10923 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10902 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10924 | else |
10903 | else |
10925 | cat >conftest.$ac_ext <<_ACEOF |
10904 | cat >conftest.$ac_ext <<_ACEOF |
10926 | /* confdefs.h. */ |
10905 | /* confdefs.h. */ |
10927 | _ACEOF |
10906 | _ACEOF |
… | |
… | |
10957 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10936 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10958 | (eval $ac_try) 2>&5 |
10937 | (eval $ac_try) 2>&5 |
10959 | ac_status=$? |
10938 | ac_status=$? |
10960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10961 | (exit $ac_status); }; }; then |
10940 | (exit $ac_status); }; }; then |
10962 | rxvt_cv_struct_utmpx=yes |
10941 | struct_utmpx=yes |
10963 | else |
10942 | else |
10964 | echo "$as_me: failed program was:" >&5 |
10943 | echo "$as_me: failed program was:" >&5 |
10965 | sed 's/^/| /' conftest.$ac_ext >&5 |
10944 | sed 's/^/| /' conftest.$ac_ext >&5 |
10966 | |
10945 | |
10967 | rxvt_cv_struct_utmpx=no |
10946 | struct_utmpx=no |
10968 | fi |
10947 | fi |
10969 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10948 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10970 | fi |
10949 | fi |
10971 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 |
10950 | echo "$as_me:$LINENO: result: $struct_utmpx" >&5 |
10972 | echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 |
10951 | echo "${ECHO_T}$struct_utmpx" >&6 |
10973 | if test x$rxvt_cv_struct_utmpx = xyes; then |
10952 | if test x$struct_utmpx = xyes; then |
10974 | |
10953 | |
10975 | cat >>confdefs.h <<\_ACEOF |
10954 | cat >>confdefs.h <<\_ACEOF |
10976 | #define HAVE_STRUCT_UTMPX 1 |
10955 | #define HAVE_STRUCT_UTMPX 1 |
10977 | _ACEOF |
10956 | _ACEOF |
10978 | |
10957 | |
10979 | fi |
10958 | fi |
10980 | |
10959 | |
10981 | |
10960 | |
10982 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10961 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10983 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10962 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10984 | if test "${rxvt_cv_struct_utmpx_host+set}" = set; then |
10963 | if test "${struct_utmpx_host+set}" = set; then |
10985 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10964 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10986 | else |
10965 | else |
10987 | cat >conftest.$ac_ext <<_ACEOF |
10966 | cat >conftest.$ac_ext <<_ACEOF |
10988 | /* confdefs.h. */ |
10967 | /* confdefs.h. */ |
10989 | _ACEOF |
10968 | _ACEOF |
… | |
… | |
11019 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10998 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11020 | (eval $ac_try) 2>&5 |
10999 | (eval $ac_try) 2>&5 |
11021 | ac_status=$? |
11000 | ac_status=$? |
11022 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11001 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11023 | (exit $ac_status); }; }; then |
11002 | (exit $ac_status); }; }; then |
11024 | rxvt_cv_struct_utmpx_host=yes |
11003 | struct_utmpx_host=yes |
11025 | else |
11004 | else |
11026 | echo "$as_me: failed program was:" >&5 |
11005 | echo "$as_me: failed program was:" >&5 |
11027 | sed 's/^/| /' conftest.$ac_ext >&5 |
11006 | sed 's/^/| /' conftest.$ac_ext >&5 |
11028 | |
11007 | |
11029 | rxvt_cv_struct_utmpx_host=no |
11008 | struct_utmpx_host=no |
11030 | fi |
11009 | fi |
11031 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11010 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11032 | fi |
11011 | fi |
11033 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 |
11012 | echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5 |
11034 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 |
11013 | echo "${ECHO_T}$struct_utmpx_host" >&6 |
11035 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
11014 | if test x$struct_utmpx_host = xyes; then |
11036 | |
11015 | |
11037 | cat >>confdefs.h <<\_ACEOF |
11016 | cat >>confdefs.h <<\_ACEOF |
11038 | #define HAVE_UTMPX_HOST 1 |
11017 | #define HAVE_UTMPX_HOST 1 |
11039 | _ACEOF |
11018 | _ACEOF |
11040 | |
11019 | |
11041 | fi |
11020 | fi |
11042 | |
11021 | |
11043 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
11022 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
11044 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
11023 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
11045 | if test "${rxvt_cv_struct_utmpx_session+set}" = set; then |
11024 | if test "${struct_utmpx_session+set}" = set; then |
11046 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11025 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11047 | else |
11026 | else |
11048 | cat >conftest.$ac_ext <<_ACEOF |
11027 | cat >conftest.$ac_ext <<_ACEOF |
11049 | /* confdefs.h. */ |
11028 | /* confdefs.h. */ |
11050 | _ACEOF |
11029 | _ACEOF |
… | |
… | |
11080 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11059 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11081 | (eval $ac_try) 2>&5 |
11060 | (eval $ac_try) 2>&5 |
11082 | ac_status=$? |
11061 | ac_status=$? |
11083 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11062 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11084 | (exit $ac_status); }; }; then |
11063 | (exit $ac_status); }; }; then |
11085 | rxvt_cv_struct_utmpx_session=yes |
11064 | struct_utmpx_session=yes |
11086 | else |
11065 | else |
11087 | echo "$as_me: failed program was:" >&5 |
11066 | echo "$as_me: failed program was:" >&5 |
11088 | sed 's/^/| /' conftest.$ac_ext >&5 |
11067 | sed 's/^/| /' conftest.$ac_ext >&5 |
11089 | |
11068 | |
11090 | rxvt_cv_struct_utmpx_session=no |
11069 | struct_utmpx_session=no |
11091 | fi |
11070 | fi |
11092 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11071 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11093 | fi |
11072 | fi |
11094 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 |
11073 | echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5 |
11095 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 |
11074 | echo "${ECHO_T}$struct_utmpx_session" >&6 |
11096 | if test x$rxvt_cv_struct_utmpx_session = xyes; then |
11075 | if test x$struct_utmpx_session = xyes; then |
11097 | |
11076 | |
11098 | cat >>confdefs.h <<\_ACEOF |
11077 | cat >>confdefs.h <<\_ACEOF |
11099 | #define HAVE_UTMPX_SESSION 1 |
11078 | #define HAVE_UTMPX_SESSION 1 |
11100 | _ACEOF |
11079 | _ACEOF |
11101 | |
11080 | |
… | |
… | |
11104 | fi |
11083 | fi |
11105 | |
11084 | |
11106 | |
11085 | |
11107 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
11086 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
11108 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
11087 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
11109 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |
11088 | if test "${struct_lastlog+set}" = set; then |
11110 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11089 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11111 | else |
11090 | else |
11112 | cat >conftest.$ac_ext <<_ACEOF |
11091 | cat >conftest.$ac_ext <<_ACEOF |
11113 | /* confdefs.h. */ |
11092 | /* confdefs.h. */ |
11114 | _ACEOF |
11093 | _ACEOF |
… | |
… | |
11148 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11127 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11149 | (eval $ac_try) 2>&5 |
11128 | (eval $ac_try) 2>&5 |
11150 | ac_status=$? |
11129 | ac_status=$? |
11151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11130 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11152 | (exit $ac_status); }; }; then |
11131 | (exit $ac_status); }; }; then |
11153 | rxvt_cv_struct_lastlog=yes |
11132 | struct_lastlog=yes |
11154 | else |
11133 | else |
11155 | echo "$as_me: failed program was:" >&5 |
11134 | echo "$as_me: failed program was:" >&5 |
11156 | sed 's/^/| /' conftest.$ac_ext >&5 |
11135 | sed 's/^/| /' conftest.$ac_ext >&5 |
11157 | |
11136 | |
11158 | rxvt_cv_struct_lastlog=no |
11137 | struct_lastlog=no |
11159 | fi |
11138 | fi |
11160 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11139 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11161 | fi |
11140 | fi |
11162 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 |
11141 | echo "$as_me:$LINENO: result: $struct_lastlog" >&5 |
11163 | echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 |
11142 | echo "${ECHO_T}$struct_lastlog" >&6 |
11164 | if test x$rxvt_cv_struct_lastlog = xyes; then |
11143 | if test x$struct_lastlog = xyes; then |
11165 | |
11144 | |
11166 | cat >>confdefs.h <<\_ACEOF |
11145 | cat >>confdefs.h <<\_ACEOF |
11167 | #define HAVE_STRUCT_LASTLOG 1 |
11146 | #define HAVE_STRUCT_LASTLOG 1 |
11168 | _ACEOF |
11147 | _ACEOF |
11169 | |
11148 | |
11170 | fi |
11149 | fi |
11171 | |
11150 | |
11172 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
11151 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
11173 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
11152 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
11174 | if test "${rxvt_cv_struct_lastlogx+set}" = set; then |
11153 | if test "${struct_lastlogx+set}" = set; then |
11175 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11154 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11176 | else |
11155 | else |
11177 | cat >conftest.$ac_ext <<_ACEOF |
11156 | cat >conftest.$ac_ext <<_ACEOF |
11178 | /* confdefs.h. */ |
11157 | /* confdefs.h. */ |
11179 | _ACEOF |
11158 | _ACEOF |
… | |
… | |
11213 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11192 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11214 | (eval $ac_try) 2>&5 |
11193 | (eval $ac_try) 2>&5 |
11215 | ac_status=$? |
11194 | ac_status=$? |
11216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11217 | (exit $ac_status); }; }; then |
11196 | (exit $ac_status); }; }; then |
11218 | rxvt_cv_struct_lastlogx=yes |
11197 | struct_lastlogx=yes |
11219 | else |
11198 | else |
11220 | echo "$as_me: failed program was:" >&5 |
11199 | echo "$as_me: failed program was:" >&5 |
11221 | sed 's/^/| /' conftest.$ac_ext >&5 |
11200 | sed 's/^/| /' conftest.$ac_ext >&5 |
11222 | |
11201 | |
11223 | rxvt_cv_struct_lastlogx=no |
11202 | struct_lastlogx=no |
11224 | fi |
11203 | fi |
11225 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11204 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
11226 | fi |
11205 | fi |
11227 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 |
11206 | echo "$as_me:$LINENO: result: $struct_lastlogx" >&5 |
11228 | echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 |
11207 | echo "${ECHO_T}$struct_lastlogx" >&6 |
11229 | if test x$rxvt_cv_struct_lastlogx = xyes; then |
11208 | if test x$struct_lastlogx = xyes; then |
11230 | |
11209 | |
11231 | cat >>confdefs.h <<\_ACEOF |
11210 | cat >>confdefs.h <<\_ACEOF |
11232 | #define HAVE_STRUCT_LASTLOGX 1 |
11211 | #define HAVE_STRUCT_LASTLOGX 1 |
11233 | _ACEOF |
11212 | _ACEOF |
11234 | |
11213 | |
11235 | fi |
11214 | fi |
11236 | |
11215 | |
11237 | |
11216 | |
11238 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
11217 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
11239 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
11218 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
11240 | if test "${rxvt_cv_path_utmp+set}" = set; then |
11219 | if test "${path_utmp+set}" = set; then |
11241 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11220 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11242 | else |
11221 | else |
11243 | if test "$cross_compiling" = yes; then |
11222 | if test "$cross_compiling" = yes; then |
11244 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 |
11223 | { 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;} |
11224 | echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;} |
11246 | else |
11225 | else |
11247 | cat >conftest.$ac_ext <<_ACEOF |
11226 | cat >conftest.$ac_ext <<_ACEOF |
11248 | /* confdefs.h. */ |
11227 | /* confdefs.h. */ |
11249 | _ACEOF |
11228 | _ACEOF |
11250 | cat confdefs.h >>conftest.$ac_ext |
11229 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
11286 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11265 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11287 | (eval $ac_try) 2>&5 |
11266 | (eval $ac_try) 2>&5 |
11288 | ac_status=$? |
11267 | ac_status=$? |
11289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11268 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11290 | (exit $ac_status); }; }; then |
11269 | (exit $ac_status); }; }; then |
11291 | rxvt_cv_path_utmp=`cat conftestval` |
11270 | path_utmp=`cat conftestval` |
11292 | else |
11271 | else |
11293 | echo "$as_me: program exited with status $ac_status" >&5 |
11272 | echo "$as_me: program exited with status $ac_status" >&5 |
11294 | echo "$as_me: failed program was:" >&5 |
11273 | echo "$as_me: failed program was:" >&5 |
11295 | sed 's/^/| /' conftest.$ac_ext >&5 |
11274 | sed 's/^/| /' conftest.$ac_ext >&5 |
11296 | |
11275 | |
11297 | ( exit $ac_status ) |
11276 | ( exit $ac_status ) |
11298 | rxvt_cv_path_utmp= |
11277 | path_utmp= |
11299 | fi |
11278 | fi |
11300 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11279 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11301 | fi |
11280 | fi |
11302 | fi |
11281 | fi |
11303 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 |
11282 | echo "$as_me:$LINENO: result: $path_utmp" >&5 |
11304 | echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 |
11283 | echo "${ECHO_T}$path_utmp" >&6 |
11305 | if test x$rxvt_cv_path_utmp != x; then |
11284 | if test x$path_utmp != x; then |
11306 | |
11285 | |
11307 | cat >>confdefs.h <<_ACEOF |
11286 | cat >>confdefs.h <<_ACEOF |
11308 | #define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" |
11287 | #define UTMP_FILE "$path_utmp" |
11309 | _ACEOF |
11288 | _ACEOF |
11310 | |
11289 | |
11311 | fi |
11290 | fi |
11312 | |
11291 | |
11313 | |
11292 | |
11314 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
11293 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
11315 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
11294 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
11316 | if test "${rxvt_cv_path_utmpx+set}" = set; then |
11295 | if test "${path_utmpx+set}" = set; then |
11317 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11296 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11318 | else |
11297 | else |
11319 | if test "$cross_compiling" = yes; then |
11298 | if test "$cross_compiling" = yes; then |
11320 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 |
11299 | { 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;} |
11300 | echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;} |
11322 | else |
11301 | else |
11323 | cat >conftest.$ac_ext <<_ACEOF |
11302 | cat >conftest.$ac_ext <<_ACEOF |
11324 | /* confdefs.h. */ |
11303 | /* confdefs.h. */ |
11325 | _ACEOF |
11304 | _ACEOF |
11326 | cat confdefs.h >>conftest.$ac_ext |
11305 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
11372 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11351 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11373 | (eval $ac_try) 2>&5 |
11352 | (eval $ac_try) 2>&5 |
11374 | ac_status=$? |
11353 | ac_status=$? |
11375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11354 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11376 | (exit $ac_status); }; }; then |
11355 | (exit $ac_status); }; }; then |
11377 | rxvt_cv_path_utmpx=`cat conftestval` |
11356 | path_utmpx=`cat conftestval` |
11378 | else |
11357 | else |
11379 | echo "$as_me: program exited with status $ac_status" >&5 |
11358 | echo "$as_me: program exited with status $ac_status" >&5 |
11380 | echo "$as_me: failed program was:" >&5 |
11359 | echo "$as_me: failed program was:" >&5 |
11381 | sed 's/^/| /' conftest.$ac_ext >&5 |
11360 | sed 's/^/| /' conftest.$ac_ext >&5 |
11382 | |
11361 | |
11383 | ( exit $ac_status ) |
11362 | ( exit $ac_status ) |
11384 | rxvt_cv_path_utmpx= |
11363 | path_utmpx= |
11385 | fi |
11364 | fi |
11386 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11365 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11387 | fi |
11366 | fi |
11388 | fi |
11367 | fi |
11389 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 |
11368 | echo "$as_me:$LINENO: result: $path_utmpx" >&5 |
11390 | echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 |
11369 | echo "${ECHO_T}$path_utmpx" >&6 |
11391 | if test x$rxvt_cv_path_utmpx != x; then |
11370 | if test x$path_utmpx != x; then |
11392 | |
11371 | |
11393 | cat >>confdefs.h <<_ACEOF |
11372 | cat >>confdefs.h <<_ACEOF |
11394 | #define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" |
11373 | #define UTMPX_FILE "$path_utmpx" |
11395 | _ACEOF |
11374 | _ACEOF |
11396 | |
11375 | |
11397 | fi |
11376 | fi |
11398 | |
11377 | |
11399 | |
11378 | |
11400 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
11379 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
11401 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
11380 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
11402 | if test "${rxvt_cv_path_wtmp+set}" = set; then |
11381 | if test "${path_wtmp+set}" = set; then |
11403 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11382 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11404 | else |
11383 | else |
11405 | if test "$cross_compiling" = yes; then |
11384 | if test "$cross_compiling" = yes; then |
11406 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 |
11385 | { 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;} |
11386 | echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;} |
11408 | else |
11387 | else |
11409 | cat >conftest.$ac_ext <<_ACEOF |
11388 | cat >conftest.$ac_ext <<_ACEOF |
11410 | /* confdefs.h. */ |
11389 | /* confdefs.h. */ |
11411 | _ACEOF |
11390 | _ACEOF |
11412 | cat confdefs.h >>conftest.$ac_ext |
11391 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
11450 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11429 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11451 | (eval $ac_try) 2>&5 |
11430 | (eval $ac_try) 2>&5 |
11452 | ac_status=$? |
11431 | ac_status=$? |
11453 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11432 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11454 | (exit $ac_status); }; }; then |
11433 | (exit $ac_status); }; }; then |
11455 | rxvt_cv_path_wtmp=`cat conftestval` |
11434 | path_wtmp=`cat conftestval` |
11456 | else |
11435 | else |
11457 | echo "$as_me: program exited with status $ac_status" >&5 |
11436 | echo "$as_me: program exited with status $ac_status" >&5 |
11458 | echo "$as_me: failed program was:" >&5 |
11437 | echo "$as_me: failed program was:" >&5 |
11459 | sed 's/^/| /' conftest.$ac_ext >&5 |
11438 | sed 's/^/| /' conftest.$ac_ext >&5 |
11460 | |
11439 | |
11461 | ( exit $ac_status ) |
11440 | ( exit $ac_status ) |
11462 | rxvt_cv_path_wtmp= |
11441 | path_wtmp= |
11463 | fi |
11442 | fi |
11464 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11443 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11465 | fi |
11444 | fi |
11466 | fi |
11445 | fi |
11467 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 |
11446 | echo "$as_me:$LINENO: result: $path_wtmp" >&5 |
11468 | echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 |
11447 | echo "${ECHO_T}$path_wtmp" >&6 |
11469 | if test x$rxvt_cv_path_wtmp != x; then |
11448 | if test x$path_wtmp != x; then |
11470 | |
11449 | |
11471 | cat >>confdefs.h <<_ACEOF |
11450 | cat >>confdefs.h <<_ACEOF |
11472 | #define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" |
11451 | #define WTMP_FILE "$path_wtmp" |
11473 | _ACEOF |
11452 | _ACEOF |
11474 | |
11453 | |
11475 | fi |
11454 | fi |
11476 | |
11455 | |
11477 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
11456 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
11478 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
11457 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
11479 | if test "${rxvt_cv_path_wtmpx+set}" = set; then |
11458 | if test "${path_wtmpx+set}" = set; then |
11480 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11459 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11481 | else |
11460 | else |
11482 | if test "$cross_compiling" = yes; then |
11461 | if test "$cross_compiling" = yes; then |
11483 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 |
11462 | { 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;} |
11463 | echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} |
11485 | else |
11464 | else |
11486 | cat >conftest.$ac_ext <<_ACEOF |
11465 | cat >conftest.$ac_ext <<_ACEOF |
11487 | /* confdefs.h. */ |
11466 | /* confdefs.h. */ |
11488 | _ACEOF |
11467 | _ACEOF |
11489 | cat confdefs.h >>conftest.$ac_ext |
11468 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
11526 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11505 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11527 | (eval $ac_try) 2>&5 |
11506 | (eval $ac_try) 2>&5 |
11528 | ac_status=$? |
11507 | ac_status=$? |
11529 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11508 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11530 | (exit $ac_status); }; }; then |
11509 | (exit $ac_status); }; }; then |
11531 | rxvt_cv_path_wtmpx=`cat conftestval` |
11510 | path_wtmpx=`cat conftestval` |
11532 | else |
11511 | else |
11533 | echo "$as_me: program exited with status $ac_status" >&5 |
11512 | echo "$as_me: program exited with status $ac_status" >&5 |
11534 | echo "$as_me: failed program was:" >&5 |
11513 | echo "$as_me: failed program was:" >&5 |
11535 | sed 's/^/| /' conftest.$ac_ext >&5 |
11514 | sed 's/^/| /' conftest.$ac_ext >&5 |
11536 | |
11515 | |
11537 | ( exit $ac_status ) |
11516 | ( exit $ac_status ) |
11538 | rxvt_cv_path_wtmpx= |
11517 | path_wtmpx= |
11539 | fi |
11518 | fi |
11540 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11519 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11541 | fi |
11520 | fi |
11542 | fi |
11521 | fi |
11543 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 |
11522 | echo "$as_me:$LINENO: result: $path_wtmpx" >&5 |
11544 | echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 |
11523 | echo "${ECHO_T}$path_wtmpx" >&6 |
11545 | if test x$rxvt_cv_path_wtmpx != x; then |
11524 | if test x$path_wtmpx != x; then |
11546 | |
11525 | |
11547 | cat >>confdefs.h <<_ACEOF |
11526 | cat >>confdefs.h <<_ACEOF |
11548 | #define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" |
11527 | #define WTMPX_FILE "$path_wtmpx" |
11549 | _ACEOF |
11528 | _ACEOF |
11550 | |
11529 | |
11551 | fi |
11530 | fi |
11552 | |
11531 | |
11553 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
11532 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
11554 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
11533 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
11555 | if test "${rxvt_cv_path_lastlog+set}" = set; then |
11534 | if test "${path_lastlog+set}" = set; then |
11556 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11535 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11557 | else |
11536 | else |
11558 | if test "$cross_compiling" = yes; then |
11537 | if test "$cross_compiling" = yes; then |
11559 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 |
11538 | { 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;} |
11539 | echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} |
11561 | else |
11540 | else |
11562 | cat >conftest.$ac_ext <<_ACEOF |
11541 | cat >conftest.$ac_ext <<_ACEOF |
11563 | /* confdefs.h. */ |
11542 | /* confdefs.h. */ |
11564 | _ACEOF |
11543 | _ACEOF |
11565 | cat confdefs.h >>conftest.$ac_ext |
11544 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
11607 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11586 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11608 | (eval $ac_try) 2>&5 |
11587 | (eval $ac_try) 2>&5 |
11609 | ac_status=$? |
11588 | ac_status=$? |
11610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11611 | (exit $ac_status); }; }; then |
11590 | (exit $ac_status); }; }; then |
11612 | rxvt_cv_path_lastlog=`cat conftestval` |
11591 | path_lastlog=`cat conftestval` |
11613 | else |
11592 | else |
11614 | echo "$as_me: program exited with status $ac_status" >&5 |
11593 | echo "$as_me: program exited with status $ac_status" >&5 |
11615 | echo "$as_me: failed program was:" >&5 |
11594 | echo "$as_me: failed program was:" >&5 |
11616 | sed 's/^/| /' conftest.$ac_ext >&5 |
11595 | sed 's/^/| /' conftest.$ac_ext >&5 |
11617 | |
11596 | |
11618 | ( exit $ac_status ) |
11597 | ( exit $ac_status ) |
11619 | rxvt_cv_path_lastlog= |
11598 | path_lastlog= |
11620 | fi |
11599 | fi |
11621 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11600 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11622 | fi |
11601 | fi |
11623 | fi |
11602 | fi |
11624 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 |
11603 | echo "$as_me:$LINENO: result: $path_lastlog" >&5 |
11625 | echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 |
11604 | echo "${ECHO_T}$path_lastlog" >&6 |
11626 | if test x$rxvt_cv_path_lastlog != x; then |
11605 | if test x$path_lastlog != x; then |
11627 | |
11606 | |
11628 | cat >>confdefs.h <<_ACEOF |
11607 | cat >>confdefs.h <<_ACEOF |
11629 | #define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" |
11608 | #define LASTLOG_FILE "$path_lastlog" |
11630 | _ACEOF |
11609 | _ACEOF |
11631 | |
11610 | |
11632 | if test -d "$rxvt_cv_path_lastlog"; then |
11611 | if test -d "$path_lastlog"; then |
11633 | |
11612 | |
11634 | cat >>confdefs.h <<\_ACEOF |
11613 | cat >>confdefs.h <<\_ACEOF |
11635 | #define LASTLOG_IS_DIR 1 |
11614 | #define LASTLOG_IS_DIR 1 |
11636 | _ACEOF |
11615 | _ACEOF |
11637 | |
11616 | |
11638 | fi |
11617 | fi |
11639 | fi |
11618 | fi |
11640 | |
11619 | |
11641 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11620 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11642 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
11621 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
11643 | if test "${rxvt_cv_path_lastlogx+set}" = set; then |
11622 | if test "${path_lastlogx+set}" = set; then |
11644 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11623 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11645 | else |
11624 | else |
11646 | if test "$cross_compiling" = yes; then |
11625 | if test "$cross_compiling" = yes; then |
11647 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 |
11626 | { 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;} |
11627 | echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} |
11649 | else |
11628 | else |
11650 | cat >conftest.$ac_ext <<_ACEOF |
11629 | cat >conftest.$ac_ext <<_ACEOF |
11651 | /* confdefs.h. */ |
11630 | /* confdefs.h. */ |
11652 | _ACEOF |
11631 | _ACEOF |
11653 | cat confdefs.h >>conftest.$ac_ext |
11632 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
11689 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11690 | (eval $ac_try) 2>&5 |
11669 | (eval $ac_try) 2>&5 |
11691 | ac_status=$? |
11670 | ac_status=$? |
11692 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11693 | (exit $ac_status); }; }; then |
11672 | (exit $ac_status); }; }; then |
11694 | rxvt_cv_path_lastlogx=`cat conftestval` |
11673 | path_lastlogx=`cat conftestval` |
11695 | else |
11674 | else |
11696 | echo "$as_me: program exited with status $ac_status" >&5 |
11675 | echo "$as_me: program exited with status $ac_status" >&5 |
11697 | echo "$as_me: failed program was:" >&5 |
11676 | echo "$as_me: failed program was:" >&5 |
11698 | sed 's/^/| /' conftest.$ac_ext >&5 |
11677 | sed 's/^/| /' conftest.$ac_ext >&5 |
11699 | |
11678 | |
11700 | ( exit $ac_status ) |
11679 | ( exit $ac_status ) |
11701 | rxvt_cv_path_lastlogx= |
11680 | path_lastlogx= |
11702 | fi |
11681 | fi |
11703 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11682 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11704 | fi |
11683 | fi |
11705 | fi |
11684 | fi |
11706 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 |
11685 | echo "$as_me:$LINENO: result: $path_lastlogx" >&5 |
11707 | echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 |
11686 | echo "${ECHO_T}$path_lastlogx" >&6 |
11708 | if test x$rxvt_cv_path_lastlogx != x; then |
11687 | if test x$path_lastlogx != x; then |
11709 | |
11688 | |
11710 | cat >>confdefs.h <<_ACEOF |
11689 | cat >>confdefs.h <<_ACEOF |
11711 | #define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" |
11690 | #define LASTLOGX_FILE "$path_lastlogx" |
11712 | _ACEOF |
11691 | _ACEOF |
11713 | |
11692 | |
11714 | fi |
11693 | fi |
11715 | |
11694 | |
11716 | |
11695 | |
… | |
… | |
11987 | #define HAVE_NL_LANGINFO 1 |
11966 | #define HAVE_NL_LANGINFO 1 |
11988 | _ACEOF |
11967 | _ACEOF |
11989 | |
11968 | |
11990 | fi |
11969 | fi |
11991 | |
11970 | |
|
|
11971 | |
11992 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
11972 | 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 |
11973 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
11994 | if test "${rxvt_can_pass_fds+set}" = set; then |
11974 | if test "${can_pass_fds+set}" = set; then |
11995 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11975 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11996 | else |
11976 | else |
11997 | cat >conftest.$ac_ext <<_ACEOF |
11977 | cat >conftest.$ac_ext <<_ACEOF |
11998 | /* confdefs.h. */ |
11978 | /* confdefs.h. */ |
11999 | _ACEOF |
11979 | _ACEOF |
12000 | cat confdefs.h >>conftest.$ac_ext |
11980 | cat confdefs.h >>conftest.$ac_ext |
12001 | cat >>conftest.$ac_ext <<_ACEOF |
11981 | cat >>conftest.$ac_ext <<_ACEOF |
12002 | /* end confdefs.h. */ |
11982 | /* end confdefs.h. */ |
12003 | |
11983 | |
|
|
11984 | #include <cstddef> // broken bsds (is that redundant) need this |
12004 | #include <sys/types.h> |
11985 | #include <sys/types.h> |
12005 | #include <sys/socket.h> |
11986 | #include <sys/socket.h> |
|
|
11987 | #include <sys/uio.h> |
12006 | |
11988 | |
12007 | int |
11989 | int |
12008 | main () |
11990 | main () |
12009 | { |
11991 | { |
12010 | |
11992 | |
… | |
… | |
12055 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12037 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12056 | (eval $ac_try) 2>&5 |
12038 | (eval $ac_try) 2>&5 |
12057 | ac_status=$? |
12039 | ac_status=$? |
12058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12059 | (exit $ac_status); }; }; then |
12041 | (exit $ac_status); }; }; then |
12060 | rxvt_can_pass_fds=yes |
12042 | can_pass_fds=yes |
12061 | else |
12043 | else |
12062 | echo "$as_me: failed program was:" >&5 |
12044 | echo "$as_me: failed program was:" >&5 |
12063 | sed 's/^/| /' conftest.$ac_ext >&5 |
12045 | sed 's/^/| /' conftest.$ac_ext >&5 |
12064 | |
12046 | |
12065 | rxvt_can_pass_fds=no |
12047 | can_pass_fds=no |
12066 | fi |
12048 | fi |
12067 | rm -f conftest.err conftest.$ac_objext \ |
12049 | rm -f conftest.err conftest.$ac_objext \ |
12068 | conftest$ac_exeext conftest.$ac_ext |
12050 | conftest$ac_exeext conftest.$ac_ext |
12069 | fi |
12051 | fi |
12070 | echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 |
12052 | echo "$as_me:$LINENO: result: $can_pass_fds" >&5 |
12071 | echo "${ECHO_T}$rxvt_can_pass_fds" >&6 |
12053 | echo "${ECHO_T}$can_pass_fds" >&6 |
12072 | if test x$rxvt_can_pass_fds = xyes; then |
12054 | if test x$can_pass_fds = xyes; then |
12073 | |
12055 | |
12074 | cat >>confdefs.h <<\_ACEOF |
12056 | cat >>confdefs.h <<\_ACEOF |
12075 | #define HAVE_UNIX_FDPASS 1 |
12057 | #define HAVE_UNIX_FDPASS 1 |
12076 | _ACEOF |
12058 | _ACEOF |
12077 | |
12059 | |
12078 | else |
12060 | else |
12079 | { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5 |
12061 | { { 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;} |
12062 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
12081 | { (exit 1); exit 1; }; } |
12063 | { (exit 1); exit 1; }; } |
12082 | fi |
12064 | fi |
|
|
12065 | |
12083 | |
12066 | |
12084 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
12067 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
12085 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
12068 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
12086 | if test "${rxvt_broken_ximcb+set}" = set; then |
12069 | if test "${rxvt_broken_ximcb+set}" = set; then |
12087 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12070 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
12721 | done |
12704 | done |
12722 | |
12705 | |
12723 | fi |
12706 | fi |
12724 | |
12707 | |
12725 | |
12708 | |
|
|
12709 | |
|
|
12710 | echo "$as_me:$LINENO: checking for tty group" >&5 |
|
|
12711 | echo $ECHO_N "checking for tty group... $ECHO_C" >&6 |
|
|
12712 | if test "${tty_group+set}" = set; then |
|
|
12713 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12714 | else |
|
|
12715 | if test "$cross_compiling" = yes; then |
|
|
12716 | tty_group=no |
|
|
12717 | else |
|
|
12718 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12719 | /* confdefs.h. */ |
|
|
12720 | _ACEOF |
|
|
12721 | cat confdefs.h >>conftest.$ac_ext |
|
|
12722 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12723 | /* end confdefs.h. */ |
|
|
12724 | |
|
|
12725 | #include <sys/types.h> |
|
|
12726 | #include <sys/stat.h> |
|
|
12727 | #include <unistd.h> |
|
|
12728 | #include <grp.h> |
|
|
12729 | |
|
|
12730 | main() |
|
|
12731 | { |
|
|
12732 | struct stat st; |
|
|
12733 | struct group *gr; |
|
|
12734 | char *tty; |
|
|
12735 | gr = getgrnam("tty"); |
|
|
12736 | tty = ttyname(0); |
|
|
12737 | if (gr != 0 |
|
|
12738 | && tty != 0 |
|
|
12739 | && (stat(tty, &st)) == 0 |
|
|
12740 | && st.st_gid == gr->gr_gid) |
|
|
12741 | return 0; |
|
|
12742 | else |
|
|
12743 | return 1; |
|
|
12744 | } |
|
|
12745 | _ACEOF |
|
|
12746 | rm -f conftest$ac_exeext |
|
|
12747 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12748 | (eval $ac_link) 2>&5 |
|
|
12749 | ac_status=$? |
|
|
12750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12751 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
12752 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12753 | (eval $ac_try) 2>&5 |
|
|
12754 | ac_status=$? |
|
|
12755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12756 | (exit $ac_status); }; }; then |
|
|
12757 | tty_group=yes |
|
|
12758 | else |
|
|
12759 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
12760 | echo "$as_me: failed program was:" >&5 |
|
|
12761 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12762 | |
|
|
12763 | ( exit $ac_status ) |
|
|
12764 | tty_group=no |
|
|
12765 | fi |
|
|
12766 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
12767 | fi |
|
|
12768 | fi |
|
|
12769 | echo "$as_me:$LINENO: result: $tty_group" >&5 |
|
|
12770 | echo "${ECHO_T}$tty_group" >&6 |
|
|
12771 | if test x$tty_group = xyes; then |
|
|
12772 | |
|
|
12773 | cat >>confdefs.h <<\_ACEOF |
|
|
12774 | #define TTY_GID_SUPPORT 1 |
|
|
12775 | _ACEOF |
|
|
12776 | |
|
|
12777 | fi |
|
|
12778 | |
12726 | if test x$support_xft = xyes; then |
12779 | if test x$support_xft = xyes; then |
12727 | LIBS="$LIBS `pkg-config xft --libs`" |
12780 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
12781 | set dummy pkg-config; ac_word=$2 |
|
|
12782 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12783 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12784 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
|
|
12785 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12786 | else |
|
|
12787 | case $PKG_CONFIG in |
|
|
12788 | [\\/]* | ?:[\\/]*) |
|
|
12789 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
12790 | ;; |
|
|
12791 | *) |
|
|
12792 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12793 | for as_dir in $PATH |
|
|
12794 | do |
|
|
12795 | IFS=$as_save_IFS |
|
|
12796 | test -z "$as_dir" && as_dir=. |
|
|
12797 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12798 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12799 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12800 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12801 | break 2 |
|
|
12802 | fi |
|
|
12803 | done |
|
|
12804 | done |
|
|
12805 | |
|
|
12806 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
12807 | ;; |
|
|
12808 | esac |
|
|
12809 | fi |
|
|
12810 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
12811 | |
|
|
12812 | if test -n "$PKG_CONFIG"; then |
|
|
12813 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
|
|
12814 | echo "${ECHO_T}$PKG_CONFIG" >&6 |
|
|
12815 | else |
|
|
12816 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12817 | echo "${ECHO_T}no" >&6 |
|
|
12818 | fi |
|
|
12819 | |
|
|
12820 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
|
|
12821 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
12728 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12822 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
|
|
12823 | else |
|
|
12824 | # Extract the first word of "xft-config", so it can be a program name with args. |
|
|
12825 | set dummy xft-config; ac_word=$2 |
|
|
12826 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12827 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12828 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then |
|
|
12829 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12830 | else |
|
|
12831 | case $XFT_CONFIG in |
|
|
12832 | [\\/]* | ?:[\\/]*) |
|
|
12833 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
|
|
12834 | ;; |
|
|
12835 | *) |
|
|
12836 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12837 | for as_dir in $PATH |
|
|
12838 | do |
|
|
12839 | IFS=$as_save_IFS |
|
|
12840 | test -z "$as_dir" && as_dir=. |
|
|
12841 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12842 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12843 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12844 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12845 | break 2 |
|
|
12846 | fi |
|
|
12847 | done |
|
|
12848 | done |
|
|
12849 | |
|
|
12850 | test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no" |
|
|
12851 | ;; |
|
|
12852 | esac |
|
|
12853 | fi |
|
|
12854 | XFT_CONFIG=$ac_cv_path_XFT_CONFIG |
|
|
12855 | |
|
|
12856 | if test -n "$XFT_CONFIG"; then |
|
|
12857 | echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5 |
|
|
12858 | echo "${ECHO_T}$XFT_CONFIG" >&6 |
|
|
12859 | else |
|
|
12860 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12861 | echo "${ECHO_T}no" >&6 |
|
|
12862 | fi |
|
|
12863 | |
|
|
12864 | if test $XFT_CONFIG != no; then |
|
|
12865 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
|
|
12866 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
|
|
12867 | fi |
|
|
12868 | fi |
12729 | |
12869 | |
12730 | |
12870 | |
12731 | for ac_header in X11/Xft/Xft.h |
12871 | for ac_header in X11/Xft/Xft.h |
12732 | do |
12872 | do |
12733 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12873 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
… | |
… | |
14137 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
14277 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
14138 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
14278 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
14139 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
14279 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
14140 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
14280 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
14141 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
14281 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
|
|
14282 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
|
|
14283 | s,@XFT_CONFIG@,$XFT_CONFIG,;t t |
14142 | s,@PERL@,$PERL,;t t |
14284 | s,@PERL@,$PERL,;t t |
14143 | s,@PERLLIB@,$PERLLIB,;t t |
14285 | s,@PERLLIB@,$PERLLIB,;t t |
14144 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
14286 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
14145 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
14287 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
14146 | s,@IF_PERL@,$IF_PERL,;t t |
14288 | s,@IF_PERL@,$IF_PERL,;t t |
… | |
… | |
14677 | |
14819 | |
14678 | if test x$support_xpm = xyes; then |
14820 | if test x$support_xpm = xyes; then |
14679 | echo " Xpm library: $XPM_LIBS" |
14821 | echo " Xpm library: $XPM_LIBS" |
14680 | fi |
14822 | fi |
14681 | |
14823 | |
14682 | echo " |
|
|
14683 | The following are set in config.h |
|
|
14684 | " |
|
|
14685 | if test x$support_utmp != xyes; then |
14824 | if test x$support_utmp != xyes; then |
14686 | echo " utmp support: disabled" |
14825 | echo " utmp support: disabled" |
14687 | echo |
14826 | echo |
14688 | else |
14827 | else |
14689 | echo " utmp support: enabled |
14828 | echo " utmp support: enabled |
14690 | utmp file: $rxvt_cv_path_utmp |
14829 | utmp file: $path_utmp |
14691 | utmpx file: $rxvt_cv_path_utmpx |
14830 | utmpx file: $path_utmpx |
14692 | wtmp file: $rxvt_cv_path_wtmp |
14831 | wtmp file: $path_wtmp |
14693 | wtmpx file: $rxvt_cv_path_wtmpx |
14832 | wtmpx file: $path_wtmpx |
14694 | lastlog file: $rxvt_cv_path_lastlog |
14833 | lastlog file: $path_lastlog |
14695 | ttys/ttytab file: $rxvt_cv_path_ttytab |
14834 | lastlogx file: $path_lastlogx" |
14696 | embedded perl: $support_perl" |
|
|
14697 | echo |
|
|
14698 | fi |
14835 | fi |
14699 | if test x$term != x; then |
14836 | if test x$term != x; then |
14700 | echo " set TERM to: $term" |
14837 | echo " set TERM to: $term" |
14701 | fi |
14838 | fi |
14702 | if test x$terminfo != x; then |
14839 | if test x$terminfo != x; then |
… | |
… | |
14705 | echo " default resource name: $RESNAME" |
14842 | echo " default resource name: $RESNAME" |
14706 | echo " resource class: $RESCLASS" |
14843 | echo " resource class: $RESCLASS" |
14707 | if test x$RESFALLBACK != x; then |
14844 | if test x$RESFALLBACK != x; then |
14708 | echo " resource class fallback: $RESFALLBACK" |
14845 | echo " resource class fallback: $RESFALLBACK" |
14709 | fi |
14846 | fi |
|
|
14847 | echo |
|
|
14848 | echo " embedded perl: $support_perl" |
14710 | echo |
14849 | echo |
14711 | if test x$support_xpm = xneedsmanualspecification; then |
14850 | if test x$support_xpm = xneedsmanualspecification; then |
14712 | echo ".----------------------------------------------------------------." |
14851 | echo ".----------------------------------------------------------------." |
14713 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14852 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14714 | echo ". XPM includes files and libraries could not be found. ." |
14853 | echo ". XPM includes files and libraries could not be found. ." |