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

Comparing rxvt-unicode/configure (file contents):
Revision 1.83 by root, Sat Jan 21 18:34:25 2006 UTC vs.
Revision 1.93 by root, Wed Jan 25 21:17:52 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 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)
3221if test "$ac_cv_search_strerror" != no; then 3216if test "$ac_cv_search_strerror" != no; then
3222 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3217 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3223 3218
3224fi 3219fi
3225 3220
3226
3227ac_ext=c
3228ac_cpp='$CPP $CPPFLAGS'
3229ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3230ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3231ac_compiler_gnu=$ac_cv_c_compiler_gnu
3232
3233
3234LINKER="$CXX"
3235if test x$GCC = xyes && test x$GXX = xyes; then
3236 echo "$as_me:$LINENO: checking for main in -lsupc++" >&5
3237echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6
3238if test "${ac_cv_lib_supcpp_main+set}" = set; then
3239 echo $ECHO_N "(cached) $ECHO_C" >&6
3240else
3241 ac_check_lib_save_LIBS=$LIBS
3242LIBS="-lsupc++ $LIBS"
3243cat >conftest.$ac_ext <<_ACEOF
3244/* confdefs.h. */
3245_ACEOF
3246cat confdefs.h >>conftest.$ac_ext
3247cat >>conftest.$ac_ext <<_ACEOF
3248/* end confdefs.h. */
3249
3250
3251int
3252main ()
3253{
3254main ();
3255 ;
3256 return 0;
3257}
3258_ACEOF
3259rm -f conftest.$ac_objext conftest$ac_exeext
3260if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3261 (eval $ac_link) 2>conftest.er1
3262 ac_status=$?
3263 grep -v '^ *+' conftest.er1 >conftest.err
3264 rm -f conftest.er1
3265 cat conftest.err >&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); } &&
3268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3270 (eval $ac_try) 2>&5
3271 ac_status=$?
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; } &&
3274 { ac_try='test -s conftest$ac_exeext'
3275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3276 (eval $ac_try) 2>&5
3277 ac_status=$?
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); }; }; then
3280 ac_cv_lib_supcpp_main=yes
3281else
3282 echo "$as_me: failed program was:" >&5
3283sed 's/^/| /' conftest.$ac_ext >&5
3284
3285ac_cv_lib_supcpp_main=no
3286fi
3287rm -f conftest.err conftest.$ac_objext \
3288 conftest$ac_exeext conftest.$ac_ext
3289LIBS=$ac_check_lib_save_LIBS
3290fi
3291echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5
3292echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6
3293if test $ac_cv_lib_supcpp_main = yes; then
3294
3295 LINKER="$CC"
3296 LIBS="$LIBS -lsupc++"
3297
3298fi
3299
3300fi
3301LINKER=$LINKER
3302
3303
3304ac_ext=cc 3221ac_ext=cc
3305ac_cpp='$CXXCPP $CPPFLAGS' 3222ac_cpp='$CXXCPP $CPPFLAGS'
3306ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3223ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3307ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3224ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3308ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3225ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3309 3226
3227
3228if test x$GCC = xyes && test x$GXX = xyes; then
3229 echo "$as_me:$LINENO: checking for working libsupc++" >&5
3230echo $ECHO_N "checking for working libsupc++... $ECHO_C" >&6
3231 save_CXX="$CXX"
3232 save_LIBS="$LIBS"
3233 CXX="$CC"
3234 LIBS="$LIBS -lsupc++"
3235 LINKER="$CC"
3236
3237cat >conftest.$ac_ext <<_ACEOF
3238/* confdefs.h. */
3239_ACEOF
3240cat confdefs.h >>conftest.$ac_ext
3241cat >>conftest.$ac_ext <<_ACEOF
3242/* end confdefs.h. */
3243struct test { }; void f() try { throw new test; } catch (...) { throw; }
3244int
3245main ()
3246{
3247
3248 ;
3249 return 0;
3250}
3251_ACEOF
3252rm -f conftest.$ac_objext conftest$ac_exeext
3253if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3254 (eval $ac_link) 2>conftest.er1
3255 ac_status=$?
3256 grep -v '^ *+' conftest.er1 >conftest.err
3257 rm -f conftest.er1
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } &&
3261 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263 (eval $ac_try) 2>&5
3264 ac_status=$?
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); }; } &&
3267 { ac_try='test -s conftest$ac_exeext'
3268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 (eval $ac_try) 2>&5
3270 ac_status=$?
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }; }; then
3273 echo "$as_me:$LINENO: result: ok" >&5
3274echo "${ECHO_T}ok" >&6
3275else
3276 echo "$as_me: failed program was:" >&5
3277sed 's/^/| /' conftest.$ac_ext >&5
3278
3279
3280 echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5
3281echo "${ECHO_T}no, making everything bigger and slower" >&6
3282 LIBS="$save_LIBS"
3283 LINKER="$save_CXX"
3284
3285
3286fi
3287rm -f conftest.err conftest.$ac_objext \
3288 conftest$ac_exeext conftest.$ac_ext
3289 CXX="$save_CXX"
3290fi
3291LINKER=$LINKER
3292
3293
3294ac_ext=cc
3295ac_cpp='$CXXCPP $CPPFLAGS'
3296ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3297ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3298ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3299
3310if test -z "$orig_CXXFLAGS"; then 3300if test -z "$orig_CXXFLAGS"; then
3311 if test x$GCC = xyes && test "x$GXX" = xyes; then 3301 if test x$GCC = xyes && test "x$GXX" = xyes; then
3312 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3302 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3313
3314cat >conftest.$ac_ext <<_ACEOF 3303 cat >conftest.$ac_ext <<_ACEOF
3315/* confdefs.h. */ 3304/* confdefs.h. */
3316_ACEOF 3305_ACEOF
3317cat confdefs.h >>conftest.$ac_ext 3306cat confdefs.h >>conftest.$ac_ext
3318cat >>conftest.$ac_ext <<_ACEOF 3307cat >>conftest.$ac_ext <<_ACEOF
3319/* end confdefs.h. */ 3308/* end confdefs.h. */
4089fi 4078fi
4090rm -f conftest.err conftest.$ac_objext \ 4079rm -f conftest.err conftest.$ac_objext \
4091 conftest$ac_exeext conftest.$ac_ext 4080 conftest$ac_exeext conftest.$ac_ext
4092 4081
4093 4082
4094MALLOC_TYPE=S
4095
4096support_frills=yes 4083support_frills=yes
4097support_inheritpixmap=yes 4084support_inheritpixmap=yes
4098support_tinting=yes 4085support_tinting=yes
4099support_fading=yes 4086support_fading=yes
4100support_keepscrolling=yes 4087support_keepscrolling=yes
4101support_selectionscrolling=yes 4088support_selectionscrolling=yes
4102support_mousewheel=yes 4089support_mousewheel=yes
4103support_mouseslipwheel=yes 4090support_mouseslipwheel=yes
4104support_utmp=yes
4105support_wtmp=yes
4106support_lastlog=yes
4107support_text_blink=yes 4091support_text_blink=yes
4108support_pointer_blank=yes 4092support_pointer_blank=yes
4109support_scroll_rxvt=yes 4093support_scroll_rxvt=yes
4110support_scroll_next=yes 4094support_scroll_next=yes
4111support_scroll_xterm=yes 4095support_scroll_xterm=yes
4135# Check whether --enable-everything or --disable-everything was given. 4119# Check whether --enable-everything or --disable-everything was given.
4136if test "${enable_everything+set}" = set; then 4120if test "${enable_everything+set}" = set; then
4137 enableval="$enable_everything" 4121 enableval="$enable_everything"
4138 4122
4139 if test x$enableval = xno; then 4123 if test x$enableval = xno; then
4140 support_24bit=no
4141 support_frills=no 4124 support_frills=no
4142 support_inheritpixmap=no 4125 support_inheritpixmap=no
4143 support_tinting=no 4126 support_tinting=no
4144 support_fading=no 4127 support_fading=no
4145 support_keepscrolling=no 4128 support_keepscrolling=no
4165 support_styles=no 4148 support_styles=no
4166 support_perl=no 4149 support_perl=no
4167 codesets= 4150 codesets=
4168 fi 4151 fi
4169 if test x$enableval = xyes; then 4152 if test x$enableval = xyes; then
4170 support_24bit=yes
4171 support_frills=yes 4153 support_frills=yes
4172 support_inheritpixmap=yes 4154 support_inheritpixmap=yes
4173 support_tinting=yes 4155 support_tinting=yes
4174 support_fading=yes 4156 support_fading=yes
4175 support_keepscrolling=yes 4157 support_keepscrolling=yes
4229 if test x$enableval = xyes -o x$enableval = xno; then 4211 if test x$enableval = xyes -o x$enableval = xno; then
4230 support_styles=$enableval 4212 support_styles=$enableval
4231 fi 4213 fi
4232fi; 4214fi;
4233 4215
4234# Check whether --enable-utmp or --disable-utmp was given.
4235if test "${enable_utmp+set}" = set; then
4236 enableval="$enable_utmp"
4237 if test x$enableval = xyes -o x$enableval = xno; then
4238 support_utmp=$enableval
4239 fi
4240fi;
4241
4242# Check whether --enable-wtmp or --disable-wtmp was given.
4243if test "${enable_wtmp+set}" = set; then
4244 enableval="$enable_wtmp"
4245 if test x$enableval = xyes -o x$enableval = xno; then
4246 support_wtmp=$enableval
4247 fi
4248fi;
4249
4250# Check whether --enable-lastlog or --disable-lastlog was given.
4251if test "${enable_lastlog+set}" = set; then
4252 enableval="$enable_lastlog"
4253 if test x$enableval = xyes -o x$enableval = xno; then
4254 support_lastlog=$enableval
4255 fi
4256fi;
4257
4258# Check whether --enable-xpm-background or --disable-xpm-background was given. 4216# Check whether --enable-xpm-background or --disable-xpm-background was given.
4259if test "${enable_xpm_background+set}" = set; then 4217if test "${enable_xpm_background+set}" = set; then
4260 enableval="$enable_xpm_background" 4218 enableval="$enable_xpm_background"
4261 if test x$enableval = xyes -o x$enableval = xno; then 4219 if test x$enableval = xyes -o x$enableval = xno; then
4262 support_xpm=$enableval 4220 support_xpm=$enableval
4341 if test x$enableval = xyes -o x$enableval = xno; then 4299 if test x$enableval = xyes -o x$enableval = xno; then
4342 support_xim=$enableval 4300 support_xim=$enableval
4343 fi 4301 fi
4344fi; 4302fi;
4345 4303
4346# Check whether --enable-ttygid or --disable-ttygid was given.
4347if test "${enable_ttygid+set}" = set; then
4348 enableval="$enable_ttygid"
4349 if test x$enableval = xyes; then
4350
4351cat >>confdefs.h <<\_ACEOF
4352#define TTY_GID_SUPPORT 1
4353_ACEOF
4354
4355 fi
4356fi;
4357
4358# Check whether --enable-backspace-key or --disable-backspace-key was given. 4304# Check whether --enable-backspace-key or --disable-backspace-key was given.
4359if test "${enable_backspace_key+set}" = set; then 4305if test "${enable_backspace_key+set}" = set; then
4360 enableval="$enable_backspace_key" 4306 enableval="$enable_backspace_key"
4361 if test x$enableval = xno; then 4307 if test x$enableval = xno; then
4362 4308
4486 if test x$enableval = xyes -o x$enableval = xno; then 4432 if test x$enableval = xyes -o x$enableval = xno; then
4487 support_frills=$enableval 4433 support_frills=$enableval
4488 fi 4434 fi
4489fi; 4435fi;
4490 4436
4491# Check whether --enable-24bit or --disable-24bit was given.
4492if test "${enable_24bit+set}" = set; then
4493 enableval="$enable_24bit"
4494 if test x$enableval = xyes -o x$enableval = xno; then
4495 support_24bit=$enableval
4496 fi
4497fi;
4498
4499# Check whether --enable-keepscrolling or --disable-keepscrolling was given. 4437# Check whether --enable-keepscrolling or --disable-keepscrolling was given.
4500if test "${enable_keepscrolling+set}" = set; then 4438if test "${enable_keepscrolling+set}" = set; then
4501 enableval="$enable_keepscrolling" 4439 enableval="$enable_keepscrolling"
4502 if test x$enableval = xyes -o x$enableval = xno; then 4440 if test x$enableval = xyes -o x$enableval = xno; then
4503 support_keepscrolling=$enableval 4441 support_keepscrolling=$enableval
4523# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 4461# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
4524if test "${enable_slipwheeling+set}" = set; then 4462if test "${enable_slipwheeling+set}" = set; then
4525 enableval="$enable_slipwheeling" 4463 enableval="$enable_slipwheeling"
4526 if test x$enableval = xyes -o x$enableval = xno; then 4464 if test x$enableval = xyes -o x$enableval = xno; then
4527 support_mouseslipwheel=$enableval 4465 support_mouseslipwheel=$enableval
4528 fi
4529fi;
4530
4531# Check whether --enable-dmalloc or --disable-dmalloc was given.
4532if test "${enable_dmalloc+set}" = set; then
4533 enableval="$enable_dmalloc"
4534 if test x$enableval = xyes; then
4535 MALLOC_TYPE=G
4536 DEBUG=-DDEBUG_MALLOC
4537 DLIB="-L/usr/local/lib -ldmalloc"
4538 DINCLUDE=-I/usr/local/include
4539 fi
4540fi;
4541
4542# Check whether --enable-dlmalloc or --disable-dlmalloc was given.
4543if test "${enable_dlmalloc+set}" = set; then
4544 enableval="$enable_dlmalloc"
4545 if test x$enableval = xyes; then
4546 MALLOC_TYPE=D
4547 DEBUG=
4548 DLIB="-L/usr/local/lib -ldlmalloc"
4549 DINCLUDE=
4550 fi 4466 fi
4551fi; 4467fi;
4552 4468
4553# Check whether --enable-smart-resize or --disable-smart-resize was given. 4469# Check whether --enable-smart-resize or --disable-smart-resize was given.
4554if test "${enable_smart_resize+set}" = set; then 4470if test "${enable_smart_resize+set}" = set; then
4638MV=$ac_cv_path_MV 4554MV=$ac_cv_path_MV
4639 4555
4640if test -n "$MV"; then 4556if test -n "$MV"; then
4641 echo "$as_me:$LINENO: result: $MV" >&5 4557 echo "$as_me:$LINENO: result: $MV" >&5
4642echo "${ECHO_T}$MV" >&6 4558echo "${ECHO_T}$MV" >&6
4643else
4644 echo "$as_me:$LINENO: result: no" >&5
4645echo "${ECHO_T}no" >&6
4646fi
4647
4648# Extract the first word of "rm", so it can be a program name with args.
4649set dummy rm; ac_word=$2
4650echo "$as_me:$LINENO: checking for $ac_word" >&5
4651echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4652if test "${ac_cv_path_RM+set}" = set; then
4653 echo $ECHO_N "(cached) $ECHO_C" >&6
4654else
4655 case $RM in
4656 [\\/]* | ?:[\\/]*)
4657 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4658 ;;
4659 *)
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661for as_dir in $PATH
4662do
4663 IFS=$as_save_IFS
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 break 2
4670 fi
4671done
4672done
4673
4674 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
4675 ;;
4676esac
4677fi
4678RM=$ac_cv_path_RM
4679
4680if test -n "$RM"; then
4681 echo "$as_me:$LINENO: result: $RM" >&5
4682echo "${ECHO_T}$RM" >&6
4683else 4559else
4684 echo "$as_me:$LINENO: result: no" >&5 4560 echo "$as_me:$LINENO: result: no" >&5
4685echo "${ECHO_T}no" >&6 4561echo "${ECHO_T}no" >&6
4686fi 4562fi
4687 4563
10077 9953
10078 9954
10079 9955
10080 9956
10081 9957
10082
10083for ac_func in \ 9958for ac_func in \
10084 unsetenv \ 9959 unsetenv \
10085 setutent \ 9960 setutent \
10086 seteuid \ 9961 seteuid \
10087 setresuid \ 9962 setresuid \
10088 setreuid \ 9963 setreuid \
10089 on_exit \ 9964 on_exit \
10090 nanosleep \
10091 9965
10092do 9966do
10093as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9967as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10094echo "$as_me:$LINENO: checking for $ac_func" >&5 9968echo "$as_me:$LINENO: checking for $ac_func" >&5
10095echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9969echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10187 10061
10188fi 10062fi
10189done 10063done
10190 10064
10191 10065
10066
10067support_utmp=yes
10068support_wtmp=yes
10069support_lastlog=yes
10070
10071# Check whether --enable-utmp or --disable-utmp was given.
10072if test "${enable_utmp+set}" = set; then
10073 enableval="$enable_utmp"
10074 if test x$enableval = xyes -o x$enableval = xno; then
10075 support_utmp=$enableval
10076 fi
10077fi;
10078
10079# Check whether --enable-wtmp or --disable-wtmp was given.
10080if test "${enable_wtmp+set}" = set; then
10081 enableval="$enable_wtmp"
10082 if test x$enableval = xyes -o x$enableval = xno; then
10083 support_wtmp=$enableval
10084 fi
10085fi;
10086
10087# Check whether --enable-lastlog or --disable-lastlog was given.
10088if test "${enable_lastlog+set}" = set; then
10089 enableval="$enable_lastlog"
10090 if test x$enableval = xyes -o x$enableval = xno; then
10091 support_lastlog=$enableval
10092 fi
10093fi;
10094
10095if test x$support_utmp = xyes; then
10096
10097cat >>confdefs.h <<\_ACEOF
10098#define UTMP_SUPPORT 1
10099_ACEOF
10100
10101fi
10102if test x$support_wtmp = xyes; then
10103
10104cat >>confdefs.h <<\_ACEOF
10105#define WTMP_SUPPORT 1
10106_ACEOF
10107
10108fi
10109if test x$support_lastlog = xyes; then
10110
10111cat >>confdefs.h <<\_ACEOF
10112#define LASTLOG_SUPPORT 1
10113_ACEOF
10114
10115fi
10192 10116
10193 10117
10194 10118
10195 10119
10196for ac_func in \ 10120for ac_func in \
10592 10516
10593fi 10517fi
10594if test $ac_cv_header_utmp_h = yes; then 10518if test $ac_cv_header_utmp_h = yes; then
10595 echo "$as_me:$LINENO: checking for struct utmp" >&5 10519 echo "$as_me:$LINENO: checking for struct utmp" >&5
10596echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 10520echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6
10597if test "${rxvt_cv_struct_utmp+set}" = set; then 10521if test "${struct_utmp+set}" = set; then
10598 echo $ECHO_N "(cached) $ECHO_C" >&6 10522 echo $ECHO_N "(cached) $ECHO_C" >&6
10599else 10523else
10600 cat >conftest.$ac_ext <<_ACEOF 10524 cat >conftest.$ac_ext <<_ACEOF
10601/* confdefs.h. */ 10525/* confdefs.h. */
10602_ACEOF 10526_ACEOF
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5 10557 (eval $ac_try) 2>&5
10634 ac_status=$? 10558 ac_status=$?
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; }; then 10560 (exit $ac_status); }; }; then
10637 rxvt_cv_struct_utmp=yes 10561 struct_utmp=yes
10638else 10562else
10639 echo "$as_me: failed program was:" >&5 10563 echo "$as_me: failed program was:" >&5
10640sed 's/^/| /' conftest.$ac_ext >&5 10564sed 's/^/| /' conftest.$ac_ext >&5
10641 10565
10642rxvt_cv_struct_utmp=no 10566struct_utmp=no
10643fi 10567fi
10644rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10568rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10645fi 10569fi
10646echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 10570echo "$as_me:$LINENO: result: $struct_utmp" >&5
10647echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 10571echo "${ECHO_T}$struct_utmp" >&6
10648if test x$rxvt_cv_struct_utmp = xyes; then 10572if test x$struct_utmp = xyes; then
10649 10573
10650cat >>confdefs.h <<\_ACEOF 10574cat >>confdefs.h <<\_ACEOF
10651#define HAVE_STRUCT_UTMP 1 10575#define HAVE_STRUCT_UTMP 1
10652_ACEOF 10576_ACEOF
10653 10577
10654fi 10578fi
10655 10579
10656 10580
10657echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 10581echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5
10658echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 10582echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6
10659if test "${rxvt_cv_struct_utmp_host+set}" = set; then 10583if test "${struct_utmp_host+set}" = set; then
10660 echo $ECHO_N "(cached) $ECHO_C" >&6 10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10661else 10585else
10662 cat >conftest.$ac_ext <<_ACEOF 10586 cat >conftest.$ac_ext <<_ACEOF
10663/* confdefs.h. */ 10587/* confdefs.h. */
10664_ACEOF 10588_ACEOF
10694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10695 (eval $ac_try) 2>&5 10619 (eval $ac_try) 2>&5
10696 ac_status=$? 10620 ac_status=$?
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); }; }; then 10622 (exit $ac_status); }; }; then
10699 rxvt_cv_struct_utmp_host=yes 10623 struct_utmp_host=yes
10700else 10624else
10701 echo "$as_me: failed program was:" >&5 10625 echo "$as_me: failed program was:" >&5
10702sed 's/^/| /' conftest.$ac_ext >&5 10626sed 's/^/| /' conftest.$ac_ext >&5
10703 10627
10704rxvt_cv_struct_utmp_host=no 10628struct_utmp_host=no
10705fi 10629fi
10706rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10630rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10707fi 10631fi
10708echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 10632echo "$as_me:$LINENO: result: $struct_utmp_host" >&5
10709echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 10633echo "${ECHO_T}$struct_utmp_host" >&6
10710if test x$rxvt_cv_struct_utmp_host = xyes; then 10634if test x$struct_utmp_host = xyes; then
10711 10635
10712cat >>confdefs.h <<\_ACEOF 10636cat >>confdefs.h <<\_ACEOF
10713#define HAVE_UTMP_HOST 1 10637#define HAVE_UTMP_HOST 1
10714_ACEOF 10638_ACEOF
10715 10639
10716fi 10640fi
10717 10641
10718echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 10642echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5
10719echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 10643echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6
10720if test "${rxvt_cv_struct_utmp_pid+set}" = set; then 10644if test "${struct_utmp_pid+set}" = set; then
10721 echo $ECHO_N "(cached) $ECHO_C" >&6 10645 echo $ECHO_N "(cached) $ECHO_C" >&6
10722else 10646else
10723 cat >conftest.$ac_ext <<_ACEOF 10647 cat >conftest.$ac_ext <<_ACEOF
10724/* confdefs.h. */ 10648/* confdefs.h. */
10725_ACEOF 10649_ACEOF
10755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10756 (eval $ac_try) 2>&5 10680 (eval $ac_try) 2>&5
10757 ac_status=$? 10681 ac_status=$?
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); }; }; then 10683 (exit $ac_status); }; }; then
10760 rxvt_cv_struct_utmp_pid=yes 10684 struct_utmp_pid=yes
10761else 10685else
10762 echo "$as_me: failed program was:" >&5 10686 echo "$as_me: failed program was:" >&5
10763sed 's/^/| /' conftest.$ac_ext >&5 10687sed 's/^/| /' conftest.$ac_ext >&5
10764 10688
10765rxvt_cv_struct_utmp_pid=no 10689struct_utmp_pid=no
10766fi 10690fi
10767rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10691rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10768fi 10692fi
10769echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 10693echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5
10770echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 10694echo "${ECHO_T}$struct_utmp_pid" >&6
10771if test x$rxvt_cv_struct_utmp_pid = xyes; then 10695if test x$struct_utmp_pid = xyes; then
10772 10696
10773cat >>confdefs.h <<\_ACEOF 10697cat >>confdefs.h <<\_ACEOF
10774#define HAVE_UTMP_PID 1 10698#define HAVE_UTMP_PID 1
10775_ACEOF 10699_ACEOF
10776 10700
10917 10841
10918fi 10842fi
10919if test $ac_cv_header_utmpx_h = yes; then 10843if test $ac_cv_header_utmpx_h = yes; then
10920 echo "$as_me:$LINENO: checking for struct utmpx" >&5 10844 echo "$as_me:$LINENO: checking for struct utmpx" >&5
10921echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 10845echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6
10922if test "${rxvt_cv_struct_utmpx+set}" = set; then 10846if test "${struct_utmpx+set}" = set; then
10923 echo $ECHO_N "(cached) $ECHO_C" >&6 10847 echo $ECHO_N "(cached) $ECHO_C" >&6
10924else 10848else
10925 cat >conftest.$ac_ext <<_ACEOF 10849 cat >conftest.$ac_ext <<_ACEOF
10926/* confdefs.h. */ 10850/* confdefs.h. */
10927_ACEOF 10851_ACEOF
10957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10958 (eval $ac_try) 2>&5 10882 (eval $ac_try) 2>&5
10959 ac_status=$? 10883 ac_status=$?
10960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961 (exit $ac_status); }; }; then 10885 (exit $ac_status); }; }; then
10962 rxvt_cv_struct_utmpx=yes 10886 struct_utmpx=yes
10963else 10887else
10964 echo "$as_me: failed program was:" >&5 10888 echo "$as_me: failed program was:" >&5
10965sed 's/^/| /' conftest.$ac_ext >&5 10889sed 's/^/| /' conftest.$ac_ext >&5
10966 10890
10967rxvt_cv_struct_utmpx=no 10891struct_utmpx=no
10968fi 10892fi
10969rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10893rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10970fi 10894fi
10971echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 10895echo "$as_me:$LINENO: result: $struct_utmpx" >&5
10972echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 10896echo "${ECHO_T}$struct_utmpx" >&6
10973if test x$rxvt_cv_struct_utmpx = xyes; then 10897if test x$struct_utmpx = xyes; then
10974 10898
10975cat >>confdefs.h <<\_ACEOF 10899cat >>confdefs.h <<\_ACEOF
10976#define HAVE_STRUCT_UTMPX 1 10900#define HAVE_STRUCT_UTMPX 1
10977_ACEOF 10901_ACEOF
10978 10902
10979fi 10903fi
10980 10904
10981 10905
10982echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 10906echo "$as_me:$LINENO: checking for host in utmpx struct" >&5
10983echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 10907echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6
10984if test "${rxvt_cv_struct_utmpx_host+set}" = set; then 10908if test "${struct_utmpx_host+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6 10909 echo $ECHO_N "(cached) $ECHO_C" >&6
10986else 10910else
10987 cat >conftest.$ac_ext <<_ACEOF 10911 cat >conftest.$ac_ext <<_ACEOF
10988/* confdefs.h. */ 10912/* confdefs.h. */
10989_ACEOF 10913_ACEOF
11019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11020 (eval $ac_try) 2>&5 10944 (eval $ac_try) 2>&5
11021 ac_status=$? 10945 ac_status=$?
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }; }; then 10947 (exit $ac_status); }; }; then
11024 rxvt_cv_struct_utmpx_host=yes 10948 struct_utmpx_host=yes
11025else 10949else
11026 echo "$as_me: failed program was:" >&5 10950 echo "$as_me: failed program was:" >&5
11027sed 's/^/| /' conftest.$ac_ext >&5 10951sed 's/^/| /' conftest.$ac_ext >&5
11028 10952
11029rxvt_cv_struct_utmpx_host=no 10953struct_utmpx_host=no
11030fi 10954fi
11031rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10955rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11032fi 10956fi
11033echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 10957echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5
11034echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 10958echo "${ECHO_T}$struct_utmpx_host" >&6
11035if test x$rxvt_cv_struct_utmpx_host = xyes; then 10959if test x$struct_utmpx_host = xyes; then
11036 10960
11037cat >>confdefs.h <<\_ACEOF 10961cat >>confdefs.h <<\_ACEOF
11038#define HAVE_UTMPX_HOST 1 10962#define HAVE_UTMPX_HOST 1
11039_ACEOF 10963_ACEOF
11040 10964
11041fi 10965fi
11042 10966
11043echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 10967echo "$as_me:$LINENO: checking for session in utmpx struct" >&5
11044echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 10968echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6
11045if test "${rxvt_cv_struct_utmpx_session+set}" = set; then 10969if test "${struct_utmpx_session+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6 10970 echo $ECHO_N "(cached) $ECHO_C" >&6
11047else 10971else
11048 cat >conftest.$ac_ext <<_ACEOF 10972 cat >conftest.$ac_ext <<_ACEOF
11049/* confdefs.h. */ 10973/* confdefs.h. */
11050_ACEOF 10974_ACEOF
11080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11081 (eval $ac_try) 2>&5 11005 (eval $ac_try) 2>&5
11082 ac_status=$? 11006 ac_status=$?
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); }; }; then 11008 (exit $ac_status); }; }; then
11085 rxvt_cv_struct_utmpx_session=yes 11009 struct_utmpx_session=yes
11086else 11010else
11087 echo "$as_me: failed program was:" >&5 11011 echo "$as_me: failed program was:" >&5
11088sed 's/^/| /' conftest.$ac_ext >&5 11012sed 's/^/| /' conftest.$ac_ext >&5
11089 11013
11090rxvt_cv_struct_utmpx_session=no 11014struct_utmpx_session=no
11091fi 11015fi
11092rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11016rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11093fi 11017fi
11094echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 11018echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5
11095echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 11019echo "${ECHO_T}$struct_utmpx_session" >&6
11096if test x$rxvt_cv_struct_utmpx_session = xyes; then 11020if test x$struct_utmpx_session = xyes; then
11097 11021
11098cat >>confdefs.h <<\_ACEOF 11022cat >>confdefs.h <<\_ACEOF
11099#define HAVE_UTMPX_SESSION 1 11023#define HAVE_UTMPX_SESSION 1
11100_ACEOF 11024_ACEOF
11101 11025
11104fi 11028fi
11105 11029
11106 11030
11107echo "$as_me:$LINENO: checking for struct lastlog" >&5 11031echo "$as_me:$LINENO: checking for struct lastlog" >&5
11108echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 11032echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
11109if test "${rxvt_cv_struct_lastlog+set}" = set; then 11033if test "${struct_lastlog+set}" = set; then
11110 echo $ECHO_N "(cached) $ECHO_C" >&6 11034 echo $ECHO_N "(cached) $ECHO_C" >&6
11111else 11035else
11112 cat >conftest.$ac_ext <<_ACEOF 11036 cat >conftest.$ac_ext <<_ACEOF
11113/* confdefs.h. */ 11037/* confdefs.h. */
11114_ACEOF 11038_ACEOF
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5 11073 (eval $ac_try) 2>&5
11150 ac_status=$? 11074 ac_status=$?
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; }; then 11076 (exit $ac_status); }; }; then
11153 rxvt_cv_struct_lastlog=yes 11077 struct_lastlog=yes
11154else 11078else
11155 echo "$as_me: failed program was:" >&5 11079 echo "$as_me: failed program was:" >&5
11156sed 's/^/| /' conftest.$ac_ext >&5 11080sed 's/^/| /' conftest.$ac_ext >&5
11157 11081
11158rxvt_cv_struct_lastlog=no 11082struct_lastlog=no
11159fi 11083fi
11160rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11084rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11161fi 11085fi
11162echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 11086echo "$as_me:$LINENO: result: $struct_lastlog" >&5
11163echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 11087echo "${ECHO_T}$struct_lastlog" >&6
11164if test x$rxvt_cv_struct_lastlog = xyes; then 11088if test x$struct_lastlog = xyes; then
11165 11089
11166cat >>confdefs.h <<\_ACEOF 11090cat >>confdefs.h <<\_ACEOF
11167#define HAVE_STRUCT_LASTLOG 1 11091#define HAVE_STRUCT_LASTLOG 1
11168_ACEOF 11092_ACEOF
11169 11093
11170fi 11094fi
11171 11095
11172echo "$as_me:$LINENO: checking for struct lastlogx" >&5 11096echo "$as_me:$LINENO: checking for struct lastlogx" >&5
11173echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 11097echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6
11174if test "${rxvt_cv_struct_lastlogx+set}" = set; then 11098if test "${struct_lastlogx+set}" = set; then
11175 echo $ECHO_N "(cached) $ECHO_C" >&6 11099 echo $ECHO_N "(cached) $ECHO_C" >&6
11176else 11100else
11177 cat >conftest.$ac_ext <<_ACEOF 11101 cat >conftest.$ac_ext <<_ACEOF
11178/* confdefs.h. */ 11102/* confdefs.h. */
11179_ACEOF 11103_ACEOF
11213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11214 (eval $ac_try) 2>&5 11138 (eval $ac_try) 2>&5
11215 ac_status=$? 11139 ac_status=$?
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); }; }; then 11141 (exit $ac_status); }; }; then
11218 rxvt_cv_struct_lastlogx=yes 11142 struct_lastlogx=yes
11219else 11143else
11220 echo "$as_me: failed program was:" >&5 11144 echo "$as_me: failed program was:" >&5
11221sed 's/^/| /' conftest.$ac_ext >&5 11145sed 's/^/| /' conftest.$ac_ext >&5
11222 11146
11223rxvt_cv_struct_lastlogx=no 11147struct_lastlogx=no
11224fi 11148fi
11225rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 11149rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11226fi 11150fi
11227echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 11151echo "$as_me:$LINENO: result: $struct_lastlogx" >&5
11228echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 11152echo "${ECHO_T}$struct_lastlogx" >&6
11229if test x$rxvt_cv_struct_lastlogx = xyes; then 11153if test x$struct_lastlogx = xyes; then
11230 11154
11231cat >>confdefs.h <<\_ACEOF 11155cat >>confdefs.h <<\_ACEOF
11232#define HAVE_STRUCT_LASTLOGX 1 11156#define HAVE_STRUCT_LASTLOGX 1
11233_ACEOF 11157_ACEOF
11234 11158
11235fi 11159fi
11236 11160
11237 11161
11238echo "$as_me:$LINENO: checking where utmp is located" >&5 11162echo "$as_me:$LINENO: checking where utmp is located" >&5
11239echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 11163echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6
11240if test "${rxvt_cv_path_utmp+set}" = set; then 11164if test "${path_utmp+set}" = set; then
11241 echo $ECHO_N "(cached) $ECHO_C" >&6 11165 echo $ECHO_N "(cached) $ECHO_C" >&6
11242else 11166else
11243 if test "$cross_compiling" = yes; then 11167 if test "$cross_compiling" = yes; then
11244 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 11168 { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5
11245echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} 11169echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
11246else 11170else
11247 cat >conftest.$ac_ext <<_ACEOF 11171 cat >conftest.$ac_ext <<_ACEOF
11248/* confdefs.h. */ 11172/* confdefs.h. */
11249_ACEOF 11173_ACEOF
11250cat confdefs.h >>conftest.$ac_ext 11174cat confdefs.h >>conftest.$ac_ext
11286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11287 (eval $ac_try) 2>&5 11211 (eval $ac_try) 2>&5
11288 ac_status=$? 11212 ac_status=$?
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); }; }; then 11214 (exit $ac_status); }; }; then
11291 rxvt_cv_path_utmp=`cat conftestval` 11215 path_utmp=`cat conftestval`
11292else 11216else
11293 echo "$as_me: program exited with status $ac_status" >&5 11217 echo "$as_me: program exited with status $ac_status" >&5
11294echo "$as_me: failed program was:" >&5 11218echo "$as_me: failed program was:" >&5
11295sed 's/^/| /' conftest.$ac_ext >&5 11219sed 's/^/| /' conftest.$ac_ext >&5
11296 11220
11297( exit $ac_status ) 11221( exit $ac_status )
11298rxvt_cv_path_utmp= 11222path_utmp=
11299fi 11223fi
11300rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11224rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11301fi 11225fi
11302fi 11226fi
11303echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 11227echo "$as_me:$LINENO: result: $path_utmp" >&5
11304echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 11228echo "${ECHO_T}$path_utmp" >&6
11305if test x$rxvt_cv_path_utmp != x; then 11229if test x$path_utmp != x; then
11306 11230
11307cat >>confdefs.h <<_ACEOF 11231cat >>confdefs.h <<_ACEOF
11308#define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" 11232#define UTMP_FILE "$path_utmp"
11309_ACEOF 11233_ACEOF
11310 11234
11311fi 11235fi
11312 11236
11313 11237
11314echo "$as_me:$LINENO: checking where utmpx is located" >&5 11238echo "$as_me:$LINENO: checking where utmpx is located" >&5
11315echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 11239echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6
11316if test "${rxvt_cv_path_utmpx+set}" = set; then 11240if test "${path_utmpx+set}" = set; then
11317 echo $ECHO_N "(cached) $ECHO_C" >&6 11241 echo $ECHO_N "(cached) $ECHO_C" >&6
11318else 11242else
11319 if test "$cross_compiling" = yes; then 11243 if test "$cross_compiling" = yes; then
11320 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 11244 { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5
11321echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} 11245echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;}
11322else 11246else
11323 cat >conftest.$ac_ext <<_ACEOF 11247 cat >conftest.$ac_ext <<_ACEOF
11324/* confdefs.h. */ 11248/* confdefs.h. */
11325_ACEOF 11249_ACEOF
11326cat confdefs.h >>conftest.$ac_ext 11250cat confdefs.h >>conftest.$ac_ext
11372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11373 (eval $ac_try) 2>&5 11297 (eval $ac_try) 2>&5
11374 ac_status=$? 11298 ac_status=$?
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); }; }; then 11300 (exit $ac_status); }; }; then
11377 rxvt_cv_path_utmpx=`cat conftestval` 11301 path_utmpx=`cat conftestval`
11378else 11302else
11379 echo "$as_me: program exited with status $ac_status" >&5 11303 echo "$as_me: program exited with status $ac_status" >&5
11380echo "$as_me: failed program was:" >&5 11304echo "$as_me: failed program was:" >&5
11381sed 's/^/| /' conftest.$ac_ext >&5 11305sed 's/^/| /' conftest.$ac_ext >&5
11382 11306
11383( exit $ac_status ) 11307( exit $ac_status )
11384rxvt_cv_path_utmpx= 11308path_utmpx=
11385fi 11309fi
11386rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11310rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11387fi 11311fi
11388fi 11312fi
11389echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 11313echo "$as_me:$LINENO: result: $path_utmpx" >&5
11390echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 11314echo "${ECHO_T}$path_utmpx" >&6
11391if test x$rxvt_cv_path_utmpx != x; then 11315if test x$path_utmpx != x; then
11392 11316
11393cat >>confdefs.h <<_ACEOF 11317cat >>confdefs.h <<_ACEOF
11394#define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" 11318#define UTMPX_FILE "$path_utmpx"
11395_ACEOF 11319_ACEOF
11396 11320
11397fi 11321fi
11398 11322
11399 11323
11400echo "$as_me:$LINENO: checking where wtmp is located" >&5 11324echo "$as_me:$LINENO: checking where wtmp is located" >&5
11401echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 11325echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6
11402if test "${rxvt_cv_path_wtmp+set}" = set; then 11326if test "${path_wtmp+set}" = set; then
11403 echo $ECHO_N "(cached) $ECHO_C" >&6 11327 echo $ECHO_N "(cached) $ECHO_C" >&6
11404else 11328else
11405 if test "$cross_compiling" = yes; then 11329 if test "$cross_compiling" = yes; then
11406 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 11330 { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5
11407echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} 11331echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
11408else 11332else
11409 cat >conftest.$ac_ext <<_ACEOF 11333 cat >conftest.$ac_ext <<_ACEOF
11410/* confdefs.h. */ 11334/* confdefs.h. */
11411_ACEOF 11335_ACEOF
11412cat confdefs.h >>conftest.$ac_ext 11336cat confdefs.h >>conftest.$ac_ext
11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11451 (eval $ac_try) 2>&5 11375 (eval $ac_try) 2>&5
11452 ac_status=$? 11376 ac_status=$?
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); }; }; then 11378 (exit $ac_status); }; }; then
11455 rxvt_cv_path_wtmp=`cat conftestval` 11379 path_wtmp=`cat conftestval`
11456else 11380else
11457 echo "$as_me: program exited with status $ac_status" >&5 11381 echo "$as_me: program exited with status $ac_status" >&5
11458echo "$as_me: failed program was:" >&5 11382echo "$as_me: failed program was:" >&5
11459sed 's/^/| /' conftest.$ac_ext >&5 11383sed 's/^/| /' conftest.$ac_ext >&5
11460 11384
11461( exit $ac_status ) 11385( exit $ac_status )
11462rxvt_cv_path_wtmp= 11386path_wtmp=
11463fi 11387fi
11464rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11388rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11465fi 11389fi
11466fi 11390fi
11467echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 11391echo "$as_me:$LINENO: result: $path_wtmp" >&5
11468echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 11392echo "${ECHO_T}$path_wtmp" >&6
11469if test x$rxvt_cv_path_wtmp != x; then 11393if test x$path_wtmp != x; then
11470 11394
11471cat >>confdefs.h <<_ACEOF 11395cat >>confdefs.h <<_ACEOF
11472#define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" 11396#define WTMP_FILE "$path_wtmp"
11473_ACEOF 11397_ACEOF
11474 11398
11475fi 11399fi
11476 11400
11477echo "$as_me:$LINENO: checking where wtmpx is located" >&5 11401echo "$as_me:$LINENO: checking where wtmpx is located" >&5
11478echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 11402echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6
11479if test "${rxvt_cv_path_wtmpx+set}" = set; then 11403if test "${path_wtmpx+set}" = set; then
11480 echo $ECHO_N "(cached) $ECHO_C" >&6 11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11481else 11405else
11482 if test "$cross_compiling" = yes; then 11406 if test "$cross_compiling" = yes; then
11483 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 11407 { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5
11484echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} 11408echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;}
11485else 11409else
11486 cat >conftest.$ac_ext <<_ACEOF 11410 cat >conftest.$ac_ext <<_ACEOF
11487/* confdefs.h. */ 11411/* confdefs.h. */
11488_ACEOF 11412_ACEOF
11489cat confdefs.h >>conftest.$ac_ext 11413cat confdefs.h >>conftest.$ac_ext
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5 11451 (eval $ac_try) 2>&5
11528 ac_status=$? 11452 ac_status=$?
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then 11454 (exit $ac_status); }; }; then
11531 rxvt_cv_path_wtmpx=`cat conftestval` 11455 path_wtmpx=`cat conftestval`
11532else 11456else
11533 echo "$as_me: program exited with status $ac_status" >&5 11457 echo "$as_me: program exited with status $ac_status" >&5
11534echo "$as_me: failed program was:" >&5 11458echo "$as_me: failed program was:" >&5
11535sed 's/^/| /' conftest.$ac_ext >&5 11459sed 's/^/| /' conftest.$ac_ext >&5
11536 11460
11537( exit $ac_status ) 11461( exit $ac_status )
11538rxvt_cv_path_wtmpx= 11462path_wtmpx=
11539fi 11463fi
11540rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11464rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11541fi 11465fi
11542fi 11466fi
11543echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 11467echo "$as_me:$LINENO: result: $path_wtmpx" >&5
11544echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 11468echo "${ECHO_T}$path_wtmpx" >&6
11545if test x$rxvt_cv_path_wtmpx != x; then 11469if test x$path_wtmpx != x; then
11546 11470
11547cat >>confdefs.h <<_ACEOF 11471cat >>confdefs.h <<_ACEOF
11548#define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" 11472#define WTMPX_FILE "$path_wtmpx"
11549_ACEOF 11473_ACEOF
11550 11474
11551fi 11475fi
11552 11476
11553echo "$as_me:$LINENO: checking where lastlog is located" >&5 11477echo "$as_me:$LINENO: checking where lastlog is located" >&5
11554echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 11478echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6
11555if test "${rxvt_cv_path_lastlog+set}" = set; then 11479if test "${path_lastlog+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6 11480 echo $ECHO_N "(cached) $ECHO_C" >&6
11557else 11481else
11558 if test "$cross_compiling" = yes; then 11482 if test "$cross_compiling" = yes; then
11559 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 11483 { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5
11560echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} 11484echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;}
11561else 11485else
11562 cat >conftest.$ac_ext <<_ACEOF 11486 cat >conftest.$ac_ext <<_ACEOF
11563/* confdefs.h. */ 11487/* confdefs.h. */
11564_ACEOF 11488_ACEOF
11565cat confdefs.h >>conftest.$ac_ext 11489cat confdefs.h >>conftest.$ac_ext
11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608 (eval $ac_try) 2>&5 11532 (eval $ac_try) 2>&5
11609 ac_status=$? 11533 ac_status=$?
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; }; then 11535 (exit $ac_status); }; }; then
11612 rxvt_cv_path_lastlog=`cat conftestval` 11536 path_lastlog=`cat conftestval`
11613else 11537else
11614 echo "$as_me: program exited with status $ac_status" >&5 11538 echo "$as_me: program exited with status $ac_status" >&5
11615echo "$as_me: failed program was:" >&5 11539echo "$as_me: failed program was:" >&5
11616sed 's/^/| /' conftest.$ac_ext >&5 11540sed 's/^/| /' conftest.$ac_ext >&5
11617 11541
11618( exit $ac_status ) 11542( exit $ac_status )
11619rxvt_cv_path_lastlog= 11543path_lastlog=
11620fi 11544fi
11621rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11545rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11622fi 11546fi
11623fi 11547fi
11624echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 11548echo "$as_me:$LINENO: result: $path_lastlog" >&5
11625echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 11549echo "${ECHO_T}$path_lastlog" >&6
11626if test x$rxvt_cv_path_lastlog != x; then 11550if test x$path_lastlog != x; then
11627 11551
11628cat >>confdefs.h <<_ACEOF 11552cat >>confdefs.h <<_ACEOF
11629#define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" 11553#define LASTLOG_FILE "$path_lastlog"
11630_ACEOF 11554_ACEOF
11631 11555
11632 if test -d "$rxvt_cv_path_lastlog"; then 11556 if test -d "$path_lastlog"; then
11633 11557
11634cat >>confdefs.h <<\_ACEOF 11558cat >>confdefs.h <<\_ACEOF
11635#define LASTLOG_IS_DIR 1 11559#define LASTLOG_IS_DIR 1
11636_ACEOF 11560_ACEOF
11637 11561
11638 fi 11562 fi
11639fi 11563fi
11640 11564
11641echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11565echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11642echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 11566echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6
11643if test "${rxvt_cv_path_lastlogx+set}" = set; then 11567if test "${path_lastlogx+set}" = set; then
11644 echo $ECHO_N "(cached) $ECHO_C" >&6 11568 echo $ECHO_N "(cached) $ECHO_C" >&6
11645else 11569else
11646 if test "$cross_compiling" = yes; then 11570 if test "$cross_compiling" = yes; then
11647 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 11571 { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5
11648echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} 11572echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;}
11649else 11573else
11650 cat >conftest.$ac_ext <<_ACEOF 11574 cat >conftest.$ac_ext <<_ACEOF
11651/* confdefs.h. */ 11575/* confdefs.h. */
11652_ACEOF 11576_ACEOF
11653cat confdefs.h >>conftest.$ac_ext 11577cat confdefs.h >>conftest.$ac_ext
11689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690 (eval $ac_try) 2>&5 11614 (eval $ac_try) 2>&5
11691 ac_status=$? 11615 ac_status=$?
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }; }; then 11617 (exit $ac_status); }; }; then
11694 rxvt_cv_path_lastlogx=`cat conftestval` 11618 path_lastlogx=`cat conftestval`
11695else 11619else
11696 echo "$as_me: program exited with status $ac_status" >&5 11620 echo "$as_me: program exited with status $ac_status" >&5
11697echo "$as_me: failed program was:" >&5 11621echo "$as_me: failed program was:" >&5
11698sed 's/^/| /' conftest.$ac_ext >&5 11622sed 's/^/| /' conftest.$ac_ext >&5
11699 11623
11700( exit $ac_status ) 11624( exit $ac_status )
11701rxvt_cv_path_lastlogx= 11625path_lastlogx=
11702fi 11626fi
11703rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11627rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11704fi 11628fi
11705fi 11629fi
11706echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 11630echo "$as_me:$LINENO: result: $path_lastlogx" >&5
11707echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 11631echo "${ECHO_T}$path_lastlogx" >&6
11708if test x$rxvt_cv_path_lastlogx != x; then 11632if test x$path_lastlogx != x; then
11709 11633
11710cat >>confdefs.h <<_ACEOF 11634cat >>confdefs.h <<_ACEOF
11711#define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" 11635#define LASTLOGX_FILE "$path_lastlogx"
11712_ACEOF 11636_ACEOF
11713 11637
11638fi
11639
11640if test x$support_utmp != xyes; then
11641 echo " utmp support: disabled"
11642 echo
11643else
11644 echo " utmp support: enabled
11645 utmp file: $path_utmp
11646 utmpx file: $path_utmpx
11647 wtmp file: $path_wtmp
11648 wtmpx file: $path_wtmpx
11649 lastlog file: $path_lastlog
11650 lastlogx file: $path_lastlogx"
11714fi 11651fi
11715 11652
11716 11653
11717 11654
11718echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 11655echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11987#define HAVE_NL_LANGINFO 1 11924#define HAVE_NL_LANGINFO 1
11988_ACEOF 11925_ACEOF
11989 11926
11990fi 11927fi
11991 11928
11929
11992echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 11930echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5
11993echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 11931echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6
11994if test "${rxvt_can_pass_fds+set}" = set; then 11932if test "${can_pass_fds+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6 11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11996else 11934else
11997 cat >conftest.$ac_ext <<_ACEOF 11935 cat >conftest.$ac_ext <<_ACEOF
11998/* confdefs.h. */ 11936/* confdefs.h. */
11999_ACEOF 11937_ACEOF
12000cat confdefs.h >>conftest.$ac_ext 11938cat confdefs.h >>conftest.$ac_ext
12001cat >>conftest.$ac_ext <<_ACEOF 11939cat >>conftest.$ac_ext <<_ACEOF
12002/* end confdefs.h. */ 11940/* end confdefs.h. */
12003 11941
11942#include <cstddef> // broken bsds (is that redundant?) need this
12004#include <sys/types.h> 11943#include <sys/types.h>
12005#include <sys/socket.h> 11944#include <sys/socket.h>
11945#include <sys/uio.h>
12006 11946
12007int 11947int
12008main () 11948main ()
12009{ 11949{
12010 11950
12055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12056 (eval $ac_try) 2>&5 11996 (eval $ac_try) 2>&5
12057 ac_status=$? 11997 ac_status=$?
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); }; }; then 11999 (exit $ac_status); }; }; then
12060 rxvt_can_pass_fds=yes 12000 can_pass_fds=yes
12061else 12001else
12062 echo "$as_me: failed program was:" >&5 12002 echo "$as_me: failed program was:" >&5
12063sed 's/^/| /' conftest.$ac_ext >&5 12003sed 's/^/| /' conftest.$ac_ext >&5
12064 12004
12065rxvt_can_pass_fds=no 12005can_pass_fds=no
12066fi 12006fi
12067rm -f conftest.err conftest.$ac_objext \ 12007rm -f conftest.err conftest.$ac_objext \
12068 conftest$ac_exeext conftest.$ac_ext 12008 conftest$ac_exeext conftest.$ac_ext
12069fi 12009fi
12070echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 12010echo "$as_me:$LINENO: result: $can_pass_fds" >&5
12071echo "${ECHO_T}$rxvt_can_pass_fds" >&6 12011echo "${ECHO_T}$can_pass_fds" >&6
12072if test x$rxvt_can_pass_fds = xyes; then 12012if test x$can_pass_fds = xyes; then
12073 12013
12074cat >>confdefs.h <<\_ACEOF 12014cat >>confdefs.h <<\_ACEOF
12075#define HAVE_UNIX_FDPASS 1 12015#define HAVE_UNIX_FDPASS 1
12076_ACEOF 12016_ACEOF
12077 12017
12078else 12018else
12079 { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5 12019 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5
12080echo "$as_me: error: urxvt requires unix-compliant filehandle passing ability" >&2;} 12020echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
12081 { (exit 1); exit 1; }; } 12021 { (exit 1); exit 1; }; }
12082fi 12022fi
12023
12083 12024
12084echo "$as_me:$LINENO: checking for broken XIM callback" >&5 12025echo "$as_me:$LINENO: checking for broken XIM callback" >&5
12085echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 12026echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
12086if test "${rxvt_broken_ximcb+set}" = set; then 12027if test "${rxvt_broken_ximcb+set}" = set; then
12087 echo $ECHO_N "(cached) $ECHO_C" >&6 12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12721done 12662done
12722 12663
12723fi 12664fi
12724 12665
12725 12666
12667
12668echo "$as_me:$LINENO: checking for tty group" >&5
12669echo $ECHO_N "checking for tty group... $ECHO_C" >&6
12670if test "${tty_group+set}" = set; then
12671 echo $ECHO_N "(cached) $ECHO_C" >&6
12672else
12673 if test "$cross_compiling" = yes; then
12674 tty_group=no
12675else
12676 cat >conftest.$ac_ext <<_ACEOF
12677/* confdefs.h. */
12678_ACEOF
12679cat confdefs.h >>conftest.$ac_ext
12680cat >>conftest.$ac_ext <<_ACEOF
12681/* end confdefs.h. */
12682
12683#include <sys/types.h>
12684#include <sys/stat.h>
12685#include <unistd.h>
12686#include <grp.h>
12687
12688main()
12689{
12690 struct stat st;
12691 struct group *gr;
12692 char *tty;
12693 gr = getgrnam("tty");
12694 tty = ttyname(0);
12695 if (gr != 0
12696 && tty != 0
12697 && (stat(tty, &st)) == 0
12698 && st.st_gid == gr->gr_gid)
12699 return 0;
12700 else
12701 return 1;
12702}
12703_ACEOF
12704rm -f conftest$ac_exeext
12705if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12706 (eval $ac_link) 2>&5
12707 ac_status=$?
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12711 (eval $ac_try) 2>&5
12712 ac_status=$?
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); }; }; then
12715 tty_group=yes
12716else
12717 echo "$as_me: program exited with status $ac_status" >&5
12718echo "$as_me: failed program was:" >&5
12719sed 's/^/| /' conftest.$ac_ext >&5
12720
12721( exit $ac_status )
12722tty_group=no
12723fi
12724rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12725fi
12726fi
12727echo "$as_me:$LINENO: result: $tty_group" >&5
12728echo "${ECHO_T}$tty_group" >&6
12729if test x$tty_group = xyes; then
12730
12731cat >>confdefs.h <<\_ACEOF
12732#define TTY_GID_SUPPORT 1
12733_ACEOF
12734
12735fi
12736
12726if test x$support_xft = xyes; then 12737if test x$support_xft = xyes; then
12727 LIBS="$LIBS `pkg-config xft --libs`" 12738 # Extract the first word of "pkg-config", so it can be a program name with args.
12739set dummy pkg-config; ac_word=$2
12740echo "$as_me:$LINENO: checking for $ac_word" >&5
12741echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12742if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12743 echo $ECHO_N "(cached) $ECHO_C" >&6
12744else
12745 case $PKG_CONFIG in
12746 [\\/]* | ?:[\\/]*)
12747 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12748 ;;
12749 *)
12750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12751for as_dir in $PATH
12752do
12753 IFS=$as_save_IFS
12754 test -z "$as_dir" && as_dir=.
12755 for ac_exec_ext in '' $ac_executable_extensions; do
12756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12757 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12759 break 2
12760 fi
12761done
12762done
12763
12764 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12765 ;;
12766esac
12767fi
12768PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12769
12770if test -n "$PKG_CONFIG"; then
12771 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12772echo "${ECHO_T}$PKG_CONFIG" >&6
12773else
12774 echo "$as_me:$LINENO: result: no" >&5
12775echo "${ECHO_T}no" >&6
12776fi
12777
12778 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12779 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12728 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 12780 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12781 else
12782 # Extract the first word of "xft-config", so it can be a program name with args.
12783set dummy xft-config; ac_word=$2
12784echo "$as_me:$LINENO: checking for $ac_word" >&5
12785echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12786if test "${ac_cv_path_XFT_CONFIG+set}" = set; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12788else
12789 case $XFT_CONFIG in
12790 [\\/]* | ?:[\\/]*)
12791 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path.
12792 ;;
12793 *)
12794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12795for as_dir in $PATH
12796do
12797 IFS=$as_save_IFS
12798 test -z "$as_dir" && as_dir=.
12799 for ac_exec_ext in '' $ac_executable_extensions; do
12800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12801 ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12803 break 2
12804 fi
12805done
12806done
12807
12808 test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no"
12809 ;;
12810esac
12811fi
12812XFT_CONFIG=$ac_cv_path_XFT_CONFIG
12813
12814if test -n "$XFT_CONFIG"; then
12815 echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5
12816echo "${ECHO_T}$XFT_CONFIG" >&6
12817else
12818 echo "$as_me:$LINENO: result: no" >&5
12819echo "${ECHO_T}no" >&6
12820fi
12821
12822 if test $XFT_CONFIG != no; then
12823 LIBS="$LIBS `$XFT_CONFIG --libs`"
12824 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12825 fi
12826 fi
12729 12827
12730 12828
12731for ac_header in X11/Xft/Xft.h 12829for ac_header in X11/Xft/Xft.h
12732do 12830do
12733as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12831as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13023cat >>confdefs.h <<\_ACEOF 13121cat >>confdefs.h <<\_ACEOF
13024#define ENABLE_FRILLS 1 13122#define ENABLE_FRILLS 1
13025_ACEOF 13123_ACEOF
13026 13124
13027fi 13125fi
13028if test x$support_24bit = xyes; then
13029
13030cat >>confdefs.h <<\_ACEOF
13031#define PREFER_24BIT 1
13032_ACEOF
13033
13034fi
13035if test x$support_mousewheel = xyes; then 13126if test x$support_mousewheel = xyes; then
13036 13127
13037cat >>confdefs.h <<\_ACEOF 13128cat >>confdefs.h <<\_ACEOF
13038#define MOUSE_WHEEL 1 13129#define MOUSE_WHEEL 1
13039_ACEOF 13130_ACEOF
13041fi 13132fi
13042if test x$support_mouseslipwheel = xyes; then 13133if test x$support_mouseslipwheel = xyes; then
13043 13134
13044cat >>confdefs.h <<\_ACEOF 13135cat >>confdefs.h <<\_ACEOF
13045#define MOUSE_SLIP_WHEELING 1 13136#define MOUSE_SLIP_WHEELING 1
13046_ACEOF
13047
13048fi
13049if test x$support_utmp = xyes; then
13050
13051cat >>confdefs.h <<\_ACEOF
13052#define UTMP_SUPPORT 1
13053_ACEOF
13054
13055fi
13056if test x$support_wtmp = xyes; then
13057
13058cat >>confdefs.h <<\_ACEOF
13059#define WTMP_SUPPORT 1
13060_ACEOF
13061
13062fi
13063if test x$support_lastlog = xyes; then
13064
13065cat >>confdefs.h <<\_ACEOF
13066#define LASTLOG_SUPPORT 1
13067_ACEOF 13137_ACEOF
13068 13138
13069fi 13139fi
13070if test x$support_xim = xyes -o x$multichar_set = xyes; then 13140if test x$support_xim = xyes -o x$multichar_set = xyes; then
13071 if test x$rxvt_cv_func_xlocale = xyes; then 13141 if test x$rxvt_cv_func_xlocale = xyes; then
14116s,@EGREP@,$EGREP,;t t 14186s,@EGREP@,$EGREP,;t t
14117s,@LINKER@,$LINKER,;t t 14187s,@LINKER@,$LINKER,;t t
14118s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 14188s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
14119s,@RXVTNAME@,$RXVTNAME,;t t 14189s,@RXVTNAME@,$RXVTNAME,;t t
14120s,@MV@,$MV,;t t 14190s,@MV@,$MV,;t t
14121s,@RM@,$RM,;t t
14122s,@CP@,$CP,;t t 14191s,@CP@,$CP,;t t
14123s,@LN@,$LN,;t t 14192s,@LN@,$LN,;t t
14124s,@SED@,$SED,;t t 14193s,@SED@,$SED,;t t
14125s,@ECHO@,$ECHO,;t t 14194s,@ECHO@,$ECHO,;t t
14126s,@CMP@,$CMP,;t t 14195s,@CMP@,$CMP,;t t
14137s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t 14206s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t
14138s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t 14207s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t
14139s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t 14208s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t
14140s,@rxvt_intp_define@,$rxvt_intp_define,;t t 14209s,@rxvt_intp_define@,$rxvt_intp_define,;t t
14141s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 14210s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
14211s,@PKG_CONFIG@,$PKG_CONFIG,;t t
14212s,@XFT_CONFIG@,$XFT_CONFIG,;t t
14142s,@PERL@,$PERL,;t t 14213s,@PERL@,$PERL,;t t
14143s,@PERLLIB@,$PERLLIB,;t t 14214s,@PERLLIB@,$PERLLIB,;t t
14144s,@PERLFLAGS@,$PERLFLAGS,;t t 14215s,@PERLFLAGS@,$PERLFLAGS,;t t
14145s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t 14216s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t
14146s,@IF_PERL@,$IF_PERL,;t t 14217s,@IF_PERL@,$IF_PERL,;t t
14663 Install path: ${prefix}/bin 14734 Install path: ${prefix}/bin
14664 Compiler: $CXX 14735 Compiler: $CXX
14665 Compiler flags: $CFLAGS 14736 Compiler flags: $CFLAGS
14666 Linker: $LINKER" 14737 Linker: $LINKER"
14667 14738
14668if test "$MALLOC_TYPE" = S; then
14669 echo " malloc support: system default"
14670fi
14671if test "$MALLOC_TYPE" = G; then
14672 echo " malloc support: Gray Watson's dmalloc"
14673fi
14674if test "$MALLOC_TYPE" = D; then
14675 echo " malloc support: Doug Lea's malloc"
14676fi
14677
14678if test x$support_xpm = xyes; then 14739if test x$support_xpm = xyes; then
14679 echo " Xpm library: $XPM_LIBS" 14740 echo " Xpm library: $XPM_LIBS"
14680fi 14741fi
14681 14742
14682echo "
14683The following are set in config.h
14684"
14685if test x$support_utmp != xyes; then
14686 echo " utmp support: disabled"
14687 echo
14688else
14689 echo " utmp support: enabled
14690 utmp file: $rxvt_cv_path_utmp
14691 utmpx file: $rxvt_cv_path_utmpx
14692 wtmp file: $rxvt_cv_path_wtmp
14693 wtmpx file: $rxvt_cv_path_wtmpx
14694 lastlog file: $rxvt_cv_path_lastlog
14695 ttys/ttytab file: $rxvt_cv_path_ttytab
14696 embedded perl: $support_perl"
14697 echo
14698fi
14699if test x$term != x; then 14743if test x$term != x; then
14700 echo " set TERM to: $term" 14744 echo " set TERM to: $term"
14701fi 14745fi
14702if test x$terminfo != x; then 14746if test x$terminfo != x; then
14703 echo " set TERMINFO to: $terminfo" 14747 echo " set TERMINFO to: $terminfo"
14705echo " default resource name: $RESNAME" 14749echo " default resource name: $RESNAME"
14706echo " resource class: $RESCLASS" 14750echo " resource class: $RESCLASS"
14707if test x$RESFALLBACK != x; then 14751if test x$RESFALLBACK != x; then
14708 echo " resource class fallback: $RESFALLBACK" 14752 echo " resource class fallback: $RESFALLBACK"
14709fi 14753fi
14754echo
14755echo " embedded perl: $support_perl"
14710echo 14756echo
14711if test x$support_xpm = xneedsmanualspecification; then 14757if test x$support_xpm = xneedsmanualspecification; then
14712 echo ".----------------------------------------------------------------." 14758 echo ".----------------------------------------------------------------."
14713 echo ". WARNING: --enable-xpm-background was specified however the ." 14759 echo ". WARNING: --enable-xpm-background was specified however the ."
14714 echo ". XPM includes files and libraries could not be found. ." 14760 echo ". XPM includes files and libraries could not be found. ."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines