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

Comparing rxvt-unicode/configure (file contents):
Revision 1.89 by root, Sun Jan 22 04:09:16 2006 UTC vs.
Revision 1.98 by root, Tue Jan 31 20:57:29 2006 UTC

307#endif 307#endif
308#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PKG_CONFIG XFT_CONFIG PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME MV CP LN SED ECHO CMP TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PKG_CONFIG XFT_CONFIG PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS'
313ac_subst_files='' 313ac_subst_files=''
314 314
315# Initialize some variables set by options. 315# Initialize some variables set by options.
316ac_init_help= 316ac_init_help=
317ac_init_version=false 317ac_init_version=false
870 NOTE: automatically enabled with --enable-shared 870 NOTE: automatically enabled with --enable-shared
871 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 871 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
872 --enable-combining enable composition of base and combining characters 872 --enable-combining enable composition of base and combining characters
873 --enable-xft enable xft support on systems that have it 873 --enable-xft enable xft support on systems that have it
874 --enable-font-styles enable bold and italic support 874 --enable-font-styles enable bold and italic support
875 --enable-utmp enable utmp (utmpx) support
876 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
877 --enable-lastlog enable lastlog support (requires --enable-utmp)
878 --enable-xpm-background enable XPM background pixmaps 875 --enable-xpm-background enable XPM background pixmaps
879 --enable-transparency enable transparent backgrounds 876 --enable-transparency enable transparent backgrounds
880 --enable-tinting enable tinting of transparent bg 877 --enable-tinting enable tinting of transparent bg
881 --enable-fading enable colors fading when off focus 878 --enable-fading enable colors fading when off focus
882 --enable-rxvt-scroll enable rxvt style scrollbar 879 --enable-rxvt-scroll enable rxvt style scrollbar
883 --enable-next-scroll enable NeXT style scrollbar 880 --enable-next-scroll enable NeXT style scrollbar
884 --enable-xterm-scroll enable Xterm style scrollbar 881 --enable-xterm-scroll enable Xterm style scrollbar
885 --enable-perl enable embedded perl interpreter 882 --enable-perl enable embedded perl interpreter
886 --enable-plain-scroll enable plain style scrollbar 883 --enable-plain-scroll enable plain style scrollbar
887 --enable-xim XIM (X Input Method) protocol support 884 --enable-xim XIM (X Input Method) protocol support
888 --enable-ttygid enable tty setting to group named "tty"
889 --disable-backspace-key disable handling of the backspace key 885 --disable-backspace-key disable handling of the backspace key
890 --disable-delete-key disable handling of the delete key 886 --disable-delete-key disable handling of the delete key
891 --disable-resources disable all resource checking 887 --disable-resources disable all resource checking
892 --enable-8bitctrls enable 8 bit control sequences (not recommended) 888 --enable-8bitctrls enable 8 bit control sequences (not recommended)
893 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 889 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
894 --disable-swapscreen disable swap screen support 890 --disable-swapscreen disable swap screen support
895 --enable-iso14755 enable support for extended ISO 14755 modes 891 --enable-iso14755 enable support for extended ISO 14755 modes
896 --enable-frills enable support for rarely used features 892 --enable-frills enable support for rarely used features
897 --enable-24bit enable support for using 24bit visuals if available
898 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 893 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
899 --enable-selectionscrolling enable scrolling during selections 894 --enable-selectionscrolling enable scrolling during selections
900 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 895 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
901 --enable-slipwheeling enable slip wheel scrolling (requires previous) 896 --enable-slipwheeling enable slip wheel scrolling (requires previous)
902 --enable-dmalloc enable Gray Watson's malloc - for debugging use
903 --enable-dlmalloc enable Doug Lea's malloc - for production use
904 NOTE: enable only one malloc package
905 --enable-smart-resize enable smart growth/shrink behaviour 897 --enable-smart-resize enable smart growth/shrink behaviour
906 --enable-text-blink enable blinking text 898 --enable-text-blink enable blinking text
907 --enable-pointer-blank enable pointer blank when typing or inactive pointer 899 --enable-pointer-blank enable pointer blank when typing or inactive pointer
900 --enable-utmp enable utmp (utmpx) support
901 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
902 --enable-lastlog enable lastlog support (requires --enable-utmp)
908 903
909Optional Packages: 904Optional Packages:
910 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 905 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
911 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 906 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
912 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) 907 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)
3302ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3297ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3303ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3298ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3304 3299
3305if test -z "$orig_CXXFLAGS"; then 3300if test -z "$orig_CXXFLAGS"; then
3306 if test x$GCC = xyes && test "x$GXX" = xyes; then 3301 if test x$GCC = xyes && test "x$GXX" = xyes; then
3307 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3302 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3308 cat >conftest.$ac_ext <<_ACEOF 3303 cat >conftest.$ac_ext <<_ACEOF
3309/* confdefs.h. */ 3304/* confdefs.h. */
3310_ACEOF 3305_ACEOF
3311cat confdefs.h >>conftest.$ac_ext 3306cat confdefs.h >>conftest.$ac_ext
3312cat >>conftest.$ac_ext <<_ACEOF 3307cat >>conftest.$ac_ext <<_ACEOF
3865fi 3860fi
3866 3861
3867fi 3862fi
3868 3863
3869 3864
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 3865
4090support_frills=yes 3866support_frills=yes
4091support_inheritpixmap=yes 3867support_inheritpixmap=yes
4092support_tinting=yes 3868support_tinting=yes
4093support_fading=yes 3869support_fading=yes
4094support_keepscrolling=yes 3870support_keepscrolling=yes
4095support_selectionscrolling=yes 3871support_selectionscrolling=yes
4096support_mousewheel=yes 3872support_mousewheel=yes
4097support_mouseslipwheel=yes 3873support_mouseslipwheel=yes
4098support_utmp=yes
4099support_wtmp=yes
4100support_lastlog=yes
4101support_text_blink=yes 3874support_text_blink=yes
4102support_pointer_blank=yes 3875support_pointer_blank=yes
4103support_scroll_rxvt=yes 3876support_scroll_rxvt=yes
4104support_scroll_next=yes 3877support_scroll_next=yes
4105support_scroll_xterm=yes 3878support_scroll_xterm=yes
4129# Check whether --enable-everything or --disable-everything was given. 3902# Check whether --enable-everything or --disable-everything was given.
4130if test "${enable_everything+set}" = set; then 3903if test "${enable_everything+set}" = set; then
4131 enableval="$enable_everything" 3904 enableval="$enable_everything"
4132 3905
4133 if test x$enableval = xno; then 3906 if test x$enableval = xno; then
4134 support_24bit=no
4135 support_frills=no 3907 support_frills=no
4136 support_inheritpixmap=no 3908 support_inheritpixmap=no
4137 support_tinting=no 3909 support_tinting=no
4138 support_fading=no 3910 support_fading=no
4139 support_keepscrolling=no 3911 support_keepscrolling=no
4159 support_styles=no 3931 support_styles=no
4160 support_perl=no 3932 support_perl=no
4161 codesets= 3933 codesets=
4162 fi 3934 fi
4163 if test x$enableval = xyes; then 3935 if test x$enableval = xyes; then
4164 support_24bit=yes
4165 support_frills=yes 3936 support_frills=yes
4166 support_inheritpixmap=yes 3937 support_inheritpixmap=yes
4167 support_tinting=yes 3938 support_tinting=yes
4168 support_fading=yes 3939 support_fading=yes
4169 support_keepscrolling=yes 3940 support_keepscrolling=yes
4223 if test x$enableval = xyes -o x$enableval = xno; then 3994 if test x$enableval = xyes -o x$enableval = xno; then
4224 support_styles=$enableval 3995 support_styles=$enableval
4225 fi 3996 fi
4226fi; 3997fi;
4227 3998
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. 3999# Check whether --enable-xpm-background or --disable-xpm-background was given.
4253if test "${enable_xpm_background+set}" = set; then 4000if test "${enable_xpm_background+set}" = set; then
4254 enableval="$enable_xpm_background" 4001 enableval="$enable_xpm_background"
4255 if test x$enableval = xyes -o x$enableval = xno; then 4002 if test x$enableval = xyes -o x$enableval = xno; then
4256 support_xpm=$enableval 4003 support_xpm=$enableval
4320 support_scroll_plain=$enableval 4067 support_scroll_plain=$enableval
4321 fi 4068 fi
4322fi; 4069fi;
4323 4070
4324 4071
4325
4326# Check whether --with-codesets or --without-codesets was given. 4072# Check whether --with-codesets or --without-codesets was given.
4327if test "${with_codesets+set}" = set; then 4073if test "${with_codesets+set}" = set; then
4328 withval="$with_codesets" 4074 withval="$with_codesets"
4329 codesets="$withval" 4075 codesets="$withval"
4330fi; 4076fi;
4335 if test x$enableval = xyes -o x$enableval = xno; then 4081 if test x$enableval = xyes -o x$enableval = xno; then
4336 support_xim=$enableval 4082 support_xim=$enableval
4337 fi 4083 fi
4338fi; 4084fi;
4339 4085
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. 4086# Check whether --enable-backspace-key or --disable-backspace-key was given.
4353if test "${enable_backspace_key+set}" = set; then 4087if test "${enable_backspace_key+set}" = set; then
4354 enableval="$enable_backspace_key" 4088 enableval="$enable_backspace_key"
4355 if test x$enableval = xno; then 4089 if test x$enableval = xno; then
4356 4090
4480 if test x$enableval = xyes -o x$enableval = xno; then 4214 if test x$enableval = xyes -o x$enableval = xno; then
4481 support_frills=$enableval 4215 support_frills=$enableval
4482 fi 4216 fi
4483fi; 4217fi;
4484 4218
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. 4219# Check whether --enable-keepscrolling or --disable-keepscrolling was given.
4494if test "${enable_keepscrolling+set}" = set; then 4220if test "${enable_keepscrolling+set}" = set; then
4495 enableval="$enable_keepscrolling" 4221 enableval="$enable_keepscrolling"
4496 if test x$enableval = xyes -o x$enableval = xno; then 4222 if test x$enableval = xyes -o x$enableval = xno; then
4497 support_keepscrolling=$enableval 4223 support_keepscrolling=$enableval
4517# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 4243# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
4518if test "${enable_slipwheeling+set}" = set; then 4244if test "${enable_slipwheeling+set}" = set; then
4519 enableval="$enable_slipwheeling" 4245 enableval="$enable_slipwheeling"
4520 if test x$enableval = xyes -o x$enableval = xno; then 4246 if test x$enableval = xyes -o x$enableval = xno; then
4521 support_mouseslipwheel=$enableval 4247 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 4248 fi
4545fi; 4249fi;
4546 4250
4547# Check whether --enable-smart-resize or --disable-smart-resize was given. 4251# Check whether --enable-smart-resize or --disable-smart-resize was given.
4548if test "${enable_smart_resize+set}" = set; then 4252if test "${enable_smart_resize+set}" = set; then
4632MV=$ac_cv_path_MV 4336MV=$ac_cv_path_MV
4633 4337
4634if test -n "$MV"; then 4338if test -n "$MV"; then
4635 echo "$as_me:$LINENO: result: $MV" >&5 4339 echo "$as_me:$LINENO: result: $MV" >&5
4636echo "${ECHO_T}$MV" >&6 4340echo "${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 4341else
4678 echo "$as_me:$LINENO: result: no" >&5 4342 echo "$as_me:$LINENO: result: no" >&5
4679echo "${ECHO_T}no" >&6 4343echo "${ECHO_T}no" >&6
4680fi 4344fi
4681 4345
10068 9732
10069 9733
10070 9734
10071 9735
10072 9736
10073
10074
10075
10076
10077for ac_func in \ 9737for ac_func in \
10078 unsetenv \ 9738 unsetenv \
10079 setutent \ 9739 setutent \
10080 seteuid \
10081 setresuid \
10082 setreuid \
10083 on_exit \ 9740 on_exit \
10084 nanosleep \
10085 9741
10086do 9742do
10087as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9743as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10088echo "$as_me:$LINENO: checking for $ac_func" >&5 9744echo "$as_me:$LINENO: checking for $ac_func" >&5
10089echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9745echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10181 9837
10182fi 9838fi
10183done 9839done
10184 9840
10185 9841
9842
9843support_utmp=yes
9844support_wtmp=yes
9845support_lastlog=yes
9846
9847# Check whether --enable-utmp or --disable-utmp was given.
9848if test "${enable_utmp+set}" = set; then
9849 enableval="$enable_utmp"
9850 if test x$enableval = xyes -o x$enableval = xno; then
9851 support_utmp=$enableval
9852 fi
9853fi;
9854
9855# Check whether --enable-wtmp or --disable-wtmp was given.
9856if test "${enable_wtmp+set}" = set; then
9857 enableval="$enable_wtmp"
9858 if test x$enableval = xyes -o x$enableval = xno; then
9859 support_wtmp=$enableval
9860 fi
9861fi;
9862
9863# Check whether --enable-lastlog or --disable-lastlog was given.
9864if test "${enable_lastlog+set}" = set; then
9865 enableval="$enable_lastlog"
9866 if test x$enableval = xyes -o x$enableval = xno; then
9867 support_lastlog=$enableval
9868 fi
9869fi;
9870
9871if test x$support_utmp = xyes; then
9872
9873cat >>confdefs.h <<\_ACEOF
9874#define UTMP_SUPPORT 1
9875_ACEOF
9876
9877fi
9878if test x$support_wtmp = xyes; then
9879
9880cat >>confdefs.h <<\_ACEOF
9881#define WTMP_SUPPORT 1
9882_ACEOF
9883
9884fi
9885if test x$support_lastlog = xyes; then
9886
9887cat >>confdefs.h <<\_ACEOF
9888#define LASTLOG_SUPPORT 1
9889_ACEOF
9890
9891fi
10186 9892
10187 9893
10188 9894
10189 9895
10190for ac_func in \ 9896for ac_func in \
11705#define LASTLOGX_FILE "$path_lastlogx" 11411#define LASTLOGX_FILE "$path_lastlogx"
11706_ACEOF 11412_ACEOF
11707 11413
11708fi 11414fi
11709 11415
11416if test x$support_utmp != xyes; then
11417 echo " utmp support: disabled"
11418 echo
11419else
11420 echo " utmp support: enabled
11421 utmp file: $path_utmp
11422 utmpx file: $path_utmpx
11423 wtmp file: $path_wtmp
11424 wtmpx file: $path_wtmpx
11425 lastlog file: $path_lastlog
11426 lastlogx file: $path_lastlogx"
11427fi
11428
11710 11429
11711 11430
11712echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 11431echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11713echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 11432echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6
11714if test "${rxvt_cv_path_ttytab+set}" = set; then 11433if test "${rxvt_cv_path_ttytab+set}" = set; then
11994_ACEOF 11713_ACEOF
11995cat confdefs.h >>conftest.$ac_ext 11714cat confdefs.h >>conftest.$ac_ext
11996cat >>conftest.$ac_ext <<_ACEOF 11715cat >>conftest.$ac_ext <<_ACEOF
11997/* end confdefs.h. */ 11716/* end confdefs.h. */
11998 11717
11999#include <cstddef> // broken bsds (is that redundant) need this 11718#include <cstddef> // broken bsds (is that redundant?) need this
12000#include <sys/types.h> 11719#include <sys/types.h>
12001#include <sys/socket.h> 11720#include <sys/socket.h>
12002#include <sys/uio.h> 11721#include <sys/uio.h>
12003 11722
12004int 11723int
12301 12020
12302 12021
12303 12022
12304 12023
12305 12024
12025
12026
12027
12028
12306for ac_func in \ 12029for ac_func in \
12307 revoke \ 12030 revoke \
12308 _getpty \ 12031 _getpty \
12309 getpt \ 12032 getpt \
12310 posix_openpt \ 12033 posix_openpt \
12311 isastream \ 12034 isastream \
12035 setuid \
12036 seteuid \
12037 setreuid \
12038 setresuid \
12312 12039
12313do 12040do
12314as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12041as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12315echo "$as_me:$LINENO: checking for $ac_func" >&5 12042echo "$as_me:$LINENO: checking for $ac_func" >&5
12316echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12043echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12719done 12446done
12720 12447
12721fi 12448fi
12722 12449
12723 12450
12451
12452echo "$as_me:$LINENO: checking for tty group" >&5
12453echo $ECHO_N "checking for tty group... $ECHO_C" >&6
12454if test "${tty_group+set}" = set; then
12455 echo $ECHO_N "(cached) $ECHO_C" >&6
12456else
12457 if test "$cross_compiling" = yes; then
12458 tty_group=no
12459else
12460 cat >conftest.$ac_ext <<_ACEOF
12461/* confdefs.h. */
12462_ACEOF
12463cat confdefs.h >>conftest.$ac_ext
12464cat >>conftest.$ac_ext <<_ACEOF
12465/* end confdefs.h. */
12466
12467#include <sys/types.h>
12468#include <sys/stat.h>
12469#include <unistd.h>
12470#include <grp.h>
12471
12472main()
12473{
12474 struct stat st;
12475 struct group *gr;
12476 char *tty;
12477 gr = getgrnam("tty");
12478 tty = ttyname(0);
12479 if (gr != 0
12480 && tty != 0
12481 && (stat(tty, &st)) == 0
12482 && st.st_gid == gr->gr_gid)
12483 return 0;
12484 else
12485 return 1;
12486}
12487_ACEOF
12488rm -f conftest$ac_exeext
12489if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12490 (eval $ac_link) 2>&5
12491 ac_status=$?
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12495 (eval $ac_try) 2>&5
12496 ac_status=$?
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); }; }; then
12499 tty_group=yes
12500else
12501 echo "$as_me: program exited with status $ac_status" >&5
12502echo "$as_me: failed program was:" >&5
12503sed 's/^/| /' conftest.$ac_ext >&5
12504
12505( exit $ac_status )
12506tty_group=no
12507fi
12508rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12509fi
12510fi
12511echo "$as_me:$LINENO: result: $tty_group" >&5
12512echo "${ECHO_T}$tty_group" >&6
12513if test x$tty_group = xyes; then
12514
12515cat >>confdefs.h <<\_ACEOF
12516#define TTY_GID_SUPPORT 1
12517_ACEOF
12518
12519fi
12520
12724if test x$support_xft = xyes; then 12521if test x$support_xft = xyes; then
12725 # Extract the first word of "pkg-config", so it can be a program name with args. 12522 # Extract the first word of "pkg-config", so it can be a program name with args.
12726set dummy pkg-config; ac_word=$2 12523set dummy pkg-config; ac_word=$2
12727echo "$as_me:$LINENO: checking for $ac_word" >&5 12524echo "$as_me:$LINENO: checking for $ac_word" >&5
12728echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 12525echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12760else 12557else
12761 echo "$as_me:$LINENO: result: no" >&5 12558 echo "$as_me:$LINENO: result: no" >&5
12762echo "${ECHO_T}no" >&6 12559echo "${ECHO_T}no" >&6
12763fi 12560fi
12764 12561
12562 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12563 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12564 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12565 else
12765 # Extract the first word of "xft-config", so it can be a program name with args. 12566 # Extract the first word of "xft-config", so it can be a program name with args.
12766set dummy xft-config; ac_word=$2 12567set dummy xft-config; ac_word=$2
12767echo "$as_me:$LINENO: checking for $ac_word" >&5 12568echo "$as_me:$LINENO: checking for $ac_word" >&5
12768echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 12569echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12769if test "${ac_cv_path_XFT_CONFIG+set}" = set; then 12570if test "${ac_cv_path_XFT_CONFIG+set}" = set; then
12770 echo $ECHO_N "(cached) $ECHO_C" >&6 12571 echo $ECHO_N "(cached) $ECHO_C" >&6
12800else 12601else
12801 echo "$as_me:$LINENO: result: no" >&5 12602 echo "$as_me:$LINENO: result: no" >&5
12802echo "${ECHO_T}no" >&6 12603echo "${ECHO_T}no" >&6
12803fi 12604fi
12804 12605
12805 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12806 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
12807 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12808 else
12809 if test $XFT_CONFIG != no; then 12606 if test $XFT_CONFIG != no; then
12810 LIBS="$LIBS `$XFT_CONFIG --libs`" 12607 LIBS="$LIBS `$XFT_CONFIG --libs`"
12811 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" 12608 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12812 fi 12609 fi
12813 fi 12610 fi
13108cat >>confdefs.h <<\_ACEOF 12905cat >>confdefs.h <<\_ACEOF
13109#define ENABLE_FRILLS 1 12906#define ENABLE_FRILLS 1
13110_ACEOF 12907_ACEOF
13111 12908
13112fi 12909fi
13113if test x$support_24bit = xyes; then
13114
13115cat >>confdefs.h <<\_ACEOF
13116#define PREFER_24BIT 1
13117_ACEOF
13118
13119fi
13120if test x$support_mousewheel = xyes; then 12910if test x$support_mousewheel = xyes; then
13121 12911
13122cat >>confdefs.h <<\_ACEOF 12912cat >>confdefs.h <<\_ACEOF
13123#define MOUSE_WHEEL 1 12913#define MOUSE_WHEEL 1
13124_ACEOF 12914_ACEOF
13126fi 12916fi
13127if test x$support_mouseslipwheel = xyes; then 12917if test x$support_mouseslipwheel = xyes; then
13128 12918
13129cat >>confdefs.h <<\_ACEOF 12919cat >>confdefs.h <<\_ACEOF
13130#define MOUSE_SLIP_WHEELING 1 12920#define MOUSE_SLIP_WHEELING 1
13131_ACEOF
13132
13133fi
13134if test x$support_utmp = xyes; then
13135
13136cat >>confdefs.h <<\_ACEOF
13137#define UTMP_SUPPORT 1
13138_ACEOF
13139
13140fi
13141if test x$support_wtmp = xyes; then
13142
13143cat >>confdefs.h <<\_ACEOF
13144#define WTMP_SUPPORT 1
13145_ACEOF
13146
13147fi
13148if test x$support_lastlog = xyes; then
13149
13150cat >>confdefs.h <<\_ACEOF
13151#define LASTLOG_SUPPORT 1
13152_ACEOF 12921_ACEOF
13153 12922
13154fi 12923fi
13155if test x$support_xim = xyes -o x$multichar_set = xyes; then 12924if test x$support_xim = xyes -o x$multichar_set = xyes; then
13156 if test x$rxvt_cv_func_xlocale = xyes; then 12925 if test x$rxvt_cv_func_xlocale = xyes; then
14201s,@EGREP@,$EGREP,;t t 13970s,@EGREP@,$EGREP,;t t
14202s,@LINKER@,$LINKER,;t t 13971s,@LINKER@,$LINKER,;t t
14203s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 13972s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
14204s,@RXVTNAME@,$RXVTNAME,;t t 13973s,@RXVTNAME@,$RXVTNAME,;t t
14205s,@MV@,$MV,;t t 13974s,@MV@,$MV,;t t
14206s,@RM@,$RM,;t t
14207s,@CP@,$CP,;t t 13975s,@CP@,$CP,;t t
14208s,@LN@,$LN,;t t 13976s,@LN@,$LN,;t t
14209s,@SED@,$SED,;t t 13977s,@SED@,$SED,;t t
14210s,@ECHO@,$ECHO,;t t 13978s,@ECHO@,$ECHO,;t t
14211s,@CMP@,$CMP,;t t 13979s,@CMP@,$CMP,;t t
14750 Install path: ${prefix}/bin 14518 Install path: ${prefix}/bin
14751 Compiler: $CXX 14519 Compiler: $CXX
14752 Compiler flags: $CFLAGS 14520 Compiler flags: $CFLAGS
14753 Linker: $LINKER" 14521 Linker: $LINKER"
14754 14522
14755if test "$MALLOC_TYPE" = S; then
14756 echo " malloc support: system default"
14757fi
14758if test "$MALLOC_TYPE" = G; then
14759 echo " malloc support: Gray Watson's dmalloc"
14760fi
14761if test "$MALLOC_TYPE" = D; then
14762 echo " malloc support: Doug Lea's malloc"
14763fi
14764
14765if test x$support_xpm = xyes; then 14523if test x$support_xpm = xyes; then
14766 echo " Xpm library: $XPM_LIBS" 14524 echo " Xpm library: $XPM_LIBS"
14767fi 14525fi
14768 14526
14769if test x$support_utmp != xyes; then
14770 echo " utmp support: disabled"
14771 echo
14772else
14773 echo " utmp support: enabled
14774 utmp file: $path_utmp
14775 utmpx file: $path_utmpx
14776 wtmp file: $path_wtmp
14777 wtmpx file: $path_wtmpx
14778 lastlog file: $path_lastlog
14779 lastlogx file: $path_lastlogx"
14780fi
14781if test x$term != x; then 14527if test x$term != x; then
14782 echo " set TERM to: $term" 14528 echo " set TERM to: $term"
14783fi 14529fi
14784if test x$terminfo != x; then 14530if test x$terminfo != x; then
14785 echo " set TERMINFO to: $terminfo" 14531 echo " set TERMINFO to: $terminfo"
14808 echo ". functions could not be found. ." 14554 echo ". functions could not be found. ."
14809 echo ". XIM is now being DISABLED! ." 14555 echo ". XIM is now being DISABLED! ."
14810 echo ".----------------------------------------------------------------." 14556 echo ".----------------------------------------------------------------."
14811fi 14557fi
14812 14558
14813echo " *** Optionally check src/feature.h for further options ***" 14559echo "*** Optionally check src/feature.h for further, rarely used options ***"
14814echo 14560echo
14815 14561
14816echo ".----------------------------------------------------------------."
14817echo ". NOTE: some features are disabled by default, try ."
14818echo ". configure --help to get an idea of the optional features, ."
14819echo ". or read ./README.configure ."
14820echo ". ."
14821echo ". The script ./reconf gives a reasonable baseline, try it if ."
14822echo ". you do not want to read documentation and still want some ."
14823echo ". useful features. ."
14824echo ".----------------------------------------------------------------."
14825echo
14826

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines