… | |
… | |
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 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 |
|
|
1058 | --enable-24bit enable support for using 24bit visuals if available |
1062 | --enable-24bit enable support for using 24bit visuals if available |
1059 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1063 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1060 | --enable-selectionscrolling enable scrolling during selections |
1064 | --enable-selectionscrolling enable scrolling during selections |
1061 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1065 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1062 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1066 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1063 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1067 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1064 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1068 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1065 | NOTE: enable only one malloc package |
1069 | NOTE: enable only one malloc package |
1066 | --enable-smart-resize enable smart growth/shrink behaviour |
1070 | --enable-smart-resize enable smart growth/shrink behaviour |
1067 | --enable-256-color enable 256-color support |
|
|
1068 | --enable-cursor-blink enable blinking cursor |
1071 | --enable-cursor-blink enable blinking cursor |
1069 | --enable-text-blink enable blinking text |
1072 | --enable-text-blink enable blinking text |
1070 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1073 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1071 | |
1074 | |
1072 | Optional Packages: |
1075 | Optional Packages: |
1073 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1076 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1074 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1077 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1075 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
1078 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
1076 | --with-pic try to use only PIC/non-PIC objects default=use both |
1079 | --with-pic try to use only PIC/non-PIC objects default=use both |
1077 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all) |
1080 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1078 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1081 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1079 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1082 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1080 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1083 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1081 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1084 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1082 | --with-terminfo=PATH set the path to the terminfo tree to PATH |
1085 | --with-terminfo=PATH set the path to the terminfo tree to PATH |
… | |
… | |
1533 | |
1536 | |
1534 | |
1537 | |
1535 | |
1538 | |
1536 | |
1539 | |
1537 | |
1540 | |
|
|
1541 | |
1538 | ac_aux_dir= |
1542 | ac_aux_dir= |
1539 | for ac_dir in autoconf $srcdir/autoconf; do |
1543 | for ac_dir in autoconf $srcdir/autoconf; do |
1540 | if test -f $ac_dir/install-sh; then |
1544 | if test -f $ac_dir/install-sh; then |
1541 | ac_aux_dir=$ac_dir |
1545 | ac_aux_dir=$ac_dir |
1542 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1546 | ac_install_sh="$ac_aux_dir/install-sh -c" |
… | |
… | |
1559 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1563 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1560 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1564 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1561 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1565 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1562 | |
1566 | |
1563 | ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" |
1567 | ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" |
|
|
1568 | |
|
|
1569 | |
|
|
1570 | # Make sure we can run config.sub. |
|
|
1571 | $ac_config_sub sun4 >/dev/null 2>&1 || |
|
|
1572 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
|
|
1573 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
|
|
1574 | { (exit 1); exit 1; }; } |
|
|
1575 | |
|
|
1576 | echo "$as_me:$LINENO: checking build system type" >&5 |
|
|
1577 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
|
|
1578 | if test "${ac_cv_build+set}" = set; then |
|
|
1579 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
1580 | else |
|
|
1581 | ac_cv_build_alias=$build_alias |
|
|
1582 | test -z "$ac_cv_build_alias" && |
|
|
1583 | ac_cv_build_alias=`$ac_config_guess` |
|
|
1584 | test -z "$ac_cv_build_alias" && |
|
|
1585 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
|
1586 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
|
1587 | { (exit 1); exit 1; }; } |
|
|
1588 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
|
|
1589 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
|
|
1590 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
|
|
1591 | { (exit 1); exit 1; }; } |
|
|
1592 | |
|
|
1593 | fi |
|
|
1594 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
|
1595 | echo "${ECHO_T}$ac_cv_build" >&6 |
|
|
1596 | build=$ac_cv_build |
|
|
1597 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
1598 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
1599 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
1600 | |
|
|
1601 | |
|
|
1602 | echo "$as_me:$LINENO: checking host system type" >&5 |
|
|
1603 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
|
|
1604 | if test "${ac_cv_host+set}" = set; then |
|
|
1605 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
1606 | else |
|
|
1607 | ac_cv_host_alias=$host_alias |
|
|
1608 | test -z "$ac_cv_host_alias" && |
|
|
1609 | ac_cv_host_alias=$ac_cv_build_alias |
|
|
1610 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
|
|
1611 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
|
|
1612 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
|
|
1613 | { (exit 1); exit 1; }; } |
|
|
1614 | |
|
|
1615 | fi |
|
|
1616 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
|
1617 | echo "${ECHO_T}$ac_cv_host" >&6 |
|
|
1618 | host=$ac_cv_host |
|
|
1619 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
1620 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
1621 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
1622 | |
1564 | |
1623 | |
1565 | |
1624 | |
1566 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1625 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1567 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1626 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1568 | LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1627 | LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
… | |
… | |
3206 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3265 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3207 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3266 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3208 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3267 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3209 | |
3268 | |
3210 | |
3269 | |
|
|
3270 | if test -z "$orig_CXXFLAGS"; then |
|
|
3271 | CXXFLAGS='-O' |
|
|
3272 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
|
|
3273 | CXXFLAGS="-g -O3" |
|
|
3274 | fi |
|
|
3275 | CFLAGS="$CXXFLAGS" |
|
|
3276 | fi |
|
|
3277 | |
3211 | LINKER="$CXX" |
3278 | LINKER="$CXX" |
3212 | if test x$GCC = xyes && test x$GXX = xyes; then |
3279 | if test x$GCC = xyes && test x$GXX = xyes; then |
3213 | |
3280 | |
3214 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
3281 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
3215 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
3282 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
… | |
… | |
3277 | |
3344 | |
3278 | fi |
3345 | fi |
3279 | LINKER=$LINKER |
3346 | LINKER=$LINKER |
3280 | |
3347 | |
3281 | |
3348 | |
3282 | CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" |
3349 | |
|
|
3350 | cat >>confdefs.h <<\_ACEOF |
|
|
3351 | #define _GNU_SOURCE 1 |
|
|
3352 | _ACEOF |
|
|
3353 | |
|
|
3354 | |
|
|
3355 | case $host in |
|
|
3356 | *-*-solaris* ) |
|
|
3357 | |
|
|
3358 | cat >>confdefs.h <<\_ACEOF |
|
|
3359 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3360 | _ACEOF |
|
|
3361 | |
|
|
3362 | |
|
|
3363 | cat >>confdefs.h <<\_ACEOF |
|
|
3364 | #define _XOPEN_SOURCE 2 |
|
|
3365 | _ACEOF |
|
|
3366 | |
|
|
3367 | |
|
|
3368 | cat >>confdefs.h <<\_ACEOF |
|
|
3369 | #define __EXTENSIONS__ 1 |
|
|
3370 | _ACEOF |
|
|
3371 | |
|
|
3372 | ;; |
|
|
3373 | esac |
3283 | |
3374 | |
3284 | |
3375 | |
3285 | ac_ext=cc |
3376 | ac_ext=cc |
3286 | ac_cpp='$CXXCPP $CPPFLAGS' |
3377 | ac_cpp='$CXXCPP $CPPFLAGS' |
3287 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3378 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
3685 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3776 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3686 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3777 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3687 | if test "$ac_cv_search_strerror" != no; then |
3778 | if test "$ac_cv_search_strerror" != no; then |
3688 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3779 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3689 | |
3780 | |
|
|
3781 | fi |
|
|
3782 | |
|
|
3783 | |
|
|
3784 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
|
|
3785 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
|
|
3786 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
|
|
3787 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3788 | else |
|
|
3789 | ac_check_lib_save_LIBS=$LIBS |
|
|
3790 | LIBS="-lxpg4 $LIBS" |
|
|
3791 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3792 | /* confdefs.h. */ |
|
|
3793 | _ACEOF |
|
|
3794 | cat confdefs.h >>conftest.$ac_ext |
|
|
3795 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3796 | /* end confdefs.h. */ |
|
|
3797 | |
|
|
3798 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3799 | #ifdef __cplusplus |
|
|
3800 | extern "C" |
|
|
3801 | #endif |
|
|
3802 | /* We use char because int might match the return type of a gcc2 |
|
|
3803 | builtin and then its argument prototype would still apply. */ |
|
|
3804 | char setlocale (); |
|
|
3805 | int |
|
|
3806 | main () |
|
|
3807 | { |
|
|
3808 | setlocale (); |
|
|
3809 | ; |
|
|
3810 | return 0; |
|
|
3811 | } |
|
|
3812 | _ACEOF |
|
|
3813 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3814 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3815 | (eval $ac_link) 2>conftest.er1 |
|
|
3816 | ac_status=$? |
|
|
3817 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3818 | rm -f conftest.er1 |
|
|
3819 | cat conftest.err >&5 |
|
|
3820 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3821 | (exit $ac_status); } && |
|
|
3822 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3823 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3824 | (eval $ac_try) 2>&5 |
|
|
3825 | ac_status=$? |
|
|
3826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3827 | (exit $ac_status); }; } && |
|
|
3828 | { ac_try='test -s conftest$ac_exeext' |
|
|
3829 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3830 | (eval $ac_try) 2>&5 |
|
|
3831 | ac_status=$? |
|
|
3832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3833 | (exit $ac_status); }; }; then |
|
|
3834 | ac_cv_lib_xpg4_setlocale=yes |
|
|
3835 | else |
|
|
3836 | echo "$as_me: failed program was:" >&5 |
|
|
3837 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3838 | |
|
|
3839 | ac_cv_lib_xpg4_setlocale=no |
|
|
3840 | fi |
|
|
3841 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3842 | conftest$ac_exeext conftest.$ac_ext |
|
|
3843 | LIBS=$ac_check_lib_save_LIBS |
|
|
3844 | fi |
|
|
3845 | echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5 |
|
|
3846 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
|
|
3847 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
|
|
3848 | LIBS="$LIBS -lxpg4" |
|
|
3849 | fi |
|
|
3850 | |
|
|
3851 | |
|
|
3852 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
|
|
3853 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
|
|
3854 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
|
|
3855 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3856 | else |
|
|
3857 | ac_check_lib_save_LIBS=$LIBS |
|
|
3858 | LIBS="-lnsl $LIBS" |
|
|
3859 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3860 | /* confdefs.h. */ |
|
|
3861 | _ACEOF |
|
|
3862 | cat confdefs.h >>conftest.$ac_ext |
|
|
3863 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3864 | /* end confdefs.h. */ |
|
|
3865 | |
|
|
3866 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3867 | #ifdef __cplusplus |
|
|
3868 | extern "C" |
|
|
3869 | #endif |
|
|
3870 | /* We use char because int might match the return type of a gcc2 |
|
|
3871 | builtin and then its argument prototype would still apply. */ |
|
|
3872 | char gethostbyname (); |
|
|
3873 | int |
|
|
3874 | main () |
|
|
3875 | { |
|
|
3876 | gethostbyname (); |
|
|
3877 | ; |
|
|
3878 | return 0; |
|
|
3879 | } |
|
|
3880 | _ACEOF |
|
|
3881 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3882 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3883 | (eval $ac_link) 2>conftest.er1 |
|
|
3884 | ac_status=$? |
|
|
3885 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3886 | rm -f conftest.er1 |
|
|
3887 | cat conftest.err >&5 |
|
|
3888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3889 | (exit $ac_status); } && |
|
|
3890 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3891 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3892 | (eval $ac_try) 2>&5 |
|
|
3893 | ac_status=$? |
|
|
3894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3895 | (exit $ac_status); }; } && |
|
|
3896 | { ac_try='test -s conftest$ac_exeext' |
|
|
3897 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3898 | (eval $ac_try) 2>&5 |
|
|
3899 | ac_status=$? |
|
|
3900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3901 | (exit $ac_status); }; }; then |
|
|
3902 | ac_cv_lib_nsl_gethostbyname=yes |
|
|
3903 | else |
|
|
3904 | echo "$as_me: failed program was:" >&5 |
|
|
3905 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3906 | |
|
|
3907 | ac_cv_lib_nsl_gethostbyname=no |
|
|
3908 | fi |
|
|
3909 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3910 | conftest$ac_exeext conftest.$ac_ext |
|
|
3911 | LIBS=$ac_check_lib_save_LIBS |
|
|
3912 | fi |
|
|
3913 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
|
|
3914 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
|
|
3915 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
|
|
3916 | LIBS="$LIBS -lnsl" |
|
|
3917 | fi |
|
|
3918 | |
|
|
3919 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
|
|
3920 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
|
|
3921 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
|
|
3922 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3923 | else |
|
|
3924 | ac_check_lib_save_LIBS=$LIBS |
|
|
3925 | LIBS="-lsocket $LIBS" |
|
|
3926 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3927 | /* confdefs.h. */ |
|
|
3928 | _ACEOF |
|
|
3929 | cat confdefs.h >>conftest.$ac_ext |
|
|
3930 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3931 | /* end confdefs.h. */ |
|
|
3932 | |
|
|
3933 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3934 | #ifdef __cplusplus |
|
|
3935 | extern "C" |
|
|
3936 | #endif |
|
|
3937 | /* We use char because int might match the return type of a gcc2 |
|
|
3938 | builtin and then its argument prototype would still apply. */ |
|
|
3939 | char socket (); |
|
|
3940 | int |
|
|
3941 | main () |
|
|
3942 | { |
|
|
3943 | socket (); |
|
|
3944 | ; |
|
|
3945 | return 0; |
|
|
3946 | } |
|
|
3947 | _ACEOF |
|
|
3948 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3949 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3950 | (eval $ac_link) 2>conftest.er1 |
|
|
3951 | ac_status=$? |
|
|
3952 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3953 | rm -f conftest.er1 |
|
|
3954 | cat conftest.err >&5 |
|
|
3955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3956 | (exit $ac_status); } && |
|
|
3957 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3958 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3959 | (eval $ac_try) 2>&5 |
|
|
3960 | ac_status=$? |
|
|
3961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3962 | (exit $ac_status); }; } && |
|
|
3963 | { ac_try='test -s conftest$ac_exeext' |
|
|
3964 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3965 | (eval $ac_try) 2>&5 |
|
|
3966 | ac_status=$? |
|
|
3967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3968 | (exit $ac_status); }; }; then |
|
|
3969 | ac_cv_lib_socket_socket=yes |
|
|
3970 | else |
|
|
3971 | echo "$as_me: failed program was:" >&5 |
|
|
3972 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3973 | |
|
|
3974 | ac_cv_lib_socket_socket=no |
|
|
3975 | fi |
|
|
3976 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3977 | conftest$ac_exeext conftest.$ac_ext |
|
|
3978 | LIBS=$ac_check_lib_save_LIBS |
|
|
3979 | fi |
|
|
3980 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
|
|
3981 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
|
|
3982 | if test $ac_cv_lib_socket_socket = yes; then |
|
|
3983 | LIBS="$LIBS -lsocket" |
3690 | fi |
3984 | fi |
3691 | |
3985 | |
3692 | |
3986 | |
3693 | # Check whether --enable-shared or --disable-shared was given. |
3987 | # Check whether --enable-shared or --disable-shared was given. |
3694 | if test "${enable_shared+set}" = set; then |
3988 | if test "${enable_shared+set}" = set; then |
… | |
… | |
3752 | ;; |
4046 | ;; |
3753 | esac |
4047 | esac |
3754 | else |
4048 | else |
3755 | enable_fast_install=yes |
4049 | enable_fast_install=yes |
3756 | fi; |
4050 | fi; |
3757 | # Make sure we can run config.sub. |
|
|
3758 | $ac_config_sub sun4 >/dev/null 2>&1 || |
|
|
3759 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
|
|
3760 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
|
|
3761 | { (exit 1); exit 1; }; } |
|
|
3762 | |
|
|
3763 | echo "$as_me:$LINENO: checking build system type" >&5 |
|
|
3764 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
|
|
3765 | if test "${ac_cv_build+set}" = set; then |
|
|
3766 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3767 | else |
|
|
3768 | ac_cv_build_alias=$build_alias |
|
|
3769 | test -z "$ac_cv_build_alias" && |
|
|
3770 | ac_cv_build_alias=`$ac_config_guess` |
|
|
3771 | test -z "$ac_cv_build_alias" && |
|
|
3772 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
|
3773 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
|
3774 | { (exit 1); exit 1; }; } |
|
|
3775 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
|
|
3776 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
|
|
3777 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
|
|
3778 | { (exit 1); exit 1; }; } |
|
|
3779 | |
|
|
3780 | fi |
|
|
3781 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
|
3782 | echo "${ECHO_T}$ac_cv_build" >&6 |
|
|
3783 | build=$ac_cv_build |
|
|
3784 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
3785 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
3786 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
3787 | |
|
|
3788 | |
|
|
3789 | echo "$as_me:$LINENO: checking host system type" >&5 |
|
|
3790 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
|
|
3791 | if test "${ac_cv_host+set}" = set; then |
|
|
3792 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3793 | else |
|
|
3794 | ac_cv_host_alias=$host_alias |
|
|
3795 | test -z "$ac_cv_host_alias" && |
|
|
3796 | ac_cv_host_alias=$ac_cv_build_alias |
|
|
3797 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
|
|
3798 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
|
|
3799 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
|
|
3800 | { (exit 1); exit 1; }; } |
|
|
3801 | |
|
|
3802 | fi |
|
|
3803 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
|
3804 | echo "${ECHO_T}$ac_cv_host" >&6 |
|
|
3805 | host=$ac_cv_host |
|
|
3806 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
3807 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
3808 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
3809 | |
|
|
3810 | |
|
|
3811 | |
4051 | |
3812 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
4052 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
3813 | if test "${with_gnu_ld+set}" = set; then |
4053 | if test "${with_gnu_ld+set}" = set; then |
3814 | withval="$with_gnu_ld" |
4054 | withval="$with_gnu_ld" |
3815 | test "$withval" = no || with_gnu_ld=yes |
4055 | test "$withval" = no || with_gnu_ld=yes |
… | |
… | |
5030 | # Some flags need to be propagated to the compiler or linker for good |
5270 | # Some flags need to be propagated to the compiler or linker for good |
5031 | # libtool support. |
5271 | # libtool support. |
5032 | case "$host" in |
5272 | case "$host" in |
5033 | *-*-irix6*) |
5273 | *-*-irix6*) |
5034 | # Find out which ABI we are using. |
5274 | # Find out which ABI we are using. |
5035 | echo '#line 5035 "configure"' > conftest.$ac_ext |
5275 | echo '#line 5275 "configure"' > conftest.$ac_ext |
5036 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5276 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5037 | (eval $ac_compile) 2>&5 |
5277 | (eval $ac_compile) 2>&5 |
5038 | ac_status=$? |
5278 | ac_status=$? |
5039 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5040 | (exit $ac_status); }; then |
5280 | (exit $ac_status); }; then |
… | |
… | |
5581 | # builds. |
5821 | # builds. |
5582 | chmod -w . |
5822 | chmod -w . |
5583 | save_CFLAGS="$CFLAGS" |
5823 | save_CFLAGS="$CFLAGS" |
5584 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5824 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5585 | compiler_c_o=no |
5825 | compiler_c_o=no |
5586 | if { (eval echo configure:5586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
5826 | if { (eval echo configure:5826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
5587 | # The compiler can only warn and ignore the option if not recognized |
5827 | # The compiler can only warn and ignore the option if not recognized |
5588 | # So say no if there are warnings |
5828 | # So say no if there are warnings |
5589 | if test -s out/conftest.err; then |
5829 | if test -s out/conftest.err; then |
5590 | compiler_c_o=no |
5830 | compiler_c_o=no |
5591 | else |
5831 | else |
… | |
… | |
7197 | lt_cv_dlopen_self=cross |
7437 | lt_cv_dlopen_self=cross |
7198 | else |
7438 | else |
7199 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7439 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7200 | lt_status=$lt_dlunknown |
7440 | lt_status=$lt_dlunknown |
7201 | cat > conftest.$ac_ext <<EOF |
7441 | cat > conftest.$ac_ext <<EOF |
7202 | #line 7202 "configure" |
7442 | #line 7442 "configure" |
7203 | #include "confdefs.h" |
7443 | #include "confdefs.h" |
7204 | |
7444 | |
7205 | #if HAVE_DLFCN_H |
7445 | #if HAVE_DLFCN_H |
7206 | #include <dlfcn.h> |
7446 | #include <dlfcn.h> |
7207 | #endif |
7447 | #endif |
… | |
… | |
7295 | lt_cv_dlopen_self_static=cross |
7535 | lt_cv_dlopen_self_static=cross |
7296 | else |
7536 | else |
7297 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7537 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7298 | lt_status=$lt_dlunknown |
7538 | lt_status=$lt_dlunknown |
7299 | cat > conftest.$ac_ext <<EOF |
7539 | cat > conftest.$ac_ext <<EOF |
7300 | #line 7300 "configure" |
7540 | #line 7540 "configure" |
7301 | #include "confdefs.h" |
7541 | #include "confdefs.h" |
7302 | |
7542 | |
7303 | #if HAVE_DLFCN_H |
7543 | #if HAVE_DLFCN_H |
7304 | #include <dlfcn.h> |
7544 | #include <dlfcn.h> |
7305 | #endif |
7545 | #endif |
… | |
… | |
8026 | |
8266 | |
8027 | |
8267 | |
8028 | MALLOC_TYPE=S |
8268 | MALLOC_TYPE=S |
8029 | support_addstrings=no |
8269 | support_addstrings=no |
8030 | support_frills=no |
8270 | support_frills=no |
8031 | support_linespace=no |
|
|
8032 | support_inheritpixmap=no |
8271 | support_inheritpixmap=no |
|
|
8272 | support_tinting=no |
|
|
8273 | support_fading=no |
8033 | support_keepscrolling=no |
8274 | support_keepscrolling=no |
8034 | support_selectionscrolling=no |
8275 | support_selectionscrolling=no |
8035 | support_menubar=no |
8276 | support_menubar=no |
8036 | support_mousewheel=no |
8277 | support_mousewheel=no |
8037 | support_mouseslipwheel=no |
8278 | support_mouseslipwheel=no |
… | |
… | |
8048 | support_xim=no |
8289 | support_xim=no |
8049 | support_xpm=no |
8290 | support_xpm=no |
8050 | support_xft=no |
8291 | support_xft=no |
8051 | support_unicode3=no |
8292 | support_unicode3=no |
8052 | support_combining=no |
8293 | support_combining=no |
|
|
8294 | support_8bitctrls=no |
|
|
8295 | support_iso14755=no |
|
|
8296 | support_styles=no |
8053 | codesets= |
8297 | codesets= |
8054 | |
8298 | |
8055 | |
8299 | |
8056 | if test "x$enable_shared" = xyes; then |
8300 | if test "x$enable_shared" = xyes; then |
8057 | |
8301 | |
… | |
… | |
8067 | if test "${enable_everything+set}" = set; then |
8311 | if test "${enable_everything+set}" = set; then |
8068 | enableval="$enable_everything" |
8312 | enableval="$enable_everything" |
8069 | if test x$enableval = xyes; then |
8313 | if test x$enableval = xyes; then |
8070 | support_24bit=yes |
8314 | support_24bit=yes |
8071 | support_frills=yes |
8315 | support_frills=yes |
8072 | support_linespace=yes |
|
|
8073 | support_inheritpixmap=yes |
8316 | support_inheritpixmap=yes |
|
|
8317 | support_tinting=yes |
|
|
8318 | support_fading=yes |
8074 | support_keepscrolling=yes |
8319 | support_keepscrolling=yes |
8075 | support_selectionscrolling=yes |
8320 | support_selectionscrolling=yes |
8076 | support_lastlog=yes |
8321 | support_lastlog=yes |
8077 | support_menubar=yes |
8322 | support_menubar=yes |
8078 | support_mousewheel=yes |
8323 | support_mousewheel=yes |
… | |
… | |
8089 | support_xim=yes |
8334 | support_xim=yes |
8090 | support_xpm=yes |
8335 | support_xpm=yes |
8091 | support_xft=yes |
8336 | support_xft=yes |
8092 | support_unicode3=yes |
8337 | support_unicode3=yes |
8093 | support_combining=yes |
8338 | support_combining=yes |
|
|
8339 | #support_8bitctrls=yes |
|
|
8340 | support_iso14755=yes |
|
|
8341 | support_styles=yes |
8094 | codesets=all |
8342 | codesets=all |
8095 | fi |
8343 | fi |
8096 | fi; |
8344 | fi; |
8097 | |
8345 | |
8098 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8346 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8099 | if test "${enable_unicode3+set}" = set; then |
8347 | if test "${enable_unicode3+set}" = set; then |
8100 | enableval="$enable_unicode3" |
8348 | enableval="$enable_unicode3" |
8101 | if test x$enableval = xyes -o x$enableval = xno; then |
8349 | if test x$enableval = xyes -o x$enableval = xno; then |
8102 | support_unicode3=yes |
8350 | support_unicode3=$enableval |
8103 | fi |
8351 | fi |
8104 | fi; |
8352 | fi; |
8105 | |
8353 | |
8106 | # Check whether --enable-combining or --disable-combining was given. |
8354 | # Check whether --enable-combining or --disable-combining was given. |
8107 | if test "${enable_combining+set}" = set; then |
8355 | if test "${enable_combining+set}" = set; then |
8108 | enableval="$enable_combining" |
8356 | enableval="$enable_combining" |
8109 | if test x$enableval = xyes -o x$enableval = xno; then |
8357 | if test x$enableval = xyes -o x$enableval = xno; then |
8110 | support_combining=yes |
8358 | support_combining=$enableval |
8111 | fi |
8359 | fi |
8112 | fi; |
8360 | fi; |
8113 | |
8361 | |
8114 | # Check whether --enable-xft or --disable-xft was given. |
8362 | # Check whether --enable-xft or --disable-xft was given. |
8115 | if test "${enable_xft+set}" = set; then |
8363 | if test "${enable_xft+set}" = set; then |
8116 | enableval="$enable_xft" |
8364 | enableval="$enable_xft" |
8117 | if test x$enableval = xyes -o x$enableval = xno; then |
8365 | if test x$enableval = xyes -o x$enableval = xno; then |
8118 | support_xft=yes |
8366 | support_xft=$enableval |
|
|
8367 | fi |
|
|
8368 | fi; |
|
|
8369 | |
|
|
8370 | # Check whether --enable-font-styles or --disable-font-styles was given. |
|
|
8371 | if test "${enable_font_styles+set}" = set; then |
|
|
8372 | enableval="$enable_font_styles" |
|
|
8373 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8374 | support_styles=$enableval |
8119 | fi |
8375 | fi |
8120 | fi; |
8376 | fi; |
8121 | |
8377 | |
8122 | # Check whether --enable-utmp or --disable-utmp was given. |
8378 | # Check whether --enable-utmp or --disable-utmp was given. |
8123 | if test "${enable_utmp+set}" = set; then |
8379 | if test "${enable_utmp+set}" = set; then |
… | |
… | |
8157 | if test x$enableval = xyes -o x$enableval = xno; then |
8413 | if test x$enableval = xyes -o x$enableval = xno; then |
8158 | support_inheritpixmap=$enableval |
8414 | support_inheritpixmap=$enableval |
8159 | fi |
8415 | fi |
8160 | fi; |
8416 | fi; |
8161 | |
8417 | |
|
|
8418 | # Check whether --enable-tinting or --disable-tinting was given. |
|
|
8419 | if test "${enable_tinting+set}" = set; then |
|
|
8420 | enableval="$enable_tinting" |
|
|
8421 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8422 | support_tinting=$enableval |
|
|
8423 | fi |
|
|
8424 | fi; |
|
|
8425 | |
|
|
8426 | # Check whether --enable-fading or --disable-fading was given. |
|
|
8427 | if test "${enable_fading+set}" = set; then |
|
|
8428 | enableval="$enable_fading" |
|
|
8429 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8430 | support_fading=$enableval |
|
|
8431 | fi |
|
|
8432 | fi; |
|
|
8433 | |
8162 | # Check whether --enable-menubar or --disable-menubar was given. |
8434 | # Check whether --enable-menubar or --disable-menubar was given. |
8163 | if test "${enable_menubar+set}" = set; then |
8435 | if test "${enable_menubar+set}" = set; then |
8164 | enableval="$enable_menubar" |
8436 | enableval="$enable_menubar" |
8165 | if test x$enableval = xyes -o x$enableval = xno; then |
8437 | if test x$enableval = xyes -o x$enableval = xno; then |
8166 | support_menubar=$enableval |
8438 | support_menubar=$enableval |
… | |
… | |
8284 | _ACEOF |
8556 | _ACEOF |
8285 | |
8557 | |
8286 | fi |
8558 | fi |
8287 | fi; |
8559 | fi; |
8288 | |
8560 | |
|
|
8561 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
|
|
8562 | if test "${enable_8bitctrls+set}" = set; then |
|
|
8563 | enableval="$enable_8bitctrls" |
|
|
8564 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8565 | support_8bitctrls=$enableval |
|
|
8566 | fi |
|
|
8567 | fi; |
|
|
8568 | |
8289 | RESFALLBACK=Rxvt |
8569 | RESFALLBACK=Rxvt |
8290 | # Check whether --enable-fallback or --disable-fallback was given. |
8570 | # Check whether --enable-fallback or --disable-fallback was given. |
8291 | if test "${enable_fallback+set}" = set; then |
8571 | if test "${enable_fallback+set}" = set; then |
8292 | enableval="$enable_fallback" |
8572 | enableval="$enable_fallback" |
8293 | |
8573 | |
… | |
… | |
8336 | # Check whether --with-name or --without-name was given. |
8616 | # Check whether --with-name or --without-name was given. |
8337 | if test "${with_name+set}" = set; then |
8617 | if test "${with_name+set}" = set; then |
8338 | withval="$with_name" |
8618 | withval="$with_name" |
8339 | RXVTNAME="$withval" |
8619 | RXVTNAME="$withval" |
8340 | fi; |
8620 | fi; |
|
|
8621 | |
|
|
8622 | cat >>confdefs.h <<_ACEOF |
|
|
8623 | #define RXVTNAME "$RXVTNAME" |
|
|
8624 | _ACEOF |
|
|
8625 | |
8341 | |
8626 | |
8342 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8627 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8343 | |
8628 | |
8344 | |
8629 | |
8345 | # Check whether --enable-strings or --disable-strings was given. |
8630 | # Check whether --enable-strings or --disable-strings was given. |
… | |
… | |
8360 | _ACEOF |
8645 | _ACEOF |
8361 | |
8646 | |
8362 | fi |
8647 | fi |
8363 | fi; |
8648 | fi; |
8364 | |
8649 | |
|
|
8650 | # Check whether --enable-iso14755 or --disable-iso14755 was given. |
|
|
8651 | if test "${enable_iso14755+set}" = set; then |
|
|
8652 | enableval="$enable_iso14755" |
|
|
8653 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8654 | support_iso14755=$enableval |
|
|
8655 | fi |
|
|
8656 | fi; |
|
|
8657 | |
8365 | # Check whether --enable-frills or --disable-frills was given. |
8658 | # Check whether --enable-frills or --disable-frills was given. |
8366 | if test "${enable_frills+set}" = set; then |
8659 | if test "${enable_frills+set}" = set; then |
8367 | enableval="$enable_frills" |
8660 | enableval="$enable_frills" |
8368 | if test x$enableval = xyes -o x$enableval = xno; then |
8661 | if test x$enableval = xyes -o x$enableval = xno; then |
8369 | support_frills=$enableval |
8662 | support_frills=$enableval |
8370 | fi |
|
|
8371 | fi; |
|
|
8372 | |
|
|
8373 | # Check whether --enable-linespace or --disable-linespace was given. |
|
|
8374 | if test "${enable_linespace+set}" = set; then |
|
|
8375 | enableval="$enable_linespace" |
|
|
8376 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8377 | support_linespace=$enableval |
|
|
8378 | fi |
8663 | fi |
8379 | fi; |
8664 | fi; |
8380 | |
8665 | |
8381 | # Check whether --enable-24bit or --disable-24bit was given. |
8666 | # Check whether --enable-24bit or --disable-24bit was given. |
8382 | if test "${enable_24bit+set}" = set; then |
8667 | if test "${enable_24bit+set}" = set; then |
… | |
… | |
8450 | _ACEOF |
8735 | _ACEOF |
8451 | |
8736 | |
8452 | fi |
8737 | fi |
8453 | fi; |
8738 | fi; |
8454 | |
8739 | |
8455 | # Check whether --enable-256-color or --disable-256-color was given. |
|
|
8456 | if test "${enable_256_color+set}" = set; then |
|
|
8457 | enableval="$enable_256_color" |
|
|
8458 | if test x$enableval = xyes; then |
|
|
8459 | |
|
|
8460 | cat >>confdefs.h <<\_ACEOF |
|
|
8461 | #define TTY_256COLOR 1 |
|
|
8462 | _ACEOF |
|
|
8463 | |
|
|
8464 | fi |
|
|
8465 | fi; |
|
|
8466 | |
|
|
8467 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
8740 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
8468 | if test "${enable_cursor_blink+set}" = set; then |
8741 | if test "${enable_cursor_blink+set}" = set; then |
8469 | enableval="$enable_cursor_blink" |
8742 | enableval="$enable_cursor_blink" |
8470 | if test x$enableval = xyes -o x$enableval = xno; then |
8743 | if test x$enableval = xyes -o x$enableval = xno; then |
8471 | support_cursor_blink=$enableval |
8744 | support_cursor_blink=$enableval |
… | |
… | |
8518 | |
8791 | |
8519 | cat >>confdefs.h <<\_ACEOF |
8792 | cat >>confdefs.h <<\_ACEOF |
8520 | #define PROTOTYPES 1 |
8793 | #define PROTOTYPES 1 |
8521 | _ACEOF |
8794 | _ACEOF |
8522 | |
8795 | |
8523 | |
|
|
8524 | if test -z "$CFLAGS"; then |
|
|
8525 | if test -z "$CCOPTS"; then |
|
|
8526 | CCOPTS='-O' |
|
|
8527 | fi |
|
|
8528 | CFLAGS="$CCOPTS" |
|
|
8529 | fi |
|
|
8530 | |
8796 | |
8531 | # Extract the first word of "mv", so it can be a program name with args. |
8797 | # Extract the first word of "mv", so it can be a program name with args. |
8532 | set dummy mv; ac_word=$2 |
8798 | set dummy mv; ac_word=$2 |
8533 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8799 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8534 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
8800 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
… | |
… | |
8845 | else |
9111 | else |
8846 | echo "$as_me:$LINENO: result: no" >&5 |
9112 | echo "$as_me:$LINENO: result: no" >&5 |
8847 | echo "${ECHO_T}no" >&6 |
9113 | echo "${ECHO_T}no" >&6 |
8848 | fi |
9114 | fi |
8849 | |
9115 | |
|
|
9116 | # Extract the first word of "tic", so it can be a program name with args. |
|
|
9117 | set dummy tic; ac_word=$2 |
|
|
9118 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
9119 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
9120 | if test "${ac_cv_path_TIC+set}" = set; then |
|
|
9121 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9122 | else |
|
|
9123 | case $TIC in |
|
|
9124 | [\\/]* | ?:[\\/]*) |
|
|
9125 | ac_cv_path_TIC="$TIC" # Let the user override the test with a path. |
|
|
9126 | ;; |
|
|
9127 | *) |
|
|
9128 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
9129 | for as_dir in $PATH |
|
|
9130 | do |
|
|
9131 | IFS=$as_save_IFS |
|
|
9132 | test -z "$as_dir" && as_dir=. |
|
|
9133 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
9134 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
9135 | ac_cv_path_TIC="$as_dir/$ac_word$ac_exec_ext" |
|
|
9136 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
9137 | break 2 |
|
|
9138 | fi |
|
|
9139 | done |
|
|
9140 | done |
8850 | |
9141 | |
|
|
9142 | ;; |
|
|
9143 | esac |
|
|
9144 | fi |
|
|
9145 | TIC=$ac_cv_path_TIC |
8851 | |
9146 | |
|
|
9147 | if test -n "$TIC"; then |
|
|
9148 | echo "$as_me:$LINENO: result: $TIC" >&5 |
|
|
9149 | echo "${ECHO_T}$TIC" >&6 |
|
|
9150 | else |
|
|
9151 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
9152 | echo "${ECHO_T}no" >&6 |
|
|
9153 | fi |
8852 | |
9154 | |
|
|
9155 | |
|
|
9156 | |
|
|
9157 | |
|
|
9158 | |
|
|
9159 | if test "x$ac_path_x_has_been_run" != xyes; then |
8853 | echo "$as_me:$LINENO: checking for X" >&5 |
9160 | echo "$as_me:$LINENO: checking for X" >&5 |
8854 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
9161 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
8855 | |
9162 | |
|
|
9163 | ac_path_x_has_been_run=yes |
8856 | |
9164 | |
8857 | # Check whether --with-x or --without-x was given. |
9165 | # Check whether --with-x or --without-x was given. |
8858 | if test "${with_x+set}" = set; then |
9166 | if test "${with_x+set}" = set; then |
8859 | withval="$with_x" |
9167 | withval="$with_x" |
8860 | |
9168 | |
… | |
… | |
8943 | |
9251 | |
8944 | /usr/openwin/include |
9252 | /usr/openwin/include |
8945 | /usr/openwin/share/include' |
9253 | /usr/openwin/share/include' |
8946 | |
9254 | |
8947 | if test "$ac_x_includes" = no; then |
9255 | if test "$ac_x_includes" = no; then |
8948 | # Guess where to find include files, by looking for Intrinsic.h. |
9256 | # Guess where to find include files, by looking for a specified header file. |
8949 | # First, try using that file with no special directory specified. |
9257 | # First, try using that file with no special directory specified. |
8950 | cat >conftest.$ac_ext <<_ACEOF |
9258 | cat >conftest.$ac_ext <<_ACEOF |
8951 | /* confdefs.h. */ |
9259 | /* confdefs.h. */ |
8952 | _ACEOF |
9260 | _ACEOF |
8953 | cat confdefs.h >>conftest.$ac_ext |
9261 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
9077 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
9385 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
9078 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
9386 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
9079 | # Update the cache value to reflect the command line values. |
9387 | # Update the cache value to reflect the command line values. |
9080 | ac_cv_have_x="have_x=yes \ |
9388 | ac_cv_have_x="have_x=yes \ |
9081 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
9389 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
|
|
9390 | # It might be that x_includes is empty (headers are found in the |
|
|
9391 | # standard search path. Then output the corresponding message |
|
|
9392 | ac_out_x_includes=$x_includes |
|
|
9393 | test "x$x_includes" = x && ac_out_x_includes="in standard search path" |
9082 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
9394 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 |
9083 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
9395 | echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 |
9084 | fi |
9396 | fi |
9085 | |
9397 | |
|
|
9398 | fi |
9086 | if test "$no_x" = yes; then |
9399 | if test "$no_x" = yes; then |
9087 | # Not all programs may use this symbol, but it does not hurt to define it. |
9400 | # Not all programs may use this symbol, but it does not hurt to define it. |
9088 | |
9401 | |
9089 | cat >>confdefs.h <<\_ACEOF |
9402 | cat >>confdefs.h <<\_ACEOF |
9090 | #define X_DISPLAY_MISSING 1 |
9403 | #define X_DISPLAY_MISSING 1 |
… | |
… | |
10667 | |
10980 | |
10668 | |
10981 | |
10669 | |
10982 | |
10670 | |
10983 | |
10671 | |
10984 | |
|
|
10985 | |
|
|
10986 | |
10672 | for ac_header in \ |
10987 | for ac_header in \ |
10673 | assert.h \ |
10988 | assert.h \ |
10674 | fcntl.h \ |
10989 | fcntl.h \ |
10675 | grp.h \ |
10990 | grp.h \ |
10676 | libc.h \ |
10991 | libc.h \ |
… | |
… | |
10683 | sys/byteorder.h \ |
10998 | sys/byteorder.h \ |
10684 | sys/ioctl.h \ |
10999 | sys/ioctl.h \ |
10685 | sys/select.h \ |
11000 | sys/select.h \ |
10686 | sys/sockio.h \ |
11001 | sys/sockio.h \ |
10687 | sys/strredir.h \ |
11002 | sys/strredir.h \ |
|
|
11003 | sys/stropts.h \ |
10688 | sys/time.h \ |
11004 | sys/time.h \ |
10689 | utmp.h \ |
11005 | utmp.h \ |
10690 | utmpx.h \ |
11006 | utmpx.h \ |
10691 | stdint.h \ |
11007 | stdint.h \ |
|
|
11008 | pty.h \ |
10692 | |
11009 | |
10693 | do |
11010 | do |
10694 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11011 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10695 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11012 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10696 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11013 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
11480 | _ACEOF |
11797 | _ACEOF |
11481 | |
11798 | |
11482 | fi |
11799 | fi |
11483 | |
11800 | |
11484 | |
11801 | |
11485 | |
|
|
11486 | echo "$as_me:$LINENO: checking for char" >&5 |
|
|
11487 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
|
|
11488 | if test "${ac_cv_type_char+set}" = set; then |
|
|
11489 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11490 | else |
|
|
11491 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11492 | /* confdefs.h. */ |
|
|
11493 | _ACEOF |
|
|
11494 | cat confdefs.h >>conftest.$ac_ext |
|
|
11495 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11496 | /* end confdefs.h. */ |
|
|
11497 | $ac_includes_default |
|
|
11498 | int |
|
|
11499 | main () |
|
|
11500 | { |
|
|
11501 | if ((char *) 0) |
|
|
11502 | return 0; |
|
|
11503 | if (sizeof (char)) |
|
|
11504 | return 0; |
|
|
11505 | ; |
|
|
11506 | return 0; |
|
|
11507 | } |
|
|
11508 | _ACEOF |
|
|
11509 | rm -f conftest.$ac_objext |
|
|
11510 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11511 | (eval $ac_compile) 2>conftest.er1 |
|
|
11512 | ac_status=$? |
|
|
11513 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11514 | rm -f conftest.er1 |
|
|
11515 | cat conftest.err >&5 |
|
|
11516 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11517 | (exit $ac_status); } && |
|
|
11518 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11519 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11520 | (eval $ac_try) 2>&5 |
|
|
11521 | ac_status=$? |
|
|
11522 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11523 | (exit $ac_status); }; } && |
|
|
11524 | { ac_try='test -s conftest.$ac_objext' |
|
|
11525 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11526 | (eval $ac_try) 2>&5 |
|
|
11527 | ac_status=$? |
|
|
11528 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11529 | (exit $ac_status); }; }; then |
|
|
11530 | ac_cv_type_char=yes |
|
|
11531 | else |
|
|
11532 | echo "$as_me: failed program was:" >&5 |
|
|
11533 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11534 | |
|
|
11535 | ac_cv_type_char=no |
|
|
11536 | fi |
|
|
11537 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11538 | fi |
|
|
11539 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
|
|
11540 | echo "${ECHO_T}$ac_cv_type_char" >&6 |
|
|
11541 | |
|
|
11542 | echo "$as_me:$LINENO: checking size of char" >&5 |
|
|
11543 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
|
|
11544 | if test "${ac_cv_sizeof_char+set}" = set; then |
|
|
11545 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11546 | else |
|
|
11547 | if test "$ac_cv_type_char" = yes; then |
|
|
11548 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
11549 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
11550 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
11551 | # This bug is HP SR number 8606223364. |
|
|
11552 | if test "$cross_compiling" = yes; then |
|
|
11553 | # Depending upon the size, compute the lo and hi bounds. |
|
|
11554 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11555 | /* confdefs.h. */ |
|
|
11556 | _ACEOF |
|
|
11557 | cat confdefs.h >>conftest.$ac_ext |
|
|
11558 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11559 | /* end confdefs.h. */ |
|
|
11560 | $ac_includes_default |
|
|
11561 | int |
|
|
11562 | main () |
|
|
11563 | { |
|
|
11564 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; |
|
|
11565 | test_array [0] = 0 |
|
|
11566 | |
|
|
11567 | ; |
|
|
11568 | return 0; |
|
|
11569 | } |
|
|
11570 | _ACEOF |
|
|
11571 | rm -f conftest.$ac_objext |
|
|
11572 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11573 | (eval $ac_compile) 2>conftest.er1 |
|
|
11574 | ac_status=$? |
|
|
11575 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11576 | rm -f conftest.er1 |
|
|
11577 | cat conftest.err >&5 |
|
|
11578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11579 | (exit $ac_status); } && |
|
|
11580 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11581 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11582 | (eval $ac_try) 2>&5 |
|
|
11583 | ac_status=$? |
|
|
11584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11585 | (exit $ac_status); }; } && |
|
|
11586 | { ac_try='test -s conftest.$ac_objext' |
|
|
11587 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11588 | (eval $ac_try) 2>&5 |
|
|
11589 | ac_status=$? |
|
|
11590 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11591 | (exit $ac_status); }; }; then |
|
|
11592 | ac_lo=0 ac_mid=0 |
|
|
11593 | while :; do |
|
|
11594 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11595 | /* confdefs.h. */ |
|
|
11596 | _ACEOF |
|
|
11597 | cat confdefs.h >>conftest.$ac_ext |
|
|
11598 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11599 | /* end confdefs.h. */ |
|
|
11600 | $ac_includes_default |
|
|
11601 | int |
|
|
11602 | main () |
|
|
11603 | { |
|
|
11604 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11605 | test_array [0] = 0 |
|
|
11606 | |
|
|
11607 | ; |
|
|
11608 | return 0; |
|
|
11609 | } |
|
|
11610 | _ACEOF |
|
|
11611 | rm -f conftest.$ac_objext |
|
|
11612 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11613 | (eval $ac_compile) 2>conftest.er1 |
|
|
11614 | ac_status=$? |
|
|
11615 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11616 | rm -f conftest.er1 |
|
|
11617 | cat conftest.err >&5 |
|
|
11618 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11619 | (exit $ac_status); } && |
|
|
11620 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11621 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11622 | (eval $ac_try) 2>&5 |
|
|
11623 | ac_status=$? |
|
|
11624 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11625 | (exit $ac_status); }; } && |
|
|
11626 | { ac_try='test -s conftest.$ac_objext' |
|
|
11627 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11628 | (eval $ac_try) 2>&5 |
|
|
11629 | ac_status=$? |
|
|
11630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11631 | (exit $ac_status); }; }; then |
|
|
11632 | ac_hi=$ac_mid; break |
|
|
11633 | else |
|
|
11634 | echo "$as_me: failed program was:" >&5 |
|
|
11635 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11636 | |
|
|
11637 | ac_lo=`expr $ac_mid + 1` |
|
|
11638 | if test $ac_lo -le $ac_mid; then |
|
|
11639 | ac_lo= ac_hi= |
|
|
11640 | break |
|
|
11641 | fi |
|
|
11642 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
11643 | fi |
|
|
11644 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11645 | done |
|
|
11646 | else |
|
|
11647 | echo "$as_me: failed program was:" >&5 |
|
|
11648 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11649 | |
|
|
11650 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11651 | /* confdefs.h. */ |
|
|
11652 | _ACEOF |
|
|
11653 | cat confdefs.h >>conftest.$ac_ext |
|
|
11654 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11655 | /* end confdefs.h. */ |
|
|
11656 | $ac_includes_default |
|
|
11657 | int |
|
|
11658 | main () |
|
|
11659 | { |
|
|
11660 | static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; |
|
|
11661 | test_array [0] = 0 |
|
|
11662 | |
|
|
11663 | ; |
|
|
11664 | return 0; |
|
|
11665 | } |
|
|
11666 | _ACEOF |
|
|
11667 | rm -f conftest.$ac_objext |
|
|
11668 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11669 | (eval $ac_compile) 2>conftest.er1 |
|
|
11670 | ac_status=$? |
|
|
11671 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11672 | rm -f conftest.er1 |
|
|
11673 | cat conftest.err >&5 |
|
|
11674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11675 | (exit $ac_status); } && |
|
|
11676 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11677 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11678 | (eval $ac_try) 2>&5 |
|
|
11679 | ac_status=$? |
|
|
11680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11681 | (exit $ac_status); }; } && |
|
|
11682 | { ac_try='test -s conftest.$ac_objext' |
|
|
11683 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11684 | (eval $ac_try) 2>&5 |
|
|
11685 | ac_status=$? |
|
|
11686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11687 | (exit $ac_status); }; }; then |
|
|
11688 | ac_hi=-1 ac_mid=-1 |
|
|
11689 | while :; do |
|
|
11690 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11691 | /* confdefs.h. */ |
|
|
11692 | _ACEOF |
|
|
11693 | cat confdefs.h >>conftest.$ac_ext |
|
|
11694 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11695 | /* end confdefs.h. */ |
|
|
11696 | $ac_includes_default |
|
|
11697 | int |
|
|
11698 | main () |
|
|
11699 | { |
|
|
11700 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; |
|
|
11701 | test_array [0] = 0 |
|
|
11702 | |
|
|
11703 | ; |
|
|
11704 | return 0; |
|
|
11705 | } |
|
|
11706 | _ACEOF |
|
|
11707 | rm -f conftest.$ac_objext |
|
|
11708 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11709 | (eval $ac_compile) 2>conftest.er1 |
|
|
11710 | ac_status=$? |
|
|
11711 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11712 | rm -f conftest.er1 |
|
|
11713 | cat conftest.err >&5 |
|
|
11714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11715 | (exit $ac_status); } && |
|
|
11716 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11717 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11718 | (eval $ac_try) 2>&5 |
|
|
11719 | ac_status=$? |
|
|
11720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11721 | (exit $ac_status); }; } && |
|
|
11722 | { ac_try='test -s conftest.$ac_objext' |
|
|
11723 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11724 | (eval $ac_try) 2>&5 |
|
|
11725 | ac_status=$? |
|
|
11726 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11727 | (exit $ac_status); }; }; then |
|
|
11728 | ac_lo=$ac_mid; break |
|
|
11729 | else |
|
|
11730 | echo "$as_me: failed program was:" >&5 |
|
|
11731 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11732 | |
|
|
11733 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
11734 | if test $ac_mid -le $ac_hi; then |
|
|
11735 | ac_lo= ac_hi= |
|
|
11736 | break |
|
|
11737 | fi |
|
|
11738 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
11739 | fi |
|
|
11740 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11741 | done |
|
|
11742 | else |
|
|
11743 | echo "$as_me: failed program was:" >&5 |
|
|
11744 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11745 | |
|
|
11746 | ac_lo= ac_hi= |
|
|
11747 | fi |
|
|
11748 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11749 | fi |
|
|
11750 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11751 | # Binary search between lo and hi bounds. |
|
|
11752 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
11753 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
11754 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11755 | /* confdefs.h. */ |
|
|
11756 | _ACEOF |
|
|
11757 | cat confdefs.h >>conftest.$ac_ext |
|
|
11758 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11759 | /* end confdefs.h. */ |
|
|
11760 | $ac_includes_default |
|
|
11761 | int |
|
|
11762 | main () |
|
|
11763 | { |
|
|
11764 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11765 | test_array [0] = 0 |
|
|
11766 | |
|
|
11767 | ; |
|
|
11768 | return 0; |
|
|
11769 | } |
|
|
11770 | _ACEOF |
|
|
11771 | rm -f conftest.$ac_objext |
|
|
11772 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11773 | (eval $ac_compile) 2>conftest.er1 |
|
|
11774 | ac_status=$? |
|
|
11775 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11776 | rm -f conftest.er1 |
|
|
11777 | cat conftest.err >&5 |
|
|
11778 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11779 | (exit $ac_status); } && |
|
|
11780 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11781 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11782 | (eval $ac_try) 2>&5 |
|
|
11783 | ac_status=$? |
|
|
11784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11785 | (exit $ac_status); }; } && |
|
|
11786 | { ac_try='test -s conftest.$ac_objext' |
|
|
11787 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11788 | (eval $ac_try) 2>&5 |
|
|
11789 | ac_status=$? |
|
|
11790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11791 | (exit $ac_status); }; }; then |
|
|
11792 | ac_hi=$ac_mid |
|
|
11793 | else |
|
|
11794 | echo "$as_me: failed program was:" >&5 |
|
|
11795 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11796 | |
|
|
11797 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
11798 | fi |
|
|
11799 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11800 | done |
|
|
11801 | case $ac_lo in |
|
|
11802 | ?*) ac_cv_sizeof_char=$ac_lo;; |
|
|
11803 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
11804 | See \`config.log' for more details." >&5 |
|
|
11805 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
11806 | See \`config.log' for more details." >&2;} |
|
|
11807 | { (exit 1); exit 1; }; } ;; |
|
|
11808 | esac |
|
|
11809 | else |
|
|
11810 | if test "$cross_compiling" = yes; then |
|
|
11811 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
11812 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
11813 | { (exit 1); exit 1; }; } |
|
|
11814 | else |
|
|
11815 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11816 | /* confdefs.h. */ |
|
|
11817 | _ACEOF |
|
|
11818 | cat confdefs.h >>conftest.$ac_ext |
|
|
11819 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11820 | /* end confdefs.h. */ |
|
|
11821 | $ac_includes_default |
|
|
11822 | long longval () { return (long) (sizeof (char)); } |
|
|
11823 | unsigned long ulongval () { return (long) (sizeof (char)); } |
|
|
11824 | #include <stdio.h> |
|
|
11825 | #include <stdlib.h> |
|
|
11826 | int |
|
|
11827 | main () |
|
|
11828 | { |
|
|
11829 | |
|
|
11830 | FILE *f = fopen ("conftest.val", "w"); |
|
|
11831 | if (! f) |
|
|
11832 | exit (1); |
|
|
11833 | if (((long) (sizeof (char))) < 0) |
|
|
11834 | { |
|
|
11835 | long i = longval (); |
|
|
11836 | if (i != ((long) (sizeof (char)))) |
|
|
11837 | exit (1); |
|
|
11838 | fprintf (f, "%ld\n", i); |
|
|
11839 | } |
|
|
11840 | else |
|
|
11841 | { |
|
|
11842 | unsigned long i = ulongval (); |
|
|
11843 | if (i != ((long) (sizeof (char)))) |
|
|
11844 | exit (1); |
|
|
11845 | fprintf (f, "%lu\n", i); |
|
|
11846 | } |
|
|
11847 | exit (ferror (f) || fclose (f) != 0); |
|
|
11848 | |
|
|
11849 | ; |
|
|
11850 | return 0; |
|
|
11851 | } |
|
|
11852 | _ACEOF |
|
|
11853 | rm -f conftest$ac_exeext |
|
|
11854 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11855 | (eval $ac_link) 2>&5 |
|
|
11856 | ac_status=$? |
|
|
11857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11858 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
11859 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11860 | (eval $ac_try) 2>&5 |
|
|
11861 | ac_status=$? |
|
|
11862 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11863 | (exit $ac_status); }; }; then |
|
|
11864 | ac_cv_sizeof_char=`cat conftest.val` |
|
|
11865 | else |
|
|
11866 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
11867 | echo "$as_me: failed program was:" >&5 |
|
|
11868 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11869 | |
|
|
11870 | ( exit $ac_status ) |
|
|
11871 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
11872 | See \`config.log' for more details." >&5 |
|
|
11873 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
11874 | See \`config.log' for more details." >&2;} |
|
|
11875 | { (exit 1); exit 1; }; } |
|
|
11876 | fi |
|
|
11877 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
11878 | fi |
|
|
11879 | fi |
|
|
11880 | rm -f conftest.val |
|
|
11881 | else |
|
|
11882 | ac_cv_sizeof_char=0 |
|
|
11883 | fi |
|
|
11884 | fi |
|
|
11885 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
|
|
11886 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
|
|
11887 | cat >>confdefs.h <<_ACEOF |
|
|
11888 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
|
|
11889 | _ACEOF |
|
|
11890 | |
|
|
11891 | |
|
|
11892 | echo "$as_me:$LINENO: checking for short" >&5 |
11802 | echo "$as_me:$LINENO: checking for short" >&5 |
11893 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
11803 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
11894 | if test "${ac_cv_type_short+set}" = set; then |
11804 | if test "${ac_cv_type_short+set}" = set; then |
11895 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11805 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11896 | else |
11806 | else |
… | |
… | |
12696 | fi |
12606 | fi |
12697 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12607 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12698 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12608 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12699 | cat >>confdefs.h <<_ACEOF |
12609 | cat >>confdefs.h <<_ACEOF |
12700 | #define SIZEOF_INT $ac_cv_sizeof_int |
12610 | #define SIZEOF_INT $ac_cv_sizeof_int |
12701 | _ACEOF |
|
|
12702 | |
|
|
12703 | |
|
|
12704 | echo "$as_me:$LINENO: checking for long" >&5 |
|
|
12705 | echo $ECHO_N "checking for long... $ECHO_C" >&6 |
|
|
12706 | if test "${ac_cv_type_long+set}" = set; then |
|
|
12707 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12708 | else |
|
|
12709 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12710 | /* confdefs.h. */ |
|
|
12711 | _ACEOF |
|
|
12712 | cat confdefs.h >>conftest.$ac_ext |
|
|
12713 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12714 | /* end confdefs.h. */ |
|
|
12715 | $ac_includes_default |
|
|
12716 | int |
|
|
12717 | main () |
|
|
12718 | { |
|
|
12719 | if ((long *) 0) |
|
|
12720 | return 0; |
|
|
12721 | if (sizeof (long)) |
|
|
12722 | return 0; |
|
|
12723 | ; |
|
|
12724 | return 0; |
|
|
12725 | } |
|
|
12726 | _ACEOF |
|
|
12727 | rm -f conftest.$ac_objext |
|
|
12728 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12729 | (eval $ac_compile) 2>conftest.er1 |
|
|
12730 | ac_status=$? |
|
|
12731 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12732 | rm -f conftest.er1 |
|
|
12733 | cat conftest.err >&5 |
|
|
12734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12735 | (exit $ac_status); } && |
|
|
12736 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12737 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12738 | (eval $ac_try) 2>&5 |
|
|
12739 | ac_status=$? |
|
|
12740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12741 | (exit $ac_status); }; } && |
|
|
12742 | { ac_try='test -s conftest.$ac_objext' |
|
|
12743 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12744 | (eval $ac_try) 2>&5 |
|
|
12745 | ac_status=$? |
|
|
12746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12747 | (exit $ac_status); }; }; then |
|
|
12748 | ac_cv_type_long=yes |
|
|
12749 | else |
|
|
12750 | echo "$as_me: failed program was:" >&5 |
|
|
12751 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12752 | |
|
|
12753 | ac_cv_type_long=no |
|
|
12754 | fi |
|
|
12755 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12756 | fi |
|
|
12757 | echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
|
|
12758 | echo "${ECHO_T}$ac_cv_type_long" >&6 |
|
|
12759 | |
|
|
12760 | echo "$as_me:$LINENO: checking size of long" >&5 |
|
|
12761 | echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
|
|
12762 | if test "${ac_cv_sizeof_long+set}" = set; then |
|
|
12763 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12764 | else |
|
|
12765 | if test "$ac_cv_type_long" = yes; then |
|
|
12766 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
12767 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
12768 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
12769 | # This bug is HP SR number 8606223364. |
|
|
12770 | if test "$cross_compiling" = yes; then |
|
|
12771 | # Depending upon the size, compute the lo and hi bounds. |
|
|
12772 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12773 | /* confdefs.h. */ |
|
|
12774 | _ACEOF |
|
|
12775 | cat confdefs.h >>conftest.$ac_ext |
|
|
12776 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12777 | /* end confdefs.h. */ |
|
|
12778 | $ac_includes_default |
|
|
12779 | int |
|
|
12780 | main () |
|
|
12781 | { |
|
|
12782 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; |
|
|
12783 | test_array [0] = 0 |
|
|
12784 | |
|
|
12785 | ; |
|
|
12786 | return 0; |
|
|
12787 | } |
|
|
12788 | _ACEOF |
|
|
12789 | rm -f conftest.$ac_objext |
|
|
12790 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12791 | (eval $ac_compile) 2>conftest.er1 |
|
|
12792 | ac_status=$? |
|
|
12793 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12794 | rm -f conftest.er1 |
|
|
12795 | cat conftest.err >&5 |
|
|
12796 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12797 | (exit $ac_status); } && |
|
|
12798 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12799 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12800 | (eval $ac_try) 2>&5 |
|
|
12801 | ac_status=$? |
|
|
12802 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12803 | (exit $ac_status); }; } && |
|
|
12804 | { ac_try='test -s conftest.$ac_objext' |
|
|
12805 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12806 | (eval $ac_try) 2>&5 |
|
|
12807 | ac_status=$? |
|
|
12808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12809 | (exit $ac_status); }; }; then |
|
|
12810 | ac_lo=0 ac_mid=0 |
|
|
12811 | while :; do |
|
|
12812 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12813 | /* confdefs.h. */ |
|
|
12814 | _ACEOF |
|
|
12815 | cat confdefs.h >>conftest.$ac_ext |
|
|
12816 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12817 | /* end confdefs.h. */ |
|
|
12818 | $ac_includes_default |
|
|
12819 | int |
|
|
12820 | main () |
|
|
12821 | { |
|
|
12822 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
12823 | test_array [0] = 0 |
|
|
12824 | |
|
|
12825 | ; |
|
|
12826 | return 0; |
|
|
12827 | } |
|
|
12828 | _ACEOF |
|
|
12829 | rm -f conftest.$ac_objext |
|
|
12830 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12831 | (eval $ac_compile) 2>conftest.er1 |
|
|
12832 | ac_status=$? |
|
|
12833 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12834 | rm -f conftest.er1 |
|
|
12835 | cat conftest.err >&5 |
|
|
12836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12837 | (exit $ac_status); } && |
|
|
12838 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12839 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12840 | (eval $ac_try) 2>&5 |
|
|
12841 | ac_status=$? |
|
|
12842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12843 | (exit $ac_status); }; } && |
|
|
12844 | { ac_try='test -s conftest.$ac_objext' |
|
|
12845 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12846 | (eval $ac_try) 2>&5 |
|
|
12847 | ac_status=$? |
|
|
12848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12849 | (exit $ac_status); }; }; then |
|
|
12850 | ac_hi=$ac_mid; break |
|
|
12851 | else |
|
|
12852 | echo "$as_me: failed program was:" >&5 |
|
|
12853 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12854 | |
|
|
12855 | ac_lo=`expr $ac_mid + 1` |
|
|
12856 | if test $ac_lo -le $ac_mid; then |
|
|
12857 | ac_lo= ac_hi= |
|
|
12858 | break |
|
|
12859 | fi |
|
|
12860 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
12861 | fi |
|
|
12862 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12863 | done |
|
|
12864 | else |
|
|
12865 | echo "$as_me: failed program was:" >&5 |
|
|
12866 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12867 | |
|
|
12868 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12869 | /* confdefs.h. */ |
|
|
12870 | _ACEOF |
|
|
12871 | cat confdefs.h >>conftest.$ac_ext |
|
|
12872 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12873 | /* end confdefs.h. */ |
|
|
12874 | $ac_includes_default |
|
|
12875 | int |
|
|
12876 | main () |
|
|
12877 | { |
|
|
12878 | static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; |
|
|
12879 | test_array [0] = 0 |
|
|
12880 | |
|
|
12881 | ; |
|
|
12882 | return 0; |
|
|
12883 | } |
|
|
12884 | _ACEOF |
|
|
12885 | rm -f conftest.$ac_objext |
|
|
12886 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12887 | (eval $ac_compile) 2>conftest.er1 |
|
|
12888 | ac_status=$? |
|
|
12889 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12890 | rm -f conftest.er1 |
|
|
12891 | cat conftest.err >&5 |
|
|
12892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12893 | (exit $ac_status); } && |
|
|
12894 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12895 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12896 | (eval $ac_try) 2>&5 |
|
|
12897 | ac_status=$? |
|
|
12898 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12899 | (exit $ac_status); }; } && |
|
|
12900 | { ac_try='test -s conftest.$ac_objext' |
|
|
12901 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12902 | (eval $ac_try) 2>&5 |
|
|
12903 | ac_status=$? |
|
|
12904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12905 | (exit $ac_status); }; }; then |
|
|
12906 | ac_hi=-1 ac_mid=-1 |
|
|
12907 | while :; do |
|
|
12908 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12909 | /* confdefs.h. */ |
|
|
12910 | _ACEOF |
|
|
12911 | cat confdefs.h >>conftest.$ac_ext |
|
|
12912 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12913 | /* end confdefs.h. */ |
|
|
12914 | $ac_includes_default |
|
|
12915 | int |
|
|
12916 | main () |
|
|
12917 | { |
|
|
12918 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; |
|
|
12919 | test_array [0] = 0 |
|
|
12920 | |
|
|
12921 | ; |
|
|
12922 | return 0; |
|
|
12923 | } |
|
|
12924 | _ACEOF |
|
|
12925 | rm -f conftest.$ac_objext |
|
|
12926 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12927 | (eval $ac_compile) 2>conftest.er1 |
|
|
12928 | ac_status=$? |
|
|
12929 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12930 | rm -f conftest.er1 |
|
|
12931 | cat conftest.err >&5 |
|
|
12932 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12933 | (exit $ac_status); } && |
|
|
12934 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12935 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12936 | (eval $ac_try) 2>&5 |
|
|
12937 | ac_status=$? |
|
|
12938 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12939 | (exit $ac_status); }; } && |
|
|
12940 | { ac_try='test -s conftest.$ac_objext' |
|
|
12941 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12942 | (eval $ac_try) 2>&5 |
|
|
12943 | ac_status=$? |
|
|
12944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12945 | (exit $ac_status); }; }; then |
|
|
12946 | ac_lo=$ac_mid; break |
|
|
12947 | else |
|
|
12948 | echo "$as_me: failed program was:" >&5 |
|
|
12949 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12950 | |
|
|
12951 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
12952 | if test $ac_mid -le $ac_hi; then |
|
|
12953 | ac_lo= ac_hi= |
|
|
12954 | break |
|
|
12955 | fi |
|
|
12956 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
12957 | fi |
|
|
12958 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12959 | done |
|
|
12960 | else |
|
|
12961 | echo "$as_me: failed program was:" >&5 |
|
|
12962 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12963 | |
|
|
12964 | ac_lo= ac_hi= |
|
|
12965 | fi |
|
|
12966 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12967 | fi |
|
|
12968 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12969 | # Binary search between lo and hi bounds. |
|
|
12970 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
12971 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
12972 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12973 | /* confdefs.h. */ |
|
|
12974 | _ACEOF |
|
|
12975 | cat confdefs.h >>conftest.$ac_ext |
|
|
12976 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12977 | /* end confdefs.h. */ |
|
|
12978 | $ac_includes_default |
|
|
12979 | int |
|
|
12980 | main () |
|
|
12981 | { |
|
|
12982 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
12983 | test_array [0] = 0 |
|
|
12984 | |
|
|
12985 | ; |
|
|
12986 | return 0; |
|
|
12987 | } |
|
|
12988 | _ACEOF |
|
|
12989 | rm -f conftest.$ac_objext |
|
|
12990 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12991 | (eval $ac_compile) 2>conftest.er1 |
|
|
12992 | ac_status=$? |
|
|
12993 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12994 | rm -f conftest.er1 |
|
|
12995 | cat conftest.err >&5 |
|
|
12996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12997 | (exit $ac_status); } && |
|
|
12998 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12999 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13000 | (eval $ac_try) 2>&5 |
|
|
13001 | ac_status=$? |
|
|
13002 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13003 | (exit $ac_status); }; } && |
|
|
13004 | { ac_try='test -s conftest.$ac_objext' |
|
|
13005 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13006 | (eval $ac_try) 2>&5 |
|
|
13007 | ac_status=$? |
|
|
13008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13009 | (exit $ac_status); }; }; then |
|
|
13010 | ac_hi=$ac_mid |
|
|
13011 | else |
|
|
13012 | echo "$as_me: failed program was:" >&5 |
|
|
13013 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13014 | |
|
|
13015 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
13016 | fi |
|
|
13017 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13018 | done |
|
|
13019 | case $ac_lo in |
|
|
13020 | ?*) ac_cv_sizeof_long=$ac_lo;; |
|
|
13021 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13022 | See \`config.log' for more details." >&5 |
|
|
13023 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13024 | See \`config.log' for more details." >&2;} |
|
|
13025 | { (exit 1); exit 1; }; } ;; |
|
|
13026 | esac |
|
|
13027 | else |
|
|
13028 | if test "$cross_compiling" = yes; then |
|
|
13029 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
13030 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
13031 | { (exit 1); exit 1; }; } |
|
|
13032 | else |
|
|
13033 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13034 | /* confdefs.h. */ |
|
|
13035 | _ACEOF |
|
|
13036 | cat confdefs.h >>conftest.$ac_ext |
|
|
13037 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13038 | /* end confdefs.h. */ |
|
|
13039 | $ac_includes_default |
|
|
13040 | long longval () { return (long) (sizeof (long)); } |
|
|
13041 | unsigned long ulongval () { return (long) (sizeof (long)); } |
|
|
13042 | #include <stdio.h> |
|
|
13043 | #include <stdlib.h> |
|
|
13044 | int |
|
|
13045 | main () |
|
|
13046 | { |
|
|
13047 | |
|
|
13048 | FILE *f = fopen ("conftest.val", "w"); |
|
|
13049 | if (! f) |
|
|
13050 | exit (1); |
|
|
13051 | if (((long) (sizeof (long))) < 0) |
|
|
13052 | { |
|
|
13053 | long i = longval (); |
|
|
13054 | if (i != ((long) (sizeof (long)))) |
|
|
13055 | exit (1); |
|
|
13056 | fprintf (f, "%ld\n", i); |
|
|
13057 | } |
|
|
13058 | else |
|
|
13059 | { |
|
|
13060 | unsigned long i = ulongval (); |
|
|
13061 | if (i != ((long) (sizeof (long)))) |
|
|
13062 | exit (1); |
|
|
13063 | fprintf (f, "%lu\n", i); |
|
|
13064 | } |
|
|
13065 | exit (ferror (f) || fclose (f) != 0); |
|
|
13066 | |
|
|
13067 | ; |
|
|
13068 | return 0; |
|
|
13069 | } |
|
|
13070 | _ACEOF |
|
|
13071 | rm -f conftest$ac_exeext |
|
|
13072 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13073 | (eval $ac_link) 2>&5 |
|
|
13074 | ac_status=$? |
|
|
13075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13076 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
13077 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13078 | (eval $ac_try) 2>&5 |
|
|
13079 | ac_status=$? |
|
|
13080 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13081 | (exit $ac_status); }; }; then |
|
|
13082 | ac_cv_sizeof_long=`cat conftest.val` |
|
|
13083 | else |
|
|
13084 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
13085 | echo "$as_me: failed program was:" >&5 |
|
|
13086 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13087 | |
|
|
13088 | ( exit $ac_status ) |
|
|
13089 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13090 | See \`config.log' for more details." >&5 |
|
|
13091 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13092 | See \`config.log' for more details." >&2;} |
|
|
13093 | { (exit 1); exit 1; }; } |
|
|
13094 | fi |
|
|
13095 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
13096 | fi |
|
|
13097 | fi |
|
|
13098 | rm -f conftest.val |
|
|
13099 | else |
|
|
13100 | ac_cv_sizeof_long=0 |
|
|
13101 | fi |
|
|
13102 | fi |
|
|
13103 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
|
|
13104 | echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
|
|
13105 | cat >>confdefs.h <<_ACEOF |
|
|
13106 | #define SIZEOF_LONG $ac_cv_sizeof_long |
|
|
13107 | _ACEOF |
12611 | _ACEOF |
13108 | |
12612 | |
13109 | |
12613 | |
13110 | echo "$as_me:$LINENO: checking for long long" >&5 |
12614 | echo "$as_me:$LINENO: checking for long long" >&5 |
13111 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
12615 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
… | |
… | |
15954 | #define HAVE_NL_LANGINFO 1 |
15458 | #define HAVE_NL_LANGINFO 1 |
15955 | _ACEOF |
15459 | _ACEOF |
15956 | |
15460 | |
15957 | fi |
15461 | fi |
15958 | |
15462 | |
|
|
15463 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
15464 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
|
|
15465 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
15466 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
15467 | else |
|
|
15468 | cat >conftest.$ac_ext <<_ACEOF |
|
|
15469 | |
|
|
15470 | #include <X11/Xlib.h> |
|
|
15471 | |
|
|
15472 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
15473 | |
|
|
15474 | void f() { |
|
|
15475 | XIMCallback cb; |
|
|
15476 | cb.callback = im_destroy_cb; |
|
|
15477 | } |
|
|
15478 | |
|
|
15479 | _ACEOF |
|
|
15480 | rm -f conftest.$ac_objext |
|
|
15481 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
15482 | (eval $ac_compile) 2>conftest.er1 |
|
|
15483 | ac_status=$? |
|
|
15484 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
15485 | rm -f conftest.er1 |
|
|
15486 | cat conftest.err >&5 |
|
|
15487 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15488 | (exit $ac_status); } && |
|
|
15489 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
15490 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15491 | (eval $ac_try) 2>&5 |
|
|
15492 | ac_status=$? |
|
|
15493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15494 | (exit $ac_status); }; } && |
|
|
15495 | { ac_try='test -s conftest.$ac_objext' |
|
|
15496 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15497 | (eval $ac_try) 2>&5 |
|
|
15498 | ac_status=$? |
|
|
15499 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15500 | (exit $ac_status); }; }; then |
|
|
15501 | rxvt_broken_ximcb=yes |
|
|
15502 | else |
|
|
15503 | echo "$as_me: failed program was:" >&5 |
|
|
15504 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
15505 | |
|
|
15506 | rxvt_broken_ximcb=no |
|
|
15507 | fi |
|
|
15508 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
15509 | fi |
|
|
15510 | echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
15511 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6 |
|
|
15512 | |
|
|
15513 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
15514 | |
|
|
15515 | cat >>confdefs.h <<\_ACEOF |
|
|
15516 | #define XIMCB_PROTO_BROKEN 1 |
|
|
15517 | _ACEOF |
|
|
15518 | |
|
|
15519 | fi |
|
|
15520 | |
15959 | echo "$as_me:$LINENO: checking for getpt" >&5 |
15521 | echo "$as_me:$LINENO: checking for getpt" >&5 |
15960 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
15522 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
15961 | if test "${rxvt_cv_func_getpt+set}" = set; then |
15523 | if test "${rxvt_cv_func_getpt+set}" = set; then |
15962 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15524 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15963 | else |
15525 | else |
… | |
… | |
16140 | |
15702 | |
16141 | cat >>confdefs.h <<_ACEOF |
15703 | cat >>confdefs.h <<_ACEOF |
16142 | #define PTYCHAR2 "$pch2" |
15704 | #define PTYCHAR2 "$pch2" |
16143 | _ACEOF |
15705 | _ACEOF |
16144 | |
15706 | |
16145 | fi |
|
|
16146 | |
|
|
16147 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
|
|
16148 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
|
|
16149 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
|
|
16150 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
16151 | else |
|
|
16152 | ac_check_lib_save_LIBS=$LIBS |
|
|
16153 | LIBS="-lxpg4 $LIBS" |
|
|
16154 | cat >conftest.$ac_ext <<_ACEOF |
|
|
16155 | /* confdefs.h. */ |
|
|
16156 | _ACEOF |
|
|
16157 | cat confdefs.h >>conftest.$ac_ext |
|
|
16158 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
16159 | /* end confdefs.h. */ |
|
|
16160 | |
|
|
16161 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
16162 | #ifdef __cplusplus |
|
|
16163 | extern "C" |
|
|
16164 | #endif |
|
|
16165 | /* We use char because int might match the return type of a gcc2 |
|
|
16166 | builtin and then its argument prototype would still apply. */ |
|
|
16167 | char setlocale (); |
|
|
16168 | int |
|
|
16169 | main () |
|
|
16170 | { |
|
|
16171 | setlocale (); |
|
|
16172 | ; |
|
|
16173 | return 0; |
|
|
16174 | } |
|
|
16175 | _ACEOF |
|
|
16176 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
16177 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
16178 | (eval $ac_link) 2>conftest.er1 |
|
|
16179 | ac_status=$? |
|
|
16180 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
16181 | rm -f conftest.er1 |
|
|
16182 | cat conftest.err >&5 |
|
|
16183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16184 | (exit $ac_status); } && |
|
|
16185 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
16186 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16187 | (eval $ac_try) 2>&5 |
|
|
16188 | ac_status=$? |
|
|
16189 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16190 | (exit $ac_status); }; } && |
|
|
16191 | { ac_try='test -s conftest$ac_exeext' |
|
|
16192 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16193 | (eval $ac_try) 2>&5 |
|
|
16194 | ac_status=$? |
|
|
16195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16196 | (exit $ac_status); }; }; then |
|
|
16197 | ac_cv_lib_xpg4_setlocale=yes |
|
|
16198 | else |
|
|
16199 | echo "$as_me: failed program was:" >&5 |
|
|
16200 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
16201 | |
|
|
16202 | ac_cv_lib_xpg4_setlocale=no |
|
|
16203 | fi |
|
|
16204 | rm -f conftest.err conftest.$ac_objext \ |
|
|
16205 | conftest$ac_exeext conftest.$ac_ext |
|
|
16206 | LIBS=$ac_check_lib_save_LIBS |
|
|
16207 | fi |
|
|
16208 | echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5 |
|
|
16209 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
|
|
16210 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
|
|
16211 | LIBS="$LIBS -lxpg4" |
|
|
16212 | fi |
|
|
16213 | |
|
|
16214 | |
|
|
16215 | if test x$support_inheritpixmap = xyes; then |
|
|
16216 | |
|
|
16217 | cat >>confdefs.h <<\_ACEOF |
|
|
16218 | #define TRANSPARENT 1 |
|
|
16219 | _ACEOF |
|
|
16220 | |
|
|
16221 | fi |
|
|
16222 | if test x$support_keepscrolling = xno; then |
|
|
16223 | |
|
|
16224 | cat >>confdefs.h <<\_ACEOF |
|
|
16225 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
16226 | _ACEOF |
|
|
16227 | |
|
|
16228 | fi |
|
|
16229 | if test x$support_selectionscrolling = xyes; then |
|
|
16230 | |
|
|
16231 | cat >>confdefs.h <<\_ACEOF |
|
|
16232 | #define SELECTION_SCROLLING 1 |
|
|
16233 | _ACEOF |
|
|
16234 | |
|
|
16235 | fi |
|
|
16236 | if test x$support_menubar = xyes; then |
|
|
16237 | |
|
|
16238 | cat >>confdefs.h <<\_ACEOF |
|
|
16239 | #define MENUBAR 1 |
|
|
16240 | _ACEOF |
|
|
16241 | |
|
|
16242 | fi |
|
|
16243 | if test x$support_frills = xno; then |
|
|
16244 | |
|
|
16245 | cat >>confdefs.h <<\_ACEOF |
|
|
16246 | #define NO_FRILLS 1 |
|
|
16247 | _ACEOF |
|
|
16248 | |
|
|
16249 | fi |
|
|
16250 | if test x$support_linespace = xno; then |
|
|
16251 | |
|
|
16252 | cat >>confdefs.h <<\_ACEOF |
|
|
16253 | #define NO_LINESPACE 1 |
|
|
16254 | _ACEOF |
|
|
16255 | |
|
|
16256 | fi |
|
|
16257 | if test x$support_24bit = xyes; then |
|
|
16258 | |
|
|
16259 | cat >>confdefs.h <<\_ACEOF |
|
|
16260 | #define PREFER_24BIT 1 |
|
|
16261 | _ACEOF |
|
|
16262 | |
|
|
16263 | fi |
|
|
16264 | if test x$support_mousewheel = xyes; then |
|
|
16265 | |
|
|
16266 | cat >>confdefs.h <<\_ACEOF |
|
|
16267 | #define MOUSE_WHEEL 1 |
|
|
16268 | _ACEOF |
|
|
16269 | |
|
|
16270 | fi |
|
|
16271 | if test x$support_mouseslipwheel = xyes; then |
|
|
16272 | |
|
|
16273 | cat >>confdefs.h <<\_ACEOF |
|
|
16274 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16275 | _ACEOF |
|
|
16276 | |
|
|
16277 | fi |
|
|
16278 | if test x$support_utmp = xyes; then |
|
|
16279 | |
|
|
16280 | cat >>confdefs.h <<\_ACEOF |
|
|
16281 | #define UTMP_SUPPORT 1 |
|
|
16282 | _ACEOF |
|
|
16283 | |
|
|
16284 | fi |
|
|
16285 | if test x$support_wtmp = xyes; then |
|
|
16286 | |
|
|
16287 | cat >>confdefs.h <<\_ACEOF |
|
|
16288 | #define WTMP_SUPPORT 1 |
|
|
16289 | _ACEOF |
|
|
16290 | |
|
|
16291 | fi |
|
|
16292 | if test x$support_lastlog = xyes; then |
|
|
16293 | |
|
|
16294 | cat >>confdefs.h <<\_ACEOF |
|
|
16295 | #define LASTLOG_SUPPORT 1 |
|
|
16296 | _ACEOF |
|
|
16297 | |
|
|
16298 | fi |
|
|
16299 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16300 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16301 | |
|
|
16302 | cat >>confdefs.h <<\_ACEOF |
|
|
16303 | #define USE_XIM 1 |
|
|
16304 | _ACEOF |
|
|
16305 | |
|
|
16306 | fi |
|
|
16307 | fi |
|
|
16308 | if test x$support_xpm = xyes; then |
|
|
16309 | |
|
|
16310 | cat >>confdefs.h <<\_ACEOF |
|
|
16311 | #define XPM_BACKGROUND 1 |
|
|
16312 | _ACEOF |
|
|
16313 | |
|
|
16314 | fi |
|
|
16315 | if test x$support_scroll_rxvt = xyes; then |
|
|
16316 | |
|
|
16317 | cat >>confdefs.h <<\_ACEOF |
|
|
16318 | #define RXVT_SCROLLBAR 1 |
|
|
16319 | _ACEOF |
|
|
16320 | |
|
|
16321 | scrolltypes="rxvt" |
|
|
16322 | fi |
|
|
16323 | if test x$support_scroll_next = xyes; then |
|
|
16324 | |
|
|
16325 | cat >>confdefs.h <<\_ACEOF |
|
|
16326 | #define NEXT_SCROLLBAR 1 |
|
|
16327 | _ACEOF |
|
|
16328 | |
|
|
16329 | scrolltypes="$scrolltypes next" |
|
|
16330 | fi |
|
|
16331 | if test x$support_scroll_xterm = xyes; then |
|
|
16332 | |
|
|
16333 | cat >>confdefs.h <<\_ACEOF |
|
|
16334 | #define XTERM_SCROLLBAR 1 |
|
|
16335 | _ACEOF |
|
|
16336 | |
|
|
16337 | scrolltypes="$scrolltypes xterm" |
|
|
16338 | fi |
|
|
16339 | if test x$support_scroll_plain = xyes; then |
|
|
16340 | |
|
|
16341 | cat >>confdefs.h <<\_ACEOF |
|
|
16342 | #define PLAIN_SCROLLBAR 1 |
|
|
16343 | _ACEOF |
|
|
16344 | |
|
|
16345 | scrolltypes="$scrolltypes plain" |
|
|
16346 | fi |
|
|
16347 | if test x$support_pointer_blank = xyes; then |
|
|
16348 | |
|
|
16349 | cat >>confdefs.h <<\_ACEOF |
|
|
16350 | #define POINTER_BLANK 1 |
|
|
16351 | _ACEOF |
|
|
16352 | |
|
|
16353 | fi |
|
|
16354 | if test x$support_cursor_blink = xyes; then |
|
|
16355 | |
|
|
16356 | cat >>confdefs.h <<\_ACEOF |
|
|
16357 | #define CURSOR_BLINK 1 |
|
|
16358 | _ACEOF |
|
|
16359 | |
|
|
16360 | fi |
|
|
16361 | if test x$support_text_blink = xyes; then |
|
|
16362 | |
|
|
16363 | cat >>confdefs.h <<\_ACEOF |
|
|
16364 | #define TEXT_BLINK 1 |
|
|
16365 | _ACEOF |
|
|
16366 | |
|
|
16367 | fi |
|
|
16368 | if test x$support_unicode3 = xyes; then |
|
|
16369 | |
|
|
16370 | cat >>confdefs.h <<\_ACEOF |
|
|
16371 | #define UNICODE_3 1 |
|
|
16372 | _ACEOF |
|
|
16373 | |
|
|
16374 | fi |
|
|
16375 | if test x$support_combining = xyes; then |
|
|
16376 | |
|
|
16377 | cat >>confdefs.h <<\_ACEOF |
|
|
16378 | #define ENABLE_COMBINING 1 |
|
|
16379 | _ACEOF |
|
|
16380 | |
|
|
16381 | fi |
|
|
16382 | if test x$codesets = xall; then |
|
|
16383 | codesets=jp,jp-ext,kr,cn,cn-ext |
|
|
16384 | fi |
|
|
16385 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16386 | |
|
|
16387 | cat >>confdefs.h <<\_ACEOF |
|
|
16388 | #define ENCODING_EU 1 |
|
|
16389 | _ACEOF |
|
|
16390 | |
|
|
16391 | |
|
|
16392 | cat >>confdefs.h <<\_ACEOF |
|
|
16393 | #define ENCODING_VN 1 |
|
|
16394 | _ACEOF |
|
|
16395 | |
|
|
16396 | case "$codeset" in |
|
|
16397 | JP ) |
|
|
16398 | cat >>confdefs.h <<\_ACEOF |
|
|
16399 | #define ENCODING_JP 1 |
|
|
16400 | _ACEOF |
|
|
16401 | ;; |
|
|
16402 | JP_EXT ) |
|
|
16403 | cat >>confdefs.h <<\_ACEOF |
|
|
16404 | #define ENCODING_JP_EXT 1 |
|
|
16405 | _ACEOF |
|
|
16406 | ;; |
|
|
16407 | KR ) |
|
|
16408 | cat >>confdefs.h <<\_ACEOF |
|
|
16409 | #define ENCODING_KR 1 |
|
|
16410 | _ACEOF |
|
|
16411 | ;; |
|
|
16412 | CN ) |
|
|
16413 | cat >>confdefs.h <<\_ACEOF |
|
|
16414 | #define ENCODING_CN 1 |
|
|
16415 | _ACEOF |
|
|
16416 | ;; |
|
|
16417 | CN_EXT ) |
|
|
16418 | cat >>confdefs.h <<\_ACEOF |
|
|
16419 | #define ENCODING_CN_EXT 1 |
|
|
16420 | _ACEOF |
|
|
16421 | ;; |
|
|
16422 | esac |
|
|
16423 | done |
|
|
16424 | |
|
|
16425 | |
|
|
16426 | CFLAGS=${CFLAGS--O} |
|
|
16427 | LDFLAGS=${LDFLAGS--O} |
|
|
16428 | |
|
|
16429 | CPPFLAGS="$CPPFLAGS" |
|
|
16430 | |
|
|
16431 | |
|
|
16432 | |
|
|
16433 | |
|
|
16434 | |
|
|
16435 | |
|
|
16436 | |
|
|
16437 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
16438 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16439 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
16440 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
16441 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
16442 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
16443 | fi |
|
|
16444 | |
|
|
16445 | |
|
|
16446 | |
|
|
16447 | |
|
|
16448 | |
|
|
16449 | if test x$support_addstrings = xno; then |
|
|
16450 | |
|
|
16451 | cat >>confdefs.h <<\_ACEOF |
|
|
16452 | #define NO_STRINGS 1 |
|
|
16453 | _ACEOF |
|
|
16454 | |
|
|
16455 | fi |
|
|
16456 | |
|
|
16457 | MCOMMON=./autoconf/Make.common |
|
|
16458 | |
|
|
16459 | |
|
|
16460 | test "$program_prefix" != NONE && |
|
|
16461 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16462 | # Use a double $ so make ignores it. |
|
|
16463 | test "$program_suffix" != NONE && |
|
|
16464 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
16465 | # Double any \ or $. echo might interpret backslashes. |
|
|
16466 | # By default was `s,x,x', remove it if useless. |
|
|
16467 | cat <<\_ACEOF >conftest.sed |
|
|
16468 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16469 | _ACEOF |
|
|
16470 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16471 | rm conftest.sed |
|
|
16472 | |
|
|
16473 | |
|
|
16474 | |
|
|
16475 | |
|
|
16476 | |
|
|
16477 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16478 | include_stdint_h="#include <stdint.h>" |
|
|
16479 | else |
|
|
16480 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16481 | fi |
|
|
16482 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16483 | include_stdarg_h="#include <cstdarg>" |
|
|
16484 | else |
|
|
16485 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
16486 | fi |
|
|
16487 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16488 | include_stdlib_h="#include <cstdlib>" |
|
|
16489 | else |
|
|
16490 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
16491 | fi |
|
|
16492 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16493 | include_unistd_h="#include <unistd.h>" |
|
|
16494 | else |
|
|
16495 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16496 | fi |
|
|
16497 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16498 | include_string_h="#include <cstring>" |
|
|
16499 | else |
|
|
16500 | include_string_h="/* #include <cstring> */" |
|
|
16501 | fi |
|
|
16502 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16503 | include_fcntl_h="#include <fcntl.h>" |
|
|
16504 | else |
|
|
16505 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16506 | fi |
|
|
16507 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16508 | include_util_h="#include <util.h>" |
|
|
16509 | else |
|
|
16510 | include_util_h="/* #include <util.h> */" |
|
|
16511 | fi |
|
|
16512 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16513 | include_assert_h="#include <assert.h>" |
|
|
16514 | else |
|
|
16515 | include_assert_h="/* #include <assert.h> */" |
|
|
16516 | fi |
|
|
16517 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16518 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16519 | else |
|
|
16520 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16521 | fi |
|
|
16522 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16523 | include_sys_select_h="#include <sys/select.h>" |
|
|
16524 | else |
|
|
16525 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16526 | fi |
|
|
16527 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16528 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16529 | else |
|
|
16530 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16531 | fi |
|
|
16532 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16533 | include_sys_time_h="#include <sys/time.h>" |
|
|
16534 | else |
|
|
16535 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16536 | fi |
|
|
16537 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16538 | include_time_h="#include <time.h>" |
|
|
16539 | else |
|
|
16540 | include_time_h="/* #include <time.h> */" |
|
|
16541 | fi |
15707 | fi |
16542 | |
15708 | |
16543 | if test x$support_xft = xyes; then |
15709 | if test x$support_xft = xyes; then |
16544 | LIBS="$LIBS `pkg-config xft --libs`" |
15710 | LIBS="$LIBS `pkg-config xft --libs`" |
16545 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
15711 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
… | |
… | |
16778 | #define XFT 1 |
15944 | #define XFT 1 |
16779 | _ACEOF |
15945 | _ACEOF |
16780 | |
15946 | |
16781 | fi |
15947 | fi |
16782 | fi |
15948 | fi |
|
|
15949 | if test x$support_styles = xyes; then |
16783 | |
15950 | |
|
|
15951 | cat >>confdefs.h <<\_ACEOF |
|
|
15952 | #define ENABLE_STYLES 1 |
|
|
15953 | _ACEOF |
|
|
15954 | |
|
|
15955 | fi |
|
|
15956 | if test x$support_iso14755 = xyes; then |
|
|
15957 | |
|
|
15958 | cat >>confdefs.h <<\_ACEOF |
|
|
15959 | #define ISO_14755 1 |
|
|
15960 | _ACEOF |
|
|
15961 | |
|
|
15962 | fi |
|
|
15963 | if test x$support_8bitctrls = xyes; then |
|
|
15964 | |
|
|
15965 | cat >>confdefs.h <<\_ACEOF |
|
|
15966 | #define EIGHT_BIT_CONTROLS 1 |
|
|
15967 | _ACEOF |
|
|
15968 | |
|
|
15969 | fi |
|
|
15970 | if test x$support_fading = xyes; then |
|
|
15971 | |
|
|
15972 | cat >>confdefs.h <<\_ACEOF |
|
|
15973 | #define OFF_FOCUS_FADING 1 |
|
|
15974 | _ACEOF |
|
|
15975 | |
|
|
15976 | fi |
|
|
15977 | if test x$support_tinting = xyes; then |
|
|
15978 | |
|
|
15979 | cat >>confdefs.h <<\_ACEOF |
|
|
15980 | #define TINTING 1 |
|
|
15981 | _ACEOF |
|
|
15982 | |
|
|
15983 | fi |
|
|
15984 | if test x$support_inheritpixmap = xyes; then |
|
|
15985 | |
|
|
15986 | cat >>confdefs.h <<\_ACEOF |
|
|
15987 | #define TRANSPARENT 1 |
|
|
15988 | _ACEOF |
|
|
15989 | |
|
|
15990 | fi |
|
|
15991 | if test x$support_keepscrolling = xno; then |
|
|
15992 | |
|
|
15993 | cat >>confdefs.h <<\_ACEOF |
|
|
15994 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
15995 | _ACEOF |
|
|
15996 | |
|
|
15997 | fi |
|
|
15998 | if test x$support_selectionscrolling = xyes; then |
|
|
15999 | |
|
|
16000 | cat >>confdefs.h <<\_ACEOF |
|
|
16001 | #define SELECTION_SCROLLING 1 |
|
|
16002 | _ACEOF |
|
|
16003 | |
|
|
16004 | fi |
|
|
16005 | if test x$support_menubar = xyes; then |
|
|
16006 | |
|
|
16007 | cat >>confdefs.h <<\_ACEOF |
|
|
16008 | #define MENUBAR 1 |
|
|
16009 | _ACEOF |
|
|
16010 | |
|
|
16011 | fi |
|
|
16012 | if test x$support_frills = xyes; then |
|
|
16013 | |
|
|
16014 | cat >>confdefs.h <<\_ACEOF |
|
|
16015 | #define ENABLE_FRILLS 1 |
|
|
16016 | _ACEOF |
|
|
16017 | |
|
|
16018 | fi |
|
|
16019 | if test x$support_24bit = xyes; then |
|
|
16020 | |
|
|
16021 | cat >>confdefs.h <<\_ACEOF |
|
|
16022 | #define PREFER_24BIT 1 |
|
|
16023 | _ACEOF |
|
|
16024 | |
|
|
16025 | fi |
|
|
16026 | if test x$support_mousewheel = xyes; then |
|
|
16027 | |
|
|
16028 | cat >>confdefs.h <<\_ACEOF |
|
|
16029 | #define MOUSE_WHEEL 1 |
|
|
16030 | _ACEOF |
|
|
16031 | |
|
|
16032 | fi |
|
|
16033 | if test x$support_mouseslipwheel = xyes; then |
|
|
16034 | |
|
|
16035 | cat >>confdefs.h <<\_ACEOF |
|
|
16036 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16037 | _ACEOF |
|
|
16038 | |
|
|
16039 | fi |
|
|
16040 | if test x$support_utmp = xyes; then |
|
|
16041 | |
|
|
16042 | cat >>confdefs.h <<\_ACEOF |
|
|
16043 | #define UTMP_SUPPORT 1 |
|
|
16044 | _ACEOF |
|
|
16045 | |
|
|
16046 | fi |
|
|
16047 | if test x$support_wtmp = xyes; then |
|
|
16048 | |
|
|
16049 | cat >>confdefs.h <<\_ACEOF |
|
|
16050 | #define WTMP_SUPPORT 1 |
|
|
16051 | _ACEOF |
|
|
16052 | |
|
|
16053 | fi |
|
|
16054 | if test x$support_lastlog = xyes; then |
|
|
16055 | |
|
|
16056 | cat >>confdefs.h <<\_ACEOF |
|
|
16057 | #define LASTLOG_SUPPORT 1 |
|
|
16058 | _ACEOF |
|
|
16059 | |
|
|
16060 | fi |
|
|
16061 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16062 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16063 | |
|
|
16064 | cat >>confdefs.h <<\_ACEOF |
|
|
16065 | #define USE_XIM 1 |
|
|
16066 | _ACEOF |
|
|
16067 | |
|
|
16068 | fi |
|
|
16069 | fi |
|
|
16070 | if test x$support_xpm = xyes; then |
|
|
16071 | |
|
|
16072 | cat >>confdefs.h <<\_ACEOF |
|
|
16073 | #define XPM_BACKGROUND 1 |
|
|
16074 | _ACEOF |
|
|
16075 | |
|
|
16076 | fi |
|
|
16077 | if test x$support_scroll_rxvt = xyes; then |
|
|
16078 | |
|
|
16079 | cat >>confdefs.h <<\_ACEOF |
|
|
16080 | #define RXVT_SCROLLBAR 1 |
|
|
16081 | _ACEOF |
|
|
16082 | |
|
|
16083 | scrolltypes="rxvt" |
|
|
16084 | fi |
|
|
16085 | if test x$support_scroll_next = xyes; then |
|
|
16086 | |
|
|
16087 | cat >>confdefs.h <<\_ACEOF |
|
|
16088 | #define NEXT_SCROLLBAR 1 |
|
|
16089 | _ACEOF |
|
|
16090 | |
|
|
16091 | scrolltypes="$scrolltypes next" |
|
|
16092 | fi |
|
|
16093 | if test x$support_scroll_xterm = xyes; then |
|
|
16094 | |
|
|
16095 | cat >>confdefs.h <<\_ACEOF |
|
|
16096 | #define XTERM_SCROLLBAR 1 |
|
|
16097 | _ACEOF |
|
|
16098 | |
|
|
16099 | scrolltypes="$scrolltypes xterm" |
|
|
16100 | fi |
|
|
16101 | if test x$support_scroll_plain = xyes; then |
|
|
16102 | |
|
|
16103 | cat >>confdefs.h <<\_ACEOF |
|
|
16104 | #define PLAIN_SCROLLBAR 1 |
|
|
16105 | _ACEOF |
|
|
16106 | |
|
|
16107 | scrolltypes="$scrolltypes plain" |
|
|
16108 | fi |
|
|
16109 | if test x$support_pointer_blank = xyes; then |
|
|
16110 | |
|
|
16111 | cat >>confdefs.h <<\_ACEOF |
|
|
16112 | #define POINTER_BLANK 1 |
|
|
16113 | _ACEOF |
|
|
16114 | |
|
|
16115 | fi |
|
|
16116 | if test x$support_cursor_blink = xyes; then |
|
|
16117 | |
|
|
16118 | cat >>confdefs.h <<\_ACEOF |
|
|
16119 | #define CURSOR_BLINK 1 |
|
|
16120 | _ACEOF |
|
|
16121 | |
|
|
16122 | fi |
|
|
16123 | if test x$support_text_blink = xyes; then |
|
|
16124 | |
|
|
16125 | cat >>confdefs.h <<\_ACEOF |
|
|
16126 | #define TEXT_BLINK 1 |
|
|
16127 | _ACEOF |
|
|
16128 | |
|
|
16129 | fi |
|
|
16130 | if test x$support_unicode3 = xyes; then |
|
|
16131 | |
|
|
16132 | cat >>confdefs.h <<\_ACEOF |
|
|
16133 | #define UNICODE_3 1 |
|
|
16134 | _ACEOF |
|
|
16135 | |
|
|
16136 | fi |
|
|
16137 | if test x$support_combining = xyes; then |
|
|
16138 | |
|
|
16139 | cat >>confdefs.h <<\_ACEOF |
|
|
16140 | #define ENABLE_COMBINING 1 |
|
|
16141 | _ACEOF |
|
|
16142 | |
|
|
16143 | fi |
|
|
16144 | if test x$codesets = xall; then |
|
|
16145 | codesets=jp,jp-ext,kr,zh,zh-ext |
|
|
16146 | fi |
|
|
16147 | |
|
|
16148 | cat >>confdefs.h <<\_ACEOF |
|
|
16149 | #define ENCODING_EU 1 |
|
|
16150 | _ACEOF |
|
|
16151 | |
|
|
16152 | |
|
|
16153 | cat >>confdefs.h <<\_ACEOF |
|
|
16154 | #define ENCODING_VN 1 |
|
|
16155 | _ACEOF |
|
|
16156 | |
|
|
16157 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16158 | case "$codeset" in |
|
|
16159 | JP ) |
|
|
16160 | cat >>confdefs.h <<\_ACEOF |
|
|
16161 | #define ENCODING_JP 1 |
|
|
16162 | _ACEOF |
|
|
16163 | ;; |
|
|
16164 | JP_EXT ) |
|
|
16165 | cat >>confdefs.h <<\_ACEOF |
|
|
16166 | #define ENCODING_JP_EXT 1 |
|
|
16167 | _ACEOF |
|
|
16168 | ;; |
|
|
16169 | KR ) |
|
|
16170 | cat >>confdefs.h <<\_ACEOF |
|
|
16171 | #define ENCODING_KR 1 |
|
|
16172 | _ACEOF |
|
|
16173 | ;; |
|
|
16174 | ZH ) |
|
|
16175 | cat >>confdefs.h <<\_ACEOF |
|
|
16176 | #define ENCODING_ZH 1 |
|
|
16177 | _ACEOF |
|
|
16178 | ;; |
|
|
16179 | ZH_EXT ) |
|
|
16180 | cat >>confdefs.h <<\_ACEOF |
|
|
16181 | #define ENCODING_ZH_EXT 1 |
|
|
16182 | _ACEOF |
|
|
16183 | ;; |
|
|
16184 | esac |
|
|
16185 | done |
|
|
16186 | |
|
|
16187 | |
|
|
16188 | CFLAGS=${CFLAGS--O} |
|
|
16189 | LDFLAGS=${LDFLAGS--O} |
|
|
16190 | |
|
|
16191 | CPPFLAGS="$CPPFLAGS" |
|
|
16192 | |
|
|
16193 | |
|
|
16194 | |
|
|
16195 | |
|
|
16196 | |
|
|
16197 | |
|
|
16198 | |
|
|
16199 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
16200 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16201 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
16202 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
16203 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
16204 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
16205 | fi |
|
|
16206 | |
|
|
16207 | |
|
|
16208 | |
|
|
16209 | |
|
|
16210 | |
|
|
16211 | if test x$support_addstrings = xno; then |
|
|
16212 | |
|
|
16213 | cat >>confdefs.h <<\_ACEOF |
|
|
16214 | #define NO_STRINGS 1 |
|
|
16215 | _ACEOF |
|
|
16216 | |
|
|
16217 | fi |
|
|
16218 | |
|
|
16219 | MCOMMON=./autoconf/Make.common |
|
|
16220 | |
|
|
16221 | |
|
|
16222 | test "$program_prefix" != NONE && |
|
|
16223 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16224 | # Use a double $ so make ignores it. |
|
|
16225 | test "$program_suffix" != NONE && |
|
|
16226 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
16227 | # Double any \ or $. echo might interpret backslashes. |
|
|
16228 | # By default was `s,x,x', remove it if useless. |
|
|
16229 | cat <<\_ACEOF >conftest.sed |
|
|
16230 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16231 | _ACEOF |
|
|
16232 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16233 | rm conftest.sed |
|
|
16234 | |
|
|
16235 | |
|
|
16236 | |
|
|
16237 | |
|
|
16238 | |
|
|
16239 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16240 | include_stdint_h="#include <stdint.h>" |
|
|
16241 | else |
|
|
16242 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16243 | fi |
|
|
16244 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16245 | include_stdarg_h="#include <cstdarg>" |
|
|
16246 | else |
|
|
16247 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
16248 | fi |
|
|
16249 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16250 | include_stdlib_h="#include <cstdlib>" |
|
|
16251 | else |
|
|
16252 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
16253 | fi |
|
|
16254 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16255 | include_unistd_h="#include <unistd.h>" |
|
|
16256 | else |
|
|
16257 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16258 | fi |
|
|
16259 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16260 | include_string_h="#include <cstring>" |
|
|
16261 | else |
|
|
16262 | include_string_h="/* #include <cstring> */" |
|
|
16263 | fi |
|
|
16264 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16265 | include_fcntl_h="#include <fcntl.h>" |
|
|
16266 | else |
|
|
16267 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16268 | fi |
|
|
16269 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16270 | include_util_h="#include <util.h>" |
|
|
16271 | else |
|
|
16272 | include_util_h="/* #include <util.h> */" |
|
|
16273 | fi |
|
|
16274 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16275 | include_assert_h="#include <assert.h>" |
|
|
16276 | else |
|
|
16277 | include_assert_h="/* #include <assert.h> */" |
|
|
16278 | fi |
|
|
16279 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16280 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16281 | else |
|
|
16282 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16283 | fi |
|
|
16284 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16285 | include_sys_select_h="#include <sys/select.h>" |
|
|
16286 | else |
|
|
16287 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16288 | fi |
|
|
16289 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16290 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16291 | else |
|
|
16292 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16293 | fi |
|
|
16294 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16295 | include_sys_time_h="#include <sys/time.h>" |
|
|
16296 | else |
|
|
16297 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16298 | fi |
|
|
16299 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16300 | include_time_h="#include <time.h>" |
|
|
16301 | else |
|
|
16302 | include_time_h="/* #include <time.h> */" |
|
|
16303 | fi |
|
|
16304 | |
16784 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" |
16305 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h" |
|
|
16306 | |
16785 | cat >confcache <<\_ACEOF |
16307 | cat >confcache <<\_ACEOF |
16786 | # This file is a shell script that caches the results of configure |
16308 | # This file is a shell script that caches the results of configure |
16787 | # tests run on this system so they can be shared between configure |
16309 | # tests run on this system so they can be shared between configure |
16788 | # scripts and configure runs, see configure's option --config-cache. |
16310 | # scripts and configure runs, see configure's option --config-cache. |
16789 | # It is not useful on other systems. If it contains results you don't |
16311 | # It is not useful on other systems. If it contains results you don't |
… | |
… | |
17311 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
16833 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
17312 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
16834 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
17313 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
16835 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
17314 | "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;; |
16836 | "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;; |
17315 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
16837 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
17316 | "W11/Makefile" ) CONFIG_FILES="$CONFIG_FILES W11/Makefile" ;; |
|
|
17317 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
16838 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
17318 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
16839 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
17319 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
16840 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
17320 | { (exit 1); exit 1; }; };; |
16841 | { (exit 1); exit 1; }; };; |
17321 | esac |
16842 | esac |
… | |
… | |
17397 | s,@DEFS@,$DEFS,;t t |
16918 | s,@DEFS@,$DEFS,;t t |
17398 | s,@ECHO_C@,$ECHO_C,;t t |
16919 | s,@ECHO_C@,$ECHO_C,;t t |
17399 | s,@ECHO_N@,$ECHO_N,;t t |
16920 | s,@ECHO_N@,$ECHO_N,;t t |
17400 | s,@ECHO_T@,$ECHO_T,;t t |
16921 | s,@ECHO_T@,$ECHO_T,;t t |
17401 | s,@LIBS@,$LIBS,;t t |
16922 | s,@LIBS@,$LIBS,;t t |
|
|
16923 | s,@build@,$build,;t t |
|
|
16924 | s,@build_cpu@,$build_cpu,;t t |
|
|
16925 | s,@build_vendor@,$build_vendor,;t t |
|
|
16926 | s,@build_os@,$build_os,;t t |
|
|
16927 | s,@host@,$host,;t t |
|
|
16928 | s,@host_cpu@,$host_cpu,;t t |
|
|
16929 | s,@host_vendor@,$host_vendor,;t t |
|
|
16930 | s,@host_os@,$host_os,;t t |
17402 | s,@VERSION@,$VERSION,;t t |
16931 | s,@VERSION@,$VERSION,;t t |
17403 | s,@DATE@,$DATE,;t t |
16932 | s,@DATE@,$DATE,;t t |
17404 | s,@LSMDATE@,$LSMDATE,;t t |
16933 | s,@LSMDATE@,$LSMDATE,;t t |
17405 | s,@LIBVERSION@,$LIBVERSION,;t t |
16934 | s,@LIBVERSION@,$LIBVERSION,;t t |
17406 | s,@CC@,$CC,;t t |
16935 | s,@CC@,$CC,;t t |
… | |
… | |
17419 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
16948 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
17420 | s,@AWK@,$AWK,;t t |
16949 | s,@AWK@,$AWK,;t t |
17421 | s,@LINKER@,$LINKER,;t t |
16950 | s,@LINKER@,$LINKER,;t t |
17422 | s,@CXXCPP@,$CXXCPP,;t t |
16951 | s,@CXXCPP@,$CXXCPP,;t t |
17423 | s,@EGREP@,$EGREP,;t t |
16952 | s,@EGREP@,$EGREP,;t t |
17424 | s,@build@,$build,;t t |
|
|
17425 | s,@build_cpu@,$build_cpu,;t t |
|
|
17426 | s,@build_vendor@,$build_vendor,;t t |
|
|
17427 | s,@build_os@,$build_os,;t t |
|
|
17428 | s,@host@,$host,;t t |
|
|
17429 | s,@host_cpu@,$host_cpu,;t t |
|
|
17430 | s,@host_vendor@,$host_vendor,;t t |
|
|
17431 | s,@host_os@,$host_os,;t t |
|
|
17432 | s,@LN_S@,$LN_S,;t t |
16953 | s,@LN_S@,$LN_S,;t t |
17433 | s,@ECHO@,$ECHO,;t t |
16954 | s,@ECHO@,$ECHO,;t t |
17434 | s,@RANLIB@,$RANLIB,;t t |
16955 | s,@RANLIB@,$RANLIB,;t t |
17435 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
16956 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
17436 | s,@STRIP@,$STRIP,;t t |
16957 | s,@STRIP@,$STRIP,;t t |
… | |
… | |
17443 | s,@CP@,$CP,;t t |
16964 | s,@CP@,$CP,;t t |
17444 | s,@LN@,$LN,;t t |
16965 | s,@LN@,$LN,;t t |
17445 | s,@SED@,$SED,;t t |
16966 | s,@SED@,$SED,;t t |
17446 | s,@CMP@,$CMP,;t t |
16967 | s,@CMP@,$CMP,;t t |
17447 | s,@TBL@,$TBL,;t t |
16968 | s,@TBL@,$TBL,;t t |
|
|
16969 | s,@TIC@,$TIC,;t t |
17448 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
16970 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
17449 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
16971 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
17450 | s,@X_LIBS@,$X_LIBS,;t t |
16972 | s,@X_LIBS@,$X_LIBS,;t t |
17451 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
16973 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
17452 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
16974 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |