… | |
… | |
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 | |
470 | ac_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' |
470 | ac_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' |
471 | ac_subst_files='MCOMMON' |
471 | ac_subst_files='MCOMMON' |
472 | |
472 | |
473 | # Initialize some variables set by options. |
473 | # Initialize some variables set by options. |
474 | ac_init_help= |
474 | ac_init_help= |
475 | ac_init_version=false |
475 | ac_init_version=false |
… | |
… | |
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-combining enable composition of base and combining characters |
1035 | --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 |
1036 | --enable-utmp enable utmp (utmpx) support |
1037 | --enable-utmp enable utmp (utmpx) support |
1037 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1038 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1038 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1039 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1039 | --enable-xpm-background enable XPM background pixmaps |
1040 | --enable-xpm-background enable XPM background pixmaps |
1040 | --enable-transparency enable transparent backgrounds |
1041 | --enable-transparency enable transparent backgrounds |
1041 | --enable-tinting enable tinting of transparent bg |
1042 | --enable-tinting enable tinting of transparent bg |
|
|
1043 | --enable-fading enable colors fading when off focus |
1042 | --enable-menubar enable menubar |
1044 | --enable-menubar enable menubar |
1043 | --enable-rxvt-scroll enable rxvt style scrollbar |
1045 | --enable-rxvt-scroll enable rxvt style scrollbar |
1044 | --enable-next-scroll enable NeXT style scrollbar |
1046 | --enable-next-scroll enable NeXT style scrollbar |
1045 | --enable-xterm-scroll enable Xterm style scrollbar |
1047 | --enable-xterm-scroll enable Xterm style scrollbar |
1046 | --enable-plain-scroll enable plain style scrollbar |
1048 | --enable-plain-scroll enable plain style scrollbar |
… | |
… | |
1049 | --enable-ttygid enable tty setting to group named "tty" |
1051 | --enable-ttygid enable tty setting to group named "tty" |
1050 | --disable-backspace-key disable handling of the backspace key |
1052 | --disable-backspace-key disable handling of the backspace key |
1051 | --disable-delete-key disable handling of the delete key |
1053 | --disable-delete-key disable handling of the delete key |
1052 | --disable-resources disable all resource checking |
1054 | --disable-resources disable all resource checking |
1053 | --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) |
1054 | --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) |
1055 | --enable-strings enable some replacement system functions |
1058 | --enable-strings enable some replacement system functions |
1056 | --disable-swapscreen disable swap screen support |
1059 | --disable-swapscreen disable swap screen support |
|
|
1060 | --enable-iso14755 enable support for extended ISO 14755 modes |
1057 | --enable-frills enable support for rarely used features |
1061 | --enable-frills enable support for rarely used features |
1058 | --enable-linespace enable support for linespace |
1062 | --enable-linespace enable support for linespace |
1059 | --enable-24bit enable support for using 24bit visuals if available |
1063 | --enable-24bit enable support for using 24bit visuals if available |
1060 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1064 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1061 | --enable-selectionscrolling enable scrolling during selections |
1065 | --enable-selectionscrolling enable scrolling during selections |
… | |
… | |
1063 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1067 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
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 | |
1073 | Optional Packages: |
1076 | Optional Packages: |
1074 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1077 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
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,zh,zh_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=CLASS 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 |
… | |
… | |
1534 | |
1537 | |
1535 | |
1538 | |
1536 | |
1539 | |
1537 | |
1540 | |
1538 | |
1541 | |
|
|
1542 | |
1539 | ac_aux_dir= |
1543 | ac_aux_dir= |
1540 | for ac_dir in autoconf $srcdir/autoconf; do |
1544 | for 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" |
… | |
… | |
3686 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3690 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3687 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3691 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3688 | if test "$ac_cv_search_strerror" != no; then |
3692 | if test "$ac_cv_search_strerror" != no; then |
3689 | 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" |
3690 | |
3694 | |
|
|
3695 | fi |
|
|
3696 | |
|
|
3697 | |
|
|
3698 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
|
|
3699 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
|
|
3700 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
|
|
3701 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3702 | else |
|
|
3703 | ac_check_lib_save_LIBS=$LIBS |
|
|
3704 | LIBS="-lxpg4 $LIBS" |
|
|
3705 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3706 | /* confdefs.h. */ |
|
|
3707 | _ACEOF |
|
|
3708 | cat confdefs.h >>conftest.$ac_ext |
|
|
3709 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3710 | /* end confdefs.h. */ |
|
|
3711 | |
|
|
3712 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3713 | #ifdef __cplusplus |
|
|
3714 | extern "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. */ |
|
|
3718 | char setlocale (); |
|
|
3719 | int |
|
|
3720 | main () |
|
|
3721 | { |
|
|
3722 | setlocale (); |
|
|
3723 | ; |
|
|
3724 | return 0; |
|
|
3725 | } |
|
|
3726 | _ACEOF |
|
|
3727 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3728 | if { (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 |
|
|
3749 | else |
|
|
3750 | echo "$as_me: failed program was:" >&5 |
|
|
3751 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3752 | |
|
|
3753 | ac_cv_lib_xpg4_setlocale=no |
|
|
3754 | fi |
|
|
3755 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3756 | conftest$ac_exeext conftest.$ac_ext |
|
|
3757 | LIBS=$ac_check_lib_save_LIBS |
|
|
3758 | fi |
|
|
3759 | echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5 |
|
|
3760 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
|
|
3761 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
|
|
3762 | LIBS="$LIBS -lxpg4" |
|
|
3763 | fi |
|
|
3764 | |
|
|
3765 | |
|
|
3766 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
|
|
3767 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
|
|
3768 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
|
|
3769 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3770 | else |
|
|
3771 | ac_check_lib_save_LIBS=$LIBS |
|
|
3772 | LIBS="-lnsl $LIBS" |
|
|
3773 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3774 | /* confdefs.h. */ |
|
|
3775 | _ACEOF |
|
|
3776 | cat confdefs.h >>conftest.$ac_ext |
|
|
3777 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3778 | /* end confdefs.h. */ |
|
|
3779 | |
|
|
3780 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3781 | #ifdef __cplusplus |
|
|
3782 | extern "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. */ |
|
|
3786 | char gethostbyname (); |
|
|
3787 | int |
|
|
3788 | main () |
|
|
3789 | { |
|
|
3790 | gethostbyname (); |
|
|
3791 | ; |
|
|
3792 | return 0; |
|
|
3793 | } |
|
|
3794 | _ACEOF |
|
|
3795 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3796 | if { (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 |
|
|
3817 | else |
|
|
3818 | echo "$as_me: failed program was:" >&5 |
|
|
3819 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3820 | |
|
|
3821 | ac_cv_lib_nsl_gethostbyname=no |
|
|
3822 | fi |
|
|
3823 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3824 | conftest$ac_exeext conftest.$ac_ext |
|
|
3825 | LIBS=$ac_check_lib_save_LIBS |
|
|
3826 | fi |
|
|
3827 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
|
|
3828 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
|
|
3829 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
|
|
3830 | LIBS="$LIBS -lnsl" |
|
|
3831 | fi |
|
|
3832 | |
|
|
3833 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
|
|
3834 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
|
|
3835 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
|
|
3836 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3837 | else |
|
|
3838 | ac_check_lib_save_LIBS=$LIBS |
|
|
3839 | LIBS="-lsocket $LIBS" |
|
|
3840 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3841 | /* confdefs.h. */ |
|
|
3842 | _ACEOF |
|
|
3843 | cat confdefs.h >>conftest.$ac_ext |
|
|
3844 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3845 | /* end confdefs.h. */ |
|
|
3846 | |
|
|
3847 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3848 | #ifdef __cplusplus |
|
|
3849 | extern "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. */ |
|
|
3853 | char socket (); |
|
|
3854 | int |
|
|
3855 | main () |
|
|
3856 | { |
|
|
3857 | socket (); |
|
|
3858 | ; |
|
|
3859 | return 0; |
|
|
3860 | } |
|
|
3861 | _ACEOF |
|
|
3862 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3863 | if { (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 |
|
|
3884 | else |
|
|
3885 | echo "$as_me: failed program was:" >&5 |
|
|
3886 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3887 | |
|
|
3888 | ac_cv_lib_socket_socket=no |
|
|
3889 | fi |
|
|
3890 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3891 | conftest$ac_exeext conftest.$ac_ext |
|
|
3892 | LIBS=$ac_check_lib_save_LIBS |
|
|
3893 | fi |
|
|
3894 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
|
|
3895 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
|
|
3896 | if test $ac_cv_lib_socket_socket = yes; then |
|
|
3897 | LIBS="$LIBS -lsocket" |
3691 | fi |
3898 | fi |
3692 | |
3899 | |
3693 | |
3900 | |
3694 | # Check whether --enable-shared or --disable-shared was given. |
3901 | # Check whether --enable-shared or --disable-shared was given. |
3695 | if test "${enable_shared+set}" = set; then |
3902 | if test "${enable_shared+set}" = set; then |
… | |
… | |
5031 | # 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 |
5032 | # libtool support. |
5239 | # libtool support. |
5033 | case "$host" in |
5240 | case "$host" in |
5034 | *-*-irix6*) |
5241 | *-*-irix6*) |
5035 | # Find out which ABI we are using. |
5242 | # Find out which ABI we are using. |
5036 | echo '#line 5036 "configure"' > conftest.$ac_ext |
5243 | echo '#line 5243 "configure"' > conftest.$ac_ext |
5037 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5244 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5038 | (eval $ac_compile) 2>&5 |
5245 | (eval $ac_compile) 2>&5 |
5039 | ac_status=$? |
5246 | ac_status=$? |
5040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5041 | (exit $ac_status); }; then |
5248 | (exit $ac_status); }; then |
… | |
… | |
5582 | # builds. |
5789 | # builds. |
5583 | chmod -w . |
5790 | chmod -w . |
5584 | save_CFLAGS="$CFLAGS" |
5791 | save_CFLAGS="$CFLAGS" |
5585 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5792 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5586 | compiler_c_o=no |
5793 | compiler_c_o=no |
5587 | if { (eval echo configure:5587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
5794 | if { (eval echo configure:5794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
5588 | # 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 |
5589 | # So say no if there are warnings |
5796 | # So say no if there are warnings |
5590 | if test -s out/conftest.err; then |
5797 | if test -s out/conftest.err; then |
5591 | compiler_c_o=no |
5798 | compiler_c_o=no |
5592 | else |
5799 | else |
… | |
… | |
7198 | lt_cv_dlopen_self=cross |
7405 | lt_cv_dlopen_self=cross |
7199 | else |
7406 | else |
7200 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7407 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7201 | lt_status=$lt_dlunknown |
7408 | lt_status=$lt_dlunknown |
7202 | cat > conftest.$ac_ext <<EOF |
7409 | cat > conftest.$ac_ext <<EOF |
7203 | #line 7203 "configure" |
7410 | #line 7410 "configure" |
7204 | #include "confdefs.h" |
7411 | #include "confdefs.h" |
7205 | |
7412 | |
7206 | #if HAVE_DLFCN_H |
7413 | #if HAVE_DLFCN_H |
7207 | #include <dlfcn.h> |
7414 | #include <dlfcn.h> |
7208 | #endif |
7415 | #endif |
… | |
… | |
7296 | lt_cv_dlopen_self_static=cross |
7503 | lt_cv_dlopen_self_static=cross |
7297 | else |
7504 | else |
7298 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7505 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7299 | lt_status=$lt_dlunknown |
7506 | lt_status=$lt_dlunknown |
7300 | cat > conftest.$ac_ext <<EOF |
7507 | cat > conftest.$ac_ext <<EOF |
7301 | #line 7301 "configure" |
7508 | #line 7508 "configure" |
7302 | #include "confdefs.h" |
7509 | #include "confdefs.h" |
7303 | |
7510 | |
7304 | #if HAVE_DLFCN_H |
7511 | #if HAVE_DLFCN_H |
7305 | #include <dlfcn.h> |
7512 | #include <dlfcn.h> |
7306 | #endif |
7513 | #endif |
… | |
… | |
8030 | support_addstrings=no |
8237 | support_addstrings=no |
8031 | support_frills=no |
8238 | support_frills=no |
8032 | support_linespace=no |
8239 | support_linespace=no |
8033 | support_inheritpixmap=no |
8240 | support_inheritpixmap=no |
8034 | support_tinting=no |
8241 | support_tinting=no |
|
|
8242 | support_fading=no |
8035 | support_keepscrolling=no |
8243 | support_keepscrolling=no |
8036 | support_selectionscrolling=no |
8244 | support_selectionscrolling=no |
8037 | support_menubar=no |
8245 | support_menubar=no |
8038 | support_mousewheel=no |
8246 | support_mousewheel=no |
8039 | support_mouseslipwheel=no |
8247 | support_mouseslipwheel=no |
… | |
… | |
8050 | support_xim=no |
8258 | support_xim=no |
8051 | support_xpm=no |
8259 | support_xpm=no |
8052 | support_xft=no |
8260 | support_xft=no |
8053 | support_unicode3=no |
8261 | support_unicode3=no |
8054 | support_combining=no |
8262 | support_combining=no |
|
|
8263 | support_8bitctrls=no |
|
|
8264 | support_iso14755=no |
|
|
8265 | support_styles=no |
8055 | codesets= |
8266 | codesets= |
8056 | |
8267 | |
8057 | |
8268 | |
8058 | if test "x$enable_shared" = xyes; then |
8269 | if test "x$enable_shared" = xyes; then |
8059 | |
8270 | |
… | |
… | |
8072 | support_24bit=yes |
8283 | support_24bit=yes |
8073 | support_frills=yes |
8284 | support_frills=yes |
8074 | support_linespace=yes |
8285 | support_linespace=yes |
8075 | support_inheritpixmap=yes |
8286 | support_inheritpixmap=yes |
8076 | support_tinting=yes |
8287 | support_tinting=yes |
|
|
8288 | support_fading=yes |
8077 | support_keepscrolling=yes |
8289 | support_keepscrolling=yes |
8078 | support_selectionscrolling=yes |
8290 | support_selectionscrolling=yes |
8079 | support_lastlog=yes |
8291 | support_lastlog=yes |
8080 | support_menubar=yes |
8292 | support_menubar=yes |
8081 | support_mousewheel=yes |
8293 | support_mousewheel=yes |
… | |
… | |
8092 | support_xim=yes |
8304 | support_xim=yes |
8093 | support_xpm=yes |
8305 | support_xpm=yes |
8094 | support_xft=yes |
8306 | support_xft=yes |
8095 | support_unicode3=yes |
8307 | support_unicode3=yes |
8096 | support_combining=yes |
8308 | support_combining=yes |
|
|
8309 | #support_8bitctrls=yes |
|
|
8310 | support_iso14755=yes |
|
|
8311 | support_styles=yes |
8097 | codesets=all |
8312 | codesets=all |
8098 | fi |
8313 | fi |
8099 | fi; |
8314 | fi; |
8100 | |
8315 | |
8101 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8316 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8102 | if test "${enable_unicode3+set}" = set; then |
8317 | if test "${enable_unicode3+set}" = set; then |
8103 | enableval="$enable_unicode3" |
8318 | enableval="$enable_unicode3" |
8104 | if test x$enableval = xyes -o x$enableval = xno; then |
8319 | if test x$enableval = xyes -o x$enableval = xno; then |
8105 | support_unicode3=yes |
8320 | support_unicode3=$enableval |
8106 | fi |
8321 | fi |
8107 | fi; |
8322 | fi; |
8108 | |
8323 | |
8109 | # Check whether --enable-combining or --disable-combining was given. |
8324 | # Check whether --enable-combining or --disable-combining was given. |
8110 | if test "${enable_combining+set}" = set; then |
8325 | if test "${enable_combining+set}" = set; then |
8111 | enableval="$enable_combining" |
8326 | enableval="$enable_combining" |
8112 | if test x$enableval = xyes -o x$enableval = xno; then |
8327 | if test x$enableval = xyes -o x$enableval = xno; then |
8113 | support_combining=yes |
8328 | support_combining=$enableval |
8114 | fi |
8329 | fi |
8115 | fi; |
8330 | fi; |
8116 | |
8331 | |
8117 | # Check whether --enable-xft or --disable-xft was given. |
8332 | # Check whether --enable-xft or --disable-xft was given. |
8118 | if test "${enable_xft+set}" = set; then |
8333 | if test "${enable_xft+set}" = set; then |
8119 | enableval="$enable_xft" |
8334 | enableval="$enable_xft" |
8120 | if test x$enableval = xyes -o x$enableval = xno; then |
8335 | if test x$enableval = xyes -o x$enableval = xno; then |
8121 | support_xft=yes |
8336 | support_xft=$enableval |
|
|
8337 | fi |
|
|
8338 | fi; |
|
|
8339 | |
|
|
8340 | # Check whether --enable-font-styles or --disable-font-styles was given. |
|
|
8341 | if 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 |
8122 | fi |
8345 | fi |
8123 | fi; |
8346 | fi; |
8124 | |
8347 | |
8125 | # Check whether --enable-utmp or --disable-utmp was given. |
8348 | # Check whether --enable-utmp or --disable-utmp was given. |
8126 | if test "${enable_utmp+set}" = set; then |
8349 | if test "${enable_utmp+set}" = set; then |
… | |
… | |
8168 | if test x$enableval = xyes -o x$enableval = xno; then |
8391 | if test x$enableval = xyes -o x$enableval = xno; then |
8169 | support_tinting=$enableval |
8392 | support_tinting=$enableval |
8170 | fi |
8393 | fi |
8171 | fi; |
8394 | fi; |
8172 | |
8395 | |
|
|
8396 | # Check whether --enable-fading or --disable-fading was given. |
|
|
8397 | if 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 |
|
|
8402 | fi; |
|
|
8403 | |
8173 | # Check whether --enable-menubar or --disable-menubar was given. |
8404 | # Check whether --enable-menubar or --disable-menubar was given. |
8174 | if test "${enable_menubar+set}" = set; then |
8405 | if test "${enable_menubar+set}" = set; then |
8175 | enableval="$enable_menubar" |
8406 | enableval="$enable_menubar" |
8176 | if test x$enableval = xyes -o x$enableval = xno; then |
8407 | if test x$enableval = xyes -o x$enableval = xno; then |
8177 | support_menubar=$enableval |
8408 | support_menubar=$enableval |
… | |
… | |
8295 | _ACEOF |
8526 | _ACEOF |
8296 | |
8527 | |
8297 | fi |
8528 | fi |
8298 | fi; |
8529 | fi; |
8299 | |
8530 | |
|
|
8531 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
|
|
8532 | if 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 |
|
|
8537 | fi; |
|
|
8538 | |
8300 | RESFALLBACK=Rxvt |
8539 | RESFALLBACK=Rxvt |
8301 | # Check whether --enable-fallback or --disable-fallback was given. |
8540 | # Check whether --enable-fallback or --disable-fallback was given. |
8302 | if test "${enable_fallback+set}" = set; then |
8541 | if test "${enable_fallback+set}" = set; then |
8303 | enableval="$enable_fallback" |
8542 | enableval="$enable_fallback" |
8304 | |
8543 | |
… | |
… | |
8347 | # Check whether --with-name or --without-name was given. |
8586 | # Check whether --with-name or --without-name was given. |
8348 | if test "${with_name+set}" = set; then |
8587 | if test "${with_name+set}" = set; then |
8349 | withval="$with_name" |
8588 | withval="$with_name" |
8350 | RXVTNAME="$withval" |
8589 | RXVTNAME="$withval" |
8351 | fi; |
8590 | fi; |
|
|
8591 | |
|
|
8592 | cat >>confdefs.h <<_ACEOF |
|
|
8593 | #define RXVTNAME "$RXVTNAME" |
|
|
8594 | _ACEOF |
|
|
8595 | |
8352 | |
8596 | |
8353 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8597 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8354 | |
8598 | |
8355 | |
8599 | |
8356 | # Check whether --enable-strings or --disable-strings was given. |
8600 | # Check whether --enable-strings or --disable-strings was given. |
… | |
… | |
8368 | |
8612 | |
8369 | cat >>confdefs.h <<\_ACEOF |
8613 | cat >>confdefs.h <<\_ACEOF |
8370 | #define NO_SECONDARY_SCREEN 1 |
8614 | #define NO_SECONDARY_SCREEN 1 |
8371 | _ACEOF |
8615 | _ACEOF |
8372 | |
8616 | |
|
|
8617 | fi |
|
|
8618 | fi; |
|
|
8619 | |
|
|
8620 | # Check whether --enable-iso14755 or --disable-iso14755 was given. |
|
|
8621 | if 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 |
8373 | fi |
8625 | fi |
8374 | fi; |
8626 | fi; |
8375 | |
8627 | |
8376 | # Check whether --enable-frills or --disable-frills was given. |
8628 | # Check whether --enable-frills or --disable-frills was given. |
8377 | if test "${enable_frills+set}" = set; then |
8629 | if test "${enable_frills+set}" = set; then |
… | |
… | |
8456 | enableval="$enable_smart_resize" |
8708 | enableval="$enable_smart_resize" |
8457 | if test x$enableval = xyes; then |
8709 | if test x$enableval = xyes; then |
8458 | |
8710 | |
8459 | cat >>confdefs.h <<\_ACEOF |
8711 | cat >>confdefs.h <<\_ACEOF |
8460 | #define SMART_RESIZE 1 |
8712 | #define SMART_RESIZE 1 |
8461 | _ACEOF |
|
|
8462 | |
|
|
8463 | fi |
|
|
8464 | fi; |
|
|
8465 | |
|
|
8466 | # Check whether --enable-256-color or --disable-256-color was given. |
|
|
8467 | if test "${enable_256_color+set}" = set; then |
|
|
8468 | enableval="$enable_256_color" |
|
|
8469 | if test x$enableval = xyes; then |
|
|
8470 | |
|
|
8471 | cat >>confdefs.h <<\_ACEOF |
|
|
8472 | #define TTY_256COLOR 1 |
|
|
8473 | _ACEOF |
8713 | _ACEOF |
8474 | |
8714 | |
8475 | fi |
8715 | fi |
8476 | fi; |
8716 | fi; |
8477 | |
8717 | |
… | |
… | |
8851 | TBL=$ac_cv_path_TBL |
9091 | TBL=$ac_cv_path_TBL |
8852 | |
9092 | |
8853 | if test -n "$TBL"; then |
9093 | if test -n "$TBL"; then |
8854 | echo "$as_me:$LINENO: result: $TBL" >&5 |
9094 | echo "$as_me:$LINENO: result: $TBL" >&5 |
8855 | echo "${ECHO_T}$TBL" >&6 |
9095 | echo "${ECHO_T}$TBL" >&6 |
|
|
9096 | else |
|
|
9097 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
9098 | echo "${ECHO_T}no" >&6 |
|
|
9099 | fi |
|
|
9100 | |
|
|
9101 | # Extract the first word of "tic", so it can be a program name with args. |
|
|
9102 | set dummy tic; ac_word=$2 |
|
|
9103 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
9104 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
9105 | if test "${ac_cv_path_TIC+set}" = set; then |
|
|
9106 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9107 | else |
|
|
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 |
|
|
9114 | for as_dir in $PATH |
|
|
9115 | do |
|
|
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 |
|
|
9124 | done |
|
|
9125 | done |
|
|
9126 | |
|
|
9127 | ;; |
|
|
9128 | esac |
|
|
9129 | fi |
|
|
9130 | TIC=$ac_cv_path_TIC |
|
|
9131 | |
|
|
9132 | if test -n "$TIC"; then |
|
|
9133 | echo "$as_me:$LINENO: result: $TIC" >&5 |
|
|
9134 | echo "${ECHO_T}$TIC" >&6 |
8856 | else |
9135 | else |
8857 | echo "$as_me:$LINENO: result: no" >&5 |
9136 | echo "$as_me:$LINENO: result: no" >&5 |
8858 | echo "${ECHO_T}no" >&6 |
9137 | echo "${ECHO_T}no" >&6 |
8859 | fi |
9138 | fi |
8860 | |
9139 | |
… | |
… | |
10686 | |
10965 | |
10687 | |
10966 | |
10688 | |
10967 | |
10689 | |
10968 | |
10690 | |
10969 | |
|
|
10970 | |
10691 | for ac_header in \ |
10971 | for ac_header in \ |
10692 | assert.h \ |
10972 | assert.h \ |
10693 | fcntl.h \ |
10973 | fcntl.h \ |
10694 | grp.h \ |
10974 | grp.h \ |
10695 | libc.h \ |
10975 | libc.h \ |
… | |
… | |
10702 | sys/byteorder.h \ |
10982 | sys/byteorder.h \ |
10703 | sys/ioctl.h \ |
10983 | sys/ioctl.h \ |
10704 | sys/select.h \ |
10984 | sys/select.h \ |
10705 | sys/sockio.h \ |
10985 | sys/sockio.h \ |
10706 | sys/strredir.h \ |
10986 | sys/strredir.h \ |
|
|
10987 | sys/stropts.h \ |
10707 | sys/time.h \ |
10988 | sys/time.h \ |
10708 | utmp.h \ |
10989 | utmp.h \ |
10709 | utmpx.h \ |
10990 | utmpx.h \ |
10710 | stdint.h \ |
10991 | stdint.h \ |
10711 | |
10992 | |
… | |
… | |
11499 | _ACEOF |
11780 | _ACEOF |
11500 | |
11781 | |
11501 | fi |
11782 | fi |
11502 | |
11783 | |
11503 | |
11784 | |
11504 | |
|
|
11505 | echo "$as_me:$LINENO: checking for char" >&5 |
|
|
11506 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
|
|
11507 | if test "${ac_cv_type_char+set}" = set; then |
|
|
11508 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11509 | else |
|
|
11510 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11511 | /* confdefs.h. */ |
|
|
11512 | _ACEOF |
|
|
11513 | cat confdefs.h >>conftest.$ac_ext |
|
|
11514 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11515 | /* end confdefs.h. */ |
|
|
11516 | $ac_includes_default |
|
|
11517 | int |
|
|
11518 | main () |
|
|
11519 | { |
|
|
11520 | if ((char *) 0) |
|
|
11521 | return 0; |
|
|
11522 | if (sizeof (char)) |
|
|
11523 | return 0; |
|
|
11524 | ; |
|
|
11525 | return 0; |
|
|
11526 | } |
|
|
11527 | _ACEOF |
|
|
11528 | rm -f conftest.$ac_objext |
|
|
11529 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11530 | (eval $ac_compile) 2>conftest.er1 |
|
|
11531 | ac_status=$? |
|
|
11532 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11533 | rm -f conftest.er1 |
|
|
11534 | cat conftest.err >&5 |
|
|
11535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11536 | (exit $ac_status); } && |
|
|
11537 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11538 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11539 | (eval $ac_try) 2>&5 |
|
|
11540 | ac_status=$? |
|
|
11541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11542 | (exit $ac_status); }; } && |
|
|
11543 | { ac_try='test -s conftest.$ac_objext' |
|
|
11544 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11545 | (eval $ac_try) 2>&5 |
|
|
11546 | ac_status=$? |
|
|
11547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11548 | (exit $ac_status); }; }; then |
|
|
11549 | ac_cv_type_char=yes |
|
|
11550 | else |
|
|
11551 | echo "$as_me: failed program was:" >&5 |
|
|
11552 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11553 | |
|
|
11554 | ac_cv_type_char=no |
|
|
11555 | fi |
|
|
11556 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11557 | fi |
|
|
11558 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
|
|
11559 | echo "${ECHO_T}$ac_cv_type_char" >&6 |
|
|
11560 | |
|
|
11561 | echo "$as_me:$LINENO: checking size of char" >&5 |
|
|
11562 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
|
|
11563 | if test "${ac_cv_sizeof_char+set}" = set; then |
|
|
11564 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11565 | else |
|
|
11566 | if test "$ac_cv_type_char" = yes; then |
|
|
11567 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
11568 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
11569 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
11570 | # This bug is HP SR number 8606223364. |
|
|
11571 | if test "$cross_compiling" = yes; then |
|
|
11572 | # Depending upon the size, compute the lo and hi bounds. |
|
|
11573 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11574 | /* confdefs.h. */ |
|
|
11575 | _ACEOF |
|
|
11576 | cat confdefs.h >>conftest.$ac_ext |
|
|
11577 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11578 | /* end confdefs.h. */ |
|
|
11579 | $ac_includes_default |
|
|
11580 | int |
|
|
11581 | main () |
|
|
11582 | { |
|
|
11583 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; |
|
|
11584 | test_array [0] = 0 |
|
|
11585 | |
|
|
11586 | ; |
|
|
11587 | return 0; |
|
|
11588 | } |
|
|
11589 | _ACEOF |
|
|
11590 | rm -f conftest.$ac_objext |
|
|
11591 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11592 | (eval $ac_compile) 2>conftest.er1 |
|
|
11593 | ac_status=$? |
|
|
11594 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11595 | rm -f conftest.er1 |
|
|
11596 | cat conftest.err >&5 |
|
|
11597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11598 | (exit $ac_status); } && |
|
|
11599 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11600 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11601 | (eval $ac_try) 2>&5 |
|
|
11602 | ac_status=$? |
|
|
11603 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11604 | (exit $ac_status); }; } && |
|
|
11605 | { ac_try='test -s conftest.$ac_objext' |
|
|
11606 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11607 | (eval $ac_try) 2>&5 |
|
|
11608 | ac_status=$? |
|
|
11609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11610 | (exit $ac_status); }; }; then |
|
|
11611 | ac_lo=0 ac_mid=0 |
|
|
11612 | while :; do |
|
|
11613 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11614 | /* confdefs.h. */ |
|
|
11615 | _ACEOF |
|
|
11616 | cat confdefs.h >>conftest.$ac_ext |
|
|
11617 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11618 | /* end confdefs.h. */ |
|
|
11619 | $ac_includes_default |
|
|
11620 | int |
|
|
11621 | main () |
|
|
11622 | { |
|
|
11623 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11624 | test_array [0] = 0 |
|
|
11625 | |
|
|
11626 | ; |
|
|
11627 | return 0; |
|
|
11628 | } |
|
|
11629 | _ACEOF |
|
|
11630 | rm -f conftest.$ac_objext |
|
|
11631 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11632 | (eval $ac_compile) 2>conftest.er1 |
|
|
11633 | ac_status=$? |
|
|
11634 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11635 | rm -f conftest.er1 |
|
|
11636 | cat conftest.err >&5 |
|
|
11637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11638 | (exit $ac_status); } && |
|
|
11639 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11640 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11641 | (eval $ac_try) 2>&5 |
|
|
11642 | ac_status=$? |
|
|
11643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11644 | (exit $ac_status); }; } && |
|
|
11645 | { ac_try='test -s conftest.$ac_objext' |
|
|
11646 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11647 | (eval $ac_try) 2>&5 |
|
|
11648 | ac_status=$? |
|
|
11649 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11650 | (exit $ac_status); }; }; then |
|
|
11651 | ac_hi=$ac_mid; break |
|
|
11652 | else |
|
|
11653 | echo "$as_me: failed program was:" >&5 |
|
|
11654 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11655 | |
|
|
11656 | ac_lo=`expr $ac_mid + 1` |
|
|
11657 | if test $ac_lo -le $ac_mid; then |
|
|
11658 | ac_lo= ac_hi= |
|
|
11659 | break |
|
|
11660 | fi |
|
|
11661 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
11662 | fi |
|
|
11663 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11664 | done |
|
|
11665 | else |
|
|
11666 | echo "$as_me: failed program was:" >&5 |
|
|
11667 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11668 | |
|
|
11669 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11670 | /* confdefs.h. */ |
|
|
11671 | _ACEOF |
|
|
11672 | cat confdefs.h >>conftest.$ac_ext |
|
|
11673 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11674 | /* end confdefs.h. */ |
|
|
11675 | $ac_includes_default |
|
|
11676 | int |
|
|
11677 | main () |
|
|
11678 | { |
|
|
11679 | static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; |
|
|
11680 | test_array [0] = 0 |
|
|
11681 | |
|
|
11682 | ; |
|
|
11683 | return 0; |
|
|
11684 | } |
|
|
11685 | _ACEOF |
|
|
11686 | rm -f conftest.$ac_objext |
|
|
11687 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11688 | (eval $ac_compile) 2>conftest.er1 |
|
|
11689 | ac_status=$? |
|
|
11690 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11691 | rm -f conftest.er1 |
|
|
11692 | cat conftest.err >&5 |
|
|
11693 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11694 | (exit $ac_status); } && |
|
|
11695 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11696 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11697 | (eval $ac_try) 2>&5 |
|
|
11698 | ac_status=$? |
|
|
11699 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11700 | (exit $ac_status); }; } && |
|
|
11701 | { ac_try='test -s conftest.$ac_objext' |
|
|
11702 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11703 | (eval $ac_try) 2>&5 |
|
|
11704 | ac_status=$? |
|
|
11705 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11706 | (exit $ac_status); }; }; then |
|
|
11707 | ac_hi=-1 ac_mid=-1 |
|
|
11708 | while :; do |
|
|
11709 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11710 | /* confdefs.h. */ |
|
|
11711 | _ACEOF |
|
|
11712 | cat confdefs.h >>conftest.$ac_ext |
|
|
11713 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11714 | /* end confdefs.h. */ |
|
|
11715 | $ac_includes_default |
|
|
11716 | int |
|
|
11717 | main () |
|
|
11718 | { |
|
|
11719 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; |
|
|
11720 | test_array [0] = 0 |
|
|
11721 | |
|
|
11722 | ; |
|
|
11723 | return 0; |
|
|
11724 | } |
|
|
11725 | _ACEOF |
|
|
11726 | rm -f conftest.$ac_objext |
|
|
11727 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11728 | (eval $ac_compile) 2>conftest.er1 |
|
|
11729 | ac_status=$? |
|
|
11730 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11731 | rm -f conftest.er1 |
|
|
11732 | cat conftest.err >&5 |
|
|
11733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11734 | (exit $ac_status); } && |
|
|
11735 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11736 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11737 | (eval $ac_try) 2>&5 |
|
|
11738 | ac_status=$? |
|
|
11739 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11740 | (exit $ac_status); }; } && |
|
|
11741 | { ac_try='test -s conftest.$ac_objext' |
|
|
11742 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11743 | (eval $ac_try) 2>&5 |
|
|
11744 | ac_status=$? |
|
|
11745 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11746 | (exit $ac_status); }; }; then |
|
|
11747 | ac_lo=$ac_mid; break |
|
|
11748 | else |
|
|
11749 | echo "$as_me: failed program was:" >&5 |
|
|
11750 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11751 | |
|
|
11752 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
11753 | if test $ac_mid -le $ac_hi; then |
|
|
11754 | ac_lo= ac_hi= |
|
|
11755 | break |
|
|
11756 | fi |
|
|
11757 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
11758 | fi |
|
|
11759 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11760 | done |
|
|
11761 | else |
|
|
11762 | echo "$as_me: failed program was:" >&5 |
|
|
11763 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11764 | |
|
|
11765 | ac_lo= ac_hi= |
|
|
11766 | fi |
|
|
11767 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11768 | fi |
|
|
11769 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11770 | # Binary search between lo and hi bounds. |
|
|
11771 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
11772 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
11773 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11774 | /* confdefs.h. */ |
|
|
11775 | _ACEOF |
|
|
11776 | cat confdefs.h >>conftest.$ac_ext |
|
|
11777 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11778 | /* end confdefs.h. */ |
|
|
11779 | $ac_includes_default |
|
|
11780 | int |
|
|
11781 | main () |
|
|
11782 | { |
|
|
11783 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11784 | test_array [0] = 0 |
|
|
11785 | |
|
|
11786 | ; |
|
|
11787 | return 0; |
|
|
11788 | } |
|
|
11789 | _ACEOF |
|
|
11790 | rm -f conftest.$ac_objext |
|
|
11791 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11792 | (eval $ac_compile) 2>conftest.er1 |
|
|
11793 | ac_status=$? |
|
|
11794 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11795 | rm -f conftest.er1 |
|
|
11796 | cat conftest.err >&5 |
|
|
11797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11798 | (exit $ac_status); } && |
|
|
11799 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11800 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11801 | (eval $ac_try) 2>&5 |
|
|
11802 | ac_status=$? |
|
|
11803 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11804 | (exit $ac_status); }; } && |
|
|
11805 | { ac_try='test -s conftest.$ac_objext' |
|
|
11806 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11807 | (eval $ac_try) 2>&5 |
|
|
11808 | ac_status=$? |
|
|
11809 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11810 | (exit $ac_status); }; }; then |
|
|
11811 | ac_hi=$ac_mid |
|
|
11812 | else |
|
|
11813 | echo "$as_me: failed program was:" >&5 |
|
|
11814 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11815 | |
|
|
11816 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
11817 | fi |
|
|
11818 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11819 | done |
|
|
11820 | case $ac_lo in |
|
|
11821 | ?*) ac_cv_sizeof_char=$ac_lo;; |
|
|
11822 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
11823 | See \`config.log' for more details." >&5 |
|
|
11824 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
11825 | See \`config.log' for more details." >&2;} |
|
|
11826 | { (exit 1); exit 1; }; } ;; |
|
|
11827 | esac |
|
|
11828 | else |
|
|
11829 | if test "$cross_compiling" = yes; then |
|
|
11830 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
11831 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
11832 | { (exit 1); exit 1; }; } |
|
|
11833 | else |
|
|
11834 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11835 | /* confdefs.h. */ |
|
|
11836 | _ACEOF |
|
|
11837 | cat confdefs.h >>conftest.$ac_ext |
|
|
11838 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11839 | /* end confdefs.h. */ |
|
|
11840 | $ac_includes_default |
|
|
11841 | long longval () { return (long) (sizeof (char)); } |
|
|
11842 | unsigned long ulongval () { return (long) (sizeof (char)); } |
|
|
11843 | #include <stdio.h> |
|
|
11844 | #include <stdlib.h> |
|
|
11845 | int |
|
|
11846 | main () |
|
|
11847 | { |
|
|
11848 | |
|
|
11849 | FILE *f = fopen ("conftest.val", "w"); |
|
|
11850 | if (! f) |
|
|
11851 | exit (1); |
|
|
11852 | if (((long) (sizeof (char))) < 0) |
|
|
11853 | { |
|
|
11854 | long i = longval (); |
|
|
11855 | if (i != ((long) (sizeof (char)))) |
|
|
11856 | exit (1); |
|
|
11857 | fprintf (f, "%ld\n", i); |
|
|
11858 | } |
|
|
11859 | else |
|
|
11860 | { |
|
|
11861 | unsigned long i = ulongval (); |
|
|
11862 | if (i != ((long) (sizeof (char)))) |
|
|
11863 | exit (1); |
|
|
11864 | fprintf (f, "%lu\n", i); |
|
|
11865 | } |
|
|
11866 | exit (ferror (f) || fclose (f) != 0); |
|
|
11867 | |
|
|
11868 | ; |
|
|
11869 | return 0; |
|
|
11870 | } |
|
|
11871 | _ACEOF |
|
|
11872 | rm -f conftest$ac_exeext |
|
|
11873 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11874 | (eval $ac_link) 2>&5 |
|
|
11875 | ac_status=$? |
|
|
11876 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11877 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
11878 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11879 | (eval $ac_try) 2>&5 |
|
|
11880 | ac_status=$? |
|
|
11881 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11882 | (exit $ac_status); }; }; then |
|
|
11883 | ac_cv_sizeof_char=`cat conftest.val` |
|
|
11884 | else |
|
|
11885 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
11886 | echo "$as_me: failed program was:" >&5 |
|
|
11887 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11888 | |
|
|
11889 | ( exit $ac_status ) |
|
|
11890 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
11891 | See \`config.log' for more details." >&5 |
|
|
11892 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
11893 | See \`config.log' for more details." >&2;} |
|
|
11894 | { (exit 1); exit 1; }; } |
|
|
11895 | fi |
|
|
11896 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
11897 | fi |
|
|
11898 | fi |
|
|
11899 | rm -f conftest.val |
|
|
11900 | else |
|
|
11901 | ac_cv_sizeof_char=0 |
|
|
11902 | fi |
|
|
11903 | fi |
|
|
11904 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
|
|
11905 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
|
|
11906 | cat >>confdefs.h <<_ACEOF |
|
|
11907 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
|
|
11908 | _ACEOF |
|
|
11909 | |
|
|
11910 | |
|
|
11911 | echo "$as_me:$LINENO: checking for short" >&5 |
11785 | echo "$as_me:$LINENO: checking for short" >&5 |
11912 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
11786 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
11913 | if test "${ac_cv_type_short+set}" = set; then |
11787 | if test "${ac_cv_type_short+set}" = set; then |
11914 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11788 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11915 | else |
11789 | else |
… | |
… | |
12715 | fi |
12589 | fi |
12716 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12590 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12717 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12591 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12718 | cat >>confdefs.h <<_ACEOF |
12592 | cat >>confdefs.h <<_ACEOF |
12719 | #define SIZEOF_INT $ac_cv_sizeof_int |
12593 | #define SIZEOF_INT $ac_cv_sizeof_int |
12720 | _ACEOF |
|
|
12721 | |
|
|
12722 | |
|
|
12723 | echo "$as_me:$LINENO: checking for long" >&5 |
|
|
12724 | echo $ECHO_N "checking for long... $ECHO_C" >&6 |
|
|
12725 | if test "${ac_cv_type_long+set}" = set; then |
|
|
12726 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12727 | else |
|
|
12728 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12729 | /* confdefs.h. */ |
|
|
12730 | _ACEOF |
|
|
12731 | cat confdefs.h >>conftest.$ac_ext |
|
|
12732 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12733 | /* end confdefs.h. */ |
|
|
12734 | $ac_includes_default |
|
|
12735 | int |
|
|
12736 | main () |
|
|
12737 | { |
|
|
12738 | if ((long *) 0) |
|
|
12739 | return 0; |
|
|
12740 | if (sizeof (long)) |
|
|
12741 | return 0; |
|
|
12742 | ; |
|
|
12743 | return 0; |
|
|
12744 | } |
|
|
12745 | _ACEOF |
|
|
12746 | rm -f conftest.$ac_objext |
|
|
12747 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12748 | (eval $ac_compile) 2>conftest.er1 |
|
|
12749 | ac_status=$? |
|
|
12750 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12751 | rm -f conftest.er1 |
|
|
12752 | cat conftest.err >&5 |
|
|
12753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12754 | (exit $ac_status); } && |
|
|
12755 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12756 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12757 | (eval $ac_try) 2>&5 |
|
|
12758 | ac_status=$? |
|
|
12759 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12760 | (exit $ac_status); }; } && |
|
|
12761 | { ac_try='test -s conftest.$ac_objext' |
|
|
12762 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12763 | (eval $ac_try) 2>&5 |
|
|
12764 | ac_status=$? |
|
|
12765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12766 | (exit $ac_status); }; }; then |
|
|
12767 | ac_cv_type_long=yes |
|
|
12768 | else |
|
|
12769 | echo "$as_me: failed program was:" >&5 |
|
|
12770 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12771 | |
|
|
12772 | ac_cv_type_long=no |
|
|
12773 | fi |
|
|
12774 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12775 | fi |
|
|
12776 | echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
|
|
12777 | echo "${ECHO_T}$ac_cv_type_long" >&6 |
|
|
12778 | |
|
|
12779 | echo "$as_me:$LINENO: checking size of long" >&5 |
|
|
12780 | echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
|
|
12781 | if test "${ac_cv_sizeof_long+set}" = set; then |
|
|
12782 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12783 | else |
|
|
12784 | if test "$ac_cv_type_long" = yes; then |
|
|
12785 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
12786 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
12787 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
12788 | # This bug is HP SR number 8606223364. |
|
|
12789 | if test "$cross_compiling" = yes; then |
|
|
12790 | # Depending upon the size, compute the lo and hi bounds. |
|
|
12791 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12792 | /* confdefs.h. */ |
|
|
12793 | _ACEOF |
|
|
12794 | cat confdefs.h >>conftest.$ac_ext |
|
|
12795 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12796 | /* end confdefs.h. */ |
|
|
12797 | $ac_includes_default |
|
|
12798 | int |
|
|
12799 | main () |
|
|
12800 | { |
|
|
12801 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; |
|
|
12802 | test_array [0] = 0 |
|
|
12803 | |
|
|
12804 | ; |
|
|
12805 | return 0; |
|
|
12806 | } |
|
|
12807 | _ACEOF |
|
|
12808 | rm -f conftest.$ac_objext |
|
|
12809 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12810 | (eval $ac_compile) 2>conftest.er1 |
|
|
12811 | ac_status=$? |
|
|
12812 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12813 | rm -f conftest.er1 |
|
|
12814 | cat conftest.err >&5 |
|
|
12815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12816 | (exit $ac_status); } && |
|
|
12817 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12818 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12819 | (eval $ac_try) 2>&5 |
|
|
12820 | ac_status=$? |
|
|
12821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12822 | (exit $ac_status); }; } && |
|
|
12823 | { ac_try='test -s conftest.$ac_objext' |
|
|
12824 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12825 | (eval $ac_try) 2>&5 |
|
|
12826 | ac_status=$? |
|
|
12827 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12828 | (exit $ac_status); }; }; then |
|
|
12829 | ac_lo=0 ac_mid=0 |
|
|
12830 | while :; do |
|
|
12831 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12832 | /* confdefs.h. */ |
|
|
12833 | _ACEOF |
|
|
12834 | cat confdefs.h >>conftest.$ac_ext |
|
|
12835 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12836 | /* end confdefs.h. */ |
|
|
12837 | $ac_includes_default |
|
|
12838 | int |
|
|
12839 | main () |
|
|
12840 | { |
|
|
12841 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
12842 | test_array [0] = 0 |
|
|
12843 | |
|
|
12844 | ; |
|
|
12845 | return 0; |
|
|
12846 | } |
|
|
12847 | _ACEOF |
|
|
12848 | rm -f conftest.$ac_objext |
|
|
12849 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12850 | (eval $ac_compile) 2>conftest.er1 |
|
|
12851 | ac_status=$? |
|
|
12852 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12853 | rm -f conftest.er1 |
|
|
12854 | cat conftest.err >&5 |
|
|
12855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12856 | (exit $ac_status); } && |
|
|
12857 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12858 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12859 | (eval $ac_try) 2>&5 |
|
|
12860 | ac_status=$? |
|
|
12861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12862 | (exit $ac_status); }; } && |
|
|
12863 | { ac_try='test -s conftest.$ac_objext' |
|
|
12864 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12865 | (eval $ac_try) 2>&5 |
|
|
12866 | ac_status=$? |
|
|
12867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12868 | (exit $ac_status); }; }; then |
|
|
12869 | ac_hi=$ac_mid; break |
|
|
12870 | else |
|
|
12871 | echo "$as_me: failed program was:" >&5 |
|
|
12872 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12873 | |
|
|
12874 | ac_lo=`expr $ac_mid + 1` |
|
|
12875 | if test $ac_lo -le $ac_mid; then |
|
|
12876 | ac_lo= ac_hi= |
|
|
12877 | break |
|
|
12878 | fi |
|
|
12879 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
12880 | fi |
|
|
12881 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12882 | done |
|
|
12883 | else |
|
|
12884 | echo "$as_me: failed program was:" >&5 |
|
|
12885 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12886 | |
|
|
12887 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12888 | /* confdefs.h. */ |
|
|
12889 | _ACEOF |
|
|
12890 | cat confdefs.h >>conftest.$ac_ext |
|
|
12891 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12892 | /* end confdefs.h. */ |
|
|
12893 | $ac_includes_default |
|
|
12894 | int |
|
|
12895 | main () |
|
|
12896 | { |
|
|
12897 | static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; |
|
|
12898 | test_array [0] = 0 |
|
|
12899 | |
|
|
12900 | ; |
|
|
12901 | return 0; |
|
|
12902 | } |
|
|
12903 | _ACEOF |
|
|
12904 | rm -f conftest.$ac_objext |
|
|
12905 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12906 | (eval $ac_compile) 2>conftest.er1 |
|
|
12907 | ac_status=$? |
|
|
12908 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12909 | rm -f conftest.er1 |
|
|
12910 | cat conftest.err >&5 |
|
|
12911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12912 | (exit $ac_status); } && |
|
|
12913 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12914 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12915 | (eval $ac_try) 2>&5 |
|
|
12916 | ac_status=$? |
|
|
12917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12918 | (exit $ac_status); }; } && |
|
|
12919 | { ac_try='test -s conftest.$ac_objext' |
|
|
12920 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12921 | (eval $ac_try) 2>&5 |
|
|
12922 | ac_status=$? |
|
|
12923 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12924 | (exit $ac_status); }; }; then |
|
|
12925 | ac_hi=-1 ac_mid=-1 |
|
|
12926 | while :; do |
|
|
12927 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12928 | /* confdefs.h. */ |
|
|
12929 | _ACEOF |
|
|
12930 | cat confdefs.h >>conftest.$ac_ext |
|
|
12931 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12932 | /* end confdefs.h. */ |
|
|
12933 | $ac_includes_default |
|
|
12934 | int |
|
|
12935 | main () |
|
|
12936 | { |
|
|
12937 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; |
|
|
12938 | test_array [0] = 0 |
|
|
12939 | |
|
|
12940 | ; |
|
|
12941 | return 0; |
|
|
12942 | } |
|
|
12943 | _ACEOF |
|
|
12944 | rm -f conftest.$ac_objext |
|
|
12945 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12946 | (eval $ac_compile) 2>conftest.er1 |
|
|
12947 | ac_status=$? |
|
|
12948 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12949 | rm -f conftest.er1 |
|
|
12950 | cat conftest.err >&5 |
|
|
12951 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12952 | (exit $ac_status); } && |
|
|
12953 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12954 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12955 | (eval $ac_try) 2>&5 |
|
|
12956 | ac_status=$? |
|
|
12957 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12958 | (exit $ac_status); }; } && |
|
|
12959 | { ac_try='test -s conftest.$ac_objext' |
|
|
12960 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12961 | (eval $ac_try) 2>&5 |
|
|
12962 | ac_status=$? |
|
|
12963 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12964 | (exit $ac_status); }; }; then |
|
|
12965 | ac_lo=$ac_mid; break |
|
|
12966 | else |
|
|
12967 | echo "$as_me: failed program was:" >&5 |
|
|
12968 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12969 | |
|
|
12970 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
12971 | if test $ac_mid -le $ac_hi; then |
|
|
12972 | ac_lo= ac_hi= |
|
|
12973 | break |
|
|
12974 | fi |
|
|
12975 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
12976 | fi |
|
|
12977 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12978 | done |
|
|
12979 | else |
|
|
12980 | echo "$as_me: failed program was:" >&5 |
|
|
12981 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12982 | |
|
|
12983 | ac_lo= ac_hi= |
|
|
12984 | fi |
|
|
12985 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12986 | fi |
|
|
12987 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12988 | # Binary search between lo and hi bounds. |
|
|
12989 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
12990 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
12991 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12992 | /* confdefs.h. */ |
|
|
12993 | _ACEOF |
|
|
12994 | cat confdefs.h >>conftest.$ac_ext |
|
|
12995 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12996 | /* end confdefs.h. */ |
|
|
12997 | $ac_includes_default |
|
|
12998 | int |
|
|
12999 | main () |
|
|
13000 | { |
|
|
13001 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
13002 | test_array [0] = 0 |
|
|
13003 | |
|
|
13004 | ; |
|
|
13005 | return 0; |
|
|
13006 | } |
|
|
13007 | _ACEOF |
|
|
13008 | rm -f conftest.$ac_objext |
|
|
13009 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13010 | (eval $ac_compile) 2>conftest.er1 |
|
|
13011 | ac_status=$? |
|
|
13012 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13013 | rm -f conftest.er1 |
|
|
13014 | cat conftest.err >&5 |
|
|
13015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13016 | (exit $ac_status); } && |
|
|
13017 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13018 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13019 | (eval $ac_try) 2>&5 |
|
|
13020 | ac_status=$? |
|
|
13021 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13022 | (exit $ac_status); }; } && |
|
|
13023 | { ac_try='test -s conftest.$ac_objext' |
|
|
13024 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13025 | (eval $ac_try) 2>&5 |
|
|
13026 | ac_status=$? |
|
|
13027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13028 | (exit $ac_status); }; }; then |
|
|
13029 | ac_hi=$ac_mid |
|
|
13030 | else |
|
|
13031 | echo "$as_me: failed program was:" >&5 |
|
|
13032 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13033 | |
|
|
13034 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
13035 | fi |
|
|
13036 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13037 | done |
|
|
13038 | case $ac_lo in |
|
|
13039 | ?*) ac_cv_sizeof_long=$ac_lo;; |
|
|
13040 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13041 | See \`config.log' for more details." >&5 |
|
|
13042 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13043 | See \`config.log' for more details." >&2;} |
|
|
13044 | { (exit 1); exit 1; }; } ;; |
|
|
13045 | esac |
|
|
13046 | else |
|
|
13047 | if test "$cross_compiling" = yes; then |
|
|
13048 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
13049 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
13050 | { (exit 1); exit 1; }; } |
|
|
13051 | else |
|
|
13052 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13053 | /* confdefs.h. */ |
|
|
13054 | _ACEOF |
|
|
13055 | cat confdefs.h >>conftest.$ac_ext |
|
|
13056 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13057 | /* end confdefs.h. */ |
|
|
13058 | $ac_includes_default |
|
|
13059 | long longval () { return (long) (sizeof (long)); } |
|
|
13060 | unsigned long ulongval () { return (long) (sizeof (long)); } |
|
|
13061 | #include <stdio.h> |
|
|
13062 | #include <stdlib.h> |
|
|
13063 | int |
|
|
13064 | main () |
|
|
13065 | { |
|
|
13066 | |
|
|
13067 | FILE *f = fopen ("conftest.val", "w"); |
|
|
13068 | if (! f) |
|
|
13069 | exit (1); |
|
|
13070 | if (((long) (sizeof (long))) < 0) |
|
|
13071 | { |
|
|
13072 | long i = longval (); |
|
|
13073 | if (i != ((long) (sizeof (long)))) |
|
|
13074 | exit (1); |
|
|
13075 | fprintf (f, "%ld\n", i); |
|
|
13076 | } |
|
|
13077 | else |
|
|
13078 | { |
|
|
13079 | unsigned long i = ulongval (); |
|
|
13080 | if (i != ((long) (sizeof (long)))) |
|
|
13081 | exit (1); |
|
|
13082 | fprintf (f, "%lu\n", i); |
|
|
13083 | } |
|
|
13084 | exit (ferror (f) || fclose (f) != 0); |
|
|
13085 | |
|
|
13086 | ; |
|
|
13087 | return 0; |
|
|
13088 | } |
|
|
13089 | _ACEOF |
|
|
13090 | rm -f conftest$ac_exeext |
|
|
13091 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13092 | (eval $ac_link) 2>&5 |
|
|
13093 | ac_status=$? |
|
|
13094 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13095 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
13096 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13097 | (eval $ac_try) 2>&5 |
|
|
13098 | ac_status=$? |
|
|
13099 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13100 | (exit $ac_status); }; }; then |
|
|
13101 | ac_cv_sizeof_long=`cat conftest.val` |
|
|
13102 | else |
|
|
13103 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
13104 | echo "$as_me: failed program was:" >&5 |
|
|
13105 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13106 | |
|
|
13107 | ( exit $ac_status ) |
|
|
13108 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13109 | See \`config.log' for more details." >&5 |
|
|
13110 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13111 | See \`config.log' for more details." >&2;} |
|
|
13112 | { (exit 1); exit 1; }; } |
|
|
13113 | fi |
|
|
13114 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
13115 | fi |
|
|
13116 | fi |
|
|
13117 | rm -f conftest.val |
|
|
13118 | else |
|
|
13119 | ac_cv_sizeof_long=0 |
|
|
13120 | fi |
|
|
13121 | fi |
|
|
13122 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
|
|
13123 | echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
|
|
13124 | cat >>confdefs.h <<_ACEOF |
|
|
13125 | #define SIZEOF_LONG $ac_cv_sizeof_long |
|
|
13126 | _ACEOF |
12594 | _ACEOF |
13127 | |
12595 | |
13128 | |
12596 | |
13129 | echo "$as_me:$LINENO: checking for long long" >&5 |
12597 | echo "$as_me:$LINENO: checking for long long" >&5 |
13130 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
12598 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
… | |
… | |
15973 | #define HAVE_NL_LANGINFO 1 |
15441 | #define HAVE_NL_LANGINFO 1 |
15974 | _ACEOF |
15442 | _ACEOF |
15975 | |
15443 | |
15976 | fi |
15444 | fi |
15977 | |
15445 | |
|
|
15446 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
15447 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
|
|
15448 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
15449 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
15450 | else |
|
|
15451 | cat >conftest.$ac_ext <<_ACEOF |
|
|
15452 | |
|
|
15453 | #include <X11/Xlib.h> |
|
|
15454 | |
|
|
15455 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
15456 | |
|
|
15457 | void f() { |
|
|
15458 | XIMCallback cb; |
|
|
15459 | cb.callback = im_destroy_cb; |
|
|
15460 | } |
|
|
15461 | |
|
|
15462 | _ACEOF |
|
|
15463 | rm -f conftest.$ac_objext |
|
|
15464 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
15465 | (eval $ac_compile) 2>conftest.er1 |
|
|
15466 | ac_status=$? |
|
|
15467 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
15468 | rm -f conftest.er1 |
|
|
15469 | cat conftest.err >&5 |
|
|
15470 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15471 | (exit $ac_status); } && |
|
|
15472 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
15473 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15474 | (eval $ac_try) 2>&5 |
|
|
15475 | ac_status=$? |
|
|
15476 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15477 | (exit $ac_status); }; } && |
|
|
15478 | { ac_try='test -s conftest.$ac_objext' |
|
|
15479 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15480 | (eval $ac_try) 2>&5 |
|
|
15481 | ac_status=$? |
|
|
15482 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15483 | (exit $ac_status); }; }; then |
|
|
15484 | rxvt_broken_ximcb=yes |
|
|
15485 | else |
|
|
15486 | echo "$as_me: failed program was:" >&5 |
|
|
15487 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
15488 | |
|
|
15489 | rxvt_broken_ximcb=no |
|
|
15490 | fi |
|
|
15491 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
15492 | fi |
|
|
15493 | echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
15494 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6 |
|
|
15495 | |
|
|
15496 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
15497 | |
|
|
15498 | cat >>confdefs.h <<\_ACEOF |
|
|
15499 | #define XIMCB_PROTO_BROKEN 1 |
|
|
15500 | _ACEOF |
|
|
15501 | |
|
|
15502 | fi |
|
|
15503 | |
15978 | echo "$as_me:$LINENO: checking for getpt" >&5 |
15504 | echo "$as_me:$LINENO: checking for getpt" >&5 |
15979 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
15505 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
15980 | if test "${rxvt_cv_func_getpt+set}" = set; then |
15506 | if test "${rxvt_cv_func_getpt+set}" = set; then |
15981 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15507 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15982 | else |
15508 | else |
… | |
… | |
16159 | |
15685 | |
16160 | cat >>confdefs.h <<_ACEOF |
15686 | cat >>confdefs.h <<_ACEOF |
16161 | #define PTYCHAR2 "$pch2" |
15687 | #define PTYCHAR2 "$pch2" |
16162 | _ACEOF |
15688 | _ACEOF |
16163 | |
15689 | |
16164 | fi |
|
|
16165 | |
|
|
16166 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
|
|
16167 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
|
|
16168 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
|
|
16169 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
16170 | else |
|
|
16171 | ac_check_lib_save_LIBS=$LIBS |
|
|
16172 | LIBS="-lxpg4 $LIBS" |
|
|
16173 | cat >conftest.$ac_ext <<_ACEOF |
|
|
16174 | /* confdefs.h. */ |
|
|
16175 | _ACEOF |
|
|
16176 | cat confdefs.h >>conftest.$ac_ext |
|
|
16177 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
16178 | /* end confdefs.h. */ |
|
|
16179 | |
|
|
16180 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
16181 | #ifdef __cplusplus |
|
|
16182 | extern "C" |
|
|
16183 | #endif |
|
|
16184 | /* We use char because int might match the return type of a gcc2 |
|
|
16185 | builtin and then its argument prototype would still apply. */ |
|
|
16186 | char setlocale (); |
|
|
16187 | int |
|
|
16188 | main () |
|
|
16189 | { |
|
|
16190 | setlocale (); |
|
|
16191 | ; |
|
|
16192 | return 0; |
|
|
16193 | } |
|
|
16194 | _ACEOF |
|
|
16195 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
16196 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
16197 | (eval $ac_link) 2>conftest.er1 |
|
|
16198 | ac_status=$? |
|
|
16199 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
16200 | rm -f conftest.er1 |
|
|
16201 | cat conftest.err >&5 |
|
|
16202 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16203 | (exit $ac_status); } && |
|
|
16204 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
16205 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16206 | (eval $ac_try) 2>&5 |
|
|
16207 | ac_status=$? |
|
|
16208 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16209 | (exit $ac_status); }; } && |
|
|
16210 | { ac_try='test -s conftest$ac_exeext' |
|
|
16211 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16212 | (eval $ac_try) 2>&5 |
|
|
16213 | ac_status=$? |
|
|
16214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16215 | (exit $ac_status); }; }; then |
|
|
16216 | ac_cv_lib_xpg4_setlocale=yes |
|
|
16217 | else |
|
|
16218 | echo "$as_me: failed program was:" >&5 |
|
|
16219 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
16220 | |
|
|
16221 | ac_cv_lib_xpg4_setlocale=no |
|
|
16222 | fi |
|
|
16223 | rm -f conftest.err conftest.$ac_objext \ |
|
|
16224 | conftest$ac_exeext conftest.$ac_ext |
|
|
16225 | LIBS=$ac_check_lib_save_LIBS |
|
|
16226 | fi |
|
|
16227 | echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5 |
|
|
16228 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
|
|
16229 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
|
|
16230 | LIBS="$LIBS -lxpg4" |
|
|
16231 | fi |
|
|
16232 | |
|
|
16233 | |
|
|
16234 | if test x$support_tinting = xyes; then |
|
|
16235 | |
|
|
16236 | cat >>confdefs.h <<\_ACEOF |
|
|
16237 | #define TINTING 1 |
|
|
16238 | _ACEOF |
|
|
16239 | |
|
|
16240 | fi |
|
|
16241 | if test x$support_inheritpixmap = xyes; then |
|
|
16242 | |
|
|
16243 | cat >>confdefs.h <<\_ACEOF |
|
|
16244 | #define TRANSPARENT 1 |
|
|
16245 | _ACEOF |
|
|
16246 | |
|
|
16247 | fi |
|
|
16248 | if test x$support_keepscrolling = xno; then |
|
|
16249 | |
|
|
16250 | cat >>confdefs.h <<\_ACEOF |
|
|
16251 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
16252 | _ACEOF |
|
|
16253 | |
|
|
16254 | fi |
|
|
16255 | if test x$support_selectionscrolling = xyes; then |
|
|
16256 | |
|
|
16257 | cat >>confdefs.h <<\_ACEOF |
|
|
16258 | #define SELECTION_SCROLLING 1 |
|
|
16259 | _ACEOF |
|
|
16260 | |
|
|
16261 | fi |
|
|
16262 | if test x$support_menubar = xyes; then |
|
|
16263 | |
|
|
16264 | cat >>confdefs.h <<\_ACEOF |
|
|
16265 | #define MENUBAR 1 |
|
|
16266 | _ACEOF |
|
|
16267 | |
|
|
16268 | fi |
|
|
16269 | if test x$support_frills = xno; then |
|
|
16270 | |
|
|
16271 | cat >>confdefs.h <<\_ACEOF |
|
|
16272 | #define NO_FRILLS 1 |
|
|
16273 | _ACEOF |
|
|
16274 | |
|
|
16275 | fi |
|
|
16276 | if test x$support_linespace = xno; then |
|
|
16277 | |
|
|
16278 | cat >>confdefs.h <<\_ACEOF |
|
|
16279 | #define NO_LINESPACE 1 |
|
|
16280 | _ACEOF |
|
|
16281 | |
|
|
16282 | fi |
|
|
16283 | if test x$support_24bit = xyes; then |
|
|
16284 | |
|
|
16285 | cat >>confdefs.h <<\_ACEOF |
|
|
16286 | #define PREFER_24BIT 1 |
|
|
16287 | _ACEOF |
|
|
16288 | |
|
|
16289 | fi |
|
|
16290 | if test x$support_mousewheel = xyes; then |
|
|
16291 | |
|
|
16292 | cat >>confdefs.h <<\_ACEOF |
|
|
16293 | #define MOUSE_WHEEL 1 |
|
|
16294 | _ACEOF |
|
|
16295 | |
|
|
16296 | fi |
|
|
16297 | if test x$support_mouseslipwheel = xyes; then |
|
|
16298 | |
|
|
16299 | cat >>confdefs.h <<\_ACEOF |
|
|
16300 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16301 | _ACEOF |
|
|
16302 | |
|
|
16303 | fi |
|
|
16304 | if test x$support_utmp = xyes; then |
|
|
16305 | |
|
|
16306 | cat >>confdefs.h <<\_ACEOF |
|
|
16307 | #define UTMP_SUPPORT 1 |
|
|
16308 | _ACEOF |
|
|
16309 | |
|
|
16310 | fi |
|
|
16311 | if test x$support_wtmp = xyes; then |
|
|
16312 | |
|
|
16313 | cat >>confdefs.h <<\_ACEOF |
|
|
16314 | #define WTMP_SUPPORT 1 |
|
|
16315 | _ACEOF |
|
|
16316 | |
|
|
16317 | fi |
|
|
16318 | if test x$support_lastlog = xyes; then |
|
|
16319 | |
|
|
16320 | cat >>confdefs.h <<\_ACEOF |
|
|
16321 | #define LASTLOG_SUPPORT 1 |
|
|
16322 | _ACEOF |
|
|
16323 | |
|
|
16324 | fi |
|
|
16325 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16326 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16327 | |
|
|
16328 | cat >>confdefs.h <<\_ACEOF |
|
|
16329 | #define USE_XIM 1 |
|
|
16330 | _ACEOF |
|
|
16331 | |
|
|
16332 | fi |
|
|
16333 | fi |
|
|
16334 | if test x$support_xpm = xyes; then |
|
|
16335 | |
|
|
16336 | cat >>confdefs.h <<\_ACEOF |
|
|
16337 | #define XPM_BACKGROUND 1 |
|
|
16338 | _ACEOF |
|
|
16339 | |
|
|
16340 | fi |
|
|
16341 | if test x$support_scroll_rxvt = xyes; then |
|
|
16342 | |
|
|
16343 | cat >>confdefs.h <<\_ACEOF |
|
|
16344 | #define RXVT_SCROLLBAR 1 |
|
|
16345 | _ACEOF |
|
|
16346 | |
|
|
16347 | scrolltypes="rxvt" |
|
|
16348 | fi |
|
|
16349 | if test x$support_scroll_next = xyes; then |
|
|
16350 | |
|
|
16351 | cat >>confdefs.h <<\_ACEOF |
|
|
16352 | #define NEXT_SCROLLBAR 1 |
|
|
16353 | _ACEOF |
|
|
16354 | |
|
|
16355 | scrolltypes="$scrolltypes next" |
|
|
16356 | fi |
|
|
16357 | if test x$support_scroll_xterm = xyes; then |
|
|
16358 | |
|
|
16359 | cat >>confdefs.h <<\_ACEOF |
|
|
16360 | #define XTERM_SCROLLBAR 1 |
|
|
16361 | _ACEOF |
|
|
16362 | |
|
|
16363 | scrolltypes="$scrolltypes xterm" |
|
|
16364 | fi |
|
|
16365 | if test x$support_scroll_plain = xyes; then |
|
|
16366 | |
|
|
16367 | cat >>confdefs.h <<\_ACEOF |
|
|
16368 | #define PLAIN_SCROLLBAR 1 |
|
|
16369 | _ACEOF |
|
|
16370 | |
|
|
16371 | scrolltypes="$scrolltypes plain" |
|
|
16372 | fi |
|
|
16373 | if test x$support_pointer_blank = xyes; then |
|
|
16374 | |
|
|
16375 | cat >>confdefs.h <<\_ACEOF |
|
|
16376 | #define POINTER_BLANK 1 |
|
|
16377 | _ACEOF |
|
|
16378 | |
|
|
16379 | fi |
|
|
16380 | if test x$support_cursor_blink = xyes; then |
|
|
16381 | |
|
|
16382 | cat >>confdefs.h <<\_ACEOF |
|
|
16383 | #define CURSOR_BLINK 1 |
|
|
16384 | _ACEOF |
|
|
16385 | |
|
|
16386 | fi |
|
|
16387 | if test x$support_text_blink = xyes; then |
|
|
16388 | |
|
|
16389 | cat >>confdefs.h <<\_ACEOF |
|
|
16390 | #define TEXT_BLINK 1 |
|
|
16391 | _ACEOF |
|
|
16392 | |
|
|
16393 | fi |
|
|
16394 | if test x$support_unicode3 = xyes; then |
|
|
16395 | |
|
|
16396 | cat >>confdefs.h <<\_ACEOF |
|
|
16397 | #define UNICODE_3 1 |
|
|
16398 | _ACEOF |
|
|
16399 | |
|
|
16400 | fi |
|
|
16401 | if test x$support_combining = xyes; then |
|
|
16402 | |
|
|
16403 | cat >>confdefs.h <<\_ACEOF |
|
|
16404 | #define ENABLE_COMBINING 1 |
|
|
16405 | _ACEOF |
|
|
16406 | |
|
|
16407 | fi |
|
|
16408 | if test x$codesets = xall; then |
|
|
16409 | codesets=jp,jp-ext,kr,cn,cn-ext |
|
|
16410 | fi |
|
|
16411 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16412 | |
|
|
16413 | cat >>confdefs.h <<\_ACEOF |
|
|
16414 | #define ENCODING_EU 1 |
|
|
16415 | _ACEOF |
|
|
16416 | |
|
|
16417 | |
|
|
16418 | cat >>confdefs.h <<\_ACEOF |
|
|
16419 | #define ENCODING_VN 1 |
|
|
16420 | _ACEOF |
|
|
16421 | |
|
|
16422 | case "$codeset" in |
|
|
16423 | JP ) |
|
|
16424 | cat >>confdefs.h <<\_ACEOF |
|
|
16425 | #define ENCODING_JP 1 |
|
|
16426 | _ACEOF |
|
|
16427 | ;; |
|
|
16428 | JP_EXT ) |
|
|
16429 | cat >>confdefs.h <<\_ACEOF |
|
|
16430 | #define ENCODING_JP_EXT 1 |
|
|
16431 | _ACEOF |
|
|
16432 | ;; |
|
|
16433 | KR ) |
|
|
16434 | cat >>confdefs.h <<\_ACEOF |
|
|
16435 | #define ENCODING_KR 1 |
|
|
16436 | _ACEOF |
|
|
16437 | ;; |
|
|
16438 | CN ) |
|
|
16439 | cat >>confdefs.h <<\_ACEOF |
|
|
16440 | #define ENCODING_CN 1 |
|
|
16441 | _ACEOF |
|
|
16442 | ;; |
|
|
16443 | CN_EXT ) |
|
|
16444 | cat >>confdefs.h <<\_ACEOF |
|
|
16445 | #define ENCODING_CN_EXT 1 |
|
|
16446 | _ACEOF |
|
|
16447 | ;; |
|
|
16448 | esac |
|
|
16449 | done |
|
|
16450 | |
|
|
16451 | |
|
|
16452 | CFLAGS=${CFLAGS--O} |
|
|
16453 | LDFLAGS=${LDFLAGS--O} |
|
|
16454 | |
|
|
16455 | CPPFLAGS="$CPPFLAGS" |
|
|
16456 | |
|
|
16457 | |
|
|
16458 | |
|
|
16459 | |
|
|
16460 | |
|
|
16461 | |
|
|
16462 | |
|
|
16463 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
16464 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16465 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
16466 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
16467 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
16468 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
16469 | fi |
|
|
16470 | |
|
|
16471 | |
|
|
16472 | |
|
|
16473 | |
|
|
16474 | |
|
|
16475 | if test x$support_addstrings = xno; then |
|
|
16476 | |
|
|
16477 | cat >>confdefs.h <<\_ACEOF |
|
|
16478 | #define NO_STRINGS 1 |
|
|
16479 | _ACEOF |
|
|
16480 | |
|
|
16481 | fi |
|
|
16482 | |
|
|
16483 | MCOMMON=./autoconf/Make.common |
|
|
16484 | |
|
|
16485 | |
|
|
16486 | test "$program_prefix" != NONE && |
|
|
16487 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16488 | # Use a double $ so make ignores it. |
|
|
16489 | test "$program_suffix" != NONE && |
|
|
16490 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
16491 | # Double any \ or $. echo might interpret backslashes. |
|
|
16492 | # By default was `s,x,x', remove it if useless. |
|
|
16493 | cat <<\_ACEOF >conftest.sed |
|
|
16494 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16495 | _ACEOF |
|
|
16496 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16497 | rm conftest.sed |
|
|
16498 | |
|
|
16499 | |
|
|
16500 | |
|
|
16501 | |
|
|
16502 | |
|
|
16503 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16504 | include_stdint_h="#include <stdint.h>" |
|
|
16505 | else |
|
|
16506 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16507 | fi |
|
|
16508 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16509 | include_stdarg_h="#include <cstdarg>" |
|
|
16510 | else |
|
|
16511 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
16512 | fi |
|
|
16513 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16514 | include_stdlib_h="#include <cstdlib>" |
|
|
16515 | else |
|
|
16516 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
16517 | fi |
|
|
16518 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16519 | include_unistd_h="#include <unistd.h>" |
|
|
16520 | else |
|
|
16521 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16522 | fi |
|
|
16523 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16524 | include_string_h="#include <cstring>" |
|
|
16525 | else |
|
|
16526 | include_string_h="/* #include <cstring> */" |
|
|
16527 | fi |
|
|
16528 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16529 | include_fcntl_h="#include <fcntl.h>" |
|
|
16530 | else |
|
|
16531 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16532 | fi |
|
|
16533 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16534 | include_util_h="#include <util.h>" |
|
|
16535 | else |
|
|
16536 | include_util_h="/* #include <util.h> */" |
|
|
16537 | fi |
|
|
16538 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16539 | include_assert_h="#include <assert.h>" |
|
|
16540 | else |
|
|
16541 | include_assert_h="/* #include <assert.h> */" |
|
|
16542 | fi |
|
|
16543 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16544 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16545 | else |
|
|
16546 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16547 | fi |
|
|
16548 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16549 | include_sys_select_h="#include <sys/select.h>" |
|
|
16550 | else |
|
|
16551 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16552 | fi |
|
|
16553 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16554 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16555 | else |
|
|
16556 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16557 | fi |
|
|
16558 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16559 | include_sys_time_h="#include <sys/time.h>" |
|
|
16560 | else |
|
|
16561 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16562 | fi |
|
|
16563 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16564 | include_time_h="#include <time.h>" |
|
|
16565 | else |
|
|
16566 | include_time_h="/* #include <time.h> */" |
|
|
16567 | fi |
15690 | fi |
16568 | |
15691 | |
16569 | if test x$support_xft = xyes; then |
15692 | if test x$support_xft = xyes; then |
16570 | LIBS="$LIBS `pkg-config xft --libs`" |
15693 | LIBS="$LIBS `pkg-config xft --libs`" |
16571 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
15694 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
… | |
… | |
16804 | #define XFT 1 |
15927 | #define XFT 1 |
16805 | _ACEOF |
15928 | _ACEOF |
16806 | |
15929 | |
16807 | fi |
15930 | fi |
16808 | fi |
15931 | fi |
|
|
15932 | if test x$support_styles = xyes; then |
|
|
15933 | |
|
|
15934 | cat >>confdefs.h <<\_ACEOF |
|
|
15935 | #define ENABLE_STYLES 1 |
|
|
15936 | _ACEOF |
|
|
15937 | |
|
|
15938 | fi |
|
|
15939 | if test x$support_iso14755 = xyes; then |
|
|
15940 | |
|
|
15941 | cat >>confdefs.h <<\_ACEOF |
|
|
15942 | #define ISO_14755 1 |
|
|
15943 | _ACEOF |
|
|
15944 | |
|
|
15945 | fi |
|
|
15946 | if test x$support_8bitctrls = xyes; then |
|
|
15947 | |
|
|
15948 | cat >>confdefs.h <<\_ACEOF |
|
|
15949 | #define EIGHT_BIT_CONTROLS 1 |
|
|
15950 | _ACEOF |
|
|
15951 | |
|
|
15952 | fi |
|
|
15953 | if test x$support_fading = xyes; then |
|
|
15954 | |
|
|
15955 | cat >>confdefs.h <<\_ACEOF |
|
|
15956 | #define OFF_FOCUS_FADING 1 |
|
|
15957 | _ACEOF |
|
|
15958 | |
|
|
15959 | fi |
|
|
15960 | if test x$support_tinting = xyes; then |
|
|
15961 | |
|
|
15962 | cat >>confdefs.h <<\_ACEOF |
|
|
15963 | #define TINTING 1 |
|
|
15964 | _ACEOF |
|
|
15965 | |
|
|
15966 | fi |
|
|
15967 | if test x$support_inheritpixmap = xyes; then |
|
|
15968 | |
|
|
15969 | cat >>confdefs.h <<\_ACEOF |
|
|
15970 | #define TRANSPARENT 1 |
|
|
15971 | _ACEOF |
|
|
15972 | |
|
|
15973 | fi |
|
|
15974 | if test x$support_keepscrolling = xno; then |
|
|
15975 | |
|
|
15976 | cat >>confdefs.h <<\_ACEOF |
|
|
15977 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
15978 | _ACEOF |
|
|
15979 | |
|
|
15980 | fi |
|
|
15981 | if test x$support_selectionscrolling = xyes; then |
|
|
15982 | |
|
|
15983 | cat >>confdefs.h <<\_ACEOF |
|
|
15984 | #define SELECTION_SCROLLING 1 |
|
|
15985 | _ACEOF |
|
|
15986 | |
|
|
15987 | fi |
|
|
15988 | if test x$support_menubar = xyes; then |
|
|
15989 | |
|
|
15990 | cat >>confdefs.h <<\_ACEOF |
|
|
15991 | #define MENUBAR 1 |
|
|
15992 | _ACEOF |
|
|
15993 | |
|
|
15994 | fi |
|
|
15995 | if test x$support_frills = xyes; then |
|
|
15996 | |
|
|
15997 | cat >>confdefs.h <<\_ACEOF |
|
|
15998 | #define ENABLE_FRILLS 1 |
|
|
15999 | _ACEOF |
|
|
16000 | |
|
|
16001 | fi |
|
|
16002 | if test x$support_linespace = xno; then |
|
|
16003 | |
|
|
16004 | cat >>confdefs.h <<\_ACEOF |
|
|
16005 | #define NO_LINESPACE 1 |
|
|
16006 | _ACEOF |
|
|
16007 | |
|
|
16008 | fi |
|
|
16009 | if test x$support_24bit = xyes; then |
|
|
16010 | |
|
|
16011 | cat >>confdefs.h <<\_ACEOF |
|
|
16012 | #define PREFER_24BIT 1 |
|
|
16013 | _ACEOF |
|
|
16014 | |
|
|
16015 | fi |
|
|
16016 | if test x$support_mousewheel = xyes; then |
|
|
16017 | |
|
|
16018 | cat >>confdefs.h <<\_ACEOF |
|
|
16019 | #define MOUSE_WHEEL 1 |
|
|
16020 | _ACEOF |
|
|
16021 | |
|
|
16022 | fi |
|
|
16023 | if test x$support_mouseslipwheel = xyes; then |
|
|
16024 | |
|
|
16025 | cat >>confdefs.h <<\_ACEOF |
|
|
16026 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16027 | _ACEOF |
|
|
16028 | |
|
|
16029 | fi |
|
|
16030 | if test x$support_utmp = xyes; then |
|
|
16031 | |
|
|
16032 | cat >>confdefs.h <<\_ACEOF |
|
|
16033 | #define UTMP_SUPPORT 1 |
|
|
16034 | _ACEOF |
|
|
16035 | |
|
|
16036 | fi |
|
|
16037 | if test x$support_wtmp = xyes; then |
|
|
16038 | |
|
|
16039 | cat >>confdefs.h <<\_ACEOF |
|
|
16040 | #define WTMP_SUPPORT 1 |
|
|
16041 | _ACEOF |
|
|
16042 | |
|
|
16043 | fi |
|
|
16044 | if test x$support_lastlog = xyes; then |
|
|
16045 | |
|
|
16046 | cat >>confdefs.h <<\_ACEOF |
|
|
16047 | #define LASTLOG_SUPPORT 1 |
|
|
16048 | _ACEOF |
|
|
16049 | |
|
|
16050 | fi |
|
|
16051 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16052 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16053 | |
|
|
16054 | cat >>confdefs.h <<\_ACEOF |
|
|
16055 | #define USE_XIM 1 |
|
|
16056 | _ACEOF |
|
|
16057 | |
|
|
16058 | fi |
|
|
16059 | fi |
|
|
16060 | if test x$support_xpm = xyes; then |
|
|
16061 | |
|
|
16062 | cat >>confdefs.h <<\_ACEOF |
|
|
16063 | #define XPM_BACKGROUND 1 |
|
|
16064 | _ACEOF |
|
|
16065 | |
|
|
16066 | fi |
|
|
16067 | if test x$support_scroll_rxvt = xyes; then |
|
|
16068 | |
|
|
16069 | cat >>confdefs.h <<\_ACEOF |
|
|
16070 | #define RXVT_SCROLLBAR 1 |
|
|
16071 | _ACEOF |
|
|
16072 | |
|
|
16073 | scrolltypes="rxvt" |
|
|
16074 | fi |
|
|
16075 | if test x$support_scroll_next = xyes; then |
|
|
16076 | |
|
|
16077 | cat >>confdefs.h <<\_ACEOF |
|
|
16078 | #define NEXT_SCROLLBAR 1 |
|
|
16079 | _ACEOF |
|
|
16080 | |
|
|
16081 | scrolltypes="$scrolltypes next" |
|
|
16082 | fi |
|
|
16083 | if test x$support_scroll_xterm = xyes; then |
|
|
16084 | |
|
|
16085 | cat >>confdefs.h <<\_ACEOF |
|
|
16086 | #define XTERM_SCROLLBAR 1 |
|
|
16087 | _ACEOF |
|
|
16088 | |
|
|
16089 | scrolltypes="$scrolltypes xterm" |
|
|
16090 | fi |
|
|
16091 | if test x$support_scroll_plain = xyes; then |
|
|
16092 | |
|
|
16093 | cat >>confdefs.h <<\_ACEOF |
|
|
16094 | #define PLAIN_SCROLLBAR 1 |
|
|
16095 | _ACEOF |
|
|
16096 | |
|
|
16097 | scrolltypes="$scrolltypes plain" |
|
|
16098 | fi |
|
|
16099 | if test x$support_pointer_blank = xyes; then |
|
|
16100 | |
|
|
16101 | cat >>confdefs.h <<\_ACEOF |
|
|
16102 | #define POINTER_BLANK 1 |
|
|
16103 | _ACEOF |
|
|
16104 | |
|
|
16105 | fi |
|
|
16106 | if test x$support_cursor_blink = xyes; then |
|
|
16107 | |
|
|
16108 | cat >>confdefs.h <<\_ACEOF |
|
|
16109 | #define CURSOR_BLINK 1 |
|
|
16110 | _ACEOF |
|
|
16111 | |
|
|
16112 | fi |
|
|
16113 | if test x$support_text_blink = xyes; then |
|
|
16114 | |
|
|
16115 | cat >>confdefs.h <<\_ACEOF |
|
|
16116 | #define TEXT_BLINK 1 |
|
|
16117 | _ACEOF |
|
|
16118 | |
|
|
16119 | fi |
|
|
16120 | if test x$support_unicode3 = xyes; then |
|
|
16121 | |
|
|
16122 | cat >>confdefs.h <<\_ACEOF |
|
|
16123 | #define UNICODE_3 1 |
|
|
16124 | _ACEOF |
|
|
16125 | |
|
|
16126 | fi |
|
|
16127 | if test x$support_combining = xyes; then |
|
|
16128 | |
|
|
16129 | cat >>confdefs.h <<\_ACEOF |
|
|
16130 | #define ENABLE_COMBINING 1 |
|
|
16131 | _ACEOF |
|
|
16132 | |
|
|
16133 | fi |
|
|
16134 | if test x$codesets = xall; then |
|
|
16135 | codesets=jp,jp-ext,kr,zh,zh-ext |
|
|
16136 | fi |
|
|
16137 | |
|
|
16138 | cat >>confdefs.h <<\_ACEOF |
|
|
16139 | #define ENCODING_EU 1 |
|
|
16140 | _ACEOF |
|
|
16141 | |
|
|
16142 | |
|
|
16143 | cat >>confdefs.h <<\_ACEOF |
|
|
16144 | #define ENCODING_VN 1 |
|
|
16145 | _ACEOF |
|
|
16146 | |
|
|
16147 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16148 | case "$codeset" in |
|
|
16149 | JP ) |
|
|
16150 | cat >>confdefs.h <<\_ACEOF |
|
|
16151 | #define ENCODING_JP 1 |
|
|
16152 | _ACEOF |
|
|
16153 | ;; |
|
|
16154 | JP_EXT ) |
|
|
16155 | cat >>confdefs.h <<\_ACEOF |
|
|
16156 | #define ENCODING_JP_EXT 1 |
|
|
16157 | _ACEOF |
|
|
16158 | ;; |
|
|
16159 | KR ) |
|
|
16160 | cat >>confdefs.h <<\_ACEOF |
|
|
16161 | #define ENCODING_KR 1 |
|
|
16162 | _ACEOF |
|
|
16163 | ;; |
|
|
16164 | ZH ) |
|
|
16165 | cat >>confdefs.h <<\_ACEOF |
|
|
16166 | #define ENCODING_ZH 1 |
|
|
16167 | _ACEOF |
|
|
16168 | ;; |
|
|
16169 | ZH_EXT ) |
|
|
16170 | cat >>confdefs.h <<\_ACEOF |
|
|
16171 | #define ENCODING_ZH_EXT 1 |
|
|
16172 | _ACEOF |
|
|
16173 | ;; |
|
|
16174 | esac |
|
|
16175 | done |
|
|
16176 | |
|
|
16177 | |
|
|
16178 | CFLAGS=${CFLAGS--O} |
|
|
16179 | LDFLAGS=${LDFLAGS--O} |
|
|
16180 | |
|
|
16181 | CPPFLAGS="$CPPFLAGS" |
|
|
16182 | |
|
|
16183 | |
|
|
16184 | |
|
|
16185 | |
|
|
16186 | |
|
|
16187 | |
|
|
16188 | |
|
|
16189 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
16190 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16191 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
16192 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
16193 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
16194 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
16195 | fi |
|
|
16196 | |
|
|
16197 | |
|
|
16198 | |
|
|
16199 | |
|
|
16200 | |
|
|
16201 | if test x$support_addstrings = xno; then |
|
|
16202 | |
|
|
16203 | cat >>confdefs.h <<\_ACEOF |
|
|
16204 | #define NO_STRINGS 1 |
|
|
16205 | _ACEOF |
|
|
16206 | |
|
|
16207 | fi |
|
|
16208 | |
|
|
16209 | MCOMMON=./autoconf/Make.common |
|
|
16210 | |
|
|
16211 | |
|
|
16212 | test "$program_prefix" != NONE && |
|
|
16213 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16214 | # Use a double $ so make ignores it. |
|
|
16215 | test "$program_suffix" != NONE && |
|
|
16216 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
16217 | # Double any \ or $. echo might interpret backslashes. |
|
|
16218 | # By default was `s,x,x', remove it if useless. |
|
|
16219 | cat <<\_ACEOF >conftest.sed |
|
|
16220 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16221 | _ACEOF |
|
|
16222 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16223 | rm conftest.sed |
|
|
16224 | |
|
|
16225 | |
|
|
16226 | |
|
|
16227 | |
|
|
16228 | |
|
|
16229 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16230 | include_stdint_h="#include <stdint.h>" |
|
|
16231 | else |
|
|
16232 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16233 | fi |
|
|
16234 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16235 | include_stdarg_h="#include <cstdarg>" |
|
|
16236 | else |
|
|
16237 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
16238 | fi |
|
|
16239 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16240 | include_stdlib_h="#include <cstdlib>" |
|
|
16241 | else |
|
|
16242 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
16243 | fi |
|
|
16244 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16245 | include_unistd_h="#include <unistd.h>" |
|
|
16246 | else |
|
|
16247 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16248 | fi |
|
|
16249 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16250 | include_string_h="#include <cstring>" |
|
|
16251 | else |
|
|
16252 | include_string_h="/* #include <cstring> */" |
|
|
16253 | fi |
|
|
16254 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16255 | include_fcntl_h="#include <fcntl.h>" |
|
|
16256 | else |
|
|
16257 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16258 | fi |
|
|
16259 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16260 | include_util_h="#include <util.h>" |
|
|
16261 | else |
|
|
16262 | include_util_h="/* #include <util.h> */" |
|
|
16263 | fi |
|
|
16264 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16265 | include_assert_h="#include <assert.h>" |
|
|
16266 | else |
|
|
16267 | include_assert_h="/* #include <assert.h> */" |
|
|
16268 | fi |
|
|
16269 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16270 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16271 | else |
|
|
16272 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16273 | fi |
|
|
16274 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16275 | include_sys_select_h="#include <sys/select.h>" |
|
|
16276 | else |
|
|
16277 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16278 | fi |
|
|
16279 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16280 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16281 | else |
|
|
16282 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16283 | fi |
|
|
16284 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16285 | include_sys_time_h="#include <sys/time.h>" |
|
|
16286 | else |
|
|
16287 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16288 | fi |
|
|
16289 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16290 | include_time_h="#include <time.h>" |
|
|
16291 | else |
|
|
16292 | include_time_h="/* #include <time.h> */" |
|
|
16293 | fi |
16809 | |
16294 | |
16810 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" |
16295 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" |
|
|
16296 | |
16811 | cat >confcache <<\_ACEOF |
16297 | cat >confcache <<\_ACEOF |
16812 | # This file is a shell script that caches the results of configure |
16298 | # This file is a shell script that caches the results of configure |
16813 | # tests run on this system so they can be shared between configure |
16299 | # tests run on this system so they can be shared between configure |
16814 | # scripts and configure runs, see configure's option --config-cache. |
16300 | # scripts and configure runs, see configure's option --config-cache. |
16815 | # It is not useful on other systems. If it contains results you don't |
16301 | # It is not useful on other systems. If it contains results you don't |
… | |
… | |
17469 | s,@CP@,$CP,;t t |
16955 | s,@CP@,$CP,;t t |
17470 | s,@LN@,$LN,;t t |
16956 | s,@LN@,$LN,;t t |
17471 | s,@SED@,$SED,;t t |
16957 | s,@SED@,$SED,;t t |
17472 | s,@CMP@,$CMP,;t t |
16958 | s,@CMP@,$CMP,;t t |
17473 | s,@TBL@,$TBL,;t t |
16959 | s,@TBL@,$TBL,;t t |
|
|
16960 | s,@TIC@,$TIC,;t t |
17474 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
16961 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
17475 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
16962 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
17476 | s,@X_LIBS@,$X_LIBS,;t t |
16963 | s,@X_LIBS@,$X_LIBS,;t t |
17477 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
16964 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
17478 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
16965 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |