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.34 by root, Sun Aug 15 04:42:45 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
1059 --enable-iso14755 enable support for extended ISO 14755 modes
1054 --enable-frills enable support for rarely used features 1060 --enable-frills enable support for rarely used features
1055 --enable-linespace enable support for linespace 1061 --enable-linespace enable support for linespace
1056 --enable-24bit enable support for using 24bit visuals if available 1062 --enable-24bit enable support for using 24bit visuals if available
1057 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1063 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1058 --enable-selectionscrolling enable scrolling during selections 1064 --enable-selectionscrolling enable scrolling during selections
1059 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1065 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1060 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1066 --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 1067 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1064 --enable-dlmalloc enable Doug Lea's malloc - for production use 1068 --enable-dlmalloc enable Doug Lea's malloc - for production use
1065 NOTE: enable only one malloc package 1069 NOTE: enable only one malloc package
1066 --enable-smart-resize enable smart growth/shrink behaviour 1070 --enable-smart-resize enable smart growth/shrink behaviour
1067 --enable-256-color enable 256-color support 1071 --enable-256-color enable 256-color support
1072Optional Packages: 1076Optional Packages:
1073 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1077 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1074 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1078 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1075 --with-gnu-ld assume the C compiler uses GNU ld default=no 1079 --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 1080 --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) 1081 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all)
1082 --with-res-name=NAME use this as default resource name (default: urxvt)
1083 --with-res-class=CLASS use this as the resource class (default: URxvt)
1084 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1078 --with-term=NAME set the terminal to NAME (default \"rxvt\") 1085 --with-term=NAME set the terminal to NAME (default: rxvt)
1079 --with-terminfo=PATH set the path to the terminfo tree to PATH 1086 --with-terminfo=PATH set the path to the terminfo tree to PATH
1080 --with-x use the X Window System 1087 --with-x use the X Window System
1081 --with-xpm-includes=DIR use XPM includes in DIR 1088 --with-xpm-includes=DIR use XPM includes in DIR
1082 --with-xpm-library=DIR use XPM library in DIR 1089 --with-xpm-library=DIR use XPM library in DIR
1083 --with-xpm use XPM 1090 --with-xpm use XPM
1530 1537
1531 1538
1532 1539
1533 1540
1534 1541
1542
1535ac_aux_dir= 1543ac_aux_dir=
1536for ac_dir in autoconf $srcdir/autoconf; do 1544for ac_dir in autoconf $srcdir/autoconf; do
1537 if test -f $ac_dir/install-sh; then 1545 if test -f $ac_dir/install-sh; then
1538 ac_aux_dir=$ac_dir 1546 ac_aux_dir=$ac_dir
1539 ac_install_sh="$ac_aux_dir/install-sh -c" 1547 ac_install_sh="$ac_aux_dir/install-sh -c"
3276LINKER=$LINKER 3284LINKER=$LINKER
3277 3285
3278 3286
3279CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3287CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3280 3288
3281if test x$GXX = xyes; then
3282 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3283fi
3284 3289
3285ac_ext=cc 3290ac_ext=cc
3286ac_cpp='$CXXCPP $CPPFLAGS' 3291ac_cpp='$CXXCPP $CPPFLAGS'
3287ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3288ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3293ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3685echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3690echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3686echo "${ECHO_T}$ac_cv_search_strerror" >&6 3691echo "${ECHO_T}$ac_cv_search_strerror" >&6
3687if test "$ac_cv_search_strerror" != no; then 3692if test "$ac_cv_search_strerror" != no; then
3688 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3693 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3689 3694
3695fi
3696
3697
3698echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3699echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3700if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3702else
3703 ac_check_lib_save_LIBS=$LIBS
3704LIBS="-lxpg4 $LIBS"
3705cat >conftest.$ac_ext <<_ACEOF
3706/* confdefs.h. */
3707_ACEOF
3708cat confdefs.h >>conftest.$ac_ext
3709cat >>conftest.$ac_ext <<_ACEOF
3710/* end confdefs.h. */
3711
3712/* Override any gcc2 internal prototype to avoid an error. */
3713#ifdef __cplusplus
3714extern "C"
3715#endif
3716/* We use char because int might match the return type of a gcc2
3717 builtin and then its argument prototype would still apply. */
3718char setlocale ();
3719int
3720main ()
3721{
3722setlocale ();
3723 ;
3724 return 0;
3725}
3726_ACEOF
3727rm -f conftest.$ac_objext conftest$ac_exeext
3728if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3729 (eval $ac_link) 2>conftest.er1
3730 ac_status=$?
3731 grep -v '^ *+' conftest.er1 >conftest.err
3732 rm -f conftest.er1
3733 cat conftest.err >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } &&
3736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3738 (eval $ac_try) 2>&5
3739 ac_status=$?
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }; } &&
3742 { ac_try='test -s conftest$ac_exeext'
3743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3744 (eval $ac_try) 2>&5
3745 ac_status=$?
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); }; }; then
3748 ac_cv_lib_xpg4_setlocale=yes
3749else
3750 echo "$as_me: failed program was:" >&5
3751sed 's/^/| /' conftest.$ac_ext >&5
3752
3753ac_cv_lib_xpg4_setlocale=no
3754fi
3755rm -f conftest.err conftest.$ac_objext \
3756 conftest$ac_exeext conftest.$ac_ext
3757LIBS=$ac_check_lib_save_LIBS
3758fi
3759echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
3760echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3761if test $ac_cv_lib_xpg4_setlocale = yes; then
3762 LIBS="$LIBS -lxpg4"
3763fi
3764
3765
3766echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3767echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3768if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3770else
3771 ac_check_lib_save_LIBS=$LIBS
3772LIBS="-lnsl $LIBS"
3773cat >conftest.$ac_ext <<_ACEOF
3774/* confdefs.h. */
3775_ACEOF
3776cat confdefs.h >>conftest.$ac_ext
3777cat >>conftest.$ac_ext <<_ACEOF
3778/* end confdefs.h. */
3779
3780/* Override any gcc2 internal prototype to avoid an error. */
3781#ifdef __cplusplus
3782extern "C"
3783#endif
3784/* We use char because int might match the return type of a gcc2
3785 builtin and then its argument prototype would still apply. */
3786char gethostbyname ();
3787int
3788main ()
3789{
3790gethostbyname ();
3791 ;
3792 return 0;
3793}
3794_ACEOF
3795rm -f conftest.$ac_objext conftest$ac_exeext
3796if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3797 (eval $ac_link) 2>conftest.er1
3798 ac_status=$?
3799 grep -v '^ *+' conftest.er1 >conftest.err
3800 rm -f conftest.er1
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } &&
3804 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 (eval $ac_try) 2>&5
3807 ac_status=$?
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; } &&
3810 { ac_try='test -s conftest$ac_exeext'
3811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812 (eval $ac_try) 2>&5
3813 ac_status=$?
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }; }; then
3816 ac_cv_lib_nsl_gethostbyname=yes
3817else
3818 echo "$as_me: failed program was:" >&5
3819sed 's/^/| /' conftest.$ac_ext >&5
3820
3821ac_cv_lib_nsl_gethostbyname=no
3822fi
3823rm -f conftest.err conftest.$ac_objext \
3824 conftest$ac_exeext conftest.$ac_ext
3825LIBS=$ac_check_lib_save_LIBS
3826fi
3827echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3828echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3829if test $ac_cv_lib_nsl_gethostbyname = yes; then
3830 LIBS="$LIBS -lnsl"
3831fi
3832
3833echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3834echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3835if test "${ac_cv_lib_socket_socket+set}" = set; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3837else
3838 ac_check_lib_save_LIBS=$LIBS
3839LIBS="-lsocket $LIBS"
3840cat >conftest.$ac_ext <<_ACEOF
3841/* confdefs.h. */
3842_ACEOF
3843cat confdefs.h >>conftest.$ac_ext
3844cat >>conftest.$ac_ext <<_ACEOF
3845/* end confdefs.h. */
3846
3847/* Override any gcc2 internal prototype to avoid an error. */
3848#ifdef __cplusplus
3849extern "C"
3850#endif
3851/* We use char because int might match the return type of a gcc2
3852 builtin and then its argument prototype would still apply. */
3853char socket ();
3854int
3855main ()
3856{
3857socket ();
3858 ;
3859 return 0;
3860}
3861_ACEOF
3862rm -f conftest.$ac_objext conftest$ac_exeext
3863if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3864 (eval $ac_link) 2>conftest.er1
3865 ac_status=$?
3866 grep -v '^ *+' conftest.er1 >conftest.err
3867 rm -f conftest.er1
3868 cat conftest.err >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); } &&
3871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3873 (eval $ac_try) 2>&5
3874 ac_status=$?
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); }; } &&
3877 { ac_try='test -s conftest$ac_exeext'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879 (eval $ac_try) 2>&5
3880 ac_status=$?
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; }; then
3883 ac_cv_lib_socket_socket=yes
3884else
3885 echo "$as_me: failed program was:" >&5
3886sed 's/^/| /' conftest.$ac_ext >&5
3887
3888ac_cv_lib_socket_socket=no
3889fi
3890rm -f conftest.err conftest.$ac_objext \
3891 conftest$ac_exeext conftest.$ac_ext
3892LIBS=$ac_check_lib_save_LIBS
3893fi
3894echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3895echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3896if test $ac_cv_lib_socket_socket = yes; then
3897 LIBS="$LIBS -lsocket"
3690fi 3898fi
3691 3899
3692 3900
3693# Check whether --enable-shared or --disable-shared was given. 3901# Check whether --enable-shared or --disable-shared was given.
3694if test "${enable_shared+set}" = set; then 3902if test "${enable_shared+set}" = set; then
5030# Some flags need to be propagated to the compiler or linker for good 5238# Some flags need to be propagated to the compiler or linker for good
5031# libtool support. 5239# libtool support.
5032case "$host" in 5240case "$host" in
5033*-*-irix6*) 5241*-*-irix6*)
5034 # Find out which ABI we are using. 5242 # Find out which ABI we are using.
5035 echo '#line 5035 "configure"' > conftest.$ac_ext 5243 echo '#line 5243 "configure"' > conftest.$ac_ext
5036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5037 (eval $ac_compile) 2>&5 5245 (eval $ac_compile) 2>&5
5038 ac_status=$? 5246 ac_status=$?
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; then 5248 (exit $ac_status); }; then
5581# builds. 5789# builds.
5582chmod -w . 5790chmod -w .
5583save_CFLAGS="$CFLAGS" 5791save_CFLAGS="$CFLAGS"
5584CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5792CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5585compiler_c_o=no 5793compiler_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 5794if { (eval echo configure:5794: \"$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 5795 # The compiler can only warn and ignore the option if not recognized
5588 # So say no if there are warnings 5796 # So say no if there are warnings
5589 if test -s out/conftest.err; then 5797 if test -s out/conftest.err; then
5590 compiler_c_o=no 5798 compiler_c_o=no
5591 else 5799 else
7197 lt_cv_dlopen_self=cross 7405 lt_cv_dlopen_self=cross
7198else 7406else
7199 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7407 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7200 lt_status=$lt_dlunknown 7408 lt_status=$lt_dlunknown
7201 cat > conftest.$ac_ext <<EOF 7409 cat > conftest.$ac_ext <<EOF
7202#line 7202 "configure" 7410#line 7410 "configure"
7203#include "confdefs.h" 7411#include "confdefs.h"
7204 7412
7205#if HAVE_DLFCN_H 7413#if HAVE_DLFCN_H
7206#include <dlfcn.h> 7414#include <dlfcn.h>
7207#endif 7415#endif
7295 lt_cv_dlopen_self_static=cross 7503 lt_cv_dlopen_self_static=cross
7296else 7504else
7297 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7505 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7298 lt_status=$lt_dlunknown 7506 lt_status=$lt_dlunknown
7299 cat > conftest.$ac_ext <<EOF 7507 cat > conftest.$ac_ext <<EOF
7300#line 7300 "configure" 7508#line 7508 "configure"
7301#include "confdefs.h" 7509#include "confdefs.h"
7302 7510
7303#if HAVE_DLFCN_H 7511#if HAVE_DLFCN_H
7304#include <dlfcn.h> 7512#include <dlfcn.h>
7305#endif 7513#endif
8028MALLOC_TYPE=S 8236MALLOC_TYPE=S
8029support_addstrings=no 8237support_addstrings=no
8030support_frills=no 8238support_frills=no
8031support_linespace=no 8239support_linespace=no
8032support_inheritpixmap=no 8240support_inheritpixmap=no
8241support_tinting=no
8242support_fading=no
8033support_keepscrolling=no 8243support_keepscrolling=no
8034support_selectionscrolling=no 8244support_selectionscrolling=no
8035support_menubar=no 8245support_menubar=no
8036support_mousewheel=no 8246support_mousewheel=no
8037support_mouseslipwheel=no 8247support_mouseslipwheel=no
8038support_oldselection=no
8039support_utmp=no 8248support_utmp=no
8040support_wtmp=no 8249support_wtmp=no
8041support_lastlog=no 8250support_lastlog=no
8042support_cursor_blink=no 8251support_cursor_blink=no
8043support_text_blink=no 8252support_text_blink=no
8048support_scroll_plain=no 8257support_scroll_plain=no
8049support_xim=no 8258support_xim=no
8050support_xpm=no 8259support_xpm=no
8051support_xft=no 8260support_xft=no
8052support_unicode3=no 8261support_unicode3=no
8262support_combining=no
8263support_8bitctrls=no
8264support_iso14755=no
8053codesets= 8265codesets=
8054 8266
8055 8267
8056if test "x$enable_shared" = xyes; then 8268if test "x$enable_shared" = xyes; then
8057 8269
8069 if test x$enableval = xyes; then 8281 if test x$enableval = xyes; then
8070 support_24bit=yes 8282 support_24bit=yes
8071 support_frills=yes 8283 support_frills=yes
8072 support_linespace=yes 8284 support_linespace=yes
8073 support_inheritpixmap=yes 8285 support_inheritpixmap=yes
8286 support_tinting=yes
8287 support_fading=yes
8074 support_keepscrolling=yes 8288 support_keepscrolling=yes
8075 support_selectionscrolling=yes 8289 support_selectionscrolling=yes
8076 support_lastlog=yes 8290 support_lastlog=yes
8077 support_menubar=yes 8291 support_menubar=yes
8078 support_mousewheel=yes 8292 support_mousewheel=yes
8079 support_mouseslipwheel=yes 8293 support_mouseslipwheel=yes
8080 support_oldselection=yes
8081 support_cursor_blink=yes 8294 support_cursor_blink=yes
8082 support_text_blink=yes 8295 support_text_blink=yes
8083 support_pointer_blank=yes 8296 support_pointer_blank=yes
8084 support_scroll_rxvt=yes 8297 support_scroll_rxvt=yes
8085 support_scroll_next=yes 8298 support_scroll_next=yes
8089 support_wtmp=yes 8302 support_wtmp=yes
8090 support_xim=yes 8303 support_xim=yes
8091 support_xpm=yes 8304 support_xpm=yes
8092 support_xft=yes 8305 support_xft=yes
8093 support_unicode3=yes 8306 support_unicode3=yes
8307 support_combining=yes
8308 #support_8bitctrls=yes
8309 support_iso14755=yes
8094 codesets=all 8310 codesets=all
8095 fi 8311 fi
8096fi; 8312fi;
8097 8313
8098# Check whether --enable-unicode3 or --disable-unicode3 was given. 8314# Check whether --enable-unicode3 or --disable-unicode3 was given.
8101 if test x$enableval = xyes -o x$enableval = xno; then 8317 if test x$enableval = xyes -o x$enableval = xno; then
8102 support_unicode3=yes 8318 support_unicode3=yes
8103 fi 8319 fi
8104fi; 8320fi;
8105 8321
8322# Check whether --enable-combining or --disable-combining was given.
8323if test "${enable_combining+set}" = set; then
8324 enableval="$enable_combining"
8325 if test x$enableval = xyes -o x$enableval = xno; then
8326 support_combining=yes
8327 fi
8328fi;
8329
8106# Check whether --enable-xft or --disable-xft was given. 8330# Check whether --enable-xft or --disable-xft was given.
8107if test "${enable_xft+set}" = set; then 8331if test "${enable_xft+set}" = set; then
8108 enableval="$enable_xft" 8332 enableval="$enable_xft"
8109 if test x$enableval = xyes -o x$enableval = xno; then 8333 if test x$enableval = xyes -o x$enableval = xno; then
8110 support_xft=yes 8334 support_xft=yes
8111 fi 8335 fi
8112fi; 8336fi;
8113 8337
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. 8338# Check whether --enable-utmp or --disable-utmp was given.
8122if test "${enable_utmp+set}" = set; then 8339if test "${enable_utmp+set}" = set; then
8123 enableval="$enable_utmp" 8340 enableval="$enable_utmp"
8124 if test x$enableval = xyes -o x$enableval = xno; then 8341 if test x$enableval = xyes -o x$enableval = xno; then
8125 support_utmp=$enableval 8342 support_utmp=$enableval
8156 if test x$enableval = xyes -o x$enableval = xno; then 8373 if test x$enableval = xyes -o x$enableval = xno; then
8157 support_inheritpixmap=$enableval 8374 support_inheritpixmap=$enableval
8158 fi 8375 fi
8159fi; 8376fi;
8160 8377
8378# Check whether --enable-tinting or --disable-tinting was given.
8379if test "${enable_tinting+set}" = set; then
8380 enableval="$enable_tinting"
8381 if test x$enableval = xyes -o x$enableval = xno; then
8382 support_tinting=$enableval
8383 fi
8384fi;
8385
8386# Check whether --enable-fading or --disable-fading was given.
8387if test "${enable_fading+set}" = set; then
8388 enableval="$enable_fading"
8389 if test x$enableval = xyes -o x$enableval = xno; then
8390 support_fading=$enableval
8391 fi
8392fi;
8393
8161# Check whether --enable-menubar or --disable-menubar was given. 8394# Check whether --enable-menubar or --disable-menubar was given.
8162if test "${enable_menubar+set}" = set; then 8395if test "${enable_menubar+set}" = set; then
8163 enableval="$enable_menubar" 8396 enableval="$enable_menubar"
8164 if test x$enableval = xyes -o x$enableval = xno; then 8397 if test x$enableval = xyes -o x$enableval = xno; then
8165 support_menubar=$enableval 8398 support_menubar=$enableval
8208_ACEOF 8441_ACEOF
8209 8442
8210 fi 8443 fi
8211fi; 8444fi;
8212 8445
8446
8447# Check whether --with-codesets or --without-codesets was given.
8448if test "${with_codesets+set}" = set; then
8449 withval="$with_codesets"
8450 codesets="$withval"
8451fi;
8452
8213# Check whether --enable-xim or --disable-xim was given. 8453# Check whether --enable-xim or --disable-xim was given.
8214if test "${enable_xim+set}" = set; then 8454if test "${enable_xim+set}" = set; then
8215 enableval="$enable_xim" 8455 enableval="$enable_xim"
8216 if test x$enableval = xyes -o x$enableval = xno; then 8456 if test x$enableval = xyes -o x$enableval = xno; then
8217 support_xim=$enableval 8457 support_xim=$enableval
8276_ACEOF 8516_ACEOF
8277 8517
8278 fi 8518 fi
8279fi; 8519fi;
8280 8520
8521# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8522if test "${enable_8bitctrls+set}" = set; then
8523 enableval="$enable_8bitctrls"
8524 if test x$enableval = xyes -o x$enableval = xno; then
8525 support_8bitctrls=yes
8526 fi
8527fi;
8528
8529RESFALLBACK=Rxvt
8530# Check whether --enable-fallback or --disable-fallback was given.
8531if test "${enable_fallback+set}" = set; then
8532 enableval="$enable_fallback"
8533
8534 test x$enableval = xyes && enableval=Rxvt
8535 test x$enableval = xno && enableval=
8536 RESFALLBACK="$enableval"
8537
8538fi;
8539
8540if test x$RESFALLBACK != x; then
8541
8542cat >>confdefs.h <<_ACEOF
8543#define RESFALLBACK "$RESFALLBACK"
8544_ACEOF
8545
8546fi
8547
8548RESNAME=urxvt
8549
8550# Check whether --with-res-name or --without-res-name was given.
8551if test "${with_res_name+set}" = set; then
8552 withval="$with_res_name"
8553 RESNAME="$withval"
8554fi;
8555
8556cat >>confdefs.h <<_ACEOF
8557#define RESNAME "$RESNAME"
8558_ACEOF
8559
8560
8561RESCLASS=URxvt
8562
8563# Check whether --with-res-class or --without-res-class was given.
8564if test "${with_res_class+set}" = set; then
8565 withval="$with_res_class"
8566 RESCLASS="$withval"
8567fi;
8568
8569cat >>confdefs.h <<_ACEOF
8570#define RESCLASS "$RESCLASS"
8571_ACEOF
8572
8573
8574RXVTNAME=urxvt
8575
8576# Check whether --with-name or --without-name was given.
8577if test "${with_name+set}" = set; then
8578 withval="$with_name"
8579 RXVTNAME="$withval"
8580fi;
8581
8582RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
8583
8584
8281# Check whether --enable-strings or --disable-strings was given. 8585# Check whether --enable-strings or --disable-strings was given.
8282if test "${enable_strings+set}" = set; then 8586if test "${enable_strings+set}" = set; then
8283 enableval="$enable_strings" 8587 enableval="$enable_strings"
8284 if test x$enableval = xyes -o x$enableval = xno; then 8588 if test x$enableval = xyes -o x$enableval = xno; then
8285 support_addstrings=$enableval 8589 support_addstrings=$enableval
8296_ACEOF 8600_ACEOF
8297 8601
8298 fi 8602 fi
8299fi; 8603fi;
8300 8604
8605# Check whether --enable-iso14755 or --disable-iso14755 was given.
8606if test "${enable_iso14755+set}" = set; then
8607 enableval="$enable_iso14755"
8608 if test x$enableval = xyes -o x$enableval = xno; then
8609 support_iso14755=$enableval
8610 fi
8611fi;
8612
8301# Check whether --enable-frills or --disable-frills was given. 8613# Check whether --enable-frills or --disable-frills was given.
8302if test "${enable_frills+set}" = set; then 8614if test "${enable_frills+set}" = set; then
8303 enableval="$enable_frills" 8615 enableval="$enable_frills"
8304 if test x$enableval = xyes -o x$enableval = xno; then 8616 if test x$enableval = xyes -o x$enableval = xno; then
8305 support_frills=$enableval 8617 support_frills=$enableval
8349# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8661# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8350if test "${enable_slipwheeling+set}" = set; then 8662if test "${enable_slipwheeling+set}" = set; then
8351 enableval="$enable_slipwheeling" 8663 enableval="$enable_slipwheeling"
8352 if test x$enableval = xyes -o x$enableval = xno; then 8664 if test x$enableval = xyes -o x$enableval = xno; then
8353 support_mouseslipwheel=$enableval 8665 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 8666 fi
8375fi; 8667fi;
8376 8668
8377# Check whether --enable-dmalloc or --disable-dmalloc was given. 8669# Check whether --enable-dmalloc or --disable-dmalloc was given.
8378if test "${enable_dmalloc+set}" = set; then 8670if test "${enable_dmalloc+set}" = set; then
8804fi 9096fi
8805 9097
8806 9098
8807 9099
8808 9100
9101
9102if test "x$ac_path_x_has_been_run" != xyes; then
8809echo "$as_me:$LINENO: checking for X" >&5 9103 echo "$as_me:$LINENO: checking for X" >&5
8810echo $ECHO_N "checking for X... $ECHO_C" >&6 9104echo $ECHO_N "checking for X... $ECHO_C" >&6
8811 9105
9106ac_path_x_has_been_run=yes
8812 9107
8813# Check whether --with-x or --without-x was given. 9108# Check whether --with-x or --without-x was given.
8814if test "${with_x+set}" = set; then 9109if test "${with_x+set}" = set; then
8815 withval="$with_x" 9110 withval="$with_x"
8816 9111
8899 9194
8900/usr/openwin/include 9195/usr/openwin/include
8901/usr/openwin/share/include' 9196/usr/openwin/share/include'
8902 9197
8903if test "$ac_x_includes" = no; then 9198if test "$ac_x_includes" = no; then
8904 # Guess where to find include files, by looking for Intrinsic.h. 9199 # Guess where to find include files, by looking for a specified header file.
8905 # First, try using that file with no special directory specified. 9200 # First, try using that file with no special directory specified.
8906 cat >conftest.$ac_ext <<_ACEOF 9201 cat >conftest.$ac_ext <<_ACEOF
8907/* confdefs.h. */ 9202/* confdefs.h. */
8908_ACEOF 9203_ACEOF
8909cat confdefs.h >>conftest.$ac_ext 9204cat confdefs.h >>conftest.$ac_ext
9033 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9328 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9034 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9329 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9035 # Update the cache value to reflect the command line values. 9330 # Update the cache value to reflect the command line values.
9036 ac_cv_have_x="have_x=yes \ 9331 ac_cv_have_x="have_x=yes \
9037 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9332 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9333 # It might be that x_includes is empty (headers are found in the
9334 # standard search path. Then output the corresponding message
9335 ac_out_x_includes=$x_includes
9336 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 9337 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9039echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9338echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9040fi 9339fi
9041 9340
9341fi
9042if test "$no_x" = yes; then 9342if test "$no_x" = yes; then
9043 # Not all programs may use this symbol, but it does not hurt to define it. 9343 # Not all programs may use this symbol, but it does not hurt to define it.
9044 9344
9045cat >>confdefs.h <<\_ACEOF 9345cat >>confdefs.h <<\_ACEOF
9046#define X_DISPLAY_MISSING 1 9346#define X_DISPLAY_MISSING 1
10623 10923
10624 10924
10625 10925
10626 10926
10627 10927
10928
10628for ac_header in \ 10929for ac_header in \
10629 assert.h \ 10930 assert.h \
10630 fcntl.h \ 10931 fcntl.h \
10631 grp.h \ 10932 grp.h \
10632 libc.h \ 10933 libc.h \
10639 sys/byteorder.h \ 10940 sys/byteorder.h \
10640 sys/ioctl.h \ 10941 sys/ioctl.h \
10641 sys/select.h \ 10942 sys/select.h \
10642 sys/sockio.h \ 10943 sys/sockio.h \
10643 sys/strredir.h \ 10944 sys/strredir.h \
10945 sys/stropts.h \
10644 sys/time.h \ 10946 sys/time.h \
10645 utmp.h \ 10947 utmp.h \
10646 utmpx.h \ 10948 utmpx.h \
10647 stdint.h \ 10949 stdint.h \
10648 10950
11434cat >>confdefs.h <<\_ACEOF 11736cat >>confdefs.h <<\_ACEOF
11435#define gid_t int 11737#define gid_t int
11436_ACEOF 11738_ACEOF
11437 11739
11438fi 11740fi
11439
11440 11741
11441 11742
11442echo "$as_me:$LINENO: checking for char" >&5 11743echo "$as_me:$LINENO: checking for char" >&5
11443echo $ECHO_N "checking for char... $ECHO_C" >&6 11744echo $ECHO_N "checking for char... $ECHO_C" >&6
11444if test "${ac_cv_type_char+set}" = set; then 11745if test "${ac_cv_type_char+set}" = set; then
15799/* confdefs.h. */ 16100/* confdefs.h. */
15800_ACEOF 16101_ACEOF
15801cat confdefs.h >>conftest.$ac_ext 16102cat confdefs.h >>conftest.$ac_ext
15802cat >>conftest.$ac_ext <<_ACEOF 16103cat >>conftest.$ac_ext <<_ACEOF
15803/* end confdefs.h. */ 16104/* end confdefs.h. */
15804#include <locale.h> 16105#include <clocale>
15805int 16106int
15806main () 16107main ()
15807{ 16108{
15808setlocale(LC_CTYPE, ""); 16109setlocale(LC_CTYPE, "");
15809 ; 16110 ;
15910#define HAVE_NL_LANGINFO 1 16211#define HAVE_NL_LANGINFO 1
15911_ACEOF 16212_ACEOF
15912 16213
15913fi 16214fi
15914 16215
16216echo "$as_me:$LINENO: checking for broken XIM callback" >&5
16217echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
16218if test "${rxvt_broken_ximcb+set}" = set; then
16219 echo $ECHO_N "(cached) $ECHO_C" >&6
16220else
16221 cat >conftest.$ac_ext <<_ACEOF
16222
16223#include <X11/Xlib.h>
16224
16225void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
16226
16227void f() {
16228 XIMCallback cb;
16229 cb.callback = im_destroy_cb;
16230}
16231
16232_ACEOF
16233rm -f conftest.$ac_objext
16234if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16236 ac_status=$?
16237 grep -v '^ *+' conftest.er1 >conftest.err
16238 rm -f conftest.er1
16239 cat conftest.err >&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 rxvt_broken_ximcb=yes
16255else
16256 echo "$as_me: failed program was:" >&5
16257sed 's/^/| /' conftest.$ac_ext >&5
16258
16259rxvt_broken_ximcb=no
16260fi
16261rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16262fi
16263echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
16264echo "${ECHO_T}$rxvt_broken_ximcb" >&6
16265
16266if test x$rxvt_broken_ximcb = xyes; then
16267
16268cat >>confdefs.h <<\_ACEOF
16269#define XIMCB_PROTO_BROKEN 1
16270_ACEOF
16271
16272fi
16273
15915echo "$as_me:$LINENO: checking for getpt" >&5 16274echo "$as_me:$LINENO: checking for getpt" >&5
15916echo $ECHO_N "checking for getpt... $ECHO_C" >&6 16275echo $ECHO_N "checking for getpt... $ECHO_C" >&6
15917if test "${rxvt_cv_func_getpt+set}" = set; then 16276if test "${rxvt_cv_func_getpt+set}" = set; then
15918 echo $ECHO_N "(cached) $ECHO_C" >&6 16277 echo $ECHO_N "(cached) $ECHO_C" >&6
15919else 16278else
15923cat confdefs.h >>conftest.$ac_ext 16282cat confdefs.h >>conftest.$ac_ext
15924cat >>conftest.$ac_ext <<_ACEOF 16283cat >>conftest.$ac_ext <<_ACEOF
15925/* end confdefs.h. */ 16284/* end confdefs.h. */
15926#define _GNU_SOURCE 16285#define _GNU_SOURCE
15927#ifdef HAVE_STDLIB_H 16286#ifdef HAVE_STDLIB_H
15928# include <stdlib.h> 16287# include <cstdlib>
15929#endif 16288#endif
15930int 16289int
15931main () 16290main ()
15932{ 16291{
15933(void)getpt(); 16292(void)getpt();
16098#define PTYCHAR2 "$pch2" 16457#define PTYCHAR2 "$pch2"
16099_ACEOF 16458_ACEOF
16100 16459
16101fi 16460fi
16102 16461
16103echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 16462if test x$support_iso14755 = xyes; then
16104echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 16463
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 16464cat >>confdefs.h <<\_ACEOF
16115/* end confdefs.h. */ 16465#define ISO_14755 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 16466_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 16467
16158ac_cv_lib_xpg4_setlocale=no
16159fi 16468fi
16160rm -f conftest.err conftest.$ac_objext \ 16469if test x$support_8bitctrls = 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 16470
16471cat >>confdefs.h <<\_ACEOF
16472#define EIGHT_BIT_CONTROLS 1
16473_ACEOF
16170 16474
16475fi
16476if test x$support_fading = xyes; then
16477
16478cat >>confdefs.h <<\_ACEOF
16479#define OFF_FOCUS_FADING 1
16480_ACEOF
16481
16482fi
16483if test x$support_tinting = xyes; then
16484
16485cat >>confdefs.h <<\_ACEOF
16486#define TINTING 1
16487_ACEOF
16488
16489fi
16171if test x$support_inheritpixmap = xyes; then 16490if test x$support_inheritpixmap = xyes; then
16172 16491
16173cat >>confdefs.h <<\_ACEOF 16492cat >>confdefs.h <<\_ACEOF
16174#define TRANSPARENT 1 16493#define TRANSPARENT 1
16175_ACEOF 16494_ACEOF
16194cat >>confdefs.h <<\_ACEOF 16513cat >>confdefs.h <<\_ACEOF
16195#define MENUBAR 1 16514#define MENUBAR 1
16196_ACEOF 16515_ACEOF
16197 16516
16198fi 16517fi
16199if test x$support_frills = xno; then 16518if test x$support_frills = xyes; then
16200 16519
16201cat >>confdefs.h <<\_ACEOF 16520cat >>confdefs.h <<\_ACEOF
16202#define NO_FRILLS 1 16521#define ENABLE_FRILLS 1
16203_ACEOF 16522_ACEOF
16204 16523
16205fi 16524fi
16206if test x$support_linespace = xno; then 16525if test x$support_linespace = xno; then
16207 16526
16229cat >>confdefs.h <<\_ACEOF 16548cat >>confdefs.h <<\_ACEOF
16230#define MOUSE_SLIP_WHEELING 1 16549#define MOUSE_SLIP_WHEELING 1
16231_ACEOF 16550_ACEOF
16232 16551
16233fi 16552fi
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 16553if test x$support_utmp = xyes; then
16242 16554
16243cat >>confdefs.h <<\_ACEOF 16555cat >>confdefs.h <<\_ACEOF
16244#define UTMP_SUPPORT 1 16556#define UTMP_SUPPORT 1
16245_ACEOF 16557_ACEOF
16333cat >>confdefs.h <<\_ACEOF 16645cat >>confdefs.h <<\_ACEOF
16334#define UNICODE_3 1 16646#define UNICODE_3 1
16335_ACEOF 16647_ACEOF
16336 16648
16337fi 16649fi
16650if test x$support_combining = xyes; then
16651
16652cat >>confdefs.h <<\_ACEOF
16653#define ENABLE_COMBINING 1
16654_ACEOF
16655
16656fi
16338if test x$codesets = xall; then 16657if test x$codesets = xall; then
16339 codesets=jp,jp-ext,kr,cn,cn-ext,vn 16658 codesets=jp,jp-ext,kr,cn,cn-ext
16340fi 16659fi
16341for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16342 16660
16343cat >>confdefs.h <<\_ACEOF 16661cat >>confdefs.h <<\_ACEOF
16344#define ENCODING_EU 1 16662#define ENCODING_EU 1
16345_ACEOF 16663_ACEOF
16346 16664
16347 16665
16348cat >>confdefs.h <<\_ACEOF 16666cat >>confdefs.h <<\_ACEOF
16349#define ENCODING_VN 1 16667#define ENCODING_VN 1
16350_ACEOF 16668_ACEOF
16351 16669
16670for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16352 case "$codeset" in 16671 case "$codeset" in
16353 JP ) 16672 JP )
16354cat >>confdefs.h <<\_ACEOF 16673cat >>confdefs.h <<\_ACEOF
16355#define ENCODING_JP 1 16674#define ENCODING_JP 1
16356_ACEOF 16675_ACEOF
16425_ACEOF 16744_ACEOF
16426program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 16745program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16427rm conftest.sed 16746rm conftest.sed
16428 16747
16429 16748
16430RXVTNAME=`echo rxvt|sed "$program_transform_name"`
16431
16432
16433 16749
16434 16750
16435 16751
16436if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then 16752if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16437 include_stdint_h="#include <stdint.h>" 16753 include_stdint_h="#include <stdint.h>"
16438else 16754else
16439 include_stdint_h="/* #include <stdint.h> */" 16755 include_stdint_h="/* #include <stdint.h> */"
16440fi 16756fi
16441if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then 16757if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16442 include_stdarg_h="#include <stdarg.h>" 16758 include_stdarg_h="#include <cstdarg>"
16443else 16759else
16444 include_stdarg_h="/* #include <stdarg.h> */" 16760 include_stdarg_h="/* #include <cstdarg> */"
16445fi 16761fi
16446if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then 16762if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16447 include_stdlib_h="#include <stdlib.h>" 16763 include_stdlib_h="#include <cstdlib>"
16448else 16764else
16449 include_stdlib_h="/* #include <stdlib.h> */" 16765 include_stdlib_h="/* #include <cstdlib> */"
16450fi 16766fi
16451if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then 16767if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16452 include_unistd_h="#include <unistd.h>" 16768 include_unistd_h="#include <unistd.h>"
16453else 16769else
16454 include_unistd_h="/* #include <unistd.h> */" 16770 include_unistd_h="/* #include <unistd.h> */"
16455fi 16771fi
16456if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then 16772if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16457 include_string_h="#include <string.h>" 16773 include_string_h="#include <cstring>"
16458else 16774else
16459 include_string_h="/* #include <string.h> */" 16775 include_string_h="/* #include <cstring> */"
16460fi 16776fi
16461if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then 16777if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16462 include_fcntl_h="#include <fcntl.h>" 16778 include_fcntl_h="#include <fcntl.h>"
16463else 16779else
16464 include_fcntl_h="/* #include <fcntl.h> */" 16780 include_fcntl_h="/* #include <fcntl.h> */"
16739 17055
16740 fi 17056 fi
16741fi 17057fi
16742 17058
16743 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" 17059 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile"
17060
16744cat >confcache <<\_ACEOF 17061cat >confcache <<\_ACEOF
16745# This file is a shell script that caches the results of configure 17062# 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 17063# tests run on this system so they can be shared between configure
16747# scripts and configure runs, see configure's option --config-cache. 17064# 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 17065# It is not useful on other systems. If it contains results you don't
17394s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 17711s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17395s,@STRIP@,$STRIP,;t t 17712s,@STRIP@,$STRIP,;t t
17396s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 17713s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17397s,@LIBTOOL@,$LIBTOOL,;t t 17714s,@LIBTOOL@,$LIBTOOL,;t t
17398s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 17715s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
17716s,@RXVTNAME@,$RXVTNAME,;t t
17399s,@MV@,$MV,;t t 17717s,@MV@,$MV,;t t
17400s,@RM@,$RM,;t t 17718s,@RM@,$RM,;t t
17401s,@CP@,$CP,;t t 17719s,@CP@,$CP,;t t
17402s,@LN@,$LN,;t t 17720s,@LN@,$LN,;t t
17403s,@SED@,$SED,;t t 17721s,@SED@,$SED,;t t
17417s,@rxvt_intp_define@,$rxvt_intp_define,;t t 17735s,@rxvt_intp_define@,$rxvt_intp_define,;t t
17418s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 17736s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
17419s,@DEBUG@,$DEBUG,;t t 17737s,@DEBUG@,$DEBUG,;t t
17420s,@DINCLUDE@,$DINCLUDE,;t t 17738s,@DINCLUDE@,$DINCLUDE,;t t
17421s,@DLIB@,$DLIB,;t t 17739s,@DLIB@,$DLIB,;t t
17422s,@RXVTNAME@,$RXVTNAME,;t t
17423s,@include_stdint_h@,$include_stdint_h,;t t 17740s,@include_stdint_h@,$include_stdint_h,;t t
17424s,@include_stdarg_h@,$include_stdarg_h,;t t 17741s,@include_stdarg_h@,$include_stdarg_h,;t t
17425s,@include_stdlib_h@,$include_stdlib_h,;t t 17742s,@include_stdlib_h@,$include_stdlib_h,;t t
17426s,@include_unistd_h@,$include_unistd_h,;t t 17743s,@include_unistd_h@,$include_unistd_h,;t t
17427s,@include_string_h@,$include_string_h,;t t 17744s,@include_string_h@,$include_string_h,;t t
17956echo " 18273echo "
17957The following are set in config.h 18274The following are set in config.h
17958" 18275"
17959echo " pty/tty type: "$rxvt_cv_ptys 18276echo " pty/tty type: "$rxvt_cv_ptys
17960if test x$support_utmp != xyes; then 18277if test x$support_utmp != xyes; then
17961 echo " utmp support: disabled 18278 echo " utmp support: disabled"
17962" 18279 echo
17963else 18280else
17964 echo " utmp support: enabled 18281 echo " utmp support: enabled
17965 utmp file: $rxvt_cv_path_utmp 18282 utmp file: $rxvt_cv_path_utmp
17966 utmpx file: $rxvt_cv_path_utmpx 18283 utmpx file: $rxvt_cv_path_utmpx
17967 wtmp file: $rxvt_cv_path_wtmp 18284 wtmp file: $rxvt_cv_path_wtmp
17968 wtmpx file: $rxvt_cv_path_wtmpx 18285 wtmpx file: $rxvt_cv_path_wtmpx
17969 lastlog file: $rxvt_cv_path_lastlog 18286 lastlog file: $rxvt_cv_path_lastlog
17970 ttys/ttytab file: $rxvt_cv_path_ttytab 18287 ttys/ttytab file: $rxvt_cv_path_ttytab"
17971" 18288 echo
17972fi 18289fi
17973if test x$term != x; then 18290if test x$term != x; then
17974 echo " set TERM to: $term 18291 echo " set TERM to: $term"
17975"
17976fi 18292fi
17977if test x$terminfo != x; then 18293if test x$terminfo != x; then
17978 echo " set TERMINFO to: $terminfo 18294 echo " set TERMINFO to: $terminfo"
17979"
17980fi 18295fi
18296echo " default resource name: $RESNAME"
18297echo " resource class: $RESCLASS"
18298if test x$RESFALLBACK != x; then
18299 echo " resource class fallback: $RESFALLBACK"
18300fi
18301echo
17981if test x$rxvt_cv_ptys = xUNKNOWN; then 18302if test x$rxvt_cv_ptys = xUNKNOWN; then
17982 echo ".----------------------------------------------------------------." 18303 echo ".----------------------------------------------------------------."
17983 echo ". WARNING: could not determine pty/tty type. Do not build until ." 18304 echo ". WARNING: could not determine pty/tty type. Do not build until ."
17984 echo ". the appropriate PTYS_ARE_* is defined in config.h ." 18305 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
17985 echo ".----------------------------------------------------------------." 18306 echo ".----------------------------------------------------------------."
17999 echo ". WARNING: --enable-xim was specified however the locale support ." 18320 echo ". WARNING: --enable-xim was specified however the locale support ."
18000 echo ". functions could not be found. ." 18321 echo ". functions could not be found. ."
18001 echo ". XIM is now being DISABLED! ." 18322 echo ". XIM is now being DISABLED! ."
18002 echo ".----------------------------------------------------------------." 18323 echo ".----------------------------------------------------------------."
18003fi 18324fi
18325
18004echo " *** Please check src/feature.h for further options *** 18326echo " *** Please check src/feature.h for further options ***"
18005" 18327echo
18328
18329echo ".----------------------------------------------------------------."
18330echo ". NOTE: most features are disabled by default, try ."
18331echo ". configure --help to get an idea of the optional features ."
18332echo ".----------------------------------------------------------------."
18333echo
18334

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines