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

Comparing rxvt-unicode/configure (file contents):
Revision 1.52 by root, Wed Feb 16 21:21:43 2005 UTC vs.
Revision 1.71 by root, Mon Jan 16 14:48:39 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 AWK LINKER CXXCPP EGREP INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TBL TIC 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 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 AWK LINKER CXXCPP EGREP INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS'
313ac_subst_files='MCOMMON' 313ac_subst_files='MCOMMON'
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
877 --enable-lastlog enable lastlog support (requires --enable-utmp) 877 --enable-lastlog enable lastlog support (requires --enable-utmp)
878 --enable-xpm-background enable XPM background pixmaps 878 --enable-xpm-background enable XPM background pixmaps
879 --enable-transparency enable transparent backgrounds 879 --enable-transparency enable transparent backgrounds
880 --enable-tinting enable tinting of transparent bg 880 --enable-tinting enable tinting of transparent bg
881 --enable-fading enable colors fading when off focus 881 --enable-fading enable colors fading when off focus
882 --enable-menubar enable menubar
883 --enable-rxvt-scroll enable rxvt style scrollbar 882 --enable-rxvt-scroll enable rxvt style scrollbar
884 --enable-next-scroll enable NeXT style scrollbar 883 --enable-next-scroll enable NeXT style scrollbar
885 --enable-xterm-scroll enable Xterm style scrollbar 884 --enable-xterm-scroll enable Xterm style scrollbar
885 --enable-perl enable embedded perl interpreter
886 --enable-plain-scroll enable plain style scrollbar 886 --enable-plain-scroll enable plain style scrollbar
887 --enable-half-shadow use half width/height shadow on rxvt scrollbar 887 --enable-half-shadow use half width/height shadow on rxvt scrollbar
888 --enable-xim XIM (X Input Method) protocol support 888 --enable-xim XIM (X Input Method) protocol support
889 --enable-ttygid enable tty setting to group named "tty" 889 --enable-ttygid enable tty setting to group named "tty"
890 --disable-backspace-key disable handling of the backspace key 890 --disable-backspace-key disable handling of the backspace key
891 --disable-delete-key disable handling of the delete key 891 --disable-delete-key disable handling of the delete key
892 --disable-resources disable all resource checking 892 --disable-resources disable all resource checking
893 --enable-xgetdefault enable resources via X instead of our small version
894 --enable-8bitctrls enable 8 bit control sequences (not recommended) 893 --enable-8bitctrls enable 8 bit control sequences (not recommended)
895 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 894 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
896 --enable-strings enable some replacement system functions
897 --disable-swapscreen disable swap screen support 895 --disable-swapscreen disable swap screen support
898 --enable-iso14755 enable support for extended ISO 14755 modes 896 --enable-iso14755 enable support for extended ISO 14755 modes
899 --enable-frills enable support for rarely used features 897 --enable-frills enable support for rarely used features
900 --enable-24bit enable support for using 24bit visuals if available 898 --enable-24bit enable support for using 24bit visuals if available
901 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 899 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
904 --enable-slipwheeling enable slip wheel scrolling (requires previous) 902 --enable-slipwheeling enable slip wheel scrolling (requires previous)
905 --enable-dmalloc enable Gray Watson's malloc - for debugging use 903 --enable-dmalloc enable Gray Watson's malloc - for debugging use
906 --enable-dlmalloc enable Doug Lea's malloc - for production use 904 --enable-dlmalloc enable Doug Lea's malloc - for production use
907 NOTE: enable only one malloc package 905 NOTE: enable only one malloc package
908 --enable-smart-resize enable smart growth/shrink behaviour 906 --enable-smart-resize enable smart growth/shrink behaviour
909 --enable-cursor-blink enable blinking cursor
910 --enable-text-blink enable blinking text 907 --enable-text-blink enable blinking text
911 --enable-pointer-blank enable pointer blank when typing or inactive pointer 908 --enable-pointer-blank enable pointer blank when typing or inactive pointer
912 909
913Optional Packages: 910Optional Packages:
914 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 911 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
3613 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3610 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3614 3611
3615fi 3612fi
3616 3613
3617 3614
3615echo "$as_me:$LINENO: checking for setlocale" >&5
3616echo $ECHO_N "checking for setlocale... $ECHO_C" >&6
3617if test "${ac_cv_func_setlocale+set}" = set; then
3618 echo $ECHO_N "(cached) $ECHO_C" >&6
3619else
3620 cat >conftest.$ac_ext <<_ACEOF
3621/* confdefs.h. */
3622_ACEOF
3623cat confdefs.h >>conftest.$ac_ext
3624cat >>conftest.$ac_ext <<_ACEOF
3625/* end confdefs.h. */
3626/* Define setlocale to an innocuous variant, in case <limits.h> declares setlocale.
3627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3628#define setlocale innocuous_setlocale
3629
3630/* System header to define __stub macros and hopefully few prototypes,
3631 which can conflict with char setlocale (); below.
3632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3633 <limits.h> exists even on freestanding compilers. */
3634
3635#ifdef __STDC__
3636# include <limits.h>
3637#else
3638# include <assert.h>
3639#endif
3640
3641#undef setlocale
3642
3643/* Override any gcc2 internal prototype to avoid an error. */
3644#ifdef __cplusplus
3645extern "C"
3646{
3647#endif
3648/* We use char because int might match the return type of a gcc2
3649 builtin and then its argument prototype would still apply. */
3650char setlocale ();
3651/* The GNU C library defines this for functions which it implements
3652 to always fail with ENOSYS. Some functions are actually named
3653 something starting with __ and the normal name is an alias. */
3654#if defined (__stub_setlocale) || defined (__stub___setlocale)
3655choke me
3656#else
3657char (*f) () = setlocale;
3658#endif
3659#ifdef __cplusplus
3660}
3661#endif
3662
3663int
3664main ()
3665{
3666return f != setlocale;
3667 ;
3668 return 0;
3669}
3670_ACEOF
3671rm -f conftest.$ac_objext conftest$ac_exeext
3672if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3673 (eval $ac_link) 2>conftest.er1
3674 ac_status=$?
3675 grep -v '^ *+' conftest.er1 >conftest.err
3676 rm -f conftest.er1
3677 cat conftest.err >&5
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); } &&
3680 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3682 (eval $ac_try) 2>&5
3683 ac_status=$?
3684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 (exit $ac_status); }; } &&
3686 { ac_try='test -s conftest$ac_exeext'
3687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3688 (eval $ac_try) 2>&5
3689 ac_status=$?
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); }; }; then
3692 ac_cv_func_setlocale=yes
3693else
3694 echo "$as_me: failed program was:" >&5
3695sed 's/^/| /' conftest.$ac_ext >&5
3696
3697ac_cv_func_setlocale=no
3698fi
3699rm -f conftest.err conftest.$ac_objext \
3700 conftest$ac_exeext conftest.$ac_ext
3701fi
3702echo "$as_me:$LINENO: result: $ac_cv_func_setlocale" >&5
3703echo "${ECHO_T}$ac_cv_func_setlocale" >&6
3704if test $ac_cv_func_setlocale = yes; then
3705 :
3706else
3618echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 3707 echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3619echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 3708echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3620if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then 3709if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6 3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3622else 3711else
3623 ac_check_lib_save_LIBS=$LIBS 3712 ac_check_lib_save_LIBS=$LIBS
3680echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 3769echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3681if test $ac_cv_lib_xpg4_setlocale = yes; then 3770if test $ac_cv_lib_xpg4_setlocale = yes; then
3682 LIBS="$LIBS -lxpg4" 3771 LIBS="$LIBS -lxpg4"
3683fi 3772fi
3684 3773
3774fi
3685 3775
3776
3777echo "$as_me:$LINENO: checking for gethostbyname" >&5
3778echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3779if test "${ac_cv_func_gethostbyname+set}" = set; then
3780 echo $ECHO_N "(cached) $ECHO_C" >&6
3781else
3782 cat >conftest.$ac_ext <<_ACEOF
3783/* confdefs.h. */
3784_ACEOF
3785cat confdefs.h >>conftest.$ac_ext
3786cat >>conftest.$ac_ext <<_ACEOF
3787/* end confdefs.h. */
3788/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3790#define gethostbyname innocuous_gethostbyname
3791
3792/* System header to define __stub macros and hopefully few prototypes,
3793 which can conflict with char gethostbyname (); below.
3794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3795 <limits.h> exists even on freestanding compilers. */
3796
3797#ifdef __STDC__
3798# include <limits.h>
3799#else
3800# include <assert.h>
3801#endif
3802
3803#undef gethostbyname
3804
3805/* Override any gcc2 internal prototype to avoid an error. */
3806#ifdef __cplusplus
3807extern "C"
3808{
3809#endif
3810/* We use char because int might match the return type of a gcc2
3811 builtin and then its argument prototype would still apply. */
3812char gethostbyname ();
3813/* The GNU C library defines this for functions which it implements
3814 to always fail with ENOSYS. Some functions are actually named
3815 something starting with __ and the normal name is an alias. */
3816#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3817choke me
3818#else
3819char (*f) () = gethostbyname;
3820#endif
3821#ifdef __cplusplus
3822}
3823#endif
3824
3825int
3826main ()
3827{
3828return f != gethostbyname;
3829 ;
3830 return 0;
3831}
3832_ACEOF
3833rm -f conftest.$ac_objext conftest$ac_exeext
3834if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3835 (eval $ac_link) 2>conftest.er1
3836 ac_status=$?
3837 grep -v '^ *+' conftest.er1 >conftest.err
3838 rm -f conftest.er1
3839 cat conftest.err >&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); } &&
3842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3844 (eval $ac_try) 2>&5
3845 ac_status=$?
3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3847 (exit $ac_status); }; } &&
3848 { ac_try='test -s conftest$ac_exeext'
3849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3850 (eval $ac_try) 2>&5
3851 ac_status=$?
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); }; }; then
3854 ac_cv_func_gethostbyname=yes
3855else
3856 echo "$as_me: failed program was:" >&5
3857sed 's/^/| /' conftest.$ac_ext >&5
3858
3859ac_cv_func_gethostbyname=no
3860fi
3861rm -f conftest.err conftest.$ac_objext \
3862 conftest$ac_exeext conftest.$ac_ext
3863fi
3864echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3865echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3866if test $ac_cv_func_gethostbyname = yes; then
3867 :
3868else
3686echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 3869 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3687echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 3870echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3688if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then 3871if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3689 echo $ECHO_N "(cached) $ECHO_C" >&6 3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3690else 3873else
3691 ac_check_lib_save_LIBS=$LIBS 3874 ac_check_lib_save_LIBS=$LIBS
3748echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 3931echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3749if test $ac_cv_lib_nsl_gethostbyname = yes; then 3932if test $ac_cv_lib_nsl_gethostbyname = yes; then
3750 LIBS="$LIBS -lnsl" 3933 LIBS="$LIBS -lnsl"
3751fi 3934fi
3752 3935
3936fi
3937
3938echo "$as_me:$LINENO: checking for socket" >&5
3939echo $ECHO_N "checking for socket... $ECHO_C" >&6
3940if test "${ac_cv_func_socket+set}" = set; then
3941 echo $ECHO_N "(cached) $ECHO_C" >&6
3942else
3943 cat >conftest.$ac_ext <<_ACEOF
3944/* confdefs.h. */
3945_ACEOF
3946cat confdefs.h >>conftest.$ac_ext
3947cat >>conftest.$ac_ext <<_ACEOF
3948/* end confdefs.h. */
3949/* Define socket to an innocuous variant, in case <limits.h> declares socket.
3950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3951#define socket innocuous_socket
3952
3953/* System header to define __stub macros and hopefully few prototypes,
3954 which can conflict with char socket (); below.
3955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3956 <limits.h> exists even on freestanding compilers. */
3957
3958#ifdef __STDC__
3959# include <limits.h>
3960#else
3961# include <assert.h>
3962#endif
3963
3964#undef socket
3965
3966/* Override any gcc2 internal prototype to avoid an error. */
3967#ifdef __cplusplus
3968extern "C"
3969{
3970#endif
3971/* We use char because int might match the return type of a gcc2
3972 builtin and then its argument prototype would still apply. */
3973char socket ();
3974/* The GNU C library defines this for functions which it implements
3975 to always fail with ENOSYS. Some functions are actually named
3976 something starting with __ and the normal name is an alias. */
3977#if defined (__stub_socket) || defined (__stub___socket)
3978choke me
3979#else
3980char (*f) () = socket;
3981#endif
3982#ifdef __cplusplus
3983}
3984#endif
3985
3986int
3987main ()
3988{
3989return f != socket;
3990 ;
3991 return 0;
3992}
3993_ACEOF
3994rm -f conftest.$ac_objext conftest$ac_exeext
3995if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3996 (eval $ac_link) 2>conftest.er1
3997 ac_status=$?
3998 grep -v '^ *+' conftest.er1 >conftest.err
3999 rm -f conftest.er1
4000 cat conftest.err >&5
4001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4002 (exit $ac_status); } &&
4003 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4005 (eval $ac_try) 2>&5
4006 ac_status=$?
4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008 (exit $ac_status); }; } &&
4009 { ac_try='test -s conftest$ac_exeext'
4010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4011 (eval $ac_try) 2>&5
4012 ac_status=$?
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); }; }; then
4015 ac_cv_func_socket=yes
4016else
4017 echo "$as_me: failed program was:" >&5
4018sed 's/^/| /' conftest.$ac_ext >&5
4019
4020ac_cv_func_socket=no
4021fi
4022rm -f conftest.err conftest.$ac_objext \
4023 conftest$ac_exeext conftest.$ac_ext
4024fi
4025echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
4026echo "${ECHO_T}$ac_cv_func_socket" >&6
4027if test $ac_cv_func_socket = yes; then
4028 :
4029else
3753echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 4030 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3754echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 4031echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3755if test "${ac_cv_lib_socket_socket+set}" = set; then 4032if test "${ac_cv_lib_socket_socket+set}" = set; then
3756 echo $ECHO_N "(cached) $ECHO_C" >&6 4033 echo $ECHO_N "(cached) $ECHO_C" >&6
3757else 4034else
3758 ac_check_lib_save_LIBS=$LIBS 4035 ac_check_lib_save_LIBS=$LIBS
3815echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 4092echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3816if test $ac_cv_lib_socket_socket = yes; then 4093if test $ac_cv_lib_socket_socket = yes; then
3817 LIBS="$LIBS -lsocket" 4094 LIBS="$LIBS -lsocket"
3818fi 4095fi
3819 4096
4097fi
4098
4099
4100echo "$as_me:$LINENO: checking for sched_yield" >&5
4101echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
4102if test "${ac_cv_func_sched_yield+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4104else
4105 cat >conftest.$ac_ext <<_ACEOF
4106/* confdefs.h. */
4107_ACEOF
4108cat confdefs.h >>conftest.$ac_ext
4109cat >>conftest.$ac_ext <<_ACEOF
4110/* end confdefs.h. */
4111/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
4112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4113#define sched_yield innocuous_sched_yield
4114
4115/* System header to define __stub macros and hopefully few prototypes,
4116 which can conflict with char sched_yield (); below.
4117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4118 <limits.h> exists even on freestanding compilers. */
4119
4120#ifdef __STDC__
4121# include <limits.h>
4122#else
4123# include <assert.h>
4124#endif
4125
4126#undef sched_yield
4127
4128/* Override any gcc2 internal prototype to avoid an error. */
4129#ifdef __cplusplus
4130extern "C"
4131{
4132#endif
4133/* We use char because int might match the return type of a gcc2
4134 builtin and then its argument prototype would still apply. */
4135char sched_yield ();
4136/* The GNU C library defines this for functions which it implements
4137 to always fail with ENOSYS. Some functions are actually named
4138 something starting with __ and the normal name is an alias. */
4139#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
4140choke me
4141#else
4142char (*f) () = sched_yield;
4143#endif
4144#ifdef __cplusplus
4145}
4146#endif
4147
4148int
4149main ()
4150{
4151return f != sched_yield;
4152 ;
4153 return 0;
4154}
4155_ACEOF
4156rm -f conftest.$ac_objext conftest$ac_exeext
4157if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4158 (eval $ac_link) 2>conftest.er1
4159 ac_status=$?
4160 grep -v '^ *+' conftest.er1 >conftest.err
4161 rm -f conftest.er1
4162 cat conftest.err >&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); } &&
4165 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4167 (eval $ac_try) 2>&5
4168 ac_status=$?
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; } &&
4171 { ac_try='test -s conftest$ac_exeext'
4172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4173 (eval $ac_try) 2>&5
4174 ac_status=$?
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); }; }; then
4177 ac_cv_func_sched_yield=yes
4178else
4179 echo "$as_me: failed program was:" >&5
4180sed 's/^/| /' conftest.$ac_ext >&5
4181
4182ac_cv_func_sched_yield=no
4183fi
4184rm -f conftest.err conftest.$ac_objext \
4185 conftest$ac_exeext conftest.$ac_ext
4186fi
4187echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
4188echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
4189if test $ac_cv_func_sched_yield = yes; then
4190 :
4191else
4192 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
4193echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
4194if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4196else
4197 ac_check_lib_save_LIBS=$LIBS
4198LIBS="-lrt $LIBS"
4199cat >conftest.$ac_ext <<_ACEOF
4200/* confdefs.h. */
4201_ACEOF
4202cat confdefs.h >>conftest.$ac_ext
4203cat >>conftest.$ac_ext <<_ACEOF
4204/* end confdefs.h. */
4205
4206/* Override any gcc2 internal prototype to avoid an error. */
4207#ifdef __cplusplus
4208extern "C"
4209#endif
4210/* We use char because int might match the return type of a gcc2
4211 builtin and then its argument prototype would still apply. */
4212char sched_yield ();
4213int
4214main ()
4215{
4216sched_yield ();
4217 ;
4218 return 0;
4219}
4220_ACEOF
4221rm -f conftest.$ac_objext conftest$ac_exeext
4222if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4223 (eval $ac_link) 2>conftest.er1
4224 ac_status=$?
4225 grep -v '^ *+' conftest.er1 >conftest.err
4226 rm -f conftest.er1
4227 cat conftest.err >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); } &&
4230 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4232 (eval $ac_try) 2>&5
4233 ac_status=$?
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; } &&
4236 { ac_try='test -s conftest$ac_exeext'
4237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4238 (eval $ac_try) 2>&5
4239 ac_status=$?
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); }; }; then
4242 ac_cv_lib_rt_sched_yield=yes
4243else
4244 echo "$as_me: failed program was:" >&5
4245sed 's/^/| /' conftest.$ac_ext >&5
4246
4247ac_cv_lib_rt_sched_yield=no
4248fi
4249rm -f conftest.err conftest.$ac_objext \
4250 conftest$ac_exeext conftest.$ac_ext
4251LIBS=$ac_check_lib_save_LIBS
4252fi
4253echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
4254echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
4255if test $ac_cv_lib_rt_sched_yield = yes; then
4256 LIBS="$LIBS -lrt"
4257fi
4258
4259fi
4260
4261
4262echo "$as_me:$LINENO: checking for sched_yield support" >&5
4263echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6
4264cat >conftest.$ac_ext <<_ACEOF
4265/* confdefs.h. */
4266_ACEOF
4267cat confdefs.h >>conftest.$ac_ext
4268cat >>conftest.$ac_ext <<_ACEOF
4269/* end confdefs.h. */
4270#include <sched.h>
4271int
4272main ()
4273{
4274sched_yield ()
4275 ;
4276 return 0;
4277}
4278_ACEOF
4279rm -f conftest.$ac_objext conftest$ac_exeext
4280if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4281 (eval $ac_link) 2>conftest.er1
4282 ac_status=$?
4283 grep -v '^ *+' conftest.er1 >conftest.err
4284 rm -f conftest.er1
4285 cat conftest.err >&5
4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 (exit $ac_status); } &&
4288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4290 (eval $ac_try) 2>&5
4291 ac_status=$?
4292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293 (exit $ac_status); }; } &&
4294 { ac_try='test -s conftest$ac_exeext'
4295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4296 (eval $ac_try) 2>&5
4297 ac_status=$?
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); }; }; then
4300 echo "$as_me:$LINENO: result: yes" >&5
4301echo "${ECHO_T}yes" >&6
4302
4303cat >>confdefs.h <<\_ACEOF
4304#define HAVE_SCHED_YIELD 1
4305_ACEOF
4306
4307else
4308 echo "$as_me: failed program was:" >&5
4309sed 's/^/| /' conftest.$ac_ext >&5
4310
4311echo "$as_me:$LINENO: result: no" >&5
4312echo "${ECHO_T}no" >&6
4313fi
4314rm -f conftest.err conftest.$ac_objext \
4315 conftest$ac_exeext conftest.$ac_ext
3820 4316
3821 4317
3822MALLOC_TYPE=S 4318MALLOC_TYPE=S
3823support_addstrings=no 4319
3824support_frills=no 4320support_frills=yes
3825support_inheritpixmap=no 4321support_inheritpixmap=yes
3826support_tinting=no 4322support_tinting=yes
3827support_fading=no 4323support_fading=yes
3828support_keepscrolling=no 4324support_keepscrolling=yes
3829support_selectionscrolling=no 4325support_selectionscrolling=yes
3830support_menubar=no
3831support_mousewheel=no 4326support_mousewheel=yes
3832support_mouseslipwheel=no 4327support_mouseslipwheel=yes
3833support_utmp=no 4328support_utmp=yes
3834support_wtmp=no 4329support_wtmp=yes
3835support_lastlog=no 4330support_lastlog=yes
3836support_cursor_blink=no
3837support_text_blink=no 4331support_text_blink=yes
3838support_pointer_blank=no 4332support_pointer_blank=yes
3839support_scroll_rxvt=no 4333support_scroll_rxvt=yes
3840support_scroll_next=no 4334support_scroll_next=yes
3841support_scroll_xterm=no 4335support_scroll_xterm=yes
3842support_scroll_plain=no 4336support_scroll_plain=yes
3843support_xim=no 4337support_xim=yes
3844support_xpm=no 4338support_xpm=yes
3845support_xft=no 4339support_xft=yes
3846support_unicode3=no 4340support_unicode3=no
3847support_combining=no 4341support_combining=yes
3848support_8bitctrls=no 4342support_8bitctrls=no
3849support_iso14755=no 4343support_iso14755=yes
3850support_styles=no 4344support_styles=yes
4345support_perl=yes
3851codesets= 4346codesets=all
3852 4347
3853 4348
3854if test "x$enable_shared" = xyes; then 4349if test "x$enable_shared" = xyes; then
3855 4350
3856cat >>confdefs.h <<\_ACEOF 4351cat >>confdefs.h <<\_ACEOF
3862 4357
3863 4358
3864# Check whether --enable-everything or --disable-everything was given. 4359# Check whether --enable-everything or --disable-everything was given.
3865if test "${enable_everything+set}" = set; then 4360if test "${enable_everything+set}" = set; then
3866 enableval="$enable_everything" 4361 enableval="$enable_everything"
4362
4363 if test x$enableval = xno; then
4364 support_24bit=no
4365 support_frills=no
4366 support_inheritpixmap=no
4367 support_tinting=no
4368 support_fading=no
4369 support_keepscrolling=no
4370 support_selectionscrolling=no
4371 support_lastlog=no
4372 support_mousewheel=no
4373 support_mouseslipwheel=no
4374 support_text_blink=no
4375 support_pointer_blank=no
4376 support_scroll_rxvt=no
4377 support_scroll_next=no
4378 support_scroll_xterm=no
4379 support_scroll_plain=no
4380 support_utmp=no
4381 support_wtmp=no
4382 support_xim=no
4383 support_xpm=no
4384 support_xft=no
4385 support_unicode3=no
4386 support_combining=no
4387 support_8bitctrls=no
4388 support_iso14755=no
4389 support_styles=no
4390 support_perl=no
4391 codesets=
4392 fi
3867 if test x$enableval = xyes; then 4393 if test x$enableval = xyes; then
3868 support_24bit=yes 4394 support_24bit=yes
3869 support_frills=yes 4395 support_frills=yes
3870 support_inheritpixmap=yes 4396 support_inheritpixmap=yes
3871 support_tinting=yes 4397 support_tinting=yes
3872 support_fading=yes 4398 support_fading=yes
3873 support_keepscrolling=yes 4399 support_keepscrolling=yes
3874 support_selectionscrolling=yes 4400 support_selectionscrolling=yes
3875 support_lastlog=yes 4401 support_lastlog=yes
3876 support_menubar=yes
3877 support_mousewheel=yes 4402 support_mousewheel=yes
3878 support_mouseslipwheel=yes 4403 support_mouseslipwheel=yes
3879 support_cursor_blink=yes
3880 support_text_blink=yes 4404 support_text_blink=yes
3881 support_pointer_blank=yes 4405 support_pointer_blank=yes
3882 support_scroll_rxvt=yes 4406 support_scroll_rxvt=yes
3883 support_scroll_next=yes 4407 support_scroll_next=yes
3884 support_scroll_xterm=yes 4408 support_scroll_xterm=yes
3885 support_scroll_plain=yes 4409 support_scroll_plain=yes
3886 support_utmp=yes 4410 support_utmp=yes
3887 support_wtmp=yes 4411 support_wtmp=yes
3888 support_xim=yes 4412 support_xim=yes
3889 support_xpm=yes 4413 support_xpm=yes
3890 support_xft=yes 4414 support_xft=yes
3891 support_unicode3=yes 4415 support_unicode3=yes
3892 support_combining=yes 4416 support_combining=yes
3893 #support_8bitctrls=yes 4417 #support_8bitctrls=yes
3894 support_iso14755=yes 4418 support_iso14755=yes
3895 support_styles=yes 4419 support_styles=yes
4420 support_perl=yes
3896 codesets=all 4421 codesets=all
3897 fi 4422 fi
4423
3898fi; 4424fi;
3899 4425
3900# Check whether --enable-unicode3 or --disable-unicode3 was given. 4426# Check whether --enable-unicode3 or --disable-unicode3 was given.
3901if test "${enable_unicode3+set}" = set; then 4427if test "${enable_unicode3+set}" = set; then
3902 enableval="$enable_unicode3" 4428 enableval="$enable_unicode3"
3983 if test x$enableval = xyes -o x$enableval = xno; then 4509 if test x$enableval = xyes -o x$enableval = xno; then
3984 support_fading=$enableval 4510 support_fading=$enableval
3985 fi 4511 fi
3986fi; 4512fi;
3987 4513
3988# Check whether --enable-menubar or --disable-menubar was given.
3989if test "${enable_menubar+set}" = set; then
3990 enableval="$enable_menubar"
3991 if test x$enableval = xyes -o x$enableval = xno; then
3992 support_menubar=$enableval
3993 fi
3994fi;
3995
3996# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. 4514# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given.
3997if test "${enable_rxvt_scroll+set}" = set; then 4515if test "${enable_rxvt_scroll+set}" = set; then
3998 enableval="$enable_rxvt_scroll" 4516 enableval="$enable_rxvt_scroll"
3999 if test x$enableval = xyes -o x$enableval = xno; then 4517 if test x$enableval = xyes -o x$enableval = xno; then
4000 support_scroll_rxvt=$enableval 4518 support_scroll_rxvt=$enableval
4015 if test x$enableval = xyes -o x$enableval = xno; then 4533 if test x$enableval = xyes -o x$enableval = xno; then
4016 support_scroll_xterm=$enableval 4534 support_scroll_xterm=$enableval
4017 fi 4535 fi
4018fi; 4536fi;
4019 4537
4538# Check whether --enable-perl or --disable-perl was given.
4539if test "${enable_perl+set}" = set; then
4540 enableval="$enable_perl"
4541 if test x$enableval = xyes -o x$enableval = xno; then
4542 support_perl=$enableval
4543 fi
4544fi;
4545
4020# Check whether --enable-plain-scroll or --disable-plain-scroll was given. 4546# Check whether --enable-plain-scroll or --disable-plain-scroll was given.
4021if test "${enable_plain_scroll+set}" = set; then 4547if test "${enable_plain_scroll+set}" = set; then
4022 enableval="$enable_plain_scroll" 4548 enableval="$enable_plain_scroll"
4023 if test x$enableval = xyes -o x$enableval = xno; then 4549 if test x$enableval = xyes -o x$enableval = xno; then
4024 support_scroll_plain=$enableval 4550 support_scroll_plain=$enableval
4098_ACEOF 4624_ACEOF
4099 4625
4100 fi 4626 fi
4101fi; 4627fi;
4102 4628
4103# Check whether --enable-xgetdefault or --disable-xgetdefault was given.
4104if test "${enable_xgetdefault+set}" = set; then
4105 enableval="$enable_xgetdefault"
4106 if test x$enableval = xyes; then
4107
4108cat >>confdefs.h <<\_ACEOF
4109#define USE_XGETDEFAULT 1
4110_ACEOF
4111
4112 fi
4113fi;
4114
4115# Check whether --enable-8bitctrls or --disable-8bitctrls was given. 4629# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
4116if test "${enable_8bitctrls+set}" = set; then 4630if test "${enable_8bitctrls+set}" = set; then
4117 enableval="$enable_8bitctrls" 4631 enableval="$enable_8bitctrls"
4118 if test x$enableval = xyes -o x$enableval = xno; then 4632 if test x$enableval = xyes -o x$enableval = xno; then
4119 support_8bitctrls=$enableval 4633 support_8bitctrls=$enableval
4178_ACEOF 4692_ACEOF
4179 4693
4180 4694
4181RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 4695RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
4182 4696
4183
4184# Check whether --enable-strings or --disable-strings was given.
4185if test "${enable_strings+set}" = set; then
4186 enableval="$enable_strings"
4187 if test x$enableval = xyes -o x$enableval = xno; then
4188 support_addstrings=$enableval
4189 fi
4190fi;
4191 4697
4192# Check whether --enable-swapscreen or --disable-swapscreen was given. 4698# Check whether --enable-swapscreen or --disable-swapscreen was given.
4193if test "${enable_swapscreen+set}" = set; then 4699if test "${enable_swapscreen+set}" = set; then
4194 enableval="$enable_swapscreen" 4700 enableval="$enable_swapscreen"
4195 if test x$enableval = xno; then 4701 if test x$enableval = xno; then
4286 4792
4287cat >>confdefs.h <<\_ACEOF 4793cat >>confdefs.h <<\_ACEOF
4288#define SMART_RESIZE 1 4794#define SMART_RESIZE 1
4289_ACEOF 4795_ACEOF
4290 4796
4291 fi
4292fi;
4293
4294# Check whether --enable-cursor-blink or --disable-cursor-blink was given.
4295if test "${enable_cursor_blink+set}" = set; then
4296 enableval="$enable_cursor_blink"
4297 if test x$enableval = xyes -o x$enableval = xno; then
4298 support_cursor_blink=$enableval
4299 fi 4797 fi
4300fi; 4798fi;
4301 4799
4302# Check whether --enable-text-blink or --disable-text-blink was given. 4800# Check whether --enable-text-blink or --disable-text-blink was given.
4303if test "${enable_text_blink+set}" = set; then 4801if test "${enable_text_blink+set}" = set; then
4813/* confdefs.h. */ 5311/* confdefs.h. */
4814_ACEOF 5312_ACEOF
4815cat confdefs.h >>conftest.$ac_ext 5313cat confdefs.h >>conftest.$ac_ext
4816cat >>conftest.$ac_ext <<_ACEOF 5314cat >>conftest.$ac_ext <<_ACEOF
4817/* end confdefs.h. */ 5315/* end confdefs.h. */
4818#include <X11/Intrinsic.h> 5316#include <X11/Xlib.h>
4819_ACEOF 5317_ACEOF
4820if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5318if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5319 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4822 ac_status=$? 5320 ac_status=$?
4823 grep -v '^ *+' conftest.er1 >conftest.err 5321 grep -v '^ *+' conftest.er1 >conftest.err
4840else 5338else
4841 echo "$as_me: failed program was:" >&5 5339 echo "$as_me: failed program was:" >&5
4842sed 's/^/| /' conftest.$ac_ext >&5 5340sed 's/^/| /' conftest.$ac_ext >&5
4843 5341
4844 for ac_dir in $ac_x_header_dirs; do 5342 for ac_dir in $ac_x_header_dirs; do
4845 if test -r "$ac_dir/X11/Intrinsic.h"; then 5343 if test -r "$ac_dir/X11/Xlib.h"; then
4846 ac_x_includes=$ac_dir 5344 ac_x_includes=$ac_dir
4847 break 5345 break
4848 fi 5346 fi
4849done 5347done
4850fi 5348fi
4854if test "$ac_x_libraries" = no; then 5352if test "$ac_x_libraries" = no; then
4855 # Check for the libraries. 5353 # Check for the libraries.
4856 # See if we find them without any special options. 5354 # See if we find them without any special options.
4857 # Don't add to $LIBS permanently. 5355 # Don't add to $LIBS permanently.
4858 ac_save_LIBS=$LIBS 5356 ac_save_LIBS=$LIBS
4859 LIBS="-lXt $LIBS" 5357 LIBS="-lX11 $LIBS"
4860 cat >conftest.$ac_ext <<_ACEOF 5358 cat >conftest.$ac_ext <<_ACEOF
4861/* confdefs.h. */ 5359/* confdefs.h. */
4862_ACEOF 5360_ACEOF
4863cat confdefs.h >>conftest.$ac_ext 5361cat confdefs.h >>conftest.$ac_ext
4864cat >>conftest.$ac_ext <<_ACEOF 5362cat >>conftest.$ac_ext <<_ACEOF
4865/* end confdefs.h. */ 5363/* end confdefs.h. */
4866#include <X11/Intrinsic.h> 5364#include <X11/Xlib.h>
4867int 5365int
4868main () 5366main ()
4869{ 5367{
4870XtMalloc (0) 5368XrmInitialize ()
4871 ; 5369 ;
4872 return 0; 5370 return 0;
4873} 5371}
4874_ACEOF 5372_ACEOF
4875rm -f conftest.$ac_objext conftest$ac_exeext 5373rm -f conftest.$ac_objext conftest$ac_exeext
4903LIBS=$ac_save_LIBS 5401LIBS=$ac_save_LIBS
4904for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 5402for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4905do 5403do
4906 # Don't even attempt the hair of trying to link an X program! 5404 # Don't even attempt the hair of trying to link an X program!
4907 for ac_extension in a so sl; do 5405 for ac_extension in a so sl; do
4908 if test -r $ac_dir/libXt.$ac_extension; then 5406 if test -r $ac_dir/libX11.$ac_extension; then
4909 ac_x_libraries=$ac_dir 5407 ac_x_libraries=$ac_dir
4910 break 2 5408 break 2
4911 fi 5409 fi
4912 done 5410 done
4913done 5411done
6775 7273
6776 7274
6777 7275
6778 7276
6779 7277
7278
7279
6780for ac_header in \ 7280for ac_header in \
6781 assert.h \ 7281 assert.h \
6782 fcntl.h \ 7282 fcntl.h \
6783 grp.h \ 7283 grp.h \
6784 libc.h \ 7284 libc.h \
6797 sys/time.h \ 7297 sys/time.h \
6798 utmp.h \ 7298 utmp.h \
6799 utmpx.h \ 7299 utmpx.h \
6800 stdint.h \ 7300 stdint.h \
6801 pty.h \ 7301 pty.h \
7302 util.h \
7303 libutil.h \
6802 wchar.h \ 7304 wchar.h \
6803 cwchar \ 7305 cwchar \
6804 clocale \ 7306 clocale \
6805 7307
6806do 7308do
9670 seteuid \ 10172 seteuid \
9671 setreuid \ 10173 setreuid \
9672 setsid \ 10174 setsid \
9673 setpgrp \ 10175 setpgrp \
9674 setpgid \ 10176 setpgid \
9675 openpty \
9676 _getpty \ 10177 _getpty \
10178 posix_openpt \
9677 grantpt \ 10179 grantpt \
9678 unlockpt \ 10180 unlockpt \
9679 isastream \ 10181 isastream \
9680 on_exit \ 10182 on_exit \
9681 nanosleep \ 10183 nanosleep \
11316#define HAVE_NL_LANGINFO 1 11818#define HAVE_NL_LANGINFO 1
11317_ACEOF 11819_ACEOF
11318 11820
11319fi 11821fi
11320 11822
11823echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5
11824echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6
11825if test "${rxvt_can_pass_fds+set}" = set; then
11826 echo $ECHO_N "(cached) $ECHO_C" >&6
11827else
11828 cat >conftest.$ac_ext <<_ACEOF
11829/* confdefs.h. */
11830_ACEOF
11831cat confdefs.h >>conftest.$ac_ext
11832cat >>conftest.$ac_ext <<_ACEOF
11833/* end confdefs.h. */
11834
11835#include <sys/types.h>
11836#include <sys/socket.h>
11837
11838int
11839main ()
11840{
11841
11842{
11843 msghdr msg;
11844 iovec iov;
11845 char buf [100];
11846 char data = 0;
11847
11848 iov.iov_base = &data;
11849 iov.iov_len = 1;
11850
11851 msg.msg_iov = &iov;
11852 msg.msg_iovlen = 1;
11853 msg.msg_control = buf;
11854 msg.msg_controllen = sizeof buf;
11855
11856 cmsghdr *cmsg = CMSG_FIRSTHDR (&msg);
11857 cmsg->cmsg_level = SOL_SOCKET;
11858 cmsg->cmsg_type = SCM_RIGHTS;
11859 cmsg->cmsg_len = 100;
11860
11861 *(int *)CMSG_DATA (cmsg) = 5;
11862
11863 return sendmsg (3, &msg, 0);
11864}
11865
11866 ;
11867 return 0;
11868}
11869_ACEOF
11870rm -f conftest.$ac_objext conftest$ac_exeext
11871if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11872 (eval $ac_link) 2>conftest.er1
11873 ac_status=$?
11874 grep -v '^ *+' conftest.er1 >conftest.err
11875 rm -f conftest.er1
11876 cat conftest.err >&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); } &&
11879 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11881 (eval $ac_try) 2>&5
11882 ac_status=$?
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); }; } &&
11885 { ac_try='test -s conftest$ac_exeext'
11886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11887 (eval $ac_try) 2>&5
11888 ac_status=$?
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); }; }; then
11891 rxvt_can_pass_fds=yes
11892else
11893 echo "$as_me: failed program was:" >&5
11894sed 's/^/| /' conftest.$ac_ext >&5
11895
11896rxvt_can_pass_fds=no
11897fi
11898rm -f conftest.err conftest.$ac_objext \
11899 conftest$ac_exeext conftest.$ac_ext
11900fi
11901echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5
11902echo "${ECHO_T}$rxvt_can_pass_fds" >&6
11903if test x$rxvt_can_pass_fds = xyes; then
11904
11905cat >>confdefs.h <<\_ACEOF
11906#define HAVE_UNIX_FDPASS 1
11907_ACEOF
11908
11909fi
11910
11321echo "$as_me:$LINENO: checking for broken XIM callback" >&5 11911echo "$as_me:$LINENO: checking for broken XIM callback" >&5
11322echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 11912echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
11323if test "${rxvt_broken_ximcb+set}" = set; then 11913if test "${rxvt_broken_ximcb+set}" = set; then
11324 echo $ECHO_N "(cached) $ECHO_C" >&6 11914 echo $ECHO_N "(cached) $ECHO_C" >&6
11325else 11915else
11374#define XIMCB_PROTO_BROKEN 1 11964#define XIMCB_PROTO_BROKEN 1
11375_ACEOF 11965_ACEOF
11376 11966
11377fi 11967fi
11378 11968
11969if test x$ac_cv_func_posix_openpt = xno; then
11379echo "$as_me:$LINENO: checking for getpt" >&5 11970 echo "$as_me:$LINENO: checking for openpty" >&5
11380echo $ECHO_N "checking for getpt... $ECHO_C" >&6 11971echo $ECHO_N "checking for openpty... $ECHO_C" >&6
11381if test "${rxvt_cv_func_getpt+set}" = set; then 11972if test "${ac_cv_func_openpty+set}" = set; then
11382 echo $ECHO_N "(cached) $ECHO_C" >&6 11973 echo $ECHO_N "(cached) $ECHO_C" >&6
11383else 11974else
11384 cat >conftest.$ac_ext <<_ACEOF 11975 cat >conftest.$ac_ext <<_ACEOF
11385/* confdefs.h. */ 11976/* confdefs.h. */
11386_ACEOF 11977_ACEOF
11387cat confdefs.h >>conftest.$ac_ext 11978cat confdefs.h >>conftest.$ac_ext
11388cat >>conftest.$ac_ext <<_ACEOF 11979cat >>conftest.$ac_ext <<_ACEOF
11389/* end confdefs.h. */ 11980/* end confdefs.h. */
11390#define _GNU_SOURCE 11981/* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
11391#ifdef HAVE_STDLIB_H 11982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11392# include <cstdlib> 11983#define openpty innocuous_openpty
11984
11985/* System header to define __stub macros and hopefully few prototypes,
11986 which can conflict with char openpty (); below.
11987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11988 <limits.h> exists even on freestanding compilers. */
11989
11990#ifdef __STDC__
11991# include <limits.h>
11992#else
11993# include <assert.h>
11393#endif 11994#endif
11995
11996#undef openpty
11997
11998/* Override any gcc2 internal prototype to avoid an error. */
11999#ifdef __cplusplus
12000extern "C"
12001{
12002#endif
12003/* We use char because int might match the return type of a gcc2
12004 builtin and then its argument prototype would still apply. */
12005char openpty ();
12006/* The GNU C library defines this for functions which it implements
12007 to always fail with ENOSYS. Some functions are actually named
12008 something starting with __ and the normal name is an alias. */
12009#if defined (__stub_openpty) || defined (__stub___openpty)
12010choke me
12011#else
12012char (*f) () = openpty;
12013#endif
12014#ifdef __cplusplus
12015}
12016#endif
12017
11394int 12018int
11395main () 12019main ()
11396{ 12020{
11397(void)getpt(); 12021return f != openpty;
11398 ; 12022 ;
11399 return 0; 12023 return 0;
11400} 12024}
11401_ACEOF 12025_ACEOF
11402rm -f conftest.$ac_objext conftest$ac_exeext 12026rm -f conftest.$ac_objext conftest$ac_exeext
11418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11419 (eval $ac_try) 2>&5 12043 (eval $ac_try) 2>&5
11420 ac_status=$? 12044 ac_status=$?
11421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422 (exit $ac_status); }; }; then 12046 (exit $ac_status); }; }; then
11423 rxvt_cv_func_getpt=yes 12047 ac_cv_func_openpty=yes
11424else 12048else
11425 echo "$as_me: failed program was:" >&5 12049 echo "$as_me: failed program was:" >&5
11426sed 's/^/| /' conftest.$ac_ext >&5 12050sed 's/^/| /' conftest.$ac_ext >&5
11427 12051
11428rxvt_cv_func_getpt=no 12052ac_cv_func_openpty=no
11429fi 12053fi
11430rm -f conftest.err conftest.$ac_objext \ 12054rm -f conftest.err conftest.$ac_objext \
11431 conftest$ac_exeext conftest.$ac_ext 12055 conftest$ac_exeext conftest.$ac_ext
11432fi 12056fi
11433echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 12057echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5
11434echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 12058echo "${ECHO_T}$ac_cv_func_openpty" >&6
11435if test x$rxvt_cv_func_getpt = xyes; then 12059if test $ac_cv_func_openpty = yes; then
11436 12060 :
12061else
12062 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
12063echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
12064if test "${ac_cv_lib_util_openpty+set}" = set; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12066else
12067 ac_check_lib_save_LIBS=$LIBS
12068LIBS="-lutil $LIBS"
12069cat >conftest.$ac_ext <<_ACEOF
12070/* confdefs.h. */
12071_ACEOF
12072cat confdefs.h >>conftest.$ac_ext
11437cat >>confdefs.h <<\_ACEOF 12073cat >>conftest.$ac_ext <<_ACEOF
11438#define HAVE_GETPT 1 12074/* end confdefs.h. */
12075
12076/* Override any gcc2 internal prototype to avoid an error. */
12077#ifdef __cplusplus
12078extern "C"
12079#endif
12080/* We use char because int might match the return type of a gcc2
12081 builtin and then its argument prototype would still apply. */
12082char openpty ();
12083int
12084main ()
12085{
12086openpty ();
12087 ;
12088 return 0;
12089}
11439_ACEOF 12090_ACEOF
12091rm -f conftest.$ac_objext conftest$ac_exeext
12092if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12093 (eval $ac_link) 2>conftest.er1
12094 ac_status=$?
12095 grep -v '^ *+' conftest.er1 >conftest.err
12096 rm -f conftest.er1
12097 cat conftest.err >&5
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); } &&
12100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12102 (eval $ac_try) 2>&5
12103 ac_status=$?
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); }; } &&
12106 { ac_try='test -s conftest$ac_exeext'
12107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12108 (eval $ac_try) 2>&5
12109 ac_status=$?
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; }; then
12112 ac_cv_lib_util_openpty=yes
12113else
12114 echo "$as_me: failed program was:" >&5
12115sed 's/^/| /' conftest.$ac_ext >&5
12116
12117ac_cv_lib_util_openpty=no
12118fi
12119rm -f conftest.err conftest.$ac_objext \
12120 conftest$ac_exeext conftest.$ac_ext
12121LIBS=$ac_check_lib_save_LIBS
12122fi
12123echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
12124echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
12125if test $ac_cv_lib_util_openpty = yes; then
12126 LIBS="$LIBS -lutil"
12127fi
12128
12129fi
11440 12130
11441fi 12131fi
11442 12132
11443echo "$as_me:$LINENO: checking for pty/tty type" >&5 12133echo "$as_me:$LINENO: checking for pty/tty type" >&5
11444echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 12134echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6
11445if test "${rxvt_cv_ptys+set}" = set; then 12135if test "${rxvt_cv_ptys+set}" = set; then
11446 echo $ECHO_N "(cached) $ECHO_C" >&6 12136 echo $ECHO_N "(cached) $ECHO_C" >&6
11447else 12137else
11448 if test x$ac_cv_func_openpty = xyes; then 12138 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
11449 rxvt_cv_ptys=OPENPTY 12139 rxvt_cv_ptys=OPENPTY
12140 else if test x$ac_cv_func_posix_openpt = xyes; then
12141 rxvt_cv_ptys=POSIX
11450 else if test x$ac_cv_func__getpty = xyes; then 12142 else if test x$ac_cv_func__getpty = xyes; then
11451 rxvt_cv_ptys=SGI4 12143 rxvt_cv_ptys=SGI4
11452 else if test -c /dev/ttyp20; then 12144 else if test -c /dev/ttyp20; then
11453 rxvt_cv_ptys=SCO 12145 rxvt_cv_ptys=SCO
11454 else if test -c /dev/ptym/clone; then 12146 else if test -c /dev/ptym/clone; then
11455 rxvt_cv_ptys=HPUX 12147 rxvt_cv_ptys=HPUX
11456 else if test x$rxvt_cv_func_getpt = xyes; then
11457 rxvt_cv_ptys=GLIBC
11458 else if test -c /dev/ptc -a -c /dev/pts; then 12148 else if test -c /dev/ptc -a -c /dev/pts; then
11459 rxvt_cv_ptys=PTC 12149 rxvt_cv_ptys=PTC
11460 else if test -c /dev/ptc -a -d /dev/pts; then 12150 else if test -c /dev/ptc -a -d /dev/pts; then
11461 rxvt_cv_ptys=PTC 12151 rxvt_cv_ptys=PTC
11462 else if test -c /dev/ptmx -a -c /dev/pts/0; then 12152 else if test -c /dev/ptmx -a -c /dev/pts/0; then
11477 12167
11478fi 12168fi
11479echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 12169echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
11480echo "${ECHO_T}$rxvt_cv_ptys" >&6 12170echo "${ECHO_T}$rxvt_cv_ptys" >&6
11481 12171
12172if test x$rxvt_cv_ptys = xPOSIX; then
12173
12174cat >>confdefs.h <<\_ACEOF
12175#define PTYS_ARE_POSIX 1
12176_ACEOF
12177
12178fi
11482if test x$rxvt_cv_ptys = xOPENPTY; then 12179if test x$rxvt_cv_ptys = xOPENPTY; then
11483 12180
11484cat >>confdefs.h <<\_ACEOF 12181cat >>confdefs.h <<\_ACEOF
11485#define PTYS_ARE_OPENPTY 1 12182#define PTYS_ARE_OPENPTY 1
11486_ACEOF 12183_ACEOF
11512cat >>confdefs.h <<\_ACEOF 12209cat >>confdefs.h <<\_ACEOF
11513#define PTYS_ARE__GETPTY 1 12210#define PTYS_ARE__GETPTY 1
11514_ACEOF 12211_ACEOF
11515 12212
11516fi 12213fi
11517if test x$rxvt_cv_ptys = xCONVEX; then
11518
11519cat >>confdefs.h <<\_ACEOF
11520#define PTYS_ARE_GETPTY 1
11521_ACEOF
11522
11523fi
11524if test x$rxvt_cv_ptys = xGLIBC; then
11525
11526cat >>confdefs.h <<\_ACEOF
11527#define PTYS_ARE_GETPT 1
11528_ACEOF
11529
11530fi
11531if test x$rxvt_cv_ptys = xHPUX; then 12214if test x$rxvt_cv_ptys = xHPUX; then
11532 12215
11533cat >>confdefs.h <<\_ACEOF 12216cat >>confdefs.h <<\_ACEOF
11534#define PTYS_ARE_CLONE 1 12217#define PTYS_ARE_CLONE 1
11535_ACEOF 12218_ACEOF
11536 12219
11537fi 12220fi
11538if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then 12221if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then
11539 12222
11540cat >>confdefs.h <<\_ACEOF 12223cat >>confdefs.h <<\_ACEOF
11541#define PTYS_ARE_SEARCHED 1 12224#define PTYS_ARE_SEARCHED 1
11542_ACEOF 12225_ACEOF
11543 12226
11564 12247
11565fi 12248fi
11566 12249
11567if test x$support_xft = xyes; then 12250if test x$support_xft = xyes; then
11568 LIBS="$LIBS `pkg-config xft --libs`" 12251 LIBS="$LIBS `pkg-config xft --libs`"
11569 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
11570 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 12252 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
11571 12253
11572 12254
11573for ac_header in X11/Xft/Xft.h 12255for ac_header in X11/Xft/Xft.h
11574do 12256do
11858cat >>confdefs.h <<\_ACEOF 12540cat >>confdefs.h <<\_ACEOF
11859#define SELECTION_SCROLLING 1 12541#define SELECTION_SCROLLING 1
11860_ACEOF 12542_ACEOF
11861 12543
11862fi 12544fi
11863if test x$support_menubar = xyes; then
11864
11865cat >>confdefs.h <<\_ACEOF
11866#define MENUBAR 1
11867_ACEOF
11868
11869fi
11870if test x$support_frills = xyes; then 12545if test x$support_frills = xyes; then
11871 12546
11872cat >>confdefs.h <<\_ACEOF 12547cat >>confdefs.h <<\_ACEOF
11873#define ENABLE_FRILLS 1 12548#define ENABLE_FRILLS 1
11874_ACEOF 12549_ACEOF
11966fi 12641fi
11967if test x$support_pointer_blank = xyes; then 12642if test x$support_pointer_blank = xyes; then
11968 12643
11969cat >>confdefs.h <<\_ACEOF 12644cat >>confdefs.h <<\_ACEOF
11970#define POINTER_BLANK 1 12645#define POINTER_BLANK 1
11971_ACEOF
11972
11973fi
11974if test x$support_cursor_blink = xyes; then
11975
11976cat >>confdefs.h <<\_ACEOF
11977#define CURSOR_BLINK 1
11978_ACEOF 12646_ACEOF
11979 12647
11980fi 12648fi
11981if test x$support_text_blink = xyes; then 12649if test x$support_text_blink = xyes; then
11982 12650
12039#define ENCODING_ZH_EXT 1 12707#define ENCODING_ZH_EXT 1
12040_ACEOF 12708_ACEOF
12041 ;; 12709 ;;
12042 esac 12710 esac
12043done 12711done
12712
12713IF_PERL=\#
12714if test x$support_perl = xyes; then
12715 # Extract the first word of "perl5", so it can be a program name with args.
12716set dummy perl5; ac_word=$2
12717echo "$as_me:$LINENO: checking for $ac_word" >&5
12718echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12719if test "${ac_cv_path_PERL+set}" = set; then
12720 echo $ECHO_N "(cached) $ECHO_C" >&6
12721else
12722 case $PERL in
12723 [\\/]* | ?:[\\/]*)
12724 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
12725 ;;
12726 *)
12727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12728for as_dir in $PATH
12729do
12730 IFS=$as_save_IFS
12731 test -z "$as_dir" && as_dir=.
12732 for ac_exec_ext in '' $ac_executable_extensions; do
12733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12734 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
12735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12736 break 2
12737 fi
12738done
12739done
12740
12741 ;;
12742esac
12743fi
12744PERL=$ac_cv_path_PERL
12745
12746if test -n "$PERL"; then
12747 echo "$as_me:$LINENO: result: $PERL" >&5
12748echo "${ECHO_T}$PERL" >&6
12749else
12750 echo "$as_me:$LINENO: result: no" >&5
12751echo "${ECHO_T}no" >&6
12752fi
12753
12754 # Extract the first word of "perl", so it can be a program name with args.
12755set dummy perl; ac_word=$2
12756echo "$as_me:$LINENO: checking for $ac_word" >&5
12757echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12758if test "${ac_cv_path_PERL+set}" = set; then
12759 echo $ECHO_N "(cached) $ECHO_C" >&6
12760else
12761 case $PERL in
12762 [\\/]* | ?:[\\/]*)
12763 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
12764 ;;
12765 *)
12766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12767for as_dir in $PATH
12768do
12769 IFS=$as_save_IFS
12770 test -z "$as_dir" && as_dir=.
12771 for ac_exec_ext in '' $ac_executable_extensions; do
12772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12773 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
12774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12775 break 2
12776 fi
12777done
12778done
12779
12780 ;;
12781esac
12782fi
12783PERL=$ac_cv_path_PERL
12784
12785if test -n "$PERL"; then
12786 echo "$as_me:$LINENO: result: $PERL" >&5
12787echo "${ECHO_T}$PERL" >&6
12788else
12789 echo "$as_me:$LINENO: result: no" >&5
12790echo "${ECHO_T}no" >&6
12791fi
12792
12793
12794 echo "$as_me:$LINENO: checking for $PERL suitability" >&5
12795echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6
12796 if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then
12797
12798 save_CXXFLAGS="$CXXFLAGS"
12799 save_LIBS="$LIBS"
12800 CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`"
12801 LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`"
12802 cat >conftest.$ac_ext <<_ACEOF
12803/* confdefs.h. */
12804_ACEOF
12805cat confdefs.h >>conftest.$ac_ext
12806cat >>conftest.$ac_ext <<_ACEOF
12807/* end confdefs.h. */
12808
12809#include <EXTERN.h>
12810#include <perl.h>
12811#include <XSUB.h>
12812
12813int
12814main ()
12815{
12816
12817 PerlInterpreter *perl = perl_alloc ();
12818
12819 ;
12820 return 0;
12821}
12822_ACEOF
12823rm -f conftest.$ac_objext conftest$ac_exeext
12824if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12825 (eval $ac_link) 2>conftest.er1
12826 ac_status=$?
12827 grep -v '^ *+' conftest.er1 >conftest.err
12828 rm -f conftest.er1
12829 cat conftest.err >&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); } &&
12832 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12834 (eval $ac_try) 2>&5
12835 ac_status=$?
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; } &&
12838 { ac_try='test -s conftest$ac_exeext'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12841 ac_status=$?
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; }; then
12844 rxvt_perl_link=yes
12845else
12846 echo "$as_me: failed program was:" >&5
12847sed 's/^/| /' conftest.$ac_ext >&5
12848
12849rxvt_perl_link=no
12850fi
12851rm -f conftest.err conftest.$ac_objext \
12852 conftest$ac_exeext conftest.$ac_ext
12853 CXXFLAGS="$save_CXXFLAGS"
12854 LIBS="$save_LIBS"
12855
12856 if test x$rxvt_perl_link = xyes; then
12857 echo "$as_me:$LINENO: result: ok" >&5
12858echo "${ECHO_T}ok" >&6
12859
12860cat >>confdefs.h <<\_ACEOF
12861#define ENABLE_PERL 1
12862_ACEOF
12863
12864 IF_PERL=
12865 PERL_O=rxvtperl.o
12866 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`"
12867 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`"
12868 PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`"
12869 else
12870 support_perl=no
12871 echo "$as_me:$LINENO: result: no, unable to link" >&5
12872echo "${ECHO_T}no, unable to link" >&6
12873 fi
12874 else
12875 { { echo "$as_me:$LINENO: error: no working perl found" >&5
12876echo "$as_me: error: no working perl found" >&2;}
12877 { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; }
12878 support_perl=no
12879 fi
12880fi
12881
12882
12883
12884
12885
12886
12887
12888if test x$support_perl = xyes; then
12889 support_frills=yes
12890fi
12044 12891
12045 12892
12046CFLAGS=${CFLAGS--O} 12893CFLAGS=${CFLAGS--O}
12047LDFLAGS=${LDFLAGS--O} 12894LDFLAGS=${LDFLAGS--O}
12048 12895
12063fi 12910fi
12064 12911
12065 12912
12066 12913
12067 12914
12068
12069if test x$support_addstrings = xno; then
12070
12071cat >>confdefs.h <<\_ACEOF
12072#define NO_STRINGS 1
12073_ACEOF
12074
12075fi
12076 12915
12077MCOMMON=./autoconf/Make.common 12916MCOMMON=./autoconf/Make.common
12078 12917
12079 12918
12080test "$program_prefix" != NONE && 12919test "$program_prefix" != NONE &&
12829s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t 13668s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t
12830s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t 13669s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t
12831s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t 13670s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t
12832s,@rxvt_intp_define@,$rxvt_intp_define,;t t 13671s,@rxvt_intp_define@,$rxvt_intp_define,;t t
12833s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 13672s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
13673s,@PERL@,$PERL,;t t
13674s,@PERLLIB@,$PERLLIB,;t t
13675s,@PERLFLAGS@,$PERLFLAGS,;t t
13676s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t
13677s,@IF_PERL@,$IF_PERL,;t t
13678s,@PERL_O@,$PERL_O,;t t
12834s,@DEBUG@,$DEBUG,;t t 13679s,@DEBUG@,$DEBUG,;t t
12835s,@DINCLUDE@,$DINCLUDE,;t t 13680s,@DINCLUDE@,$DINCLUDE,;t t
12836s,@DLIB@,$DLIB,;t t 13681s,@DLIB@,$DLIB,;t t
12837s,@include_stdint_h@,$include_stdint_h,;t t 13682s,@include_stdint_h@,$include_stdint_h,;t t
12838s,@include_stdarg_h@,$include_stdarg_h,;t t 13683s,@include_stdarg_h@,$include_stdarg_h,;t t
13379 utmp file: $rxvt_cv_path_utmp 14224 utmp file: $rxvt_cv_path_utmp
13380 utmpx file: $rxvt_cv_path_utmpx 14225 utmpx file: $rxvt_cv_path_utmpx
13381 wtmp file: $rxvt_cv_path_wtmp 14226 wtmp file: $rxvt_cv_path_wtmp
13382 wtmpx file: $rxvt_cv_path_wtmpx 14227 wtmpx file: $rxvt_cv_path_wtmpx
13383 lastlog file: $rxvt_cv_path_lastlog 14228 lastlog file: $rxvt_cv_path_lastlog
13384 ttys/ttytab file: $rxvt_cv_path_ttytab" 14229 ttys/ttytab file: $rxvt_cv_path_ttytab
14230 embedded perl: $support_perl"
13385 echo 14231 echo
13386fi 14232fi
13387if test x$term != x; then 14233if test x$term != x; then
13388 echo " set TERM to: $term" 14234 echo " set TERM to: $term"
13389fi 14235fi
13418 echo ". functions could not be found. ." 14264 echo ". functions could not be found. ."
13419 echo ". XIM is now being DISABLED! ." 14265 echo ". XIM is now being DISABLED! ."
13420 echo ".----------------------------------------------------------------." 14266 echo ".----------------------------------------------------------------."
13421fi 14267fi
13422 14268
13423echo " *** Please check src/feature.h for further options ***" 14269echo " *** Optionally check src/feature.h for further options ***"
13424echo 14270echo
13425 14271
13426echo ".----------------------------------------------------------------." 14272echo ".----------------------------------------------------------------."
13427echo ". NOTE: most features are disabled by default, try ." 14273echo ". NOTE: some features are disabled by default, try ."
13428echo ". configure --help to get an idea of the optional features ." 14274echo ". configure --help to get an idea of the optional features, ."
14275echo ". or read ./README.configure ."
14276echo ". ."
14277echo ". The script ./reconf gives a reasonable baseline, try it if ."
14278echo ". you do not want to read documentation and still want some ."
14279echo ". useful features. ."
13429echo ".----------------------------------------------------------------." 14280echo ".----------------------------------------------------------------."
13430echo 14281echo
13431 14282

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines