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

Comparing rxvt-unicode/configure (file contents):
Revision 1.90 by root, Sun Jan 22 17:10:01 2006 UTC vs.
Revision 1.101 by ayin, Sun Sep 10 14:33:41 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)
3293 CXX="$save_CXX" 3289 CXX="$save_CXX"
3294fi 3290fi
3295LINKER=$LINKER 3291LINKER=$LINKER
3296 3292
3297 3293
3298ac_ext=cc
3299ac_cpp='$CXXCPP $CPPFLAGS'
3300ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3301ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3302ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3303
3304if test -z "$orig_CXXFLAGS"; then 3294if test -z "$orig_CXXFLAGS"; then
3305 if test x$GCC = xyes && test "x$GXX" = xyes; then 3295 if test x$GCC = xyes && test "x$GXX" = xyes; then
3306 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3296 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3307 cat >conftest.$ac_ext <<_ACEOF 3297 cat >conftest.$ac_ext <<_ACEOF
3308/* confdefs.h. */ 3298/* confdefs.h. */
3309_ACEOF 3299_ACEOF
3310cat confdefs.h >>conftest.$ac_ext 3300cat confdefs.h >>conftest.$ac_ext
3311cat >>conftest.$ac_ext <<_ACEOF 3301cat >>conftest.$ac_ext <<_ACEOF
3864fi 3854fi
3865 3855
3866fi 3856fi
3867 3857
3868 3858
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 3859
4089support_frills=yes 3860support_frills=yes
4090support_inheritpixmap=yes 3861support_inheritpixmap=yes
4091support_tinting=yes 3862support_tinting=yes
4092support_fading=yes 3863support_fading=yes
4093support_keepscrolling=yes 3864support_keepscrolling=yes
4094support_selectionscrolling=yes 3865support_selectionscrolling=yes
4095support_mousewheel=yes 3866support_mousewheel=yes
4096support_mouseslipwheel=yes 3867support_mouseslipwheel=yes
4097support_utmp=yes
4098support_wtmp=yes
4099support_lastlog=yes
4100support_text_blink=yes 3868support_text_blink=yes
4101support_pointer_blank=yes 3869support_pointer_blank=yes
4102support_scroll_rxvt=yes 3870support_scroll_rxvt=yes
4103support_scroll_next=yes 3871support_scroll_next=yes
4104support_scroll_xterm=yes 3872support_scroll_xterm=yes
4128# Check whether --enable-everything or --disable-everything was given. 3896# Check whether --enable-everything or --disable-everything was given.
4129if test "${enable_everything+set}" = set; then 3897if test "${enable_everything+set}" = set; then
4130 enableval="$enable_everything" 3898 enableval="$enable_everything"
4131 3899
4132 if test x$enableval = xno; then 3900 if test x$enableval = xno; then
4133 support_24bit=no
4134 support_frills=no 3901 support_frills=no
4135 support_inheritpixmap=no 3902 support_inheritpixmap=no
4136 support_tinting=no 3903 support_tinting=no
4137 support_fading=no 3904 support_fading=no
4138 support_keepscrolling=no 3905 support_keepscrolling=no
4158 support_styles=no 3925 support_styles=no
4159 support_perl=no 3926 support_perl=no
4160 codesets= 3927 codesets=
4161 fi 3928 fi
4162 if test x$enableval = xyes; then 3929 if test x$enableval = xyes; then
4163 support_24bit=yes
4164 support_frills=yes 3930 support_frills=yes
4165 support_inheritpixmap=yes 3931 support_inheritpixmap=yes
4166 support_tinting=yes 3932 support_tinting=yes
4167 support_fading=yes 3933 support_fading=yes
4168 support_keepscrolling=yes 3934 support_keepscrolling=yes
4222 if test x$enableval = xyes -o x$enableval = xno; then 3988 if test x$enableval = xyes -o x$enableval = xno; then
4223 support_styles=$enableval 3989 support_styles=$enableval
4224 fi 3990 fi
4225fi; 3991fi;
4226 3992
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. 3993# Check whether --enable-xpm-background or --disable-xpm-background was given.
4252if test "${enable_xpm_background+set}" = set; then 3994if test "${enable_xpm_background+set}" = set; then
4253 enableval="$enable_xpm_background" 3995 enableval="$enable_xpm_background"
4254 if test x$enableval = xyes -o x$enableval = xno; then 3996 if test x$enableval = xyes -o x$enableval = xno; then
4255 support_xpm=$enableval 3997 support_xpm=$enableval
4319 support_scroll_plain=$enableval 4061 support_scroll_plain=$enableval
4320 fi 4062 fi
4321fi; 4063fi;
4322 4064
4323 4065
4324
4325# Check whether --with-codesets or --without-codesets was given. 4066# Check whether --with-codesets or --without-codesets was given.
4326if test "${with_codesets+set}" = set; then 4067if test "${with_codesets+set}" = set; then
4327 withval="$with_codesets" 4068 withval="$with_codesets"
4328 codesets="$withval" 4069 codesets="$withval"
4329fi; 4070fi;
4467 if test x$enableval = xyes -o x$enableval = xno; then 4208 if test x$enableval = xyes -o x$enableval = xno; then
4468 support_frills=$enableval 4209 support_frills=$enableval
4469 fi 4210 fi
4470fi; 4211fi;
4471 4212
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. 4213# Check whether --enable-keepscrolling or --disable-keepscrolling was given.
4481if test "${enable_keepscrolling+set}" = set; then 4214if test "${enable_keepscrolling+set}" = set; then
4482 enableval="$enable_keepscrolling" 4215 enableval="$enable_keepscrolling"
4483 if test x$enableval = xyes -o x$enableval = xno; then 4216 if test x$enableval = xyes -o x$enableval = xno; then
4484 support_keepscrolling=$enableval 4217 support_keepscrolling=$enableval
4504# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 4237# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
4505if test "${enable_slipwheeling+set}" = set; then 4238if test "${enable_slipwheeling+set}" = set; then
4506 enableval="$enable_slipwheeling" 4239 enableval="$enable_slipwheeling"
4507 if test x$enableval = xyes -o x$enableval = xno; then 4240 if test x$enableval = xyes -o x$enableval = xno; then
4508 support_mouseslipwheel=$enableval 4241 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 4242 fi
4532fi; 4243fi;
4533 4244
4534# Check whether --enable-smart-resize or --disable-smart-resize was given. 4245# Check whether --enable-smart-resize or --disable-smart-resize was given.
4535if test "${enable_smart_resize+set}" = set; then 4246if test "${enable_smart_resize+set}" = set; then
4619MV=$ac_cv_path_MV 4330MV=$ac_cv_path_MV
4620 4331
4621if test -n "$MV"; then 4332if test -n "$MV"; then
4622 echo "$as_me:$LINENO: result: $MV" >&5 4333 echo "$as_me:$LINENO: result: $MV" >&5
4623echo "${ECHO_T}$MV" >&6 4334echo "${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 4335else
4665 echo "$as_me:$LINENO: result: no" >&5 4336 echo "$as_me:$LINENO: result: no" >&5
4666echo "${ECHO_T}no" >&6 4337echo "${ECHO_T}no" >&6
4667fi 4338fi
4668 4339
7661 7332
7662fi 7333fi
7663LIBS=$ac_save_LIBS 7334LIBS=$ac_save_LIBS
7664CFLAGS=$ac_save_CFLAGS 7335CFLAGS=$ac_save_CFLAGS
7665 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
7666 7403
7667echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7404echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7668echo $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
7669if test "${ac_cv_c_const+set}" = set; then 7406if test "${ac_cv_c_const+set}" = set; then
7670 echo $ECHO_N "(cached) $ECHO_C" >&6 7407 echo $ECHO_N "(cached) $ECHO_C" >&6
10055 9792
10056 9793
10057 9794
10058 9795
10059 9796
10060
10061
10062
10063for ac_func in \ 9797for ac_func in \
10064 unsetenv \ 9798 unsetenv \
10065 setutent \ 9799 setutent \
10066 seteuid \
10067 setresuid \
10068 setreuid \
10069 on_exit \ 9800 on_exit \
10070 9801
10071do 9802do
10072as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9803as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10073echo "$as_me:$LINENO: checking for $ac_func" >&5 9804echo "$as_me:$LINENO: checking for $ac_func" >&5
10166 9897
10167fi 9898fi
10168done 9899done
10169 9900
10170 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
10171 9952
10172 9953
10173 9954
10174 9955
10175for ac_func in \ 9956for ac_func in \
11979_ACEOF 11760_ACEOF
11980cat confdefs.h >>conftest.$ac_ext 11761cat confdefs.h >>conftest.$ac_ext
11981cat >>conftest.$ac_ext <<_ACEOF 11762cat >>conftest.$ac_ext <<_ACEOF
11982/* end confdefs.h. */ 11763/* end confdefs.h. */
11983 11764
11984#include <cstddef> // broken bsds (is that redundant) need this 11765#include <cstddef> // broken bsds (is that redundant?) need this
11985#include <sys/types.h> 11766#include <sys/types.h>
11986#include <sys/socket.h> 11767#include <sys/socket.h>
11987#include <sys/uio.h> 11768#include <sys/uio.h>
11988 11769
11989int 11770int
12286 12067
12287 12068
12288 12069
12289 12070
12290 12071
12072
12073
12074
12075
12291for ac_func in \ 12076for ac_func in \
12292 revoke \ 12077 revoke \
12293 _getpty \ 12078 _getpty \
12294 getpt \ 12079 getpt \
12295 posix_openpt \ 12080 posix_openpt \
12296 isastream \ 12081 isastream \
12082 setuid \
12083 seteuid \
12084 setreuid \
12085 setresuid \
12297 12086
12298do 12087do
12299as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12088as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12300echo "$as_me:$LINENO: checking for $ac_func" >&5 12089echo "$as_me:$LINENO: checking for $ac_func" >&5
12301echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12090echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13163cat >>confdefs.h <<\_ACEOF 12952cat >>confdefs.h <<\_ACEOF
13164#define ENABLE_FRILLS 1 12953#define ENABLE_FRILLS 1
13165_ACEOF 12954_ACEOF
13166 12955
13167fi 12956fi
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 12957if test x$support_mousewheel = xyes; then
13176 12958
13177cat >>confdefs.h <<\_ACEOF 12959cat >>confdefs.h <<\_ACEOF
13178#define MOUSE_WHEEL 1 12960#define MOUSE_WHEEL 1
13179_ACEOF 12961_ACEOF
13181fi 12963fi
13182if test x$support_mouseslipwheel = xyes; then 12964if test x$support_mouseslipwheel = xyes; then
13183 12965
13184cat >>confdefs.h <<\_ACEOF 12966cat >>confdefs.h <<\_ACEOF
13185#define MOUSE_SLIP_WHEELING 1 12967#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 12968_ACEOF
13208 12969
13209fi 12970fi
13210if test x$support_xim = xyes -o x$multichar_set = xyes; then 12971if test x$support_xim = xyes -o x$multichar_set = xyes; then
13211 if test x$rxvt_cv_func_xlocale = xyes; then 12972 if test x$rxvt_cv_func_xlocale = xyes; then
13498 13259
13499 13260
13500 13261
13501 13262
13502 13263
13264 cat >conftest.$ac_ext <<_ACEOF
13265/* confdefs.h. */
13266_ACEOF
13267cat confdefs.h >>conftest.$ac_ext
13268cat >>conftest.$ac_ext <<_ACEOF
13269/* end confdefs.h. */
13270
13271#include <EXTERN.h>
13272#include <perl.h>
13273#include <XSUB.h>
13274
13275int
13276main ()
13277{
13278
13279 PerlInterpreter *perl = perl_alloc ();
13280
13281 ;
13282 return 0;
13283}
13284_ACEOF
13285rm -f conftest.$ac_objext conftest$ac_exeext
13286if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13287 (eval $ac_link) 2>conftest.er1
13288 ac_status=$?
13289 grep -v '^ *+' conftest.er1 >conftest.err
13290 rm -f conftest.er1
13291 cat conftest.err >&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); } &&
13294 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13297 ac_status=$?
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; } &&
13300 { ac_try='test -s conftest$ac_exeext'
13301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13302 (eval $ac_try) 2>&5
13303 ac_status=$?
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); }; }; then
13306 rxvt_perl_link=yes
13307else
13308 echo "$as_me: failed program was:" >&5
13309sed 's/^/| /' conftest.$ac_ext >&5
13310
13311rxvt_perl_link=no
13312fi
13313rm -f conftest.err conftest.$ac_objext \
13314 conftest$ac_exeext conftest.$ac_ext
13503if test x$support_perl = xyes; then 13315if test x$support_perl = xyes; then
13504 support_frills=yes 13316 support_frills=yes
13505fi 13317fi
13506 13318
13507
13508CFLAGS=${CFLAGS--O}
13509LDFLAGS=${LDFLAGS--O}
13510
13511CPPFLAGS="$CPPFLAGS"
13512 13319
13513 13320
13514 13321
13515 13322
13516 13323
14256s,@EGREP@,$EGREP,;t t 14063s,@EGREP@,$EGREP,;t t
14257s,@LINKER@,$LINKER,;t t 14064s,@LINKER@,$LINKER,;t t
14258s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 14065s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
14259s,@RXVTNAME@,$RXVTNAME,;t t 14066s,@RXVTNAME@,$RXVTNAME,;t t
14260s,@MV@,$MV,;t t 14067s,@MV@,$MV,;t t
14261s,@RM@,$RM,;t t
14262s,@CP@,$CP,;t t 14068s,@CP@,$CP,;t t
14263s,@LN@,$LN,;t t 14069s,@LN@,$LN,;t t
14264s,@SED@,$SED,;t t 14070s,@SED@,$SED,;t t
14265s,@ECHO@,$ECHO,;t t 14071s,@ECHO@,$ECHO,;t t
14266s,@CMP@,$CMP,;t t 14072s,@CMP@,$CMP,;t t
14802 14608
14803 Rxvt version: $VERSION : $DATE 14609 Rxvt version: $VERSION : $DATE
14804 Source code location: $srcdir 14610 Source code location: $srcdir
14805 Install path: ${prefix}/bin 14611 Install path: ${prefix}/bin
14806 Compiler: $CXX 14612 Compiler: $CXX
14807 Compiler flags: $CFLAGS 14613 Compiler flags: $CXXFLAGS
14808 Linker: $LINKER" 14614 Linker: $LINKER"
14809
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 14615
14820if test x$support_xpm = xyes; then 14616if test x$support_xpm = xyes; then
14821 echo " Xpm library: $XPM_LIBS" 14617 echo " Xpm library: $XPM_LIBS"
14822fi 14618fi
14823 14619
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 14620if test x$term != x; then
14837 echo " set TERM to: $term" 14621 echo " set TERM to: $term"
14838fi 14622fi
14839if test x$terminfo != x; then 14623if test x$terminfo != x; then
14840 echo " set TERMINFO to: $terminfo" 14624 echo " set TERMINFO to: $terminfo"
14863 echo ". functions could not be found. ." 14647 echo ". functions could not be found. ."
14864 echo ". XIM is now being DISABLED! ." 14648 echo ". XIM is now being DISABLED! ."
14865 echo ".----------------------------------------------------------------." 14649 echo ".----------------------------------------------------------------."
14866fi 14650fi
14867 14651
14868echo " *** Optionally check src/feature.h for further options ***" 14652echo "*** Optionally check src/feature.h for further, rarely used options ***"
14869echo 14653echo
14870 14654
14871echo ".----------------------------------------------------------------."
14872echo ". NOTE: some features are disabled by default, try ."
14873echo ". configure --help to get an idea of the optional features, ."
14874echo ". or read ./README.configure ."
14875echo ". ."
14876echo ". The script ./reconf gives a reasonable baseline, try it if ."
14877echo ". you do not want to read documentation and still want some ."
14878echo ". useful features. ."
14879echo ".----------------------------------------------------------------."
14880echo
14881

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines