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

Comparing rxvt-unicode/configure (file contents):
Revision 1.13 by pcg, Mon Mar 1 01:06:45 2004 UTC vs.
Revision 1.32 by root, Tue Aug 10 22:36:30 2004 UTC

465#endif 465#endif
466#if HAVE_UNISTD_H 466#if HAVE_UNISTD_H
467# include <unistd.h> 467# include <unistd.h>
468#endif" 468#endif"
469 469
470ac_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 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT MV RM CP LN SED CMP TBL 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 RXVTNAME 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' 470ac_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 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED CMP TBL 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'
471ac_subst_files='MCOMMON' 471ac_subst_files='MCOMMON'
472 472
473# Initialize some variables set by options. 473# Initialize some variables set by options.
474ac_init_help= 474ac_init_help=
475ac_init_version=false 475ac_init_version=false
1029 --disable-libtool-lock avoid locking (might break parallel builds) 1029 --disable-libtool-lock avoid locking (might break parallel builds)
1030 --enable-everything enable standard non-multichoice features 1030 --enable-everything enable standard non-multichoice features
1031 NOTE: this option is order dependent 1031 NOTE: this option is order dependent
1032 NOTE: automatically enabled with --enable-shared 1032 NOTE: automatically enabled with --enable-shared
1033 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1033 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1034 --enable-combining enable composition of base and combining characters
1034 --enable-xft enable xft support on systems that have it 1035 --enable-xft enable xft support on systems that have it
1035 --enable-utmp enable utmp (utmpx) support 1036 --enable-utmp enable utmp (utmpx) support
1036 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1037 --enable-lastlog enable lastlog support (requires --enable-utmp) 1038 --enable-lastlog enable lastlog support (requires --enable-utmp)
1038 --enable-xpm-background enable XPM background pixmaps 1039 --enable-xpm-background enable XPM background pixmaps
1039 --enable-transparency enable transparent backgrounds 1040 --enable-transparency enable transparent backgrounds
1041 --enable-tinting enable tinting of transparent bg
1042 --enable-fading enable colors fading when off focus
1040 --enable-menubar enable menubar 1043 --enable-menubar enable menubar
1041 --enable-rxvt-scroll enable rxvt style scrollbar 1044 --enable-rxvt-scroll enable rxvt style scrollbar
1042 --enable-next-scroll enable NeXT style scrollbar 1045 --enable-next-scroll enable NeXT style scrollbar
1043 --enable-xterm-scroll enable Xterm style scrollbar 1046 --enable-xterm-scroll enable Xterm style scrollbar
1044 --enable-plain-scroll enable plain style scrollbar 1047 --enable-plain-scroll enable plain style scrollbar
1047 --enable-ttygid enable tty setting to group named "tty" 1050 --enable-ttygid enable tty setting to group named "tty"
1048 --disable-backspace-key disable handling of the backspace key 1051 --disable-backspace-key disable handling of the backspace key
1049 --disable-delete-key disable handling of the delete key 1052 --disable-delete-key disable handling of the delete key
1050 --disable-resources disable all resource checking 1053 --disable-resources disable all resource checking
1051 --enable-xgetdefault enable resources via X instead of our small version 1054 --enable-xgetdefault enable resources via X instead of our small version
1055 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1056 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1052 --enable-strings enable some replacement system functions 1057 --enable-strings enable some replacement system functions
1053 --disable-swapscreen disable swap screen support 1058 --disable-swapscreen disable swap screen support
1054 --enable-frills enable support for rarely used features 1059 --enable-frills enable support for rarely used features
1055 --enable-linespace enable support for linespace 1060 --enable-linespace enable support for linespace
1056 --enable-24bit enable support for using 24bit visuals if available 1061 --enable-24bit enable support for using 24bit visuals if available
1057 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1062 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1058 --enable-selectionscrolling enable scrolling during selections 1063 --enable-selectionscrolling enable scrolling during selections
1059 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1064 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1060 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1065 --enable-slipwheeling enable slip wheel scrolling (requires previous)
1061 --enable-old-selection enable v2.20 (& prior) mouse selection style support
1062 --disable-new-selection disable new mouse (xterm) selection style support
1063 --enable-dmalloc enable Gray Watson's malloc - for debugging use 1066 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1064 --enable-dlmalloc enable Doug Lea's malloc - for production use 1067 --enable-dlmalloc enable Doug Lea's malloc - for production use
1065 NOTE: enable only one malloc package 1068 NOTE: enable only one malloc package
1066 --enable-smart-resize enable smart growth/shrink behaviour 1069 --enable-smart-resize enable smart growth/shrink behaviour
1067 --enable-256-color enable 256-color support 1070 --enable-256-color enable 256-color support
1072Optional Packages: 1075Optional Packages:
1073 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1076 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1074 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1077 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1075 --with-gnu-ld assume the C compiler uses GNU ld default=no 1078 --with-gnu-ld assume the C compiler uses GNU ld default=no
1076 --with-pic try to use only PIC/non-PIC objects default=use both 1079 --with-pic try to use only PIC/non-PIC objects default=use both
1077 --with-codesets=NAME,... compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all) 1080 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all)
1081 --with-res-name=NAME use this as default resource name (default: urxvt)
1082 --with-res-class=CLASS use this as the resource class (default: URxvt)
1083 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1078 --with-term=NAME set the terminal to NAME (default \"rxvt\") 1084 --with-term=NAME set the terminal to NAME (default: rxvt)
1079 --with-terminfo=PATH set the path to the terminfo tree to PATH 1085 --with-terminfo=PATH set the path to the terminfo tree to PATH
1080 --with-x use the X Window System 1086 --with-x use the X Window System
1081 --with-xpm-includes=DIR use XPM includes in DIR 1087 --with-xpm-includes=DIR use XPM includes in DIR
1082 --with-xpm-library=DIR use XPM library in DIR 1088 --with-xpm-library=DIR use XPM library in DIR
1083 --with-xpm use XPM 1089 --with-xpm use XPM
1530 1536
1531 1537
1532 1538
1533 1539
1534 1540
1541
1535ac_aux_dir= 1542ac_aux_dir=
1536for ac_dir in autoconf $srcdir/autoconf; do 1543for ac_dir in autoconf $srcdir/autoconf; do
1537 if test -f $ac_dir/install-sh; then 1544 if test -f $ac_dir/install-sh; then
1538 ac_aux_dir=$ac_dir 1545 ac_aux_dir=$ac_dir
1539 ac_install_sh="$ac_aux_dir/install-sh -c" 1546 ac_install_sh="$ac_aux_dir/install-sh -c"
3276LINKER=$LINKER 3283LINKER=$LINKER
3277 3284
3278 3285
3279CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3286CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3280 3287
3281if test x$GXX = xyes; then
3282 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3283fi
3284 3288
3285ac_ext=cc 3289ac_ext=cc
3286ac_cpp='$CXXCPP $CPPFLAGS' 3290ac_cpp='$CXXCPP $CPPFLAGS'
3287ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3291ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3288ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3292ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3685echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3689echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3686echo "${ECHO_T}$ac_cv_search_strerror" >&6 3690echo "${ECHO_T}$ac_cv_search_strerror" >&6
3687if test "$ac_cv_search_strerror" != no; then 3691if test "$ac_cv_search_strerror" != no; then
3688 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3692 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3689 3693
3694fi
3695
3696
3697echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3698echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3699if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3701else
3702 ac_check_lib_save_LIBS=$LIBS
3703LIBS="-lxpg4 $LIBS"
3704cat >conftest.$ac_ext <<_ACEOF
3705/* confdefs.h. */
3706_ACEOF
3707cat confdefs.h >>conftest.$ac_ext
3708cat >>conftest.$ac_ext <<_ACEOF
3709/* end confdefs.h. */
3710
3711/* Override any gcc2 internal prototype to avoid an error. */
3712#ifdef __cplusplus
3713extern "C"
3714#endif
3715/* We use char because int might match the return type of a gcc2
3716 builtin and then its argument prototype would still apply. */
3717char setlocale ();
3718int
3719main ()
3720{
3721setlocale ();
3722 ;
3723 return 0;
3724}
3725_ACEOF
3726rm -f conftest.$ac_objext conftest$ac_exeext
3727if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3728 (eval $ac_link) 2>conftest.er1
3729 ac_status=$?
3730 grep -v '^ *+' conftest.er1 >conftest.err
3731 rm -f conftest.er1
3732 cat conftest.err >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); } &&
3735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737 (eval $ac_try) 2>&5
3738 ac_status=$?
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); }; } &&
3741 { ac_try='test -s conftest$ac_exeext'
3742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3743 (eval $ac_try) 2>&5
3744 ac_status=$?
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); }; }; then
3747 ac_cv_lib_xpg4_setlocale=yes
3748else
3749 echo "$as_me: failed program was:" >&5
3750sed 's/^/| /' conftest.$ac_ext >&5
3751
3752ac_cv_lib_xpg4_setlocale=no
3753fi
3754rm -f conftest.err conftest.$ac_objext \
3755 conftest$ac_exeext conftest.$ac_ext
3756LIBS=$ac_check_lib_save_LIBS
3757fi
3758echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
3759echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3760if test $ac_cv_lib_xpg4_setlocale = yes; then
3761 LIBS="$LIBS -lxpg4"
3762fi
3763
3764
3765echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3766echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3767if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3769else
3770 ac_check_lib_save_LIBS=$LIBS
3771LIBS="-lnsl $LIBS"
3772cat >conftest.$ac_ext <<_ACEOF
3773/* confdefs.h. */
3774_ACEOF
3775cat confdefs.h >>conftest.$ac_ext
3776cat >>conftest.$ac_ext <<_ACEOF
3777/* end confdefs.h. */
3778
3779/* Override any gcc2 internal prototype to avoid an error. */
3780#ifdef __cplusplus
3781extern "C"
3782#endif
3783/* We use char because int might match the return type of a gcc2
3784 builtin and then its argument prototype would still apply. */
3785char gethostbyname ();
3786int
3787main ()
3788{
3789gethostbyname ();
3790 ;
3791 return 0;
3792}
3793_ACEOF
3794rm -f conftest.$ac_objext conftest$ac_exeext
3795if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3796 (eval $ac_link) 2>conftest.er1
3797 ac_status=$?
3798 grep -v '^ *+' conftest.er1 >conftest.err
3799 rm -f conftest.er1
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } &&
3803 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3805 (eval $ac_try) 2>&5
3806 ac_status=$?
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }; } &&
3809 { ac_try='test -s conftest$ac_exeext'
3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3811 (eval $ac_try) 2>&5
3812 ac_status=$?
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); }; }; then
3815 ac_cv_lib_nsl_gethostbyname=yes
3816else
3817 echo "$as_me: failed program was:" >&5
3818sed 's/^/| /' conftest.$ac_ext >&5
3819
3820ac_cv_lib_nsl_gethostbyname=no
3821fi
3822rm -f conftest.err conftest.$ac_objext \
3823 conftest$ac_exeext conftest.$ac_ext
3824LIBS=$ac_check_lib_save_LIBS
3825fi
3826echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3827echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3828if test $ac_cv_lib_nsl_gethostbyname = yes; then
3829 LIBS="$LIBS -lnsl"
3830fi
3831
3832echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3833echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3834if test "${ac_cv_lib_socket_socket+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3836else
3837 ac_check_lib_save_LIBS=$LIBS
3838LIBS="-lsocket $LIBS"
3839cat >conftest.$ac_ext <<_ACEOF
3840/* confdefs.h. */
3841_ACEOF
3842cat confdefs.h >>conftest.$ac_ext
3843cat >>conftest.$ac_ext <<_ACEOF
3844/* end confdefs.h. */
3845
3846/* Override any gcc2 internal prototype to avoid an error. */
3847#ifdef __cplusplus
3848extern "C"
3849#endif
3850/* We use char because int might match the return type of a gcc2
3851 builtin and then its argument prototype would still apply. */
3852char socket ();
3853int
3854main ()
3855{
3856socket ();
3857 ;
3858 return 0;
3859}
3860_ACEOF
3861rm -f conftest.$ac_objext conftest$ac_exeext
3862if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3863 (eval $ac_link) 2>conftest.er1
3864 ac_status=$?
3865 grep -v '^ *+' conftest.er1 >conftest.err
3866 rm -f conftest.er1
3867 cat conftest.err >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } &&
3870 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 (eval $ac_try) 2>&5
3873 ac_status=$?
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; } &&
3876 { ac_try='test -s conftest$ac_exeext'
3877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878 (eval $ac_try) 2>&5
3879 ac_status=$?
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); }; }; then
3882 ac_cv_lib_socket_socket=yes
3883else
3884 echo "$as_me: failed program was:" >&5
3885sed 's/^/| /' conftest.$ac_ext >&5
3886
3887ac_cv_lib_socket_socket=no
3888fi
3889rm -f conftest.err conftest.$ac_objext \
3890 conftest$ac_exeext conftest.$ac_ext
3891LIBS=$ac_check_lib_save_LIBS
3892fi
3893echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3894echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3895if test $ac_cv_lib_socket_socket = yes; then
3896 LIBS="$LIBS -lsocket"
3690fi 3897fi
3691 3898
3692 3899
3693# Check whether --enable-shared or --disable-shared was given. 3900# Check whether --enable-shared or --disable-shared was given.
3694if test "${enable_shared+set}" = set; then 3901if test "${enable_shared+set}" = set; then
5030# Some flags need to be propagated to the compiler or linker for good 5237# Some flags need to be propagated to the compiler or linker for good
5031# libtool support. 5238# libtool support.
5032case "$host" in 5239case "$host" in
5033*-*-irix6*) 5240*-*-irix6*)
5034 # Find out which ABI we are using. 5241 # Find out which ABI we are using.
5035 echo '#line 5035 "configure"' > conftest.$ac_ext 5242 echo '#line 5242 "configure"' > conftest.$ac_ext
5036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5037 (eval $ac_compile) 2>&5 5244 (eval $ac_compile) 2>&5
5038 ac_status=$? 5245 ac_status=$?
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; then 5247 (exit $ac_status); }; then
5581# builds. 5788# builds.
5582chmod -w . 5789chmod -w .
5583save_CFLAGS="$CFLAGS" 5790save_CFLAGS="$CFLAGS"
5584CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5791CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5585compiler_c_o=no 5792compiler_c_o=no
5586if { (eval echo configure:5586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5793if { (eval echo configure:5793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5587 # The compiler can only warn and ignore the option if not recognized 5794 # The compiler can only warn and ignore the option if not recognized
5588 # So say no if there are warnings 5795 # So say no if there are warnings
5589 if test -s out/conftest.err; then 5796 if test -s out/conftest.err; then
5590 compiler_c_o=no 5797 compiler_c_o=no
5591 else 5798 else
7197 lt_cv_dlopen_self=cross 7404 lt_cv_dlopen_self=cross
7198else 7405else
7199 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7406 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7200 lt_status=$lt_dlunknown 7407 lt_status=$lt_dlunknown
7201 cat > conftest.$ac_ext <<EOF 7408 cat > conftest.$ac_ext <<EOF
7202#line 7202 "configure" 7409#line 7409 "configure"
7203#include "confdefs.h" 7410#include "confdefs.h"
7204 7411
7205#if HAVE_DLFCN_H 7412#if HAVE_DLFCN_H
7206#include <dlfcn.h> 7413#include <dlfcn.h>
7207#endif 7414#endif
7295 lt_cv_dlopen_self_static=cross 7502 lt_cv_dlopen_self_static=cross
7296else 7503else
7297 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7504 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7298 lt_status=$lt_dlunknown 7505 lt_status=$lt_dlunknown
7299 cat > conftest.$ac_ext <<EOF 7506 cat > conftest.$ac_ext <<EOF
7300#line 7300 "configure" 7507#line 7507 "configure"
7301#include "confdefs.h" 7508#include "confdefs.h"
7302 7509
7303#if HAVE_DLFCN_H 7510#if HAVE_DLFCN_H
7304#include <dlfcn.h> 7511#include <dlfcn.h>
7305#endif 7512#endif
8028MALLOC_TYPE=S 8235MALLOC_TYPE=S
8029support_addstrings=no 8236support_addstrings=no
8030support_frills=no 8237support_frills=no
8031support_linespace=no 8238support_linespace=no
8032support_inheritpixmap=no 8239support_inheritpixmap=no
8240support_tinting=no
8241support_fading=no
8033support_keepscrolling=no 8242support_keepscrolling=no
8034support_selectionscrolling=no 8243support_selectionscrolling=no
8035support_menubar=no 8244support_menubar=no
8036support_mousewheel=no 8245support_mousewheel=no
8037support_mouseslipwheel=no 8246support_mouseslipwheel=no
8038support_oldselection=no
8039support_utmp=no 8247support_utmp=no
8040support_wtmp=no 8248support_wtmp=no
8041support_lastlog=no 8249support_lastlog=no
8042support_cursor_blink=no 8250support_cursor_blink=no
8043support_text_blink=no 8251support_text_blink=no
8048support_scroll_plain=no 8256support_scroll_plain=no
8049support_xim=no 8257support_xim=no
8050support_xpm=no 8258support_xpm=no
8051support_xft=no 8259support_xft=no
8052support_unicode3=no 8260support_unicode3=no
8261support_combining=no
8262support_8bitctrls=no
8053codesets= 8263codesets=
8054 8264
8055 8265
8056if test "x$enable_shared" = xyes; then 8266if test "x$enable_shared" = xyes; then
8057 8267
8069 if test x$enableval = xyes; then 8279 if test x$enableval = xyes; then
8070 support_24bit=yes 8280 support_24bit=yes
8071 support_frills=yes 8281 support_frills=yes
8072 support_linespace=yes 8282 support_linespace=yes
8073 support_inheritpixmap=yes 8283 support_inheritpixmap=yes
8284 support_tinting=yes
8285 support_fading=yes
8074 support_keepscrolling=yes 8286 support_keepscrolling=yes
8075 support_selectionscrolling=yes 8287 support_selectionscrolling=yes
8076 support_lastlog=yes 8288 support_lastlog=yes
8077 support_menubar=yes 8289 support_menubar=yes
8078 support_mousewheel=yes 8290 support_mousewheel=yes
8079 support_mouseslipwheel=yes 8291 support_mouseslipwheel=yes
8080 support_oldselection=yes
8081 support_cursor_blink=yes 8292 support_cursor_blink=yes
8082 support_text_blink=yes 8293 support_text_blink=yes
8083 support_pointer_blank=yes 8294 support_pointer_blank=yes
8084 support_scroll_rxvt=yes 8295 support_scroll_rxvt=yes
8085 support_scroll_next=yes 8296 support_scroll_next=yes
8089 support_wtmp=yes 8300 support_wtmp=yes
8090 support_xim=yes 8301 support_xim=yes
8091 support_xpm=yes 8302 support_xpm=yes
8092 support_xft=yes 8303 support_xft=yes
8093 support_unicode3=yes 8304 support_unicode3=yes
8305 support_combining=yes
8306 #support_8bitctrls=yes
8094 codesets=all 8307 codesets=all
8095 fi 8308 fi
8096fi; 8309fi;
8097 8310
8098# Check whether --enable-unicode3 or --disable-unicode3 was given. 8311# Check whether --enable-unicode3 or --disable-unicode3 was given.
8101 if test x$enableval = xyes -o x$enableval = xno; then 8314 if test x$enableval = xyes -o x$enableval = xno; then
8102 support_unicode3=yes 8315 support_unicode3=yes
8103 fi 8316 fi
8104fi; 8317fi;
8105 8318
8319# Check whether --enable-combining or --disable-combining was given.
8320if test "${enable_combining+set}" = set; then
8321 enableval="$enable_combining"
8322 if test x$enableval = xyes -o x$enableval = xno; then
8323 support_combining=yes
8324 fi
8325fi;
8326
8106# Check whether --enable-xft or --disable-xft was given. 8327# Check whether --enable-xft or --disable-xft was given.
8107if test "${enable_xft+set}" = set; then 8328if test "${enable_xft+set}" = set; then
8108 enableval="$enable_xft" 8329 enableval="$enable_xft"
8109 if test x$enableval = xyes -o x$enableval = xno; then 8330 if test x$enableval = xyes -o x$enableval = xno; then
8110 support_xft=yes 8331 support_xft=yes
8111 fi 8332 fi
8112fi; 8333fi;
8113 8334
8114
8115# Check whether --with-codesets or --without-codesets was given.
8116if test "${with_codesets+set}" = set; then
8117 withval="$with_codesets"
8118 codesets="$withval"
8119fi;
8120
8121# Check whether --enable-utmp or --disable-utmp was given. 8335# Check whether --enable-utmp or --disable-utmp was given.
8122if test "${enable_utmp+set}" = set; then 8336if test "${enable_utmp+set}" = set; then
8123 enableval="$enable_utmp" 8337 enableval="$enable_utmp"
8124 if test x$enableval = xyes -o x$enableval = xno; then 8338 if test x$enableval = xyes -o x$enableval = xno; then
8125 support_utmp=$enableval 8339 support_utmp=$enableval
8156 if test x$enableval = xyes -o x$enableval = xno; then 8370 if test x$enableval = xyes -o x$enableval = xno; then
8157 support_inheritpixmap=$enableval 8371 support_inheritpixmap=$enableval
8158 fi 8372 fi
8159fi; 8373fi;
8160 8374
8375# Check whether --enable-tinting or --disable-tinting was given.
8376if test "${enable_tinting+set}" = set; then
8377 enableval="$enable_tinting"
8378 if test x$enableval = xyes -o x$enableval = xno; then
8379 support_tinting=$enableval
8380 fi
8381fi;
8382
8383# Check whether --enable-fading or --disable-fading was given.
8384if test "${enable_fading+set}" = set; then
8385 enableval="$enable_fading"
8386 if test x$enableval = xyes -o x$enableval = xno; then
8387 support_fading=$enableval
8388 fi
8389fi;
8390
8161# Check whether --enable-menubar or --disable-menubar was given. 8391# Check whether --enable-menubar or --disable-menubar was given.
8162if test "${enable_menubar+set}" = set; then 8392if test "${enable_menubar+set}" = set; then
8163 enableval="$enable_menubar" 8393 enableval="$enable_menubar"
8164 if test x$enableval = xyes -o x$enableval = xno; then 8394 if test x$enableval = xyes -o x$enableval = xno; then
8165 support_menubar=$enableval 8395 support_menubar=$enableval
8208_ACEOF 8438_ACEOF
8209 8439
8210 fi 8440 fi
8211fi; 8441fi;
8212 8442
8443
8444# Check whether --with-codesets or --without-codesets was given.
8445if test "${with_codesets+set}" = set; then
8446 withval="$with_codesets"
8447 codesets="$withval"
8448fi;
8449
8213# Check whether --enable-xim or --disable-xim was given. 8450# Check whether --enable-xim or --disable-xim was given.
8214if test "${enable_xim+set}" = set; then 8451if test "${enable_xim+set}" = set; then
8215 enableval="$enable_xim" 8452 enableval="$enable_xim"
8216 if test x$enableval = xyes -o x$enableval = xno; then 8453 if test x$enableval = xyes -o x$enableval = xno; then
8217 support_xim=$enableval 8454 support_xim=$enableval
8276_ACEOF 8513_ACEOF
8277 8514
8278 fi 8515 fi
8279fi; 8516fi;
8280 8517
8518# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8519if test "${enable_8bitctrls+set}" = set; then
8520 enableval="$enable_8bitctrls"
8521 if test x$enableval = xyes -o x$enableval = xno; then
8522 support_8bitctrls=yes
8523 fi
8524fi;
8525
8526RESFALLBACK=Rxvt
8527# Check whether --enable-fallback or --disable-fallback was given.
8528if test "${enable_fallback+set}" = set; then
8529 enableval="$enable_fallback"
8530
8531 test x$enableval = xyes && enableval=Rxvt
8532 test x$enableval = xno && enableval=
8533 RESFALLBACK="$enableval"
8534
8535fi;
8536
8537if test x$RESFALLBACK != x; then
8538
8539cat >>confdefs.h <<_ACEOF
8540#define RESFALLBACK "$RESFALLBACK"
8541_ACEOF
8542
8543fi
8544
8545RESNAME=urxvt
8546
8547# Check whether --with-res-name or --without-res-name was given.
8548if test "${with_res_name+set}" = set; then
8549 withval="$with_res_name"
8550 RESNAME="$withval"
8551fi;
8552
8553cat >>confdefs.h <<_ACEOF
8554#define RESNAME "$RESNAME"
8555_ACEOF
8556
8557
8558RESCLASS=URxvt
8559
8560# Check whether --with-res-class or --without-res-class was given.
8561if test "${with_res_class+set}" = set; then
8562 withval="$with_res_class"
8563 RESCLASS="$withval"
8564fi;
8565
8566cat >>confdefs.h <<_ACEOF
8567#define RESCLASS "$RESCLASS"
8568_ACEOF
8569
8570
8571RXVTNAME=urxvt
8572
8573# Check whether --with-name or --without-name was given.
8574if test "${with_name+set}" = set; then
8575 withval="$with_name"
8576 RXVTNAME="$withval"
8577fi;
8578
8579RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
8580
8581
8281# Check whether --enable-strings or --disable-strings was given. 8582# Check whether --enable-strings or --disable-strings was given.
8282if test "${enable_strings+set}" = set; then 8583if test "${enable_strings+set}" = set; then
8283 enableval="$enable_strings" 8584 enableval="$enable_strings"
8284 if test x$enableval = xyes -o x$enableval = xno; then 8585 if test x$enableval = xyes -o x$enableval = xno; then
8285 support_addstrings=$enableval 8586 support_addstrings=$enableval
8349# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8650# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8350if test "${enable_slipwheeling+set}" = set; then 8651if test "${enable_slipwheeling+set}" = set; then
8351 enableval="$enable_slipwheeling" 8652 enableval="$enable_slipwheeling"
8352 if test x$enableval = xyes -o x$enableval = xno; then 8653 if test x$enableval = xyes -o x$enableval = xno; then
8353 support_mouseslipwheel=$enableval 8654 support_mouseslipwheel=$enableval
8354 fi
8355fi;
8356
8357# Check whether --enable-old-selection or --disable-old-selection was given.
8358if test "${enable_old_selection+set}" = set; then
8359 enableval="$enable_old_selection"
8360 if test x$enableval = xyes -o x$enableval = xno; then
8361 support_oldselection=$enableval
8362 fi
8363fi;
8364
8365# Check whether --enable-new-selection or --disable-new-selection was given.
8366if test "${enable_new_selection+set}" = set; then
8367 enableval="$enable_new_selection"
8368 if test x$enableval = xno; then
8369
8370cat >>confdefs.h <<\_ACEOF
8371#define NO_NEW_SELECTION 1
8372_ACEOF
8373
8374 fi 8655 fi
8375fi; 8656fi;
8376 8657
8377# Check whether --enable-dmalloc or --disable-dmalloc was given. 8658# Check whether --enable-dmalloc or --disable-dmalloc was given.
8378if test "${enable_dmalloc+set}" = set; then 8659if test "${enable_dmalloc+set}" = set; then
8804fi 9085fi
8805 9086
8806 9087
8807 9088
8808 9089
9090
9091if test "x$ac_path_x_has_been_run" != xyes; then
8809echo "$as_me:$LINENO: checking for X" >&5 9092 echo "$as_me:$LINENO: checking for X" >&5
8810echo $ECHO_N "checking for X... $ECHO_C" >&6 9093echo $ECHO_N "checking for X... $ECHO_C" >&6
8811 9094
9095ac_path_x_has_been_run=yes
8812 9096
8813# Check whether --with-x or --without-x was given. 9097# Check whether --with-x or --without-x was given.
8814if test "${with_x+set}" = set; then 9098if test "${with_x+set}" = set; then
8815 withval="$with_x" 9099 withval="$with_x"
8816 9100
8899 9183
8900/usr/openwin/include 9184/usr/openwin/include
8901/usr/openwin/share/include' 9185/usr/openwin/share/include'
8902 9186
8903if test "$ac_x_includes" = no; then 9187if test "$ac_x_includes" = no; then
8904 # Guess where to find include files, by looking for Intrinsic.h. 9188 # Guess where to find include files, by looking for a specified header file.
8905 # First, try using that file with no special directory specified. 9189 # First, try using that file with no special directory specified.
8906 cat >conftest.$ac_ext <<_ACEOF 9190 cat >conftest.$ac_ext <<_ACEOF
8907/* confdefs.h. */ 9191/* confdefs.h. */
8908_ACEOF 9192_ACEOF
8909cat confdefs.h >>conftest.$ac_ext 9193cat confdefs.h >>conftest.$ac_ext
9033 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9317 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9034 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9318 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9035 # Update the cache value to reflect the command line values. 9319 # Update the cache value to reflect the command line values.
9036 ac_cv_have_x="have_x=yes \ 9320 ac_cv_have_x="have_x=yes \
9037 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9321 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9322 # It might be that x_includes is empty (headers are found in the
9323 # standard search path. Then output the corresponding message
9324 ac_out_x_includes=$x_includes
9325 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
9038 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 9326 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9039echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9327echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9040fi 9328fi
9041 9329
9330fi
9042if test "$no_x" = yes; then 9331if test "$no_x" = yes; then
9043 # Not all programs may use this symbol, but it does not hurt to define it. 9332 # Not all programs may use this symbol, but it does not hurt to define it.
9044 9333
9045cat >>confdefs.h <<\_ACEOF 9334cat >>confdefs.h <<\_ACEOF
9046#define X_DISPLAY_MISSING 1 9335#define X_DISPLAY_MISSING 1
15799/* confdefs.h. */ 16088/* confdefs.h. */
15800_ACEOF 16089_ACEOF
15801cat confdefs.h >>conftest.$ac_ext 16090cat confdefs.h >>conftest.$ac_ext
15802cat >>conftest.$ac_ext <<_ACEOF 16091cat >>conftest.$ac_ext <<_ACEOF
15803/* end confdefs.h. */ 16092/* end confdefs.h. */
15804#include <locale.h> 16093#include <clocale>
15805int 16094int
15806main () 16095main ()
15807{ 16096{
15808setlocale(LC_CTYPE, ""); 16097setlocale(LC_CTYPE, "");
15809 ; 16098 ;
15910#define HAVE_NL_LANGINFO 1 16199#define HAVE_NL_LANGINFO 1
15911_ACEOF 16200_ACEOF
15912 16201
15913fi 16202fi
15914 16203
16204echo "$as_me:$LINENO: checking for broken XIM callback" >&5
16205echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
16206if test "${rxvt_broken_ximcb+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16208else
16209 cat >conftest.$ac_ext <<_ACEOF
16210
16211#include <X11/Xlib.h>
16212
16213void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
16214
16215void f() {
16216 XIMCallback cb;
16217 cb.callback = im_destroy_cb;
16218}
16219
16220_ACEOF
16221rm -f conftest.$ac_objext
16222if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16223 (eval $ac_compile) 2>conftest.er1
16224 ac_status=$?
16225 grep -v '^ *+' conftest.er1 >conftest.err
16226 rm -f conftest.er1
16227 cat conftest.err >&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } &&
16230 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16233 ac_status=$?
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; } &&
16236 { ac_try='test -s conftest.$ac_objext'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16239 ac_status=$?
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; }; then
16242 rxvt_broken_ximcb=yes
16243else
16244 echo "$as_me: failed program was:" >&5
16245sed 's/^/| /' conftest.$ac_ext >&5
16246
16247rxvt_broken_ximcb=no
16248fi
16249rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16250fi
16251echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
16252echo "${ECHO_T}$rxvt_broken_ximcb" >&6
16253
16254if test x$rxvt_broken_ximcb = xyes; then
16255
16256cat >>confdefs.h <<\_ACEOF
16257#define XIMCB_PROTO_BROKEN 1
16258_ACEOF
16259
16260fi
16261
15915echo "$as_me:$LINENO: checking for getpt" >&5 16262echo "$as_me:$LINENO: checking for getpt" >&5
15916echo $ECHO_N "checking for getpt... $ECHO_C" >&6 16263echo $ECHO_N "checking for getpt... $ECHO_C" >&6
15917if test "${rxvt_cv_func_getpt+set}" = set; then 16264if test "${rxvt_cv_func_getpt+set}" = set; then
15918 echo $ECHO_N "(cached) $ECHO_C" >&6 16265 echo $ECHO_N "(cached) $ECHO_C" >&6
15919else 16266else
15923cat confdefs.h >>conftest.$ac_ext 16270cat confdefs.h >>conftest.$ac_ext
15924cat >>conftest.$ac_ext <<_ACEOF 16271cat >>conftest.$ac_ext <<_ACEOF
15925/* end confdefs.h. */ 16272/* end confdefs.h. */
15926#define _GNU_SOURCE 16273#define _GNU_SOURCE
15927#ifdef HAVE_STDLIB_H 16274#ifdef HAVE_STDLIB_H
15928# include <stdlib.h> 16275# include <cstdlib>
15929#endif 16276#endif
15930int 16277int
15931main () 16278main ()
15932{ 16279{
15933(void)getpt(); 16280(void)getpt();
16098#define PTYCHAR2 "$pch2" 16445#define PTYCHAR2 "$pch2"
16099_ACEOF 16446_ACEOF
16100 16447
16101fi 16448fi
16102 16449
16103echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16450if test x$support_8bitctrls = xyes; then
16104echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16451
16105if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16107else
16108 ac_check_lib_save_LIBS=$LIBS
16109LIBS="-lxpg4 $LIBS"
16110cat >conftest.$ac_ext <<_ACEOF
16111/* confdefs.h. */
16112_ACEOF
16113cat confdefs.h >>conftest.$ac_ext
16114cat >>conftest.$ac_ext <<_ACEOF 16452cat >>confdefs.h <<\_ACEOF
16115/* end confdefs.h. */ 16453#define EIGHT_BIT_CONTROLS 1
16116
16117/* Override any gcc2 internal prototype to avoid an error. */
16118#ifdef __cplusplus
16119extern "C"
16120#endif
16121/* We use char because int might match the return type of a gcc2
16122 builtin and then its argument prototype would still apply. */
16123char setlocale ();
16124int
16125main ()
16126{
16127setlocale ();
16128 ;
16129 return 0;
16130}
16131_ACEOF 16454_ACEOF
16132rm -f conftest.$ac_objext conftest$ac_exeext
16133if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16134 (eval $ac_link) 2>conftest.er1
16135 ac_status=$?
16136 grep -v '^ *+' conftest.er1 >conftest.err
16137 rm -f conftest.er1
16138 cat conftest.err >&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); } &&
16141 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16143 (eval $ac_try) 2>&5
16144 ac_status=$?
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); }; } &&
16147 { ac_try='test -s conftest$ac_exeext'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; }; then
16153 ac_cv_lib_xpg4_setlocale=yes
16154else
16155 echo "$as_me: failed program was:" >&5
16156sed 's/^/| /' conftest.$ac_ext >&5
16157 16455
16158ac_cv_lib_xpg4_setlocale=no
16159fi 16456fi
16160rm -f conftest.err conftest.$ac_objext \ 16457if test x$support_fading = xyes; then
16161 conftest$ac_exeext conftest.$ac_ext
16162LIBS=$ac_check_lib_save_LIBS
16163fi
16164echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
16165echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
16166if test $ac_cv_lib_xpg4_setlocale = yes; then
16167 LIBS="$LIBS -lxpg4"
16168fi
16169 16458
16459cat >>confdefs.h <<\_ACEOF
16460#define OFF_FOCUS_FADING 1
16461_ACEOF
16170 16462
16463fi
16464if test x$support_tinting = xyes; then
16465
16466cat >>confdefs.h <<\_ACEOF
16467#define TINTING 1
16468_ACEOF
16469
16470fi
16171if test x$support_inheritpixmap = xyes; then 16471if test x$support_inheritpixmap = xyes; then
16172 16472
16173cat >>confdefs.h <<\_ACEOF 16473cat >>confdefs.h <<\_ACEOF
16174#define TRANSPARENT 1 16474#define TRANSPARENT 1
16175_ACEOF 16475_ACEOF
16229cat >>confdefs.h <<\_ACEOF 16529cat >>confdefs.h <<\_ACEOF
16230#define MOUSE_SLIP_WHEELING 1 16530#define MOUSE_SLIP_WHEELING 1
16231_ACEOF 16531_ACEOF
16232 16532
16233fi 16533fi
16234if test x$support_oldselection = xno; then
16235
16236cat >>confdefs.h <<\_ACEOF
16237#define NO_OLD_SELECTION 1
16238_ACEOF
16239
16240fi
16241if test x$support_utmp = xyes; then 16534if test x$support_utmp = xyes; then
16242 16535
16243cat >>confdefs.h <<\_ACEOF 16536cat >>confdefs.h <<\_ACEOF
16244#define UTMP_SUPPORT 1 16537#define UTMP_SUPPORT 1
16245_ACEOF 16538_ACEOF
16333cat >>confdefs.h <<\_ACEOF 16626cat >>confdefs.h <<\_ACEOF
16334#define UNICODE_3 1 16627#define UNICODE_3 1
16335_ACEOF 16628_ACEOF
16336 16629
16337fi 16630fi
16631if test x$support_combining = xyes; then
16632
16633cat >>confdefs.h <<\_ACEOF
16634#define ENABLE_COMBINING 1
16635_ACEOF
16636
16637fi
16338if test x$codesets = xall; then 16638if test x$codesets = xall; then
16339 codesets=jp,jp-ext,kr,cn,cn-ext,vn 16639 codesets=jp,jp-ext,kr,cn,cn-ext
16340fi 16640fi
16341for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do 16641for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16342 16642
16343cat >>confdefs.h <<\_ACEOF 16643cat >>confdefs.h <<\_ACEOF
16344#define ENCODING_EU 1 16644#define ENCODING_EU 1
16425_ACEOF 16725_ACEOF
16426program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 16726program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16427rm conftest.sed 16727rm conftest.sed
16428 16728
16429 16729
16430RXVTNAME=`echo rxvt|sed "$program_transform_name"`
16431
16432
16433 16730
16434 16731
16435 16732
16436if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then 16733if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16437 include_stdint_h="#include <stdint.h>" 16734 include_stdint_h="#include <stdint.h>"
16438else 16735else
16439 include_stdint_h="/* #include <stdint.h> */" 16736 include_stdint_h="/* #include <stdint.h> */"
16440fi 16737fi
16441if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then 16738if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16442 include_stdarg_h="#include <stdarg.h>" 16739 include_stdarg_h="#include <cstdarg>"
16443else 16740else
16444 include_stdarg_h="/* #include <stdarg.h> */" 16741 include_stdarg_h="/* #include <cstdarg> */"
16445fi 16742fi
16446if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then 16743if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16447 include_stdlib_h="#include <stdlib.h>" 16744 include_stdlib_h="#include <cstdlib>"
16448else 16745else
16449 include_stdlib_h="/* #include <stdlib.h> */" 16746 include_stdlib_h="/* #include <cstdlib> */"
16450fi 16747fi
16451if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then 16748if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16452 include_unistd_h="#include <unistd.h>" 16749 include_unistd_h="#include <unistd.h>"
16453else 16750else
16454 include_unistd_h="/* #include <unistd.h> */" 16751 include_unistd_h="/* #include <unistd.h> */"
16455fi 16752fi
16456if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then 16753if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16457 include_string_h="#include <string.h>" 16754 include_string_h="#include <cstring>"
16458else 16755else
16459 include_string_h="/* #include <string.h> */" 16756 include_string_h="/* #include <cstring> */"
16460fi 16757fi
16461if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then 16758if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16462 include_fcntl_h="#include <fcntl.h>" 16759 include_fcntl_h="#include <fcntl.h>"
16463else 16760else
16464 include_fcntl_h="/* #include <fcntl.h> */" 16761 include_fcntl_h="/* #include <fcntl.h> */"
16739 17036
16740 fi 17037 fi
16741fi 17038fi
16742 17039
16743 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" 17040 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile"
17041
16744cat >confcache <<\_ACEOF 17042cat >confcache <<\_ACEOF
16745# This file is a shell script that caches the results of configure 17043# This file is a shell script that caches the results of configure
16746# tests run on this system so they can be shared between configure 17044# tests run on this system so they can be shared between configure
16747# scripts and configure runs, see configure's option --config-cache. 17045# scripts and configure runs, see configure's option --config-cache.
16748# It is not useful on other systems. If it contains results you don't 17046# It is not useful on other systems. If it contains results you don't
17394s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 17692s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17395s,@STRIP@,$STRIP,;t t 17693s,@STRIP@,$STRIP,;t t
17396s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 17694s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17397s,@LIBTOOL@,$LIBTOOL,;t t 17695s,@LIBTOOL@,$LIBTOOL,;t t
17398s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 17696s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
17697s,@RXVTNAME@,$RXVTNAME,;t t
17399s,@MV@,$MV,;t t 17698s,@MV@,$MV,;t t
17400s,@RM@,$RM,;t t 17699s,@RM@,$RM,;t t
17401s,@CP@,$CP,;t t 17700s,@CP@,$CP,;t t
17402s,@LN@,$LN,;t t 17701s,@LN@,$LN,;t t
17403s,@SED@,$SED,;t t 17702s,@SED@,$SED,;t t
17417s,@rxvt_intp_define@,$rxvt_intp_define,;t t 17716s,@rxvt_intp_define@,$rxvt_intp_define,;t t
17418s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 17717s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
17419s,@DEBUG@,$DEBUG,;t t 17718s,@DEBUG@,$DEBUG,;t t
17420s,@DINCLUDE@,$DINCLUDE,;t t 17719s,@DINCLUDE@,$DINCLUDE,;t t
17421s,@DLIB@,$DLIB,;t t 17720s,@DLIB@,$DLIB,;t t
17422s,@RXVTNAME@,$RXVTNAME,;t t
17423s,@include_stdint_h@,$include_stdint_h,;t t 17721s,@include_stdint_h@,$include_stdint_h,;t t
17424s,@include_stdarg_h@,$include_stdarg_h,;t t 17722s,@include_stdarg_h@,$include_stdarg_h,;t t
17425s,@include_stdlib_h@,$include_stdlib_h,;t t 17723s,@include_stdlib_h@,$include_stdlib_h,;t t
17426s,@include_unistd_h@,$include_unistd_h,;t t 17724s,@include_unistd_h@,$include_unistd_h,;t t
17427s,@include_string_h@,$include_string_h,;t t 17725s,@include_string_h@,$include_string_h,;t t
17956echo " 18254echo "
17957The following are set in config.h 18255The following are set in config.h
17958" 18256"
17959echo " pty/tty type: "$rxvt_cv_ptys 18257echo " pty/tty type: "$rxvt_cv_ptys
17960if test x$support_utmp != xyes; then 18258if test x$support_utmp != xyes; then
17961 echo " utmp support: disabled 18259 echo " utmp support: disabled"
17962" 18260 echo
17963else 18261else
17964 echo " utmp support: enabled 18262 echo " utmp support: enabled
17965 utmp file: $rxvt_cv_path_utmp 18263 utmp file: $rxvt_cv_path_utmp
17966 utmpx file: $rxvt_cv_path_utmpx 18264 utmpx file: $rxvt_cv_path_utmpx
17967 wtmp file: $rxvt_cv_path_wtmp 18265 wtmp file: $rxvt_cv_path_wtmp
17968 wtmpx file: $rxvt_cv_path_wtmpx 18266 wtmpx file: $rxvt_cv_path_wtmpx
17969 lastlog file: $rxvt_cv_path_lastlog 18267 lastlog file: $rxvt_cv_path_lastlog
17970 ttys/ttytab file: $rxvt_cv_path_ttytab 18268 ttys/ttytab file: $rxvt_cv_path_ttytab"
17971" 18269 echo
17972fi 18270fi
17973if test x$term != x; then 18271if test x$term != x; then
17974 echo " set TERM to: $term 18272 echo " set TERM to: $term"
17975"
17976fi 18273fi
17977if test x$terminfo != x; then 18274if test x$terminfo != x; then
17978 echo " set TERMINFO to: $terminfo 18275 echo " set TERMINFO to: $terminfo"
17979"
17980fi 18276fi
18277echo " default resource name: $RESNAME"
18278echo " resource class: $RESCLASS"
18279if test x$RESFALLBACK != x; then
18280 echo " resource class fallback: $RESFALLBACK"
18281fi
18282echo
17981if test x$rxvt_cv_ptys = xUNKNOWN; then 18283if test x$rxvt_cv_ptys = xUNKNOWN; then
17982 echo ".----------------------------------------------------------------." 18284 echo ".----------------------------------------------------------------."
17983 echo ". WARNING: could not determine pty/tty type. Do not build until ." 18285 echo ". WARNING: could not determine pty/tty type. Do not build until ."
17984 echo ". the appropriate PTYS_ARE_* is defined in config.h ." 18286 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
17985 echo ".----------------------------------------------------------------." 18287 echo ".----------------------------------------------------------------."
17999 echo ". WARNING: --enable-xim was specified however the locale support ." 18301 echo ". WARNING: --enable-xim was specified however the locale support ."
18000 echo ". functions could not be found. ." 18302 echo ". functions could not be found. ."
18001 echo ". XIM is now being DISABLED! ." 18303 echo ". XIM is now being DISABLED! ."
18002 echo ".----------------------------------------------------------------." 18304 echo ".----------------------------------------------------------------."
18003fi 18305fi
18306
18004echo " *** Please check src/feature.h for further options *** 18307echo " *** Please check src/feature.h for further options ***"
18005" 18308echo
18309
18310echo ".----------------------------------------------------------------."
18311echo ". NOTE: most features are disabled by default, try ."
18312echo ". configure --help to get an idea of the optional features ."
18313echo ".----------------------------------------------------------------."
18314echo
18315

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines