… | |
… | |
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 |
|
|
1042 | --enable-tinting enable tinting of transparent bg |
|
|
1043 | --enable-fading enable colors fading when off focus |
1041 | --enable-menubar enable menubar |
1044 | --enable-menubar enable menubar |
1042 | --enable-rxvt-scroll enable rxvt style scrollbar |
1045 | --enable-rxvt-scroll enable rxvt style scrollbar |
1043 | --enable-next-scroll enable NeXT style scrollbar |
1046 | --enable-next-scroll enable NeXT style scrollbar |
1044 | --enable-xterm-scroll enable Xterm style scrollbar |
1047 | --enable-xterm-scroll enable Xterm style scrollbar |
1045 | --enable-plain-scroll enable plain style scrollbar |
1048 | --enable-plain-scroll enable plain style scrollbar |
… | |
… | |
1048 | --enable-ttygid enable tty setting to group named "tty" |
1051 | --enable-ttygid enable tty setting to group named "tty" |
1049 | --disable-backspace-key disable handling of the backspace key |
1052 | --disable-backspace-key disable handling of the backspace key |
1050 | --disable-delete-key disable handling of the delete key |
1053 | --disable-delete-key disable handling of the delete key |
1051 | --disable-resources disable all resource checking |
1054 | --disable-resources disable all resource checking |
1052 | --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) |
1053 | --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) |
1054 | --enable-strings enable some replacement system functions |
1058 | --enable-strings enable some replacement system functions |
1055 | --disable-swapscreen disable swap screen support |
1059 | --disable-swapscreen disable swap screen support |
|
|
1060 | --enable-iso14755 enable support for extended ISO 14755 modes |
1056 | --enable-frills enable support for rarely used features |
1061 | --enable-frills enable support for rarely used features |
1057 | --enable-linespace enable support for linespace |
1062 | --enable-linespace enable support for linespace |
1058 | --enable-24bit enable support for using 24bit visuals if available |
1063 | --enable-24bit enable support for using 24bit visuals if available |
1059 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1064 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1060 | --enable-selectionscrolling enable scrolling during selections |
1065 | --enable-selectionscrolling enable scrolling during selections |
1061 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1066 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1062 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1067 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1063 | --enable-old-selection enable v2.20 (& prior) mouse selection style support |
|
|
1064 | --disable-new-selection disable new mouse (xterm) selection style support |
|
|
1065 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1068 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1066 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1069 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1067 | NOTE: enable only one malloc package |
1070 | NOTE: enable only one malloc package |
1068 | --enable-smart-resize enable smart growth/shrink behaviour |
1071 | --enable-smart-resize enable smart growth/shrink behaviour |
1069 | --enable-256-color enable 256-color support |
|
|
1070 | --enable-cursor-blink enable blinking cursor |
1072 | --enable-cursor-blink enable blinking cursor |
1071 | --enable-text-blink enable blinking text |
1073 | --enable-text-blink enable blinking text |
1072 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1074 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1073 | |
1075 | |
1074 | Optional Packages: |
1076 | Optional Packages: |
1075 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1077 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1076 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1078 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1077 | --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 |
1078 | --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 |
1079 | --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) |
1080 | --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) |
1081 | --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) |
1082 | --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) |
1083 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1085 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1084 | --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 |
… | |
… | |
1535 | |
1537 | |
1536 | |
1538 | |
1537 | |
1539 | |
1538 | |
1540 | |
1539 | |
1541 | |
|
|
1542 | |
1540 | ac_aux_dir= |
1543 | ac_aux_dir= |
1541 | for ac_dir in autoconf $srcdir/autoconf; do |
1544 | for ac_dir in autoconf $srcdir/autoconf; do |
1542 | if test -f $ac_dir/install-sh; then |
1545 | if test -f $ac_dir/install-sh; then |
1543 | ac_aux_dir=$ac_dir |
1546 | ac_aux_dir=$ac_dir |
1544 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1547 | ac_install_sh="$ac_aux_dir/install-sh -c" |
… | |
… | |
3281 | LINKER=$LINKER |
3284 | LINKER=$LINKER |
3282 | |
3285 | |
3283 | |
3286 | |
3284 | CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" |
3287 | CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" |
3285 | |
3288 | |
3286 | if test x$GXX = xyes; then |
|
|
3287 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
|
|
3288 | fi |
|
|
3289 | |
3289 | |
3290 | ac_ext=cc |
3290 | ac_ext=cc |
3291 | ac_cpp='$CXXCPP $CPPFLAGS' |
3291 | ac_cpp='$CXXCPP $CPPFLAGS' |
3292 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3292 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3293 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3293 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
… | |
… | |
3690 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3690 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3691 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3691 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3692 | if test "$ac_cv_search_strerror" != no; then |
3692 | if test "$ac_cv_search_strerror" != no; then |
3693 | 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" |
3694 | |
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" |
3695 | fi |
3898 | fi |
3696 | |
3899 | |
3697 | |
3900 | |
3698 | # Check whether --enable-shared or --disable-shared was given. |
3901 | # Check whether --enable-shared or --disable-shared was given. |
3699 | if test "${enable_shared+set}" = set; then |
3902 | if test "${enable_shared+set}" = set; then |
… | |
… | |
5035 | # 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 |
5036 | # libtool support. |
5239 | # libtool support. |
5037 | case "$host" in |
5240 | case "$host" in |
5038 | *-*-irix6*) |
5241 | *-*-irix6*) |
5039 | # Find out which ABI we are using. |
5242 | # Find out which ABI we are using. |
5040 | echo '#line 5040 "configure"' > conftest.$ac_ext |
5243 | echo '#line 5243 "configure"' > conftest.$ac_ext |
5041 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5244 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5042 | (eval $ac_compile) 2>&5 |
5245 | (eval $ac_compile) 2>&5 |
5043 | ac_status=$? |
5246 | ac_status=$? |
5044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5045 | (exit $ac_status); }; then |
5248 | (exit $ac_status); }; then |
… | |
… | |
5586 | # builds. |
5789 | # builds. |
5587 | chmod -w . |
5790 | chmod -w . |
5588 | save_CFLAGS="$CFLAGS" |
5791 | save_CFLAGS="$CFLAGS" |
5589 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5792 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5590 | compiler_c_o=no |
5793 | compiler_c_o=no |
5591 | if { (eval echo configure:5591: \"$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 |
5592 | # 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 |
5593 | # So say no if there are warnings |
5796 | # So say no if there are warnings |
5594 | if test -s out/conftest.err; then |
5797 | if test -s out/conftest.err; then |
5595 | compiler_c_o=no |
5798 | compiler_c_o=no |
5596 | else |
5799 | else |
… | |
… | |
7202 | lt_cv_dlopen_self=cross |
7405 | lt_cv_dlopen_self=cross |
7203 | else |
7406 | else |
7204 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7407 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7205 | lt_status=$lt_dlunknown |
7408 | lt_status=$lt_dlunknown |
7206 | cat > conftest.$ac_ext <<EOF |
7409 | cat > conftest.$ac_ext <<EOF |
7207 | #line 7207 "configure" |
7410 | #line 7410 "configure" |
7208 | #include "confdefs.h" |
7411 | #include "confdefs.h" |
7209 | |
7412 | |
7210 | #if HAVE_DLFCN_H |
7413 | #if HAVE_DLFCN_H |
7211 | #include <dlfcn.h> |
7414 | #include <dlfcn.h> |
7212 | #endif |
7415 | #endif |
… | |
… | |
7300 | lt_cv_dlopen_self_static=cross |
7503 | lt_cv_dlopen_self_static=cross |
7301 | else |
7504 | else |
7302 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7505 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7303 | lt_status=$lt_dlunknown |
7506 | lt_status=$lt_dlunknown |
7304 | cat > conftest.$ac_ext <<EOF |
7507 | cat > conftest.$ac_ext <<EOF |
7305 | #line 7305 "configure" |
7508 | #line 7508 "configure" |
7306 | #include "confdefs.h" |
7509 | #include "confdefs.h" |
7307 | |
7510 | |
7308 | #if HAVE_DLFCN_H |
7511 | #if HAVE_DLFCN_H |
7309 | #include <dlfcn.h> |
7512 | #include <dlfcn.h> |
7310 | #endif |
7513 | #endif |
… | |
… | |
8033 | MALLOC_TYPE=S |
8236 | MALLOC_TYPE=S |
8034 | support_addstrings=no |
8237 | support_addstrings=no |
8035 | support_frills=no |
8238 | support_frills=no |
8036 | support_linespace=no |
8239 | support_linespace=no |
8037 | support_inheritpixmap=no |
8240 | support_inheritpixmap=no |
|
|
8241 | support_tinting=no |
|
|
8242 | support_fading=no |
8038 | support_keepscrolling=no |
8243 | support_keepscrolling=no |
8039 | support_selectionscrolling=no |
8244 | support_selectionscrolling=no |
8040 | support_menubar=no |
8245 | support_menubar=no |
8041 | support_mousewheel=no |
8246 | support_mousewheel=no |
8042 | support_mouseslipwheel=no |
8247 | support_mouseslipwheel=no |
8043 | support_oldselection=no |
|
|
8044 | support_utmp=no |
8248 | support_utmp=no |
8045 | support_wtmp=no |
8249 | support_wtmp=no |
8046 | support_lastlog=no |
8250 | support_lastlog=no |
8047 | support_cursor_blink=no |
8251 | support_cursor_blink=no |
8048 | support_text_blink=no |
8252 | support_text_blink=no |
… | |
… | |
8054 | support_xim=no |
8258 | support_xim=no |
8055 | support_xpm=no |
8259 | support_xpm=no |
8056 | support_xft=no |
8260 | support_xft=no |
8057 | support_unicode3=no |
8261 | support_unicode3=no |
8058 | support_combining=no |
8262 | support_combining=no |
|
|
8263 | support_8bitctrls=no |
|
|
8264 | support_iso14755=no |
|
|
8265 | support_styles=no |
8059 | codesets= |
8266 | codesets= |
8060 | |
8267 | |
8061 | |
8268 | |
8062 | if test "x$enable_shared" = xyes; then |
8269 | if test "x$enable_shared" = xyes; then |
8063 | |
8270 | |
… | |
… | |
8075 | if test x$enableval = xyes; then |
8282 | if test x$enableval = xyes; then |
8076 | support_24bit=yes |
8283 | support_24bit=yes |
8077 | support_frills=yes |
8284 | support_frills=yes |
8078 | support_linespace=yes |
8285 | support_linespace=yes |
8079 | support_inheritpixmap=yes |
8286 | support_inheritpixmap=yes |
|
|
8287 | support_tinting=yes |
|
|
8288 | support_fading=yes |
8080 | support_keepscrolling=yes |
8289 | support_keepscrolling=yes |
8081 | support_selectionscrolling=yes |
8290 | support_selectionscrolling=yes |
8082 | support_lastlog=yes |
8291 | support_lastlog=yes |
8083 | support_menubar=yes |
8292 | support_menubar=yes |
8084 | support_mousewheel=yes |
8293 | support_mousewheel=yes |
8085 | support_mouseslipwheel=yes |
8294 | support_mouseslipwheel=yes |
8086 | support_oldselection=yes |
|
|
8087 | support_cursor_blink=yes |
8295 | support_cursor_blink=yes |
8088 | support_text_blink=yes |
8296 | support_text_blink=yes |
8089 | support_pointer_blank=yes |
8297 | support_pointer_blank=yes |
8090 | support_scroll_rxvt=yes |
8298 | support_scroll_rxvt=yes |
8091 | support_scroll_next=yes |
8299 | support_scroll_next=yes |
… | |
… | |
8096 | support_xim=yes |
8304 | support_xim=yes |
8097 | support_xpm=yes |
8305 | support_xpm=yes |
8098 | support_xft=yes |
8306 | support_xft=yes |
8099 | support_unicode3=yes |
8307 | support_unicode3=yes |
8100 | support_combining=yes |
8308 | support_combining=yes |
|
|
8309 | #support_8bitctrls=yes |
|
|
8310 | support_iso14755=yes |
|
|
8311 | support_styles=yes |
8101 | codesets=all |
8312 | codesets=all |
8102 | fi |
8313 | fi |
8103 | fi; |
8314 | fi; |
8104 | |
8315 | |
8105 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8316 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8106 | if test "${enable_unicode3+set}" = set; then |
8317 | if test "${enable_unicode3+set}" = set; then |
8107 | enableval="$enable_unicode3" |
8318 | enableval="$enable_unicode3" |
8108 | if test x$enableval = xyes -o x$enableval = xno; then |
8319 | if test x$enableval = xyes -o x$enableval = xno; then |
8109 | support_unicode3=yes |
8320 | support_unicode3=$enableval |
8110 | fi |
8321 | fi |
8111 | fi; |
8322 | fi; |
8112 | |
8323 | |
8113 | # Check whether --enable-combining or --disable-combining was given. |
8324 | # Check whether --enable-combining or --disable-combining was given. |
8114 | if test "${enable_combining+set}" = set; then |
8325 | if test "${enable_combining+set}" = set; then |
8115 | enableval="$enable_combining" |
8326 | enableval="$enable_combining" |
8116 | if test x$enableval = xyes -o x$enableval = xno; then |
8327 | if test x$enableval = xyes -o x$enableval = xno; then |
8117 | support_combining=yes |
8328 | support_combining=$enableval |
8118 | fi |
8329 | fi |
8119 | fi; |
8330 | fi; |
8120 | |
8331 | |
8121 | # Check whether --enable-xft or --disable-xft was given. |
8332 | # Check whether --enable-xft or --disable-xft was given. |
8122 | if test "${enable_xft+set}" = set; then |
8333 | if test "${enable_xft+set}" = set; then |
8123 | enableval="$enable_xft" |
8334 | enableval="$enable_xft" |
8124 | if test x$enableval = xyes -o x$enableval = xno; then |
8335 | if test x$enableval = xyes -o x$enableval = xno; then |
8125 | 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 |
8126 | fi |
8345 | fi |
8127 | fi; |
8346 | fi; |
8128 | |
8347 | |
8129 | # Check whether --enable-utmp or --disable-utmp was given. |
8348 | # Check whether --enable-utmp or --disable-utmp was given. |
8130 | if test "${enable_utmp+set}" = set; then |
8349 | if test "${enable_utmp+set}" = set; then |
… | |
… | |
8164 | if test x$enableval = xyes -o x$enableval = xno; then |
8383 | if test x$enableval = xyes -o x$enableval = xno; then |
8165 | support_inheritpixmap=$enableval |
8384 | support_inheritpixmap=$enableval |
8166 | fi |
8385 | fi |
8167 | fi; |
8386 | fi; |
8168 | |
8387 | |
|
|
8388 | # Check whether --enable-tinting or --disable-tinting was given. |
|
|
8389 | if test "${enable_tinting+set}" = set; then |
|
|
8390 | enableval="$enable_tinting" |
|
|
8391 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8392 | support_tinting=$enableval |
|
|
8393 | fi |
|
|
8394 | fi; |
|
|
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 | |
8169 | # Check whether --enable-menubar or --disable-menubar was given. |
8404 | # Check whether --enable-menubar or --disable-menubar was given. |
8170 | if test "${enable_menubar+set}" = set; then |
8405 | if test "${enable_menubar+set}" = set; then |
8171 | enableval="$enable_menubar" |
8406 | enableval="$enable_menubar" |
8172 | if test x$enableval = xyes -o x$enableval = xno; then |
8407 | if test x$enableval = xyes -o x$enableval = xno; then |
8173 | support_menubar=$enableval |
8408 | support_menubar=$enableval |
… | |
… | |
8291 | _ACEOF |
8526 | _ACEOF |
8292 | |
8527 | |
8293 | fi |
8528 | fi |
8294 | fi; |
8529 | fi; |
8295 | |
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 | |
8296 | RESFALLBACK=Rxvt |
8539 | RESFALLBACK=Rxvt |
8297 | # Check whether --enable-fallback or --disable-fallback was given. |
8540 | # Check whether --enable-fallback or --disable-fallback was given. |
8298 | if test "${enable_fallback+set}" = set; then |
8541 | if test "${enable_fallback+set}" = set; then |
8299 | enableval="$enable_fallback" |
8542 | enableval="$enable_fallback" |
8300 | |
8543 | |
… | |
… | |
8343 | # Check whether --with-name or --without-name was given. |
8586 | # Check whether --with-name or --without-name was given. |
8344 | if test "${with_name+set}" = set; then |
8587 | if test "${with_name+set}" = set; then |
8345 | withval="$with_name" |
8588 | withval="$with_name" |
8346 | RXVTNAME="$withval" |
8589 | RXVTNAME="$withval" |
8347 | fi; |
8590 | fi; |
|
|
8591 | |
|
|
8592 | cat >>confdefs.h <<_ACEOF |
|
|
8593 | #define RXVTNAME "$RXVTNAME" |
|
|
8594 | _ACEOF |
|
|
8595 | |
8348 | |
8596 | |
8349 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8597 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8350 | |
8598 | |
8351 | |
8599 | |
8352 | # Check whether --enable-strings or --disable-strings was given. |
8600 | # Check whether --enable-strings or --disable-strings was given. |
… | |
… | |
8367 | _ACEOF |
8615 | _ACEOF |
8368 | |
8616 | |
8369 | fi |
8617 | fi |
8370 | fi; |
8618 | fi; |
8371 | |
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 |
|
|
8625 | fi |
|
|
8626 | fi; |
|
|
8627 | |
8372 | # Check whether --enable-frills or --disable-frills was given. |
8628 | # Check whether --enable-frills or --disable-frills was given. |
8373 | if test "${enable_frills+set}" = set; then |
8629 | if test "${enable_frills+set}" = set; then |
8374 | enableval="$enable_frills" |
8630 | enableval="$enable_frills" |
8375 | if test x$enableval = xyes -o x$enableval = xno; then |
8631 | if test x$enableval = xyes -o x$enableval = xno; then |
8376 | support_frills=$enableval |
8632 | support_frills=$enableval |
… | |
… | |
8420 | # Check whether --enable-slipwheeling or --disable-slipwheeling was given. |
8676 | # Check whether --enable-slipwheeling or --disable-slipwheeling was given. |
8421 | if test "${enable_slipwheeling+set}" = set; then |
8677 | if test "${enable_slipwheeling+set}" = set; then |
8422 | enableval="$enable_slipwheeling" |
8678 | enableval="$enable_slipwheeling" |
8423 | if test x$enableval = xyes -o x$enableval = xno; then |
8679 | if test x$enableval = xyes -o x$enableval = xno; then |
8424 | support_mouseslipwheel=$enableval |
8680 | support_mouseslipwheel=$enableval |
8425 | fi |
|
|
8426 | fi; |
|
|
8427 | |
|
|
8428 | # Check whether --enable-old-selection or --disable-old-selection was given. |
|
|
8429 | if test "${enable_old_selection+set}" = set; then |
|
|
8430 | enableval="$enable_old_selection" |
|
|
8431 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8432 | support_oldselection=$enableval |
|
|
8433 | fi |
|
|
8434 | fi; |
|
|
8435 | |
|
|
8436 | # Check whether --enable-new-selection or --disable-new-selection was given. |
|
|
8437 | if test "${enable_new_selection+set}" = set; then |
|
|
8438 | enableval="$enable_new_selection" |
|
|
8439 | if test x$enableval = xno; then |
|
|
8440 | |
|
|
8441 | cat >>confdefs.h <<\_ACEOF |
|
|
8442 | #define NO_NEW_SELECTION 1 |
|
|
8443 | _ACEOF |
|
|
8444 | |
|
|
8445 | fi |
8681 | fi |
8446 | fi; |
8682 | fi; |
8447 | |
8683 | |
8448 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
8684 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
8449 | if test "${enable_dmalloc+set}" = set; then |
8685 | if test "${enable_dmalloc+set}" = set; then |
… | |
… | |
8472 | enableval="$enable_smart_resize" |
8708 | enableval="$enable_smart_resize" |
8473 | if test x$enableval = xyes; then |
8709 | if test x$enableval = xyes; then |
8474 | |
8710 | |
8475 | cat >>confdefs.h <<\_ACEOF |
8711 | cat >>confdefs.h <<\_ACEOF |
8476 | #define SMART_RESIZE 1 |
8712 | #define SMART_RESIZE 1 |
8477 | _ACEOF |
|
|
8478 | |
|
|
8479 | fi |
|
|
8480 | fi; |
|
|
8481 | |
|
|
8482 | # Check whether --enable-256-color or --disable-256-color was given. |
|
|
8483 | if test "${enable_256_color+set}" = set; then |
|
|
8484 | enableval="$enable_256_color" |
|
|
8485 | if test x$enableval = xyes; then |
|
|
8486 | |
|
|
8487 | cat >>confdefs.h <<\_ACEOF |
|
|
8488 | #define TTY_256COLOR 1 |
|
|
8489 | _ACEOF |
8713 | _ACEOF |
8490 | |
8714 | |
8491 | fi |
8715 | fi |
8492 | fi; |
8716 | fi; |
8493 | |
8717 | |
… | |
… | |
8872 | else |
9096 | else |
8873 | echo "$as_me:$LINENO: result: no" >&5 |
9097 | echo "$as_me:$LINENO: result: no" >&5 |
8874 | echo "${ECHO_T}no" >&6 |
9098 | echo "${ECHO_T}no" >&6 |
8875 | fi |
9099 | fi |
8876 | |
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 |
8877 | |
9126 | |
|
|
9127 | ;; |
|
|
9128 | esac |
|
|
9129 | fi |
|
|
9130 | TIC=$ac_cv_path_TIC |
8878 | |
9131 | |
|
|
9132 | if test -n "$TIC"; then |
|
|
9133 | echo "$as_me:$LINENO: result: $TIC" >&5 |
|
|
9134 | echo "${ECHO_T}$TIC" >&6 |
|
|
9135 | else |
|
|
9136 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
9137 | echo "${ECHO_T}no" >&6 |
|
|
9138 | fi |
8879 | |
9139 | |
|
|
9140 | |
|
|
9141 | |
|
|
9142 | |
|
|
9143 | |
|
|
9144 | if test "x$ac_path_x_has_been_run" != xyes; then |
8880 | echo "$as_me:$LINENO: checking for X" >&5 |
9145 | echo "$as_me:$LINENO: checking for X" >&5 |
8881 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
9146 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
8882 | |
9147 | |
|
|
9148 | ac_path_x_has_been_run=yes |
8883 | |
9149 | |
8884 | # Check whether --with-x or --without-x was given. |
9150 | # Check whether --with-x or --without-x was given. |
8885 | if test "${with_x+set}" = set; then |
9151 | if test "${with_x+set}" = set; then |
8886 | withval="$with_x" |
9152 | withval="$with_x" |
8887 | |
9153 | |
… | |
… | |
8970 | |
9236 | |
8971 | /usr/openwin/include |
9237 | /usr/openwin/include |
8972 | /usr/openwin/share/include' |
9238 | /usr/openwin/share/include' |
8973 | |
9239 | |
8974 | if test "$ac_x_includes" = no; then |
9240 | if test "$ac_x_includes" = no; then |
8975 | # Guess where to find include files, by looking for Intrinsic.h. |
9241 | # Guess where to find include files, by looking for a specified header file. |
8976 | # First, try using that file with no special directory specified. |
9242 | # First, try using that file with no special directory specified. |
8977 | cat >conftest.$ac_ext <<_ACEOF |
9243 | cat >conftest.$ac_ext <<_ACEOF |
8978 | /* confdefs.h. */ |
9244 | /* confdefs.h. */ |
8979 | _ACEOF |
9245 | _ACEOF |
8980 | cat confdefs.h >>conftest.$ac_ext |
9246 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
9104 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
9370 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
9105 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
9371 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
9106 | # Update the cache value to reflect the command line values. |
9372 | # Update the cache value to reflect the command line values. |
9107 | ac_cv_have_x="have_x=yes \ |
9373 | ac_cv_have_x="have_x=yes \ |
9108 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
9374 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
|
|
9375 | # It might be that x_includes is empty (headers are found in the |
|
|
9376 | # standard search path. Then output the corresponding message |
|
|
9377 | ac_out_x_includes=$x_includes |
|
|
9378 | test "x$x_includes" = x && ac_out_x_includes="in standard search path" |
9109 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
9379 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 |
9110 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
9380 | echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 |
9111 | fi |
9381 | fi |
9112 | |
9382 | |
|
|
9383 | fi |
9113 | if test "$no_x" = yes; then |
9384 | if test "$no_x" = yes; then |
9114 | # Not all programs may use this symbol, but it does not hurt to define it. |
9385 | # Not all programs may use this symbol, but it does not hurt to define it. |
9115 | |
9386 | |
9116 | cat >>confdefs.h <<\_ACEOF |
9387 | cat >>confdefs.h <<\_ACEOF |
9117 | #define X_DISPLAY_MISSING 1 |
9388 | #define X_DISPLAY_MISSING 1 |
… | |
… | |
10694 | |
10965 | |
10695 | |
10966 | |
10696 | |
10967 | |
10697 | |
10968 | |
10698 | |
10969 | |
|
|
10970 | |
10699 | for ac_header in \ |
10971 | for ac_header in \ |
10700 | assert.h \ |
10972 | assert.h \ |
10701 | fcntl.h \ |
10973 | fcntl.h \ |
10702 | grp.h \ |
10974 | grp.h \ |
10703 | libc.h \ |
10975 | libc.h \ |
… | |
… | |
10710 | sys/byteorder.h \ |
10982 | sys/byteorder.h \ |
10711 | sys/ioctl.h \ |
10983 | sys/ioctl.h \ |
10712 | sys/select.h \ |
10984 | sys/select.h \ |
10713 | sys/sockio.h \ |
10985 | sys/sockio.h \ |
10714 | sys/strredir.h \ |
10986 | sys/strredir.h \ |
|
|
10987 | sys/stropts.h \ |
10715 | sys/time.h \ |
10988 | sys/time.h \ |
10716 | utmp.h \ |
10989 | utmp.h \ |
10717 | utmpx.h \ |
10990 | utmpx.h \ |
10718 | stdint.h \ |
10991 | stdint.h \ |
10719 | |
10992 | |
… | |
… | |
11507 | _ACEOF |
11780 | _ACEOF |
11508 | |
11781 | |
11509 | fi |
11782 | fi |
11510 | |
11783 | |
11511 | |
11784 | |
11512 | |
|
|
11513 | echo "$as_me:$LINENO: checking for char" >&5 |
|
|
11514 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
|
|
11515 | if test "${ac_cv_type_char+set}" = set; then |
|
|
11516 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11517 | else |
|
|
11518 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11519 | /* confdefs.h. */ |
|
|
11520 | _ACEOF |
|
|
11521 | cat confdefs.h >>conftest.$ac_ext |
|
|
11522 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11523 | /* end confdefs.h. */ |
|
|
11524 | $ac_includes_default |
|
|
11525 | int |
|
|
11526 | main () |
|
|
11527 | { |
|
|
11528 | if ((char *) 0) |
|
|
11529 | return 0; |
|
|
11530 | if (sizeof (char)) |
|
|
11531 | return 0; |
|
|
11532 | ; |
|
|
11533 | return 0; |
|
|
11534 | } |
|
|
11535 | _ACEOF |
|
|
11536 | rm -f conftest.$ac_objext |
|
|
11537 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11538 | (eval $ac_compile) 2>conftest.er1 |
|
|
11539 | ac_status=$? |
|
|
11540 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11541 | rm -f conftest.er1 |
|
|
11542 | cat conftest.err >&5 |
|
|
11543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11544 | (exit $ac_status); } && |
|
|
11545 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11546 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11547 | (eval $ac_try) 2>&5 |
|
|
11548 | ac_status=$? |
|
|
11549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11550 | (exit $ac_status); }; } && |
|
|
11551 | { ac_try='test -s conftest.$ac_objext' |
|
|
11552 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11553 | (eval $ac_try) 2>&5 |
|
|
11554 | ac_status=$? |
|
|
11555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11556 | (exit $ac_status); }; }; then |
|
|
11557 | ac_cv_type_char=yes |
|
|
11558 | else |
|
|
11559 | echo "$as_me: failed program was:" >&5 |
|
|
11560 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11561 | |
|
|
11562 | ac_cv_type_char=no |
|
|
11563 | fi |
|
|
11564 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11565 | fi |
|
|
11566 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
|
|
11567 | echo "${ECHO_T}$ac_cv_type_char" >&6 |
|
|
11568 | |
|
|
11569 | echo "$as_me:$LINENO: checking size of char" >&5 |
|
|
11570 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
|
|
11571 | if test "${ac_cv_sizeof_char+set}" = set; then |
|
|
11572 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11573 | else |
|
|
11574 | if test "$ac_cv_type_char" = yes; then |
|
|
11575 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
11576 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
11577 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
11578 | # This bug is HP SR number 8606223364. |
|
|
11579 | if test "$cross_compiling" = yes; then |
|
|
11580 | # Depending upon the size, compute the lo and hi bounds. |
|
|
11581 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11582 | /* confdefs.h. */ |
|
|
11583 | _ACEOF |
|
|
11584 | cat confdefs.h >>conftest.$ac_ext |
|
|
11585 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11586 | /* end confdefs.h. */ |
|
|
11587 | $ac_includes_default |
|
|
11588 | int |
|
|
11589 | main () |
|
|
11590 | { |
|
|
11591 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; |
|
|
11592 | test_array [0] = 0 |
|
|
11593 | |
|
|
11594 | ; |
|
|
11595 | return 0; |
|
|
11596 | } |
|
|
11597 | _ACEOF |
|
|
11598 | rm -f conftest.$ac_objext |
|
|
11599 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11600 | (eval $ac_compile) 2>conftest.er1 |
|
|
11601 | ac_status=$? |
|
|
11602 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11603 | rm -f conftest.er1 |
|
|
11604 | cat conftest.err >&5 |
|
|
11605 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11606 | (exit $ac_status); } && |
|
|
11607 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11608 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11609 | (eval $ac_try) 2>&5 |
|
|
11610 | ac_status=$? |
|
|
11611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11612 | (exit $ac_status); }; } && |
|
|
11613 | { ac_try='test -s conftest.$ac_objext' |
|
|
11614 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11615 | (eval $ac_try) 2>&5 |
|
|
11616 | ac_status=$? |
|
|
11617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11618 | (exit $ac_status); }; }; then |
|
|
11619 | ac_lo=0 ac_mid=0 |
|
|
11620 | while :; do |
|
|
11621 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11622 | /* confdefs.h. */ |
|
|
11623 | _ACEOF |
|
|
11624 | cat confdefs.h >>conftest.$ac_ext |
|
|
11625 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11626 | /* end confdefs.h. */ |
|
|
11627 | $ac_includes_default |
|
|
11628 | int |
|
|
11629 | main () |
|
|
11630 | { |
|
|
11631 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11632 | test_array [0] = 0 |
|
|
11633 | |
|
|
11634 | ; |
|
|
11635 | return 0; |
|
|
11636 | } |
|
|
11637 | _ACEOF |
|
|
11638 | rm -f conftest.$ac_objext |
|
|
11639 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11640 | (eval $ac_compile) 2>conftest.er1 |
|
|
11641 | ac_status=$? |
|
|
11642 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11643 | rm -f conftest.er1 |
|
|
11644 | cat conftest.err >&5 |
|
|
11645 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11646 | (exit $ac_status); } && |
|
|
11647 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11648 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11649 | (eval $ac_try) 2>&5 |
|
|
11650 | ac_status=$? |
|
|
11651 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11652 | (exit $ac_status); }; } && |
|
|
11653 | { ac_try='test -s conftest.$ac_objext' |
|
|
11654 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11655 | (eval $ac_try) 2>&5 |
|
|
11656 | ac_status=$? |
|
|
11657 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11658 | (exit $ac_status); }; }; then |
|
|
11659 | ac_hi=$ac_mid; break |
|
|
11660 | else |
|
|
11661 | echo "$as_me: failed program was:" >&5 |
|
|
11662 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11663 | |
|
|
11664 | ac_lo=`expr $ac_mid + 1` |
|
|
11665 | if test $ac_lo -le $ac_mid; then |
|
|
11666 | ac_lo= ac_hi= |
|
|
11667 | break |
|
|
11668 | fi |
|
|
11669 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
11670 | fi |
|
|
11671 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11672 | done |
|
|
11673 | else |
|
|
11674 | echo "$as_me: failed program was:" >&5 |
|
|
11675 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11676 | |
|
|
11677 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11678 | /* confdefs.h. */ |
|
|
11679 | _ACEOF |
|
|
11680 | cat confdefs.h >>conftest.$ac_ext |
|
|
11681 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11682 | /* end confdefs.h. */ |
|
|
11683 | $ac_includes_default |
|
|
11684 | int |
|
|
11685 | main () |
|
|
11686 | { |
|
|
11687 | static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; |
|
|
11688 | test_array [0] = 0 |
|
|
11689 | |
|
|
11690 | ; |
|
|
11691 | return 0; |
|
|
11692 | } |
|
|
11693 | _ACEOF |
|
|
11694 | rm -f conftest.$ac_objext |
|
|
11695 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11696 | (eval $ac_compile) 2>conftest.er1 |
|
|
11697 | ac_status=$? |
|
|
11698 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11699 | rm -f conftest.er1 |
|
|
11700 | cat conftest.err >&5 |
|
|
11701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11702 | (exit $ac_status); } && |
|
|
11703 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11704 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11705 | (eval $ac_try) 2>&5 |
|
|
11706 | ac_status=$? |
|
|
11707 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11708 | (exit $ac_status); }; } && |
|
|
11709 | { ac_try='test -s conftest.$ac_objext' |
|
|
11710 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11711 | (eval $ac_try) 2>&5 |
|
|
11712 | ac_status=$? |
|
|
11713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11714 | (exit $ac_status); }; }; then |
|
|
11715 | ac_hi=-1 ac_mid=-1 |
|
|
11716 | while :; do |
|
|
11717 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11718 | /* confdefs.h. */ |
|
|
11719 | _ACEOF |
|
|
11720 | cat confdefs.h >>conftest.$ac_ext |
|
|
11721 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11722 | /* end confdefs.h. */ |
|
|
11723 | $ac_includes_default |
|
|
11724 | int |
|
|
11725 | main () |
|
|
11726 | { |
|
|
11727 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; |
|
|
11728 | test_array [0] = 0 |
|
|
11729 | |
|
|
11730 | ; |
|
|
11731 | return 0; |
|
|
11732 | } |
|
|
11733 | _ACEOF |
|
|
11734 | rm -f conftest.$ac_objext |
|
|
11735 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11736 | (eval $ac_compile) 2>conftest.er1 |
|
|
11737 | ac_status=$? |
|
|
11738 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11739 | rm -f conftest.er1 |
|
|
11740 | cat conftest.err >&5 |
|
|
11741 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11742 | (exit $ac_status); } && |
|
|
11743 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11744 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11745 | (eval $ac_try) 2>&5 |
|
|
11746 | ac_status=$? |
|
|
11747 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11748 | (exit $ac_status); }; } && |
|
|
11749 | { ac_try='test -s conftest.$ac_objext' |
|
|
11750 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11751 | (eval $ac_try) 2>&5 |
|
|
11752 | ac_status=$? |
|
|
11753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11754 | (exit $ac_status); }; }; then |
|
|
11755 | ac_lo=$ac_mid; break |
|
|
11756 | else |
|
|
11757 | echo "$as_me: failed program was:" >&5 |
|
|
11758 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11759 | |
|
|
11760 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
11761 | if test $ac_mid -le $ac_hi; then |
|
|
11762 | ac_lo= ac_hi= |
|
|
11763 | break |
|
|
11764 | fi |
|
|
11765 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
11766 | fi |
|
|
11767 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11768 | done |
|
|
11769 | else |
|
|
11770 | echo "$as_me: failed program was:" >&5 |
|
|
11771 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11772 | |
|
|
11773 | ac_lo= ac_hi= |
|
|
11774 | fi |
|
|
11775 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11776 | fi |
|
|
11777 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11778 | # Binary search between lo and hi bounds. |
|
|
11779 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
11780 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
11781 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11782 | /* confdefs.h. */ |
|
|
11783 | _ACEOF |
|
|
11784 | cat confdefs.h >>conftest.$ac_ext |
|
|
11785 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11786 | /* end confdefs.h. */ |
|
|
11787 | $ac_includes_default |
|
|
11788 | int |
|
|
11789 | main () |
|
|
11790 | { |
|
|
11791 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11792 | test_array [0] = 0 |
|
|
11793 | |
|
|
11794 | ; |
|
|
11795 | return 0; |
|
|
11796 | } |
|
|
11797 | _ACEOF |
|
|
11798 | rm -f conftest.$ac_objext |
|
|
11799 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11800 | (eval $ac_compile) 2>conftest.er1 |
|
|
11801 | ac_status=$? |
|
|
11802 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11803 | rm -f conftest.er1 |
|
|
11804 | cat conftest.err >&5 |
|
|
11805 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11806 | (exit $ac_status); } && |
|
|
11807 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11808 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11809 | (eval $ac_try) 2>&5 |
|
|
11810 | ac_status=$? |
|
|
11811 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11812 | (exit $ac_status); }; } && |
|
|
11813 | { ac_try='test -s conftest.$ac_objext' |
|
|
11814 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11815 | (eval $ac_try) 2>&5 |
|
|
11816 | ac_status=$? |
|
|
11817 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11818 | (exit $ac_status); }; }; then |
|
|
11819 | ac_hi=$ac_mid |
|
|
11820 | else |
|
|
11821 | echo "$as_me: failed program was:" >&5 |
|
|
11822 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11823 | |
|
|
11824 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
11825 | fi |
|
|
11826 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11827 | done |
|
|
11828 | case $ac_lo in |
|
|
11829 | ?*) ac_cv_sizeof_char=$ac_lo;; |
|
|
11830 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
11831 | See \`config.log' for more details." >&5 |
|
|
11832 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
11833 | See \`config.log' for more details." >&2;} |
|
|
11834 | { (exit 1); exit 1; }; } ;; |
|
|
11835 | esac |
|
|
11836 | else |
|
|
11837 | if test "$cross_compiling" = yes; then |
|
|
11838 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
11839 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
11840 | { (exit 1); exit 1; }; } |
|
|
11841 | else |
|
|
11842 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11843 | /* confdefs.h. */ |
|
|
11844 | _ACEOF |
|
|
11845 | cat confdefs.h >>conftest.$ac_ext |
|
|
11846 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11847 | /* end confdefs.h. */ |
|
|
11848 | $ac_includes_default |
|
|
11849 | long longval () { return (long) (sizeof (char)); } |
|
|
11850 | unsigned long ulongval () { return (long) (sizeof (char)); } |
|
|
11851 | #include <stdio.h> |
|
|
11852 | #include <stdlib.h> |
|
|
11853 | int |
|
|
11854 | main () |
|
|
11855 | { |
|
|
11856 | |
|
|
11857 | FILE *f = fopen ("conftest.val", "w"); |
|
|
11858 | if (! f) |
|
|
11859 | exit (1); |
|
|
11860 | if (((long) (sizeof (char))) < 0) |
|
|
11861 | { |
|
|
11862 | long i = longval (); |
|
|
11863 | if (i != ((long) (sizeof (char)))) |
|
|
11864 | exit (1); |
|
|
11865 | fprintf (f, "%ld\n", i); |
|
|
11866 | } |
|
|
11867 | else |
|
|
11868 | { |
|
|
11869 | unsigned long i = ulongval (); |
|
|
11870 | if (i != ((long) (sizeof (char)))) |
|
|
11871 | exit (1); |
|
|
11872 | fprintf (f, "%lu\n", i); |
|
|
11873 | } |
|
|
11874 | exit (ferror (f) || fclose (f) != 0); |
|
|
11875 | |
|
|
11876 | ; |
|
|
11877 | return 0; |
|
|
11878 | } |
|
|
11879 | _ACEOF |
|
|
11880 | rm -f conftest$ac_exeext |
|
|
11881 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11882 | (eval $ac_link) 2>&5 |
|
|
11883 | ac_status=$? |
|
|
11884 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11885 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
11886 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11887 | (eval $ac_try) 2>&5 |
|
|
11888 | ac_status=$? |
|
|
11889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11890 | (exit $ac_status); }; }; then |
|
|
11891 | ac_cv_sizeof_char=`cat conftest.val` |
|
|
11892 | else |
|
|
11893 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
11894 | echo "$as_me: failed program was:" >&5 |
|
|
11895 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11896 | |
|
|
11897 | ( exit $ac_status ) |
|
|
11898 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
11899 | See \`config.log' for more details." >&5 |
|
|
11900 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
11901 | See \`config.log' for more details." >&2;} |
|
|
11902 | { (exit 1); exit 1; }; } |
|
|
11903 | fi |
|
|
11904 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
11905 | fi |
|
|
11906 | fi |
|
|
11907 | rm -f conftest.val |
|
|
11908 | else |
|
|
11909 | ac_cv_sizeof_char=0 |
|
|
11910 | fi |
|
|
11911 | fi |
|
|
11912 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
|
|
11913 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
|
|
11914 | cat >>confdefs.h <<_ACEOF |
|
|
11915 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
|
|
11916 | _ACEOF |
|
|
11917 | |
|
|
11918 | |
|
|
11919 | echo "$as_me:$LINENO: checking for short" >&5 |
11785 | echo "$as_me:$LINENO: checking for short" >&5 |
11920 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
11786 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
11921 | if test "${ac_cv_type_short+set}" = set; then |
11787 | if test "${ac_cv_type_short+set}" = set; then |
11922 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11788 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11923 | else |
11789 | else |
… | |
… | |
12723 | fi |
12589 | fi |
12724 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12590 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12725 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12591 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12726 | cat >>confdefs.h <<_ACEOF |
12592 | cat >>confdefs.h <<_ACEOF |
12727 | #define SIZEOF_INT $ac_cv_sizeof_int |
12593 | #define SIZEOF_INT $ac_cv_sizeof_int |
12728 | _ACEOF |
|
|
12729 | |
|
|
12730 | |
|
|
12731 | echo "$as_me:$LINENO: checking for long" >&5 |
|
|
12732 | echo $ECHO_N "checking for long... $ECHO_C" >&6 |
|
|
12733 | if test "${ac_cv_type_long+set}" = set; then |
|
|
12734 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12735 | else |
|
|
12736 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12737 | /* confdefs.h. */ |
|
|
12738 | _ACEOF |
|
|
12739 | cat confdefs.h >>conftest.$ac_ext |
|
|
12740 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12741 | /* end confdefs.h. */ |
|
|
12742 | $ac_includes_default |
|
|
12743 | int |
|
|
12744 | main () |
|
|
12745 | { |
|
|
12746 | if ((long *) 0) |
|
|
12747 | return 0; |
|
|
12748 | if (sizeof (long)) |
|
|
12749 | return 0; |
|
|
12750 | ; |
|
|
12751 | return 0; |
|
|
12752 | } |
|
|
12753 | _ACEOF |
|
|
12754 | rm -f conftest.$ac_objext |
|
|
12755 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12756 | (eval $ac_compile) 2>conftest.er1 |
|
|
12757 | ac_status=$? |
|
|
12758 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12759 | rm -f conftest.er1 |
|
|
12760 | cat conftest.err >&5 |
|
|
12761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12762 | (exit $ac_status); } && |
|
|
12763 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12764 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12765 | (eval $ac_try) 2>&5 |
|
|
12766 | ac_status=$? |
|
|
12767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12768 | (exit $ac_status); }; } && |
|
|
12769 | { ac_try='test -s conftest.$ac_objext' |
|
|
12770 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12771 | (eval $ac_try) 2>&5 |
|
|
12772 | ac_status=$? |
|
|
12773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12774 | (exit $ac_status); }; }; then |
|
|
12775 | ac_cv_type_long=yes |
|
|
12776 | else |
|
|
12777 | echo "$as_me: failed program was:" >&5 |
|
|
12778 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12779 | |
|
|
12780 | ac_cv_type_long=no |
|
|
12781 | fi |
|
|
12782 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12783 | fi |
|
|
12784 | echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
|
|
12785 | echo "${ECHO_T}$ac_cv_type_long" >&6 |
|
|
12786 | |
|
|
12787 | echo "$as_me:$LINENO: checking size of long" >&5 |
|
|
12788 | echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
|
|
12789 | if test "${ac_cv_sizeof_long+set}" = set; then |
|
|
12790 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12791 | else |
|
|
12792 | if test "$ac_cv_type_long" = yes; then |
|
|
12793 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
12794 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
12795 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
12796 | # This bug is HP SR number 8606223364. |
|
|
12797 | if test "$cross_compiling" = yes; then |
|
|
12798 | # Depending upon the size, compute the lo and hi bounds. |
|
|
12799 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12800 | /* confdefs.h. */ |
|
|
12801 | _ACEOF |
|
|
12802 | cat confdefs.h >>conftest.$ac_ext |
|
|
12803 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12804 | /* end confdefs.h. */ |
|
|
12805 | $ac_includes_default |
|
|
12806 | int |
|
|
12807 | main () |
|
|
12808 | { |
|
|
12809 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; |
|
|
12810 | test_array [0] = 0 |
|
|
12811 | |
|
|
12812 | ; |
|
|
12813 | return 0; |
|
|
12814 | } |
|
|
12815 | _ACEOF |
|
|
12816 | rm -f conftest.$ac_objext |
|
|
12817 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12818 | (eval $ac_compile) 2>conftest.er1 |
|
|
12819 | ac_status=$? |
|
|
12820 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12821 | rm -f conftest.er1 |
|
|
12822 | cat conftest.err >&5 |
|
|
12823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12824 | (exit $ac_status); } && |
|
|
12825 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12826 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12827 | (eval $ac_try) 2>&5 |
|
|
12828 | ac_status=$? |
|
|
12829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12830 | (exit $ac_status); }; } && |
|
|
12831 | { ac_try='test -s conftest.$ac_objext' |
|
|
12832 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12833 | (eval $ac_try) 2>&5 |
|
|
12834 | ac_status=$? |
|
|
12835 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12836 | (exit $ac_status); }; }; then |
|
|
12837 | ac_lo=0 ac_mid=0 |
|
|
12838 | while :; do |
|
|
12839 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12840 | /* confdefs.h. */ |
|
|
12841 | _ACEOF |
|
|
12842 | cat confdefs.h >>conftest.$ac_ext |
|
|
12843 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12844 | /* end confdefs.h. */ |
|
|
12845 | $ac_includes_default |
|
|
12846 | int |
|
|
12847 | main () |
|
|
12848 | { |
|
|
12849 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
12850 | test_array [0] = 0 |
|
|
12851 | |
|
|
12852 | ; |
|
|
12853 | return 0; |
|
|
12854 | } |
|
|
12855 | _ACEOF |
|
|
12856 | rm -f conftest.$ac_objext |
|
|
12857 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12858 | (eval $ac_compile) 2>conftest.er1 |
|
|
12859 | ac_status=$? |
|
|
12860 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12861 | rm -f conftest.er1 |
|
|
12862 | cat conftest.err >&5 |
|
|
12863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12864 | (exit $ac_status); } && |
|
|
12865 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12866 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12867 | (eval $ac_try) 2>&5 |
|
|
12868 | ac_status=$? |
|
|
12869 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12870 | (exit $ac_status); }; } && |
|
|
12871 | { ac_try='test -s conftest.$ac_objext' |
|
|
12872 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12873 | (eval $ac_try) 2>&5 |
|
|
12874 | ac_status=$? |
|
|
12875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12876 | (exit $ac_status); }; }; then |
|
|
12877 | ac_hi=$ac_mid; break |
|
|
12878 | else |
|
|
12879 | echo "$as_me: failed program was:" >&5 |
|
|
12880 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12881 | |
|
|
12882 | ac_lo=`expr $ac_mid + 1` |
|
|
12883 | if test $ac_lo -le $ac_mid; then |
|
|
12884 | ac_lo= ac_hi= |
|
|
12885 | break |
|
|
12886 | fi |
|
|
12887 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
12888 | fi |
|
|
12889 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12890 | done |
|
|
12891 | else |
|
|
12892 | echo "$as_me: failed program was:" >&5 |
|
|
12893 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12894 | |
|
|
12895 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12896 | /* confdefs.h. */ |
|
|
12897 | _ACEOF |
|
|
12898 | cat confdefs.h >>conftest.$ac_ext |
|
|
12899 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12900 | /* end confdefs.h. */ |
|
|
12901 | $ac_includes_default |
|
|
12902 | int |
|
|
12903 | main () |
|
|
12904 | { |
|
|
12905 | static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; |
|
|
12906 | test_array [0] = 0 |
|
|
12907 | |
|
|
12908 | ; |
|
|
12909 | return 0; |
|
|
12910 | } |
|
|
12911 | _ACEOF |
|
|
12912 | rm -f conftest.$ac_objext |
|
|
12913 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12914 | (eval $ac_compile) 2>conftest.er1 |
|
|
12915 | ac_status=$? |
|
|
12916 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12917 | rm -f conftest.er1 |
|
|
12918 | cat conftest.err >&5 |
|
|
12919 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12920 | (exit $ac_status); } && |
|
|
12921 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12922 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12923 | (eval $ac_try) 2>&5 |
|
|
12924 | ac_status=$? |
|
|
12925 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12926 | (exit $ac_status); }; } && |
|
|
12927 | { ac_try='test -s conftest.$ac_objext' |
|
|
12928 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12929 | (eval $ac_try) 2>&5 |
|
|
12930 | ac_status=$? |
|
|
12931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12932 | (exit $ac_status); }; }; then |
|
|
12933 | ac_hi=-1 ac_mid=-1 |
|
|
12934 | while :; do |
|
|
12935 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12936 | /* confdefs.h. */ |
|
|
12937 | _ACEOF |
|
|
12938 | cat confdefs.h >>conftest.$ac_ext |
|
|
12939 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12940 | /* end confdefs.h. */ |
|
|
12941 | $ac_includes_default |
|
|
12942 | int |
|
|
12943 | main () |
|
|
12944 | { |
|
|
12945 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; |
|
|
12946 | test_array [0] = 0 |
|
|
12947 | |
|
|
12948 | ; |
|
|
12949 | return 0; |
|
|
12950 | } |
|
|
12951 | _ACEOF |
|
|
12952 | rm -f conftest.$ac_objext |
|
|
12953 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12954 | (eval $ac_compile) 2>conftest.er1 |
|
|
12955 | ac_status=$? |
|
|
12956 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12957 | rm -f conftest.er1 |
|
|
12958 | cat conftest.err >&5 |
|
|
12959 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12960 | (exit $ac_status); } && |
|
|
12961 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12963 | (eval $ac_try) 2>&5 |
|
|
12964 | ac_status=$? |
|
|
12965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12966 | (exit $ac_status); }; } && |
|
|
12967 | { ac_try='test -s conftest.$ac_objext' |
|
|
12968 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12969 | (eval $ac_try) 2>&5 |
|
|
12970 | ac_status=$? |
|
|
12971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12972 | (exit $ac_status); }; }; then |
|
|
12973 | ac_lo=$ac_mid; break |
|
|
12974 | else |
|
|
12975 | echo "$as_me: failed program was:" >&5 |
|
|
12976 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12977 | |
|
|
12978 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
12979 | if test $ac_mid -le $ac_hi; then |
|
|
12980 | ac_lo= ac_hi= |
|
|
12981 | break |
|
|
12982 | fi |
|
|
12983 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
12984 | fi |
|
|
12985 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12986 | done |
|
|
12987 | else |
|
|
12988 | echo "$as_me: failed program was:" >&5 |
|
|
12989 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12990 | |
|
|
12991 | ac_lo= ac_hi= |
|
|
12992 | fi |
|
|
12993 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12994 | fi |
|
|
12995 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12996 | # Binary search between lo and hi bounds. |
|
|
12997 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
12998 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
12999 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13000 | /* confdefs.h. */ |
|
|
13001 | _ACEOF |
|
|
13002 | cat confdefs.h >>conftest.$ac_ext |
|
|
13003 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13004 | /* end confdefs.h. */ |
|
|
13005 | $ac_includes_default |
|
|
13006 | int |
|
|
13007 | main () |
|
|
13008 | { |
|
|
13009 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
13010 | test_array [0] = 0 |
|
|
13011 | |
|
|
13012 | ; |
|
|
13013 | return 0; |
|
|
13014 | } |
|
|
13015 | _ACEOF |
|
|
13016 | rm -f conftest.$ac_objext |
|
|
13017 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13018 | (eval $ac_compile) 2>conftest.er1 |
|
|
13019 | ac_status=$? |
|
|
13020 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13021 | rm -f conftest.er1 |
|
|
13022 | cat conftest.err >&5 |
|
|
13023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13024 | (exit $ac_status); } && |
|
|
13025 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13026 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13027 | (eval $ac_try) 2>&5 |
|
|
13028 | ac_status=$? |
|
|
13029 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13030 | (exit $ac_status); }; } && |
|
|
13031 | { ac_try='test -s conftest.$ac_objext' |
|
|
13032 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13033 | (eval $ac_try) 2>&5 |
|
|
13034 | ac_status=$? |
|
|
13035 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13036 | (exit $ac_status); }; }; then |
|
|
13037 | ac_hi=$ac_mid |
|
|
13038 | else |
|
|
13039 | echo "$as_me: failed program was:" >&5 |
|
|
13040 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13041 | |
|
|
13042 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
13043 | fi |
|
|
13044 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13045 | done |
|
|
13046 | case $ac_lo in |
|
|
13047 | ?*) ac_cv_sizeof_long=$ac_lo;; |
|
|
13048 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13049 | See \`config.log' for more details." >&5 |
|
|
13050 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13051 | See \`config.log' for more details." >&2;} |
|
|
13052 | { (exit 1); exit 1; }; } ;; |
|
|
13053 | esac |
|
|
13054 | else |
|
|
13055 | if test "$cross_compiling" = yes; then |
|
|
13056 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
13057 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
13058 | { (exit 1); exit 1; }; } |
|
|
13059 | else |
|
|
13060 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13061 | /* confdefs.h. */ |
|
|
13062 | _ACEOF |
|
|
13063 | cat confdefs.h >>conftest.$ac_ext |
|
|
13064 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13065 | /* end confdefs.h. */ |
|
|
13066 | $ac_includes_default |
|
|
13067 | long longval () { return (long) (sizeof (long)); } |
|
|
13068 | unsigned long ulongval () { return (long) (sizeof (long)); } |
|
|
13069 | #include <stdio.h> |
|
|
13070 | #include <stdlib.h> |
|
|
13071 | int |
|
|
13072 | main () |
|
|
13073 | { |
|
|
13074 | |
|
|
13075 | FILE *f = fopen ("conftest.val", "w"); |
|
|
13076 | if (! f) |
|
|
13077 | exit (1); |
|
|
13078 | if (((long) (sizeof (long))) < 0) |
|
|
13079 | { |
|
|
13080 | long i = longval (); |
|
|
13081 | if (i != ((long) (sizeof (long)))) |
|
|
13082 | exit (1); |
|
|
13083 | fprintf (f, "%ld\n", i); |
|
|
13084 | } |
|
|
13085 | else |
|
|
13086 | { |
|
|
13087 | unsigned long i = ulongval (); |
|
|
13088 | if (i != ((long) (sizeof (long)))) |
|
|
13089 | exit (1); |
|
|
13090 | fprintf (f, "%lu\n", i); |
|
|
13091 | } |
|
|
13092 | exit (ferror (f) || fclose (f) != 0); |
|
|
13093 | |
|
|
13094 | ; |
|
|
13095 | return 0; |
|
|
13096 | } |
|
|
13097 | _ACEOF |
|
|
13098 | rm -f conftest$ac_exeext |
|
|
13099 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13100 | (eval $ac_link) 2>&5 |
|
|
13101 | ac_status=$? |
|
|
13102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13103 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
13104 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13105 | (eval $ac_try) 2>&5 |
|
|
13106 | ac_status=$? |
|
|
13107 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13108 | (exit $ac_status); }; }; then |
|
|
13109 | ac_cv_sizeof_long=`cat conftest.val` |
|
|
13110 | else |
|
|
13111 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
13112 | echo "$as_me: failed program was:" >&5 |
|
|
13113 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13114 | |
|
|
13115 | ( exit $ac_status ) |
|
|
13116 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13117 | See \`config.log' for more details." >&5 |
|
|
13118 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13119 | See \`config.log' for more details." >&2;} |
|
|
13120 | { (exit 1); exit 1; }; } |
|
|
13121 | fi |
|
|
13122 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
13123 | fi |
|
|
13124 | fi |
|
|
13125 | rm -f conftest.val |
|
|
13126 | else |
|
|
13127 | ac_cv_sizeof_long=0 |
|
|
13128 | fi |
|
|
13129 | fi |
|
|
13130 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
|
|
13131 | echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
|
|
13132 | cat >>confdefs.h <<_ACEOF |
|
|
13133 | #define SIZEOF_LONG $ac_cv_sizeof_long |
|
|
13134 | _ACEOF |
12594 | _ACEOF |
13135 | |
12595 | |
13136 | |
12596 | |
13137 | echo "$as_me:$LINENO: checking for long long" >&5 |
12597 | echo "$as_me:$LINENO: checking for long long" >&5 |
13138 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
12598 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
… | |
… | |
15981 | #define HAVE_NL_LANGINFO 1 |
15441 | #define HAVE_NL_LANGINFO 1 |
15982 | _ACEOF |
15442 | _ACEOF |
15983 | |
15443 | |
15984 | fi |
15444 | fi |
15985 | |
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 | |
15986 | echo "$as_me:$LINENO: checking for getpt" >&5 |
15504 | echo "$as_me:$LINENO: checking for getpt" >&5 |
15987 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
15505 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
15988 | if test "${rxvt_cv_func_getpt+set}" = set; then |
15506 | if test "${rxvt_cv_func_getpt+set}" = set; then |
15989 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15507 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15990 | else |
15508 | else |
… | |
… | |
16167 | |
15685 | |
16168 | cat >>confdefs.h <<_ACEOF |
15686 | cat >>confdefs.h <<_ACEOF |
16169 | #define PTYCHAR2 "$pch2" |
15687 | #define PTYCHAR2 "$pch2" |
16170 | _ACEOF |
15688 | _ACEOF |
16171 | |
15689 | |
16172 | fi |
|
|
16173 | |
|
|
16174 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
|
|
16175 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
|
|
16176 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
|
|
16177 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
16178 | else |
|
|
16179 | ac_check_lib_save_LIBS=$LIBS |
|
|
16180 | LIBS="-lxpg4 $LIBS" |
|
|
16181 | cat >conftest.$ac_ext <<_ACEOF |
|
|
16182 | /* confdefs.h. */ |
|
|
16183 | _ACEOF |
|
|
16184 | cat confdefs.h >>conftest.$ac_ext |
|
|
16185 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
16186 | /* end confdefs.h. */ |
|
|
16187 | |
|
|
16188 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
16189 | #ifdef __cplusplus |
|
|
16190 | extern "C" |
|
|
16191 | #endif |
|
|
16192 | /* We use char because int might match the return type of a gcc2 |
|
|
16193 | builtin and then its argument prototype would still apply. */ |
|
|
16194 | char setlocale (); |
|
|
16195 | int |
|
|
16196 | main () |
|
|
16197 | { |
|
|
16198 | setlocale (); |
|
|
16199 | ; |
|
|
16200 | return 0; |
|
|
16201 | } |
|
|
16202 | _ACEOF |
|
|
16203 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
16204 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
16205 | (eval $ac_link) 2>conftest.er1 |
|
|
16206 | ac_status=$? |
|
|
16207 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
16208 | rm -f conftest.er1 |
|
|
16209 | cat conftest.err >&5 |
|
|
16210 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16211 | (exit $ac_status); } && |
|
|
16212 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
16213 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16214 | (eval $ac_try) 2>&5 |
|
|
16215 | ac_status=$? |
|
|
16216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16217 | (exit $ac_status); }; } && |
|
|
16218 | { ac_try='test -s conftest$ac_exeext' |
|
|
16219 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16220 | (eval $ac_try) 2>&5 |
|
|
16221 | ac_status=$? |
|
|
16222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16223 | (exit $ac_status); }; }; then |
|
|
16224 | ac_cv_lib_xpg4_setlocale=yes |
|
|
16225 | else |
|
|
16226 | echo "$as_me: failed program was:" >&5 |
|
|
16227 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
16228 | |
|
|
16229 | ac_cv_lib_xpg4_setlocale=no |
|
|
16230 | fi |
|
|
16231 | rm -f conftest.err conftest.$ac_objext \ |
|
|
16232 | conftest$ac_exeext conftest.$ac_ext |
|
|
16233 | LIBS=$ac_check_lib_save_LIBS |
|
|
16234 | fi |
|
|
16235 | echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5 |
|
|
16236 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
|
|
16237 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
|
|
16238 | LIBS="$LIBS -lxpg4" |
|
|
16239 | fi |
|
|
16240 | |
|
|
16241 | |
|
|
16242 | if test x$support_inheritpixmap = xyes; then |
|
|
16243 | |
|
|
16244 | cat >>confdefs.h <<\_ACEOF |
|
|
16245 | #define TRANSPARENT 1 |
|
|
16246 | _ACEOF |
|
|
16247 | |
|
|
16248 | fi |
|
|
16249 | if test x$support_keepscrolling = xno; then |
|
|
16250 | |
|
|
16251 | cat >>confdefs.h <<\_ACEOF |
|
|
16252 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
16253 | _ACEOF |
|
|
16254 | |
|
|
16255 | fi |
|
|
16256 | if test x$support_selectionscrolling = xyes; then |
|
|
16257 | |
|
|
16258 | cat >>confdefs.h <<\_ACEOF |
|
|
16259 | #define SELECTION_SCROLLING 1 |
|
|
16260 | _ACEOF |
|
|
16261 | |
|
|
16262 | fi |
|
|
16263 | if test x$support_menubar = xyes; then |
|
|
16264 | |
|
|
16265 | cat >>confdefs.h <<\_ACEOF |
|
|
16266 | #define MENUBAR 1 |
|
|
16267 | _ACEOF |
|
|
16268 | |
|
|
16269 | fi |
|
|
16270 | if test x$support_frills = xno; then |
|
|
16271 | |
|
|
16272 | cat >>confdefs.h <<\_ACEOF |
|
|
16273 | #define NO_FRILLS 1 |
|
|
16274 | _ACEOF |
|
|
16275 | |
|
|
16276 | fi |
|
|
16277 | if test x$support_linespace = xno; then |
|
|
16278 | |
|
|
16279 | cat >>confdefs.h <<\_ACEOF |
|
|
16280 | #define NO_LINESPACE 1 |
|
|
16281 | _ACEOF |
|
|
16282 | |
|
|
16283 | fi |
|
|
16284 | if test x$support_24bit = xyes; then |
|
|
16285 | |
|
|
16286 | cat >>confdefs.h <<\_ACEOF |
|
|
16287 | #define PREFER_24BIT 1 |
|
|
16288 | _ACEOF |
|
|
16289 | |
|
|
16290 | fi |
|
|
16291 | if test x$support_mousewheel = xyes; then |
|
|
16292 | |
|
|
16293 | cat >>confdefs.h <<\_ACEOF |
|
|
16294 | #define MOUSE_WHEEL 1 |
|
|
16295 | _ACEOF |
|
|
16296 | |
|
|
16297 | fi |
|
|
16298 | if test x$support_mouseslipwheel = xyes; then |
|
|
16299 | |
|
|
16300 | cat >>confdefs.h <<\_ACEOF |
|
|
16301 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16302 | _ACEOF |
|
|
16303 | |
|
|
16304 | fi |
|
|
16305 | if test x$support_oldselection = xno; then |
|
|
16306 | |
|
|
16307 | cat >>confdefs.h <<\_ACEOF |
|
|
16308 | #define NO_OLD_SELECTION 1 |
|
|
16309 | _ACEOF |
|
|
16310 | |
|
|
16311 | fi |
|
|
16312 | if test x$support_utmp = xyes; then |
|
|
16313 | |
|
|
16314 | cat >>confdefs.h <<\_ACEOF |
|
|
16315 | #define UTMP_SUPPORT 1 |
|
|
16316 | _ACEOF |
|
|
16317 | |
|
|
16318 | fi |
|
|
16319 | if test x$support_wtmp = xyes; then |
|
|
16320 | |
|
|
16321 | cat >>confdefs.h <<\_ACEOF |
|
|
16322 | #define WTMP_SUPPORT 1 |
|
|
16323 | _ACEOF |
|
|
16324 | |
|
|
16325 | fi |
|
|
16326 | if test x$support_lastlog = xyes; then |
|
|
16327 | |
|
|
16328 | cat >>confdefs.h <<\_ACEOF |
|
|
16329 | #define LASTLOG_SUPPORT 1 |
|
|
16330 | _ACEOF |
|
|
16331 | |
|
|
16332 | fi |
|
|
16333 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16334 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16335 | |
|
|
16336 | cat >>confdefs.h <<\_ACEOF |
|
|
16337 | #define USE_XIM 1 |
|
|
16338 | _ACEOF |
|
|
16339 | |
|
|
16340 | fi |
|
|
16341 | fi |
|
|
16342 | if test x$support_xpm = xyes; then |
|
|
16343 | |
|
|
16344 | cat >>confdefs.h <<\_ACEOF |
|
|
16345 | #define XPM_BACKGROUND 1 |
|
|
16346 | _ACEOF |
|
|
16347 | |
|
|
16348 | fi |
|
|
16349 | if test x$support_scroll_rxvt = xyes; then |
|
|
16350 | |
|
|
16351 | cat >>confdefs.h <<\_ACEOF |
|
|
16352 | #define RXVT_SCROLLBAR 1 |
|
|
16353 | _ACEOF |
|
|
16354 | |
|
|
16355 | scrolltypes="rxvt" |
|
|
16356 | fi |
|
|
16357 | if test x$support_scroll_next = xyes; then |
|
|
16358 | |
|
|
16359 | cat >>confdefs.h <<\_ACEOF |
|
|
16360 | #define NEXT_SCROLLBAR 1 |
|
|
16361 | _ACEOF |
|
|
16362 | |
|
|
16363 | scrolltypes="$scrolltypes next" |
|
|
16364 | fi |
|
|
16365 | if test x$support_scroll_xterm = xyes; then |
|
|
16366 | |
|
|
16367 | cat >>confdefs.h <<\_ACEOF |
|
|
16368 | #define XTERM_SCROLLBAR 1 |
|
|
16369 | _ACEOF |
|
|
16370 | |
|
|
16371 | scrolltypes="$scrolltypes xterm" |
|
|
16372 | fi |
|
|
16373 | if test x$support_scroll_plain = xyes; then |
|
|
16374 | |
|
|
16375 | cat >>confdefs.h <<\_ACEOF |
|
|
16376 | #define PLAIN_SCROLLBAR 1 |
|
|
16377 | _ACEOF |
|
|
16378 | |
|
|
16379 | scrolltypes="$scrolltypes plain" |
|
|
16380 | fi |
|
|
16381 | if test x$support_pointer_blank = xyes; then |
|
|
16382 | |
|
|
16383 | cat >>confdefs.h <<\_ACEOF |
|
|
16384 | #define POINTER_BLANK 1 |
|
|
16385 | _ACEOF |
|
|
16386 | |
|
|
16387 | fi |
|
|
16388 | if test x$support_cursor_blink = xyes; then |
|
|
16389 | |
|
|
16390 | cat >>confdefs.h <<\_ACEOF |
|
|
16391 | #define CURSOR_BLINK 1 |
|
|
16392 | _ACEOF |
|
|
16393 | |
|
|
16394 | fi |
|
|
16395 | if test x$support_text_blink = xyes; then |
|
|
16396 | |
|
|
16397 | cat >>confdefs.h <<\_ACEOF |
|
|
16398 | #define TEXT_BLINK 1 |
|
|
16399 | _ACEOF |
|
|
16400 | |
|
|
16401 | fi |
|
|
16402 | if test x$support_unicode3 = xyes; then |
|
|
16403 | |
|
|
16404 | cat >>confdefs.h <<\_ACEOF |
|
|
16405 | #define UNICODE_3 1 |
|
|
16406 | _ACEOF |
|
|
16407 | |
|
|
16408 | fi |
|
|
16409 | if test x$support_combining = xyes; then |
|
|
16410 | |
|
|
16411 | cat >>confdefs.h <<\_ACEOF |
|
|
16412 | #define ENCODING_COMPOSE 1 |
|
|
16413 | _ACEOF |
|
|
16414 | |
|
|
16415 | fi |
|
|
16416 | if test x$codesets = xall; then |
|
|
16417 | codesets=jp,jp-ext,kr,cn,cn-ext |
|
|
16418 | fi |
|
|
16419 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16420 | |
|
|
16421 | cat >>confdefs.h <<\_ACEOF |
|
|
16422 | #define ENCODING_EU 1 |
|
|
16423 | _ACEOF |
|
|
16424 | |
|
|
16425 | |
|
|
16426 | cat >>confdefs.h <<\_ACEOF |
|
|
16427 | #define ENCODING_VN 1 |
|
|
16428 | _ACEOF |
|
|
16429 | |
|
|
16430 | case "$codeset" in |
|
|
16431 | JP ) |
|
|
16432 | cat >>confdefs.h <<\_ACEOF |
|
|
16433 | #define ENCODING_JP 1 |
|
|
16434 | _ACEOF |
|
|
16435 | ;; |
|
|
16436 | JP_EXT ) |
|
|
16437 | cat >>confdefs.h <<\_ACEOF |
|
|
16438 | #define ENCODING_JP_EXT 1 |
|
|
16439 | _ACEOF |
|
|
16440 | ;; |
|
|
16441 | KR ) |
|
|
16442 | cat >>confdefs.h <<\_ACEOF |
|
|
16443 | #define ENCODING_KR 1 |
|
|
16444 | _ACEOF |
|
|
16445 | ;; |
|
|
16446 | CN ) |
|
|
16447 | cat >>confdefs.h <<\_ACEOF |
|
|
16448 | #define ENCODING_CN 1 |
|
|
16449 | _ACEOF |
|
|
16450 | ;; |
|
|
16451 | CN_EXT ) |
|
|
16452 | cat >>confdefs.h <<\_ACEOF |
|
|
16453 | #define ENCODING_CN_EXT 1 |
|
|
16454 | _ACEOF |
|
|
16455 | ;; |
|
|
16456 | esac |
|
|
16457 | done |
|
|
16458 | |
|
|
16459 | |
|
|
16460 | CFLAGS=${CFLAGS--O} |
|
|
16461 | LDFLAGS=${LDFLAGS--O} |
|
|
16462 | |
|
|
16463 | CPPFLAGS="$CPPFLAGS" |
|
|
16464 | |
|
|
16465 | |
|
|
16466 | |
|
|
16467 | |
|
|
16468 | |
|
|
16469 | |
|
|
16470 | |
|
|
16471 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
16472 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16473 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
16474 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
16475 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
16476 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
16477 | fi |
|
|
16478 | |
|
|
16479 | |
|
|
16480 | |
|
|
16481 | |
|
|
16482 | |
|
|
16483 | if test x$support_addstrings = xno; then |
|
|
16484 | |
|
|
16485 | cat >>confdefs.h <<\_ACEOF |
|
|
16486 | #define NO_STRINGS 1 |
|
|
16487 | _ACEOF |
|
|
16488 | |
|
|
16489 | fi |
|
|
16490 | |
|
|
16491 | MCOMMON=./autoconf/Make.common |
|
|
16492 | |
|
|
16493 | |
|
|
16494 | test "$program_prefix" != NONE && |
|
|
16495 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16496 | # Use a double $ so make ignores it. |
|
|
16497 | test "$program_suffix" != NONE && |
|
|
16498 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
16499 | # Double any \ or $. echo might interpret backslashes. |
|
|
16500 | # By default was `s,x,x', remove it if useless. |
|
|
16501 | cat <<\_ACEOF >conftest.sed |
|
|
16502 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16503 | _ACEOF |
|
|
16504 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16505 | rm conftest.sed |
|
|
16506 | |
|
|
16507 | |
|
|
16508 | |
|
|
16509 | |
|
|
16510 | |
|
|
16511 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16512 | include_stdint_h="#include <stdint.h>" |
|
|
16513 | else |
|
|
16514 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16515 | fi |
|
|
16516 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16517 | include_stdarg_h="#include <cstdarg>" |
|
|
16518 | else |
|
|
16519 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
16520 | fi |
|
|
16521 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16522 | include_stdlib_h="#include <cstdlib>" |
|
|
16523 | else |
|
|
16524 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
16525 | fi |
|
|
16526 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16527 | include_unistd_h="#include <unistd.h>" |
|
|
16528 | else |
|
|
16529 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16530 | fi |
|
|
16531 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16532 | include_string_h="#include <cstring>" |
|
|
16533 | else |
|
|
16534 | include_string_h="/* #include <cstring> */" |
|
|
16535 | fi |
|
|
16536 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16537 | include_fcntl_h="#include <fcntl.h>" |
|
|
16538 | else |
|
|
16539 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16540 | fi |
|
|
16541 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16542 | include_util_h="#include <util.h>" |
|
|
16543 | else |
|
|
16544 | include_util_h="/* #include <util.h> */" |
|
|
16545 | fi |
|
|
16546 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16547 | include_assert_h="#include <assert.h>" |
|
|
16548 | else |
|
|
16549 | include_assert_h="/* #include <assert.h> */" |
|
|
16550 | fi |
|
|
16551 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16552 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16553 | else |
|
|
16554 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16555 | fi |
|
|
16556 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16557 | include_sys_select_h="#include <sys/select.h>" |
|
|
16558 | else |
|
|
16559 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16560 | fi |
|
|
16561 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16562 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16563 | else |
|
|
16564 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16565 | fi |
|
|
16566 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16567 | include_sys_time_h="#include <sys/time.h>" |
|
|
16568 | else |
|
|
16569 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16570 | fi |
|
|
16571 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16572 | include_time_h="#include <time.h>" |
|
|
16573 | else |
|
|
16574 | include_time_h="/* #include <time.h> */" |
|
|
16575 | fi |
15690 | fi |
16576 | |
15691 | |
16577 | if test x$support_xft = xyes; then |
15692 | if test x$support_xft = xyes; then |
16578 | LIBS="$LIBS `pkg-config xft --libs`" |
15693 | LIBS="$LIBS `pkg-config xft --libs`" |
16579 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
15694 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
… | |
… | |
16812 | #define XFT 1 |
15927 | #define XFT 1 |
16813 | _ACEOF |
15928 | _ACEOF |
16814 | |
15929 | |
16815 | fi |
15930 | fi |
16816 | 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 |
16817 | |
16294 | |
16818 | 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 | |
16819 | cat >confcache <<\_ACEOF |
16297 | cat >confcache <<\_ACEOF |
16820 | # 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 |
16821 | # 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 |
16822 | # scripts and configure runs, see configure's option --config-cache. |
16300 | # scripts and configure runs, see configure's option --config-cache. |
16823 | # 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 |
… | |
… | |
17477 | s,@CP@,$CP,;t t |
16955 | s,@CP@,$CP,;t t |
17478 | s,@LN@,$LN,;t t |
16956 | s,@LN@,$LN,;t t |
17479 | s,@SED@,$SED,;t t |
16957 | s,@SED@,$SED,;t t |
17480 | s,@CMP@,$CMP,;t t |
16958 | s,@CMP@,$CMP,;t t |
17481 | s,@TBL@,$TBL,;t t |
16959 | s,@TBL@,$TBL,;t t |
|
|
16960 | s,@TIC@,$TIC,;t t |
17482 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
16961 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
17483 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
16962 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
17484 | s,@X_LIBS@,$X_LIBS,;t t |
16963 | s,@X_LIBS@,$X_LIBS,;t t |
17485 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
16964 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
17486 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
16965 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
… | |
… | |
18031 | echo " |
17510 | echo " |
18032 | The following are set in config.h |
17511 | The following are set in config.h |
18033 | " |
17512 | " |
18034 | echo " pty/tty type: "$rxvt_cv_ptys |
17513 | echo " pty/tty type: "$rxvt_cv_ptys |
18035 | if test x$support_utmp != xyes; then |
17514 | if test x$support_utmp != xyes; then |
18036 | echo " utmp support: disabled |
17515 | echo " utmp support: disabled" |
18037 | " |
17516 | echo |
18038 | else |
17517 | else |
18039 | echo " utmp support: enabled |
17518 | echo " utmp support: enabled |
18040 | utmp file: $rxvt_cv_path_utmp |
17519 | utmp file: $rxvt_cv_path_utmp |
18041 | utmpx file: $rxvt_cv_path_utmpx |
17520 | utmpx file: $rxvt_cv_path_utmpx |
18042 | wtmp file: $rxvt_cv_path_wtmp |
17521 | wtmp file: $rxvt_cv_path_wtmp |
18043 | wtmpx file: $rxvt_cv_path_wtmpx |
17522 | wtmpx file: $rxvt_cv_path_wtmpx |
18044 | lastlog file: $rxvt_cv_path_lastlog |
17523 | lastlog file: $rxvt_cv_path_lastlog |
18045 | ttys/ttytab file: $rxvt_cv_path_ttytab |
17524 | ttys/ttytab file: $rxvt_cv_path_ttytab" |
18046 | " |
17525 | echo |
18047 | fi |
17526 | fi |
18048 | if test x$term != x; then |
17527 | if test x$term != x; then |
18049 | echo " set TERM to: $term" |
17528 | echo " set TERM to: $term" |
18050 | fi |
17529 | fi |
18051 | if test x$terminfo != x; then |
17530 | if test x$terminfo != x; then |
… | |
… | |
18078 | echo ". WARNING: --enable-xim was specified however the locale support ." |
17557 | echo ". WARNING: --enable-xim was specified however the locale support ." |
18079 | echo ". functions could not be found. ." |
17558 | echo ". functions could not be found. ." |
18080 | echo ". XIM is now being DISABLED! ." |
17559 | echo ". XIM is now being DISABLED! ." |
18081 | echo ".----------------------------------------------------------------." |
17560 | echo ".----------------------------------------------------------------." |
18082 | fi |
17561 | fi |
|
|
17562 | |
18083 | echo " *** Please check src/feature.h for further options *** |
17563 | echo " *** Please check src/feature.h for further options ***" |
18084 | " |
17564 | echo |
|
|
17565 | |
|
|
17566 | echo ".----------------------------------------------------------------." |
|
|
17567 | echo ". NOTE: most features are disabled by default, try ." |
|
|
17568 | echo ". configure --help to get an idea of the optional features ." |
|
|
17569 | echo ".----------------------------------------------------------------." |
|
|
17570 | echo |
|
|
17571 | |