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

Comparing rxvt-unicode/configure (file contents):
Revision 1.86 by root, Sat Jan 21 22:34:05 2006 UTC vs.
Revision 1.94 by root, Wed Jan 25 22:09:33 2006 UTC

307#endif 307#endif
308#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define 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' 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME MV 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'
313ac_subst_files='' 313ac_subst_files=''
314 314
315# Initialize some variables set by options. 315# Initialize some variables set by options.
316ac_init_help= 316ac_init_help=
317ac_init_version=false 317ac_init_version=false
870 NOTE: automatically enabled with --enable-shared 870 NOTE: automatically enabled with --enable-shared
871 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 871 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
872 --enable-combining enable composition of base and combining characters 872 --enable-combining enable composition of base and combining characters
873 --enable-xft enable xft support on systems that have it 873 --enable-xft enable xft support on systems that have it
874 --enable-font-styles enable bold and italic support 874 --enable-font-styles enable bold and italic support
875 --enable-utmp enable utmp (utmpx) support
876 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
877 --enable-lastlog enable lastlog support (requires --enable-utmp)
878 --enable-xpm-background enable XPM background pixmaps 875 --enable-xpm-background enable 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
909Optional Packages: 904Optional 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)
3302ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3297ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3303ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3298ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3304 3299
3305if test -z "$orig_CXXFLAGS"; then 3300if test -z "$orig_CXXFLAGS"; then
3306 if test x$GCC = xyes && test "x$GXX" = xyes; then 3301 if test x$GCC = xyes && test "x$GXX" = xyes; then
3307 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3302 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3308 cat >conftest.$ac_ext <<_ACEOF 3303 cat >conftest.$ac_ext <<_ACEOF
3309/* confdefs.h. */ 3304/* confdefs.h. */
3310_ACEOF 3305_ACEOF
3311cat confdefs.h >>conftest.$ac_ext 3306cat confdefs.h >>conftest.$ac_ext
3312cat >>conftest.$ac_ext <<_ACEOF 3307cat >>conftest.$ac_ext <<_ACEOF
4083fi 4078fi
4084rm -f conftest.err conftest.$ac_objext \ 4079rm -f conftest.err conftest.$ac_objext \
4085 conftest$ac_exeext conftest.$ac_ext 4080 conftest$ac_exeext conftest.$ac_ext
4086 4081
4087 4082
4088MALLOC_TYPE=S
4089
4090support_frills=yes 4083support_frills=yes
4091support_inheritpixmap=yes 4084support_inheritpixmap=yes
4092support_tinting=yes 4085support_tinting=yes
4093support_fading=yes 4086support_fading=yes
4094support_keepscrolling=yes 4087support_keepscrolling=yes
4095support_selectionscrolling=yes 4088support_selectionscrolling=yes
4096support_mousewheel=yes 4089support_mousewheel=yes
4097support_mouseslipwheel=yes 4090support_mouseslipwheel=yes
4098support_utmp=yes
4099support_wtmp=yes
4100support_lastlog=yes
4101support_text_blink=yes 4091support_text_blink=yes
4102support_pointer_blank=yes 4092support_pointer_blank=yes
4103support_scroll_rxvt=yes 4093support_scroll_rxvt=yes
4104support_scroll_next=yes 4094support_scroll_next=yes
4105support_scroll_xterm=yes 4095support_scroll_xterm=yes
4129# Check whether --enable-everything or --disable-everything was given. 4119# Check whether --enable-everything or --disable-everything was given.
4130if test "${enable_everything+set}" = set; then 4120if test "${enable_everything+set}" = set; then
4131 enableval="$enable_everything" 4121 enableval="$enable_everything"
4132 4122
4133 if test x$enableval = xno; then 4123 if test x$enableval = xno; then
4134 support_24bit=no
4135 support_frills=no 4124 support_frills=no
4136 support_inheritpixmap=no 4125 support_inheritpixmap=no
4137 support_tinting=no 4126 support_tinting=no
4138 support_fading=no 4127 support_fading=no
4139 support_keepscrolling=no 4128 support_keepscrolling=no
4159 support_styles=no 4148 support_styles=no
4160 support_perl=no 4149 support_perl=no
4161 codesets= 4150 codesets=
4162 fi 4151 fi
4163 if test x$enableval = xyes; then 4152 if test x$enableval = xyes; then
4164 support_24bit=yes
4165 support_frills=yes 4153 support_frills=yes
4166 support_inheritpixmap=yes 4154 support_inheritpixmap=yes
4167 support_tinting=yes 4155 support_tinting=yes
4168 support_fading=yes 4156 support_fading=yes
4169 support_keepscrolling=yes 4157 support_keepscrolling=yes
4223 if test x$enableval = xyes -o x$enableval = xno; then 4211 if test x$enableval = xyes -o x$enableval = xno; then
4224 support_styles=$enableval 4212 support_styles=$enableval
4225 fi 4213 fi
4226fi; 4214fi;
4227 4215
4228# Check whether --enable-utmp or --disable-utmp was given.
4229if test "${enable_utmp+set}" = set; then
4230 enableval="$enable_utmp"
4231 if test x$enableval = xyes -o x$enableval = xno; then
4232 support_utmp=$enableval
4233 fi
4234fi;
4235
4236# Check whether --enable-wtmp or --disable-wtmp was given.
4237if test "${enable_wtmp+set}" = set; then
4238 enableval="$enable_wtmp"
4239 if test x$enableval = xyes -o x$enableval = xno; then
4240 support_wtmp=$enableval
4241 fi
4242fi;
4243
4244# Check whether --enable-lastlog or --disable-lastlog was given.
4245if test "${enable_lastlog+set}" = set; then
4246 enableval="$enable_lastlog"
4247 if test x$enableval = xyes -o x$enableval = xno; then
4248 support_lastlog=$enableval
4249 fi
4250fi;
4251
4252# Check whether --enable-xpm-background or --disable-xpm-background was given. 4216# Check whether --enable-xpm-background or --disable-xpm-background was given.
4253if test "${enable_xpm_background+set}" = set; then 4217if test "${enable_xpm_background+set}" = set; then
4254 enableval="$enable_xpm_background" 4218 enableval="$enable_xpm_background"
4255 if test x$enableval = xyes -o x$enableval = xno; then 4219 if test x$enableval = xyes -o x$enableval = xno; then
4256 support_xpm=$enableval 4220 support_xpm=$enableval
4335 if test x$enableval = xyes -o x$enableval = xno; then 4299 if test x$enableval = xyes -o x$enableval = xno; then
4336 support_xim=$enableval 4300 support_xim=$enableval
4337 fi 4301 fi
4338fi; 4302fi;
4339 4303
4340# Check whether --enable-ttygid or --disable-ttygid was given.
4341if test "${enable_ttygid+set}" = set; then
4342 enableval="$enable_ttygid"
4343 if test x$enableval = xyes; then
4344
4345cat >>confdefs.h <<\_ACEOF
4346#define TTY_GID_SUPPORT 1
4347_ACEOF
4348
4349 fi
4350fi;
4351
4352# Check whether --enable-backspace-key or --disable-backspace-key was given. 4304# Check whether --enable-backspace-key or --disable-backspace-key was given.
4353if test "${enable_backspace_key+set}" = set; then 4305if test "${enable_backspace_key+set}" = set; then
4354 enableval="$enable_backspace_key" 4306 enableval="$enable_backspace_key"
4355 if test x$enableval = xno; then 4307 if test x$enableval = xno; then
4356 4308
4480 if test x$enableval = xyes -o x$enableval = xno; then 4432 if test x$enableval = xyes -o x$enableval = xno; then
4481 support_frills=$enableval 4433 support_frills=$enableval
4482 fi 4434 fi
4483fi; 4435fi;
4484 4436
4485# Check whether --enable-24bit or --disable-24bit was given.
4486if test "${enable_24bit+set}" = set; then
4487 enableval="$enable_24bit"
4488 if test x$enableval = xyes -o x$enableval = xno; then
4489 support_24bit=$enableval
4490 fi
4491fi;
4492
4493# Check whether --enable-keepscrolling or --disable-keepscrolling was given. 4437# Check whether --enable-keepscrolling or --disable-keepscrolling was given.
4494if test "${enable_keepscrolling+set}" = set; then 4438if test "${enable_keepscrolling+set}" = set; then
4495 enableval="$enable_keepscrolling" 4439 enableval="$enable_keepscrolling"
4496 if test x$enableval = xyes -o x$enableval = xno; then 4440 if test x$enableval = xyes -o x$enableval = xno; then
4497 support_keepscrolling=$enableval 4441 support_keepscrolling=$enableval
4517# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 4461# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
4518if test "${enable_slipwheeling+set}" = set; then 4462if test "${enable_slipwheeling+set}" = set; then
4519 enableval="$enable_slipwheeling" 4463 enableval="$enable_slipwheeling"
4520 if test x$enableval = xyes -o x$enableval = xno; then 4464 if test x$enableval = xyes -o x$enableval = xno; then
4521 support_mouseslipwheel=$enableval 4465 support_mouseslipwheel=$enableval
4522 fi
4523fi;
4524
4525# Check whether --enable-dmalloc or --disable-dmalloc was given.
4526if test "${enable_dmalloc+set}" = set; then
4527 enableval="$enable_dmalloc"
4528 if test x$enableval = xyes; then
4529 MALLOC_TYPE=G
4530 DEBUG=-DDEBUG_MALLOC
4531 DLIB="-L/usr/local/lib -ldmalloc"
4532 DINCLUDE=-I/usr/local/include
4533 fi
4534fi;
4535
4536# Check whether --enable-dlmalloc or --disable-dlmalloc was given.
4537if test "${enable_dlmalloc+set}" = set; then
4538 enableval="$enable_dlmalloc"
4539 if test x$enableval = xyes; then
4540 MALLOC_TYPE=D
4541 DEBUG=
4542 DLIB="-L/usr/local/lib -ldlmalloc"
4543 DINCLUDE=
4544 fi 4466 fi
4545fi; 4467fi;
4546 4468
4547# Check whether --enable-smart-resize or --disable-smart-resize was given. 4469# Check whether --enable-smart-resize or --disable-smart-resize was given.
4548if test "${enable_smart_resize+set}" = set; then 4470if test "${enable_smart_resize+set}" = set; then
4632MV=$ac_cv_path_MV 4554MV=$ac_cv_path_MV
4633 4555
4634if test -n "$MV"; then 4556if test -n "$MV"; then
4635 echo "$as_me:$LINENO: result: $MV" >&5 4557 echo "$as_me:$LINENO: result: $MV" >&5
4636echo "${ECHO_T}$MV" >&6 4558echo "${ECHO_T}$MV" >&6
4637else
4638 echo "$as_me:$LINENO: result: no" >&5
4639echo "${ECHO_T}no" >&6
4640fi
4641
4642# Extract the first word of "rm", so it can be a program name with args.
4643set dummy rm; ac_word=$2
4644echo "$as_me:$LINENO: checking for $ac_word" >&5
4645echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4646if test "${ac_cv_path_RM+set}" = set; then
4647 echo $ECHO_N "(cached) $ECHO_C" >&6
4648else
4649 case $RM in
4650 [\\/]* | ?:[\\/]*)
4651 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4652 ;;
4653 *)
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655for as_dir in $PATH
4656do
4657 IFS=$as_save_IFS
4658 test -z "$as_dir" && as_dir=.
4659 for ac_exec_ext in '' $ac_executable_extensions; do
4660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4661 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 break 2
4664 fi
4665done
4666done
4667
4668 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
4669 ;;
4670esac
4671fi
4672RM=$ac_cv_path_RM
4673
4674if test -n "$RM"; then
4675 echo "$as_me:$LINENO: result: $RM" >&5
4676echo "${ECHO_T}$RM" >&6
4677else 4559else
4678 echo "$as_me:$LINENO: result: no" >&5 4560 echo "$as_me:$LINENO: result: no" >&5
4679echo "${ECHO_T}no" >&6 4561echo "${ECHO_T}no" >&6
4680fi 4562fi
4681 4563
10068 9950
10069 9951
10070 9952
10071 9953
10072 9954
10073
10074
10075
10076
10077for ac_func in \ 9955for ac_func in \
10078 unsetenv \ 9956 unsetenv \
10079 setutent \ 9957 setutent \
10080 seteuid \
10081 setresuid \
10082 setreuid \
10083 on_exit \ 9958 on_exit \
10084 nanosleep \
10085 9959
10086do 9960do
10087as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9961as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10088echo "$as_me:$LINENO: checking for $ac_func" >&5 9962echo "$as_me:$LINENO: checking for $ac_func" >&5
10089echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9963echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10181 10055
10182fi 10056fi
10183done 10057done
10184 10058
10185 10059
10060
10061support_utmp=yes
10062support_wtmp=yes
10063support_lastlog=yes
10064
10065# Check whether --enable-utmp or --disable-utmp was given.
10066if test "${enable_utmp+set}" = set; then
10067 enableval="$enable_utmp"
10068 if test x$enableval = xyes -o x$enableval = xno; then
10069 support_utmp=$enableval
10070 fi
10071fi;
10072
10073# Check whether --enable-wtmp or --disable-wtmp was given.
10074if test "${enable_wtmp+set}" = set; then
10075 enableval="$enable_wtmp"
10076 if test x$enableval = xyes -o x$enableval = xno; then
10077 support_wtmp=$enableval
10078 fi
10079fi;
10080
10081# Check whether --enable-lastlog or --disable-lastlog was given.
10082if test "${enable_lastlog+set}" = set; then
10083 enableval="$enable_lastlog"
10084 if test x$enableval = xyes -o x$enableval = xno; then
10085 support_lastlog=$enableval
10086 fi
10087fi;
10088
10089if test x$support_utmp = xyes; then
10090
10091cat >>confdefs.h <<\_ACEOF
10092#define UTMP_SUPPORT 1
10093_ACEOF
10094
10095fi
10096if test x$support_wtmp = xyes; then
10097
10098cat >>confdefs.h <<\_ACEOF
10099#define WTMP_SUPPORT 1
10100_ACEOF
10101
10102fi
10103if test x$support_lastlog = xyes; then
10104
10105cat >>confdefs.h <<\_ACEOF
10106#define LASTLOG_SUPPORT 1
10107_ACEOF
10108
10109fi
10186 10110
10187 10111
10188 10112
10189 10113
10190for ac_func in \ 10114for ac_func in \
10586 10510
10587fi 10511fi
10588if test $ac_cv_header_utmp_h = yes; then 10512if test $ac_cv_header_utmp_h = yes; then
10589 echo "$as_me:$LINENO: checking for struct utmp" >&5 10513 echo "$as_me:$LINENO: checking for struct utmp" >&5
10590echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 10514echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6
10591if test "${rxvt_cv_struct_utmp+set}" = set; then 10515if test "${struct_utmp+set}" = set; then
10592 echo $ECHO_N "(cached) $ECHO_C" >&6 10516 echo $ECHO_N "(cached) $ECHO_C" >&6
10593else 10517else
10594 cat >conftest.$ac_ext <<_ACEOF 10518 cat >conftest.$ac_ext <<_ACEOF
10595/* confdefs.h. */ 10519/* confdefs.h. */
10596_ACEOF 10520_ACEOF
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5 10551 (eval $ac_try) 2>&5
10628 ac_status=$? 10552 ac_status=$?
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; }; then 10554 (exit $ac_status); }; }; then
10631 rxvt_cv_struct_utmp=yes 10555 struct_utmp=yes
10632else 10556else
10633 echo "$as_me: failed program was:" >&5 10557 echo "$as_me: failed program was:" >&5
10634sed 's/^/| /' conftest.$ac_ext >&5 10558sed 's/^/| /' conftest.$ac_ext >&5
10635 10559
10636rxvt_cv_struct_utmp=no 10560struct_utmp=no
10637fi 10561fi
10638rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10562rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10639fi 10563fi
10640echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 10564echo "$as_me:$LINENO: result: $struct_utmp" >&5
10641echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 10565echo "${ECHO_T}$struct_utmp" >&6
10642if test x$rxvt_cv_struct_utmp = xyes; then 10566if test x$struct_utmp = xyes; then
10643 10567
10644cat >>confdefs.h <<\_ACEOF 10568cat >>confdefs.h <<\_ACEOF
10645#define HAVE_STRUCT_UTMP 1 10569#define HAVE_STRUCT_UTMP 1
10646_ACEOF 10570_ACEOF
10647 10571
10648fi 10572fi
10649 10573
10650 10574
10651echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 10575echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5
10652echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 10576echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6
10653if test "${rxvt_cv_struct_utmp_host+set}" = set; then 10577if test "${struct_utmp_host+set}" = set; then
10654 echo $ECHO_N "(cached) $ECHO_C" >&6 10578 echo $ECHO_N "(cached) $ECHO_C" >&6
10655else 10579else
10656 cat >conftest.$ac_ext <<_ACEOF 10580 cat >conftest.$ac_ext <<_ACEOF
10657/* confdefs.h. */ 10581/* confdefs.h. */
10658_ACEOF 10582_ACEOF
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5 10613 (eval $ac_try) 2>&5
10690 ac_status=$? 10614 ac_status=$?
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; }; then 10616 (exit $ac_status); }; }; then
10693 rxvt_cv_struct_utmp_host=yes 10617 struct_utmp_host=yes
10694else 10618else
10695 echo "$as_me: failed program was:" >&5 10619 echo "$as_me: failed program was:" >&5
10696sed 's/^/| /' conftest.$ac_ext >&5 10620sed 's/^/| /' conftest.$ac_ext >&5
10697 10621
10698rxvt_cv_struct_utmp_host=no 10622struct_utmp_host=no
10699fi 10623fi
10700rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10624rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10701fi 10625fi
10702echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 10626echo "$as_me:$LINENO: result: $struct_utmp_host" >&5
10703echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 10627echo "${ECHO_T}$struct_utmp_host" >&6
10704if test x$rxvt_cv_struct_utmp_host = xyes; then 10628if test x$struct_utmp_host = xyes; then
10705 10629
10706cat >>confdefs.h <<\_ACEOF 10630cat >>confdefs.h <<\_ACEOF
10707#define HAVE_UTMP_HOST 1 10631#define HAVE_UTMP_HOST 1
10708_ACEOF 10632_ACEOF
10709 10633
10710fi 10634fi
10711 10635
10712echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 10636echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5
10713echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 10637echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6
10714if test "${rxvt_cv_struct_utmp_pid+set}" = set; then 10638if test "${struct_utmp_pid+set}" = set; then
10715 echo $ECHO_N "(cached) $ECHO_C" >&6 10639 echo $ECHO_N "(cached) $ECHO_C" >&6
10716else 10640else
10717 cat >conftest.$ac_ext <<_ACEOF 10641 cat >conftest.$ac_ext <<_ACEOF
10718/* confdefs.h. */ 10642/* confdefs.h. */
10719_ACEOF 10643_ACEOF
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5 10674 (eval $ac_try) 2>&5
10751 ac_status=$? 10675 ac_status=$?
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; }; then 10677 (exit $ac_status); }; }; then
10754 rxvt_cv_struct_utmp_pid=yes 10678 struct_utmp_pid=yes
10755else 10679else
10756 echo "$as_me: failed program was:" >&5 10680 echo "$as_me: failed program was:" >&5
10757sed 's/^/| /' conftest.$ac_ext >&5 10681sed 's/^/| /' conftest.$ac_ext >&5
10758 10682
10759rxvt_cv_struct_utmp_pid=no 10683struct_utmp_pid=no
10760fi 10684fi
10761rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10685rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10762fi 10686fi
10763echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 10687echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5
10764echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 10688echo "${ECHO_T}$struct_utmp_pid" >&6
10765if test x$rxvt_cv_struct_utmp_pid = xyes; then 10689if test x$struct_utmp_pid = xyes; then
10766 10690
10767cat >>confdefs.h <<\_ACEOF 10691cat >>confdefs.h <<\_ACEOF
10768#define HAVE_UTMP_PID 1 10692#define HAVE_UTMP_PID 1
10769_ACEOF 10693_ACEOF
10770 10694
10911 10835
10912fi 10836fi
10913if test $ac_cv_header_utmpx_h = yes; then 10837if test $ac_cv_header_utmpx_h = yes; then
10914 echo "$as_me:$LINENO: checking for struct utmpx" >&5 10838 echo "$as_me:$LINENO: checking for struct utmpx" >&5
10915echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 10839echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6
10916if test "${rxvt_cv_struct_utmpx+set}" = set; then 10840if test "${struct_utmpx+set}" = set; then
10917 echo $ECHO_N "(cached) $ECHO_C" >&6 10841 echo $ECHO_N "(cached) $ECHO_C" >&6
10918else 10842else
10919 cat >conftest.$ac_ext <<_ACEOF 10843 cat >conftest.$ac_ext <<_ACEOF
10920/* confdefs.h. */ 10844/* confdefs.h. */
10921_ACEOF 10845_ACEOF
10951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10952 (eval $ac_try) 2>&5 10876 (eval $ac_try) 2>&5
10953 ac_status=$? 10877 ac_status=$?
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); }; }; then 10879 (exit $ac_status); }; }; then
10956 rxvt_cv_struct_utmpx=yes 10880 struct_utmpx=yes
10957else 10881else
10958 echo "$as_me: failed program was:" >&5 10882 echo "$as_me: failed program was:" >&5
10959sed 's/^/| /' conftest.$ac_ext >&5 10883sed 's/^/| /' conftest.$ac_ext >&5
10960 10884
10961rxvt_cv_struct_utmpx=no 10885struct_utmpx=no
10962fi 10886fi
10963rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10887rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10964fi 10888fi
10965echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 10889echo "$as_me:$LINENO: result: $struct_utmpx" >&5
10966echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 10890echo "${ECHO_T}$struct_utmpx" >&6
10967if test x$rxvt_cv_struct_utmpx = xyes; then 10891if test x$struct_utmpx = xyes; then
10968 10892
10969cat >>confdefs.h <<\_ACEOF 10893cat >>confdefs.h <<\_ACEOF
10970#define HAVE_STRUCT_UTMPX 1 10894#define HAVE_STRUCT_UTMPX 1
10971_ACEOF 10895_ACEOF
10972 10896
10973fi 10897fi
10974 10898
10975 10899
10976echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 10900echo "$as_me:$LINENO: checking for host in utmpx struct" >&5
10977echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 10901echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6
10978if test "${rxvt_cv_struct_utmpx_host+set}" = set; then 10902if test "${struct_utmpx_host+set}" = set; then
10979 echo $ECHO_N "(cached) $ECHO_C" >&6 10903 echo $ECHO_N "(cached) $ECHO_C" >&6
10980else 10904else
10981 cat >conftest.$ac_ext <<_ACEOF 10905 cat >conftest.$ac_ext <<_ACEOF
10982/* confdefs.h. */ 10906/* confdefs.h. */
10983_ACEOF 10907_ACEOF
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5 10938 (eval $ac_try) 2>&5
11015 ac_status=$? 10939 ac_status=$?
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; }; then 10941 (exit $ac_status); }; }; then
11018 rxvt_cv_struct_utmpx_host=yes 10942 struct_utmpx_host=yes
11019else 10943else
11020 echo "$as_me: failed program was:" >&5 10944 echo "$as_me: failed program was:" >&5
11021sed 's/^/| /' conftest.$ac_ext >&5 10945sed 's/^/| /' conftest.$ac_ext >&5
11022 10946
11023rxvt_cv_struct_utmpx_host=no 10947struct_utmpx_host=no
11024fi 10948fi
11025rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10949rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11026fi 10950fi
11027echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 10951echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5
11028echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 10952echo "${ECHO_T}$struct_utmpx_host" >&6
11029if test x$rxvt_cv_struct_utmpx_host = xyes; then 10953if test x$struct_utmpx_host = xyes; then
11030 10954
11031cat >>confdefs.h <<\_ACEOF 10955cat >>confdefs.h <<\_ACEOF
11032#define HAVE_UTMPX_HOST 1 10956#define HAVE_UTMPX_HOST 1
11033_ACEOF 10957_ACEOF
11034 10958
11035fi 10959fi
11036 10960
11037echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 10961echo "$as_me:$LINENO: checking for session in utmpx struct" >&5
11038echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 10962echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6
11039if test "${rxvt_cv_struct_utmpx_session+set}" = set; then 10963if test "${struct_utmpx_session+set}" = set; then
11040 echo $ECHO_N "(cached) $ECHO_C" >&6 10964 echo $ECHO_N "(cached) $ECHO_C" >&6
11041else 10965else
11042 cat >conftest.$ac_ext <<_ACEOF 10966 cat >conftest.$ac_ext <<_ACEOF
11043/* confdefs.h. */ 10967/* confdefs.h. */
11044_ACEOF 10968_ACEOF
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5 10999 (eval $ac_try) 2>&5
11076 ac_status=$? 11000 ac_status=$?
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; }; then 11002 (exit $ac_status); }; }; then
11079 rxvt_cv_struct_utmpx_session=yes 11003 struct_utmpx_session=yes
11080else 11004else
11081 echo "$as_me: failed program was:" >&5 11005 echo "$as_me: failed program was:" >&5
11082sed 's/^/| /' conftest.$ac_ext >&5 11006sed 's/^/| /' conftest.$ac_ext >&5
11083 11007
11084rxvt_cv_struct_utmpx_session=no 11008struct_utmpx_session=no
11085fi 11009fi
11086rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11010rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11087fi 11011fi
11088echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 11012echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5
11089echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 11013echo "${ECHO_T}$struct_utmpx_session" >&6
11090if test x$rxvt_cv_struct_utmpx_session = xyes; then 11014if test x$struct_utmpx_session = xyes; then
11091 11015
11092cat >>confdefs.h <<\_ACEOF 11016cat >>confdefs.h <<\_ACEOF
11093#define HAVE_UTMPX_SESSION 1 11017#define HAVE_UTMPX_SESSION 1
11094_ACEOF 11018_ACEOF
11095 11019
11098fi 11022fi
11099 11023
11100 11024
11101echo "$as_me:$LINENO: checking for struct lastlog" >&5 11025echo "$as_me:$LINENO: checking for struct lastlog" >&5
11102echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 11026echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
11103if test "${rxvt_cv_struct_lastlog+set}" = set; then 11027if test "${struct_lastlog+set}" = set; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6 11028 echo $ECHO_N "(cached) $ECHO_C" >&6
11105else 11029else
11106 cat >conftest.$ac_ext <<_ACEOF 11030 cat >conftest.$ac_ext <<_ACEOF
11107/* confdefs.h. */ 11031/* confdefs.h. */
11108_ACEOF 11032_ACEOF
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5 11067 (eval $ac_try) 2>&5
11144 ac_status=$? 11068 ac_status=$?
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; }; then 11070 (exit $ac_status); }; }; then
11147 rxvt_cv_struct_lastlog=yes 11071 struct_lastlog=yes
11148else 11072else
11149 echo "$as_me: failed program was:" >&5 11073 echo "$as_me: failed program was:" >&5
11150sed 's/^/| /' conftest.$ac_ext >&5 11074sed 's/^/| /' conftest.$ac_ext >&5
11151 11075
11152rxvt_cv_struct_lastlog=no 11076struct_lastlog=no
11153fi 11077fi
11154rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11078rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11155fi 11079fi
11156echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 11080echo "$as_me:$LINENO: result: $struct_lastlog" >&5
11157echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 11081echo "${ECHO_T}$struct_lastlog" >&6
11158if test x$rxvt_cv_struct_lastlog = xyes; then 11082if test x$struct_lastlog = xyes; then
11159 11083
11160cat >>confdefs.h <<\_ACEOF 11084cat >>confdefs.h <<\_ACEOF
11161#define HAVE_STRUCT_LASTLOG 1 11085#define HAVE_STRUCT_LASTLOG 1
11162_ACEOF 11086_ACEOF
11163 11087
11164fi 11088fi
11165 11089
11166echo "$as_me:$LINENO: checking for struct lastlogx" >&5 11090echo "$as_me:$LINENO: checking for struct lastlogx" >&5
11167echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 11091echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6
11168if test "${rxvt_cv_struct_lastlogx+set}" = set; then 11092if test "${struct_lastlogx+set}" = set; then
11169 echo $ECHO_N "(cached) $ECHO_C" >&6 11093 echo $ECHO_N "(cached) $ECHO_C" >&6
11170else 11094else
11171 cat >conftest.$ac_ext <<_ACEOF 11095 cat >conftest.$ac_ext <<_ACEOF
11172/* confdefs.h. */ 11096/* confdefs.h. */
11173_ACEOF 11097_ACEOF
11207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11208 (eval $ac_try) 2>&5 11132 (eval $ac_try) 2>&5
11209 ac_status=$? 11133 ac_status=$?
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; }; then 11135 (exit $ac_status); }; }; then
11212 rxvt_cv_struct_lastlogx=yes 11136 struct_lastlogx=yes
11213else 11137else
11214 echo "$as_me: failed program was:" >&5 11138 echo "$as_me: failed program was:" >&5
11215sed 's/^/| /' conftest.$ac_ext >&5 11139sed 's/^/| /' conftest.$ac_ext >&5
11216 11140
11217rxvt_cv_struct_lastlogx=no 11141struct_lastlogx=no
11218fi 11142fi
11219rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11143rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11220fi 11144fi
11221echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 11145echo "$as_me:$LINENO: result: $struct_lastlogx" >&5
11222echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 11146echo "${ECHO_T}$struct_lastlogx" >&6
11223if test x$rxvt_cv_struct_lastlogx = xyes; then 11147if test x$struct_lastlogx = xyes; then
11224 11148
11225cat >>confdefs.h <<\_ACEOF 11149cat >>confdefs.h <<\_ACEOF
11226#define HAVE_STRUCT_LASTLOGX 1 11150#define HAVE_STRUCT_LASTLOGX 1
11227_ACEOF 11151_ACEOF
11228 11152
11229fi 11153fi
11230 11154
11231 11155
11232echo "$as_me:$LINENO: checking where utmp is located" >&5 11156echo "$as_me:$LINENO: checking where utmp is located" >&5
11233echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 11157echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6
11234if test "${rxvt_cv_path_utmp+set}" = set; then 11158if test "${path_utmp+set}" = set; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6 11159 echo $ECHO_N "(cached) $ECHO_C" >&6
11236else 11160else
11237 if test "$cross_compiling" = yes; then 11161 if test "$cross_compiling" = yes; then
11238 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 11162 { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5
11239echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} 11163echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
11240else 11164else
11241 cat >conftest.$ac_ext <<_ACEOF 11165 cat >conftest.$ac_ext <<_ACEOF
11242/* confdefs.h. */ 11166/* confdefs.h. */
11243_ACEOF 11167_ACEOF
11244cat confdefs.h >>conftest.$ac_ext 11168cat confdefs.h >>conftest.$ac_ext
11280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11281 (eval $ac_try) 2>&5 11205 (eval $ac_try) 2>&5
11282 ac_status=$? 11206 ac_status=$?
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); }; }; then 11208 (exit $ac_status); }; }; then
11285 rxvt_cv_path_utmp=`cat conftestval` 11209 path_utmp=`cat conftestval`
11286else 11210else
11287 echo "$as_me: program exited with status $ac_status" >&5 11211 echo "$as_me: program exited with status $ac_status" >&5
11288echo "$as_me: failed program was:" >&5 11212echo "$as_me: failed program was:" >&5
11289sed 's/^/| /' conftest.$ac_ext >&5 11213sed 's/^/| /' conftest.$ac_ext >&5
11290 11214
11291( exit $ac_status ) 11215( exit $ac_status )
11292rxvt_cv_path_utmp= 11216path_utmp=
11293fi 11217fi
11294rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11218rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11295fi 11219fi
11296fi 11220fi
11297echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 11221echo "$as_me:$LINENO: result: $path_utmp" >&5
11298echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 11222echo "${ECHO_T}$path_utmp" >&6
11299if test x$rxvt_cv_path_utmp != x; then 11223if test x$path_utmp != x; then
11300 11224
11301cat >>confdefs.h <<_ACEOF 11225cat >>confdefs.h <<_ACEOF
11302#define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" 11226#define UTMP_FILE "$path_utmp"
11303_ACEOF 11227_ACEOF
11304 11228
11305fi 11229fi
11306 11230
11307 11231
11308echo "$as_me:$LINENO: checking where utmpx is located" >&5 11232echo "$as_me:$LINENO: checking where utmpx is located" >&5
11309echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 11233echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6
11310if test "${rxvt_cv_path_utmpx+set}" = set; then 11234if test "${path_utmpx+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6 11235 echo $ECHO_N "(cached) $ECHO_C" >&6
11312else 11236else
11313 if test "$cross_compiling" = yes; then 11237 if test "$cross_compiling" = yes; then
11314 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 11238 { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5
11315echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} 11239echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;}
11316else 11240else
11317 cat >conftest.$ac_ext <<_ACEOF 11241 cat >conftest.$ac_ext <<_ACEOF
11318/* confdefs.h. */ 11242/* confdefs.h. */
11319_ACEOF 11243_ACEOF
11320cat confdefs.h >>conftest.$ac_ext 11244cat confdefs.h >>conftest.$ac_ext
11366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11367 (eval $ac_try) 2>&5 11291 (eval $ac_try) 2>&5
11368 ac_status=$? 11292 ac_status=$?
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); }; }; then 11294 (exit $ac_status); }; }; then
11371 rxvt_cv_path_utmpx=`cat conftestval` 11295 path_utmpx=`cat conftestval`
11372else 11296else
11373 echo "$as_me: program exited with status $ac_status" >&5 11297 echo "$as_me: program exited with status $ac_status" >&5
11374echo "$as_me: failed program was:" >&5 11298echo "$as_me: failed program was:" >&5
11375sed 's/^/| /' conftest.$ac_ext >&5 11299sed 's/^/| /' conftest.$ac_ext >&5
11376 11300
11377( exit $ac_status ) 11301( exit $ac_status )
11378rxvt_cv_path_utmpx= 11302path_utmpx=
11379fi 11303fi
11380rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11304rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11381fi 11305fi
11382fi 11306fi
11383echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 11307echo "$as_me:$LINENO: result: $path_utmpx" >&5
11384echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 11308echo "${ECHO_T}$path_utmpx" >&6
11385if test x$rxvt_cv_path_utmpx != x; then 11309if test x$path_utmpx != x; then
11386 11310
11387cat >>confdefs.h <<_ACEOF 11311cat >>confdefs.h <<_ACEOF
11388#define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" 11312#define UTMPX_FILE "$path_utmpx"
11389_ACEOF 11313_ACEOF
11390 11314
11391fi 11315fi
11392 11316
11393 11317
11394echo "$as_me:$LINENO: checking where wtmp is located" >&5 11318echo "$as_me:$LINENO: checking where wtmp is located" >&5
11395echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 11319echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6
11396if test "${rxvt_cv_path_wtmp+set}" = set; then 11320if test "${path_wtmp+set}" = set; then
11397 echo $ECHO_N "(cached) $ECHO_C" >&6 11321 echo $ECHO_N "(cached) $ECHO_C" >&6
11398else 11322else
11399 if test "$cross_compiling" = yes; then 11323 if test "$cross_compiling" = yes; then
11400 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 11324 { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5
11401echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} 11325echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
11402else 11326else
11403 cat >conftest.$ac_ext <<_ACEOF 11327 cat >conftest.$ac_ext <<_ACEOF
11404/* confdefs.h. */ 11328/* confdefs.h. */
11405_ACEOF 11329_ACEOF
11406cat confdefs.h >>conftest.$ac_ext 11330cat confdefs.h >>conftest.$ac_ext
11444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11445 (eval $ac_try) 2>&5 11369 (eval $ac_try) 2>&5
11446 ac_status=$? 11370 ac_status=$?
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; }; then 11372 (exit $ac_status); }; }; then
11449 rxvt_cv_path_wtmp=`cat conftestval` 11373 path_wtmp=`cat conftestval`
11450else 11374else
11451 echo "$as_me: program exited with status $ac_status" >&5 11375 echo "$as_me: program exited with status $ac_status" >&5
11452echo "$as_me: failed program was:" >&5 11376echo "$as_me: failed program was:" >&5
11453sed 's/^/| /' conftest.$ac_ext >&5 11377sed 's/^/| /' conftest.$ac_ext >&5
11454 11378
11455( exit $ac_status ) 11379( exit $ac_status )
11456rxvt_cv_path_wtmp= 11380path_wtmp=
11457fi 11381fi
11458rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11382rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11459fi 11383fi
11460fi 11384fi
11461echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 11385echo "$as_me:$LINENO: result: $path_wtmp" >&5
11462echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 11386echo "${ECHO_T}$path_wtmp" >&6
11463if test x$rxvt_cv_path_wtmp != x; then 11387if test x$path_wtmp != x; then
11464 11388
11465cat >>confdefs.h <<_ACEOF 11389cat >>confdefs.h <<_ACEOF
11466#define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" 11390#define WTMP_FILE "$path_wtmp"
11467_ACEOF 11391_ACEOF
11468 11392
11469fi 11393fi
11470 11394
11471echo "$as_me:$LINENO: checking where wtmpx is located" >&5 11395echo "$as_me:$LINENO: checking where wtmpx is located" >&5
11472echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 11396echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6
11473if test "${rxvt_cv_path_wtmpx+set}" = set; then 11397if test "${path_wtmpx+set}" = set; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6 11398 echo $ECHO_N "(cached) $ECHO_C" >&6
11475else 11399else
11476 if test "$cross_compiling" = yes; then 11400 if test "$cross_compiling" = yes; then
11477 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 11401 { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5
11478echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} 11402echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;}
11479else 11403else
11480 cat >conftest.$ac_ext <<_ACEOF 11404 cat >conftest.$ac_ext <<_ACEOF
11481/* confdefs.h. */ 11405/* confdefs.h. */
11482_ACEOF 11406_ACEOF
11483cat confdefs.h >>conftest.$ac_ext 11407cat confdefs.h >>conftest.$ac_ext
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5 11445 (eval $ac_try) 2>&5
11522 ac_status=$? 11446 ac_status=$?
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; }; then 11448 (exit $ac_status); }; }; then
11525 rxvt_cv_path_wtmpx=`cat conftestval` 11449 path_wtmpx=`cat conftestval`
11526else 11450else
11527 echo "$as_me: program exited with status $ac_status" >&5 11451 echo "$as_me: program exited with status $ac_status" >&5
11528echo "$as_me: failed program was:" >&5 11452echo "$as_me: failed program was:" >&5
11529sed 's/^/| /' conftest.$ac_ext >&5 11453sed 's/^/| /' conftest.$ac_ext >&5
11530 11454
11531( exit $ac_status ) 11455( exit $ac_status )
11532rxvt_cv_path_wtmpx= 11456path_wtmpx=
11533fi 11457fi
11534rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11458rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11535fi 11459fi
11536fi 11460fi
11537echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 11461echo "$as_me:$LINENO: result: $path_wtmpx" >&5
11538echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 11462echo "${ECHO_T}$path_wtmpx" >&6
11539if test x$rxvt_cv_path_wtmpx != x; then 11463if test x$path_wtmpx != x; then
11540 11464
11541cat >>confdefs.h <<_ACEOF 11465cat >>confdefs.h <<_ACEOF
11542#define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" 11466#define WTMPX_FILE "$path_wtmpx"
11543_ACEOF 11467_ACEOF
11544 11468
11545fi 11469fi
11546 11470
11547echo "$as_me:$LINENO: checking where lastlog is located" >&5 11471echo "$as_me:$LINENO: checking where lastlog is located" >&5
11548echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 11472echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6
11549if test "${rxvt_cv_path_lastlog+set}" = set; then 11473if test "${path_lastlog+set}" = set; then
11550 echo $ECHO_N "(cached) $ECHO_C" >&6 11474 echo $ECHO_N "(cached) $ECHO_C" >&6
11551else 11475else
11552 if test "$cross_compiling" = yes; then 11476 if test "$cross_compiling" = yes; then
11553 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 11477 { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5
11554echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} 11478echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;}
11555else 11479else
11556 cat >conftest.$ac_ext <<_ACEOF 11480 cat >conftest.$ac_ext <<_ACEOF
11557/* confdefs.h. */ 11481/* confdefs.h. */
11558_ACEOF 11482_ACEOF
11559cat confdefs.h >>conftest.$ac_ext 11483cat confdefs.h >>conftest.$ac_ext
11601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11602 (eval $ac_try) 2>&5 11526 (eval $ac_try) 2>&5
11603 ac_status=$? 11527 ac_status=$?
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); }; }; then 11529 (exit $ac_status); }; }; then
11606 rxvt_cv_path_lastlog=`cat conftestval` 11530 path_lastlog=`cat conftestval`
11607else 11531else
11608 echo "$as_me: program exited with status $ac_status" >&5 11532 echo "$as_me: program exited with status $ac_status" >&5
11609echo "$as_me: failed program was:" >&5 11533echo "$as_me: failed program was:" >&5
11610sed 's/^/| /' conftest.$ac_ext >&5 11534sed 's/^/| /' conftest.$ac_ext >&5
11611 11535
11612( exit $ac_status ) 11536( exit $ac_status )
11613rxvt_cv_path_lastlog= 11537path_lastlog=
11614fi 11538fi
11615rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11539rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11616fi 11540fi
11617fi 11541fi
11618echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 11542echo "$as_me:$LINENO: result: $path_lastlog" >&5
11619echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 11543echo "${ECHO_T}$path_lastlog" >&6
11620if test x$rxvt_cv_path_lastlog != x; then 11544if test x$path_lastlog != x; then
11621 11545
11622cat >>confdefs.h <<_ACEOF 11546cat >>confdefs.h <<_ACEOF
11623#define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" 11547#define LASTLOG_FILE "$path_lastlog"
11624_ACEOF 11548_ACEOF
11625 11549
11626 if test -d "$rxvt_cv_path_lastlog"; then 11550 if test -d "$path_lastlog"; then
11627 11551
11628cat >>confdefs.h <<\_ACEOF 11552cat >>confdefs.h <<\_ACEOF
11629#define LASTLOG_IS_DIR 1 11553#define LASTLOG_IS_DIR 1
11630_ACEOF 11554_ACEOF
11631 11555
11632 fi 11556 fi
11633fi 11557fi
11634 11558
11635echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11559echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11636echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 11560echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6
11637if test "${rxvt_cv_path_lastlogx+set}" = set; then 11561if test "${path_lastlogx+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6 11562 echo $ECHO_N "(cached) $ECHO_C" >&6
11639else 11563else
11640 if test "$cross_compiling" = yes; then 11564 if test "$cross_compiling" = yes; then
11641 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 11565 { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5
11642echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} 11566echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;}
11643else 11567else
11644 cat >conftest.$ac_ext <<_ACEOF 11568 cat >conftest.$ac_ext <<_ACEOF
11645/* confdefs.h. */ 11569/* confdefs.h. */
11646_ACEOF 11570_ACEOF
11647cat confdefs.h >>conftest.$ac_ext 11571cat confdefs.h >>conftest.$ac_ext
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5 11608 (eval $ac_try) 2>&5
11685 ac_status=$? 11609 ac_status=$?
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; }; then 11611 (exit $ac_status); }; }; then
11688 rxvt_cv_path_lastlogx=`cat conftestval` 11612 path_lastlogx=`cat conftestval`
11689else 11613else
11690 echo "$as_me: program exited with status $ac_status" >&5 11614 echo "$as_me: program exited with status $ac_status" >&5
11691echo "$as_me: failed program was:" >&5 11615echo "$as_me: failed program was:" >&5
11692sed 's/^/| /' conftest.$ac_ext >&5 11616sed 's/^/| /' conftest.$ac_ext >&5
11693 11617
11694( exit $ac_status ) 11618( exit $ac_status )
11695rxvt_cv_path_lastlogx= 11619path_lastlogx=
11696fi 11620fi
11697rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11621rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11698fi 11622fi
11699fi 11623fi
11700echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 11624echo "$as_me:$LINENO: result: $path_lastlogx" >&5
11701echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 11625echo "${ECHO_T}$path_lastlogx" >&6
11702if test x$rxvt_cv_path_lastlogx != x; then 11626if test x$path_lastlogx != x; then
11703 11627
11704cat >>confdefs.h <<_ACEOF 11628cat >>confdefs.h <<_ACEOF
11705#define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" 11629#define LASTLOGX_FILE "$path_lastlogx"
11706_ACEOF 11630_ACEOF
11707 11631
11632fi
11633
11634if test x$support_utmp != xyes; then
11635 echo " utmp support: disabled"
11636 echo
11637else
11638 echo " utmp support: enabled
11639 utmp file: $path_utmp
11640 utmpx file: $path_utmpx
11641 wtmp file: $path_wtmp
11642 wtmpx file: $path_wtmpx
11643 lastlog file: $path_lastlog
11644 lastlogx file: $path_lastlogx"
11708fi 11645fi
11709 11646
11710 11647
11711 11648
11712echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 11649echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11981#define HAVE_NL_LANGINFO 1 11918#define HAVE_NL_LANGINFO 1
11982_ACEOF 11919_ACEOF
11983 11920
11984fi 11921fi
11985 11922
11923
11986echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 11924echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5
11987echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 11925echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6
11988if test "${rxvt_can_pass_fds+set}" = set; then 11926if test "${can_pass_fds+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6 11927 echo $ECHO_N "(cached) $ECHO_C" >&6
11990else 11928else
11991 cat >conftest.$ac_ext <<_ACEOF 11929 cat >conftest.$ac_ext <<_ACEOF
11992/* confdefs.h. */ 11930/* confdefs.h. */
11993_ACEOF 11931_ACEOF
11994cat confdefs.h >>conftest.$ac_ext 11932cat confdefs.h >>conftest.$ac_ext
11995cat >>conftest.$ac_ext <<_ACEOF 11933cat >>conftest.$ac_ext <<_ACEOF
11996/* end confdefs.h. */ 11934/* end confdefs.h. */
11997 11935
11998#include <cstddef> // broken bsds (is that redundant) need this 11936#include <cstddef> // broken bsds (is that redundant?) need this
11999#include <sys/types.h> 11937#include <sys/types.h>
12000#include <sys/socket.h> 11938#include <sys/socket.h>
12001#include <sys/uio.h> 11939#include <sys/uio.h>
12002 11940
12003int 11941int
12051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12052 (eval $ac_try) 2>&5 11990 (eval $ac_try) 2>&5
12053 ac_status=$? 11991 ac_status=$?
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; }; then 11993 (exit $ac_status); }; }; then
12056 rxvt_can_pass_fds=yes 11994 can_pass_fds=yes
12057else 11995else
12058 echo "$as_me: failed program was:" >&5 11996 echo "$as_me: failed program was:" >&5
12059sed 's/^/| /' conftest.$ac_ext >&5 11997sed 's/^/| /' conftest.$ac_ext >&5
12060 11998
12061rxvt_can_pass_fds=no 11999can_pass_fds=no
12062fi 12000fi
12063rm -f conftest.err conftest.$ac_objext \ 12001rm -f conftest.err conftest.$ac_objext \
12064 conftest$ac_exeext conftest.$ac_ext 12002 conftest$ac_exeext conftest.$ac_ext
12065fi 12003fi
12066echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 12004echo "$as_me:$LINENO: result: $can_pass_fds" >&5
12067echo "${ECHO_T}$rxvt_can_pass_fds" >&6 12005echo "${ECHO_T}$can_pass_fds" >&6
12068if test x$rxvt_can_pass_fds = xyes; then 12006if test x$can_pass_fds = xyes; then
12069 12007
12070cat >>confdefs.h <<\_ACEOF 12008cat >>confdefs.h <<\_ACEOF
12071#define HAVE_UNIX_FDPASS 1 12009#define HAVE_UNIX_FDPASS 1
12072_ACEOF 12010_ACEOF
12073 12011
12074else 12012else
12075 { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5 12013 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5
12076echo "$as_me: error: urxvt requires unix-compliant filehandle passing ability" >&2;} 12014echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
12077 { (exit 1); exit 1; }; } 12015 { (exit 1); exit 1; }; }
12078fi 12016fi
12017
12079 12018
12080echo "$as_me:$LINENO: checking for broken XIM callback" >&5 12019echo "$as_me:$LINENO: checking for broken XIM callback" >&5
12081echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 12020echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
12082if test "${rxvt_broken_ximcb+set}" = set; then 12021if test "${rxvt_broken_ximcb+set}" = set; then
12083 echo $ECHO_N "(cached) $ECHO_C" >&6 12022 echo $ECHO_N "(cached) $ECHO_C" >&6
12299 12238
12300 12239
12301 12240
12302 12241
12303 12242
12243
12244
12245
12246
12304for ac_func in \ 12247for ac_func in \
12305 revoke \ 12248 revoke \
12306 _getpty \ 12249 _getpty \
12307 getpt \ 12250 getpt \
12308 posix_openpt \ 12251 posix_openpt \
12309 isastream \ 12252 isastream \
12253 setuid \
12254 seteuid \
12255 setreuid \
12256 setresuid \
12310 12257
12311do 12258do
12312as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12259as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12313echo "$as_me:$LINENO: checking for $ac_func" >&5 12260echo "$as_me:$LINENO: checking for $ac_func" >&5
12314echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12261echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12717done 12664done
12718 12665
12719fi 12666fi
12720 12667
12721 12668
12669
12670echo "$as_me:$LINENO: checking for tty group" >&5
12671echo $ECHO_N "checking for tty group... $ECHO_C" >&6
12672if test "${tty_group+set}" = set; then
12673 echo $ECHO_N "(cached) $ECHO_C" >&6
12674else
12675 if test "$cross_compiling" = yes; then
12676 tty_group=no
12677else
12678 cat >conftest.$ac_ext <<_ACEOF
12679/* confdefs.h. */
12680_ACEOF
12681cat confdefs.h >>conftest.$ac_ext
12682cat >>conftest.$ac_ext <<_ACEOF
12683/* end confdefs.h. */
12684
12685#include <sys/types.h>
12686#include <sys/stat.h>
12687#include <unistd.h>
12688#include <grp.h>
12689
12690main()
12691{
12692 struct stat st;
12693 struct group *gr;
12694 char *tty;
12695 gr = getgrnam("tty");
12696 tty = ttyname(0);
12697 if (gr != 0
12698 && tty != 0
12699 && (stat(tty, &st)) == 0
12700 && st.st_gid == gr->gr_gid)
12701 return 0;
12702 else
12703 return 1;
12704}
12705_ACEOF
12706rm -f conftest$ac_exeext
12707if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12708 (eval $ac_link) 2>&5
12709 ac_status=$?
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12714 ac_status=$?
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; }; then
12717 tty_group=yes
12718else
12719 echo "$as_me: program exited with status $ac_status" >&5
12720echo "$as_me: failed program was:" >&5
12721sed 's/^/| /' conftest.$ac_ext >&5
12722
12723( exit $ac_status )
12724tty_group=no
12725fi
12726rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12727fi
12728fi
12729echo "$as_me:$LINENO: result: $tty_group" >&5
12730echo "${ECHO_T}$tty_group" >&6
12731if test x$tty_group = xyes; then
12732
12733cat >>confdefs.h <<\_ACEOF
12734#define TTY_GID_SUPPORT 1
12735_ACEOF
12736
12737fi
12738
12722if test x$support_xft = xyes; then 12739if test x$support_xft = xyes; then
12723 # Extract the first word of "pkg-config", so it can be a program name with args. 12740 # Extract the first word of "pkg-config", so it can be a program name with args.
12724set dummy pkg-config; ac_word=$2 12741set dummy pkg-config; ac_word=$2
12725echo "$as_me:$LINENO: checking for $ac_word" >&5 12742echo "$as_me:$LINENO: checking for $ac_word" >&5
12726echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 12743echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12758else 12775else
12759 echo "$as_me:$LINENO: result: no" >&5 12776 echo "$as_me:$LINENO: result: no" >&5
12760echo "${ECHO_T}no" >&6 12777echo "${ECHO_T}no" >&6
12761fi 12778fi
12762 12779
12780 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12781 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12782 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12783 else
12763 # Extract the first word of "xft-config", so it can be a program name with args. 12784 # Extract the first word of "xft-config", so it can be a program name with args.
12764set dummy xft-config; ac_word=$2 12785set dummy xft-config; ac_word=$2
12765echo "$as_me:$LINENO: checking for $ac_word" >&5 12786echo "$as_me:$LINENO: checking for $ac_word" >&5
12766echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 12787echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12767if test "${ac_cv_path_XFT_CONFIG+set}" = set; then 12788if test "${ac_cv_path_XFT_CONFIG+set}" = set; then
12768 echo $ECHO_N "(cached) $ECHO_C" >&6 12789 echo $ECHO_N "(cached) $ECHO_C" >&6
12798else 12819else
12799 echo "$as_me:$LINENO: result: no" >&5 12820 echo "$as_me:$LINENO: result: no" >&5
12800echo "${ECHO_T}no" >&6 12821echo "${ECHO_T}no" >&6
12801fi 12822fi
12802 12823
12803 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12804 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12805 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12806 else
12807 if test $XFT_CONFIG != no; then 12824 if test $XFT_CONFIG != no; then
12808 LIBS="$LIBS `$XFT_CONFIG --libs`" 12825 LIBS="$LIBS `$XFT_CONFIG --libs`"
12809 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" 12826 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12810 fi 12827 fi
12811 fi 12828 fi
13106cat >>confdefs.h <<\_ACEOF 13123cat >>confdefs.h <<\_ACEOF
13107#define ENABLE_FRILLS 1 13124#define ENABLE_FRILLS 1
13108_ACEOF 13125_ACEOF
13109 13126
13110fi 13127fi
13111if test x$support_24bit = xyes; then
13112
13113cat >>confdefs.h <<\_ACEOF
13114#define PREFER_24BIT 1
13115_ACEOF
13116
13117fi
13118if test x$support_mousewheel = xyes; then 13128if test x$support_mousewheel = xyes; then
13119 13129
13120cat >>confdefs.h <<\_ACEOF 13130cat >>confdefs.h <<\_ACEOF
13121#define MOUSE_WHEEL 1 13131#define MOUSE_WHEEL 1
13122_ACEOF 13132_ACEOF
13124fi 13134fi
13125if test x$support_mouseslipwheel = xyes; then 13135if test x$support_mouseslipwheel = xyes; then
13126 13136
13127cat >>confdefs.h <<\_ACEOF 13137cat >>confdefs.h <<\_ACEOF
13128#define MOUSE_SLIP_WHEELING 1 13138#define MOUSE_SLIP_WHEELING 1
13129_ACEOF
13130
13131fi
13132if test x$support_utmp = xyes; then
13133
13134cat >>confdefs.h <<\_ACEOF
13135#define UTMP_SUPPORT 1
13136_ACEOF
13137
13138fi
13139if test x$support_wtmp = xyes; then
13140
13141cat >>confdefs.h <<\_ACEOF
13142#define WTMP_SUPPORT 1
13143_ACEOF
13144
13145fi
13146if test x$support_lastlog = xyes; then
13147
13148cat >>confdefs.h <<\_ACEOF
13149#define LASTLOG_SUPPORT 1
13150_ACEOF 13139_ACEOF
13151 13140
13152fi 13141fi
13153if test x$support_xim = xyes -o x$multichar_set = xyes; then 13142if test x$support_xim = xyes -o x$multichar_set = xyes; then
13154 if test x$rxvt_cv_func_xlocale = xyes; then 13143 if test x$rxvt_cv_func_xlocale = xyes; then
14199s,@EGREP@,$EGREP,;t t 14188s,@EGREP@,$EGREP,;t t
14200s,@LINKER@,$LINKER,;t t 14189s,@LINKER@,$LINKER,;t t
14201s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 14190s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
14202s,@RXVTNAME@,$RXVTNAME,;t t 14191s,@RXVTNAME@,$RXVTNAME,;t t
14203s,@MV@,$MV,;t t 14192s,@MV@,$MV,;t t
14204s,@RM@,$RM,;t t
14205s,@CP@,$CP,;t t 14193s,@CP@,$CP,;t t
14206s,@LN@,$LN,;t t 14194s,@LN@,$LN,;t t
14207s,@SED@,$SED,;t t 14195s,@SED@,$SED,;t t
14208s,@ECHO@,$ECHO,;t t 14196s,@ECHO@,$ECHO,;t t
14209s,@CMP@,$CMP,;t t 14197s,@CMP@,$CMP,;t t
14748 Install path: ${prefix}/bin 14736 Install path: ${prefix}/bin
14749 Compiler: $CXX 14737 Compiler: $CXX
14750 Compiler flags: $CFLAGS 14738 Compiler flags: $CFLAGS
14751 Linker: $LINKER" 14739 Linker: $LINKER"
14752 14740
14753if test "$MALLOC_TYPE" = S; then
14754 echo " malloc support: system default"
14755fi
14756if test "$MALLOC_TYPE" = G; then
14757 echo " malloc support: Gray Watson's dmalloc"
14758fi
14759if test "$MALLOC_TYPE" = D; then
14760 echo " malloc support: Doug Lea's malloc"
14761fi
14762
14763if test x$support_xpm = xyes; then 14741if test x$support_xpm = xyes; then
14764 echo " Xpm library: $XPM_LIBS" 14742 echo " Xpm library: $XPM_LIBS"
14765fi 14743fi
14766 14744
14767echo "
14768The following are set in config.h
14769"
14770if test x$support_utmp != xyes; then
14771 echo " utmp support: disabled"
14772 echo
14773else
14774 echo " utmp support: enabled
14775 utmp file: $rxvt_cv_path_utmp
14776 utmpx file: $rxvt_cv_path_utmpx
14777 wtmp file: $rxvt_cv_path_wtmp
14778 wtmpx file: $rxvt_cv_path_wtmpx
14779 lastlog file: $rxvt_cv_path_lastlog
14780 ttys/ttytab file: $rxvt_cv_path_ttytab
14781 embedded perl: $support_perl"
14782 echo
14783fi
14784if test x$term != x; then 14745if test x$term != x; then
14785 echo " set TERM to: $term" 14746 echo " set TERM to: $term"
14786fi 14747fi
14787if test x$terminfo != x; then 14748if test x$terminfo != x; then
14788 echo " set TERMINFO to: $terminfo" 14749 echo " set TERMINFO to: $terminfo"
14790echo " default resource name: $RESNAME" 14751echo " default resource name: $RESNAME"
14791echo " resource class: $RESCLASS" 14752echo " resource class: $RESCLASS"
14792if test x$RESFALLBACK != x; then 14753if test x$RESFALLBACK != x; then
14793 echo " resource class fallback: $RESFALLBACK" 14754 echo " resource class fallback: $RESFALLBACK"
14794fi 14755fi
14756echo
14757echo " embedded perl: $support_perl"
14795echo 14758echo
14796if test x$support_xpm = xneedsmanualspecification; then 14759if test x$support_xpm = xneedsmanualspecification; then
14797 echo ".----------------------------------------------------------------." 14760 echo ".----------------------------------------------------------------."
14798 echo ". WARNING: --enable-xpm-background was specified however the ." 14761 echo ". WARNING: --enable-xpm-background was specified however the ."
14799 echo ". XPM includes files and libraries could not be found. ." 14762 echo ". XPM includes files and libraries could not be found. ."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines