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

Comparing rxvt-unicode/configure (file contents):
Revision 1.15 by pcg, Wed Mar 3 04:07:45 2004 UTC vs.
Revision 1.40 by root, Sun Sep 5 09:32:59 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 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' 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 TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS'
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
1036 --enable-font-styles enable bold and italic support
1035 --enable-utmp enable utmp (utmpx) support 1037 --enable-utmp enable utmp (utmpx) support
1036 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1038 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1037 --enable-lastlog enable lastlog support (requires --enable-utmp) 1039 --enable-lastlog enable lastlog support (requires --enable-utmp)
1038 --enable-xpm-background enable XPM background pixmaps 1040 --enable-xpm-background enable XPM background pixmaps
1039 --enable-transparency enable transparent backgrounds 1041 --enable-transparency enable transparent backgrounds
1042 --enable-tinting enable tinting of transparent bg
1043 --enable-fading enable colors fading when off focus
1040 --enable-menubar enable menubar 1044 --enable-menubar enable menubar
1041 --enable-rxvt-scroll enable rxvt style scrollbar 1045 --enable-rxvt-scroll enable rxvt style scrollbar
1042 --enable-next-scroll enable NeXT style scrollbar 1046 --enable-next-scroll enable NeXT style scrollbar
1043 --enable-xterm-scroll enable Xterm style scrollbar 1047 --enable-xterm-scroll enable Xterm style scrollbar
1044 --enable-plain-scroll enable plain style scrollbar 1048 --enable-plain-scroll enable plain style scrollbar
1047 --enable-ttygid enable tty setting to group named "tty" 1051 --enable-ttygid enable tty setting to group named "tty"
1048 --disable-backspace-key disable handling of the backspace key 1052 --disable-backspace-key disable handling of the backspace key
1049 --disable-delete-key disable handling of the delete key 1053 --disable-delete-key disable handling of the delete key
1050 --disable-resources disable all resource checking 1054 --disable-resources disable all resource checking
1051 --enable-xgetdefault enable resources via X instead of our small version 1055 --enable-xgetdefault enable resources via X instead of our small version
1056 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1052 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 1057 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1053 --enable-strings enable some replacement system functions 1058 --enable-strings enable some replacement system functions
1054 --disable-swapscreen disable swap screen support 1059 --disable-swapscreen disable swap screen support
1060 --enable-iso14755 enable support for extended ISO 14755 modes
1055 --enable-frills enable support for rarely used features 1061 --enable-frills enable support for rarely used features
1056 --enable-linespace enable support for linespace 1062 --enable-linespace enable support for linespace
1057 --enable-24bit enable support for using 24bit visuals if available 1063 --enable-24bit enable support for using 24bit visuals if available
1058 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1064 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1059 --enable-selectionscrolling enable scrolling during selections 1065 --enable-selectionscrolling enable scrolling during selections
1060 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1066 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1061 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1067 --enable-slipwheeling enable slip wheel scrolling (requires previous)
1062 --enable-old-selection enable v2.20 (& prior) mouse selection style support
1063 --disable-new-selection disable new mouse (xterm) selection style support
1064 --enable-dmalloc enable Gray Watson's malloc - for debugging use 1068 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1065 --enable-dlmalloc enable Doug Lea's malloc - for production use 1069 --enable-dlmalloc enable Doug Lea's malloc - for production use
1066 NOTE: enable only one malloc package 1070 NOTE: enable only one malloc package
1067 --enable-smart-resize enable smart growth/shrink behaviour 1071 --enable-smart-resize enable smart growth/shrink behaviour
1068 --enable-256-color enable 256-color support
1069 --enable-cursor-blink enable blinking cursor 1072 --enable-cursor-blink enable blinking cursor
1070 --enable-text-blink enable blinking text 1073 --enable-text-blink enable blinking text
1071 --enable-pointer-blank enable pointer blank when typing or inactive pointer 1074 --enable-pointer-blank enable pointer blank when typing or inactive pointer
1072 1075
1073Optional Packages: 1076Optional Packages:
1075 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1078 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1076 --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
1077 --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
1078 --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)
1079 --with-res-name=NAME use this as default resource name (default: urxvt) 1082 --with-res-name=NAME use this as default resource name (default: urxvt)
1080 --with-res-class=NAME use this as the resource class (default: URxvt) 1083 --with-res-class=CLASS use this as the resource class (default: URxvt)
1081 --with-name=NAME set the basename for the installed binaries (default: urxvt) 1084 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1082 --with-term=NAME set the terminal to NAME (default: rxvt) 1085 --with-term=NAME set the terminal to NAME (default: rxvt)
1083 --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
1084 --with-x use the X Window System 1087 --with-x use the X Window System
1085 --with-xpm-includes=DIR use XPM includes in DIR 1088 --with-xpm-includes=DIR use XPM includes in DIR
1534 1537
1535 1538
1536 1539
1537 1540
1538 1541
1542
1539ac_aux_dir= 1543ac_aux_dir=
1540for ac_dir in autoconf $srcdir/autoconf; do 1544for ac_dir in autoconf $srcdir/autoconf; do
1541 if test -f $ac_dir/install-sh; then 1545 if test -f $ac_dir/install-sh; then
1542 ac_aux_dir=$ac_dir 1546 ac_aux_dir=$ac_dir
1543 ac_install_sh="$ac_aux_dir/install-sh -c" 1547 ac_install_sh="$ac_aux_dir/install-sh -c"
3280LINKER=$LINKER 3284LINKER=$LINKER
3281 3285
3282 3286
3283CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3287CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3284 3288
3285if test x$GXX = xyes; then
3286 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3287fi
3288 3289
3289ac_ext=cc 3290ac_ext=cc
3290ac_cpp='$CXXCPP $CPPFLAGS' 3291ac_cpp='$CXXCPP $CPPFLAGS'
3291ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292ac_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'
3689echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3690echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3690echo "${ECHO_T}$ac_cv_search_strerror" >&6 3691echo "${ECHO_T}$ac_cv_search_strerror" >&6
3691if test "$ac_cv_search_strerror" != no; then 3692if test "$ac_cv_search_strerror" != no; then
3692 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"
3693 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"
3694fi 3898fi
3695 3899
3696 3900
3697# Check whether --enable-shared or --disable-shared was given. 3901# Check whether --enable-shared or --disable-shared was given.
3698if test "${enable_shared+set}" = set; then 3902if test "${enable_shared+set}" = set; then
5034# 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
5035# libtool support. 5239# libtool support.
5036case "$host" in 5240case "$host" in
5037*-*-irix6*) 5241*-*-irix6*)
5038 # Find out which ABI we are using. 5242 # Find out which ABI we are using.
5039 echo '#line 5039 "configure"' > conftest.$ac_ext 5243 echo '#line 5243 "configure"' > conftest.$ac_ext
5040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5041 (eval $ac_compile) 2>&5 5245 (eval $ac_compile) 2>&5
5042 ac_status=$? 5246 ac_status=$?
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; then 5248 (exit $ac_status); }; then
5585# builds. 5789# builds.
5586chmod -w . 5790chmod -w .
5587save_CFLAGS="$CFLAGS" 5791save_CFLAGS="$CFLAGS"
5588CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5792CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5589compiler_c_o=no 5793compiler_c_o=no
5590if { (eval echo configure:5590: \"$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
5591 # 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
5592 # So say no if there are warnings 5796 # So say no if there are warnings
5593 if test -s out/conftest.err; then 5797 if test -s out/conftest.err; then
5594 compiler_c_o=no 5798 compiler_c_o=no
5595 else 5799 else
7201 lt_cv_dlopen_self=cross 7405 lt_cv_dlopen_self=cross
7202else 7406else
7203 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7407 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7204 lt_status=$lt_dlunknown 7408 lt_status=$lt_dlunknown
7205 cat > conftest.$ac_ext <<EOF 7409 cat > conftest.$ac_ext <<EOF
7206#line 7206 "configure" 7410#line 7410 "configure"
7207#include "confdefs.h" 7411#include "confdefs.h"
7208 7412
7209#if HAVE_DLFCN_H 7413#if HAVE_DLFCN_H
7210#include <dlfcn.h> 7414#include <dlfcn.h>
7211#endif 7415#endif
7299 lt_cv_dlopen_self_static=cross 7503 lt_cv_dlopen_self_static=cross
7300else 7504else
7301 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7505 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7302 lt_status=$lt_dlunknown 7506 lt_status=$lt_dlunknown
7303 cat > conftest.$ac_ext <<EOF 7507 cat > conftest.$ac_ext <<EOF
7304#line 7304 "configure" 7508#line 7508 "configure"
7305#include "confdefs.h" 7509#include "confdefs.h"
7306 7510
7307#if HAVE_DLFCN_H 7511#if HAVE_DLFCN_H
7308#include <dlfcn.h> 7512#include <dlfcn.h>
7309#endif 7513#endif
8032MALLOC_TYPE=S 8236MALLOC_TYPE=S
8033support_addstrings=no 8237support_addstrings=no
8034support_frills=no 8238support_frills=no
8035support_linespace=no 8239support_linespace=no
8036support_inheritpixmap=no 8240support_inheritpixmap=no
8241support_tinting=no
8242support_fading=no
8037support_keepscrolling=no 8243support_keepscrolling=no
8038support_selectionscrolling=no 8244support_selectionscrolling=no
8039support_menubar=no 8245support_menubar=no
8040support_mousewheel=no 8246support_mousewheel=no
8041support_mouseslipwheel=no 8247support_mouseslipwheel=no
8042support_oldselection=no
8043support_utmp=no 8248support_utmp=no
8044support_wtmp=no 8249support_wtmp=no
8045support_lastlog=no 8250support_lastlog=no
8046support_cursor_blink=no 8251support_cursor_blink=no
8047support_text_blink=no 8252support_text_blink=no
8052support_scroll_plain=no 8257support_scroll_plain=no
8053support_xim=no 8258support_xim=no
8054support_xpm=no 8259support_xpm=no
8055support_xft=no 8260support_xft=no
8056support_unicode3=no 8261support_unicode3=no
8262support_combining=no
8263support_8bitctrls=no
8264support_iso14755=no
8265support_styles=no
8057codesets= 8266codesets=
8058 8267
8059 8268
8060if test "x$enable_shared" = xyes; then 8269if test "x$enable_shared" = xyes; then
8061 8270
8073 if test x$enableval = xyes; then 8282 if test x$enableval = xyes; then
8074 support_24bit=yes 8283 support_24bit=yes
8075 support_frills=yes 8284 support_frills=yes
8076 support_linespace=yes 8285 support_linespace=yes
8077 support_inheritpixmap=yes 8286 support_inheritpixmap=yes
8287 support_tinting=yes
8288 support_fading=yes
8078 support_keepscrolling=yes 8289 support_keepscrolling=yes
8079 support_selectionscrolling=yes 8290 support_selectionscrolling=yes
8080 support_lastlog=yes 8291 support_lastlog=yes
8081 support_menubar=yes 8292 support_menubar=yes
8082 support_mousewheel=yes 8293 support_mousewheel=yes
8083 support_mouseslipwheel=yes 8294 support_mouseslipwheel=yes
8084 support_oldselection=yes
8085 support_cursor_blink=yes 8295 support_cursor_blink=yes
8086 support_text_blink=yes 8296 support_text_blink=yes
8087 support_pointer_blank=yes 8297 support_pointer_blank=yes
8088 support_scroll_rxvt=yes 8298 support_scroll_rxvt=yes
8089 support_scroll_next=yes 8299 support_scroll_next=yes
8093 support_wtmp=yes 8303 support_wtmp=yes
8094 support_xim=yes 8304 support_xim=yes
8095 support_xpm=yes 8305 support_xpm=yes
8096 support_xft=yes 8306 support_xft=yes
8097 support_unicode3=yes 8307 support_unicode3=yes
8308 support_combining=yes
8309 #support_8bitctrls=yes
8310 support_iso14755=yes
8311 support_styles=yes
8098 codesets=all 8312 codesets=all
8099 fi 8313 fi
8100fi; 8314fi;
8101 8315
8102# Check whether --enable-unicode3 or --disable-unicode3 was given. 8316# Check whether --enable-unicode3 or --disable-unicode3 was given.
8103if test "${enable_unicode3+set}" = set; then 8317if test "${enable_unicode3+set}" = set; then
8104 enableval="$enable_unicode3" 8318 enableval="$enable_unicode3"
8105 if test x$enableval = xyes -o x$enableval = xno; then 8319 if test x$enableval = xyes -o x$enableval = xno; then
8106 support_unicode3=yes 8320 support_unicode3=$enableval
8321 fi
8322fi;
8323
8324# Check whether --enable-combining or --disable-combining was given.
8325if test "${enable_combining+set}" = set; then
8326 enableval="$enable_combining"
8327 if test x$enableval = xyes -o x$enableval = xno; then
8328 support_combining=$enableval
8107 fi 8329 fi
8108fi; 8330fi;
8109 8331
8110# Check whether --enable-xft or --disable-xft was given. 8332# Check whether --enable-xft or --disable-xft was given.
8111if test "${enable_xft+set}" = set; then 8333if test "${enable_xft+set}" = set; then
8112 enableval="$enable_xft" 8334 enableval="$enable_xft"
8113 if test x$enableval = xyes -o x$enableval = xno; then 8335 if test x$enableval = xyes -o x$enableval = xno; then
8114 support_xft=yes 8336 support_xft=$enableval
8337 fi
8338fi;
8339
8340# Check whether --enable-font-styles or --disable-font-styles was given.
8341if test "${enable_font_styles+set}" = set; then
8342 enableval="$enable_font_styles"
8343 if test x$enableval = xyes -o x$enableval = xno; then
8344 support_styles=$enableval
8115 fi 8345 fi
8116fi; 8346fi;
8117 8347
8118# Check whether --enable-utmp or --disable-utmp was given. 8348# Check whether --enable-utmp or --disable-utmp was given.
8119if test "${enable_utmp+set}" = set; then 8349if test "${enable_utmp+set}" = set; then
8153 if test x$enableval = xyes -o x$enableval = xno; then 8383 if test x$enableval = xyes -o x$enableval = xno; then
8154 support_inheritpixmap=$enableval 8384 support_inheritpixmap=$enableval
8155 fi 8385 fi
8156fi; 8386fi;
8157 8387
8388# Check whether --enable-tinting or --disable-tinting was given.
8389if test "${enable_tinting+set}" = set; then
8390 enableval="$enable_tinting"
8391 if test x$enableval = xyes -o x$enableval = xno; then
8392 support_tinting=$enableval
8393 fi
8394fi;
8395
8396# Check whether --enable-fading or --disable-fading was given.
8397if test "${enable_fading+set}" = set; then
8398 enableval="$enable_fading"
8399 if test x$enableval = xyes -o x$enableval = xno; then
8400 support_fading=$enableval
8401 fi
8402fi;
8403
8158# Check whether --enable-menubar or --disable-menubar was given. 8404# Check whether --enable-menubar or --disable-menubar was given.
8159if test "${enable_menubar+set}" = set; then 8405if test "${enable_menubar+set}" = set; then
8160 enableval="$enable_menubar" 8406 enableval="$enable_menubar"
8161 if test x$enableval = xyes -o x$enableval = xno; then 8407 if test x$enableval = xyes -o x$enableval = xno; then
8162 support_menubar=$enableval 8408 support_menubar=$enableval
8280_ACEOF 8526_ACEOF
8281 8527
8282 fi 8528 fi
8283fi; 8529fi;
8284 8530
8531# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8532if test "${enable_8bitctrls+set}" = set; then
8533 enableval="$enable_8bitctrls"
8534 if test x$enableval = xyes -o x$enableval = xno; then
8535 support_8bitctrls=$enableval
8536 fi
8537fi;
8538
8285RESFALLBACK=Rxvt 8539RESFALLBACK=Rxvt
8286# Check whether --enable-fallback or --disable-fallback was given. 8540# Check whether --enable-fallback or --disable-fallback was given.
8287if test "${enable_fallback+set}" = set; then 8541if test "${enable_fallback+set}" = set; then
8288 enableval="$enable_fallback" 8542 enableval="$enable_fallback"
8289 8543
8332# Check whether --with-name or --without-name was given. 8586# Check whether --with-name or --without-name was given.
8333if test "${with_name+set}" = set; then 8587if test "${with_name+set}" = set; then
8334 withval="$with_name" 8588 withval="$with_name"
8335 RXVTNAME="$withval" 8589 RXVTNAME="$withval"
8336fi; 8590fi;
8591
8592cat >>confdefs.h <<_ACEOF
8593#define RXVTNAME "$RXVTNAME"
8594_ACEOF
8595
8337 8596
8338RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 8597RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
8339 8598
8340 8599
8341# Check whether --enable-strings or --disable-strings was given. 8600# Check whether --enable-strings or --disable-strings was given.
8356_ACEOF 8615_ACEOF
8357 8616
8358 fi 8617 fi
8359fi; 8618fi;
8360 8619
8620# Check whether --enable-iso14755 or --disable-iso14755 was given.
8621if test "${enable_iso14755+set}" = set; then
8622 enableval="$enable_iso14755"
8623 if test x$enableval = xyes -o x$enableval = xno; then
8624 support_iso14755=$enableval
8625 fi
8626fi;
8627
8361# Check whether --enable-frills or --disable-frills was given. 8628# Check whether --enable-frills or --disable-frills was given.
8362if test "${enable_frills+set}" = set; then 8629if test "${enable_frills+set}" = set; then
8363 enableval="$enable_frills" 8630 enableval="$enable_frills"
8364 if test x$enableval = xyes -o x$enableval = xno; then 8631 if test x$enableval = xyes -o x$enableval = xno; then
8365 support_frills=$enableval 8632 support_frills=$enableval
8409# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8676# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8410if test "${enable_slipwheeling+set}" = set; then 8677if test "${enable_slipwheeling+set}" = set; then
8411 enableval="$enable_slipwheeling" 8678 enableval="$enable_slipwheeling"
8412 if test x$enableval = xyes -o x$enableval = xno; then 8679 if test x$enableval = xyes -o x$enableval = xno; then
8413 support_mouseslipwheel=$enableval 8680 support_mouseslipwheel=$enableval
8414 fi
8415fi;
8416
8417# Check whether --enable-old-selection or --disable-old-selection was given.
8418if test "${enable_old_selection+set}" = set; then
8419 enableval="$enable_old_selection"
8420 if test x$enableval = xyes -o x$enableval = xno; then
8421 support_oldselection=$enableval
8422 fi
8423fi;
8424
8425# Check whether --enable-new-selection or --disable-new-selection was given.
8426if test "${enable_new_selection+set}" = set; then
8427 enableval="$enable_new_selection"
8428 if test x$enableval = xno; then
8429
8430cat >>confdefs.h <<\_ACEOF
8431#define NO_NEW_SELECTION 1
8432_ACEOF
8433
8434 fi 8681 fi
8435fi; 8682fi;
8436 8683
8437# Check whether --enable-dmalloc or --disable-dmalloc was given. 8684# Check whether --enable-dmalloc or --disable-dmalloc was given.
8438if test "${enable_dmalloc+set}" = set; then 8685if test "${enable_dmalloc+set}" = set; then
8461 enableval="$enable_smart_resize" 8708 enableval="$enable_smart_resize"
8462 if test x$enableval = xyes; then 8709 if test x$enableval = xyes; then
8463 8710
8464cat >>confdefs.h <<\_ACEOF 8711cat >>confdefs.h <<\_ACEOF
8465#define SMART_RESIZE 1 8712#define SMART_RESIZE 1
8466_ACEOF
8467
8468 fi
8469fi;
8470
8471# Check whether --enable-256-color or --disable-256-color was given.
8472if test "${enable_256_color+set}" = set; then
8473 enableval="$enable_256_color"
8474 if test x$enableval = xyes; then
8475
8476cat >>confdefs.h <<\_ACEOF
8477#define TTY_256COLOR 1
8478_ACEOF 8713_ACEOF
8479 8714
8480 fi 8715 fi
8481fi; 8716fi;
8482 8717
8861else 9096else
8862 echo "$as_me:$LINENO: result: no" >&5 9097 echo "$as_me:$LINENO: result: no" >&5
8863echo "${ECHO_T}no" >&6 9098echo "${ECHO_T}no" >&6
8864fi 9099fi
8865 9100
9101# Extract the first word of "tic", so it can be a program name with args.
9102set dummy tic; ac_word=$2
9103echo "$as_me:$LINENO: checking for $ac_word" >&5
9104echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9105if test "${ac_cv_path_TIC+set}" = set; then
9106 echo $ECHO_N "(cached) $ECHO_C" >&6
9107else
9108 case $TIC in
9109 [\\/]* | ?:[\\/]*)
9110 ac_cv_path_TIC="$TIC" # Let the user override the test with a path.
9111 ;;
9112 *)
9113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9114for as_dir in $PATH
9115do
9116 IFS=$as_save_IFS
9117 test -z "$as_dir" && as_dir=.
9118 for ac_exec_ext in '' $ac_executable_extensions; do
9119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9120 ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext"
9121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9122 break 2
9123 fi
9124done
9125done
8866 9126
9127 ;;
9128esac
9129fi
9130TIC=$ac_cv_path_TIC
8867 9131
9132if test -n "$TIC"; then
9133 echo "$as_me:$LINENO: result: $TIC" >&5
9134echo "${ECHO_T}$TIC" >&6
9135else
9136 echo "$as_me:$LINENO: result: no" >&5
9137echo "${ECHO_T}no" >&6
9138fi
8868 9139
9140
9141
9142
9143
9144if test "x$ac_path_x_has_been_run" != xyes; then
8869echo "$as_me:$LINENO: checking for X" >&5 9145 echo "$as_me:$LINENO: checking for X" >&5
8870echo $ECHO_N "checking for X... $ECHO_C" >&6 9146echo $ECHO_N "checking for X... $ECHO_C" >&6
8871 9147
9148ac_path_x_has_been_run=yes
8872 9149
8873# Check whether --with-x or --without-x was given. 9150# Check whether --with-x or --without-x was given.
8874if test "${with_x+set}" = set; then 9151if test "${with_x+set}" = set; then
8875 withval="$with_x" 9152 withval="$with_x"
8876 9153
8959 9236
8960/usr/openwin/include 9237/usr/openwin/include
8961/usr/openwin/share/include' 9238/usr/openwin/share/include'
8962 9239
8963if test "$ac_x_includes" = no; then 9240if test "$ac_x_includes" = no; then
8964 # Guess where to find include files, by looking for Intrinsic.h. 9241 # Guess where to find include files, by looking for a specified header file.
8965 # First, try using that file with no special directory specified. 9242 # First, try using that file with no special directory specified.
8966 cat >conftest.$ac_ext <<_ACEOF 9243 cat >conftest.$ac_ext <<_ACEOF
8967/* confdefs.h. */ 9244/* confdefs.h. */
8968_ACEOF 9245_ACEOF
8969cat confdefs.h >>conftest.$ac_ext 9246cat confdefs.h >>conftest.$ac_ext
9093 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9370 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9094 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9371 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9095 # Update the cache value to reflect the command line values. 9372 # Update the cache value to reflect the command line values.
9096 ac_cv_have_x="have_x=yes \ 9373 ac_cv_have_x="have_x=yes \
9097 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9374 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9375 # It might be that x_includes is empty (headers are found in the
9376 # standard search path. Then output the corresponding message
9377 ac_out_x_includes=$x_includes
9378 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
9098 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 9379 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9099echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9380echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9100fi 9381fi
9101 9382
9383fi
9102if test "$no_x" = yes; then 9384if test "$no_x" = yes; then
9103 # Not all programs may use this symbol, but it does not hurt to define it. 9385 # Not all programs may use this symbol, but it does not hurt to define it.
9104 9386
9105cat >>confdefs.h <<\_ACEOF 9387cat >>confdefs.h <<\_ACEOF
9106#define X_DISPLAY_MISSING 1 9388#define X_DISPLAY_MISSING 1
10683 10965
10684 10966
10685 10967
10686 10968
10687 10969
10970
10688for ac_header in \ 10971for ac_header in \
10689 assert.h \ 10972 assert.h \
10690 fcntl.h \ 10973 fcntl.h \
10691 grp.h \ 10974 grp.h \
10692 libc.h \ 10975 libc.h \
10699 sys/byteorder.h \ 10982 sys/byteorder.h \
10700 sys/ioctl.h \ 10983 sys/ioctl.h \
10701 sys/select.h \ 10984 sys/select.h \
10702 sys/sockio.h \ 10985 sys/sockio.h \
10703 sys/strredir.h \ 10986 sys/strredir.h \
10987 sys/stropts.h \
10704 sys/time.h \ 10988 sys/time.h \
10705 utmp.h \ 10989 utmp.h \
10706 utmpx.h \ 10990 utmpx.h \
10707 stdint.h \ 10991 stdint.h \
10708 10992
11494cat >>confdefs.h <<\_ACEOF 11778cat >>confdefs.h <<\_ACEOF
11495#define gid_t int 11779#define gid_t int
11496_ACEOF 11780_ACEOF
11497 11781
11498fi 11782fi
11499
11500 11783
11501 11784
11502echo "$as_me:$LINENO: checking for char" >&5 11785echo "$as_me:$LINENO: checking for char" >&5
11503echo $ECHO_N "checking for char... $ECHO_C" >&6 11786echo $ECHO_N "checking for char... $ECHO_C" >&6
11504if test "${ac_cv_type_char+set}" = set; then 11787if test "${ac_cv_type_char+set}" = set; then
15859/* confdefs.h. */ 16142/* confdefs.h. */
15860_ACEOF 16143_ACEOF
15861cat confdefs.h >>conftest.$ac_ext 16144cat confdefs.h >>conftest.$ac_ext
15862cat >>conftest.$ac_ext <<_ACEOF 16145cat >>conftest.$ac_ext <<_ACEOF
15863/* end confdefs.h. */ 16146/* end confdefs.h. */
15864#include <locale.h> 16147#include <clocale>
15865int 16148int
15866main () 16149main ()
15867{ 16150{
15868setlocale(LC_CTYPE, ""); 16151setlocale(LC_CTYPE, "");
15869 ; 16152 ;
15970#define HAVE_NL_LANGINFO 1 16253#define HAVE_NL_LANGINFO 1
15971_ACEOF 16254_ACEOF
15972 16255
15973fi 16256fi
15974 16257
16258echo "$as_me:$LINENO: checking for broken XIM callback" >&5
16259echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
16260if test "${rxvt_broken_ximcb+set}" = set; then
16261 echo $ECHO_N "(cached) $ECHO_C" >&6
16262else
16263 cat >conftest.$ac_ext <<_ACEOF
16264
16265#include <X11/Xlib.h>
16266
16267void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
16268
16269void f() {
16270 XIMCallback cb;
16271 cb.callback = im_destroy_cb;
16272}
16273
16274_ACEOF
16275rm -f conftest.$ac_objext
16276if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16277 (eval $ac_compile) 2>conftest.er1
16278 ac_status=$?
16279 grep -v '^ *+' conftest.er1 >conftest.err
16280 rm -f conftest.er1
16281 cat conftest.err >&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); } &&
16284 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16287 ac_status=$?
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; } &&
16290 { ac_try='test -s conftest.$ac_objext'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16293 ac_status=$?
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; }; then
16296 rxvt_broken_ximcb=yes
16297else
16298 echo "$as_me: failed program was:" >&5
16299sed 's/^/| /' conftest.$ac_ext >&5
16300
16301rxvt_broken_ximcb=no
16302fi
16303rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16304fi
16305echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
16306echo "${ECHO_T}$rxvt_broken_ximcb" >&6
16307
16308if test x$rxvt_broken_ximcb = xyes; then
16309
16310cat >>confdefs.h <<\_ACEOF
16311#define XIMCB_PROTO_BROKEN 1
16312_ACEOF
16313
16314fi
16315
15975echo "$as_me:$LINENO: checking for getpt" >&5 16316echo "$as_me:$LINENO: checking for getpt" >&5
15976echo $ECHO_N "checking for getpt... $ECHO_C" >&6 16317echo $ECHO_N "checking for getpt... $ECHO_C" >&6
15977if test "${rxvt_cv_func_getpt+set}" = set; then 16318if test "${rxvt_cv_func_getpt+set}" = set; then
15978 echo $ECHO_N "(cached) $ECHO_C" >&6 16319 echo $ECHO_N "(cached) $ECHO_C" >&6
15979else 16320else
15983cat confdefs.h >>conftest.$ac_ext 16324cat confdefs.h >>conftest.$ac_ext
15984cat >>conftest.$ac_ext <<_ACEOF 16325cat >>conftest.$ac_ext <<_ACEOF
15985/* end confdefs.h. */ 16326/* end confdefs.h. */
15986#define _GNU_SOURCE 16327#define _GNU_SOURCE
15987#ifdef HAVE_STDLIB_H 16328#ifdef HAVE_STDLIB_H
15988# include <stdlib.h> 16329# include <cstdlib>
15989#endif 16330#endif
15990int 16331int
15991main () 16332main ()
15992{ 16333{
15993(void)getpt(); 16334(void)getpt();
16156 16497
16157cat >>confdefs.h <<_ACEOF 16498cat >>confdefs.h <<_ACEOF
16158#define PTYCHAR2 "$pch2" 16499#define PTYCHAR2 "$pch2"
16159_ACEOF 16500_ACEOF
16160 16501
16161fi
16162
16163echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
16164echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
16165if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16167else
16168 ac_check_lib_save_LIBS=$LIBS
16169LIBS="-lxpg4 $LIBS"
16170cat >conftest.$ac_ext <<_ACEOF
16171/* confdefs.h. */
16172_ACEOF
16173cat confdefs.h >>conftest.$ac_ext
16174cat >>conftest.$ac_ext <<_ACEOF
16175/* end confdefs.h. */
16176
16177/* Override any gcc2 internal prototype to avoid an error. */
16178#ifdef __cplusplus
16179extern "C"
16180#endif
16181/* We use char because int might match the return type of a gcc2
16182 builtin and then its argument prototype would still apply. */
16183char setlocale ();
16184int
16185main ()
16186{
16187setlocale ();
16188 ;
16189 return 0;
16190}
16191_ACEOF
16192rm -f conftest.$ac_objext conftest$ac_exeext
16193if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16194 (eval $ac_link) 2>conftest.er1
16195 ac_status=$?
16196 grep -v '^ *+' conftest.er1 >conftest.err
16197 rm -f conftest.er1
16198 cat conftest.err >&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } &&
16201 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16204 ac_status=$?
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; } &&
16207 { ac_try='test -s conftest$ac_exeext'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16210 ac_status=$?
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16213 ac_cv_lib_xpg4_setlocale=yes
16214else
16215 echo "$as_me: failed program was:" >&5
16216sed 's/^/| /' conftest.$ac_ext >&5
16217
16218ac_cv_lib_xpg4_setlocale=no
16219fi
16220rm -f conftest.err conftest.$ac_objext \
16221 conftest$ac_exeext conftest.$ac_ext
16222LIBS=$ac_check_lib_save_LIBS
16223fi
16224echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
16225echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
16226if test $ac_cv_lib_xpg4_setlocale = yes; then
16227 LIBS="$LIBS -lxpg4"
16228fi
16229
16230
16231if test x$support_inheritpixmap = xyes; then
16232
16233cat >>confdefs.h <<\_ACEOF
16234#define TRANSPARENT 1
16235_ACEOF
16236
16237fi
16238if test x$support_keepscrolling = xno; then
16239
16240cat >>confdefs.h <<\_ACEOF
16241#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
16242_ACEOF
16243
16244fi
16245if test x$support_selectionscrolling = xyes; then
16246
16247cat >>confdefs.h <<\_ACEOF
16248#define SELECTION_SCROLLING 1
16249_ACEOF
16250
16251fi
16252if test x$support_menubar = xyes; then
16253
16254cat >>confdefs.h <<\_ACEOF
16255#define MENUBAR 1
16256_ACEOF
16257
16258fi
16259if test x$support_frills = xno; then
16260
16261cat >>confdefs.h <<\_ACEOF
16262#define NO_FRILLS 1
16263_ACEOF
16264
16265fi
16266if test x$support_linespace = xno; then
16267
16268cat >>confdefs.h <<\_ACEOF
16269#define NO_LINESPACE 1
16270_ACEOF
16271
16272fi
16273if test x$support_24bit = xyes; then
16274
16275cat >>confdefs.h <<\_ACEOF
16276#define PREFER_24BIT 1
16277_ACEOF
16278
16279fi
16280if test x$support_mousewheel = xyes; then
16281
16282cat >>confdefs.h <<\_ACEOF
16283#define MOUSE_WHEEL 1
16284_ACEOF
16285
16286fi
16287if test x$support_mouseslipwheel = xyes; then
16288
16289cat >>confdefs.h <<\_ACEOF
16290#define MOUSE_SLIP_WHEELING 1
16291_ACEOF
16292
16293fi
16294if test x$support_oldselection = xno; then
16295
16296cat >>confdefs.h <<\_ACEOF
16297#define NO_OLD_SELECTION 1
16298_ACEOF
16299
16300fi
16301if test x$support_utmp = xyes; then
16302
16303cat >>confdefs.h <<\_ACEOF
16304#define UTMP_SUPPORT 1
16305_ACEOF
16306
16307fi
16308if test x$support_wtmp = xyes; then
16309
16310cat >>confdefs.h <<\_ACEOF
16311#define WTMP_SUPPORT 1
16312_ACEOF
16313
16314fi
16315if test x$support_lastlog = xyes; then
16316
16317cat >>confdefs.h <<\_ACEOF
16318#define LASTLOG_SUPPORT 1
16319_ACEOF
16320
16321fi
16322if test x$support_xim = xyes -o x$multichar_set = xyes; then
16323 if test x$rxvt_cv_func_xlocale = xyes; then
16324
16325cat >>confdefs.h <<\_ACEOF
16326#define USE_XIM 1
16327_ACEOF
16328
16329 fi
16330fi
16331if test x$support_xpm = xyes; then
16332
16333cat >>confdefs.h <<\_ACEOF
16334#define XPM_BACKGROUND 1
16335_ACEOF
16336
16337fi
16338if test x$support_scroll_rxvt = xyes; then
16339
16340cat >>confdefs.h <<\_ACEOF
16341#define RXVT_SCROLLBAR 1
16342_ACEOF
16343
16344 scrolltypes="rxvt"
16345fi
16346if test x$support_scroll_next = xyes; then
16347
16348cat >>confdefs.h <<\_ACEOF
16349#define NEXT_SCROLLBAR 1
16350_ACEOF
16351
16352 scrolltypes="$scrolltypes next"
16353fi
16354if test x$support_scroll_xterm = xyes; then
16355
16356cat >>confdefs.h <<\_ACEOF
16357#define XTERM_SCROLLBAR 1
16358_ACEOF
16359
16360 scrolltypes="$scrolltypes xterm"
16361fi
16362if test x$support_scroll_plain = xyes; then
16363
16364cat >>confdefs.h <<\_ACEOF
16365#define PLAIN_SCROLLBAR 1
16366_ACEOF
16367
16368 scrolltypes="$scrolltypes plain"
16369fi
16370if test x$support_pointer_blank = xyes; then
16371
16372cat >>confdefs.h <<\_ACEOF
16373#define POINTER_BLANK 1
16374_ACEOF
16375
16376fi
16377if test x$support_cursor_blink = xyes; then
16378
16379cat >>confdefs.h <<\_ACEOF
16380#define CURSOR_BLINK 1
16381_ACEOF
16382
16383fi
16384if test x$support_text_blink = xyes; then
16385
16386cat >>confdefs.h <<\_ACEOF
16387#define TEXT_BLINK 1
16388_ACEOF
16389
16390fi
16391if test x$support_unicode3 = xyes; then
16392
16393cat >>confdefs.h <<\_ACEOF
16394#define UNICODE_3 1
16395_ACEOF
16396
16397fi
16398if test x$codesets = xall; then
16399 codesets=jp,jp-ext,kr,cn,cn-ext,vn
16400fi
16401for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16402
16403cat >>confdefs.h <<\_ACEOF
16404#define ENCODING_EU 1
16405_ACEOF
16406
16407
16408cat >>confdefs.h <<\_ACEOF
16409#define ENCODING_VN 1
16410_ACEOF
16411
16412 case "$codeset" in
16413 JP )
16414cat >>confdefs.h <<\_ACEOF
16415#define ENCODING_JP 1
16416_ACEOF
16417 ;;
16418 JP_EXT )
16419cat >>confdefs.h <<\_ACEOF
16420#define ENCODING_JP_EXT 1
16421_ACEOF
16422 ;;
16423 KR )
16424cat >>confdefs.h <<\_ACEOF
16425#define ENCODING_KR 1
16426_ACEOF
16427 ;;
16428 CN )
16429cat >>confdefs.h <<\_ACEOF
16430#define ENCODING_CN 1
16431_ACEOF
16432 ;;
16433 CN_EXT )
16434cat >>confdefs.h <<\_ACEOF
16435#define ENCODING_CN_EXT 1
16436_ACEOF
16437 ;;
16438 esac
16439done
16440
16441
16442CFLAGS=${CFLAGS--O}
16443LDFLAGS=${LDFLAGS--O}
16444
16445CPPFLAGS="$CPPFLAGS"
16446
16447
16448
16449
16450
16451
16452
16453if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
16454 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
16455 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
16456 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
16457 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
16458 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
16459fi
16460
16461
16462
16463
16464
16465if test x$support_addstrings = xno; then
16466
16467cat >>confdefs.h <<\_ACEOF
16468#define NO_STRINGS 1
16469_ACEOF
16470
16471fi
16472
16473MCOMMON=./autoconf/Make.common
16474
16475
16476test "$program_prefix" != NONE &&
16477 program_transform_name="s,^,$program_prefix,;$program_transform_name"
16478# Use a double $ so make ignores it.
16479test "$program_suffix" != NONE &&
16480 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
16481# Double any \ or $. echo might interpret backslashes.
16482# By default was `s,x,x', remove it if useless.
16483cat <<\_ACEOF >conftest.sed
16484s/[\\$]/&&/g;s/;s,x,x,$//
16485_ACEOF
16486program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16487rm conftest.sed
16488
16489
16490
16491
16492
16493if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16494 include_stdint_h="#include <stdint.h>"
16495else
16496 include_stdint_h="/* #include <stdint.h> */"
16497fi
16498if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16499 include_stdarg_h="#include <stdarg.h>"
16500else
16501 include_stdarg_h="/* #include <stdarg.h> */"
16502fi
16503if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16504 include_stdlib_h="#include <stdlib.h>"
16505else
16506 include_stdlib_h="/* #include <stdlib.h> */"
16507fi
16508if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16509 include_unistd_h="#include <unistd.h>"
16510else
16511 include_unistd_h="/* #include <unistd.h> */"
16512fi
16513if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16514 include_string_h="#include <string.h>"
16515else
16516 include_string_h="/* #include <string.h> */"
16517fi
16518if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16519 include_fcntl_h="#include <fcntl.h>"
16520else
16521 include_fcntl_h="/* #include <fcntl.h> */"
16522fi
16523if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
16524 include_util_h="#include <util.h>"
16525else
16526 include_util_h="/* #include <util.h> */"
16527fi
16528if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
16529 include_assert_h="#include <assert.h>"
16530else
16531 include_assert_h="/* #include <assert.h> */"
16532fi
16533if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
16534 include_sys_ioctl_h="#include <sys/ioctl.h>"
16535else
16536 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
16537fi
16538if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
16539 include_sys_select_h="#include <sys/select.h>"
16540else
16541 include_sys_select_h="/* #include <sys/select.h> */"
16542fi
16543if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
16544 include_sys_strredir_h="#include <sys/strredir.h>"
16545else
16546 include_sys_strredir_h="/* #include <sys/strredir.h> */"
16547fi
16548if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
16549 include_sys_time_h="#include <sys/time.h>"
16550else
16551 include_sys_time_h="/* #include <sys/time.h> */"
16552fi
16553if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
16554 include_time_h="#include <time.h>"
16555else
16556 include_time_h="/* #include <time.h> */"
16557fi 16502fi
16558 16503
16559if test x$support_xft = xyes; then 16504if test x$support_xft = xyes; then
16560 LIBS="$LIBS `pkg-config xft --libs`" 16505 LIBS="$LIBS `pkg-config xft --libs`"
16561 CFLAGS="$CFLAGS `pkg-config xft --cflags`" 16506 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
16794#define XFT 1 16739#define XFT 1
16795_ACEOF 16740_ACEOF
16796 16741
16797 fi 16742 fi
16798fi 16743fi
16744if test x$support_styles = xyes; then
16745
16746cat >>confdefs.h <<\_ACEOF
16747#define ENABLE_STYLES 1
16748_ACEOF
16749
16750fi
16751if test x$support_iso14755 = xyes; then
16752
16753cat >>confdefs.h <<\_ACEOF
16754#define ISO_14755 1
16755_ACEOF
16756
16757fi
16758if test x$support_8bitctrls = xyes; then
16759
16760cat >>confdefs.h <<\_ACEOF
16761#define EIGHT_BIT_CONTROLS 1
16762_ACEOF
16763
16764fi
16765if test x$support_fading = xyes; then
16766
16767cat >>confdefs.h <<\_ACEOF
16768#define OFF_FOCUS_FADING 1
16769_ACEOF
16770
16771fi
16772if test x$support_tinting = xyes; then
16773
16774cat >>confdefs.h <<\_ACEOF
16775#define TINTING 1
16776_ACEOF
16777
16778fi
16779if test x$support_inheritpixmap = xyes; then
16780
16781cat >>confdefs.h <<\_ACEOF
16782#define TRANSPARENT 1
16783_ACEOF
16784
16785fi
16786if test x$support_keepscrolling = xno; then
16787
16788cat >>confdefs.h <<\_ACEOF
16789#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
16790_ACEOF
16791
16792fi
16793if test x$support_selectionscrolling = xyes; then
16794
16795cat >>confdefs.h <<\_ACEOF
16796#define SELECTION_SCROLLING 1
16797_ACEOF
16798
16799fi
16800if test x$support_menubar = xyes; then
16801
16802cat >>confdefs.h <<\_ACEOF
16803#define MENUBAR 1
16804_ACEOF
16805
16806fi
16807if test x$support_frills = xyes; then
16808
16809cat >>confdefs.h <<\_ACEOF
16810#define ENABLE_FRILLS 1
16811_ACEOF
16812
16813fi
16814if test x$support_linespace = xno; then
16815
16816cat >>confdefs.h <<\_ACEOF
16817#define NO_LINESPACE 1
16818_ACEOF
16819
16820fi
16821if test x$support_24bit = xyes; then
16822
16823cat >>confdefs.h <<\_ACEOF
16824#define PREFER_24BIT 1
16825_ACEOF
16826
16827fi
16828if test x$support_mousewheel = xyes; then
16829
16830cat >>confdefs.h <<\_ACEOF
16831#define MOUSE_WHEEL 1
16832_ACEOF
16833
16834fi
16835if test x$support_mouseslipwheel = xyes; then
16836
16837cat >>confdefs.h <<\_ACEOF
16838#define MOUSE_SLIP_WHEELING 1
16839_ACEOF
16840
16841fi
16842if test x$support_utmp = xyes; then
16843
16844cat >>confdefs.h <<\_ACEOF
16845#define UTMP_SUPPORT 1
16846_ACEOF
16847
16848fi
16849if test x$support_wtmp = xyes; then
16850
16851cat >>confdefs.h <<\_ACEOF
16852#define WTMP_SUPPORT 1
16853_ACEOF
16854
16855fi
16856if test x$support_lastlog = xyes; then
16857
16858cat >>confdefs.h <<\_ACEOF
16859#define LASTLOG_SUPPORT 1
16860_ACEOF
16861
16862fi
16863if test x$support_xim = xyes -o x$multichar_set = xyes; then
16864 if test x$rxvt_cv_func_xlocale = xyes; then
16865
16866cat >>confdefs.h <<\_ACEOF
16867#define USE_XIM 1
16868_ACEOF
16869
16870 fi
16871fi
16872if test x$support_xpm = xyes; then
16873
16874cat >>confdefs.h <<\_ACEOF
16875#define XPM_BACKGROUND 1
16876_ACEOF
16877
16878fi
16879if test x$support_scroll_rxvt = xyes; then
16880
16881cat >>confdefs.h <<\_ACEOF
16882#define RXVT_SCROLLBAR 1
16883_ACEOF
16884
16885 scrolltypes="rxvt"
16886fi
16887if test x$support_scroll_next = xyes; then
16888
16889cat >>confdefs.h <<\_ACEOF
16890#define NEXT_SCROLLBAR 1
16891_ACEOF
16892
16893 scrolltypes="$scrolltypes next"
16894fi
16895if test x$support_scroll_xterm = xyes; then
16896
16897cat >>confdefs.h <<\_ACEOF
16898#define XTERM_SCROLLBAR 1
16899_ACEOF
16900
16901 scrolltypes="$scrolltypes xterm"
16902fi
16903if test x$support_scroll_plain = xyes; then
16904
16905cat >>confdefs.h <<\_ACEOF
16906#define PLAIN_SCROLLBAR 1
16907_ACEOF
16908
16909 scrolltypes="$scrolltypes plain"
16910fi
16911if test x$support_pointer_blank = xyes; then
16912
16913cat >>confdefs.h <<\_ACEOF
16914#define POINTER_BLANK 1
16915_ACEOF
16916
16917fi
16918if test x$support_cursor_blink = xyes; then
16919
16920cat >>confdefs.h <<\_ACEOF
16921#define CURSOR_BLINK 1
16922_ACEOF
16923
16924fi
16925if test x$support_text_blink = xyes; then
16926
16927cat >>confdefs.h <<\_ACEOF
16928#define TEXT_BLINK 1
16929_ACEOF
16930
16931fi
16932if test x$support_unicode3 = xyes; then
16933
16934cat >>confdefs.h <<\_ACEOF
16935#define UNICODE_3 1
16936_ACEOF
16937
16938fi
16939if test x$support_combining = xyes; then
16940
16941cat >>confdefs.h <<\_ACEOF
16942#define ENABLE_COMBINING 1
16943_ACEOF
16944
16945fi
16946if test x$codesets = xall; then
16947 codesets=jp,jp-ext,kr,zh,zh-ext
16948fi
16949
16950cat >>confdefs.h <<\_ACEOF
16951#define ENCODING_EU 1
16952_ACEOF
16953
16954
16955cat >>confdefs.h <<\_ACEOF
16956#define ENCODING_VN 1
16957_ACEOF
16958
16959for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16960 case "$codeset" in
16961 JP )
16962cat >>confdefs.h <<\_ACEOF
16963#define ENCODING_JP 1
16964_ACEOF
16965 ;;
16966 JP_EXT )
16967cat >>confdefs.h <<\_ACEOF
16968#define ENCODING_JP_EXT 1
16969_ACEOF
16970 ;;
16971 KR )
16972cat >>confdefs.h <<\_ACEOF
16973#define ENCODING_KR 1
16974_ACEOF
16975 ;;
16976 ZH )
16977cat >>confdefs.h <<\_ACEOF
16978#define ENCODING_ZH 1
16979_ACEOF
16980 ;;
16981 ZH_EXT )
16982cat >>confdefs.h <<\_ACEOF
16983#define ENCODING_ZH_EXT 1
16984_ACEOF
16985 ;;
16986 esac
16987done
16988
16989
16990CFLAGS=${CFLAGS--O}
16991LDFLAGS=${LDFLAGS--O}
16992
16993CPPFLAGS="$CPPFLAGS"
16994
16995
16996
16997
16998
16999
17000
17001if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
17002 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
17003 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
17004 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
17005 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
17006 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
17007fi
17008
17009
17010
17011
17012
17013if test x$support_addstrings = xno; then
17014
17015cat >>confdefs.h <<\_ACEOF
17016#define NO_STRINGS 1
17017_ACEOF
17018
17019fi
17020
17021MCOMMON=./autoconf/Make.common
17022
17023
17024test "$program_prefix" != NONE &&
17025 program_transform_name="s,^,$program_prefix,;$program_transform_name"
17026# Use a double $ so make ignores it.
17027test "$program_suffix" != NONE &&
17028 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
17029# Double any \ or $. echo might interpret backslashes.
17030# By default was `s,x,x', remove it if useless.
17031cat <<\_ACEOF >conftest.sed
17032s/[\\$]/&&/g;s/;s,x,x,$//
17033_ACEOF
17034program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
17035rm conftest.sed
17036
17037
17038
17039
17040
17041if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
17042 include_stdint_h="#include <stdint.h>"
17043else
17044 include_stdint_h="/* #include <stdint.h> */"
17045fi
17046if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
17047 include_stdarg_h="#include <cstdarg>"
17048else
17049 include_stdarg_h="/* #include <cstdarg> */"
17050fi
17051if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
17052 include_stdlib_h="#include <cstdlib>"
17053else
17054 include_stdlib_h="/* #include <cstdlib> */"
17055fi
17056if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
17057 include_unistd_h="#include <unistd.h>"
17058else
17059 include_unistd_h="/* #include <unistd.h> */"
17060fi
17061if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
17062 include_string_h="#include <cstring>"
17063else
17064 include_string_h="/* #include <cstring> */"
17065fi
17066if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
17067 include_fcntl_h="#include <fcntl.h>"
17068else
17069 include_fcntl_h="/* #include <fcntl.h> */"
17070fi
17071if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
17072 include_util_h="#include <util.h>"
17073else
17074 include_util_h="/* #include <util.h> */"
17075fi
17076if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
17077 include_assert_h="#include <assert.h>"
17078else
17079 include_assert_h="/* #include <assert.h> */"
17080fi
17081if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
17082 include_sys_ioctl_h="#include <sys/ioctl.h>"
17083else
17084 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
17085fi
17086if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
17087 include_sys_select_h="#include <sys/select.h>"
17088else
17089 include_sys_select_h="/* #include <sys/select.h> */"
17090fi
17091if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
17092 include_sys_strredir_h="#include <sys/strredir.h>"
17093else
17094 include_sys_strredir_h="/* #include <sys/strredir.h> */"
17095fi
17096if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
17097 include_sys_time_h="#include <sys/time.h>"
17098else
17099 include_sys_time_h="/* #include <sys/time.h> */"
17100fi
17101if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
17102 include_time_h="#include <time.h>"
17103else
17104 include_time_h="/* #include <time.h> */"
17105fi
16799 17106
16800 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" 17107 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile"
17108
16801cat >confcache <<\_ACEOF 17109cat >confcache <<\_ACEOF
16802# This file is a shell script that caches the results of configure 17110# This file is a shell script that caches the results of configure
16803# tests run on this system so they can be shared between configure 17111# tests run on this system so they can be shared between configure
16804# scripts and configure runs, see configure's option --config-cache. 17112# scripts and configure runs, see configure's option --config-cache.
16805# It is not useful on other systems. If it contains results you don't 17113# It is not useful on other systems. If it contains results you don't
17459s,@CP@,$CP,;t t 17767s,@CP@,$CP,;t t
17460s,@LN@,$LN,;t t 17768s,@LN@,$LN,;t t
17461s,@SED@,$SED,;t t 17769s,@SED@,$SED,;t t
17462s,@CMP@,$CMP,;t t 17770s,@CMP@,$CMP,;t t
17463s,@TBL@,$TBL,;t t 17771s,@TBL@,$TBL,;t t
17772s,@TIC@,$TIC,;t t
17464s,@X_CFLAGS@,$X_CFLAGS,;t t 17773s,@X_CFLAGS@,$X_CFLAGS,;t t
17465s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 17774s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17466s,@X_LIBS@,$X_LIBS,;t t 17775s,@X_LIBS@,$X_LIBS,;t t
17467s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 17776s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17468s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 17777s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t
18013echo " 18322echo "
18014The following are set in config.h 18323The following are set in config.h
18015" 18324"
18016echo " pty/tty type: "$rxvt_cv_ptys 18325echo " pty/tty type: "$rxvt_cv_ptys
18017if test x$support_utmp != xyes; then 18326if test x$support_utmp != xyes; then
18018 echo " utmp support: disabled 18327 echo " utmp support: disabled"
18019" 18328 echo
18020else 18329else
18021 echo " utmp support: enabled 18330 echo " utmp support: enabled
18022 utmp file: $rxvt_cv_path_utmp 18331 utmp file: $rxvt_cv_path_utmp
18023 utmpx file: $rxvt_cv_path_utmpx 18332 utmpx file: $rxvt_cv_path_utmpx
18024 wtmp file: $rxvt_cv_path_wtmp 18333 wtmp file: $rxvt_cv_path_wtmp
18025 wtmpx file: $rxvt_cv_path_wtmpx 18334 wtmpx file: $rxvt_cv_path_wtmpx
18026 lastlog file: $rxvt_cv_path_lastlog 18335 lastlog file: $rxvt_cv_path_lastlog
18027 ttys/ttytab file: $rxvt_cv_path_ttytab 18336 ttys/ttytab file: $rxvt_cv_path_ttytab"
18028" 18337 echo
18029fi 18338fi
18030if test x$term != x; then 18339if test x$term != x; then
18031 echo " set TERM to: $term 18340 echo " set TERM to: $term"
18032"
18033fi 18341fi
18034if test x$terminfo != x; then 18342if test x$terminfo != x; then
18035 echo " set TERMINFO to: $terminfo 18343 echo " set TERMINFO to: $terminfo"
18036"
18037fi 18344fi
18345echo " default resource name: $RESNAME"
18346echo " resource class: $RESCLASS"
18347if test x$RESFALLBACK != x; then
18348 echo " resource class fallback: $RESFALLBACK"
18349fi
18350echo
18038if test x$rxvt_cv_ptys = xUNKNOWN; then 18351if test x$rxvt_cv_ptys = xUNKNOWN; then
18039 echo ".----------------------------------------------------------------." 18352 echo ".----------------------------------------------------------------."
18040 echo ". WARNING: could not determine pty/tty type. Do not build until ." 18353 echo ". WARNING: could not determine pty/tty type. Do not build until ."
18041 echo ". the appropriate PTYS_ARE_* is defined in config.h ." 18354 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
18042 echo ".----------------------------------------------------------------." 18355 echo ".----------------------------------------------------------------."
18056 echo ". WARNING: --enable-xim was specified however the locale support ." 18369 echo ". WARNING: --enable-xim was specified however the locale support ."
18057 echo ". functions could not be found. ." 18370 echo ". functions could not be found. ."
18058 echo ". XIM is now being DISABLED! ." 18371 echo ". XIM is now being DISABLED! ."
18059 echo ".----------------------------------------------------------------." 18372 echo ".----------------------------------------------------------------."
18060fi 18373fi
18374
18061echo " *** Please check src/feature.h for further options *** 18375echo " *** Please check src/feature.h for further options ***"
18062" 18376echo
18377
18378echo ".----------------------------------------------------------------."
18379echo ". NOTE: most features are disabled by default, try ."
18380echo ". configure --help to get an idea of the optional features ."
18381echo ".----------------------------------------------------------------."
18382echo
18383

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines