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

Comparing rxvt-unicode/configure (file contents):
Revision 1.91 by root, Sun Jan 22 20:42:05 2006 UTC vs.
Revision 1.96 by root, Sat Jan 28 21:25:47 2006 UTC

307#endif 307#endif
308#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PKG_CONFIG XFT_CONFIG PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME MV CP LN SED ECHO CMP TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PKG_CONFIG XFT_CONFIG PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS'
313ac_subst_files='' 313ac_subst_files=''
314 314
315# Initialize some variables set by options. 315# Initialize some variables set by options.
316ac_init_help= 316ac_init_help=
317ac_init_version=false 317ac_init_version=false
870 NOTE: automatically enabled with --enable-shared 870 NOTE: automatically enabled with --enable-shared
871 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 871 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
872 --enable-combining enable composition of base and combining characters 872 --enable-combining enable composition of base and combining characters
873 --enable-xft enable xft support on systems that have it 873 --enable-xft enable xft support on systems that have it
874 --enable-font-styles enable bold and italic support 874 --enable-font-styles enable bold and italic support
875 --enable-utmp enable utmp (utmpx) support
876 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
877 --enable-lastlog enable lastlog support (requires --enable-utmp)
878 --enable-xpm-background enable XPM background pixmaps 875 --enable-xpm-background enable XPM background pixmaps
879 --enable-transparency enable transparent backgrounds 876 --enable-transparency enable transparent backgrounds
880 --enable-tinting enable tinting of transparent bg 877 --enable-tinting enable tinting of transparent bg
881 --enable-fading enable colors fading when off focus 878 --enable-fading enable colors fading when off focus
882 --enable-rxvt-scroll enable rxvt style scrollbar 879 --enable-rxvt-scroll enable rxvt style scrollbar
891 --enable-8bitctrls enable 8 bit control sequences (not recommended) 888 --enable-8bitctrls enable 8 bit control sequences (not recommended)
892 --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)
893 --disable-swapscreen disable swap screen support 890 --disable-swapscreen disable swap screen support
894 --enable-iso14755 enable support for extended ISO 14755 modes 891 --enable-iso14755 enable support for extended ISO 14755 modes
895 --enable-frills enable support for rarely used features 892 --enable-frills enable support for rarely used features
896 --enable-24bit enable support for using 24bit visuals if available
897 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 893 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
898 --enable-selectionscrolling enable scrolling during selections 894 --enable-selectionscrolling enable scrolling during selections
899 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 895 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
900 --enable-slipwheeling enable slip wheel scrolling (requires previous) 896 --enable-slipwheeling enable slip wheel scrolling (requires previous)
901 --enable-dmalloc enable Gray Watson's malloc - for debugging use
902 --enable-dlmalloc enable Doug Lea's malloc - for production use
903 NOTE: enable only one malloc package
904 --enable-smart-resize enable smart growth/shrink behaviour 897 --enable-smart-resize enable smart growth/shrink behaviour
905 --enable-text-blink enable blinking text 898 --enable-text-blink enable blinking text
906 --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)
907 903
908Optional Packages: 904Optional Packages:
909 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 905 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
910 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 906 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
911 --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)
3864fi 3860fi
3865 3861
3866fi 3862fi
3867 3863
3868 3864
3869echo "$as_me:$LINENO: checking for sched_yield" >&5
3870echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
3871if test "${ac_cv_func_sched_yield+set}" = set; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3873else
3874 cat >conftest.$ac_ext <<_ACEOF
3875/* confdefs.h. */
3876_ACEOF
3877cat confdefs.h >>conftest.$ac_ext
3878cat >>conftest.$ac_ext <<_ACEOF
3879/* end confdefs.h. */
3880/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
3881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3882#define sched_yield innocuous_sched_yield
3883
3884/* System header to define __stub macros and hopefully few prototypes,
3885 which can conflict with char sched_yield (); below.
3886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3887 <limits.h> exists even on freestanding compilers. */
3888
3889#ifdef __STDC__
3890# include <limits.h>
3891#else
3892# include <assert.h>
3893#endif
3894
3895#undef sched_yield
3896
3897/* Override any gcc2 internal prototype to avoid an error. */
3898#ifdef __cplusplus
3899extern "C"
3900{
3901#endif
3902/* We use char because int might match the return type of a gcc2
3903 builtin and then its argument prototype would still apply. */
3904char sched_yield ();
3905/* The GNU C library defines this for functions which it implements
3906 to always fail with ENOSYS. Some functions are actually named
3907 something starting with __ and the normal name is an alias. */
3908#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
3909choke me
3910#else
3911char (*f) () = sched_yield;
3912#endif
3913#ifdef __cplusplus
3914}
3915#endif
3916
3917int
3918main ()
3919{
3920return f != sched_yield;
3921 ;
3922 return 0;
3923}
3924_ACEOF
3925rm -f conftest.$ac_objext conftest$ac_exeext
3926if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3927 (eval $ac_link) 2>conftest.er1
3928 ac_status=$?
3929 grep -v '^ *+' conftest.er1 >conftest.err
3930 rm -f conftest.er1
3931 cat conftest.err >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); } &&
3934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3936 (eval $ac_try) 2>&5
3937 ac_status=$?
3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); }; } &&
3940 { ac_try='test -s conftest$ac_exeext'
3941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3942 (eval $ac_try) 2>&5
3943 ac_status=$?
3944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945 (exit $ac_status); }; }; then
3946 ac_cv_func_sched_yield=yes
3947else
3948 echo "$as_me: failed program was:" >&5
3949sed 's/^/| /' conftest.$ac_ext >&5
3950
3951ac_cv_func_sched_yield=no
3952fi
3953rm -f conftest.err conftest.$ac_objext \
3954 conftest$ac_exeext conftest.$ac_ext
3955fi
3956echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
3957echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
3958if test $ac_cv_func_sched_yield = yes; then
3959 :
3960else
3961 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
3962echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
3963if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3965else
3966 ac_check_lib_save_LIBS=$LIBS
3967LIBS="-lrt $LIBS"
3968cat >conftest.$ac_ext <<_ACEOF
3969/* confdefs.h. */
3970_ACEOF
3971cat confdefs.h >>conftest.$ac_ext
3972cat >>conftest.$ac_ext <<_ACEOF
3973/* end confdefs.h. */
3974
3975/* Override any gcc2 internal prototype to avoid an error. */
3976#ifdef __cplusplus
3977extern "C"
3978#endif
3979/* We use char because int might match the return type of a gcc2
3980 builtin and then its argument prototype would still apply. */
3981char sched_yield ();
3982int
3983main ()
3984{
3985sched_yield ();
3986 ;
3987 return 0;
3988}
3989_ACEOF
3990rm -f conftest.$ac_objext conftest$ac_exeext
3991if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3992 (eval $ac_link) 2>conftest.er1
3993 ac_status=$?
3994 grep -v '^ *+' conftest.er1 >conftest.err
3995 rm -f conftest.er1
3996 cat conftest.err >&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); } &&
3999 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4001 (eval $ac_try) 2>&5
4002 ac_status=$?
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); }; } &&
4005 { ac_try='test -s conftest$ac_exeext'
4006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4007 (eval $ac_try) 2>&5
4008 ac_status=$?
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); }; }; then
4011 ac_cv_lib_rt_sched_yield=yes
4012else
4013 echo "$as_me: failed program was:" >&5
4014sed 's/^/| /' conftest.$ac_ext >&5
4015
4016ac_cv_lib_rt_sched_yield=no
4017fi
4018rm -f conftest.err conftest.$ac_objext \
4019 conftest$ac_exeext conftest.$ac_ext
4020LIBS=$ac_check_lib_save_LIBS
4021fi
4022echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
4023echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
4024if test $ac_cv_lib_rt_sched_yield = yes; then
4025 LIBS="$LIBS -lrt"
4026fi
4027
4028fi
4029
4030
4031echo "$as_me:$LINENO: checking for sched_yield support" >&5
4032echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6
4033cat >conftest.$ac_ext <<_ACEOF
4034/* confdefs.h. */
4035_ACEOF
4036cat confdefs.h >>conftest.$ac_ext
4037cat >>conftest.$ac_ext <<_ACEOF
4038/* end confdefs.h. */
4039#include <sched.h>
4040int
4041main ()
4042{
4043sched_yield ()
4044 ;
4045 return 0;
4046}
4047_ACEOF
4048rm -f conftest.$ac_objext conftest$ac_exeext
4049if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4050 (eval $ac_link) 2>conftest.er1
4051 ac_status=$?
4052 grep -v '^ *+' conftest.er1 >conftest.err
4053 rm -f conftest.er1
4054 cat conftest.err >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); } &&
4057 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4059 (eval $ac_try) 2>&5
4060 ac_status=$?
4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 (exit $ac_status); }; } &&
4063 { ac_try='test -s conftest$ac_exeext'
4064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4065 (eval $ac_try) 2>&5
4066 ac_status=$?
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); }; }; then
4069 echo "$as_me:$LINENO: result: yes" >&5
4070echo "${ECHO_T}yes" >&6
4071
4072cat >>confdefs.h <<\_ACEOF
4073#define HAVE_SCHED_YIELD 1
4074_ACEOF
4075
4076else
4077 echo "$as_me: failed program was:" >&5
4078sed 's/^/| /' conftest.$ac_ext >&5
4079
4080echo "$as_me:$LINENO: result: no" >&5
4081echo "${ECHO_T}no" >&6
4082fi
4083rm -f conftest.err conftest.$ac_objext \
4084 conftest$ac_exeext conftest.$ac_ext
4085
4086
4087MALLOC_TYPE=S
4088 3865
4089support_frills=yes 3866support_frills=yes
4090support_inheritpixmap=yes 3867support_inheritpixmap=yes
4091support_tinting=yes 3868support_tinting=yes
4092support_fading=yes 3869support_fading=yes
4093support_keepscrolling=yes 3870support_keepscrolling=yes
4094support_selectionscrolling=yes 3871support_selectionscrolling=yes
4095support_mousewheel=yes 3872support_mousewheel=yes
4096support_mouseslipwheel=yes 3873support_mouseslipwheel=yes
4097support_utmp=yes
4098support_wtmp=yes
4099support_lastlog=yes
4100support_text_blink=yes 3874support_text_blink=yes
4101support_pointer_blank=yes 3875support_pointer_blank=yes
4102support_scroll_rxvt=yes 3876support_scroll_rxvt=yes
4103support_scroll_next=yes 3877support_scroll_next=yes
4104support_scroll_xterm=yes 3878support_scroll_xterm=yes
4128# Check whether --enable-everything or --disable-everything was given. 3902# Check whether --enable-everything or --disable-everything was given.
4129if test "${enable_everything+set}" = set; then 3903if test "${enable_everything+set}" = set; then
4130 enableval="$enable_everything" 3904 enableval="$enable_everything"
4131 3905
4132 if test x$enableval = xno; then 3906 if test x$enableval = xno; then
4133 support_24bit=no
4134 support_frills=no 3907 support_frills=no
4135 support_inheritpixmap=no 3908 support_inheritpixmap=no
4136 support_tinting=no 3909 support_tinting=no
4137 support_fading=no 3910 support_fading=no
4138 support_keepscrolling=no 3911 support_keepscrolling=no
4158 support_styles=no 3931 support_styles=no
4159 support_perl=no 3932 support_perl=no
4160 codesets= 3933 codesets=
4161 fi 3934 fi
4162 if test x$enableval = xyes; then 3935 if test x$enableval = xyes; then
4163 support_24bit=yes
4164 support_frills=yes 3936 support_frills=yes
4165 support_inheritpixmap=yes 3937 support_inheritpixmap=yes
4166 support_tinting=yes 3938 support_tinting=yes
4167 support_fading=yes 3939 support_fading=yes
4168 support_keepscrolling=yes 3940 support_keepscrolling=yes
4222 if test x$enableval = xyes -o x$enableval = xno; then 3994 if test x$enableval = xyes -o x$enableval = xno; then
4223 support_styles=$enableval 3995 support_styles=$enableval
4224 fi 3996 fi
4225fi; 3997fi;
4226 3998
4227# Check whether --enable-utmp or --disable-utmp was given.
4228if test "${enable_utmp+set}" = set; then
4229 enableval="$enable_utmp"
4230 if test x$enableval = xyes -o x$enableval = xno; then
4231 support_utmp=$enableval
4232 fi
4233fi;
4234
4235# Check whether --enable-wtmp or --disable-wtmp was given.
4236if test "${enable_wtmp+set}" = set; then
4237 enableval="$enable_wtmp"
4238 if test x$enableval = xyes -o x$enableval = xno; then
4239 support_wtmp=$enableval
4240 fi
4241fi;
4242
4243# Check whether --enable-lastlog or --disable-lastlog was given.
4244if test "${enable_lastlog+set}" = set; then
4245 enableval="$enable_lastlog"
4246 if test x$enableval = xyes -o x$enableval = xno; then
4247 support_lastlog=$enableval
4248 fi
4249fi;
4250
4251# Check whether --enable-xpm-background or --disable-xpm-background was given. 3999# Check whether --enable-xpm-background or --disable-xpm-background was given.
4252if test "${enable_xpm_background+set}" = set; then 4000if test "${enable_xpm_background+set}" = set; then
4253 enableval="$enable_xpm_background" 4001 enableval="$enable_xpm_background"
4254 if test x$enableval = xyes -o x$enableval = xno; then 4002 if test x$enableval = xyes -o x$enableval = xno; then
4255 support_xpm=$enableval 4003 support_xpm=$enableval
4467 if test x$enableval = xyes -o x$enableval = xno; then 4215 if test x$enableval = xyes -o x$enableval = xno; then
4468 support_frills=$enableval 4216 support_frills=$enableval
4469 fi 4217 fi
4470fi; 4218fi;
4471 4219
4472# Check whether --enable-24bit or --disable-24bit was given.
4473if test "${enable_24bit+set}" = set; then
4474 enableval="$enable_24bit"
4475 if test x$enableval = xyes -o x$enableval = xno; then
4476 support_24bit=$enableval
4477 fi
4478fi;
4479
4480# Check whether --enable-keepscrolling or --disable-keepscrolling was given. 4220# Check whether --enable-keepscrolling or --disable-keepscrolling was given.
4481if test "${enable_keepscrolling+set}" = set; then 4221if test "${enable_keepscrolling+set}" = set; then
4482 enableval="$enable_keepscrolling" 4222 enableval="$enable_keepscrolling"
4483 if test x$enableval = xyes -o x$enableval = xno; then 4223 if test x$enableval = xyes -o x$enableval = xno; then
4484 support_keepscrolling=$enableval 4224 support_keepscrolling=$enableval
4504# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 4244# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
4505if test "${enable_slipwheeling+set}" = set; then 4245if test "${enable_slipwheeling+set}" = set; then
4506 enableval="$enable_slipwheeling" 4246 enableval="$enable_slipwheeling"
4507 if test x$enableval = xyes -o x$enableval = xno; then 4247 if test x$enableval = xyes -o x$enableval = xno; then
4508 support_mouseslipwheel=$enableval 4248 support_mouseslipwheel=$enableval
4509 fi
4510fi;
4511
4512# Check whether --enable-dmalloc or --disable-dmalloc was given.
4513if test "${enable_dmalloc+set}" = set; then
4514 enableval="$enable_dmalloc"
4515 if test x$enableval = xyes; then
4516 MALLOC_TYPE=G
4517 DEBUG=-DDEBUG_MALLOC
4518 DLIB="-L/usr/local/lib -ldmalloc"
4519 DINCLUDE=-I/usr/local/include
4520 fi
4521fi;
4522
4523# Check whether --enable-dlmalloc or --disable-dlmalloc was given.
4524if test "${enable_dlmalloc+set}" = set; then
4525 enableval="$enable_dlmalloc"
4526 if test x$enableval = xyes; then
4527 MALLOC_TYPE=D
4528 DEBUG=
4529 DLIB="-L/usr/local/lib -ldlmalloc"
4530 DINCLUDE=
4531 fi 4249 fi
4532fi; 4250fi;
4533 4251
4534# Check whether --enable-smart-resize or --disable-smart-resize was given. 4252# Check whether --enable-smart-resize or --disable-smart-resize was given.
4535if test "${enable_smart_resize+set}" = set; then 4253if test "${enable_smart_resize+set}" = set; then
4619MV=$ac_cv_path_MV 4337MV=$ac_cv_path_MV
4620 4338
4621if test -n "$MV"; then 4339if test -n "$MV"; then
4622 echo "$as_me:$LINENO: result: $MV" >&5 4340 echo "$as_me:$LINENO: result: $MV" >&5
4623echo "${ECHO_T}$MV" >&6 4341echo "${ECHO_T}$MV" >&6
4624else
4625 echo "$as_me:$LINENO: result: no" >&5
4626echo "${ECHO_T}no" >&6
4627fi
4628
4629# Extract the first word of "rm", so it can be a program name with args.
4630set dummy rm; ac_word=$2
4631echo "$as_me:$LINENO: checking for $ac_word" >&5
4632echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4633if test "${ac_cv_path_RM+set}" = set; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4635else
4636 case $RM in
4637 [\\/]* | ?:[\\/]*)
4638 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4639 ;;
4640 *)
4641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642for as_dir in $PATH
4643do
4644 IFS=$as_save_IFS
4645 test -z "$as_dir" && as_dir=.
4646 for ac_exec_ext in '' $ac_executable_extensions; do
4647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4648 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 break 2
4651 fi
4652done
4653done
4654
4655 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
4656 ;;
4657esac
4658fi
4659RM=$ac_cv_path_RM
4660
4661if test -n "$RM"; then
4662 echo "$as_me:$LINENO: result: $RM" >&5
4663echo "${ECHO_T}$RM" >&6
4664else 4342else
4665 echo "$as_me:$LINENO: result: no" >&5 4343 echo "$as_me:$LINENO: result: no" >&5
4666echo "${ECHO_T}no" >&6 4344echo "${ECHO_T}no" >&6
4667fi 4345fi
4668 4346
10055 9733
10056 9734
10057 9735
10058 9736
10059 9737
10060
10061
10062
10063for ac_func in \ 9738for ac_func in \
10064 unsetenv \ 9739 unsetenv \
10065 setutent \ 9740 setutent \
10066 seteuid \
10067 setresuid \
10068 setreuid \
10069 on_exit \ 9741 on_exit \
10070 9742
10071do 9743do
10072as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9744as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10073echo "$as_me:$LINENO: checking for $ac_func" >&5 9745echo "$as_me:$LINENO: checking for $ac_func" >&5
10166 9838
10167fi 9839fi
10168done 9840done
10169 9841
10170 9842
9843
9844support_utmp=yes
9845support_wtmp=yes
9846support_lastlog=yes
9847
9848# Check whether --enable-utmp or --disable-utmp was given.
9849if test "${enable_utmp+set}" = set; then
9850 enableval="$enable_utmp"
9851 if test x$enableval = xyes -o x$enableval = xno; then
9852 support_utmp=$enableval
9853 fi
9854fi;
9855
9856# Check whether --enable-wtmp or --disable-wtmp was given.
9857if test "${enable_wtmp+set}" = set; then
9858 enableval="$enable_wtmp"
9859 if test x$enableval = xyes -o x$enableval = xno; then
9860 support_wtmp=$enableval
9861 fi
9862fi;
9863
9864# Check whether --enable-lastlog or --disable-lastlog was given.
9865if test "${enable_lastlog+set}" = set; then
9866 enableval="$enable_lastlog"
9867 if test x$enableval = xyes -o x$enableval = xno; then
9868 support_lastlog=$enableval
9869 fi
9870fi;
9871
9872if test x$support_utmp = xyes; then
9873
9874cat >>confdefs.h <<\_ACEOF
9875#define UTMP_SUPPORT 1
9876_ACEOF
9877
9878fi
9879if test x$support_wtmp = xyes; then
9880
9881cat >>confdefs.h <<\_ACEOF
9882#define WTMP_SUPPORT 1
9883_ACEOF
9884
9885fi
9886if test x$support_lastlog = xyes; then
9887
9888cat >>confdefs.h <<\_ACEOF
9889#define LASTLOG_SUPPORT 1
9890_ACEOF
9891
9892fi
10171 9893
10172 9894
10173 9895
10174 9896
10175for ac_func in \ 9897for ac_func in \
11690#define LASTLOGX_FILE "$path_lastlogx" 11412#define LASTLOGX_FILE "$path_lastlogx"
11691_ACEOF 11413_ACEOF
11692 11414
11693fi 11415fi
11694 11416
11417if test x$support_utmp != xyes; then
11418 echo " utmp support: disabled"
11419 echo
11420else
11421 echo " utmp support: enabled
11422 utmp file: $path_utmp
11423 utmpx file: $path_utmpx
11424 wtmp file: $path_wtmp
11425 wtmpx file: $path_wtmpx
11426 lastlog file: $path_lastlog
11427 lastlogx file: $path_lastlogx"
11428fi
11429
11695 11430
11696 11431
11697echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 11432echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11698echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 11433echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6
11699if test "${rxvt_cv_path_ttytab+set}" = set; then 11434if test "${rxvt_cv_path_ttytab+set}" = set; then
11979_ACEOF 11714_ACEOF
11980cat confdefs.h >>conftest.$ac_ext 11715cat confdefs.h >>conftest.$ac_ext
11981cat >>conftest.$ac_ext <<_ACEOF 11716cat >>conftest.$ac_ext <<_ACEOF
11982/* end confdefs.h. */ 11717/* end confdefs.h. */
11983 11718
11984#include <cstddef> // broken bsds (is that redundant) need this 11719#include <cstddef> // broken bsds (is that redundant?) need this
11985#include <sys/types.h> 11720#include <sys/types.h>
11986#include <sys/socket.h> 11721#include <sys/socket.h>
11987#include <sys/uio.h> 11722#include <sys/uio.h>
11988 11723
11989int 11724int
12286 12021
12287 12022
12288 12023
12289 12024
12290 12025
12026
12027
12028
12029
12291for ac_func in \ 12030for ac_func in \
12292 revoke \ 12031 revoke \
12293 _getpty \ 12032 _getpty \
12294 getpt \ 12033 getpt \
12295 posix_openpt \ 12034 posix_openpt \
12296 isastream \ 12035 isastream \
12036 setuid \
12037 seteuid \
12038 setreuid \
12039 setresuid \
12297 12040
12298do 12041do
12299as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12042as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12300echo "$as_me:$LINENO: checking for $ac_func" >&5 12043echo "$as_me:$LINENO: checking for $ac_func" >&5
12301echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12044echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13163cat >>confdefs.h <<\_ACEOF 12906cat >>confdefs.h <<\_ACEOF
13164#define ENABLE_FRILLS 1 12907#define ENABLE_FRILLS 1
13165_ACEOF 12908_ACEOF
13166 12909
13167fi 12910fi
13168if test x$support_24bit = xyes; then
13169
13170cat >>confdefs.h <<\_ACEOF
13171#define PREFER_24BIT 1
13172_ACEOF
13173
13174fi
13175if test x$support_mousewheel = xyes; then 12911if test x$support_mousewheel = xyes; then
13176 12912
13177cat >>confdefs.h <<\_ACEOF 12913cat >>confdefs.h <<\_ACEOF
13178#define MOUSE_WHEEL 1 12914#define MOUSE_WHEEL 1
13179_ACEOF 12915_ACEOF
13181fi 12917fi
13182if test x$support_mouseslipwheel = xyes; then 12918if test x$support_mouseslipwheel = xyes; then
13183 12919
13184cat >>confdefs.h <<\_ACEOF 12920cat >>confdefs.h <<\_ACEOF
13185#define MOUSE_SLIP_WHEELING 1 12921#define MOUSE_SLIP_WHEELING 1
13186_ACEOF
13187
13188fi
13189if test x$support_utmp = xyes; then
13190
13191cat >>confdefs.h <<\_ACEOF
13192#define UTMP_SUPPORT 1
13193_ACEOF
13194
13195fi
13196if test x$support_wtmp = xyes; then
13197
13198cat >>confdefs.h <<\_ACEOF
13199#define WTMP_SUPPORT 1
13200_ACEOF
13201
13202fi
13203if test x$support_lastlog = xyes; then
13204
13205cat >>confdefs.h <<\_ACEOF
13206#define LASTLOG_SUPPORT 1
13207_ACEOF 12922_ACEOF
13208 12923
13209fi 12924fi
13210if test x$support_xim = xyes -o x$multichar_set = xyes; then 12925if test x$support_xim = xyes -o x$multichar_set = xyes; then
13211 if test x$rxvt_cv_func_xlocale = xyes; then 12926 if test x$rxvt_cv_func_xlocale = xyes; then
14256s,@EGREP@,$EGREP,;t t 13971s,@EGREP@,$EGREP,;t t
14257s,@LINKER@,$LINKER,;t t 13972s,@LINKER@,$LINKER,;t t
14258s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 13973s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
14259s,@RXVTNAME@,$RXVTNAME,;t t 13974s,@RXVTNAME@,$RXVTNAME,;t t
14260s,@MV@,$MV,;t t 13975s,@MV@,$MV,;t t
14261s,@RM@,$RM,;t t
14262s,@CP@,$CP,;t t 13976s,@CP@,$CP,;t t
14263s,@LN@,$LN,;t t 13977s,@LN@,$LN,;t t
14264s,@SED@,$SED,;t t 13978s,@SED@,$SED,;t t
14265s,@ECHO@,$ECHO,;t t 13979s,@ECHO@,$ECHO,;t t
14266s,@CMP@,$CMP,;t t 13980s,@CMP@,$CMP,;t t
14805 Install path: ${prefix}/bin 14519 Install path: ${prefix}/bin
14806 Compiler: $CXX 14520 Compiler: $CXX
14807 Compiler flags: $CFLAGS 14521 Compiler flags: $CFLAGS
14808 Linker: $LINKER" 14522 Linker: $LINKER"
14809 14523
14810if test "$MALLOC_TYPE" = S; then
14811 echo " malloc support: system default"
14812fi
14813if test "$MALLOC_TYPE" = G; then
14814 echo " malloc support: Gray Watson's dmalloc"
14815fi
14816if test "$MALLOC_TYPE" = D; then
14817 echo " malloc support: Doug Lea's malloc"
14818fi
14819
14820if test x$support_xpm = xyes; then 14524if test x$support_xpm = xyes; then
14821 echo " Xpm library: $XPM_LIBS" 14525 echo " Xpm library: $XPM_LIBS"
14822fi 14526fi
14823 14527
14824if test x$support_utmp != xyes; then
14825 echo " utmp support: disabled"
14826 echo
14827else
14828 echo " utmp support: enabled
14829 utmp file: $path_utmp
14830 utmpx file: $path_utmpx
14831 wtmp file: $path_wtmp
14832 wtmpx file: $path_wtmpx
14833 lastlog file: $path_lastlog
14834 lastlogx file: $path_lastlogx"
14835fi
14836if test x$term != x; then 14528if test x$term != x; then
14837 echo " set TERM to: $term" 14529 echo " set TERM to: $term"
14838fi 14530fi
14839if test x$terminfo != x; then 14531if test x$terminfo != x; then
14840 echo " set TERMINFO to: $terminfo" 14532 echo " set TERMINFO to: $terminfo"
14863 echo ". functions could not be found. ." 14555 echo ". functions could not be found. ."
14864 echo ". XIM is now being DISABLED! ." 14556 echo ". XIM is now being DISABLED! ."
14865 echo ".----------------------------------------------------------------." 14557 echo ".----------------------------------------------------------------."
14866fi 14558fi
14867 14559
14868echo " *** Optionally check src/feature.h for further options ***" 14560echo "*** Optionally check src/feature.h for further, rarely used options ***"
14869echo 14561echo
14870 14562
14871echo ".----------------------------------------------------------------." 14563echo ".----------------------------------------------------------------."
14872echo ". NOTE: some features are disabled by default, try ." 14564echo ". NOTE: some features are disabled by default, try ."
14873echo ". configure --help to get an idea of the optional features, ." 14565echo ". configure --help to get an idea of the optional features, ."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines