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

Comparing rxvt-unicode/configure (file contents):
Revision 1.85 by root, Sat Jan 21 21:01:54 2006 UTC vs.
Revision 1.99 by root, Thu Feb 2 14:40:59 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)
3280else 3275else
3281 echo "$as_me: failed program was:" >&5 3276 echo "$as_me: failed program was:" >&5
3282sed 's/^/| /' conftest.$ac_ext >&5 3277sed 's/^/| /' conftest.$ac_ext >&5
3283 3278
3284 3279
3285 echo "$as_me:$LINENO: result: no, make everything bigger and slower" >&5 3280 echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5
3286echo "${ECHO_T}no, make everything bigger and slower" >&6 3281echo "${ECHO_T}no, making everything bigger and slower" >&6
3287 LIBS="$save_LIBS" 3282 LIBS="$save_LIBS"
3288 LINKER="$save_CXX" 3283 LINKER="$save_CXX"
3289 3284
3290 3285
3291fi 3286fi
3294 CXX="$save_CXX" 3289 CXX="$save_CXX"
3295fi 3290fi
3296LINKER=$LINKER 3291LINKER=$LINKER
3297 3292
3298 3293
3299ac_ext=cc
3300ac_cpp='$CXXCPP $CPPFLAGS'
3301ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3302ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3303ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3304
3305if test -z "$orig_CXXFLAGS"; then 3294if test -z "$orig_CXXFLAGS"; then
3306 if test x$GCC = xyes && test "x$GXX" = xyes; then 3295 if test x$GCC = xyes && test "x$GXX" = xyes; then
3307 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3296 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3308 cat >conftest.$ac_ext <<_ACEOF 3297 cat >conftest.$ac_ext <<_ACEOF
3309/* confdefs.h. */ 3298/* confdefs.h. */
3310_ACEOF 3299_ACEOF
3311cat confdefs.h >>conftest.$ac_ext 3300cat confdefs.h >>conftest.$ac_ext
3312cat >>conftest.$ac_ext <<_ACEOF 3301cat >>conftest.$ac_ext <<_ACEOF
3865fi 3854fi
3866 3855
3867fi 3856fi
3868 3857
3869 3858
3870echo "$as_me:$LINENO: checking for sched_yield" >&5
3871echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
3872if test "${ac_cv_func_sched_yield+set}" = set; then
3873 echo $ECHO_N "(cached) $ECHO_C" >&6
3874else
3875 cat >conftest.$ac_ext <<_ACEOF
3876/* confdefs.h. */
3877_ACEOF
3878cat confdefs.h >>conftest.$ac_ext
3879cat >>conftest.$ac_ext <<_ACEOF
3880/* end confdefs.h. */
3881/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
3882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3883#define sched_yield innocuous_sched_yield
3884
3885/* System header to define __stub macros and hopefully few prototypes,
3886 which can conflict with char sched_yield (); below.
3887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3888 <limits.h> exists even on freestanding compilers. */
3889
3890#ifdef __STDC__
3891# include <limits.h>
3892#else
3893# include <assert.h>
3894#endif
3895
3896#undef sched_yield
3897
3898/* Override any gcc2 internal prototype to avoid an error. */
3899#ifdef __cplusplus
3900extern "C"
3901{
3902#endif
3903/* We use char because int might match the return type of a gcc2
3904 builtin and then its argument prototype would still apply. */
3905char sched_yield ();
3906/* The GNU C library defines this for functions which it implements
3907 to always fail with ENOSYS. Some functions are actually named
3908 something starting with __ and the normal name is an alias. */
3909#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
3910choke me
3911#else
3912char (*f) () = sched_yield;
3913#endif
3914#ifdef __cplusplus
3915}
3916#endif
3917
3918int
3919main ()
3920{
3921return f != sched_yield;
3922 ;
3923 return 0;
3924}
3925_ACEOF
3926rm -f conftest.$ac_objext conftest$ac_exeext
3927if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3928 (eval $ac_link) 2>conftest.er1
3929 ac_status=$?
3930 grep -v '^ *+' conftest.er1 >conftest.err
3931 rm -f conftest.er1
3932 cat conftest.err >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } &&
3935 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937 (eval $ac_try) 2>&5
3938 ac_status=$?
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); }; } &&
3941 { ac_try='test -s conftest$ac_exeext'
3942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943 (eval $ac_try) 2>&5
3944 ac_status=$?
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); }; }; then
3947 ac_cv_func_sched_yield=yes
3948else
3949 echo "$as_me: failed program was:" >&5
3950sed 's/^/| /' conftest.$ac_ext >&5
3951
3952ac_cv_func_sched_yield=no
3953fi
3954rm -f conftest.err conftest.$ac_objext \
3955 conftest$ac_exeext conftest.$ac_ext
3956fi
3957echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
3958echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
3959if test $ac_cv_func_sched_yield = yes; then
3960 :
3961else
3962 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
3963echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
3964if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3966else
3967 ac_check_lib_save_LIBS=$LIBS
3968LIBS="-lrt $LIBS"
3969cat >conftest.$ac_ext <<_ACEOF
3970/* confdefs.h. */
3971_ACEOF
3972cat confdefs.h >>conftest.$ac_ext
3973cat >>conftest.$ac_ext <<_ACEOF
3974/* end confdefs.h. */
3975
3976/* Override any gcc2 internal prototype to avoid an error. */
3977#ifdef __cplusplus
3978extern "C"
3979#endif
3980/* We use char because int might match the return type of a gcc2
3981 builtin and then its argument prototype would still apply. */
3982char sched_yield ();
3983int
3984main ()
3985{
3986sched_yield ();
3987 ;
3988 return 0;
3989}
3990_ACEOF
3991rm -f conftest.$ac_objext conftest$ac_exeext
3992if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3993 (eval $ac_link) 2>conftest.er1
3994 ac_status=$?
3995 grep -v '^ *+' conftest.er1 >conftest.err
3996 rm -f conftest.er1
3997 cat conftest.err >&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); } &&
4000 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4002 (eval $ac_try) 2>&5
4003 ac_status=$?
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); }; } &&
4006 { ac_try='test -s conftest$ac_exeext'
4007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4008 (eval $ac_try) 2>&5
4009 ac_status=$?
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); }; }; then
4012 ac_cv_lib_rt_sched_yield=yes
4013else
4014 echo "$as_me: failed program was:" >&5
4015sed 's/^/| /' conftest.$ac_ext >&5
4016
4017ac_cv_lib_rt_sched_yield=no
4018fi
4019rm -f conftest.err conftest.$ac_objext \
4020 conftest$ac_exeext conftest.$ac_ext
4021LIBS=$ac_check_lib_save_LIBS
4022fi
4023echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
4024echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
4025if test $ac_cv_lib_rt_sched_yield = yes; then
4026 LIBS="$LIBS -lrt"
4027fi
4028
4029fi
4030
4031
4032echo "$as_me:$LINENO: checking for sched_yield support" >&5
4033echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6
4034cat >conftest.$ac_ext <<_ACEOF
4035/* confdefs.h. */
4036_ACEOF
4037cat confdefs.h >>conftest.$ac_ext
4038cat >>conftest.$ac_ext <<_ACEOF
4039/* end confdefs.h. */
4040#include <sched.h>
4041int
4042main ()
4043{
4044sched_yield ()
4045 ;
4046 return 0;
4047}
4048_ACEOF
4049rm -f conftest.$ac_objext conftest$ac_exeext
4050if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4051 (eval $ac_link) 2>conftest.er1
4052 ac_status=$?
4053 grep -v '^ *+' conftest.er1 >conftest.err
4054 rm -f conftest.er1
4055 cat conftest.err >&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); } &&
4058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4060 (eval $ac_try) 2>&5
4061 ac_status=$?
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); }; } &&
4064 { ac_try='test -s conftest$ac_exeext'
4065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4066 (eval $ac_try) 2>&5
4067 ac_status=$?
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); }; }; then
4070 echo "$as_me:$LINENO: result: yes" >&5
4071echo "${ECHO_T}yes" >&6
4072
4073cat >>confdefs.h <<\_ACEOF
4074#define HAVE_SCHED_YIELD 1
4075_ACEOF
4076
4077else
4078 echo "$as_me: failed program was:" >&5
4079sed 's/^/| /' conftest.$ac_ext >&5
4080
4081echo "$as_me:$LINENO: result: no" >&5
4082echo "${ECHO_T}no" >&6
4083fi
4084rm -f conftest.err conftest.$ac_objext \
4085 conftest$ac_exeext conftest.$ac_ext
4086
4087
4088MALLOC_TYPE=S
4089 3859
4090support_frills=yes 3860support_frills=yes
4091support_inheritpixmap=yes 3861support_inheritpixmap=yes
4092support_tinting=yes 3862support_tinting=yes
4093support_fading=yes 3863support_fading=yes
4094support_keepscrolling=yes 3864support_keepscrolling=yes
4095support_selectionscrolling=yes 3865support_selectionscrolling=yes
4096support_mousewheel=yes 3866support_mousewheel=yes
4097support_mouseslipwheel=yes 3867support_mouseslipwheel=yes
4098support_utmp=yes
4099support_wtmp=yes
4100support_lastlog=yes
4101support_text_blink=yes 3868support_text_blink=yes
4102support_pointer_blank=yes 3869support_pointer_blank=yes
4103support_scroll_rxvt=yes 3870support_scroll_rxvt=yes
4104support_scroll_next=yes 3871support_scroll_next=yes
4105support_scroll_xterm=yes 3872support_scroll_xterm=yes
4129# Check whether --enable-everything or --disable-everything was given. 3896# Check whether --enable-everything or --disable-everything was given.
4130if test "${enable_everything+set}" = set; then 3897if test "${enable_everything+set}" = set; then
4131 enableval="$enable_everything" 3898 enableval="$enable_everything"
4132 3899
4133 if test x$enableval = xno; then 3900 if test x$enableval = xno; then
4134 support_24bit=no
4135 support_frills=no 3901 support_frills=no
4136 support_inheritpixmap=no 3902 support_inheritpixmap=no
4137 support_tinting=no 3903 support_tinting=no
4138 support_fading=no 3904 support_fading=no
4139 support_keepscrolling=no 3905 support_keepscrolling=no
4159 support_styles=no 3925 support_styles=no
4160 support_perl=no 3926 support_perl=no
4161 codesets= 3927 codesets=
4162 fi 3928 fi
4163 if test x$enableval = xyes; then 3929 if test x$enableval = xyes; then
4164 support_24bit=yes
4165 support_frills=yes 3930 support_frills=yes
4166 support_inheritpixmap=yes 3931 support_inheritpixmap=yes
4167 support_tinting=yes 3932 support_tinting=yes
4168 support_fading=yes 3933 support_fading=yes
4169 support_keepscrolling=yes 3934 support_keepscrolling=yes
4223 if test x$enableval = xyes -o x$enableval = xno; then 3988 if test x$enableval = xyes -o x$enableval = xno; then
4224 support_styles=$enableval 3989 support_styles=$enableval
4225 fi 3990 fi
4226fi; 3991fi;
4227 3992
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. 3993# Check whether --enable-xpm-background or --disable-xpm-background was given.
4253if test "${enable_xpm_background+set}" = set; then 3994if test "${enable_xpm_background+set}" = set; then
4254 enableval="$enable_xpm_background" 3995 enableval="$enable_xpm_background"
4255 if test x$enableval = xyes -o x$enableval = xno; then 3996 if test x$enableval = xyes -o x$enableval = xno; then
4256 support_xpm=$enableval 3997 support_xpm=$enableval
4320 support_scroll_plain=$enableval 4061 support_scroll_plain=$enableval
4321 fi 4062 fi
4322fi; 4063fi;
4323 4064
4324 4065
4325
4326# Check whether --with-codesets or --without-codesets was given. 4066# Check whether --with-codesets or --without-codesets was given.
4327if test "${with_codesets+set}" = set; then 4067if test "${with_codesets+set}" = set; then
4328 withval="$with_codesets" 4068 withval="$with_codesets"
4329 codesets="$withval" 4069 codesets="$withval"
4330fi; 4070fi;
4335 if test x$enableval = xyes -o x$enableval = xno; then 4075 if test x$enableval = xyes -o x$enableval = xno; then
4336 support_xim=$enableval 4076 support_xim=$enableval
4337 fi 4077 fi
4338fi; 4078fi;
4339 4079
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. 4080# Check whether --enable-backspace-key or --disable-backspace-key was given.
4353if test "${enable_backspace_key+set}" = set; then 4081if test "${enable_backspace_key+set}" = set; then
4354 enableval="$enable_backspace_key" 4082 enableval="$enable_backspace_key"
4355 if test x$enableval = xno; then 4083 if test x$enableval = xno; then
4356 4084
4480 if test x$enableval = xyes -o x$enableval = xno; then 4208 if test x$enableval = xyes -o x$enableval = xno; then
4481 support_frills=$enableval 4209 support_frills=$enableval
4482 fi 4210 fi
4483fi; 4211fi;
4484 4212
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. 4213# Check whether --enable-keepscrolling or --disable-keepscrolling was given.
4494if test "${enable_keepscrolling+set}" = set; then 4214if test "${enable_keepscrolling+set}" = set; then
4495 enableval="$enable_keepscrolling" 4215 enableval="$enable_keepscrolling"
4496 if test x$enableval = xyes -o x$enableval = xno; then 4216 if test x$enableval = xyes -o x$enableval = xno; then
4497 support_keepscrolling=$enableval 4217 support_keepscrolling=$enableval
4517# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 4237# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
4518if test "${enable_slipwheeling+set}" = set; then 4238if test "${enable_slipwheeling+set}" = set; then
4519 enableval="$enable_slipwheeling" 4239 enableval="$enable_slipwheeling"
4520 if test x$enableval = xyes -o x$enableval = xno; then 4240 if test x$enableval = xyes -o x$enableval = xno; then
4521 support_mouseslipwheel=$enableval 4241 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 4242 fi
4545fi; 4243fi;
4546 4244
4547# Check whether --enable-smart-resize or --disable-smart-resize was given. 4245# Check whether --enable-smart-resize or --disable-smart-resize was given.
4548if test "${enable_smart_resize+set}" = set; then 4246if test "${enable_smart_resize+set}" = set; then
4632MV=$ac_cv_path_MV 4330MV=$ac_cv_path_MV
4633 4331
4634if test -n "$MV"; then 4332if test -n "$MV"; then
4635 echo "$as_me:$LINENO: result: $MV" >&5 4333 echo "$as_me:$LINENO: result: $MV" >&5
4636echo "${ECHO_T}$MV" >&6 4334echo "${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 4335else
4678 echo "$as_me:$LINENO: result: no" >&5 4336 echo "$as_me:$LINENO: result: no" >&5
4679echo "${ECHO_T}no" >&6 4337echo "${ECHO_T}no" >&6
4680fi 4338fi
4681 4339
7674 7332
7675fi 7333fi
7676LIBS=$ac_save_LIBS 7334LIBS=$ac_save_LIBS
7677CFLAGS=$ac_save_CFLAGS 7335CFLAGS=$ac_save_CFLAGS
7678 7336
7337echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7338echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6
7339if test "${rxvt_xlib_illegal_access+set}" = set; then
7340 echo $ECHO_N "(cached) $ECHO_C" >&6
7341else
7342 cat >conftest.$ac_ext <<_ACEOF
7343/* confdefs.h. */
7344_ACEOF
7345cat confdefs.h >>conftest.$ac_ext
7346cat >>conftest.$ac_ext <<_ACEOF
7347/* end confdefs.h. */
7348
7349#define XLIB_ILLEGAL_ACCESS
7350#include <X11/Xlib.h>
7351
7352int
7353main ()
7354{
7355
7356 Display *dpy;
7357 dpy->xdefaults = (char *)0;
7358
7359 ;
7360 return 0;
7361}
7362_ACEOF
7363rm -f conftest.$ac_objext
7364if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7365 (eval $ac_compile) 2>conftest.er1
7366 ac_status=$?
7367 grep -v '^ *+' conftest.er1 >conftest.err
7368 rm -f conftest.er1
7369 cat conftest.err >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); } &&
7372 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7374 (eval $ac_try) 2>&5
7375 ac_status=$?
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); }; } &&
7378 { ac_try='test -s conftest.$ac_objext'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7380 (eval $ac_try) 2>&5
7381 ac_status=$?
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; }; then
7384 rxvt_xlib_illegal_access=yes
7385else
7386 echo "$as_me: failed program was:" >&5
7387sed 's/^/| /' conftest.$ac_ext >&5
7388
7389rxvt_xlib_illegal_access=no
7390
7391fi
7392rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7393fi
7394echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5
7395echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6
7396if test x$rxvt_xlib_illegal_access = xyes; then
7397
7398cat >>confdefs.h <<\_ACEOF
7399#define XLIB_ILLEGAL_ACCESS 1
7400_ACEOF
7401
7402fi
7679 7403
7680echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7404echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7681echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7405echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7682if test "${ac_cv_c_const+set}" = set; then 7406if test "${ac_cv_c_const+set}" = set; then
7683 echo $ECHO_N "(cached) $ECHO_C" >&6 7407 echo $ECHO_N "(cached) $ECHO_C" >&6
10068 9792
10069 9793
10070 9794
10071 9795
10072 9796
10073
10074
10075
10076
10077for ac_func in \ 9797for ac_func in \
10078 unsetenv \ 9798 unsetenv \
10079 setutent \ 9799 setutent \
10080 seteuid \
10081 setresuid \
10082 setreuid \
10083 on_exit \ 9800 on_exit \
10084 nanosleep \
10085 9801
10086do 9802do
10087as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9803as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10088echo "$as_me:$LINENO: checking for $ac_func" >&5 9804echo "$as_me:$LINENO: checking for $ac_func" >&5
10089echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9805echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10181 9897
10182fi 9898fi
10183done 9899done
10184 9900
10185 9901
9902
9903support_utmp=yes
9904support_wtmp=yes
9905support_lastlog=yes
9906
9907# Check whether --enable-utmp or --disable-utmp was given.
9908if test "${enable_utmp+set}" = set; then
9909 enableval="$enable_utmp"
9910 if test x$enableval = xyes -o x$enableval = xno; then
9911 support_utmp=$enableval
9912 fi
9913fi;
9914
9915# Check whether --enable-wtmp or --disable-wtmp was given.
9916if test "${enable_wtmp+set}" = set; then
9917 enableval="$enable_wtmp"
9918 if test x$enableval = xyes -o x$enableval = xno; then
9919 support_wtmp=$enableval
9920 fi
9921fi;
9922
9923# Check whether --enable-lastlog or --disable-lastlog was given.
9924if test "${enable_lastlog+set}" = set; then
9925 enableval="$enable_lastlog"
9926 if test x$enableval = xyes -o x$enableval = xno; then
9927 support_lastlog=$enableval
9928 fi
9929fi;
9930
9931if test x$support_utmp = xyes; then
9932
9933cat >>confdefs.h <<\_ACEOF
9934#define UTMP_SUPPORT 1
9935_ACEOF
9936
9937fi
9938if test x$support_wtmp = xyes; then
9939
9940cat >>confdefs.h <<\_ACEOF
9941#define WTMP_SUPPORT 1
9942_ACEOF
9943
9944fi
9945if test x$support_lastlog = xyes; then
9946
9947cat >>confdefs.h <<\_ACEOF
9948#define LASTLOG_SUPPORT 1
9949_ACEOF
9950
9951fi
10186 9952
10187 9953
10188 9954
10189 9955
10190for ac_func in \ 9956for ac_func in \
10586 10352
10587fi 10353fi
10588if test $ac_cv_header_utmp_h = yes; then 10354if test $ac_cv_header_utmp_h = yes; then
10589 echo "$as_me:$LINENO: checking for struct utmp" >&5 10355 echo "$as_me:$LINENO: checking for struct utmp" >&5
10590echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 10356echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6
10591if test "${rxvt_cv_struct_utmp+set}" = set; then 10357if test "${struct_utmp+set}" = set; then
10592 echo $ECHO_N "(cached) $ECHO_C" >&6 10358 echo $ECHO_N "(cached) $ECHO_C" >&6
10593else 10359else
10594 cat >conftest.$ac_ext <<_ACEOF 10360 cat >conftest.$ac_ext <<_ACEOF
10595/* confdefs.h. */ 10361/* confdefs.h. */
10596_ACEOF 10362_ACEOF
10626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10627 (eval $ac_try) 2>&5 10393 (eval $ac_try) 2>&5
10628 ac_status=$? 10394 ac_status=$?
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); }; }; then 10396 (exit $ac_status); }; }; then
10631 rxvt_cv_struct_utmp=yes 10397 struct_utmp=yes
10632else 10398else
10633 echo "$as_me: failed program was:" >&5 10399 echo "$as_me: failed program was:" >&5
10634sed 's/^/| /' conftest.$ac_ext >&5 10400sed 's/^/| /' conftest.$ac_ext >&5
10635 10401
10636rxvt_cv_struct_utmp=no 10402struct_utmp=no
10637fi 10403fi
10638rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10404rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10639fi 10405fi
10640echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 10406echo "$as_me:$LINENO: result: $struct_utmp" >&5
10641echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 10407echo "${ECHO_T}$struct_utmp" >&6
10642if test x$rxvt_cv_struct_utmp = xyes; then 10408if test x$struct_utmp = xyes; then
10643 10409
10644cat >>confdefs.h <<\_ACEOF 10410cat >>confdefs.h <<\_ACEOF
10645#define HAVE_STRUCT_UTMP 1 10411#define HAVE_STRUCT_UTMP 1
10646_ACEOF 10412_ACEOF
10647 10413
10648fi 10414fi
10649 10415
10650 10416
10651echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 10417echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5
10652echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 10418echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6
10653if test "${rxvt_cv_struct_utmp_host+set}" = set; then 10419if test "${struct_utmp_host+set}" = set; then
10654 echo $ECHO_N "(cached) $ECHO_C" >&6 10420 echo $ECHO_N "(cached) $ECHO_C" >&6
10655else 10421else
10656 cat >conftest.$ac_ext <<_ACEOF 10422 cat >conftest.$ac_ext <<_ACEOF
10657/* confdefs.h. */ 10423/* confdefs.h. */
10658_ACEOF 10424_ACEOF
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5 10455 (eval $ac_try) 2>&5
10690 ac_status=$? 10456 ac_status=$?
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; }; then 10458 (exit $ac_status); }; }; then
10693 rxvt_cv_struct_utmp_host=yes 10459 struct_utmp_host=yes
10694else 10460else
10695 echo "$as_me: failed program was:" >&5 10461 echo "$as_me: failed program was:" >&5
10696sed 's/^/| /' conftest.$ac_ext >&5 10462sed 's/^/| /' conftest.$ac_ext >&5
10697 10463
10698rxvt_cv_struct_utmp_host=no 10464struct_utmp_host=no
10699fi 10465fi
10700rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10466rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10701fi 10467fi
10702echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 10468echo "$as_me:$LINENO: result: $struct_utmp_host" >&5
10703echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 10469echo "${ECHO_T}$struct_utmp_host" >&6
10704if test x$rxvt_cv_struct_utmp_host = xyes; then 10470if test x$struct_utmp_host = xyes; then
10705 10471
10706cat >>confdefs.h <<\_ACEOF 10472cat >>confdefs.h <<\_ACEOF
10707#define HAVE_UTMP_HOST 1 10473#define HAVE_UTMP_HOST 1
10708_ACEOF 10474_ACEOF
10709 10475
10710fi 10476fi
10711 10477
10712echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 10478echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5
10713echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 10479echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6
10714if test "${rxvt_cv_struct_utmp_pid+set}" = set; then 10480if test "${struct_utmp_pid+set}" = set; then
10715 echo $ECHO_N "(cached) $ECHO_C" >&6 10481 echo $ECHO_N "(cached) $ECHO_C" >&6
10716else 10482else
10717 cat >conftest.$ac_ext <<_ACEOF 10483 cat >conftest.$ac_ext <<_ACEOF
10718/* confdefs.h. */ 10484/* confdefs.h. */
10719_ACEOF 10485_ACEOF
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5 10516 (eval $ac_try) 2>&5
10751 ac_status=$? 10517 ac_status=$?
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; }; then 10519 (exit $ac_status); }; }; then
10754 rxvt_cv_struct_utmp_pid=yes 10520 struct_utmp_pid=yes
10755else 10521else
10756 echo "$as_me: failed program was:" >&5 10522 echo "$as_me: failed program was:" >&5
10757sed 's/^/| /' conftest.$ac_ext >&5 10523sed 's/^/| /' conftest.$ac_ext >&5
10758 10524
10759rxvt_cv_struct_utmp_pid=no 10525struct_utmp_pid=no
10760fi 10526fi
10761rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10527rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10762fi 10528fi
10763echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 10529echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5
10764echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 10530echo "${ECHO_T}$struct_utmp_pid" >&6
10765if test x$rxvt_cv_struct_utmp_pid = xyes; then 10531if test x$struct_utmp_pid = xyes; then
10766 10532
10767cat >>confdefs.h <<\_ACEOF 10533cat >>confdefs.h <<\_ACEOF
10768#define HAVE_UTMP_PID 1 10534#define HAVE_UTMP_PID 1
10769_ACEOF 10535_ACEOF
10770 10536
10911 10677
10912fi 10678fi
10913if test $ac_cv_header_utmpx_h = yes; then 10679if test $ac_cv_header_utmpx_h = yes; then
10914 echo "$as_me:$LINENO: checking for struct utmpx" >&5 10680 echo "$as_me:$LINENO: checking for struct utmpx" >&5
10915echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 10681echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6
10916if test "${rxvt_cv_struct_utmpx+set}" = set; then 10682if test "${struct_utmpx+set}" = set; then
10917 echo $ECHO_N "(cached) $ECHO_C" >&6 10683 echo $ECHO_N "(cached) $ECHO_C" >&6
10918else 10684else
10919 cat >conftest.$ac_ext <<_ACEOF 10685 cat >conftest.$ac_ext <<_ACEOF
10920/* confdefs.h. */ 10686/* confdefs.h. */
10921_ACEOF 10687_ACEOF
10951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10952 (eval $ac_try) 2>&5 10718 (eval $ac_try) 2>&5
10953 ac_status=$? 10719 ac_status=$?
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); }; }; then 10721 (exit $ac_status); }; }; then
10956 rxvt_cv_struct_utmpx=yes 10722 struct_utmpx=yes
10957else 10723else
10958 echo "$as_me: failed program was:" >&5 10724 echo "$as_me: failed program was:" >&5
10959sed 's/^/| /' conftest.$ac_ext >&5 10725sed 's/^/| /' conftest.$ac_ext >&5
10960 10726
10961rxvt_cv_struct_utmpx=no 10727struct_utmpx=no
10962fi 10728fi
10963rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10729rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10964fi 10730fi
10965echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 10731echo "$as_me:$LINENO: result: $struct_utmpx" >&5
10966echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 10732echo "${ECHO_T}$struct_utmpx" >&6
10967if test x$rxvt_cv_struct_utmpx = xyes; then 10733if test x$struct_utmpx = xyes; then
10968 10734
10969cat >>confdefs.h <<\_ACEOF 10735cat >>confdefs.h <<\_ACEOF
10970#define HAVE_STRUCT_UTMPX 1 10736#define HAVE_STRUCT_UTMPX 1
10971_ACEOF 10737_ACEOF
10972 10738
10973fi 10739fi
10974 10740
10975 10741
10976echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 10742echo "$as_me:$LINENO: checking for host in utmpx struct" >&5
10977echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 10743echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6
10978if test "${rxvt_cv_struct_utmpx_host+set}" = set; then 10744if test "${struct_utmpx_host+set}" = set; then
10979 echo $ECHO_N "(cached) $ECHO_C" >&6 10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10980else 10746else
10981 cat >conftest.$ac_ext <<_ACEOF 10747 cat >conftest.$ac_ext <<_ACEOF
10982/* confdefs.h. */ 10748/* confdefs.h. */
10983_ACEOF 10749_ACEOF
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5 10780 (eval $ac_try) 2>&5
11015 ac_status=$? 10781 ac_status=$?
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; }; then 10783 (exit $ac_status); }; }; then
11018 rxvt_cv_struct_utmpx_host=yes 10784 struct_utmpx_host=yes
11019else 10785else
11020 echo "$as_me: failed program was:" >&5 10786 echo "$as_me: failed program was:" >&5
11021sed 's/^/| /' conftest.$ac_ext >&5 10787sed 's/^/| /' conftest.$ac_ext >&5
11022 10788
11023rxvt_cv_struct_utmpx_host=no 10789struct_utmpx_host=no
11024fi 10790fi
11025rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10791rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11026fi 10792fi
11027echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 10793echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5
11028echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 10794echo "${ECHO_T}$struct_utmpx_host" >&6
11029if test x$rxvt_cv_struct_utmpx_host = xyes; then 10795if test x$struct_utmpx_host = xyes; then
11030 10796
11031cat >>confdefs.h <<\_ACEOF 10797cat >>confdefs.h <<\_ACEOF
11032#define HAVE_UTMPX_HOST 1 10798#define HAVE_UTMPX_HOST 1
11033_ACEOF 10799_ACEOF
11034 10800
11035fi 10801fi
11036 10802
11037echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 10803echo "$as_me:$LINENO: checking for session in utmpx struct" >&5
11038echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 10804echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6
11039if test "${rxvt_cv_struct_utmpx_session+set}" = set; then 10805if test "${struct_utmpx_session+set}" = set; then
11040 echo $ECHO_N "(cached) $ECHO_C" >&6 10806 echo $ECHO_N "(cached) $ECHO_C" >&6
11041else 10807else
11042 cat >conftest.$ac_ext <<_ACEOF 10808 cat >conftest.$ac_ext <<_ACEOF
11043/* confdefs.h. */ 10809/* confdefs.h. */
11044_ACEOF 10810_ACEOF
11074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11075 (eval $ac_try) 2>&5 10841 (eval $ac_try) 2>&5
11076 ac_status=$? 10842 ac_status=$?
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; }; then 10844 (exit $ac_status); }; }; then
11079 rxvt_cv_struct_utmpx_session=yes 10845 struct_utmpx_session=yes
11080else 10846else
11081 echo "$as_me: failed program was:" >&5 10847 echo "$as_me: failed program was:" >&5
11082sed 's/^/| /' conftest.$ac_ext >&5 10848sed 's/^/| /' conftest.$ac_ext >&5
11083 10849
11084rxvt_cv_struct_utmpx_session=no 10850struct_utmpx_session=no
11085fi 10851fi
11086rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10852rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11087fi 10853fi
11088echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 10854echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5
11089echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 10855echo "${ECHO_T}$struct_utmpx_session" >&6
11090if test x$rxvt_cv_struct_utmpx_session = xyes; then 10856if test x$struct_utmpx_session = xyes; then
11091 10857
11092cat >>confdefs.h <<\_ACEOF 10858cat >>confdefs.h <<\_ACEOF
11093#define HAVE_UTMPX_SESSION 1 10859#define HAVE_UTMPX_SESSION 1
11094_ACEOF 10860_ACEOF
11095 10861
11098fi 10864fi
11099 10865
11100 10866
11101echo "$as_me:$LINENO: checking for struct lastlog" >&5 10867echo "$as_me:$LINENO: checking for struct lastlog" >&5
11102echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 10868echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
11103if test "${rxvt_cv_struct_lastlog+set}" = set; then 10869if test "${struct_lastlog+set}" = set; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6 10870 echo $ECHO_N "(cached) $ECHO_C" >&6
11105else 10871else
11106 cat >conftest.$ac_ext <<_ACEOF 10872 cat >conftest.$ac_ext <<_ACEOF
11107/* confdefs.h. */ 10873/* confdefs.h. */
11108_ACEOF 10874_ACEOF
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5 10909 (eval $ac_try) 2>&5
11144 ac_status=$? 10910 ac_status=$?
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; }; then 10912 (exit $ac_status); }; }; then
11147 rxvt_cv_struct_lastlog=yes 10913 struct_lastlog=yes
11148else 10914else
11149 echo "$as_me: failed program was:" >&5 10915 echo "$as_me: failed program was:" >&5
11150sed 's/^/| /' conftest.$ac_ext >&5 10916sed 's/^/| /' conftest.$ac_ext >&5
11151 10917
11152rxvt_cv_struct_lastlog=no 10918struct_lastlog=no
11153fi 10919fi
11154rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10920rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11155fi 10921fi
11156echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 10922echo "$as_me:$LINENO: result: $struct_lastlog" >&5
11157echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 10923echo "${ECHO_T}$struct_lastlog" >&6
11158if test x$rxvt_cv_struct_lastlog = xyes; then 10924if test x$struct_lastlog = xyes; then
11159 10925
11160cat >>confdefs.h <<\_ACEOF 10926cat >>confdefs.h <<\_ACEOF
11161#define HAVE_STRUCT_LASTLOG 1 10927#define HAVE_STRUCT_LASTLOG 1
11162_ACEOF 10928_ACEOF
11163 10929
11164fi 10930fi
11165 10931
11166echo "$as_me:$LINENO: checking for struct lastlogx" >&5 10932echo "$as_me:$LINENO: checking for struct lastlogx" >&5
11167echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 10933echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6
11168if test "${rxvt_cv_struct_lastlogx+set}" = set; then 10934if test "${struct_lastlogx+set}" = set; then
11169 echo $ECHO_N "(cached) $ECHO_C" >&6 10935 echo $ECHO_N "(cached) $ECHO_C" >&6
11170else 10936else
11171 cat >conftest.$ac_ext <<_ACEOF 10937 cat >conftest.$ac_ext <<_ACEOF
11172/* confdefs.h. */ 10938/* confdefs.h. */
11173_ACEOF 10939_ACEOF
11207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11208 (eval $ac_try) 2>&5 10974 (eval $ac_try) 2>&5
11209 ac_status=$? 10975 ac_status=$?
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; }; then 10977 (exit $ac_status); }; }; then
11212 rxvt_cv_struct_lastlogx=yes 10978 struct_lastlogx=yes
11213else 10979else
11214 echo "$as_me: failed program was:" >&5 10980 echo "$as_me: failed program was:" >&5
11215sed 's/^/| /' conftest.$ac_ext >&5 10981sed 's/^/| /' conftest.$ac_ext >&5
11216 10982
11217rxvt_cv_struct_lastlogx=no 10983struct_lastlogx=no
11218fi 10984fi
11219rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10985rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11220fi 10986fi
11221echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 10987echo "$as_me:$LINENO: result: $struct_lastlogx" >&5
11222echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 10988echo "${ECHO_T}$struct_lastlogx" >&6
11223if test x$rxvt_cv_struct_lastlogx = xyes; then 10989if test x$struct_lastlogx = xyes; then
11224 10990
11225cat >>confdefs.h <<\_ACEOF 10991cat >>confdefs.h <<\_ACEOF
11226#define HAVE_STRUCT_LASTLOGX 1 10992#define HAVE_STRUCT_LASTLOGX 1
11227_ACEOF 10993_ACEOF
11228 10994
11229fi 10995fi
11230 10996
11231 10997
11232echo "$as_me:$LINENO: checking where utmp is located" >&5 10998echo "$as_me:$LINENO: checking where utmp is located" >&5
11233echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 10999echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6
11234if test "${rxvt_cv_path_utmp+set}" = set; then 11000if test "${path_utmp+set}" = set; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6 11001 echo $ECHO_N "(cached) $ECHO_C" >&6
11236else 11002else
11237 if test "$cross_compiling" = yes; then 11003 if test "$cross_compiling" = yes; then
11238 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 11004 { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5
11239echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} 11005echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;}
11240else 11006else
11241 cat >conftest.$ac_ext <<_ACEOF 11007 cat >conftest.$ac_ext <<_ACEOF
11242/* confdefs.h. */ 11008/* confdefs.h. */
11243_ACEOF 11009_ACEOF
11244cat confdefs.h >>conftest.$ac_ext 11010cat confdefs.h >>conftest.$ac_ext
11280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11281 (eval $ac_try) 2>&5 11047 (eval $ac_try) 2>&5
11282 ac_status=$? 11048 ac_status=$?
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); }; }; then 11050 (exit $ac_status); }; }; then
11285 rxvt_cv_path_utmp=`cat conftestval` 11051 path_utmp=`cat conftestval`
11286else 11052else
11287 echo "$as_me: program exited with status $ac_status" >&5 11053 echo "$as_me: program exited with status $ac_status" >&5
11288echo "$as_me: failed program was:" >&5 11054echo "$as_me: failed program was:" >&5
11289sed 's/^/| /' conftest.$ac_ext >&5 11055sed 's/^/| /' conftest.$ac_ext >&5
11290 11056
11291( exit $ac_status ) 11057( exit $ac_status )
11292rxvt_cv_path_utmp= 11058path_utmp=
11293fi 11059fi
11294rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11060rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11295fi 11061fi
11296fi 11062fi
11297echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 11063echo "$as_me:$LINENO: result: $path_utmp" >&5
11298echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 11064echo "${ECHO_T}$path_utmp" >&6
11299if test x$rxvt_cv_path_utmp != x; then 11065if test x$path_utmp != x; then
11300 11066
11301cat >>confdefs.h <<_ACEOF 11067cat >>confdefs.h <<_ACEOF
11302#define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" 11068#define UTMP_FILE "$path_utmp"
11303_ACEOF 11069_ACEOF
11304 11070
11305fi 11071fi
11306 11072
11307 11073
11308echo "$as_me:$LINENO: checking where utmpx is located" >&5 11074echo "$as_me:$LINENO: checking where utmpx is located" >&5
11309echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 11075echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6
11310if test "${rxvt_cv_path_utmpx+set}" = set; then 11076if test "${path_utmpx+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6 11077 echo $ECHO_N "(cached) $ECHO_C" >&6
11312else 11078else
11313 if test "$cross_compiling" = yes; then 11079 if test "$cross_compiling" = yes; then
11314 { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 11080 { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5
11315echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} 11081echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;}
11316else 11082else
11317 cat >conftest.$ac_ext <<_ACEOF 11083 cat >conftest.$ac_ext <<_ACEOF
11318/* confdefs.h. */ 11084/* confdefs.h. */
11319_ACEOF 11085_ACEOF
11320cat confdefs.h >>conftest.$ac_ext 11086cat confdefs.h >>conftest.$ac_ext
11366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11367 (eval $ac_try) 2>&5 11133 (eval $ac_try) 2>&5
11368 ac_status=$? 11134 ac_status=$?
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); }; }; then 11136 (exit $ac_status); }; }; then
11371 rxvt_cv_path_utmpx=`cat conftestval` 11137 path_utmpx=`cat conftestval`
11372else 11138else
11373 echo "$as_me: program exited with status $ac_status" >&5 11139 echo "$as_me: program exited with status $ac_status" >&5
11374echo "$as_me: failed program was:" >&5 11140echo "$as_me: failed program was:" >&5
11375sed 's/^/| /' conftest.$ac_ext >&5 11141sed 's/^/| /' conftest.$ac_ext >&5
11376 11142
11377( exit $ac_status ) 11143( exit $ac_status )
11378rxvt_cv_path_utmpx= 11144path_utmpx=
11379fi 11145fi
11380rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11146rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11381fi 11147fi
11382fi 11148fi
11383echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 11149echo "$as_me:$LINENO: result: $path_utmpx" >&5
11384echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 11150echo "${ECHO_T}$path_utmpx" >&6
11385if test x$rxvt_cv_path_utmpx != x; then 11151if test x$path_utmpx != x; then
11386 11152
11387cat >>confdefs.h <<_ACEOF 11153cat >>confdefs.h <<_ACEOF
11388#define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" 11154#define UTMPX_FILE "$path_utmpx"
11389_ACEOF 11155_ACEOF
11390 11156
11391fi 11157fi
11392 11158
11393 11159
11394echo "$as_me:$LINENO: checking where wtmp is located" >&5 11160echo "$as_me:$LINENO: checking where wtmp is located" >&5
11395echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 11161echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6
11396if test "${rxvt_cv_path_wtmp+set}" = set; then 11162if test "${path_wtmp+set}" = set; then
11397 echo $ECHO_N "(cached) $ECHO_C" >&6 11163 echo $ECHO_N "(cached) $ECHO_C" >&6
11398else 11164else
11399 if test "$cross_compiling" = yes; then 11165 if test "$cross_compiling" = yes; then
11400 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 11166 { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5
11401echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} 11167echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;}
11402else 11168else
11403 cat >conftest.$ac_ext <<_ACEOF 11169 cat >conftest.$ac_ext <<_ACEOF
11404/* confdefs.h. */ 11170/* confdefs.h. */
11405_ACEOF 11171_ACEOF
11406cat confdefs.h >>conftest.$ac_ext 11172cat confdefs.h >>conftest.$ac_ext
11444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11445 (eval $ac_try) 2>&5 11211 (eval $ac_try) 2>&5
11446 ac_status=$? 11212 ac_status=$?
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; }; then 11214 (exit $ac_status); }; }; then
11449 rxvt_cv_path_wtmp=`cat conftestval` 11215 path_wtmp=`cat conftestval`
11450else 11216else
11451 echo "$as_me: program exited with status $ac_status" >&5 11217 echo "$as_me: program exited with status $ac_status" >&5
11452echo "$as_me: failed program was:" >&5 11218echo "$as_me: failed program was:" >&5
11453sed 's/^/| /' conftest.$ac_ext >&5 11219sed 's/^/| /' conftest.$ac_ext >&5
11454 11220
11455( exit $ac_status ) 11221( exit $ac_status )
11456rxvt_cv_path_wtmp= 11222path_wtmp=
11457fi 11223fi
11458rm -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
11459fi 11225fi
11460fi 11226fi
11461echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 11227echo "$as_me:$LINENO: result: $path_wtmp" >&5
11462echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 11228echo "${ECHO_T}$path_wtmp" >&6
11463if test x$rxvt_cv_path_wtmp != x; then 11229if test x$path_wtmp != x; then
11464 11230
11465cat >>confdefs.h <<_ACEOF 11231cat >>confdefs.h <<_ACEOF
11466#define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" 11232#define WTMP_FILE "$path_wtmp"
11467_ACEOF 11233_ACEOF
11468 11234
11469fi 11235fi
11470 11236
11471echo "$as_me:$LINENO: checking where wtmpx is located" >&5 11237echo "$as_me:$LINENO: checking where wtmpx is located" >&5
11472echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 11238echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6
11473if test "${rxvt_cv_path_wtmpx+set}" = set; then 11239if test "${path_wtmpx+set}" = set; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6 11240 echo $ECHO_N "(cached) $ECHO_C" >&6
11475else 11241else
11476 if test "$cross_compiling" = yes; then 11242 if test "$cross_compiling" = yes; then
11477 { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 11243 { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5
11478echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} 11244echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;}
11479else 11245else
11480 cat >conftest.$ac_ext <<_ACEOF 11246 cat >conftest.$ac_ext <<_ACEOF
11481/* confdefs.h. */ 11247/* confdefs.h. */
11482_ACEOF 11248_ACEOF
11483cat confdefs.h >>conftest.$ac_ext 11249cat confdefs.h >>conftest.$ac_ext
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5 11287 (eval $ac_try) 2>&5
11522 ac_status=$? 11288 ac_status=$?
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; }; then 11290 (exit $ac_status); }; }; then
11525 rxvt_cv_path_wtmpx=`cat conftestval` 11291 path_wtmpx=`cat conftestval`
11526else 11292else
11527 echo "$as_me: program exited with status $ac_status" >&5 11293 echo "$as_me: program exited with status $ac_status" >&5
11528echo "$as_me: failed program was:" >&5 11294echo "$as_me: failed program was:" >&5
11529sed 's/^/| /' conftest.$ac_ext >&5 11295sed 's/^/| /' conftest.$ac_ext >&5
11530 11296
11531( exit $ac_status ) 11297( exit $ac_status )
11532rxvt_cv_path_wtmpx= 11298path_wtmpx=
11533fi 11299fi
11534rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11300rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11535fi 11301fi
11536fi 11302fi
11537echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 11303echo "$as_me:$LINENO: result: $path_wtmpx" >&5
11538echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 11304echo "${ECHO_T}$path_wtmpx" >&6
11539if test x$rxvt_cv_path_wtmpx != x; then 11305if test x$path_wtmpx != x; then
11540 11306
11541cat >>confdefs.h <<_ACEOF 11307cat >>confdefs.h <<_ACEOF
11542#define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" 11308#define WTMPX_FILE "$path_wtmpx"
11543_ACEOF 11309_ACEOF
11544 11310
11545fi 11311fi
11546 11312
11547echo "$as_me:$LINENO: checking where lastlog is located" >&5 11313echo "$as_me:$LINENO: checking where lastlog is located" >&5
11548echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 11314echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6
11549if test "${rxvt_cv_path_lastlog+set}" = set; then 11315if test "${path_lastlog+set}" = set; then
11550 echo $ECHO_N "(cached) $ECHO_C" >&6 11316 echo $ECHO_N "(cached) $ECHO_C" >&6
11551else 11317else
11552 if test "$cross_compiling" = yes; then 11318 if test "$cross_compiling" = yes; then
11553 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 11319 { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5
11554echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} 11320echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;}
11555else 11321else
11556 cat >conftest.$ac_ext <<_ACEOF 11322 cat >conftest.$ac_ext <<_ACEOF
11557/* confdefs.h. */ 11323/* confdefs.h. */
11558_ACEOF 11324_ACEOF
11559cat confdefs.h >>conftest.$ac_ext 11325cat confdefs.h >>conftest.$ac_ext
11601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11602 (eval $ac_try) 2>&5 11368 (eval $ac_try) 2>&5
11603 ac_status=$? 11369 ac_status=$?
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); }; }; then 11371 (exit $ac_status); }; }; then
11606 rxvt_cv_path_lastlog=`cat conftestval` 11372 path_lastlog=`cat conftestval`
11607else 11373else
11608 echo "$as_me: program exited with status $ac_status" >&5 11374 echo "$as_me: program exited with status $ac_status" >&5
11609echo "$as_me: failed program was:" >&5 11375echo "$as_me: failed program was:" >&5
11610sed 's/^/| /' conftest.$ac_ext >&5 11376sed 's/^/| /' conftest.$ac_ext >&5
11611 11377
11612( exit $ac_status ) 11378( exit $ac_status )
11613rxvt_cv_path_lastlog= 11379path_lastlog=
11614fi 11380fi
11615rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11381rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11616fi 11382fi
11617fi 11383fi
11618echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 11384echo "$as_me:$LINENO: result: $path_lastlog" >&5
11619echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 11385echo "${ECHO_T}$path_lastlog" >&6
11620if test x$rxvt_cv_path_lastlog != x; then 11386if test x$path_lastlog != x; then
11621 11387
11622cat >>confdefs.h <<_ACEOF 11388cat >>confdefs.h <<_ACEOF
11623#define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" 11389#define LASTLOG_FILE "$path_lastlog"
11624_ACEOF 11390_ACEOF
11625 11391
11626 if test -d "$rxvt_cv_path_lastlog"; then 11392 if test -d "$path_lastlog"; then
11627 11393
11628cat >>confdefs.h <<\_ACEOF 11394cat >>confdefs.h <<\_ACEOF
11629#define LASTLOG_IS_DIR 1 11395#define LASTLOG_IS_DIR 1
11630_ACEOF 11396_ACEOF
11631 11397
11632 fi 11398 fi
11633fi 11399fi
11634 11400
11635echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11401echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11636echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 11402echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6
11637if test "${rxvt_cv_path_lastlogx+set}" = set; then 11403if test "${path_lastlogx+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6 11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11639else 11405else
11640 if test "$cross_compiling" = yes; then 11406 if test "$cross_compiling" = yes; then
11641 { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 11407 { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5
11642echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} 11408echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;}
11643else 11409else
11644 cat >conftest.$ac_ext <<_ACEOF 11410 cat >conftest.$ac_ext <<_ACEOF
11645/* confdefs.h. */ 11411/* confdefs.h. */
11646_ACEOF 11412_ACEOF
11647cat confdefs.h >>conftest.$ac_ext 11413cat confdefs.h >>conftest.$ac_ext
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5 11450 (eval $ac_try) 2>&5
11685 ac_status=$? 11451 ac_status=$?
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; }; then 11453 (exit $ac_status); }; }; then
11688 rxvt_cv_path_lastlogx=`cat conftestval` 11454 path_lastlogx=`cat conftestval`
11689else 11455else
11690 echo "$as_me: program exited with status $ac_status" >&5 11456 echo "$as_me: program exited with status $ac_status" >&5
11691echo "$as_me: failed program was:" >&5 11457echo "$as_me: failed program was:" >&5
11692sed 's/^/| /' conftest.$ac_ext >&5 11458sed 's/^/| /' conftest.$ac_ext >&5
11693 11459
11694( exit $ac_status ) 11460( exit $ac_status )
11695rxvt_cv_path_lastlogx= 11461path_lastlogx=
11696fi 11462fi
11697rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11463rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11698fi 11464fi
11699fi 11465fi
11700echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 11466echo "$as_me:$LINENO: result: $path_lastlogx" >&5
11701echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 11467echo "${ECHO_T}$path_lastlogx" >&6
11702if test x$rxvt_cv_path_lastlogx != x; then 11468if test x$path_lastlogx != x; then
11703 11469
11704cat >>confdefs.h <<_ACEOF 11470cat >>confdefs.h <<_ACEOF
11705#define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" 11471#define LASTLOGX_FILE "$path_lastlogx"
11706_ACEOF 11472_ACEOF
11707 11473
11474fi
11475
11476if test x$support_utmp != xyes; then
11477 echo " utmp support: disabled"
11478 echo
11479else
11480 echo " utmp support: enabled
11481 utmp file: $path_utmp
11482 utmpx file: $path_utmpx
11483 wtmp file: $path_wtmp
11484 wtmpx file: $path_wtmpx
11485 lastlog file: $path_lastlog
11486 lastlogx file: $path_lastlogx"
11708fi 11487fi
11709 11488
11710 11489
11711 11490
11712echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 11491echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11981#define HAVE_NL_LANGINFO 1 11760#define HAVE_NL_LANGINFO 1
11982_ACEOF 11761_ACEOF
11983 11762
11984fi 11763fi
11985 11764
11765
11986echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 11766echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5
11987echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 11767echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6
11988if test "${rxvt_can_pass_fds+set}" = set; then 11768if test "${can_pass_fds+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6 11769 echo $ECHO_N "(cached) $ECHO_C" >&6
11990else 11770else
11991 cat >conftest.$ac_ext <<_ACEOF 11771 cat >conftest.$ac_ext <<_ACEOF
11992/* confdefs.h. */ 11772/* confdefs.h. */
11993_ACEOF 11773_ACEOF
11994cat confdefs.h >>conftest.$ac_ext 11774cat confdefs.h >>conftest.$ac_ext
11995cat >>conftest.$ac_ext <<_ACEOF 11775cat >>conftest.$ac_ext <<_ACEOF
11996/* end confdefs.h. */ 11776/* end confdefs.h. */
11997 11777
11998#include <cstddef> // broken bsds (is that redundant) need this 11778#include <cstddef> // broken bsds (is that redundant?) need this
11999#include <sys/types.h> 11779#include <sys/types.h>
12000#include <sys/socket.h> 11780#include <sys/socket.h>
12001#include <sys/uio.h> 11781#include <sys/uio.h>
12002 11782
12003int 11783int
12051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12052 (eval $ac_try) 2>&5 11832 (eval $ac_try) 2>&5
12053 ac_status=$? 11833 ac_status=$?
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; }; then 11835 (exit $ac_status); }; }; then
12056 rxvt_can_pass_fds=yes 11836 can_pass_fds=yes
12057else 11837else
12058 echo "$as_me: failed program was:" >&5 11838 echo "$as_me: failed program was:" >&5
12059sed 's/^/| /' conftest.$ac_ext >&5 11839sed 's/^/| /' conftest.$ac_ext >&5
12060 11840
12061rxvt_can_pass_fds=no 11841can_pass_fds=no
12062fi 11842fi
12063rm -f conftest.err conftest.$ac_objext \ 11843rm -f conftest.err conftest.$ac_objext \
12064 conftest$ac_exeext conftest.$ac_ext 11844 conftest$ac_exeext conftest.$ac_ext
12065fi 11845fi
12066echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5 11846echo "$as_me:$LINENO: result: $can_pass_fds" >&5
12067echo "${ECHO_T}$rxvt_can_pass_fds" >&6 11847echo "${ECHO_T}$can_pass_fds" >&6
12068if test x$rxvt_can_pass_fds = xyes; then 11848if test x$can_pass_fds = xyes; then
12069 11849
12070cat >>confdefs.h <<\_ACEOF 11850cat >>confdefs.h <<\_ACEOF
12071#define HAVE_UNIX_FDPASS 1 11851#define HAVE_UNIX_FDPASS 1
12072_ACEOF 11852_ACEOF
12073 11853
12074else 11854else
12075 { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5 11855 { { 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;} 11856echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
12077 { (exit 1); exit 1; }; } 11857 { (exit 1); exit 1; }; }
12078fi 11858fi
11859
12079 11860
12080echo "$as_me:$LINENO: checking for broken XIM callback" >&5 11861echo "$as_me:$LINENO: checking for broken XIM callback" >&5
12081echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 11862echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
12082if test "${rxvt_broken_ximcb+set}" = set; then 11863if test "${rxvt_broken_ximcb+set}" = set; then
12083 echo $ECHO_N "(cached) $ECHO_C" >&6 11864 echo $ECHO_N "(cached) $ECHO_C" >&6
12299 12080
12300 12081
12301 12082
12302 12083
12303 12084
12085
12086
12087
12088
12304for ac_func in \ 12089for ac_func in \
12305 revoke \ 12090 revoke \
12306 _getpty \ 12091 _getpty \
12307 getpt \ 12092 getpt \
12308 posix_openpt \ 12093 posix_openpt \
12309 isastream \ 12094 isastream \
12095 setuid \
12096 seteuid \
12097 setreuid \
12098 setresuid \
12310 12099
12311do 12100do
12312as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12101as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12313echo "$as_me:$LINENO: checking for $ac_func" >&5 12102echo "$as_me:$LINENO: checking for $ac_func" >&5
12314echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12103echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12717done 12506done
12718 12507
12719fi 12508fi
12720 12509
12721 12510
12511
12512echo "$as_me:$LINENO: checking for tty group" >&5
12513echo $ECHO_N "checking for tty group... $ECHO_C" >&6
12514if test "${tty_group+set}" = set; then
12515 echo $ECHO_N "(cached) $ECHO_C" >&6
12516else
12517 if test "$cross_compiling" = yes; then
12518 tty_group=no
12519else
12520 cat >conftest.$ac_ext <<_ACEOF
12521/* confdefs.h. */
12522_ACEOF
12523cat confdefs.h >>conftest.$ac_ext
12524cat >>conftest.$ac_ext <<_ACEOF
12525/* end confdefs.h. */
12526
12527#include <sys/types.h>
12528#include <sys/stat.h>
12529#include <unistd.h>
12530#include <grp.h>
12531
12532main()
12533{
12534 struct stat st;
12535 struct group *gr;
12536 char *tty;
12537 gr = getgrnam("tty");
12538 tty = ttyname(0);
12539 if (gr != 0
12540 && tty != 0
12541 && (stat(tty, &st)) == 0
12542 && st.st_gid == gr->gr_gid)
12543 return 0;
12544 else
12545 return 1;
12546}
12547_ACEOF
12548rm -f conftest$ac_exeext
12549if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12550 (eval $ac_link) 2>&5
12551 ac_status=$?
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12555 (eval $ac_try) 2>&5
12556 ac_status=$?
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); }; }; then
12559 tty_group=yes
12560else
12561 echo "$as_me: program exited with status $ac_status" >&5
12562echo "$as_me: failed program was:" >&5
12563sed 's/^/| /' conftest.$ac_ext >&5
12564
12565( exit $ac_status )
12566tty_group=no
12567fi
12568rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12569fi
12570fi
12571echo "$as_me:$LINENO: result: $tty_group" >&5
12572echo "${ECHO_T}$tty_group" >&6
12573if test x$tty_group = xyes; then
12574
12575cat >>confdefs.h <<\_ACEOF
12576#define TTY_GID_SUPPORT 1
12577_ACEOF
12578
12579fi
12580
12722if test x$support_xft = xyes; then 12581if test x$support_xft = xyes; then
12723 LIBS="$LIBS `pkg-config xft --libs`" 12582 # Extract the first word of "pkg-config", so it can be a program name with args.
12583set dummy pkg-config; ac_word=$2
12584echo "$as_me:$LINENO: checking for $ac_word" >&5
12585echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12586if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12587 echo $ECHO_N "(cached) $ECHO_C" >&6
12588else
12589 case $PKG_CONFIG in
12590 [\\/]* | ?:[\\/]*)
12591 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12592 ;;
12593 *)
12594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12595for as_dir in $PATH
12596do
12597 IFS=$as_save_IFS
12598 test -z "$as_dir" && as_dir=.
12599 for ac_exec_ext in '' $ac_executable_extensions; do
12600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12601 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12603 break 2
12604 fi
12605done
12606done
12607
12608 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12609 ;;
12610esac
12611fi
12612PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12613
12614if test -n "$PKG_CONFIG"; then
12615 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12616echo "${ECHO_T}$PKG_CONFIG" >&6
12617else
12618 echo "$as_me:$LINENO: result: no" >&5
12619echo "${ECHO_T}no" >&6
12620fi
12621
12622 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12623 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12724 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 12624 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12625 else
12626 # Extract the first word of "xft-config", so it can be a program name with args.
12627set dummy xft-config; ac_word=$2
12628echo "$as_me:$LINENO: checking for $ac_word" >&5
12629echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12630if test "${ac_cv_path_XFT_CONFIG+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12632else
12633 case $XFT_CONFIG in
12634 [\\/]* | ?:[\\/]*)
12635 ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path.
12636 ;;
12637 *)
12638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12639for as_dir in $PATH
12640do
12641 IFS=$as_save_IFS
12642 test -z "$as_dir" && as_dir=.
12643 for ac_exec_ext in '' $ac_executable_extensions; do
12644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12645 ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12647 break 2
12648 fi
12649done
12650done
12651
12652 test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no"
12653 ;;
12654esac
12655fi
12656XFT_CONFIG=$ac_cv_path_XFT_CONFIG
12657
12658if test -n "$XFT_CONFIG"; then
12659 echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5
12660echo "${ECHO_T}$XFT_CONFIG" >&6
12661else
12662 echo "$as_me:$LINENO: result: no" >&5
12663echo "${ECHO_T}no" >&6
12664fi
12665
12666 if test $XFT_CONFIG != no; then
12667 LIBS="$LIBS `$XFT_CONFIG --libs`"
12668 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12669 fi
12670 fi
12725 12671
12726 12672
12727for ac_header in X11/Xft/Xft.h 12673for ac_header in X11/Xft/Xft.h
12728do 12674do
12729as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12675as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13019cat >>confdefs.h <<\_ACEOF 12965cat >>confdefs.h <<\_ACEOF
13020#define ENABLE_FRILLS 1 12966#define ENABLE_FRILLS 1
13021_ACEOF 12967_ACEOF
13022 12968
13023fi 12969fi
13024if test x$support_24bit = xyes; then
13025
13026cat >>confdefs.h <<\_ACEOF
13027#define PREFER_24BIT 1
13028_ACEOF
13029
13030fi
13031if test x$support_mousewheel = xyes; then 12970if test x$support_mousewheel = xyes; then
13032 12971
13033cat >>confdefs.h <<\_ACEOF 12972cat >>confdefs.h <<\_ACEOF
13034#define MOUSE_WHEEL 1 12973#define MOUSE_WHEEL 1
13035_ACEOF 12974_ACEOF
13037fi 12976fi
13038if test x$support_mouseslipwheel = xyes; then 12977if test x$support_mouseslipwheel = xyes; then
13039 12978
13040cat >>confdefs.h <<\_ACEOF 12979cat >>confdefs.h <<\_ACEOF
13041#define MOUSE_SLIP_WHEELING 1 12980#define MOUSE_SLIP_WHEELING 1
13042_ACEOF
13043
13044fi
13045if test x$support_utmp = xyes; then
13046
13047cat >>confdefs.h <<\_ACEOF
13048#define UTMP_SUPPORT 1
13049_ACEOF
13050
13051fi
13052if test x$support_wtmp = xyes; then
13053
13054cat >>confdefs.h <<\_ACEOF
13055#define WTMP_SUPPORT 1
13056_ACEOF
13057
13058fi
13059if test x$support_lastlog = xyes; then
13060
13061cat >>confdefs.h <<\_ACEOF
13062#define LASTLOG_SUPPORT 1
13063_ACEOF 12981_ACEOF
13064 12982
13065fi 12983fi
13066if test x$support_xim = xyes -o x$multichar_set = xyes; then 12984if test x$support_xim = xyes -o x$multichar_set = xyes; then
13067 if test x$rxvt_cv_func_xlocale = xyes; then 12985 if test x$rxvt_cv_func_xlocale = xyes; then
13354 13272
13355 13273
13356 13274
13357 13275
13358 13276
13277 cat >conftest.$ac_ext <<_ACEOF
13278/* confdefs.h. */
13279_ACEOF
13280cat confdefs.h >>conftest.$ac_ext
13281cat >>conftest.$ac_ext <<_ACEOF
13282/* end confdefs.h. */
13283
13284#include <EXTERN.h>
13285#include <perl.h>
13286#include <XSUB.h>
13287
13288int
13289main ()
13290{
13291
13292 PerlInterpreter *perl = perl_alloc ();
13293
13294 ;
13295 return 0;
13296}
13297_ACEOF
13298rm -f conftest.$ac_objext conftest$ac_exeext
13299if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13300 (eval $ac_link) 2>conftest.er1
13301 ac_status=$?
13302 grep -v '^ *+' conftest.er1 >conftest.err
13303 rm -f conftest.er1
13304 cat conftest.err >&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); } &&
13307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13309 (eval $ac_try) 2>&5
13310 ac_status=$?
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; } &&
13313 { ac_try='test -s conftest$ac_exeext'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13316 ac_status=$?
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; }; then
13319 rxvt_perl_link=yes
13320else
13321 echo "$as_me: failed program was:" >&5
13322sed 's/^/| /' conftest.$ac_ext >&5
13323
13324rxvt_perl_link=no
13325fi
13326rm -f conftest.err conftest.$ac_objext \
13327 conftest$ac_exeext conftest.$ac_ext
13359if test x$support_perl = xyes; then 13328if test x$support_perl = xyes; then
13360 support_frills=yes 13329 support_frills=yes
13361fi 13330fi
13362 13331
13363
13364CFLAGS=${CFLAGS--O}
13365LDFLAGS=${LDFLAGS--O}
13366
13367CPPFLAGS="$CPPFLAGS"
13368 13332
13369 13333
13370 13334
13371 13335
13372 13336
14112s,@EGREP@,$EGREP,;t t 14076s,@EGREP@,$EGREP,;t t
14113s,@LINKER@,$LINKER,;t t 14077s,@LINKER@,$LINKER,;t t
14114s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 14078s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
14115s,@RXVTNAME@,$RXVTNAME,;t t 14079s,@RXVTNAME@,$RXVTNAME,;t t
14116s,@MV@,$MV,;t t 14080s,@MV@,$MV,;t t
14117s,@RM@,$RM,;t t
14118s,@CP@,$CP,;t t 14081s,@CP@,$CP,;t t
14119s,@LN@,$LN,;t t 14082s,@LN@,$LN,;t t
14120s,@SED@,$SED,;t t 14083s,@SED@,$SED,;t t
14121s,@ECHO@,$ECHO,;t t 14084s,@ECHO@,$ECHO,;t t
14122s,@CMP@,$CMP,;t t 14085s,@CMP@,$CMP,;t t
14133s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t 14096s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t
14134s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t 14097s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t
14135s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t 14098s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t
14136s,@rxvt_intp_define@,$rxvt_intp_define,;t t 14099s,@rxvt_intp_define@,$rxvt_intp_define,;t t
14137s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 14100s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
14101s,@PKG_CONFIG@,$PKG_CONFIG,;t t
14102s,@XFT_CONFIG@,$XFT_CONFIG,;t t
14138s,@PERL@,$PERL,;t t 14103s,@PERL@,$PERL,;t t
14139s,@PERLLIB@,$PERLLIB,;t t 14104s,@PERLLIB@,$PERLLIB,;t t
14140s,@PERLFLAGS@,$PERLFLAGS,;t t 14105s,@PERLFLAGS@,$PERLFLAGS,;t t
14141s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t 14106s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t
14142s,@IF_PERL@,$IF_PERL,;t t 14107s,@IF_PERL@,$IF_PERL,;t t
14659 Install path: ${prefix}/bin 14624 Install path: ${prefix}/bin
14660 Compiler: $CXX 14625 Compiler: $CXX
14661 Compiler flags: $CFLAGS 14626 Compiler flags: $CFLAGS
14662 Linker: $LINKER" 14627 Linker: $LINKER"
14663 14628
14664if test "$MALLOC_TYPE" = S; then
14665 echo " malloc support: system default"
14666fi
14667if test "$MALLOC_TYPE" = G; then
14668 echo " malloc support: Gray Watson's dmalloc"
14669fi
14670if test "$MALLOC_TYPE" = D; then
14671 echo " malloc support: Doug Lea's malloc"
14672fi
14673
14674if test x$support_xpm = xyes; then 14629if test x$support_xpm = xyes; then
14675 echo " Xpm library: $XPM_LIBS" 14630 echo " Xpm library: $XPM_LIBS"
14676fi 14631fi
14677 14632
14678echo "
14679The following are set in config.h
14680"
14681if test x$support_utmp != xyes; then
14682 echo " utmp support: disabled"
14683 echo
14684else
14685 echo " utmp support: enabled
14686 utmp file: $rxvt_cv_path_utmp
14687 utmpx file: $rxvt_cv_path_utmpx
14688 wtmp file: $rxvt_cv_path_wtmp
14689 wtmpx file: $rxvt_cv_path_wtmpx
14690 lastlog file: $rxvt_cv_path_lastlog
14691 ttys/ttytab file: $rxvt_cv_path_ttytab
14692 embedded perl: $support_perl"
14693 echo
14694fi
14695if test x$term != x; then 14633if test x$term != x; then
14696 echo " set TERM to: $term" 14634 echo " set TERM to: $term"
14697fi 14635fi
14698if test x$terminfo != x; then 14636if test x$terminfo != x; then
14699 echo " set TERMINFO to: $terminfo" 14637 echo " set TERMINFO to: $terminfo"
14701echo " default resource name: $RESNAME" 14639echo " default resource name: $RESNAME"
14702echo " resource class: $RESCLASS" 14640echo " resource class: $RESCLASS"
14703if test x$RESFALLBACK != x; then 14641if test x$RESFALLBACK != x; then
14704 echo " resource class fallback: $RESFALLBACK" 14642 echo " resource class fallback: $RESFALLBACK"
14705fi 14643fi
14644echo
14645echo " embedded perl: $support_perl"
14706echo 14646echo
14707if test x$support_xpm = xneedsmanualspecification; then 14647if test x$support_xpm = xneedsmanualspecification; then
14708 echo ".----------------------------------------------------------------." 14648 echo ".----------------------------------------------------------------."
14709 echo ". WARNING: --enable-xpm-background was specified however the ." 14649 echo ". WARNING: --enable-xpm-background was specified however the ."
14710 echo ". XPM includes files and libraries could not be found. ." 14650 echo ". XPM includes files and libraries could not be found. ."
14720 echo ". functions could not be found. ." 14660 echo ". functions could not be found. ."
14721 echo ". XIM is now being DISABLED! ." 14661 echo ". XIM is now being DISABLED! ."
14722 echo ".----------------------------------------------------------------." 14662 echo ".----------------------------------------------------------------."
14723fi 14663fi
14724 14664
14725echo " *** Optionally check src/feature.h for further options ***" 14665echo "*** Optionally check src/feature.h for further, rarely used options ***"
14726echo 14666echo
14727 14667
14728echo ".----------------------------------------------------------------."
14729echo ". NOTE: some features are disabled by default, try ."
14730echo ". configure --help to get an idea of the optional features, ."
14731echo ". or read ./README.configure ."
14732echo ". ."
14733echo ". The script ./reconf gives a reasonable baseline, try it if ."
14734echo ". you do not want to read documentation and still want some ."
14735echo ". useful features. ."
14736echo ".----------------------------------------------------------------."
14737echo
14738

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines