… | |
… | |
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 |
… | |
… | |
1029 | --disable-libtool-lock avoid locking (might break parallel builds) |
1029 | --disable-libtool-lock avoid locking (might break parallel builds) |
1030 | --enable-everything enable standard non-multichoice features |
1030 | --enable-everything enable standard non-multichoice features |
1031 | NOTE: this option is order dependent |
1031 | NOTE: this option is order dependent |
1032 | NOTE: automatically enabled with --enable-shared |
1032 | NOTE: automatically enabled with --enable-shared |
1033 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1033 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
|
|
1034 | --enable-combining enable composition of base and combining characters |
1034 | --enable-xft enable xft support on systems that have it |
1035 | --enable-xft enable xft support on systems that have it |
|
|
1036 | --enable-font-styles enable bold and italic support |
1035 | --enable-utmp enable utmp (utmpx) support |
1037 | --enable-utmp enable utmp (utmpx) support |
1036 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1038 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1037 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1039 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1038 | --enable-xpm-background enable XPM background pixmaps |
1040 | --enable-xpm-background enable XPM background pixmaps |
1039 | --enable-transparency enable transparent backgrounds |
1041 | --enable-transparency enable transparent backgrounds |
|
|
1042 | --enable-tinting enable tinting of transparent bg |
|
|
1043 | --enable-fading enable colors fading when off focus |
1040 | --enable-menubar enable menubar |
1044 | --enable-menubar enable menubar |
1041 | --enable-rxvt-scroll enable rxvt style scrollbar |
1045 | --enable-rxvt-scroll enable rxvt style scrollbar |
1042 | --enable-next-scroll enable NeXT style scrollbar |
1046 | --enable-next-scroll enable NeXT style scrollbar |
1043 | --enable-xterm-scroll enable Xterm style scrollbar |
1047 | --enable-xterm-scroll enable Xterm style scrollbar |
1044 | --enable-plain-scroll enable plain style scrollbar |
1048 | --enable-plain-scroll enable plain style scrollbar |
… | |
… | |
1047 | --enable-ttygid enable tty setting to group named "tty" |
1051 | --enable-ttygid enable tty setting to group named "tty" |
1048 | --disable-backspace-key disable handling of the backspace key |
1052 | --disable-backspace-key disable handling of the backspace key |
1049 | --disable-delete-key disable handling of the delete key |
1053 | --disable-delete-key disable handling of the delete key |
1050 | --disable-resources disable all resource checking |
1054 | --disable-resources disable all resource checking |
1051 | --enable-xgetdefault enable resources via X instead of our small version |
1055 | --enable-xgetdefault enable resources via X instead of our small version |
|
|
1056 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1052 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1057 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1053 | --enable-strings enable some replacement system functions |
1058 | --enable-strings enable some replacement system functions |
1054 | --disable-swapscreen disable swap screen support |
1059 | --disable-swapscreen disable swap screen support |
|
|
1060 | --enable-iso14755 enable support for extended ISO 14755 modes |
1055 | --enable-frills enable support for rarely used features |
1061 | --enable-frills enable support for rarely used features |
1056 | --enable-linespace enable support for linespace |
|
|
1057 | --enable-24bit enable support for using 24bit visuals if available |
1062 | --enable-24bit enable support for using 24bit visuals if available |
1058 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1063 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1059 | --enable-selectionscrolling enable scrolling during selections |
1064 | --enable-selectionscrolling enable scrolling during selections |
1060 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1065 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1061 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1066 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1062 | --enable-old-selection enable v2.20 (& prior) mouse selection style support |
|
|
1063 | --disable-new-selection disable new mouse (xterm) selection style support |
|
|
1064 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1067 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1065 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1068 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1066 | NOTE: enable only one malloc package |
1069 | NOTE: enable only one malloc package |
1067 | --enable-smart-resize enable smart growth/shrink behaviour |
1070 | --enable-smart-resize enable smart growth/shrink behaviour |
1068 | --enable-256-color enable 256-color support |
|
|
1069 | --enable-cursor-blink enable blinking cursor |
1071 | --enable-cursor-blink enable blinking cursor |
1070 | --enable-text-blink enable blinking text |
1072 | --enable-text-blink enable blinking text |
1071 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1073 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1072 | |
1074 | |
1073 | Optional Packages: |
1075 | Optional Packages: |
1074 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1076 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1075 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1077 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1076 | --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 |
1077 | --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 |
1078 | --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) |
1079 | --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) |
1080 | --with-res-class=NAME use this as the resource class (default: URxvt) |
1082 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1081 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1083 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1082 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1084 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1083 | --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 |
1084 | --with-x use the X Window System |
1086 | --with-x use the X Window System |
1085 | --with-xpm-includes=DIR use XPM includes in DIR |
1087 | --with-xpm-includes=DIR use XPM includes in DIR |
… | |
… | |
1534 | |
1536 | |
1535 | |
1537 | |
1536 | |
1538 | |
1537 | |
1539 | |
1538 | |
1540 | |
|
|
1541 | |
1539 | ac_aux_dir= |
1542 | ac_aux_dir= |
1540 | for ac_dir in autoconf $srcdir/autoconf; do |
1543 | for ac_dir in autoconf $srcdir/autoconf; do |
1541 | if test -f $ac_dir/install-sh; then |
1544 | if test -f $ac_dir/install-sh; then |
1542 | ac_aux_dir=$ac_dir |
1545 | ac_aux_dir=$ac_dir |
1543 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1546 | ac_install_sh="$ac_aux_dir/install-sh -c" |
… | |
… | |
1560 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1563 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1561 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1564 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1562 | 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. |
1563 | |
1566 | |
1564 | 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 | |
1565 | |
1623 | |
1566 | |
1624 | |
1567 | 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` |
1568 | 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` |
1569 | 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` |
… | |
… | |
3207 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3265 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3208 | 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' |
3209 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3267 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3210 | |
3268 | |
3211 | |
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 | |
3212 | LINKER="$CXX" |
3278 | LINKER="$CXX" |
3213 | if test x$GCC = xyes && test x$GXX = xyes; then |
3279 | if test x$GCC = xyes && test x$GXX = xyes; then |
3214 | |
3280 | |
3215 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
3281 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
3216 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
3282 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
… | |
… | |
3278 | |
3344 | |
3279 | fi |
3345 | fi |
3280 | LINKER=$LINKER |
3346 | LINKER=$LINKER |
3281 | |
3347 | |
3282 | |
3348 | |
3283 | CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" |
|
|
3284 | |
3349 | |
3285 | if test x$GXX = xyes; then |
3350 | cat >>confdefs.h <<\_ACEOF |
3286 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
3351 | #define _GNU_SOURCE 1 |
3287 | fi |
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 |
|
|
3374 | |
3288 | |
3375 | |
3289 | ac_ext=cc |
3376 | ac_ext=cc |
3290 | ac_cpp='$CXXCPP $CPPFLAGS' |
3377 | ac_cpp='$CXXCPP $CPPFLAGS' |
3291 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3378 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3292 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3379 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
… | |
… | |
3689 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3776 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3690 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3777 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3691 | if test "$ac_cv_search_strerror" != no; then |
3778 | if test "$ac_cv_search_strerror" != no; then |
3692 | 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" |
3693 | |
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" |
3694 | fi |
3984 | fi |
3695 | |
3985 | |
3696 | |
3986 | |
3697 | # Check whether --enable-shared or --disable-shared was given. |
3987 | # Check whether --enable-shared or --disable-shared was given. |
3698 | if test "${enable_shared+set}" = set; then |
3988 | if test "${enable_shared+set}" = set; then |
… | |
… | |
3756 | ;; |
4046 | ;; |
3757 | esac |
4047 | esac |
3758 | else |
4048 | else |
3759 | enable_fast_install=yes |
4049 | enable_fast_install=yes |
3760 | fi; |
4050 | fi; |
3761 | # Make sure we can run config.sub. |
|
|
3762 | $ac_config_sub sun4 >/dev/null 2>&1 || |
|
|
3763 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
|
|
3764 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
|
|
3765 | { (exit 1); exit 1; }; } |
|
|
3766 | |
|
|
3767 | echo "$as_me:$LINENO: checking build system type" >&5 |
|
|
3768 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
|
|
3769 | if test "${ac_cv_build+set}" = set; then |
|
|
3770 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3771 | else |
|
|
3772 | ac_cv_build_alias=$build_alias |
|
|
3773 | test -z "$ac_cv_build_alias" && |
|
|
3774 | ac_cv_build_alias=`$ac_config_guess` |
|
|
3775 | test -z "$ac_cv_build_alias" && |
|
|
3776 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
|
3777 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
|
3778 | { (exit 1); exit 1; }; } |
|
|
3779 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
|
|
3780 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
|
|
3781 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
|
|
3782 | { (exit 1); exit 1; }; } |
|
|
3783 | |
|
|
3784 | fi |
|
|
3785 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
|
3786 | echo "${ECHO_T}$ac_cv_build" >&6 |
|
|
3787 | build=$ac_cv_build |
|
|
3788 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
3789 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
3790 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
3791 | |
|
|
3792 | |
|
|
3793 | echo "$as_me:$LINENO: checking host system type" >&5 |
|
|
3794 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
|
|
3795 | if test "${ac_cv_host+set}" = set; then |
|
|
3796 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3797 | else |
|
|
3798 | ac_cv_host_alias=$host_alias |
|
|
3799 | test -z "$ac_cv_host_alias" && |
|
|
3800 | ac_cv_host_alias=$ac_cv_build_alias |
|
|
3801 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
|
|
3802 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
|
|
3803 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
|
|
3804 | { (exit 1); exit 1; }; } |
|
|
3805 | |
|
|
3806 | fi |
|
|
3807 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
|
3808 | echo "${ECHO_T}$ac_cv_host" >&6 |
|
|
3809 | host=$ac_cv_host |
|
|
3810 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
3811 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
3812 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
3813 | |
|
|
3814 | |
|
|
3815 | |
4051 | |
3816 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
4052 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
3817 | if test "${with_gnu_ld+set}" = set; then |
4053 | if test "${with_gnu_ld+set}" = set; then |
3818 | withval="$with_gnu_ld" |
4054 | withval="$with_gnu_ld" |
3819 | test "$withval" = no || with_gnu_ld=yes |
4055 | test "$withval" = no || with_gnu_ld=yes |
… | |
… | |
5034 | # 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 |
5035 | # libtool support. |
5271 | # libtool support. |
5036 | case "$host" in |
5272 | case "$host" in |
5037 | *-*-irix6*) |
5273 | *-*-irix6*) |
5038 | # Find out which ABI we are using. |
5274 | # Find out which ABI we are using. |
5039 | echo '#line 5039 "configure"' > conftest.$ac_ext |
5275 | echo '#line 5275 "configure"' > conftest.$ac_ext |
5040 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5276 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5041 | (eval $ac_compile) 2>&5 |
5277 | (eval $ac_compile) 2>&5 |
5042 | ac_status=$? |
5278 | ac_status=$? |
5043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5044 | (exit $ac_status); }; then |
5280 | (exit $ac_status); }; then |
… | |
… | |
5585 | # builds. |
5821 | # builds. |
5586 | chmod -w . |
5822 | chmod -w . |
5587 | save_CFLAGS="$CFLAGS" |
5823 | save_CFLAGS="$CFLAGS" |
5588 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5824 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5589 | compiler_c_o=no |
5825 | compiler_c_o=no |
5590 | if { (eval echo configure:5590: \"$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 |
5591 | # 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 |
5592 | # So say no if there are warnings |
5828 | # So say no if there are warnings |
5593 | if test -s out/conftest.err; then |
5829 | if test -s out/conftest.err; then |
5594 | compiler_c_o=no |
5830 | compiler_c_o=no |
5595 | else |
5831 | else |
… | |
… | |
7201 | lt_cv_dlopen_self=cross |
7437 | lt_cv_dlopen_self=cross |
7202 | else |
7438 | else |
7203 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7439 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7204 | lt_status=$lt_dlunknown |
7440 | lt_status=$lt_dlunknown |
7205 | cat > conftest.$ac_ext <<EOF |
7441 | cat > conftest.$ac_ext <<EOF |
7206 | #line 7206 "configure" |
7442 | #line 7442 "configure" |
7207 | #include "confdefs.h" |
7443 | #include "confdefs.h" |
7208 | |
7444 | |
7209 | #if HAVE_DLFCN_H |
7445 | #if HAVE_DLFCN_H |
7210 | #include <dlfcn.h> |
7446 | #include <dlfcn.h> |
7211 | #endif |
7447 | #endif |
… | |
… | |
7299 | lt_cv_dlopen_self_static=cross |
7535 | lt_cv_dlopen_self_static=cross |
7300 | else |
7536 | else |
7301 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7537 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7302 | lt_status=$lt_dlunknown |
7538 | lt_status=$lt_dlunknown |
7303 | cat > conftest.$ac_ext <<EOF |
7539 | cat > conftest.$ac_ext <<EOF |
7304 | #line 7304 "configure" |
7540 | #line 7540 "configure" |
7305 | #include "confdefs.h" |
7541 | #include "confdefs.h" |
7306 | |
7542 | |
7307 | #if HAVE_DLFCN_H |
7543 | #if HAVE_DLFCN_H |
7308 | #include <dlfcn.h> |
7544 | #include <dlfcn.h> |
7309 | #endif |
7545 | #endif |
… | |
… | |
8030 | |
8266 | |
8031 | |
8267 | |
8032 | MALLOC_TYPE=S |
8268 | MALLOC_TYPE=S |
8033 | support_addstrings=no |
8269 | support_addstrings=no |
8034 | support_frills=no |
8270 | support_frills=no |
8035 | support_linespace=no |
|
|
8036 | support_inheritpixmap=no |
8271 | support_inheritpixmap=no |
|
|
8272 | support_tinting=no |
|
|
8273 | support_fading=no |
8037 | support_keepscrolling=no |
8274 | support_keepscrolling=no |
8038 | support_selectionscrolling=no |
8275 | support_selectionscrolling=no |
8039 | support_menubar=no |
8276 | support_menubar=no |
8040 | support_mousewheel=no |
8277 | support_mousewheel=no |
8041 | support_mouseslipwheel=no |
8278 | support_mouseslipwheel=no |
8042 | support_oldselection=no |
|
|
8043 | support_utmp=no |
8279 | support_utmp=no |
8044 | support_wtmp=no |
8280 | support_wtmp=no |
8045 | support_lastlog=no |
8281 | support_lastlog=no |
8046 | support_cursor_blink=no |
8282 | support_cursor_blink=no |
8047 | support_text_blink=no |
8283 | support_text_blink=no |
… | |
… | |
8052 | support_scroll_plain=no |
8288 | support_scroll_plain=no |
8053 | support_xim=no |
8289 | support_xim=no |
8054 | support_xpm=no |
8290 | support_xpm=no |
8055 | support_xft=no |
8291 | support_xft=no |
8056 | support_unicode3=no |
8292 | support_unicode3=no |
|
|
8293 | support_combining=no |
|
|
8294 | support_8bitctrls=no |
|
|
8295 | support_iso14755=no |
|
|
8296 | support_styles=no |
8057 | codesets= |
8297 | codesets= |
8058 | |
8298 | |
8059 | |
8299 | |
8060 | if test "x$enable_shared" = xyes; then |
8300 | if test "x$enable_shared" = xyes; then |
8061 | |
8301 | |
… | |
… | |
8071 | if test "${enable_everything+set}" = set; then |
8311 | if test "${enable_everything+set}" = set; then |
8072 | enableval="$enable_everything" |
8312 | enableval="$enable_everything" |
8073 | if test x$enableval = xyes; then |
8313 | if test x$enableval = xyes; then |
8074 | support_24bit=yes |
8314 | support_24bit=yes |
8075 | support_frills=yes |
8315 | support_frills=yes |
8076 | support_linespace=yes |
|
|
8077 | support_inheritpixmap=yes |
8316 | support_inheritpixmap=yes |
|
|
8317 | support_tinting=yes |
|
|
8318 | support_fading=yes |
8078 | support_keepscrolling=yes |
8319 | support_keepscrolling=yes |
8079 | support_selectionscrolling=yes |
8320 | support_selectionscrolling=yes |
8080 | support_lastlog=yes |
8321 | support_lastlog=yes |
8081 | support_menubar=yes |
8322 | support_menubar=yes |
8082 | support_mousewheel=yes |
8323 | support_mousewheel=yes |
8083 | support_mouseslipwheel=yes |
8324 | support_mouseslipwheel=yes |
8084 | support_oldselection=yes |
|
|
8085 | support_cursor_blink=yes |
8325 | support_cursor_blink=yes |
8086 | support_text_blink=yes |
8326 | support_text_blink=yes |
8087 | support_pointer_blank=yes |
8327 | support_pointer_blank=yes |
8088 | support_scroll_rxvt=yes |
8328 | support_scroll_rxvt=yes |
8089 | support_scroll_next=yes |
8329 | support_scroll_next=yes |
… | |
… | |
8093 | support_wtmp=yes |
8333 | support_wtmp=yes |
8094 | support_xim=yes |
8334 | support_xim=yes |
8095 | support_xpm=yes |
8335 | support_xpm=yes |
8096 | support_xft=yes |
8336 | support_xft=yes |
8097 | support_unicode3=yes |
8337 | support_unicode3=yes |
|
|
8338 | support_combining=yes |
|
|
8339 | #support_8bitctrls=yes |
|
|
8340 | support_iso14755=yes |
|
|
8341 | support_styles=yes |
8098 | codesets=all |
8342 | codesets=all |
8099 | fi |
8343 | fi |
8100 | fi; |
8344 | fi; |
8101 | |
8345 | |
8102 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8346 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8103 | if test "${enable_unicode3+set}" = set; then |
8347 | if test "${enable_unicode3+set}" = set; then |
8104 | enableval="$enable_unicode3" |
8348 | enableval="$enable_unicode3" |
8105 | if test x$enableval = xyes -o x$enableval = xno; then |
8349 | if test x$enableval = xyes -o x$enableval = xno; then |
8106 | support_unicode3=yes |
8350 | support_unicode3=$enableval |
|
|
8351 | fi |
|
|
8352 | fi; |
|
|
8353 | |
|
|
8354 | # Check whether --enable-combining or --disable-combining was given. |
|
|
8355 | if test "${enable_combining+set}" = set; then |
|
|
8356 | enableval="$enable_combining" |
|
|
8357 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8358 | support_combining=$enableval |
8107 | fi |
8359 | fi |
8108 | fi; |
8360 | fi; |
8109 | |
8361 | |
8110 | # Check whether --enable-xft or --disable-xft was given. |
8362 | # Check whether --enable-xft or --disable-xft was given. |
8111 | if test "${enable_xft+set}" = set; then |
8363 | if test "${enable_xft+set}" = set; then |
8112 | enableval="$enable_xft" |
8364 | enableval="$enable_xft" |
8113 | if test x$enableval = xyes -o x$enableval = xno; then |
8365 | if test x$enableval = xyes -o x$enableval = xno; then |
8114 | 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 |
8115 | fi |
8375 | fi |
8116 | fi; |
8376 | fi; |
8117 | |
8377 | |
8118 | # Check whether --enable-utmp or --disable-utmp was given. |
8378 | # Check whether --enable-utmp or --disable-utmp was given. |
8119 | if test "${enable_utmp+set}" = set; then |
8379 | if test "${enable_utmp+set}" = set; then |
… | |
… | |
8153 | if test x$enableval = xyes -o x$enableval = xno; then |
8413 | if test x$enableval = xyes -o x$enableval = xno; then |
8154 | support_inheritpixmap=$enableval |
8414 | support_inheritpixmap=$enableval |
8155 | fi |
8415 | fi |
8156 | fi; |
8416 | fi; |
8157 | |
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 | |
8158 | # Check whether --enable-menubar or --disable-menubar was given. |
8434 | # Check whether --enable-menubar or --disable-menubar was given. |
8159 | if test "${enable_menubar+set}" = set; then |
8435 | if test "${enable_menubar+set}" = set; then |
8160 | enableval="$enable_menubar" |
8436 | enableval="$enable_menubar" |
8161 | if test x$enableval = xyes -o x$enableval = xno; then |
8437 | if test x$enableval = xyes -o x$enableval = xno; then |
8162 | support_menubar=$enableval |
8438 | support_menubar=$enableval |
… | |
… | |
8280 | _ACEOF |
8556 | _ACEOF |
8281 | |
8557 | |
8282 | fi |
8558 | fi |
8283 | fi; |
8559 | fi; |
8284 | |
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 | |
8285 | RESFALLBACK=Rxvt |
8569 | RESFALLBACK=Rxvt |
8286 | # Check whether --enable-fallback or --disable-fallback was given. |
8570 | # Check whether --enable-fallback or --disable-fallback was given. |
8287 | if test "${enable_fallback+set}" = set; then |
8571 | if test "${enable_fallback+set}" = set; then |
8288 | enableval="$enable_fallback" |
8572 | enableval="$enable_fallback" |
8289 | |
8573 | |
… | |
… | |
8332 | # Check whether --with-name or --without-name was given. |
8616 | # Check whether --with-name or --without-name was given. |
8333 | if test "${with_name+set}" = set; then |
8617 | if test "${with_name+set}" = set; then |
8334 | withval="$with_name" |
8618 | withval="$with_name" |
8335 | RXVTNAME="$withval" |
8619 | RXVTNAME="$withval" |
8336 | fi; |
8620 | fi; |
|
|
8621 | |
|
|
8622 | cat >>confdefs.h <<_ACEOF |
|
|
8623 | #define RXVTNAME "$RXVTNAME" |
|
|
8624 | _ACEOF |
|
|
8625 | |
8337 | |
8626 | |
8338 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8627 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8339 | |
8628 | |
8340 | |
8629 | |
8341 | # Check whether --enable-strings or --disable-strings was given. |
8630 | # Check whether --enable-strings or --disable-strings was given. |
… | |
… | |
8356 | _ACEOF |
8645 | _ACEOF |
8357 | |
8646 | |
8358 | fi |
8647 | fi |
8359 | fi; |
8648 | fi; |
8360 | |
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 | |
8361 | # Check whether --enable-frills or --disable-frills was given. |
8658 | # Check whether --enable-frills or --disable-frills was given. |
8362 | if test "${enable_frills+set}" = set; then |
8659 | if test "${enable_frills+set}" = set; then |
8363 | enableval="$enable_frills" |
8660 | enableval="$enable_frills" |
8364 | if test x$enableval = xyes -o x$enableval = xno; then |
8661 | if test x$enableval = xyes -o x$enableval = xno; then |
8365 | support_frills=$enableval |
8662 | support_frills=$enableval |
8366 | fi |
8663 | fi |
8367 | fi; |
8664 | fi; |
8368 | |
8665 | |
8369 | # Check whether --enable-linespace or --disable-linespace was given. |
|
|
8370 | if test "${enable_linespace+set}" = set; then |
|
|
8371 | enableval="$enable_linespace" |
|
|
8372 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8373 | support_linespace=$enableval |
|
|
8374 | fi |
|
|
8375 | fi; |
|
|
8376 | |
|
|
8377 | # Check whether --enable-24bit or --disable-24bit was given. |
8666 | # Check whether --enable-24bit or --disable-24bit was given. |
8378 | if test "${enable_24bit+set}" = set; then |
8667 | if test "${enable_24bit+set}" = set; then |
8379 | enableval="$enable_24bit" |
8668 | enableval="$enable_24bit" |
8380 | if test x$enableval = xyes -o x$enableval = xno; then |
8669 | if test x$enableval = xyes -o x$enableval = xno; then |
8381 | support_24bit=$enableval |
8670 | support_24bit=$enableval |
… | |
… | |
8409 | # Check whether --enable-slipwheeling or --disable-slipwheeling was given. |
8698 | # Check whether --enable-slipwheeling or --disable-slipwheeling was given. |
8410 | if test "${enable_slipwheeling+set}" = set; then |
8699 | if test "${enable_slipwheeling+set}" = set; then |
8411 | enableval="$enable_slipwheeling" |
8700 | enableval="$enable_slipwheeling" |
8412 | if test x$enableval = xyes -o x$enableval = xno; then |
8701 | if test x$enableval = xyes -o x$enableval = xno; then |
8413 | support_mouseslipwheel=$enableval |
8702 | support_mouseslipwheel=$enableval |
8414 | fi |
|
|
8415 | fi; |
|
|
8416 | |
|
|
8417 | # Check whether --enable-old-selection or --disable-old-selection was given. |
|
|
8418 | if test "${enable_old_selection+set}" = set; then |
|
|
8419 | enableval="$enable_old_selection" |
|
|
8420 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8421 | support_oldselection=$enableval |
|
|
8422 | fi |
|
|
8423 | fi; |
|
|
8424 | |
|
|
8425 | # Check whether --enable-new-selection or --disable-new-selection was given. |
|
|
8426 | if test "${enable_new_selection+set}" = set; then |
|
|
8427 | enableval="$enable_new_selection" |
|
|
8428 | if test x$enableval = xno; then |
|
|
8429 | |
|
|
8430 | cat >>confdefs.h <<\_ACEOF |
|
|
8431 | #define NO_NEW_SELECTION 1 |
|
|
8432 | _ACEOF |
|
|
8433 | |
|
|
8434 | fi |
8703 | fi |
8435 | fi; |
8704 | fi; |
8436 | |
8705 | |
8437 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
8706 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
8438 | if test "${enable_dmalloc+set}" = set; then |
8707 | if test "${enable_dmalloc+set}" = set; then |
… | |
… | |
8466 | _ACEOF |
8735 | _ACEOF |
8467 | |
8736 | |
8468 | fi |
8737 | fi |
8469 | fi; |
8738 | fi; |
8470 | |
8739 | |
8471 | # Check whether --enable-256-color or --disable-256-color was given. |
|
|
8472 | if test "${enable_256_color+set}" = set; then |
|
|
8473 | enableval="$enable_256_color" |
|
|
8474 | if test x$enableval = xyes; then |
|
|
8475 | |
|
|
8476 | cat >>confdefs.h <<\_ACEOF |
|
|
8477 | #define TTY_256COLOR 1 |
|
|
8478 | _ACEOF |
|
|
8479 | |
|
|
8480 | fi |
|
|
8481 | fi; |
|
|
8482 | |
|
|
8483 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
8740 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
8484 | if test "${enable_cursor_blink+set}" = set; then |
8741 | if test "${enable_cursor_blink+set}" = set; then |
8485 | enableval="$enable_cursor_blink" |
8742 | enableval="$enable_cursor_blink" |
8486 | if test x$enableval = xyes -o x$enableval = xno; then |
8743 | if test x$enableval = xyes -o x$enableval = xno; then |
8487 | support_cursor_blink=$enableval |
8744 | support_cursor_blink=$enableval |
… | |
… | |
8534 | |
8791 | |
8535 | cat >>confdefs.h <<\_ACEOF |
8792 | cat >>confdefs.h <<\_ACEOF |
8536 | #define PROTOTYPES 1 |
8793 | #define PROTOTYPES 1 |
8537 | _ACEOF |
8794 | _ACEOF |
8538 | |
8795 | |
8539 | |
|
|
8540 | if test -z "$CFLAGS"; then |
|
|
8541 | if test -z "$CCOPTS"; then |
|
|
8542 | CCOPTS='-O' |
|
|
8543 | fi |
|
|
8544 | CFLAGS="$CCOPTS" |
|
|
8545 | fi |
|
|
8546 | |
8796 | |
8547 | # 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. |
8548 | set dummy mv; ac_word=$2 |
8798 | set dummy mv; ac_word=$2 |
8549 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8799 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8550 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
8800 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
… | |
… | |
8861 | else |
9111 | else |
8862 | echo "$as_me:$LINENO: result: no" >&5 |
9112 | echo "$as_me:$LINENO: result: no" >&5 |
8863 | echo "${ECHO_T}no" >&6 |
9113 | echo "${ECHO_T}no" >&6 |
8864 | fi |
9114 | fi |
8865 | |
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 |
8866 | |
9141 | |
|
|
9142 | ;; |
|
|
9143 | esac |
|
|
9144 | fi |
|
|
9145 | TIC=$ac_cv_path_TIC |
8867 | |
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 |
8868 | |
9154 | |
|
|
9155 | |
|
|
9156 | |
|
|
9157 | |
|
|
9158 | |
|
|
9159 | if test "x$ac_path_x_has_been_run" != xyes; then |
8869 | echo "$as_me:$LINENO: checking for X" >&5 |
9160 | echo "$as_me:$LINENO: checking for X" >&5 |
8870 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
9161 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
8871 | |
9162 | |
|
|
9163 | ac_path_x_has_been_run=yes |
8872 | |
9164 | |
8873 | # Check whether --with-x or --without-x was given. |
9165 | # Check whether --with-x or --without-x was given. |
8874 | if test "${with_x+set}" = set; then |
9166 | if test "${with_x+set}" = set; then |
8875 | withval="$with_x" |
9167 | withval="$with_x" |
8876 | |
9168 | |
… | |
… | |
8959 | |
9251 | |
8960 | /usr/openwin/include |
9252 | /usr/openwin/include |
8961 | /usr/openwin/share/include' |
9253 | /usr/openwin/share/include' |
8962 | |
9254 | |
8963 | if test "$ac_x_includes" = no; then |
9255 | if test "$ac_x_includes" = no; then |
8964 | # 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. |
8965 | # First, try using that file with no special directory specified. |
9257 | # First, try using that file with no special directory specified. |
8966 | cat >conftest.$ac_ext <<_ACEOF |
9258 | cat >conftest.$ac_ext <<_ACEOF |
8967 | /* confdefs.h. */ |
9259 | /* confdefs.h. */ |
8968 | _ACEOF |
9260 | _ACEOF |
8969 | cat confdefs.h >>conftest.$ac_ext |
9261 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
9093 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
9385 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
9094 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
9386 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
9095 | # Update the cache value to reflect the command line values. |
9387 | # Update the cache value to reflect the command line values. |
9096 | ac_cv_have_x="have_x=yes \ |
9388 | ac_cv_have_x="have_x=yes \ |
9097 | 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" |
9098 | 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 |
9099 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
9395 | echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 |
9100 | fi |
9396 | fi |
9101 | |
9397 | |
|
|
9398 | fi |
9102 | if test "$no_x" = yes; then |
9399 | if test "$no_x" = yes; then |
9103 | # 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. |
9104 | |
9401 | |
9105 | cat >>confdefs.h <<\_ACEOF |
9402 | cat >>confdefs.h <<\_ACEOF |
9106 | #define X_DISPLAY_MISSING 1 |
9403 | #define X_DISPLAY_MISSING 1 |
… | |
… | |
10683 | |
10980 | |
10684 | |
10981 | |
10685 | |
10982 | |
10686 | |
10983 | |
10687 | |
10984 | |
|
|
10985 | |
|
|
10986 | |
|
|
10987 | |
|
|
10988 | |
|
|
10989 | |
10688 | for ac_header in \ |
10990 | for ac_header in \ |
10689 | assert.h \ |
10991 | assert.h \ |
10690 | fcntl.h \ |
10992 | fcntl.h \ |
10691 | grp.h \ |
10993 | grp.h \ |
10692 | libc.h \ |
10994 | libc.h \ |
… | |
… | |
10699 | sys/byteorder.h \ |
11001 | sys/byteorder.h \ |
10700 | sys/ioctl.h \ |
11002 | sys/ioctl.h \ |
10701 | sys/select.h \ |
11003 | sys/select.h \ |
10702 | sys/sockio.h \ |
11004 | sys/sockio.h \ |
10703 | sys/strredir.h \ |
11005 | sys/strredir.h \ |
|
|
11006 | sys/stropts.h \ |
10704 | sys/time.h \ |
11007 | sys/time.h \ |
10705 | utmp.h \ |
11008 | utmp.h \ |
10706 | utmpx.h \ |
11009 | utmpx.h \ |
10707 | stdint.h \ |
11010 | stdint.h \ |
|
|
11011 | pty.h \ |
|
|
11012 | wchar.h \ |
|
|
11013 | cwchar \ |
|
|
11014 | clocale \ |
10708 | |
11015 | |
10709 | do |
11016 | do |
10710 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11017 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10711 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11018 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10712 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11019 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
11496 | _ACEOF |
11803 | _ACEOF |
11497 | |
11804 | |
11498 | fi |
11805 | fi |
11499 | |
11806 | |
11500 | |
11807 | |
11501 | |
|
|
11502 | echo "$as_me:$LINENO: checking for char" >&5 |
|
|
11503 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
|
|
11504 | if test "${ac_cv_type_char+set}" = set; then |
|
|
11505 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11506 | else |
|
|
11507 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11508 | /* confdefs.h. */ |
|
|
11509 | _ACEOF |
|
|
11510 | cat confdefs.h >>conftest.$ac_ext |
|
|
11511 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11512 | /* end confdefs.h. */ |
|
|
11513 | $ac_includes_default |
|
|
11514 | int |
|
|
11515 | main () |
|
|
11516 | { |
|
|
11517 | if ((char *) 0) |
|
|
11518 | return 0; |
|
|
11519 | if (sizeof (char)) |
|
|
11520 | return 0; |
|
|
11521 | ; |
|
|
11522 | return 0; |
|
|
11523 | } |
|
|
11524 | _ACEOF |
|
|
11525 | rm -f conftest.$ac_objext |
|
|
11526 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11527 | (eval $ac_compile) 2>conftest.er1 |
|
|
11528 | ac_status=$? |
|
|
11529 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11530 | rm -f conftest.er1 |
|
|
11531 | cat conftest.err >&5 |
|
|
11532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11533 | (exit $ac_status); } && |
|
|
11534 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11535 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11536 | (eval $ac_try) 2>&5 |
|
|
11537 | ac_status=$? |
|
|
11538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11539 | (exit $ac_status); }; } && |
|
|
11540 | { ac_try='test -s conftest.$ac_objext' |
|
|
11541 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11542 | (eval $ac_try) 2>&5 |
|
|
11543 | ac_status=$? |
|
|
11544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11545 | (exit $ac_status); }; }; then |
|
|
11546 | ac_cv_type_char=yes |
|
|
11547 | else |
|
|
11548 | echo "$as_me: failed program was:" >&5 |
|
|
11549 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11550 | |
|
|
11551 | ac_cv_type_char=no |
|
|
11552 | fi |
|
|
11553 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11554 | fi |
|
|
11555 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
|
|
11556 | echo "${ECHO_T}$ac_cv_type_char" >&6 |
|
|
11557 | |
|
|
11558 | echo "$as_me:$LINENO: checking size of char" >&5 |
|
|
11559 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
|
|
11560 | if test "${ac_cv_sizeof_char+set}" = set; then |
|
|
11561 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11562 | else |
|
|
11563 | if test "$ac_cv_type_char" = yes; then |
|
|
11564 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
11565 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
11566 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
11567 | # This bug is HP SR number 8606223364. |
|
|
11568 | if test "$cross_compiling" = yes; then |
|
|
11569 | # Depending upon the size, compute the lo and hi bounds. |
|
|
11570 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11571 | /* confdefs.h. */ |
|
|
11572 | _ACEOF |
|
|
11573 | cat confdefs.h >>conftest.$ac_ext |
|
|
11574 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11575 | /* end confdefs.h. */ |
|
|
11576 | $ac_includes_default |
|
|
11577 | int |
|
|
11578 | main () |
|
|
11579 | { |
|
|
11580 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; |
|
|
11581 | test_array [0] = 0 |
|
|
11582 | |
|
|
11583 | ; |
|
|
11584 | return 0; |
|
|
11585 | } |
|
|
11586 | _ACEOF |
|
|
11587 | rm -f conftest.$ac_objext |
|
|
11588 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11589 | (eval $ac_compile) 2>conftest.er1 |
|
|
11590 | ac_status=$? |
|
|
11591 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11592 | rm -f conftest.er1 |
|
|
11593 | cat conftest.err >&5 |
|
|
11594 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11595 | (exit $ac_status); } && |
|
|
11596 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11597 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11598 | (eval $ac_try) 2>&5 |
|
|
11599 | ac_status=$? |
|
|
11600 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11601 | (exit $ac_status); }; } && |
|
|
11602 | { ac_try='test -s conftest.$ac_objext' |
|
|
11603 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11604 | (eval $ac_try) 2>&5 |
|
|
11605 | ac_status=$? |
|
|
11606 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11607 | (exit $ac_status); }; }; then |
|
|
11608 | ac_lo=0 ac_mid=0 |
|
|
11609 | while :; do |
|
|
11610 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11611 | /* confdefs.h. */ |
|
|
11612 | _ACEOF |
|
|
11613 | cat confdefs.h >>conftest.$ac_ext |
|
|
11614 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11615 | /* end confdefs.h. */ |
|
|
11616 | $ac_includes_default |
|
|
11617 | int |
|
|
11618 | main () |
|
|
11619 | { |
|
|
11620 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11621 | test_array [0] = 0 |
|
|
11622 | |
|
|
11623 | ; |
|
|
11624 | return 0; |
|
|
11625 | } |
|
|
11626 | _ACEOF |
|
|
11627 | rm -f conftest.$ac_objext |
|
|
11628 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11629 | (eval $ac_compile) 2>conftest.er1 |
|
|
11630 | ac_status=$? |
|
|
11631 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11632 | rm -f conftest.er1 |
|
|
11633 | cat conftest.err >&5 |
|
|
11634 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11635 | (exit $ac_status); } && |
|
|
11636 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11637 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11638 | (eval $ac_try) 2>&5 |
|
|
11639 | ac_status=$? |
|
|
11640 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11641 | (exit $ac_status); }; } && |
|
|
11642 | { ac_try='test -s conftest.$ac_objext' |
|
|
11643 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11644 | (eval $ac_try) 2>&5 |
|
|
11645 | ac_status=$? |
|
|
11646 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11647 | (exit $ac_status); }; }; then |
|
|
11648 | ac_hi=$ac_mid; break |
|
|
11649 | else |
|
|
11650 | echo "$as_me: failed program was:" >&5 |
|
|
11651 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11652 | |
|
|
11653 | ac_lo=`expr $ac_mid + 1` |
|
|
11654 | if test $ac_lo -le $ac_mid; then |
|
|
11655 | ac_lo= ac_hi= |
|
|
11656 | break |
|
|
11657 | fi |
|
|
11658 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
11659 | fi |
|
|
11660 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11661 | done |
|
|
11662 | else |
|
|
11663 | echo "$as_me: failed program was:" >&5 |
|
|
11664 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11665 | |
|
|
11666 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11667 | /* confdefs.h. */ |
|
|
11668 | _ACEOF |
|
|
11669 | cat confdefs.h >>conftest.$ac_ext |
|
|
11670 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11671 | /* end confdefs.h. */ |
|
|
11672 | $ac_includes_default |
|
|
11673 | int |
|
|
11674 | main () |
|
|
11675 | { |
|
|
11676 | static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; |
|
|
11677 | test_array [0] = 0 |
|
|
11678 | |
|
|
11679 | ; |
|
|
11680 | return 0; |
|
|
11681 | } |
|
|
11682 | _ACEOF |
|
|
11683 | rm -f conftest.$ac_objext |
|
|
11684 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11685 | (eval $ac_compile) 2>conftest.er1 |
|
|
11686 | ac_status=$? |
|
|
11687 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11688 | rm -f conftest.er1 |
|
|
11689 | cat conftest.err >&5 |
|
|
11690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11691 | (exit $ac_status); } && |
|
|
11692 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11693 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11694 | (eval $ac_try) 2>&5 |
|
|
11695 | ac_status=$? |
|
|
11696 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11697 | (exit $ac_status); }; } && |
|
|
11698 | { ac_try='test -s conftest.$ac_objext' |
|
|
11699 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11700 | (eval $ac_try) 2>&5 |
|
|
11701 | ac_status=$? |
|
|
11702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11703 | (exit $ac_status); }; }; then |
|
|
11704 | ac_hi=-1 ac_mid=-1 |
|
|
11705 | while :; do |
|
|
11706 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11707 | /* confdefs.h. */ |
|
|
11708 | _ACEOF |
|
|
11709 | cat confdefs.h >>conftest.$ac_ext |
|
|
11710 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11711 | /* end confdefs.h. */ |
|
|
11712 | $ac_includes_default |
|
|
11713 | int |
|
|
11714 | main () |
|
|
11715 | { |
|
|
11716 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; |
|
|
11717 | test_array [0] = 0 |
|
|
11718 | |
|
|
11719 | ; |
|
|
11720 | return 0; |
|
|
11721 | } |
|
|
11722 | _ACEOF |
|
|
11723 | rm -f conftest.$ac_objext |
|
|
11724 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11725 | (eval $ac_compile) 2>conftest.er1 |
|
|
11726 | ac_status=$? |
|
|
11727 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11728 | rm -f conftest.er1 |
|
|
11729 | cat conftest.err >&5 |
|
|
11730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11731 | (exit $ac_status); } && |
|
|
11732 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11733 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11734 | (eval $ac_try) 2>&5 |
|
|
11735 | ac_status=$? |
|
|
11736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11737 | (exit $ac_status); }; } && |
|
|
11738 | { ac_try='test -s conftest.$ac_objext' |
|
|
11739 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11740 | (eval $ac_try) 2>&5 |
|
|
11741 | ac_status=$? |
|
|
11742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11743 | (exit $ac_status); }; }; then |
|
|
11744 | ac_lo=$ac_mid; break |
|
|
11745 | else |
|
|
11746 | echo "$as_me: failed program was:" >&5 |
|
|
11747 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11748 | |
|
|
11749 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
11750 | if test $ac_mid -le $ac_hi; then |
|
|
11751 | ac_lo= ac_hi= |
|
|
11752 | break |
|
|
11753 | fi |
|
|
11754 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
11755 | fi |
|
|
11756 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11757 | done |
|
|
11758 | else |
|
|
11759 | echo "$as_me: failed program was:" >&5 |
|
|
11760 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11761 | |
|
|
11762 | ac_lo= ac_hi= |
|
|
11763 | fi |
|
|
11764 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11765 | fi |
|
|
11766 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11767 | # Binary search between lo and hi bounds. |
|
|
11768 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
11769 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
11770 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11771 | /* confdefs.h. */ |
|
|
11772 | _ACEOF |
|
|
11773 | cat confdefs.h >>conftest.$ac_ext |
|
|
11774 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11775 | /* end confdefs.h. */ |
|
|
11776 | $ac_includes_default |
|
|
11777 | int |
|
|
11778 | main () |
|
|
11779 | { |
|
|
11780 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11781 | test_array [0] = 0 |
|
|
11782 | |
|
|
11783 | ; |
|
|
11784 | return 0; |
|
|
11785 | } |
|
|
11786 | _ACEOF |
|
|
11787 | rm -f conftest.$ac_objext |
|
|
11788 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11789 | (eval $ac_compile) 2>conftest.er1 |
|
|
11790 | ac_status=$? |
|
|
11791 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11792 | rm -f conftest.er1 |
|
|
11793 | cat conftest.err >&5 |
|
|
11794 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11795 | (exit $ac_status); } && |
|
|
11796 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11797 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11798 | (eval $ac_try) 2>&5 |
|
|
11799 | ac_status=$? |
|
|
11800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11801 | (exit $ac_status); }; } && |
|
|
11802 | { ac_try='test -s conftest.$ac_objext' |
|
|
11803 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11804 | (eval $ac_try) 2>&5 |
|
|
11805 | ac_status=$? |
|
|
11806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11807 | (exit $ac_status); }; }; then |
|
|
11808 | ac_hi=$ac_mid |
|
|
11809 | else |
|
|
11810 | echo "$as_me: failed program was:" >&5 |
|
|
11811 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11812 | |
|
|
11813 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
11814 | fi |
|
|
11815 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11816 | done |
|
|
11817 | case $ac_lo in |
|
|
11818 | ?*) ac_cv_sizeof_char=$ac_lo;; |
|
|
11819 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
11820 | See \`config.log' for more details." >&5 |
|
|
11821 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
11822 | See \`config.log' for more details." >&2;} |
|
|
11823 | { (exit 1); exit 1; }; } ;; |
|
|
11824 | esac |
|
|
11825 | else |
|
|
11826 | if test "$cross_compiling" = yes; then |
|
|
11827 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
11828 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
11829 | { (exit 1); exit 1; }; } |
|
|
11830 | else |
|
|
11831 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11832 | /* confdefs.h. */ |
|
|
11833 | _ACEOF |
|
|
11834 | cat confdefs.h >>conftest.$ac_ext |
|
|
11835 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11836 | /* end confdefs.h. */ |
|
|
11837 | $ac_includes_default |
|
|
11838 | long longval () { return (long) (sizeof (char)); } |
|
|
11839 | unsigned long ulongval () { return (long) (sizeof (char)); } |
|
|
11840 | #include <stdio.h> |
|
|
11841 | #include <stdlib.h> |
|
|
11842 | int |
|
|
11843 | main () |
|
|
11844 | { |
|
|
11845 | |
|
|
11846 | FILE *f = fopen ("conftest.val", "w"); |
|
|
11847 | if (! f) |
|
|
11848 | exit (1); |
|
|
11849 | if (((long) (sizeof (char))) < 0) |
|
|
11850 | { |
|
|
11851 | long i = longval (); |
|
|
11852 | if (i != ((long) (sizeof (char)))) |
|
|
11853 | exit (1); |
|
|
11854 | fprintf (f, "%ld\n", i); |
|
|
11855 | } |
|
|
11856 | else |
|
|
11857 | { |
|
|
11858 | unsigned long i = ulongval (); |
|
|
11859 | if (i != ((long) (sizeof (char)))) |
|
|
11860 | exit (1); |
|
|
11861 | fprintf (f, "%lu\n", i); |
|
|
11862 | } |
|
|
11863 | exit (ferror (f) || fclose (f) != 0); |
|
|
11864 | |
|
|
11865 | ; |
|
|
11866 | return 0; |
|
|
11867 | } |
|
|
11868 | _ACEOF |
|
|
11869 | rm -f conftest$ac_exeext |
|
|
11870 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11871 | (eval $ac_link) 2>&5 |
|
|
11872 | ac_status=$? |
|
|
11873 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11874 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
11875 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11876 | (eval $ac_try) 2>&5 |
|
|
11877 | ac_status=$? |
|
|
11878 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11879 | (exit $ac_status); }; }; then |
|
|
11880 | ac_cv_sizeof_char=`cat conftest.val` |
|
|
11881 | else |
|
|
11882 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
11883 | echo "$as_me: failed program was:" >&5 |
|
|
11884 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11885 | |
|
|
11886 | ( exit $ac_status ) |
|
|
11887 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
11888 | See \`config.log' for more details." >&5 |
|
|
11889 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
11890 | See \`config.log' for more details." >&2;} |
|
|
11891 | { (exit 1); exit 1; }; } |
|
|
11892 | fi |
|
|
11893 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
11894 | fi |
|
|
11895 | fi |
|
|
11896 | rm -f conftest.val |
|
|
11897 | else |
|
|
11898 | ac_cv_sizeof_char=0 |
|
|
11899 | fi |
|
|
11900 | fi |
|
|
11901 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
|
|
11902 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
|
|
11903 | cat >>confdefs.h <<_ACEOF |
|
|
11904 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
|
|
11905 | _ACEOF |
|
|
11906 | |
|
|
11907 | |
|
|
11908 | echo "$as_me:$LINENO: checking for short" >&5 |
11808 | echo "$as_me:$LINENO: checking for short" >&5 |
11909 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
11809 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
11910 | if test "${ac_cv_type_short+set}" = set; then |
11810 | if test "${ac_cv_type_short+set}" = set; then |
11911 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11811 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11912 | else |
11812 | else |
… | |
… | |
12715 | cat >>confdefs.h <<_ACEOF |
12615 | cat >>confdefs.h <<_ACEOF |
12716 | #define SIZEOF_INT $ac_cv_sizeof_int |
12616 | #define SIZEOF_INT $ac_cv_sizeof_int |
12717 | _ACEOF |
12617 | _ACEOF |
12718 | |
12618 | |
12719 | |
12619 | |
12720 | echo "$as_me:$LINENO: checking for long" >&5 |
|
|
12721 | echo $ECHO_N "checking for long... $ECHO_C" >&6 |
|
|
12722 | if test "${ac_cv_type_long+set}" = set; then |
|
|
12723 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12724 | else |
|
|
12725 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12726 | /* confdefs.h. */ |
|
|
12727 | _ACEOF |
|
|
12728 | cat confdefs.h >>conftest.$ac_ext |
|
|
12729 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12730 | /* end confdefs.h. */ |
|
|
12731 | $ac_includes_default |
|
|
12732 | int |
|
|
12733 | main () |
|
|
12734 | { |
|
|
12735 | if ((long *) 0) |
|
|
12736 | return 0; |
|
|
12737 | if (sizeof (long)) |
|
|
12738 | return 0; |
|
|
12739 | ; |
|
|
12740 | return 0; |
|
|
12741 | } |
|
|
12742 | _ACEOF |
|
|
12743 | rm -f conftest.$ac_objext |
|
|
12744 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12745 | (eval $ac_compile) 2>conftest.er1 |
|
|
12746 | ac_status=$? |
|
|
12747 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12748 | rm -f conftest.er1 |
|
|
12749 | cat conftest.err >&5 |
|
|
12750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12751 | (exit $ac_status); } && |
|
|
12752 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12753 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12754 | (eval $ac_try) 2>&5 |
|
|
12755 | ac_status=$? |
|
|
12756 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12757 | (exit $ac_status); }; } && |
|
|
12758 | { ac_try='test -s conftest.$ac_objext' |
|
|
12759 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12760 | (eval $ac_try) 2>&5 |
|
|
12761 | ac_status=$? |
|
|
12762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12763 | (exit $ac_status); }; }; then |
|
|
12764 | ac_cv_type_long=yes |
|
|
12765 | else |
|
|
12766 | echo "$as_me: failed program was:" >&5 |
|
|
12767 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12768 | |
|
|
12769 | ac_cv_type_long=no |
|
|
12770 | fi |
|
|
12771 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12772 | fi |
|
|
12773 | echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
|
|
12774 | echo "${ECHO_T}$ac_cv_type_long" >&6 |
|
|
12775 | |
|
|
12776 | echo "$as_me:$LINENO: checking size of long" >&5 |
|
|
12777 | echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
|
|
12778 | if test "${ac_cv_sizeof_long+set}" = set; then |
|
|
12779 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12780 | else |
|
|
12781 | if test "$ac_cv_type_long" = yes; then |
|
|
12782 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
12783 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
12784 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
12785 | # This bug is HP SR number 8606223364. |
|
|
12786 | if test "$cross_compiling" = yes; then |
|
|
12787 | # Depending upon the size, compute the lo and hi bounds. |
|
|
12788 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12789 | /* confdefs.h. */ |
|
|
12790 | _ACEOF |
|
|
12791 | cat confdefs.h >>conftest.$ac_ext |
|
|
12792 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12793 | /* end confdefs.h. */ |
|
|
12794 | $ac_includes_default |
|
|
12795 | int |
|
|
12796 | main () |
|
|
12797 | { |
|
|
12798 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; |
|
|
12799 | test_array [0] = 0 |
|
|
12800 | |
|
|
12801 | ; |
|
|
12802 | return 0; |
|
|
12803 | } |
|
|
12804 | _ACEOF |
|
|
12805 | rm -f conftest.$ac_objext |
|
|
12806 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12807 | (eval $ac_compile) 2>conftest.er1 |
|
|
12808 | ac_status=$? |
|
|
12809 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12810 | rm -f conftest.er1 |
|
|
12811 | cat conftest.err >&5 |
|
|
12812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12813 | (exit $ac_status); } && |
|
|
12814 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12815 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12816 | (eval $ac_try) 2>&5 |
|
|
12817 | ac_status=$? |
|
|
12818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12819 | (exit $ac_status); }; } && |
|
|
12820 | { ac_try='test -s conftest.$ac_objext' |
|
|
12821 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12822 | (eval $ac_try) 2>&5 |
|
|
12823 | ac_status=$? |
|
|
12824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12825 | (exit $ac_status); }; }; then |
|
|
12826 | ac_lo=0 ac_mid=0 |
|
|
12827 | while :; do |
|
|
12828 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12829 | /* confdefs.h. */ |
|
|
12830 | _ACEOF |
|
|
12831 | cat confdefs.h >>conftest.$ac_ext |
|
|
12832 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12833 | /* end confdefs.h. */ |
|
|
12834 | $ac_includes_default |
|
|
12835 | int |
|
|
12836 | main () |
|
|
12837 | { |
|
|
12838 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
12839 | test_array [0] = 0 |
|
|
12840 | |
|
|
12841 | ; |
|
|
12842 | return 0; |
|
|
12843 | } |
|
|
12844 | _ACEOF |
|
|
12845 | rm -f conftest.$ac_objext |
|
|
12846 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12847 | (eval $ac_compile) 2>conftest.er1 |
|
|
12848 | ac_status=$? |
|
|
12849 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12850 | rm -f conftest.er1 |
|
|
12851 | cat conftest.err >&5 |
|
|
12852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12853 | (exit $ac_status); } && |
|
|
12854 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12855 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12856 | (eval $ac_try) 2>&5 |
|
|
12857 | ac_status=$? |
|
|
12858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12859 | (exit $ac_status); }; } && |
|
|
12860 | { ac_try='test -s conftest.$ac_objext' |
|
|
12861 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12862 | (eval $ac_try) 2>&5 |
|
|
12863 | ac_status=$? |
|
|
12864 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12865 | (exit $ac_status); }; }; then |
|
|
12866 | ac_hi=$ac_mid; break |
|
|
12867 | else |
|
|
12868 | echo "$as_me: failed program was:" >&5 |
|
|
12869 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12870 | |
|
|
12871 | ac_lo=`expr $ac_mid + 1` |
|
|
12872 | if test $ac_lo -le $ac_mid; then |
|
|
12873 | ac_lo= ac_hi= |
|
|
12874 | break |
|
|
12875 | fi |
|
|
12876 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
12877 | fi |
|
|
12878 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12879 | done |
|
|
12880 | else |
|
|
12881 | echo "$as_me: failed program was:" >&5 |
|
|
12882 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12883 | |
|
|
12884 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12885 | /* confdefs.h. */ |
|
|
12886 | _ACEOF |
|
|
12887 | cat confdefs.h >>conftest.$ac_ext |
|
|
12888 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12889 | /* end confdefs.h. */ |
|
|
12890 | $ac_includes_default |
|
|
12891 | int |
|
|
12892 | main () |
|
|
12893 | { |
|
|
12894 | static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; |
|
|
12895 | test_array [0] = 0 |
|
|
12896 | |
|
|
12897 | ; |
|
|
12898 | return 0; |
|
|
12899 | } |
|
|
12900 | _ACEOF |
|
|
12901 | rm -f conftest.$ac_objext |
|
|
12902 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12903 | (eval $ac_compile) 2>conftest.er1 |
|
|
12904 | ac_status=$? |
|
|
12905 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12906 | rm -f conftest.er1 |
|
|
12907 | cat conftest.err >&5 |
|
|
12908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12909 | (exit $ac_status); } && |
|
|
12910 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12911 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12912 | (eval $ac_try) 2>&5 |
|
|
12913 | ac_status=$? |
|
|
12914 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12915 | (exit $ac_status); }; } && |
|
|
12916 | { ac_try='test -s conftest.$ac_objext' |
|
|
12917 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12918 | (eval $ac_try) 2>&5 |
|
|
12919 | ac_status=$? |
|
|
12920 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12921 | (exit $ac_status); }; }; then |
|
|
12922 | ac_hi=-1 ac_mid=-1 |
|
|
12923 | while :; do |
|
|
12924 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12925 | /* confdefs.h. */ |
|
|
12926 | _ACEOF |
|
|
12927 | cat confdefs.h >>conftest.$ac_ext |
|
|
12928 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12929 | /* end confdefs.h. */ |
|
|
12930 | $ac_includes_default |
|
|
12931 | int |
|
|
12932 | main () |
|
|
12933 | { |
|
|
12934 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; |
|
|
12935 | test_array [0] = 0 |
|
|
12936 | |
|
|
12937 | ; |
|
|
12938 | return 0; |
|
|
12939 | } |
|
|
12940 | _ACEOF |
|
|
12941 | rm -f conftest.$ac_objext |
|
|
12942 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12943 | (eval $ac_compile) 2>conftest.er1 |
|
|
12944 | ac_status=$? |
|
|
12945 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12946 | rm -f conftest.er1 |
|
|
12947 | cat conftest.err >&5 |
|
|
12948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12949 | (exit $ac_status); } && |
|
|
12950 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12951 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12952 | (eval $ac_try) 2>&5 |
|
|
12953 | ac_status=$? |
|
|
12954 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12955 | (exit $ac_status); }; } && |
|
|
12956 | { ac_try='test -s conftest.$ac_objext' |
|
|
12957 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12958 | (eval $ac_try) 2>&5 |
|
|
12959 | ac_status=$? |
|
|
12960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12961 | (exit $ac_status); }; }; then |
|
|
12962 | ac_lo=$ac_mid; break |
|
|
12963 | else |
|
|
12964 | echo "$as_me: failed program was:" >&5 |
|
|
12965 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12966 | |
|
|
12967 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
12968 | if test $ac_mid -le $ac_hi; then |
|
|
12969 | ac_lo= ac_hi= |
|
|
12970 | break |
|
|
12971 | fi |
|
|
12972 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
12973 | fi |
|
|
12974 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12975 | done |
|
|
12976 | else |
|
|
12977 | echo "$as_me: failed program was:" >&5 |
|
|
12978 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12979 | |
|
|
12980 | ac_lo= ac_hi= |
|
|
12981 | fi |
|
|
12982 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12983 | fi |
|
|
12984 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12985 | # Binary search between lo and hi bounds. |
|
|
12986 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
12987 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
12988 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12989 | /* confdefs.h. */ |
|
|
12990 | _ACEOF |
|
|
12991 | cat confdefs.h >>conftest.$ac_ext |
|
|
12992 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12993 | /* end confdefs.h. */ |
|
|
12994 | $ac_includes_default |
|
|
12995 | int |
|
|
12996 | main () |
|
|
12997 | { |
|
|
12998 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
12999 | test_array [0] = 0 |
|
|
13000 | |
|
|
13001 | ; |
|
|
13002 | return 0; |
|
|
13003 | } |
|
|
13004 | _ACEOF |
|
|
13005 | rm -f conftest.$ac_objext |
|
|
13006 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13007 | (eval $ac_compile) 2>conftest.er1 |
|
|
13008 | ac_status=$? |
|
|
13009 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13010 | rm -f conftest.er1 |
|
|
13011 | cat conftest.err >&5 |
|
|
13012 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13013 | (exit $ac_status); } && |
|
|
13014 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13015 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13016 | (eval $ac_try) 2>&5 |
|
|
13017 | ac_status=$? |
|
|
13018 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13019 | (exit $ac_status); }; } && |
|
|
13020 | { ac_try='test -s conftest.$ac_objext' |
|
|
13021 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13022 | (eval $ac_try) 2>&5 |
|
|
13023 | ac_status=$? |
|
|
13024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13025 | (exit $ac_status); }; }; then |
|
|
13026 | ac_hi=$ac_mid |
|
|
13027 | else |
|
|
13028 | echo "$as_me: failed program was:" >&5 |
|
|
13029 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13030 | |
|
|
13031 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
13032 | fi |
|
|
13033 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13034 | done |
|
|
13035 | case $ac_lo in |
|
|
13036 | ?*) ac_cv_sizeof_long=$ac_lo;; |
|
|
13037 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13038 | See \`config.log' for more details." >&5 |
|
|
13039 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13040 | See \`config.log' for more details." >&2;} |
|
|
13041 | { (exit 1); exit 1; }; } ;; |
|
|
13042 | esac |
|
|
13043 | else |
|
|
13044 | if test "$cross_compiling" = yes; then |
|
|
13045 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
13046 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
13047 | { (exit 1); exit 1; }; } |
|
|
13048 | else |
|
|
13049 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13050 | /* confdefs.h. */ |
|
|
13051 | _ACEOF |
|
|
13052 | cat confdefs.h >>conftest.$ac_ext |
|
|
13053 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13054 | /* end confdefs.h. */ |
|
|
13055 | $ac_includes_default |
|
|
13056 | long longval () { return (long) (sizeof (long)); } |
|
|
13057 | unsigned long ulongval () { return (long) (sizeof (long)); } |
|
|
13058 | #include <stdio.h> |
|
|
13059 | #include <stdlib.h> |
|
|
13060 | int |
|
|
13061 | main () |
|
|
13062 | { |
|
|
13063 | |
|
|
13064 | FILE *f = fopen ("conftest.val", "w"); |
|
|
13065 | if (! f) |
|
|
13066 | exit (1); |
|
|
13067 | if (((long) (sizeof (long))) < 0) |
|
|
13068 | { |
|
|
13069 | long i = longval (); |
|
|
13070 | if (i != ((long) (sizeof (long)))) |
|
|
13071 | exit (1); |
|
|
13072 | fprintf (f, "%ld\n", i); |
|
|
13073 | } |
|
|
13074 | else |
|
|
13075 | { |
|
|
13076 | unsigned long i = ulongval (); |
|
|
13077 | if (i != ((long) (sizeof (long)))) |
|
|
13078 | exit (1); |
|
|
13079 | fprintf (f, "%lu\n", i); |
|
|
13080 | } |
|
|
13081 | exit (ferror (f) || fclose (f) != 0); |
|
|
13082 | |
|
|
13083 | ; |
|
|
13084 | return 0; |
|
|
13085 | } |
|
|
13086 | _ACEOF |
|
|
13087 | rm -f conftest$ac_exeext |
|
|
13088 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13089 | (eval $ac_link) 2>&5 |
|
|
13090 | ac_status=$? |
|
|
13091 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13092 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
13093 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13094 | (eval $ac_try) 2>&5 |
|
|
13095 | ac_status=$? |
|
|
13096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13097 | (exit $ac_status); }; }; then |
|
|
13098 | ac_cv_sizeof_long=`cat conftest.val` |
|
|
13099 | else |
|
|
13100 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
13101 | echo "$as_me: failed program was:" >&5 |
|
|
13102 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13103 | |
|
|
13104 | ( exit $ac_status ) |
|
|
13105 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13106 | See \`config.log' for more details." >&5 |
|
|
13107 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13108 | See \`config.log' for more details." >&2;} |
|
|
13109 | { (exit 1); exit 1; }; } |
|
|
13110 | fi |
|
|
13111 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
13112 | fi |
|
|
13113 | fi |
|
|
13114 | rm -f conftest.val |
|
|
13115 | else |
|
|
13116 | ac_cv_sizeof_long=0 |
|
|
13117 | fi |
|
|
13118 | fi |
|
|
13119 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
|
|
13120 | echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
|
|
13121 | cat >>confdefs.h <<_ACEOF |
|
|
13122 | #define SIZEOF_LONG $ac_cv_sizeof_long |
|
|
13123 | _ACEOF |
|
|
13124 | |
|
|
13125 | |
|
|
13126 | echo "$as_me:$LINENO: checking for long long" >&5 |
12620 | echo "$as_me:$LINENO: checking for long long" >&5 |
13127 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
12621 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
13128 | if test "${ac_cv_type_long_long+set}" = set; then |
12622 | if test "${ac_cv_type_long_long+set}" = set; then |
13129 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12623 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13130 | else |
12624 | else |
… | |
… | |
13981 | rxvt_cv_int16_t=yes |
13475 | rxvt_cv_int16_t=yes |
13982 | else |
13476 | else |
13983 | echo "$as_me: failed program was:" >&5 |
13477 | echo "$as_me: failed program was:" >&5 |
13984 | sed 's/^/| /' conftest.$ac_ext >&5 |
13478 | sed 's/^/| /' conftest.$ac_ext >&5 |
13985 | |
13479 | |
13986 | if test $ac_cv_sizeof_char -ge 2; then |
13480 | if test "$ac_cv_sizeof_char" -ge 2; then |
13987 | rxvt_cv_int16_t=" char" |
13481 | rxvt_cv_int16_t=" char" |
13988 | else |
13482 | else |
13989 | if test $ac_cv_sizeof_short -ge 2; then |
13483 | if test "$ac_cv_sizeof_short" -ge 2; then |
13990 | rxvt_cv_int16_t=" short" |
13484 | rxvt_cv_int16_t=" short" |
13991 | else |
13485 | else |
13992 | if test $ac_cv_sizeof_int -ge 2; then |
13486 | if test "$ac_cv_sizeof_int" -ge 2; then |
13993 | rxvt_cv_int16_t=" int" |
13487 | rxvt_cv_int16_t=" int" |
13994 | else |
13488 | else |
13995 | if test $ac_cv_sizeof_long -ge 2; then |
13489 | if test "$ac_cv_sizeof_long" -ge 2; then |
13996 | rxvt_cv_int16_t=" long" |
13490 | rxvt_cv_int16_t=" long" |
13997 | else |
13491 | else |
13998 | if test $ac_cv_sizeof_long_long -ge 2; then |
13492 | if test "$ac_cv_sizeof_long_long" -ge 2; then |
13999 | rxvt_cv_int16_t=" long long" |
13493 | rxvt_cv_int16_t=" long long" |
14000 | else |
13494 | else |
14001 | rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default |
13495 | rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default |
14002 | fi |
13496 | fi |
14003 | fi |
13497 | fi |
… | |
… | |
14063 | rxvt_cv_uint16_t=yes |
13557 | rxvt_cv_uint16_t=yes |
14064 | else |
13558 | else |
14065 | echo "$as_me: failed program was:" >&5 |
13559 | echo "$as_me: failed program was:" >&5 |
14066 | sed 's/^/| /' conftest.$ac_ext >&5 |
13560 | sed 's/^/| /' conftest.$ac_ext >&5 |
14067 | |
13561 | |
14068 | if test $ac_cv_sizeof_char -ge 2; then |
13562 | if test "$ac_cv_sizeof_char" -ge 2; then |
14069 | rxvt_cv_uint16_t="unsigned char" |
13563 | rxvt_cv_uint16_t="unsigned char" |
14070 | else |
13564 | else |
14071 | if test $ac_cv_sizeof_short -ge 2; then |
13565 | if test "$ac_cv_sizeof_short" -ge 2; then |
14072 | rxvt_cv_uint16_t="unsigned short" |
13566 | rxvt_cv_uint16_t="unsigned short" |
14073 | else |
13567 | else |
14074 | if test $ac_cv_sizeof_int -ge 2; then |
13568 | if test "$ac_cv_sizeof_int" -ge 2; then |
14075 | rxvt_cv_uint16_t="unsigned int" |
13569 | rxvt_cv_uint16_t="unsigned int" |
14076 | else |
13570 | else |
14077 | if test $ac_cv_sizeof_long -ge 2; then |
13571 | if test "$ac_cv_sizeof_long" -ge 2; then |
14078 | rxvt_cv_uint16_t="unsigned long" |
13572 | rxvt_cv_uint16_t="unsigned long" |
14079 | else |
13573 | else |
14080 | if test $ac_cv_sizeof_long_long -ge 2; then |
13574 | if test "$ac_cv_sizeof_long_long" -ge 2; then |
14081 | rxvt_cv_uint16_t="unsigned long long" |
13575 | rxvt_cv_uint16_t="unsigned long long" |
14082 | else |
13576 | else |
14083 | rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default |
13577 | rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default |
14084 | fi |
13578 | fi |
14085 | fi |
13579 | fi |
… | |
… | |
14145 | rxvt_cv_int32_t=yes |
13639 | rxvt_cv_int32_t=yes |
14146 | else |
13640 | else |
14147 | echo "$as_me: failed program was:" >&5 |
13641 | echo "$as_me: failed program was:" >&5 |
14148 | sed 's/^/| /' conftest.$ac_ext >&5 |
13642 | sed 's/^/| /' conftest.$ac_ext >&5 |
14149 | |
13643 | |
14150 | if test $ac_cv_sizeof_char -ge 4; then |
13644 | if test "$ac_cv_sizeof_char" -ge 4; then |
14151 | rxvt_cv_int32_t=" char" |
13645 | rxvt_cv_int32_t=" char" |
14152 | else |
13646 | else |
14153 | if test $ac_cv_sizeof_short -ge 4; then |
13647 | if test "$ac_cv_sizeof_short" -ge 4; then |
14154 | rxvt_cv_int32_t=" short" |
13648 | rxvt_cv_int32_t=" short" |
14155 | else |
13649 | else |
14156 | if test $ac_cv_sizeof_int -ge 4; then |
13650 | if test "$ac_cv_sizeof_int" -ge 4; then |
14157 | rxvt_cv_int32_t=" int" |
13651 | rxvt_cv_int32_t=" int" |
14158 | else |
13652 | else |
14159 | if test $ac_cv_sizeof_long -ge 4; then |
13653 | if test "$ac_cv_sizeof_long" -ge 4; then |
14160 | rxvt_cv_int32_t=" long" |
13654 | rxvt_cv_int32_t=" long" |
14161 | else |
13655 | else |
14162 | if test $ac_cv_sizeof_long_long -ge 4; then |
13656 | if test "$ac_cv_sizeof_long_long" -ge 4; then |
14163 | rxvt_cv_int32_t=" long long" |
13657 | rxvt_cv_int32_t=" long long" |
14164 | else |
13658 | else |
14165 | rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default |
13659 | rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default |
14166 | fi |
13660 | fi |
14167 | fi |
13661 | fi |
… | |
… | |
14227 | rxvt_cv_uint32_t=yes |
13721 | rxvt_cv_uint32_t=yes |
14228 | else |
13722 | else |
14229 | echo "$as_me: failed program was:" >&5 |
13723 | echo "$as_me: failed program was:" >&5 |
14230 | sed 's/^/| /' conftest.$ac_ext >&5 |
13724 | sed 's/^/| /' conftest.$ac_ext >&5 |
14231 | |
13725 | |
14232 | if test $ac_cv_sizeof_char -ge 4; then |
13726 | if test "$ac_cv_sizeof_char" -ge 4; then |
14233 | rxvt_cv_uint32_t="unsigned char" |
13727 | rxvt_cv_uint32_t="unsigned char" |
14234 | else |
13728 | else |
14235 | if test $ac_cv_sizeof_short -ge 4; then |
13729 | if test "$ac_cv_sizeof_short" -ge 4; then |
14236 | rxvt_cv_uint32_t="unsigned short" |
13730 | rxvt_cv_uint32_t="unsigned short" |
14237 | else |
13731 | else |
14238 | if test $ac_cv_sizeof_int -ge 4; then |
13732 | if test "$ac_cv_sizeof_int" -ge 4; then |
14239 | rxvt_cv_uint32_t="unsigned int" |
13733 | rxvt_cv_uint32_t="unsigned int" |
14240 | else |
13734 | else |
14241 | if test $ac_cv_sizeof_long -ge 4; then |
13735 | if test "$ac_cv_sizeof_long" -ge 4; then |
14242 | rxvt_cv_uint32_t="unsigned long" |
13736 | rxvt_cv_uint32_t="unsigned long" |
14243 | else |
13737 | else |
14244 | if test $ac_cv_sizeof_long_long -ge 4; then |
13738 | if test "$ac_cv_sizeof_long_long" -ge 4; then |
14245 | rxvt_cv_uint32_t="unsigned long long" |
13739 | rxvt_cv_uint32_t="unsigned long long" |
14246 | else |
13740 | else |
14247 | rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default |
13741 | rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default |
14248 | fi |
13742 | fi |
14249 | fi |
13743 | fi |
… | |
… | |
14263 | else |
13757 | else |
14264 | rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */" |
13758 | rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */" |
14265 | fi |
13759 | fi |
14266 | fi |
13760 | fi |
14267 | |
13761 | |
14268 | if test $ac_cv_sizeof_int_p -eq 8; then |
13762 | if test "$ac_cv_sizeof_int_p" -eq 8; then |
14269 | rxvt_intp_define="#define intp_t int64_t" |
13763 | rxvt_intp_define="#define intp_t int64_t" |
14270 | rxvt_u_intp_define="#define u_intp_t u_int64_t" |
13764 | rxvt_u_intp_define="#define u_intp_t u_int64_t" |
14271 | else |
13765 | else |
14272 | if test $ac_cv_sizeof_int_p -eq 4; then |
13766 | if test "$ac_cv_sizeof_int_p" -eq 4; then |
14273 | rxvt_intp_define="#define intp_t int32_t" |
13767 | rxvt_intp_define="#define intp_t int32_t" |
14274 | rxvt_u_intp_define="#define u_intp_t u_int32_t" |
13768 | rxvt_u_intp_define="#define u_intp_t u_int32_t" |
14275 | else |
13769 | else |
14276 | if test $ac_cv_sizeof_int_p -eq 2; then |
13770 | if test "$ac_cv_sizeof_int_p" -eq 2; then |
14277 | rxvt_intp_define="#define intp_t int16_t" |
13771 | rxvt_intp_define="#define intp_t int16_t" |
14278 | rxvt_u_intp_define="#define u_intp_t u_int16_t" |
13772 | rxvt_u_intp_define="#define u_intp_t u_int16_t" |
14279 | else |
13773 | else |
14280 | rxvt_intp_define="#error set intp_t" |
13774 | rxvt_intp_define="#error set intp_t" |
14281 | rxvt_u_intp_define="#error set u_intp_t" |
13775 | rxvt_u_intp_define="#error set u_intp_t" |
… | |
… | |
15859 | /* confdefs.h. */ |
15353 | /* confdefs.h. */ |
15860 | _ACEOF |
15354 | _ACEOF |
15861 | cat confdefs.h >>conftest.$ac_ext |
15355 | cat confdefs.h >>conftest.$ac_ext |
15862 | cat >>conftest.$ac_ext <<_ACEOF |
15356 | cat >>conftest.$ac_ext <<_ACEOF |
15863 | /* end confdefs.h. */ |
15357 | /* end confdefs.h. */ |
15864 | #include <locale.h> |
15358 | #include <clocale> |
15865 | int |
15359 | int |
15866 | main () |
15360 | main () |
15867 | { |
15361 | { |
15868 | setlocale(LC_CTYPE, ""); |
15362 | setlocale(LC_CTYPE, ""); |
15869 | ; |
15363 | ; |
… | |
… | |
15970 | #define HAVE_NL_LANGINFO 1 |
15464 | #define HAVE_NL_LANGINFO 1 |
15971 | _ACEOF |
15465 | _ACEOF |
15972 | |
15466 | |
15973 | fi |
15467 | fi |
15974 | |
15468 | |
|
|
15469 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
15470 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
|
|
15471 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
15472 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
15473 | else |
|
|
15474 | cat >conftest.$ac_ext <<_ACEOF |
|
|
15475 | |
|
|
15476 | #include <X11/Xlib.h> |
|
|
15477 | |
|
|
15478 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
15479 | |
|
|
15480 | void f() { |
|
|
15481 | XIMCallback cb; |
|
|
15482 | cb.callback = im_destroy_cb; |
|
|
15483 | } |
|
|
15484 | |
|
|
15485 | _ACEOF |
|
|
15486 | rm -f conftest.$ac_objext |
|
|
15487 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
15488 | (eval $ac_compile) 2>conftest.er1 |
|
|
15489 | ac_status=$? |
|
|
15490 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
15491 | rm -f conftest.er1 |
|
|
15492 | cat conftest.err >&5 |
|
|
15493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15494 | (exit $ac_status); } && |
|
|
15495 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
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); }; } && |
|
|
15501 | { ac_try='test -s conftest.$ac_objext' |
|
|
15502 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15503 | (eval $ac_try) 2>&5 |
|
|
15504 | ac_status=$? |
|
|
15505 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15506 | (exit $ac_status); }; }; then |
|
|
15507 | rxvt_broken_ximcb=yes |
|
|
15508 | else |
|
|
15509 | echo "$as_me: failed program was:" >&5 |
|
|
15510 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
15511 | |
|
|
15512 | rxvt_broken_ximcb=no |
|
|
15513 | fi |
|
|
15514 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
15515 | fi |
|
|
15516 | echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
15517 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6 |
|
|
15518 | |
|
|
15519 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
15520 | |
|
|
15521 | cat >>confdefs.h <<\_ACEOF |
|
|
15522 | #define XIMCB_PROTO_BROKEN 1 |
|
|
15523 | _ACEOF |
|
|
15524 | |
|
|
15525 | fi |
|
|
15526 | |
15975 | echo "$as_me:$LINENO: checking for getpt" >&5 |
15527 | echo "$as_me:$LINENO: checking for getpt" >&5 |
15976 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
15528 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
15977 | if test "${rxvt_cv_func_getpt+set}" = set; then |
15529 | if test "${rxvt_cv_func_getpt+set}" = set; then |
15978 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15530 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15979 | else |
15531 | else |
… | |
… | |
15983 | cat confdefs.h >>conftest.$ac_ext |
15535 | cat confdefs.h >>conftest.$ac_ext |
15984 | cat >>conftest.$ac_ext <<_ACEOF |
15536 | cat >>conftest.$ac_ext <<_ACEOF |
15985 | /* end confdefs.h. */ |
15537 | /* end confdefs.h. */ |
15986 | #define _GNU_SOURCE |
15538 | #define _GNU_SOURCE |
15987 | #ifdef HAVE_STDLIB_H |
15539 | #ifdef HAVE_STDLIB_H |
15988 | # include <stdlib.h> |
15540 | # include <cstdlib> |
15989 | #endif |
15541 | #endif |
15990 | int |
15542 | int |
15991 | main () |
15543 | main () |
15992 | { |
15544 | { |
15993 | (void)getpt(); |
15545 | (void)getpt(); |
… | |
… | |
16156 | |
15708 | |
16157 | cat >>confdefs.h <<_ACEOF |
15709 | cat >>confdefs.h <<_ACEOF |
16158 | #define PTYCHAR2 "$pch2" |
15710 | #define PTYCHAR2 "$pch2" |
16159 | _ACEOF |
15711 | _ACEOF |
16160 | |
15712 | |
16161 | fi |
|
|
16162 | |
|
|
16163 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
|
|
16164 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
|
|
16165 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
|
|
16166 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
16167 | else |
|
|
16168 | ac_check_lib_save_LIBS=$LIBS |
|
|
16169 | LIBS="-lxpg4 $LIBS" |
|
|
16170 | cat >conftest.$ac_ext <<_ACEOF |
|
|
16171 | /* confdefs.h. */ |
|
|
16172 | _ACEOF |
|
|
16173 | cat confdefs.h >>conftest.$ac_ext |
|
|
16174 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
16175 | /* end confdefs.h. */ |
|
|
16176 | |
|
|
16177 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
16178 | #ifdef __cplusplus |
|
|
16179 | extern "C" |
|
|
16180 | #endif |
|
|
16181 | /* We use char because int might match the return type of a gcc2 |
|
|
16182 | builtin and then its argument prototype would still apply. */ |
|
|
16183 | char setlocale (); |
|
|
16184 | int |
|
|
16185 | main () |
|
|
16186 | { |
|
|
16187 | setlocale (); |
|
|
16188 | ; |
|
|
16189 | return 0; |
|
|
16190 | } |
|
|
16191 | _ACEOF |
|
|
16192 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
16193 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
16194 | (eval $ac_link) 2>conftest.er1 |
|
|
16195 | ac_status=$? |
|
|
16196 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
16197 | rm -f conftest.er1 |
|
|
16198 | cat conftest.err >&5 |
|
|
16199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16200 | (exit $ac_status); } && |
|
|
16201 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
16202 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16203 | (eval $ac_try) 2>&5 |
|
|
16204 | ac_status=$? |
|
|
16205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16206 | (exit $ac_status); }; } && |
|
|
16207 | { ac_try='test -s conftest$ac_exeext' |
|
|
16208 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16209 | (eval $ac_try) 2>&5 |
|
|
16210 | ac_status=$? |
|
|
16211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16212 | (exit $ac_status); }; }; then |
|
|
16213 | ac_cv_lib_xpg4_setlocale=yes |
|
|
16214 | else |
|
|
16215 | echo "$as_me: failed program was:" >&5 |
|
|
16216 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
16217 | |
|
|
16218 | ac_cv_lib_xpg4_setlocale=no |
|
|
16219 | fi |
|
|
16220 | rm -f conftest.err conftest.$ac_objext \ |
|
|
16221 | conftest$ac_exeext conftest.$ac_ext |
|
|
16222 | LIBS=$ac_check_lib_save_LIBS |
|
|
16223 | fi |
|
|
16224 | echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5 |
|
|
16225 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
|
|
16226 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
|
|
16227 | LIBS="$LIBS -lxpg4" |
|
|
16228 | fi |
|
|
16229 | |
|
|
16230 | |
|
|
16231 | if test x$support_inheritpixmap = xyes; then |
|
|
16232 | |
|
|
16233 | cat >>confdefs.h <<\_ACEOF |
|
|
16234 | #define TRANSPARENT 1 |
|
|
16235 | _ACEOF |
|
|
16236 | |
|
|
16237 | fi |
|
|
16238 | if test x$support_keepscrolling = xno; then |
|
|
16239 | |
|
|
16240 | cat >>confdefs.h <<\_ACEOF |
|
|
16241 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
16242 | _ACEOF |
|
|
16243 | |
|
|
16244 | fi |
|
|
16245 | if test x$support_selectionscrolling = xyes; then |
|
|
16246 | |
|
|
16247 | cat >>confdefs.h <<\_ACEOF |
|
|
16248 | #define SELECTION_SCROLLING 1 |
|
|
16249 | _ACEOF |
|
|
16250 | |
|
|
16251 | fi |
|
|
16252 | if test x$support_menubar = xyes; then |
|
|
16253 | |
|
|
16254 | cat >>confdefs.h <<\_ACEOF |
|
|
16255 | #define MENUBAR 1 |
|
|
16256 | _ACEOF |
|
|
16257 | |
|
|
16258 | fi |
|
|
16259 | if test x$support_frills = xno; then |
|
|
16260 | |
|
|
16261 | cat >>confdefs.h <<\_ACEOF |
|
|
16262 | #define NO_FRILLS 1 |
|
|
16263 | _ACEOF |
|
|
16264 | |
|
|
16265 | fi |
|
|
16266 | if test x$support_linespace = xno; then |
|
|
16267 | |
|
|
16268 | cat >>confdefs.h <<\_ACEOF |
|
|
16269 | #define NO_LINESPACE 1 |
|
|
16270 | _ACEOF |
|
|
16271 | |
|
|
16272 | fi |
|
|
16273 | if test x$support_24bit = xyes; then |
|
|
16274 | |
|
|
16275 | cat >>confdefs.h <<\_ACEOF |
|
|
16276 | #define PREFER_24BIT 1 |
|
|
16277 | _ACEOF |
|
|
16278 | |
|
|
16279 | fi |
|
|
16280 | if test x$support_mousewheel = xyes; then |
|
|
16281 | |
|
|
16282 | cat >>confdefs.h <<\_ACEOF |
|
|
16283 | #define MOUSE_WHEEL 1 |
|
|
16284 | _ACEOF |
|
|
16285 | |
|
|
16286 | fi |
|
|
16287 | if test x$support_mouseslipwheel = xyes; then |
|
|
16288 | |
|
|
16289 | cat >>confdefs.h <<\_ACEOF |
|
|
16290 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16291 | _ACEOF |
|
|
16292 | |
|
|
16293 | fi |
|
|
16294 | if test x$support_oldselection = xno; then |
|
|
16295 | |
|
|
16296 | cat >>confdefs.h <<\_ACEOF |
|
|
16297 | #define NO_OLD_SELECTION 1 |
|
|
16298 | _ACEOF |
|
|
16299 | |
|
|
16300 | fi |
|
|
16301 | if test x$support_utmp = xyes; then |
|
|
16302 | |
|
|
16303 | cat >>confdefs.h <<\_ACEOF |
|
|
16304 | #define UTMP_SUPPORT 1 |
|
|
16305 | _ACEOF |
|
|
16306 | |
|
|
16307 | fi |
|
|
16308 | if test x$support_wtmp = xyes; then |
|
|
16309 | |
|
|
16310 | cat >>confdefs.h <<\_ACEOF |
|
|
16311 | #define WTMP_SUPPORT 1 |
|
|
16312 | _ACEOF |
|
|
16313 | |
|
|
16314 | fi |
|
|
16315 | if test x$support_lastlog = xyes; then |
|
|
16316 | |
|
|
16317 | cat >>confdefs.h <<\_ACEOF |
|
|
16318 | #define LASTLOG_SUPPORT 1 |
|
|
16319 | _ACEOF |
|
|
16320 | |
|
|
16321 | fi |
|
|
16322 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16323 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16324 | |
|
|
16325 | cat >>confdefs.h <<\_ACEOF |
|
|
16326 | #define USE_XIM 1 |
|
|
16327 | _ACEOF |
|
|
16328 | |
|
|
16329 | fi |
|
|
16330 | fi |
|
|
16331 | if test x$support_xpm = xyes; then |
|
|
16332 | |
|
|
16333 | cat >>confdefs.h <<\_ACEOF |
|
|
16334 | #define XPM_BACKGROUND 1 |
|
|
16335 | _ACEOF |
|
|
16336 | |
|
|
16337 | fi |
|
|
16338 | if test x$support_scroll_rxvt = xyes; then |
|
|
16339 | |
|
|
16340 | cat >>confdefs.h <<\_ACEOF |
|
|
16341 | #define RXVT_SCROLLBAR 1 |
|
|
16342 | _ACEOF |
|
|
16343 | |
|
|
16344 | scrolltypes="rxvt" |
|
|
16345 | fi |
|
|
16346 | if test x$support_scroll_next = xyes; then |
|
|
16347 | |
|
|
16348 | cat >>confdefs.h <<\_ACEOF |
|
|
16349 | #define NEXT_SCROLLBAR 1 |
|
|
16350 | _ACEOF |
|
|
16351 | |
|
|
16352 | scrolltypes="$scrolltypes next" |
|
|
16353 | fi |
|
|
16354 | if test x$support_scroll_xterm = xyes; then |
|
|
16355 | |
|
|
16356 | cat >>confdefs.h <<\_ACEOF |
|
|
16357 | #define XTERM_SCROLLBAR 1 |
|
|
16358 | _ACEOF |
|
|
16359 | |
|
|
16360 | scrolltypes="$scrolltypes xterm" |
|
|
16361 | fi |
|
|
16362 | if test x$support_scroll_plain = xyes; then |
|
|
16363 | |
|
|
16364 | cat >>confdefs.h <<\_ACEOF |
|
|
16365 | #define PLAIN_SCROLLBAR 1 |
|
|
16366 | _ACEOF |
|
|
16367 | |
|
|
16368 | scrolltypes="$scrolltypes plain" |
|
|
16369 | fi |
|
|
16370 | if test x$support_pointer_blank = xyes; then |
|
|
16371 | |
|
|
16372 | cat >>confdefs.h <<\_ACEOF |
|
|
16373 | #define POINTER_BLANK 1 |
|
|
16374 | _ACEOF |
|
|
16375 | |
|
|
16376 | fi |
|
|
16377 | if test x$support_cursor_blink = xyes; then |
|
|
16378 | |
|
|
16379 | cat >>confdefs.h <<\_ACEOF |
|
|
16380 | #define CURSOR_BLINK 1 |
|
|
16381 | _ACEOF |
|
|
16382 | |
|
|
16383 | fi |
|
|
16384 | if test x$support_text_blink = xyes; then |
|
|
16385 | |
|
|
16386 | cat >>confdefs.h <<\_ACEOF |
|
|
16387 | #define TEXT_BLINK 1 |
|
|
16388 | _ACEOF |
|
|
16389 | |
|
|
16390 | fi |
|
|
16391 | if test x$support_unicode3 = xyes; then |
|
|
16392 | |
|
|
16393 | cat >>confdefs.h <<\_ACEOF |
|
|
16394 | #define UNICODE_3 1 |
|
|
16395 | _ACEOF |
|
|
16396 | |
|
|
16397 | fi |
|
|
16398 | if test x$codesets = xall; then |
|
|
16399 | codesets=jp,jp-ext,kr,cn,cn-ext,vn |
|
|
16400 | fi |
|
|
16401 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16402 | |
|
|
16403 | cat >>confdefs.h <<\_ACEOF |
|
|
16404 | #define ENCODING_EU 1 |
|
|
16405 | _ACEOF |
|
|
16406 | |
|
|
16407 | |
|
|
16408 | cat >>confdefs.h <<\_ACEOF |
|
|
16409 | #define ENCODING_VN 1 |
|
|
16410 | _ACEOF |
|
|
16411 | |
|
|
16412 | case "$codeset" in |
|
|
16413 | JP ) |
|
|
16414 | cat >>confdefs.h <<\_ACEOF |
|
|
16415 | #define ENCODING_JP 1 |
|
|
16416 | _ACEOF |
|
|
16417 | ;; |
|
|
16418 | JP_EXT ) |
|
|
16419 | cat >>confdefs.h <<\_ACEOF |
|
|
16420 | #define ENCODING_JP_EXT 1 |
|
|
16421 | _ACEOF |
|
|
16422 | ;; |
|
|
16423 | KR ) |
|
|
16424 | cat >>confdefs.h <<\_ACEOF |
|
|
16425 | #define ENCODING_KR 1 |
|
|
16426 | _ACEOF |
|
|
16427 | ;; |
|
|
16428 | CN ) |
|
|
16429 | cat >>confdefs.h <<\_ACEOF |
|
|
16430 | #define ENCODING_CN 1 |
|
|
16431 | _ACEOF |
|
|
16432 | ;; |
|
|
16433 | CN_EXT ) |
|
|
16434 | cat >>confdefs.h <<\_ACEOF |
|
|
16435 | #define ENCODING_CN_EXT 1 |
|
|
16436 | _ACEOF |
|
|
16437 | ;; |
|
|
16438 | esac |
|
|
16439 | done |
|
|
16440 | |
|
|
16441 | |
|
|
16442 | CFLAGS=${CFLAGS--O} |
|
|
16443 | LDFLAGS=${LDFLAGS--O} |
|
|
16444 | |
|
|
16445 | CPPFLAGS="$CPPFLAGS" |
|
|
16446 | |
|
|
16447 | |
|
|
16448 | |
|
|
16449 | |
|
|
16450 | |
|
|
16451 | |
|
|
16452 | |
|
|
16453 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
16454 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16455 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
16456 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
16457 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
16458 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
16459 | fi |
|
|
16460 | |
|
|
16461 | |
|
|
16462 | |
|
|
16463 | |
|
|
16464 | |
|
|
16465 | if test x$support_addstrings = xno; then |
|
|
16466 | |
|
|
16467 | cat >>confdefs.h <<\_ACEOF |
|
|
16468 | #define NO_STRINGS 1 |
|
|
16469 | _ACEOF |
|
|
16470 | |
|
|
16471 | fi |
|
|
16472 | |
|
|
16473 | MCOMMON=./autoconf/Make.common |
|
|
16474 | |
|
|
16475 | |
|
|
16476 | test "$program_prefix" != NONE && |
|
|
16477 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16478 | # Use a double $ so make ignores it. |
|
|
16479 | test "$program_suffix" != NONE && |
|
|
16480 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
16481 | # Double any \ or $. echo might interpret backslashes. |
|
|
16482 | # By default was `s,x,x', remove it if useless. |
|
|
16483 | cat <<\_ACEOF >conftest.sed |
|
|
16484 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16485 | _ACEOF |
|
|
16486 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16487 | rm conftest.sed |
|
|
16488 | |
|
|
16489 | |
|
|
16490 | |
|
|
16491 | |
|
|
16492 | |
|
|
16493 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16494 | include_stdint_h="#include <stdint.h>" |
|
|
16495 | else |
|
|
16496 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16497 | fi |
|
|
16498 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16499 | include_stdarg_h="#include <stdarg.h>" |
|
|
16500 | else |
|
|
16501 | include_stdarg_h="/* #include <stdarg.h> */" |
|
|
16502 | fi |
|
|
16503 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16504 | include_stdlib_h="#include <stdlib.h>" |
|
|
16505 | else |
|
|
16506 | include_stdlib_h="/* #include <stdlib.h> */" |
|
|
16507 | fi |
|
|
16508 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16509 | include_unistd_h="#include <unistd.h>" |
|
|
16510 | else |
|
|
16511 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16512 | fi |
|
|
16513 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16514 | include_string_h="#include <string.h>" |
|
|
16515 | else |
|
|
16516 | include_string_h="/* #include <string.h> */" |
|
|
16517 | fi |
|
|
16518 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16519 | include_fcntl_h="#include <fcntl.h>" |
|
|
16520 | else |
|
|
16521 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16522 | fi |
|
|
16523 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16524 | include_util_h="#include <util.h>" |
|
|
16525 | else |
|
|
16526 | include_util_h="/* #include <util.h> */" |
|
|
16527 | fi |
|
|
16528 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16529 | include_assert_h="#include <assert.h>" |
|
|
16530 | else |
|
|
16531 | include_assert_h="/* #include <assert.h> */" |
|
|
16532 | fi |
|
|
16533 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16534 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16535 | else |
|
|
16536 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16537 | fi |
|
|
16538 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16539 | include_sys_select_h="#include <sys/select.h>" |
|
|
16540 | else |
|
|
16541 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16542 | fi |
|
|
16543 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16544 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16545 | else |
|
|
16546 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16547 | fi |
|
|
16548 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16549 | include_sys_time_h="#include <sys/time.h>" |
|
|
16550 | else |
|
|
16551 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16552 | fi |
|
|
16553 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16554 | include_time_h="#include <time.h>" |
|
|
16555 | else |
|
|
16556 | include_time_h="/* #include <time.h> */" |
|
|
16557 | fi |
15713 | fi |
16558 | |
15714 | |
16559 | if test x$support_xft = xyes; then |
15715 | if test x$support_xft = xyes; then |
16560 | LIBS="$LIBS `pkg-config xft --libs`" |
15716 | LIBS="$LIBS `pkg-config xft --libs`" |
16561 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
15717 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
… | |
… | |
16794 | #define XFT 1 |
15950 | #define XFT 1 |
16795 | _ACEOF |
15951 | _ACEOF |
16796 | |
15952 | |
16797 | fi |
15953 | fi |
16798 | fi |
15954 | fi |
|
|
15955 | if test x$support_styles = xyes; then |
16799 | |
15956 | |
|
|
15957 | cat >>confdefs.h <<\_ACEOF |
|
|
15958 | #define ENABLE_STYLES 1 |
|
|
15959 | _ACEOF |
|
|
15960 | |
|
|
15961 | fi |
|
|
15962 | if test x$support_iso14755 = xyes; then |
|
|
15963 | |
|
|
15964 | cat >>confdefs.h <<\_ACEOF |
|
|
15965 | #define ISO_14755 1 |
|
|
15966 | _ACEOF |
|
|
15967 | |
|
|
15968 | fi |
|
|
15969 | if test x$support_8bitctrls = xyes; then |
|
|
15970 | |
|
|
15971 | cat >>confdefs.h <<\_ACEOF |
|
|
15972 | #define EIGHT_BIT_CONTROLS 1 |
|
|
15973 | _ACEOF |
|
|
15974 | |
|
|
15975 | fi |
|
|
15976 | if test x$support_fading = xyes; then |
|
|
15977 | |
|
|
15978 | cat >>confdefs.h <<\_ACEOF |
|
|
15979 | #define OFF_FOCUS_FADING 1 |
|
|
15980 | _ACEOF |
|
|
15981 | |
|
|
15982 | fi |
|
|
15983 | if test x$support_tinting = xyes; then |
|
|
15984 | |
|
|
15985 | cat >>confdefs.h <<\_ACEOF |
|
|
15986 | #define TINTING 1 |
|
|
15987 | _ACEOF |
|
|
15988 | |
|
|
15989 | fi |
|
|
15990 | if test x$support_inheritpixmap = xyes; then |
|
|
15991 | |
|
|
15992 | cat >>confdefs.h <<\_ACEOF |
|
|
15993 | #define TRANSPARENT 1 |
|
|
15994 | _ACEOF |
|
|
15995 | |
|
|
15996 | fi |
|
|
15997 | if test x$support_keepscrolling = xno; then |
|
|
15998 | |
|
|
15999 | cat >>confdefs.h <<\_ACEOF |
|
|
16000 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
16001 | _ACEOF |
|
|
16002 | |
|
|
16003 | fi |
|
|
16004 | if test x$support_selectionscrolling = xyes; then |
|
|
16005 | |
|
|
16006 | cat >>confdefs.h <<\_ACEOF |
|
|
16007 | #define SELECTION_SCROLLING 1 |
|
|
16008 | _ACEOF |
|
|
16009 | |
|
|
16010 | fi |
|
|
16011 | if test x$support_menubar = xyes; then |
|
|
16012 | |
|
|
16013 | cat >>confdefs.h <<\_ACEOF |
|
|
16014 | #define MENUBAR 1 |
|
|
16015 | _ACEOF |
|
|
16016 | |
|
|
16017 | fi |
|
|
16018 | if test x$support_frills = xyes; then |
|
|
16019 | |
|
|
16020 | cat >>confdefs.h <<\_ACEOF |
|
|
16021 | #define ENABLE_FRILLS 1 |
|
|
16022 | _ACEOF |
|
|
16023 | |
|
|
16024 | fi |
|
|
16025 | if test x$support_24bit = xyes; then |
|
|
16026 | |
|
|
16027 | cat >>confdefs.h <<\_ACEOF |
|
|
16028 | #define PREFER_24BIT 1 |
|
|
16029 | _ACEOF |
|
|
16030 | |
|
|
16031 | fi |
|
|
16032 | if test x$support_mousewheel = xyes; then |
|
|
16033 | |
|
|
16034 | cat >>confdefs.h <<\_ACEOF |
|
|
16035 | #define MOUSE_WHEEL 1 |
|
|
16036 | _ACEOF |
|
|
16037 | |
|
|
16038 | fi |
|
|
16039 | if test x$support_mouseslipwheel = xyes; then |
|
|
16040 | |
|
|
16041 | cat >>confdefs.h <<\_ACEOF |
|
|
16042 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16043 | _ACEOF |
|
|
16044 | |
|
|
16045 | fi |
|
|
16046 | if test x$support_utmp = xyes; then |
|
|
16047 | |
|
|
16048 | cat >>confdefs.h <<\_ACEOF |
|
|
16049 | #define UTMP_SUPPORT 1 |
|
|
16050 | _ACEOF |
|
|
16051 | |
|
|
16052 | fi |
|
|
16053 | if test x$support_wtmp = xyes; then |
|
|
16054 | |
|
|
16055 | cat >>confdefs.h <<\_ACEOF |
|
|
16056 | #define WTMP_SUPPORT 1 |
|
|
16057 | _ACEOF |
|
|
16058 | |
|
|
16059 | fi |
|
|
16060 | if test x$support_lastlog = xyes; then |
|
|
16061 | |
|
|
16062 | cat >>confdefs.h <<\_ACEOF |
|
|
16063 | #define LASTLOG_SUPPORT 1 |
|
|
16064 | _ACEOF |
|
|
16065 | |
|
|
16066 | fi |
|
|
16067 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16068 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16069 | |
|
|
16070 | cat >>confdefs.h <<\_ACEOF |
|
|
16071 | #define USE_XIM 1 |
|
|
16072 | _ACEOF |
|
|
16073 | |
|
|
16074 | fi |
|
|
16075 | fi |
|
|
16076 | if test x$support_xpm = xyes; then |
|
|
16077 | |
|
|
16078 | cat >>confdefs.h <<\_ACEOF |
|
|
16079 | #define XPM_BACKGROUND 1 |
|
|
16080 | _ACEOF |
|
|
16081 | |
|
|
16082 | fi |
|
|
16083 | if test x$support_scroll_rxvt = xyes; then |
|
|
16084 | |
|
|
16085 | cat >>confdefs.h <<\_ACEOF |
|
|
16086 | #define RXVT_SCROLLBAR 1 |
|
|
16087 | _ACEOF |
|
|
16088 | |
|
|
16089 | scrolltypes="rxvt" |
|
|
16090 | fi |
|
|
16091 | if test x$support_scroll_next = xyes; then |
|
|
16092 | |
|
|
16093 | cat >>confdefs.h <<\_ACEOF |
|
|
16094 | #define NEXT_SCROLLBAR 1 |
|
|
16095 | _ACEOF |
|
|
16096 | |
|
|
16097 | scrolltypes="$scrolltypes next" |
|
|
16098 | fi |
|
|
16099 | if test x$support_scroll_xterm = xyes; then |
|
|
16100 | |
|
|
16101 | cat >>confdefs.h <<\_ACEOF |
|
|
16102 | #define XTERM_SCROLLBAR 1 |
|
|
16103 | _ACEOF |
|
|
16104 | |
|
|
16105 | scrolltypes="$scrolltypes xterm" |
|
|
16106 | fi |
|
|
16107 | if test x$support_scroll_plain = xyes; then |
|
|
16108 | |
|
|
16109 | cat >>confdefs.h <<\_ACEOF |
|
|
16110 | #define PLAIN_SCROLLBAR 1 |
|
|
16111 | _ACEOF |
|
|
16112 | |
|
|
16113 | scrolltypes="$scrolltypes plain" |
|
|
16114 | fi |
|
|
16115 | if test x$support_pointer_blank = xyes; then |
|
|
16116 | |
|
|
16117 | cat >>confdefs.h <<\_ACEOF |
|
|
16118 | #define POINTER_BLANK 1 |
|
|
16119 | _ACEOF |
|
|
16120 | |
|
|
16121 | fi |
|
|
16122 | if test x$support_cursor_blink = xyes; then |
|
|
16123 | |
|
|
16124 | cat >>confdefs.h <<\_ACEOF |
|
|
16125 | #define CURSOR_BLINK 1 |
|
|
16126 | _ACEOF |
|
|
16127 | |
|
|
16128 | fi |
|
|
16129 | if test x$support_text_blink = xyes; then |
|
|
16130 | |
|
|
16131 | cat >>confdefs.h <<\_ACEOF |
|
|
16132 | #define TEXT_BLINK 1 |
|
|
16133 | _ACEOF |
|
|
16134 | |
|
|
16135 | fi |
|
|
16136 | if test x$support_unicode3 = xyes; then |
|
|
16137 | |
|
|
16138 | cat >>confdefs.h <<\_ACEOF |
|
|
16139 | #define UNICODE_3 1 |
|
|
16140 | _ACEOF |
|
|
16141 | |
|
|
16142 | fi |
|
|
16143 | if test x$support_combining = xyes; then |
|
|
16144 | |
|
|
16145 | cat >>confdefs.h <<\_ACEOF |
|
|
16146 | #define ENABLE_COMBINING 1 |
|
|
16147 | _ACEOF |
|
|
16148 | |
|
|
16149 | fi |
|
|
16150 | if test x$codesets = xall; then |
|
|
16151 | codesets=jp,jp-ext,kr,zh,zh-ext |
|
|
16152 | fi |
|
|
16153 | |
|
|
16154 | cat >>confdefs.h <<\_ACEOF |
|
|
16155 | #define ENCODING_EU 1 |
|
|
16156 | _ACEOF |
|
|
16157 | |
|
|
16158 | |
|
|
16159 | cat >>confdefs.h <<\_ACEOF |
|
|
16160 | #define ENCODING_VN 1 |
|
|
16161 | _ACEOF |
|
|
16162 | |
|
|
16163 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16164 | case "$codeset" in |
|
|
16165 | JP ) |
|
|
16166 | cat >>confdefs.h <<\_ACEOF |
|
|
16167 | #define ENCODING_JP 1 |
|
|
16168 | _ACEOF |
|
|
16169 | ;; |
|
|
16170 | JP_EXT ) |
|
|
16171 | cat >>confdefs.h <<\_ACEOF |
|
|
16172 | #define ENCODING_JP_EXT 1 |
|
|
16173 | _ACEOF |
|
|
16174 | ;; |
|
|
16175 | KR ) |
|
|
16176 | cat >>confdefs.h <<\_ACEOF |
|
|
16177 | #define ENCODING_KR 1 |
|
|
16178 | _ACEOF |
|
|
16179 | ;; |
|
|
16180 | ZH ) |
|
|
16181 | cat >>confdefs.h <<\_ACEOF |
|
|
16182 | #define ENCODING_ZH 1 |
|
|
16183 | _ACEOF |
|
|
16184 | ;; |
|
|
16185 | ZH_EXT ) |
|
|
16186 | cat >>confdefs.h <<\_ACEOF |
|
|
16187 | #define ENCODING_ZH_EXT 1 |
|
|
16188 | _ACEOF |
|
|
16189 | ;; |
|
|
16190 | esac |
|
|
16191 | done |
|
|
16192 | |
|
|
16193 | |
|
|
16194 | CFLAGS=${CFLAGS--O} |
|
|
16195 | LDFLAGS=${LDFLAGS--O} |
|
|
16196 | |
|
|
16197 | CPPFLAGS="$CPPFLAGS" |
|
|
16198 | |
|
|
16199 | |
|
|
16200 | |
|
|
16201 | |
|
|
16202 | |
|
|
16203 | |
|
|
16204 | |
|
|
16205 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
16206 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16207 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
16208 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
16209 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
16210 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
16211 | fi |
|
|
16212 | |
|
|
16213 | |
|
|
16214 | |
|
|
16215 | |
|
|
16216 | |
|
|
16217 | if test x$support_addstrings = xno; then |
|
|
16218 | |
|
|
16219 | cat >>confdefs.h <<\_ACEOF |
|
|
16220 | #define NO_STRINGS 1 |
|
|
16221 | _ACEOF |
|
|
16222 | |
|
|
16223 | fi |
|
|
16224 | |
|
|
16225 | MCOMMON=./autoconf/Make.common |
|
|
16226 | |
|
|
16227 | |
|
|
16228 | test "$program_prefix" != NONE && |
|
|
16229 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16230 | # Use a double $ so make ignores it. |
|
|
16231 | test "$program_suffix" != NONE && |
|
|
16232 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
16233 | # Double any \ or $. echo might interpret backslashes. |
|
|
16234 | # By default was `s,x,x', remove it if useless. |
|
|
16235 | cat <<\_ACEOF >conftest.sed |
|
|
16236 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16237 | _ACEOF |
|
|
16238 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16239 | rm conftest.sed |
|
|
16240 | |
|
|
16241 | |
|
|
16242 | |
|
|
16243 | |
|
|
16244 | |
|
|
16245 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16246 | include_stdint_h="#include <stdint.h>" |
|
|
16247 | else |
|
|
16248 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16249 | fi |
|
|
16250 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16251 | include_stdarg_h="#include <cstdarg>" |
|
|
16252 | else |
|
|
16253 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
16254 | fi |
|
|
16255 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16256 | include_stdlib_h="#include <cstdlib>" |
|
|
16257 | else |
|
|
16258 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
16259 | fi |
|
|
16260 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16261 | include_unistd_h="#include <unistd.h>" |
|
|
16262 | else |
|
|
16263 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16264 | fi |
|
|
16265 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16266 | include_string_h="#include <cstring>" |
|
|
16267 | else |
|
|
16268 | include_string_h="/* #include <cstring> */" |
|
|
16269 | fi |
|
|
16270 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16271 | include_fcntl_h="#include <fcntl.h>" |
|
|
16272 | else |
|
|
16273 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16274 | fi |
|
|
16275 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16276 | include_util_h="#include <util.h>" |
|
|
16277 | else |
|
|
16278 | include_util_h="/* #include <util.h> */" |
|
|
16279 | fi |
|
|
16280 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16281 | include_assert_h="#include <assert.h>" |
|
|
16282 | else |
|
|
16283 | include_assert_h="/* #include <assert.h> */" |
|
|
16284 | fi |
|
|
16285 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16286 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16287 | else |
|
|
16288 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16289 | fi |
|
|
16290 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16291 | include_sys_select_h="#include <sys/select.h>" |
|
|
16292 | else |
|
|
16293 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16294 | fi |
|
|
16295 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16296 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16297 | else |
|
|
16298 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16299 | fi |
|
|
16300 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16301 | include_sys_time_h="#include <sys/time.h>" |
|
|
16302 | else |
|
|
16303 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16304 | fi |
|
|
16305 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16306 | include_time_h="#include <time.h>" |
|
|
16307 | else |
|
|
16308 | include_time_h="/* #include <time.h> */" |
|
|
16309 | fi |
|
|
16310 | |
16800 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" |
16311 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
|
|
16312 | |
16801 | cat >confcache <<\_ACEOF |
16313 | cat >confcache <<\_ACEOF |
16802 | # This file is a shell script that caches the results of configure |
16314 | # This file is a shell script that caches the results of configure |
16803 | # tests run on this system so they can be shared between configure |
16315 | # tests run on this system so they can be shared between configure |
16804 | # scripts and configure runs, see configure's option --config-cache. |
16316 | # scripts and configure runs, see configure's option --config-cache. |
16805 | # It is not useful on other systems. If it contains results you don't |
16317 | # It is not useful on other systems. If it contains results you don't |
… | |
… | |
17325 | # Handling of arguments. |
16837 | # Handling of arguments. |
17326 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
16838 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
17327 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
16839 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
17328 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
16840 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
17329 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
16841 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
17330 | "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;; |
|
|
17331 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
16842 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
17332 | "W11/Makefile" ) CONFIG_FILES="$CONFIG_FILES W11/Makefile" ;; |
|
|
17333 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
16843 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
17334 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
16844 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
17335 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
16845 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
17336 | { (exit 1); exit 1; }; };; |
16846 | { (exit 1); exit 1; }; };; |
17337 | esac |
16847 | esac |
… | |
… | |
17413 | s,@DEFS@,$DEFS,;t t |
16923 | s,@DEFS@,$DEFS,;t t |
17414 | s,@ECHO_C@,$ECHO_C,;t t |
16924 | s,@ECHO_C@,$ECHO_C,;t t |
17415 | s,@ECHO_N@,$ECHO_N,;t t |
16925 | s,@ECHO_N@,$ECHO_N,;t t |
17416 | s,@ECHO_T@,$ECHO_T,;t t |
16926 | s,@ECHO_T@,$ECHO_T,;t t |
17417 | s,@LIBS@,$LIBS,;t t |
16927 | s,@LIBS@,$LIBS,;t t |
|
|
16928 | s,@build@,$build,;t t |
|
|
16929 | s,@build_cpu@,$build_cpu,;t t |
|
|
16930 | s,@build_vendor@,$build_vendor,;t t |
|
|
16931 | s,@build_os@,$build_os,;t t |
|
|
16932 | s,@host@,$host,;t t |
|
|
16933 | s,@host_cpu@,$host_cpu,;t t |
|
|
16934 | s,@host_vendor@,$host_vendor,;t t |
|
|
16935 | s,@host_os@,$host_os,;t t |
17418 | s,@VERSION@,$VERSION,;t t |
16936 | s,@VERSION@,$VERSION,;t t |
17419 | s,@DATE@,$DATE,;t t |
16937 | s,@DATE@,$DATE,;t t |
17420 | s,@LSMDATE@,$LSMDATE,;t t |
16938 | s,@LSMDATE@,$LSMDATE,;t t |
17421 | s,@LIBVERSION@,$LIBVERSION,;t t |
16939 | s,@LIBVERSION@,$LIBVERSION,;t t |
17422 | s,@CC@,$CC,;t t |
16940 | s,@CC@,$CC,;t t |
… | |
… | |
17435 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
16953 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
17436 | s,@AWK@,$AWK,;t t |
16954 | s,@AWK@,$AWK,;t t |
17437 | s,@LINKER@,$LINKER,;t t |
16955 | s,@LINKER@,$LINKER,;t t |
17438 | s,@CXXCPP@,$CXXCPP,;t t |
16956 | s,@CXXCPP@,$CXXCPP,;t t |
17439 | s,@EGREP@,$EGREP,;t t |
16957 | s,@EGREP@,$EGREP,;t t |
17440 | s,@build@,$build,;t t |
|
|
17441 | s,@build_cpu@,$build_cpu,;t t |
|
|
17442 | s,@build_vendor@,$build_vendor,;t t |
|
|
17443 | s,@build_os@,$build_os,;t t |
|
|
17444 | s,@host@,$host,;t t |
|
|
17445 | s,@host_cpu@,$host_cpu,;t t |
|
|
17446 | s,@host_vendor@,$host_vendor,;t t |
|
|
17447 | s,@host_os@,$host_os,;t t |
|
|
17448 | s,@LN_S@,$LN_S,;t t |
16958 | s,@LN_S@,$LN_S,;t t |
17449 | s,@ECHO@,$ECHO,;t t |
16959 | s,@ECHO@,$ECHO,;t t |
17450 | s,@RANLIB@,$RANLIB,;t t |
16960 | s,@RANLIB@,$RANLIB,;t t |
17451 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
16961 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
17452 | s,@STRIP@,$STRIP,;t t |
16962 | s,@STRIP@,$STRIP,;t t |
… | |
… | |
17459 | s,@CP@,$CP,;t t |
16969 | s,@CP@,$CP,;t t |
17460 | s,@LN@,$LN,;t t |
16970 | s,@LN@,$LN,;t t |
17461 | s,@SED@,$SED,;t t |
16971 | s,@SED@,$SED,;t t |
17462 | s,@CMP@,$CMP,;t t |
16972 | s,@CMP@,$CMP,;t t |
17463 | s,@TBL@,$TBL,;t t |
16973 | s,@TBL@,$TBL,;t t |
|
|
16974 | s,@TIC@,$TIC,;t t |
17464 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
16975 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
17465 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
16976 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
17466 | s,@X_LIBS@,$X_LIBS,;t t |
16977 | s,@X_LIBS@,$X_LIBS,;t t |
17467 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
16978 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
17468 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
16979 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
… | |
… | |
18013 | echo " |
17524 | echo " |
18014 | The following are set in config.h |
17525 | The following are set in config.h |
18015 | " |
17526 | " |
18016 | echo " pty/tty type: "$rxvt_cv_ptys |
17527 | echo " pty/tty type: "$rxvt_cv_ptys |
18017 | if test x$support_utmp != xyes; then |
17528 | if test x$support_utmp != xyes; then |
18018 | echo " utmp support: disabled |
17529 | echo " utmp support: disabled" |
18019 | " |
17530 | echo |
18020 | else |
17531 | else |
18021 | echo " utmp support: enabled |
17532 | echo " utmp support: enabled |
18022 | utmp file: $rxvt_cv_path_utmp |
17533 | utmp file: $rxvt_cv_path_utmp |
18023 | utmpx file: $rxvt_cv_path_utmpx |
17534 | utmpx file: $rxvt_cv_path_utmpx |
18024 | wtmp file: $rxvt_cv_path_wtmp |
17535 | wtmp file: $rxvt_cv_path_wtmp |
18025 | wtmpx file: $rxvt_cv_path_wtmpx |
17536 | wtmpx file: $rxvt_cv_path_wtmpx |
18026 | lastlog file: $rxvt_cv_path_lastlog |
17537 | lastlog file: $rxvt_cv_path_lastlog |
18027 | ttys/ttytab file: $rxvt_cv_path_ttytab |
17538 | ttys/ttytab file: $rxvt_cv_path_ttytab" |
18028 | " |
17539 | echo |
18029 | fi |
17540 | fi |
18030 | if test x$term != x; then |
17541 | if test x$term != x; then |
18031 | echo " set TERM to: $term |
17542 | echo " set TERM to: $term" |
18032 | " |
|
|
18033 | fi |
17543 | fi |
18034 | if test x$terminfo != x; then |
17544 | if test x$terminfo != x; then |
18035 | echo " set TERMINFO to: $terminfo |
17545 | echo " set TERMINFO to: $terminfo" |
18036 | " |
|
|
18037 | fi |
17546 | fi |
|
|
17547 | echo " default resource name: $RESNAME" |
|
|
17548 | echo " resource class: $RESCLASS" |
|
|
17549 | if test x$RESFALLBACK != x; then |
|
|
17550 | echo " resource class fallback: $RESFALLBACK" |
|
|
17551 | fi |
|
|
17552 | echo |
18038 | if test x$rxvt_cv_ptys = xUNKNOWN; then |
17553 | if test x$rxvt_cv_ptys = xUNKNOWN; then |
18039 | echo ".----------------------------------------------------------------." |
17554 | echo ".----------------------------------------------------------------." |
18040 | echo ". WARNING: could not determine pty/tty type. Do not build until ." |
17555 | echo ". WARNING: could not determine pty/tty type. Do not build until ." |
18041 | echo ". the appropriate PTYS_ARE_* is defined in config.h ." |
17556 | echo ". the appropriate PTYS_ARE_* is defined in config.h ." |
18042 | echo ".----------------------------------------------------------------." |
17557 | echo ".----------------------------------------------------------------." |
… | |
… | |
18056 | echo ". WARNING: --enable-xim was specified however the locale support ." |
17571 | echo ". WARNING: --enable-xim was specified however the locale support ." |
18057 | echo ". functions could not be found. ." |
17572 | echo ". functions could not be found. ." |
18058 | echo ". XIM is now being DISABLED! ." |
17573 | echo ". XIM is now being DISABLED! ." |
18059 | echo ".----------------------------------------------------------------." |
17574 | echo ".----------------------------------------------------------------." |
18060 | fi |
17575 | fi |
|
|
17576 | |
18061 | echo " *** Please check src/feature.h for further options *** |
17577 | echo " *** Please check src/feature.h for further options ***" |
18062 | " |
17578 | echo |
|
|
17579 | |
|
|
17580 | echo ".----------------------------------------------------------------." |
|
|
17581 | echo ". NOTE: most features are disabled by default, try ." |
|
|
17582 | echo ". configure --help to get an idea of the optional features ." |
|
|
17583 | echo ".----------------------------------------------------------------." |
|
|
17584 | echo |
|
|
17585 | |