… | |
… | |
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 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 RXVTNAME 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) |
|
|
1057 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1052 | --enable-strings enable some replacement system functions |
1058 | --enable-strings enable some replacement system functions |
1053 | --disable-swapscreen disable swap screen support |
1059 | --disable-swapscreen disable swap screen support |
|
|
1060 | --enable-iso14755 enable support for extended ISO 14755 modes |
1054 | --enable-frills enable support for rarely used features |
1061 | --enable-frills enable support for rarely used features |
1055 | --enable-linespace enable support for linespace |
|
|
1056 | --enable-24bit enable support for using 24bit visuals if available |
1062 | --enable-24bit enable support for using 24bit visuals if available |
1057 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1063 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1058 | --enable-selectionscrolling enable scrolling during selections |
1064 | --enable-selectionscrolling enable scrolling during selections |
1059 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1065 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1060 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1066 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1061 | --enable-old-selection enable v2.20 (& prior) mouse selection style support |
|
|
1062 | --disable-new-selection disable new mouse (xterm) selection style support |
|
|
1063 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1067 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1064 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1068 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1065 | NOTE: enable only one malloc package |
1069 | NOTE: enable only one malloc package |
1066 | --enable-smart-resize enable smart growth/shrink behaviour |
1070 | --enable-smart-resize enable smart growth/shrink behaviour |
1067 | --enable-256-color enable 256-color support |
|
|
1068 | --enable-cursor-blink enable blinking cursor |
1071 | --enable-cursor-blink enable blinking cursor |
1069 | --enable-text-blink enable blinking text |
1072 | --enable-text-blink enable blinking text |
1070 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1073 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1071 | |
1074 | |
1072 | Optional Packages: |
1075 | Optional Packages: |
1073 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1076 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1074 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1077 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1075 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
1078 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
1076 | --with-pic try to use only PIC/non-PIC objects default=use both |
1079 | --with-pic try to use only PIC/non-PIC objects default=use both |
1077 | --with-codesets=NAME,... compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all) |
1080 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
|
|
1081 | --with-res-name=NAME use this as default resource name (default: urxvt) |
|
|
1082 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
|
|
1083 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1078 | --with-term=NAME set the terminal to NAME (default \"rxvt\") |
1084 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1079 | --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 |
1080 | --with-x use the X Window System |
1086 | --with-x use the X Window System |
1081 | --with-xpm-includes=DIR use XPM includes in DIR |
1087 | --with-xpm-includes=DIR use XPM includes in DIR |
1082 | --with-xpm-library=DIR use XPM library in DIR |
1088 | --with-xpm-library=DIR use XPM library in DIR |
1083 | --with-xpm use XPM |
1089 | --with-xpm use XPM |
… | |
… | |
1530 | |
1536 | |
1531 | |
1537 | |
1532 | |
1538 | |
1533 | |
1539 | |
1534 | |
1540 | |
|
|
1541 | |
1535 | ac_aux_dir= |
1542 | ac_aux_dir= |
1536 | for ac_dir in autoconf $srcdir/autoconf; do |
1543 | for ac_dir in autoconf $srcdir/autoconf; do |
1537 | if test -f $ac_dir/install-sh; then |
1544 | if test -f $ac_dir/install-sh; then |
1538 | ac_aux_dir=$ac_dir |
1545 | ac_aux_dir=$ac_dir |
1539 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1546 | ac_install_sh="$ac_aux_dir/install-sh -c" |
… | |
… | |
1556 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1563 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1557 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1564 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1558 | 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. |
1559 | |
1566 | |
1560 | 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 | |
1561 | |
1623 | |
1562 | |
1624 | |
1563 | 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` |
1564 | 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` |
1565 | 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` |
… | |
… | |
3203 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3265 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3204 | 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' |
3205 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3267 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3206 | |
3268 | |
3207 | |
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 | |
3208 | LINKER="$CXX" |
3278 | LINKER="$CXX" |
3209 | if test x$GCC = xyes && test x$GXX = xyes; then |
3279 | if test x$GCC = xyes && test x$GXX = xyes; then |
3210 | |
3280 | |
3211 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
3281 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
3212 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
3282 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
… | |
… | |
3274 | |
3344 | |
3275 | fi |
3345 | fi |
3276 | LINKER=$LINKER |
3346 | LINKER=$LINKER |
3277 | |
3347 | |
3278 | |
3348 | |
3279 | CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" |
|
|
3280 | |
3349 | |
3281 | if test x$GXX = xyes; then |
3350 | cat >>confdefs.h <<\_ACEOF |
3282 | CXXFLAGS="$CXXFLAGS -fno-exceptions" |
3351 | #define _GNU_SOURCE 1 |
3283 | 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 | |
3284 | |
3375 | |
3285 | ac_ext=cc |
3376 | ac_ext=cc |
3286 | ac_cpp='$CXXCPP $CPPFLAGS' |
3377 | ac_cpp='$CXXCPP $CPPFLAGS' |
3287 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3378 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3288 | 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' |
… | |
… | |
3685 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3776 | echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
3686 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3777 | echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
3687 | if test "$ac_cv_search_strerror" != no; then |
3778 | if test "$ac_cv_search_strerror" != no; then |
3688 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3779 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3689 | |
3780 | |
|
|
3781 | fi |
|
|
3782 | |
|
|
3783 | |
|
|
3784 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
|
|
3785 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
|
|
3786 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
|
|
3787 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3788 | else |
|
|
3789 | ac_check_lib_save_LIBS=$LIBS |
|
|
3790 | LIBS="-lxpg4 $LIBS" |
|
|
3791 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3792 | /* confdefs.h. */ |
|
|
3793 | _ACEOF |
|
|
3794 | cat confdefs.h >>conftest.$ac_ext |
|
|
3795 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3796 | /* end confdefs.h. */ |
|
|
3797 | |
|
|
3798 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3799 | #ifdef __cplusplus |
|
|
3800 | extern "C" |
|
|
3801 | #endif |
|
|
3802 | /* We use char because int might match the return type of a gcc2 |
|
|
3803 | builtin and then its argument prototype would still apply. */ |
|
|
3804 | char setlocale (); |
|
|
3805 | int |
|
|
3806 | main () |
|
|
3807 | { |
|
|
3808 | setlocale (); |
|
|
3809 | ; |
|
|
3810 | return 0; |
|
|
3811 | } |
|
|
3812 | _ACEOF |
|
|
3813 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3814 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3815 | (eval $ac_link) 2>conftest.er1 |
|
|
3816 | ac_status=$? |
|
|
3817 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3818 | rm -f conftest.er1 |
|
|
3819 | cat conftest.err >&5 |
|
|
3820 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3821 | (exit $ac_status); } && |
|
|
3822 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3823 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3824 | (eval $ac_try) 2>&5 |
|
|
3825 | ac_status=$? |
|
|
3826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3827 | (exit $ac_status); }; } && |
|
|
3828 | { ac_try='test -s conftest$ac_exeext' |
|
|
3829 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3830 | (eval $ac_try) 2>&5 |
|
|
3831 | ac_status=$? |
|
|
3832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3833 | (exit $ac_status); }; }; then |
|
|
3834 | ac_cv_lib_xpg4_setlocale=yes |
|
|
3835 | else |
|
|
3836 | echo "$as_me: failed program was:" >&5 |
|
|
3837 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3838 | |
|
|
3839 | ac_cv_lib_xpg4_setlocale=no |
|
|
3840 | fi |
|
|
3841 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3842 | conftest$ac_exeext conftest.$ac_ext |
|
|
3843 | LIBS=$ac_check_lib_save_LIBS |
|
|
3844 | fi |
|
|
3845 | echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5 |
|
|
3846 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
|
|
3847 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
|
|
3848 | LIBS="$LIBS -lxpg4" |
|
|
3849 | fi |
|
|
3850 | |
|
|
3851 | |
|
|
3852 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
|
|
3853 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
|
|
3854 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
|
|
3855 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3856 | else |
|
|
3857 | ac_check_lib_save_LIBS=$LIBS |
|
|
3858 | LIBS="-lnsl $LIBS" |
|
|
3859 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3860 | /* confdefs.h. */ |
|
|
3861 | _ACEOF |
|
|
3862 | cat confdefs.h >>conftest.$ac_ext |
|
|
3863 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3864 | /* end confdefs.h. */ |
|
|
3865 | |
|
|
3866 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3867 | #ifdef __cplusplus |
|
|
3868 | extern "C" |
|
|
3869 | #endif |
|
|
3870 | /* We use char because int might match the return type of a gcc2 |
|
|
3871 | builtin and then its argument prototype would still apply. */ |
|
|
3872 | char gethostbyname (); |
|
|
3873 | int |
|
|
3874 | main () |
|
|
3875 | { |
|
|
3876 | gethostbyname (); |
|
|
3877 | ; |
|
|
3878 | return 0; |
|
|
3879 | } |
|
|
3880 | _ACEOF |
|
|
3881 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3882 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3883 | (eval $ac_link) 2>conftest.er1 |
|
|
3884 | ac_status=$? |
|
|
3885 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3886 | rm -f conftest.er1 |
|
|
3887 | cat conftest.err >&5 |
|
|
3888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3889 | (exit $ac_status); } && |
|
|
3890 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3891 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3892 | (eval $ac_try) 2>&5 |
|
|
3893 | ac_status=$? |
|
|
3894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3895 | (exit $ac_status); }; } && |
|
|
3896 | { ac_try='test -s conftest$ac_exeext' |
|
|
3897 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3898 | (eval $ac_try) 2>&5 |
|
|
3899 | ac_status=$? |
|
|
3900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3901 | (exit $ac_status); }; }; then |
|
|
3902 | ac_cv_lib_nsl_gethostbyname=yes |
|
|
3903 | else |
|
|
3904 | echo "$as_me: failed program was:" >&5 |
|
|
3905 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3906 | |
|
|
3907 | ac_cv_lib_nsl_gethostbyname=no |
|
|
3908 | fi |
|
|
3909 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3910 | conftest$ac_exeext conftest.$ac_ext |
|
|
3911 | LIBS=$ac_check_lib_save_LIBS |
|
|
3912 | fi |
|
|
3913 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
|
|
3914 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
|
|
3915 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
|
|
3916 | LIBS="$LIBS -lnsl" |
|
|
3917 | fi |
|
|
3918 | |
|
|
3919 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
|
|
3920 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
|
|
3921 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
|
|
3922 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3923 | else |
|
|
3924 | ac_check_lib_save_LIBS=$LIBS |
|
|
3925 | LIBS="-lsocket $LIBS" |
|
|
3926 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3927 | /* confdefs.h. */ |
|
|
3928 | _ACEOF |
|
|
3929 | cat confdefs.h >>conftest.$ac_ext |
|
|
3930 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3931 | /* end confdefs.h. */ |
|
|
3932 | |
|
|
3933 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3934 | #ifdef __cplusplus |
|
|
3935 | extern "C" |
|
|
3936 | #endif |
|
|
3937 | /* We use char because int might match the return type of a gcc2 |
|
|
3938 | builtin and then its argument prototype would still apply. */ |
|
|
3939 | char socket (); |
|
|
3940 | int |
|
|
3941 | main () |
|
|
3942 | { |
|
|
3943 | socket (); |
|
|
3944 | ; |
|
|
3945 | return 0; |
|
|
3946 | } |
|
|
3947 | _ACEOF |
|
|
3948 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3949 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3950 | (eval $ac_link) 2>conftest.er1 |
|
|
3951 | ac_status=$? |
|
|
3952 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3953 | rm -f conftest.er1 |
|
|
3954 | cat conftest.err >&5 |
|
|
3955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3956 | (exit $ac_status); } && |
|
|
3957 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
3958 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3959 | (eval $ac_try) 2>&5 |
|
|
3960 | ac_status=$? |
|
|
3961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3962 | (exit $ac_status); }; } && |
|
|
3963 | { ac_try='test -s conftest$ac_exeext' |
|
|
3964 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3965 | (eval $ac_try) 2>&5 |
|
|
3966 | ac_status=$? |
|
|
3967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3968 | (exit $ac_status); }; }; then |
|
|
3969 | ac_cv_lib_socket_socket=yes |
|
|
3970 | else |
|
|
3971 | echo "$as_me: failed program was:" >&5 |
|
|
3972 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3973 | |
|
|
3974 | ac_cv_lib_socket_socket=no |
|
|
3975 | fi |
|
|
3976 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3977 | conftest$ac_exeext conftest.$ac_ext |
|
|
3978 | LIBS=$ac_check_lib_save_LIBS |
|
|
3979 | fi |
|
|
3980 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
|
|
3981 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
|
|
3982 | if test $ac_cv_lib_socket_socket = yes; then |
|
|
3983 | LIBS="$LIBS -lsocket" |
3690 | fi |
3984 | fi |
3691 | |
3985 | |
3692 | |
3986 | |
3693 | # Check whether --enable-shared or --disable-shared was given. |
3987 | # Check whether --enable-shared or --disable-shared was given. |
3694 | if test "${enable_shared+set}" = set; then |
3988 | if test "${enable_shared+set}" = set; then |
… | |
… | |
3752 | ;; |
4046 | ;; |
3753 | esac |
4047 | esac |
3754 | else |
4048 | else |
3755 | enable_fast_install=yes |
4049 | enable_fast_install=yes |
3756 | fi; |
4050 | fi; |
3757 | # Make sure we can run config.sub. |
|
|
3758 | $ac_config_sub sun4 >/dev/null 2>&1 || |
|
|
3759 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
|
|
3760 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
|
|
3761 | { (exit 1); exit 1; }; } |
|
|
3762 | |
|
|
3763 | echo "$as_me:$LINENO: checking build system type" >&5 |
|
|
3764 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
|
|
3765 | if test "${ac_cv_build+set}" = set; then |
|
|
3766 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3767 | else |
|
|
3768 | ac_cv_build_alias=$build_alias |
|
|
3769 | test -z "$ac_cv_build_alias" && |
|
|
3770 | ac_cv_build_alias=`$ac_config_guess` |
|
|
3771 | test -z "$ac_cv_build_alias" && |
|
|
3772 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
|
3773 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
|
3774 | { (exit 1); exit 1; }; } |
|
|
3775 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
|
|
3776 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
|
|
3777 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
|
|
3778 | { (exit 1); exit 1; }; } |
|
|
3779 | |
|
|
3780 | fi |
|
|
3781 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
|
3782 | echo "${ECHO_T}$ac_cv_build" >&6 |
|
|
3783 | build=$ac_cv_build |
|
|
3784 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
3785 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
3786 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
3787 | |
|
|
3788 | |
|
|
3789 | echo "$as_me:$LINENO: checking host system type" >&5 |
|
|
3790 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
|
|
3791 | if test "${ac_cv_host+set}" = set; then |
|
|
3792 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3793 | else |
|
|
3794 | ac_cv_host_alias=$host_alias |
|
|
3795 | test -z "$ac_cv_host_alias" && |
|
|
3796 | ac_cv_host_alias=$ac_cv_build_alias |
|
|
3797 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
|
|
3798 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
|
|
3799 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
|
|
3800 | { (exit 1); exit 1; }; } |
|
|
3801 | |
|
|
3802 | fi |
|
|
3803 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
|
3804 | echo "${ECHO_T}$ac_cv_host" >&6 |
|
|
3805 | host=$ac_cv_host |
|
|
3806 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
3807 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
3808 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
3809 | |
|
|
3810 | |
|
|
3811 | |
4051 | |
3812 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
4052 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
3813 | if test "${with_gnu_ld+set}" = set; then |
4053 | if test "${with_gnu_ld+set}" = set; then |
3814 | withval="$with_gnu_ld" |
4054 | withval="$with_gnu_ld" |
3815 | test "$withval" = no || with_gnu_ld=yes |
4055 | test "$withval" = no || with_gnu_ld=yes |
… | |
… | |
5030 | # Some flags need to be propagated to the compiler or linker for good |
5270 | # Some flags need to be propagated to the compiler or linker for good |
5031 | # libtool support. |
5271 | # libtool support. |
5032 | case "$host" in |
5272 | case "$host" in |
5033 | *-*-irix6*) |
5273 | *-*-irix6*) |
5034 | # Find out which ABI we are using. |
5274 | # Find out which ABI we are using. |
5035 | echo '#line 5035 "configure"' > conftest.$ac_ext |
5275 | echo '#line 5275 "configure"' > conftest.$ac_ext |
5036 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5276 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5037 | (eval $ac_compile) 2>&5 |
5277 | (eval $ac_compile) 2>&5 |
5038 | ac_status=$? |
5278 | ac_status=$? |
5039 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5040 | (exit $ac_status); }; then |
5280 | (exit $ac_status); }; then |
… | |
… | |
5581 | # builds. |
5821 | # builds. |
5582 | chmod -w . |
5822 | chmod -w . |
5583 | save_CFLAGS="$CFLAGS" |
5823 | save_CFLAGS="$CFLAGS" |
5584 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5824 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5585 | compiler_c_o=no |
5825 | compiler_c_o=no |
5586 | if { (eval echo configure:5586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
5826 | if { (eval echo configure:5826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
5587 | # The compiler can only warn and ignore the option if not recognized |
5827 | # The compiler can only warn and ignore the option if not recognized |
5588 | # So say no if there are warnings |
5828 | # So say no if there are warnings |
5589 | if test -s out/conftest.err; then |
5829 | if test -s out/conftest.err; then |
5590 | compiler_c_o=no |
5830 | compiler_c_o=no |
5591 | else |
5831 | else |
… | |
… | |
7197 | lt_cv_dlopen_self=cross |
7437 | lt_cv_dlopen_self=cross |
7198 | else |
7438 | else |
7199 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7439 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7200 | lt_status=$lt_dlunknown |
7440 | lt_status=$lt_dlunknown |
7201 | cat > conftest.$ac_ext <<EOF |
7441 | cat > conftest.$ac_ext <<EOF |
7202 | #line 7202 "configure" |
7442 | #line 7442 "configure" |
7203 | #include "confdefs.h" |
7443 | #include "confdefs.h" |
7204 | |
7444 | |
7205 | #if HAVE_DLFCN_H |
7445 | #if HAVE_DLFCN_H |
7206 | #include <dlfcn.h> |
7446 | #include <dlfcn.h> |
7207 | #endif |
7447 | #endif |
… | |
… | |
7295 | lt_cv_dlopen_self_static=cross |
7535 | lt_cv_dlopen_self_static=cross |
7296 | else |
7536 | else |
7297 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7537 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7298 | lt_status=$lt_dlunknown |
7538 | lt_status=$lt_dlunknown |
7299 | cat > conftest.$ac_ext <<EOF |
7539 | cat > conftest.$ac_ext <<EOF |
7300 | #line 7300 "configure" |
7540 | #line 7540 "configure" |
7301 | #include "confdefs.h" |
7541 | #include "confdefs.h" |
7302 | |
7542 | |
7303 | #if HAVE_DLFCN_H |
7543 | #if HAVE_DLFCN_H |
7304 | #include <dlfcn.h> |
7544 | #include <dlfcn.h> |
7305 | #endif |
7545 | #endif |
… | |
… | |
8026 | |
8266 | |
8027 | |
8267 | |
8028 | MALLOC_TYPE=S |
8268 | MALLOC_TYPE=S |
8029 | support_addstrings=no |
8269 | support_addstrings=no |
8030 | support_frills=no |
8270 | support_frills=no |
8031 | support_linespace=no |
|
|
8032 | support_inheritpixmap=no |
8271 | support_inheritpixmap=no |
|
|
8272 | support_tinting=no |
|
|
8273 | support_fading=no |
8033 | support_keepscrolling=no |
8274 | support_keepscrolling=no |
8034 | support_selectionscrolling=no |
8275 | support_selectionscrolling=no |
8035 | support_menubar=no |
8276 | support_menubar=no |
8036 | support_mousewheel=no |
8277 | support_mousewheel=no |
8037 | support_mouseslipwheel=no |
8278 | support_mouseslipwheel=no |
8038 | support_oldselection=no |
|
|
8039 | support_utmp=no |
8279 | support_utmp=no |
8040 | support_wtmp=no |
8280 | support_wtmp=no |
8041 | support_lastlog=no |
8281 | support_lastlog=no |
8042 | support_cursor_blink=no |
8282 | support_cursor_blink=no |
8043 | support_text_blink=no |
8283 | support_text_blink=no |
… | |
… | |
8048 | support_scroll_plain=no |
8288 | support_scroll_plain=no |
8049 | support_xim=no |
8289 | support_xim=no |
8050 | support_xpm=no |
8290 | support_xpm=no |
8051 | support_xft=no |
8291 | support_xft=no |
8052 | support_unicode3=no |
8292 | support_unicode3=no |
|
|
8293 | support_combining=no |
|
|
8294 | support_8bitctrls=no |
|
|
8295 | support_iso14755=no |
|
|
8296 | support_styles=no |
8053 | codesets= |
8297 | codesets= |
8054 | |
8298 | |
8055 | |
8299 | |
8056 | if test "x$enable_shared" = xyes; then |
8300 | if test "x$enable_shared" = xyes; then |
8057 | |
8301 | |
… | |
… | |
8067 | if test "${enable_everything+set}" = set; then |
8311 | if test "${enable_everything+set}" = set; then |
8068 | enableval="$enable_everything" |
8312 | enableval="$enable_everything" |
8069 | if test x$enableval = xyes; then |
8313 | if test x$enableval = xyes; then |
8070 | support_24bit=yes |
8314 | support_24bit=yes |
8071 | support_frills=yes |
8315 | support_frills=yes |
8072 | support_linespace=yes |
|
|
8073 | support_inheritpixmap=yes |
8316 | support_inheritpixmap=yes |
|
|
8317 | support_tinting=yes |
|
|
8318 | support_fading=yes |
8074 | support_keepscrolling=yes |
8319 | support_keepscrolling=yes |
8075 | support_selectionscrolling=yes |
8320 | support_selectionscrolling=yes |
8076 | support_lastlog=yes |
8321 | support_lastlog=yes |
8077 | support_menubar=yes |
8322 | support_menubar=yes |
8078 | support_mousewheel=yes |
8323 | support_mousewheel=yes |
8079 | support_mouseslipwheel=yes |
8324 | support_mouseslipwheel=yes |
8080 | support_oldselection=yes |
|
|
8081 | support_cursor_blink=yes |
8325 | support_cursor_blink=yes |
8082 | support_text_blink=yes |
8326 | support_text_blink=yes |
8083 | support_pointer_blank=yes |
8327 | support_pointer_blank=yes |
8084 | support_scroll_rxvt=yes |
8328 | support_scroll_rxvt=yes |
8085 | support_scroll_next=yes |
8329 | support_scroll_next=yes |
… | |
… | |
8089 | support_wtmp=yes |
8333 | support_wtmp=yes |
8090 | support_xim=yes |
8334 | support_xim=yes |
8091 | support_xpm=yes |
8335 | support_xpm=yes |
8092 | support_xft=yes |
8336 | support_xft=yes |
8093 | support_unicode3=yes |
8337 | support_unicode3=yes |
|
|
8338 | support_combining=yes |
|
|
8339 | #support_8bitctrls=yes |
|
|
8340 | support_iso14755=yes |
|
|
8341 | support_styles=yes |
8094 | codesets=all |
8342 | codesets=all |
8095 | fi |
8343 | fi |
8096 | fi; |
8344 | fi; |
8097 | |
8345 | |
8098 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8346 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8099 | if test "${enable_unicode3+set}" = set; then |
8347 | if test "${enable_unicode3+set}" = set; then |
8100 | enableval="$enable_unicode3" |
8348 | enableval="$enable_unicode3" |
8101 | if test x$enableval = xyes -o x$enableval = xno; then |
8349 | if test x$enableval = xyes -o x$enableval = xno; then |
8102 | support_unicode3=yes |
8350 | support_unicode3=$enableval |
|
|
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 |
8103 | fi |
8359 | fi |
8104 | fi; |
8360 | fi; |
8105 | |
8361 | |
8106 | # Check whether --enable-xft or --disable-xft was given. |
8362 | # Check whether --enable-xft or --disable-xft was given. |
8107 | if test "${enable_xft+set}" = set; then |
8363 | if test "${enable_xft+set}" = set; then |
8108 | enableval="$enable_xft" |
8364 | enableval="$enable_xft" |
8109 | if test x$enableval = xyes -o x$enableval = xno; then |
8365 | if test x$enableval = xyes -o x$enableval = xno; then |
8110 | support_xft=yes |
8366 | support_xft=$enableval |
8111 | fi |
8367 | fi |
8112 | fi; |
8368 | fi; |
8113 | |
8369 | |
8114 | |
8370 | # Check whether --enable-font-styles or --disable-font-styles was given. |
8115 | # Check whether --with-codesets or --without-codesets was given. |
8371 | if test "${enable_font_styles+set}" = set; then |
8116 | if test "${with_codesets+set}" = set; then |
8372 | enableval="$enable_font_styles" |
8117 | withval="$with_codesets" |
8373 | if test x$enableval = xyes -o x$enableval = xno; then |
8118 | codesets="$withval" |
8374 | support_styles=$enableval |
|
|
8375 | fi |
8119 | fi; |
8376 | fi; |
8120 | |
8377 | |
8121 | # Check whether --enable-utmp or --disable-utmp was given. |
8378 | # Check whether --enable-utmp or --disable-utmp was given. |
8122 | if test "${enable_utmp+set}" = set; then |
8379 | if test "${enable_utmp+set}" = set; then |
8123 | enableval="$enable_utmp" |
8380 | enableval="$enable_utmp" |
… | |
… | |
8156 | if test x$enableval = xyes -o x$enableval = xno; then |
8413 | if test x$enableval = xyes -o x$enableval = xno; then |
8157 | support_inheritpixmap=$enableval |
8414 | support_inheritpixmap=$enableval |
8158 | fi |
8415 | fi |
8159 | fi; |
8416 | fi; |
8160 | |
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 | |
8161 | # Check whether --enable-menubar or --disable-menubar was given. |
8434 | # Check whether --enable-menubar or --disable-menubar was given. |
8162 | if test "${enable_menubar+set}" = set; then |
8435 | if test "${enable_menubar+set}" = set; then |
8163 | enableval="$enable_menubar" |
8436 | enableval="$enable_menubar" |
8164 | if test x$enableval = xyes -o x$enableval = xno; then |
8437 | if test x$enableval = xyes -o x$enableval = xno; then |
8165 | support_menubar=$enableval |
8438 | support_menubar=$enableval |
… | |
… | |
8208 | _ACEOF |
8481 | _ACEOF |
8209 | |
8482 | |
8210 | fi |
8483 | fi |
8211 | fi; |
8484 | fi; |
8212 | |
8485 | |
|
|
8486 | |
|
|
8487 | # Check whether --with-codesets or --without-codesets was given. |
|
|
8488 | if test "${with_codesets+set}" = set; then |
|
|
8489 | withval="$with_codesets" |
|
|
8490 | codesets="$withval" |
|
|
8491 | fi; |
|
|
8492 | |
8213 | # Check whether --enable-xim or --disable-xim was given. |
8493 | # Check whether --enable-xim or --disable-xim was given. |
8214 | if test "${enable_xim+set}" = set; then |
8494 | if test "${enable_xim+set}" = set; then |
8215 | enableval="$enable_xim" |
8495 | enableval="$enable_xim" |
8216 | if test x$enableval = xyes -o x$enableval = xno; then |
8496 | if test x$enableval = xyes -o x$enableval = xno; then |
8217 | support_xim=$enableval |
8497 | support_xim=$enableval |
… | |
… | |
8276 | _ACEOF |
8556 | _ACEOF |
8277 | |
8557 | |
8278 | fi |
8558 | fi |
8279 | fi; |
8559 | fi; |
8280 | |
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 | |
|
|
8569 | RESFALLBACK=Rxvt |
|
|
8570 | # Check whether --enable-fallback or --disable-fallback was given. |
|
|
8571 | if test "${enable_fallback+set}" = set; then |
|
|
8572 | enableval="$enable_fallback" |
|
|
8573 | |
|
|
8574 | test x$enableval = xyes && enableval=Rxvt |
|
|
8575 | test x$enableval = xno && enableval= |
|
|
8576 | RESFALLBACK="$enableval" |
|
|
8577 | |
|
|
8578 | fi; |
|
|
8579 | |
|
|
8580 | if test x$RESFALLBACK != x; then |
|
|
8581 | |
|
|
8582 | cat >>confdefs.h <<_ACEOF |
|
|
8583 | #define RESFALLBACK "$RESFALLBACK" |
|
|
8584 | _ACEOF |
|
|
8585 | |
|
|
8586 | fi |
|
|
8587 | |
|
|
8588 | RESNAME=urxvt |
|
|
8589 | |
|
|
8590 | # Check whether --with-res-name or --without-res-name was given. |
|
|
8591 | if test "${with_res_name+set}" = set; then |
|
|
8592 | withval="$with_res_name" |
|
|
8593 | RESNAME="$withval" |
|
|
8594 | fi; |
|
|
8595 | |
|
|
8596 | cat >>confdefs.h <<_ACEOF |
|
|
8597 | #define RESNAME "$RESNAME" |
|
|
8598 | _ACEOF |
|
|
8599 | |
|
|
8600 | |
|
|
8601 | RESCLASS=URxvt |
|
|
8602 | |
|
|
8603 | # Check whether --with-res-class or --without-res-class was given. |
|
|
8604 | if test "${with_res_class+set}" = set; then |
|
|
8605 | withval="$with_res_class" |
|
|
8606 | RESCLASS="$withval" |
|
|
8607 | fi; |
|
|
8608 | |
|
|
8609 | cat >>confdefs.h <<_ACEOF |
|
|
8610 | #define RESCLASS "$RESCLASS" |
|
|
8611 | _ACEOF |
|
|
8612 | |
|
|
8613 | |
|
|
8614 | RXVTNAME=urxvt |
|
|
8615 | |
|
|
8616 | # Check whether --with-name or --without-name was given. |
|
|
8617 | if test "${with_name+set}" = set; then |
|
|
8618 | withval="$with_name" |
|
|
8619 | RXVTNAME="$withval" |
|
|
8620 | fi; |
|
|
8621 | |
|
|
8622 | cat >>confdefs.h <<_ACEOF |
|
|
8623 | #define RXVTNAME "$RXVTNAME" |
|
|
8624 | _ACEOF |
|
|
8625 | |
|
|
8626 | |
|
|
8627 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
|
|
8628 | |
|
|
8629 | |
8281 | # Check whether --enable-strings or --disable-strings was given. |
8630 | # Check whether --enable-strings or --disable-strings was given. |
8282 | if test "${enable_strings+set}" = set; then |
8631 | if test "${enable_strings+set}" = set; then |
8283 | enableval="$enable_strings" |
8632 | enableval="$enable_strings" |
8284 | if test x$enableval = xyes -o x$enableval = xno; then |
8633 | if test x$enableval = xyes -o x$enableval = xno; then |
8285 | support_addstrings=$enableval |
8634 | support_addstrings=$enableval |
… | |
… | |
8296 | _ACEOF |
8645 | _ACEOF |
8297 | |
8646 | |
8298 | fi |
8647 | fi |
8299 | fi; |
8648 | fi; |
8300 | |
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 | |
8301 | # Check whether --enable-frills or --disable-frills was given. |
8658 | # Check whether --enable-frills or --disable-frills was given. |
8302 | if test "${enable_frills+set}" = set; then |
8659 | if test "${enable_frills+set}" = set; then |
8303 | enableval="$enable_frills" |
8660 | enableval="$enable_frills" |
8304 | if test x$enableval = xyes -o x$enableval = xno; then |
8661 | if test x$enableval = xyes -o x$enableval = xno; then |
8305 | support_frills=$enableval |
8662 | support_frills=$enableval |
8306 | fi |
8663 | fi |
8307 | fi; |
8664 | fi; |
8308 | |
8665 | |
8309 | # Check whether --enable-linespace or --disable-linespace was given. |
|
|
8310 | if test "${enable_linespace+set}" = set; then |
|
|
8311 | enableval="$enable_linespace" |
|
|
8312 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8313 | support_linespace=$enableval |
|
|
8314 | fi |
|
|
8315 | fi; |
|
|
8316 | |
|
|
8317 | # Check whether --enable-24bit or --disable-24bit was given. |
8666 | # Check whether --enable-24bit or --disable-24bit was given. |
8318 | if test "${enable_24bit+set}" = set; then |
8667 | if test "${enable_24bit+set}" = set; then |
8319 | enableval="$enable_24bit" |
8668 | enableval="$enable_24bit" |
8320 | if test x$enableval = xyes -o x$enableval = xno; then |
8669 | if test x$enableval = xyes -o x$enableval = xno; then |
8321 | support_24bit=$enableval |
8670 | support_24bit=$enableval |
… | |
… | |
8349 | # Check whether --enable-slipwheeling or --disable-slipwheeling was given. |
8698 | # Check whether --enable-slipwheeling or --disable-slipwheeling was given. |
8350 | if test "${enable_slipwheeling+set}" = set; then |
8699 | if test "${enable_slipwheeling+set}" = set; then |
8351 | enableval="$enable_slipwheeling" |
8700 | enableval="$enable_slipwheeling" |
8352 | if test x$enableval = xyes -o x$enableval = xno; then |
8701 | if test x$enableval = xyes -o x$enableval = xno; then |
8353 | support_mouseslipwheel=$enableval |
8702 | support_mouseslipwheel=$enableval |
8354 | fi |
|
|
8355 | fi; |
|
|
8356 | |
|
|
8357 | # Check whether --enable-old-selection or --disable-old-selection was given. |
|
|
8358 | if test "${enable_old_selection+set}" = set; then |
|
|
8359 | enableval="$enable_old_selection" |
|
|
8360 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8361 | support_oldselection=$enableval |
|
|
8362 | fi |
|
|
8363 | fi; |
|
|
8364 | |
|
|
8365 | # Check whether --enable-new-selection or --disable-new-selection was given. |
|
|
8366 | if test "${enable_new_selection+set}" = set; then |
|
|
8367 | enableval="$enable_new_selection" |
|
|
8368 | if test x$enableval = xno; then |
|
|
8369 | |
|
|
8370 | cat >>confdefs.h <<\_ACEOF |
|
|
8371 | #define NO_NEW_SELECTION 1 |
|
|
8372 | _ACEOF |
|
|
8373 | |
|
|
8374 | fi |
8703 | fi |
8375 | fi; |
8704 | fi; |
8376 | |
8705 | |
8377 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
8706 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
8378 | if test "${enable_dmalloc+set}" = set; then |
8707 | if test "${enable_dmalloc+set}" = set; then |
… | |
… | |
8406 | _ACEOF |
8735 | _ACEOF |
8407 | |
8736 | |
8408 | fi |
8737 | fi |
8409 | fi; |
8738 | fi; |
8410 | |
8739 | |
8411 | # Check whether --enable-256-color or --disable-256-color was given. |
|
|
8412 | if test "${enable_256_color+set}" = set; then |
|
|
8413 | enableval="$enable_256_color" |
|
|
8414 | if test x$enableval = xyes; then |
|
|
8415 | |
|
|
8416 | cat >>confdefs.h <<\_ACEOF |
|
|
8417 | #define TTY_256COLOR 1 |
|
|
8418 | _ACEOF |
|
|
8419 | |
|
|
8420 | fi |
|
|
8421 | fi; |
|
|
8422 | |
|
|
8423 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
8740 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
8424 | if test "${enable_cursor_blink+set}" = set; then |
8741 | if test "${enable_cursor_blink+set}" = set; then |
8425 | enableval="$enable_cursor_blink" |
8742 | enableval="$enable_cursor_blink" |
8426 | if test x$enableval = xyes -o x$enableval = xno; then |
8743 | if test x$enableval = xyes -o x$enableval = xno; then |
8427 | support_cursor_blink=$enableval |
8744 | support_cursor_blink=$enableval |
… | |
… | |
8474 | |
8791 | |
8475 | cat >>confdefs.h <<\_ACEOF |
8792 | cat >>confdefs.h <<\_ACEOF |
8476 | #define PROTOTYPES 1 |
8793 | #define PROTOTYPES 1 |
8477 | _ACEOF |
8794 | _ACEOF |
8478 | |
8795 | |
8479 | |
|
|
8480 | if test -z "$CFLAGS"; then |
|
|
8481 | if test -z "$CCOPTS"; then |
|
|
8482 | CCOPTS='-O' |
|
|
8483 | fi |
|
|
8484 | CFLAGS="$CCOPTS" |
|
|
8485 | fi |
|
|
8486 | |
8796 | |
8487 | # 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. |
8488 | set dummy mv; ac_word=$2 |
8798 | set dummy mv; ac_word=$2 |
8489 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8799 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8490 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
8800 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
… | |
… | |
8801 | else |
9111 | else |
8802 | echo "$as_me:$LINENO: result: no" >&5 |
9112 | echo "$as_me:$LINENO: result: no" >&5 |
8803 | echo "${ECHO_T}no" >&6 |
9113 | echo "${ECHO_T}no" >&6 |
8804 | fi |
9114 | fi |
8805 | |
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 |
8806 | |
9141 | |
|
|
9142 | ;; |
|
|
9143 | esac |
|
|
9144 | fi |
|
|
9145 | TIC=$ac_cv_path_TIC |
8807 | |
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 |
8808 | |
9154 | |
|
|
9155 | |
|
|
9156 | |
|
|
9157 | |
|
|
9158 | |
|
|
9159 | if test "x$ac_path_x_has_been_run" != xyes; then |
8809 | echo "$as_me:$LINENO: checking for X" >&5 |
9160 | echo "$as_me:$LINENO: checking for X" >&5 |
8810 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
9161 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
8811 | |
9162 | |
|
|
9163 | ac_path_x_has_been_run=yes |
8812 | |
9164 | |
8813 | # Check whether --with-x or --without-x was given. |
9165 | # Check whether --with-x or --without-x was given. |
8814 | if test "${with_x+set}" = set; then |
9166 | if test "${with_x+set}" = set; then |
8815 | withval="$with_x" |
9167 | withval="$with_x" |
8816 | |
9168 | |
… | |
… | |
8899 | |
9251 | |
8900 | /usr/openwin/include |
9252 | /usr/openwin/include |
8901 | /usr/openwin/share/include' |
9253 | /usr/openwin/share/include' |
8902 | |
9254 | |
8903 | if test "$ac_x_includes" = no; then |
9255 | if test "$ac_x_includes" = no; then |
8904 | # 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. |
8905 | # First, try using that file with no special directory specified. |
9257 | # First, try using that file with no special directory specified. |
8906 | cat >conftest.$ac_ext <<_ACEOF |
9258 | cat >conftest.$ac_ext <<_ACEOF |
8907 | /* confdefs.h. */ |
9259 | /* confdefs.h. */ |
8908 | _ACEOF |
9260 | _ACEOF |
8909 | cat confdefs.h >>conftest.$ac_ext |
9261 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
9033 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
9385 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
9034 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
9386 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
9035 | # Update the cache value to reflect the command line values. |
9387 | # Update the cache value to reflect the command line values. |
9036 | ac_cv_have_x="have_x=yes \ |
9388 | ac_cv_have_x="have_x=yes \ |
9037 | 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" |
9038 | 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 |
9039 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
9395 | echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 |
9040 | fi |
9396 | fi |
9041 | |
9397 | |
|
|
9398 | fi |
9042 | if test "$no_x" = yes; then |
9399 | if test "$no_x" = yes; then |
9043 | # 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. |
9044 | |
9401 | |
9045 | cat >>confdefs.h <<\_ACEOF |
9402 | cat >>confdefs.h <<\_ACEOF |
9046 | #define X_DISPLAY_MISSING 1 |
9403 | #define X_DISPLAY_MISSING 1 |
… | |
… | |
10623 | |
10980 | |
10624 | |
10981 | |
10625 | |
10982 | |
10626 | |
10983 | |
10627 | |
10984 | |
|
|
10985 | |
|
|
10986 | |
10628 | for ac_header in \ |
10987 | for ac_header in \ |
10629 | assert.h \ |
10988 | assert.h \ |
10630 | fcntl.h \ |
10989 | fcntl.h \ |
10631 | grp.h \ |
10990 | grp.h \ |
10632 | libc.h \ |
10991 | libc.h \ |
… | |
… | |
10639 | sys/byteorder.h \ |
10998 | sys/byteorder.h \ |
10640 | sys/ioctl.h \ |
10999 | sys/ioctl.h \ |
10641 | sys/select.h \ |
11000 | sys/select.h \ |
10642 | sys/sockio.h \ |
11001 | sys/sockio.h \ |
10643 | sys/strredir.h \ |
11002 | sys/strredir.h \ |
|
|
11003 | sys/stropts.h \ |
10644 | sys/time.h \ |
11004 | sys/time.h \ |
10645 | utmp.h \ |
11005 | utmp.h \ |
10646 | utmpx.h \ |
11006 | utmpx.h \ |
10647 | stdint.h \ |
11007 | stdint.h \ |
|
|
11008 | pty.h \ |
10648 | |
11009 | |
10649 | do |
11010 | do |
10650 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11011 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10651 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11012 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10652 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11013 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
11436 | _ACEOF |
11797 | _ACEOF |
11437 | |
11798 | |
11438 | fi |
11799 | fi |
11439 | |
11800 | |
11440 | |
11801 | |
11441 | |
|
|
11442 | echo "$as_me:$LINENO: checking for char" >&5 |
|
|
11443 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
|
|
11444 | if test "${ac_cv_type_char+set}" = set; then |
|
|
11445 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11446 | else |
|
|
11447 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11448 | /* confdefs.h. */ |
|
|
11449 | _ACEOF |
|
|
11450 | cat confdefs.h >>conftest.$ac_ext |
|
|
11451 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11452 | /* end confdefs.h. */ |
|
|
11453 | $ac_includes_default |
|
|
11454 | int |
|
|
11455 | main () |
|
|
11456 | { |
|
|
11457 | if ((char *) 0) |
|
|
11458 | return 0; |
|
|
11459 | if (sizeof (char)) |
|
|
11460 | return 0; |
|
|
11461 | ; |
|
|
11462 | return 0; |
|
|
11463 | } |
|
|
11464 | _ACEOF |
|
|
11465 | rm -f conftest.$ac_objext |
|
|
11466 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11467 | (eval $ac_compile) 2>conftest.er1 |
|
|
11468 | ac_status=$? |
|
|
11469 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11470 | rm -f conftest.er1 |
|
|
11471 | cat conftest.err >&5 |
|
|
11472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11473 | (exit $ac_status); } && |
|
|
11474 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11475 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11476 | (eval $ac_try) 2>&5 |
|
|
11477 | ac_status=$? |
|
|
11478 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11479 | (exit $ac_status); }; } && |
|
|
11480 | { ac_try='test -s conftest.$ac_objext' |
|
|
11481 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11482 | (eval $ac_try) 2>&5 |
|
|
11483 | ac_status=$? |
|
|
11484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11485 | (exit $ac_status); }; }; then |
|
|
11486 | ac_cv_type_char=yes |
|
|
11487 | else |
|
|
11488 | echo "$as_me: failed program was:" >&5 |
|
|
11489 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11490 | |
|
|
11491 | ac_cv_type_char=no |
|
|
11492 | fi |
|
|
11493 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11494 | fi |
|
|
11495 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
|
|
11496 | echo "${ECHO_T}$ac_cv_type_char" >&6 |
|
|
11497 | |
|
|
11498 | echo "$as_me:$LINENO: checking size of char" >&5 |
|
|
11499 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
|
|
11500 | if test "${ac_cv_sizeof_char+set}" = set; then |
|
|
11501 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11502 | else |
|
|
11503 | if test "$ac_cv_type_char" = yes; then |
|
|
11504 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
11505 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
11506 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
11507 | # This bug is HP SR number 8606223364. |
|
|
11508 | if test "$cross_compiling" = yes; then |
|
|
11509 | # Depending upon the size, compute the lo and hi bounds. |
|
|
11510 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11511 | /* confdefs.h. */ |
|
|
11512 | _ACEOF |
|
|
11513 | cat confdefs.h >>conftest.$ac_ext |
|
|
11514 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11515 | /* end confdefs.h. */ |
|
|
11516 | $ac_includes_default |
|
|
11517 | int |
|
|
11518 | main () |
|
|
11519 | { |
|
|
11520 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; |
|
|
11521 | test_array [0] = 0 |
|
|
11522 | |
|
|
11523 | ; |
|
|
11524 | return 0; |
|
|
11525 | } |
|
|
11526 | _ACEOF |
|
|
11527 | rm -f conftest.$ac_objext |
|
|
11528 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11529 | (eval $ac_compile) 2>conftest.er1 |
|
|
11530 | ac_status=$? |
|
|
11531 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11532 | rm -f conftest.er1 |
|
|
11533 | cat conftest.err >&5 |
|
|
11534 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11535 | (exit $ac_status); } && |
|
|
11536 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11537 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11538 | (eval $ac_try) 2>&5 |
|
|
11539 | ac_status=$? |
|
|
11540 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11541 | (exit $ac_status); }; } && |
|
|
11542 | { ac_try='test -s conftest.$ac_objext' |
|
|
11543 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11544 | (eval $ac_try) 2>&5 |
|
|
11545 | ac_status=$? |
|
|
11546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11547 | (exit $ac_status); }; }; then |
|
|
11548 | ac_lo=0 ac_mid=0 |
|
|
11549 | while :; do |
|
|
11550 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11551 | /* confdefs.h. */ |
|
|
11552 | _ACEOF |
|
|
11553 | cat confdefs.h >>conftest.$ac_ext |
|
|
11554 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11555 | /* end confdefs.h. */ |
|
|
11556 | $ac_includes_default |
|
|
11557 | int |
|
|
11558 | main () |
|
|
11559 | { |
|
|
11560 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11561 | test_array [0] = 0 |
|
|
11562 | |
|
|
11563 | ; |
|
|
11564 | return 0; |
|
|
11565 | } |
|
|
11566 | _ACEOF |
|
|
11567 | rm -f conftest.$ac_objext |
|
|
11568 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11569 | (eval $ac_compile) 2>conftest.er1 |
|
|
11570 | ac_status=$? |
|
|
11571 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11572 | rm -f conftest.er1 |
|
|
11573 | cat conftest.err >&5 |
|
|
11574 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11575 | (exit $ac_status); } && |
|
|
11576 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11577 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11578 | (eval $ac_try) 2>&5 |
|
|
11579 | ac_status=$? |
|
|
11580 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11581 | (exit $ac_status); }; } && |
|
|
11582 | { ac_try='test -s conftest.$ac_objext' |
|
|
11583 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11584 | (eval $ac_try) 2>&5 |
|
|
11585 | ac_status=$? |
|
|
11586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11587 | (exit $ac_status); }; }; then |
|
|
11588 | ac_hi=$ac_mid; break |
|
|
11589 | else |
|
|
11590 | echo "$as_me: failed program was:" >&5 |
|
|
11591 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11592 | |
|
|
11593 | ac_lo=`expr $ac_mid + 1` |
|
|
11594 | if test $ac_lo -le $ac_mid; then |
|
|
11595 | ac_lo= ac_hi= |
|
|
11596 | break |
|
|
11597 | fi |
|
|
11598 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
11599 | fi |
|
|
11600 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11601 | done |
|
|
11602 | else |
|
|
11603 | echo "$as_me: failed program was:" >&5 |
|
|
11604 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11605 | |
|
|
11606 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11607 | /* confdefs.h. */ |
|
|
11608 | _ACEOF |
|
|
11609 | cat confdefs.h >>conftest.$ac_ext |
|
|
11610 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11611 | /* end confdefs.h. */ |
|
|
11612 | $ac_includes_default |
|
|
11613 | int |
|
|
11614 | main () |
|
|
11615 | { |
|
|
11616 | static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; |
|
|
11617 | test_array [0] = 0 |
|
|
11618 | |
|
|
11619 | ; |
|
|
11620 | return 0; |
|
|
11621 | } |
|
|
11622 | _ACEOF |
|
|
11623 | rm -f conftest.$ac_objext |
|
|
11624 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11625 | (eval $ac_compile) 2>conftest.er1 |
|
|
11626 | ac_status=$? |
|
|
11627 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11628 | rm -f conftest.er1 |
|
|
11629 | cat conftest.err >&5 |
|
|
11630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11631 | (exit $ac_status); } && |
|
|
11632 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11633 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11634 | (eval $ac_try) 2>&5 |
|
|
11635 | ac_status=$? |
|
|
11636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11637 | (exit $ac_status); }; } && |
|
|
11638 | { ac_try='test -s conftest.$ac_objext' |
|
|
11639 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11640 | (eval $ac_try) 2>&5 |
|
|
11641 | ac_status=$? |
|
|
11642 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11643 | (exit $ac_status); }; }; then |
|
|
11644 | ac_hi=-1 ac_mid=-1 |
|
|
11645 | while :; do |
|
|
11646 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11647 | /* confdefs.h. */ |
|
|
11648 | _ACEOF |
|
|
11649 | cat confdefs.h >>conftest.$ac_ext |
|
|
11650 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11651 | /* end confdefs.h. */ |
|
|
11652 | $ac_includes_default |
|
|
11653 | int |
|
|
11654 | main () |
|
|
11655 | { |
|
|
11656 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; |
|
|
11657 | test_array [0] = 0 |
|
|
11658 | |
|
|
11659 | ; |
|
|
11660 | return 0; |
|
|
11661 | } |
|
|
11662 | _ACEOF |
|
|
11663 | rm -f conftest.$ac_objext |
|
|
11664 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11665 | (eval $ac_compile) 2>conftest.er1 |
|
|
11666 | ac_status=$? |
|
|
11667 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11668 | rm -f conftest.er1 |
|
|
11669 | cat conftest.err >&5 |
|
|
11670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11671 | (exit $ac_status); } && |
|
|
11672 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11673 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11674 | (eval $ac_try) 2>&5 |
|
|
11675 | ac_status=$? |
|
|
11676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11677 | (exit $ac_status); }; } && |
|
|
11678 | { ac_try='test -s conftest.$ac_objext' |
|
|
11679 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11680 | (eval $ac_try) 2>&5 |
|
|
11681 | ac_status=$? |
|
|
11682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11683 | (exit $ac_status); }; }; then |
|
|
11684 | ac_lo=$ac_mid; break |
|
|
11685 | else |
|
|
11686 | echo "$as_me: failed program was:" >&5 |
|
|
11687 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11688 | |
|
|
11689 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
11690 | if test $ac_mid -le $ac_hi; then |
|
|
11691 | ac_lo= ac_hi= |
|
|
11692 | break |
|
|
11693 | fi |
|
|
11694 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
11695 | fi |
|
|
11696 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11697 | done |
|
|
11698 | else |
|
|
11699 | echo "$as_me: failed program was:" >&5 |
|
|
11700 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11701 | |
|
|
11702 | ac_lo= ac_hi= |
|
|
11703 | fi |
|
|
11704 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11705 | fi |
|
|
11706 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11707 | # Binary search between lo and hi bounds. |
|
|
11708 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
11709 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
11710 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11711 | /* confdefs.h. */ |
|
|
11712 | _ACEOF |
|
|
11713 | cat confdefs.h >>conftest.$ac_ext |
|
|
11714 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11715 | /* end confdefs.h. */ |
|
|
11716 | $ac_includes_default |
|
|
11717 | int |
|
|
11718 | main () |
|
|
11719 | { |
|
|
11720 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11721 | test_array [0] = 0 |
|
|
11722 | |
|
|
11723 | ; |
|
|
11724 | return 0; |
|
|
11725 | } |
|
|
11726 | _ACEOF |
|
|
11727 | rm -f conftest.$ac_objext |
|
|
11728 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11729 | (eval $ac_compile) 2>conftest.er1 |
|
|
11730 | ac_status=$? |
|
|
11731 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11732 | rm -f conftest.er1 |
|
|
11733 | cat conftest.err >&5 |
|
|
11734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11735 | (exit $ac_status); } && |
|
|
11736 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11737 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11738 | (eval $ac_try) 2>&5 |
|
|
11739 | ac_status=$? |
|
|
11740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11741 | (exit $ac_status); }; } && |
|
|
11742 | { ac_try='test -s conftest.$ac_objext' |
|
|
11743 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11744 | (eval $ac_try) 2>&5 |
|
|
11745 | ac_status=$? |
|
|
11746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11747 | (exit $ac_status); }; }; then |
|
|
11748 | ac_hi=$ac_mid |
|
|
11749 | else |
|
|
11750 | echo "$as_me: failed program was:" >&5 |
|
|
11751 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11752 | |
|
|
11753 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
11754 | fi |
|
|
11755 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11756 | done |
|
|
11757 | case $ac_lo in |
|
|
11758 | ?*) ac_cv_sizeof_char=$ac_lo;; |
|
|
11759 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
11760 | See \`config.log' for more details." >&5 |
|
|
11761 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
11762 | See \`config.log' for more details." >&2;} |
|
|
11763 | { (exit 1); exit 1; }; } ;; |
|
|
11764 | esac |
|
|
11765 | else |
|
|
11766 | if test "$cross_compiling" = yes; then |
|
|
11767 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
11768 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
11769 | { (exit 1); exit 1; }; } |
|
|
11770 | else |
|
|
11771 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11772 | /* confdefs.h. */ |
|
|
11773 | _ACEOF |
|
|
11774 | cat confdefs.h >>conftest.$ac_ext |
|
|
11775 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11776 | /* end confdefs.h. */ |
|
|
11777 | $ac_includes_default |
|
|
11778 | long longval () { return (long) (sizeof (char)); } |
|
|
11779 | unsigned long ulongval () { return (long) (sizeof (char)); } |
|
|
11780 | #include <stdio.h> |
|
|
11781 | #include <stdlib.h> |
|
|
11782 | int |
|
|
11783 | main () |
|
|
11784 | { |
|
|
11785 | |
|
|
11786 | FILE *f = fopen ("conftest.val", "w"); |
|
|
11787 | if (! f) |
|
|
11788 | exit (1); |
|
|
11789 | if (((long) (sizeof (char))) < 0) |
|
|
11790 | { |
|
|
11791 | long i = longval (); |
|
|
11792 | if (i != ((long) (sizeof (char)))) |
|
|
11793 | exit (1); |
|
|
11794 | fprintf (f, "%ld\n", i); |
|
|
11795 | } |
|
|
11796 | else |
|
|
11797 | { |
|
|
11798 | unsigned long i = ulongval (); |
|
|
11799 | if (i != ((long) (sizeof (char)))) |
|
|
11800 | exit (1); |
|
|
11801 | fprintf (f, "%lu\n", i); |
|
|
11802 | } |
|
|
11803 | exit (ferror (f) || fclose (f) != 0); |
|
|
11804 | |
|
|
11805 | ; |
|
|
11806 | return 0; |
|
|
11807 | } |
|
|
11808 | _ACEOF |
|
|
11809 | rm -f conftest$ac_exeext |
|
|
11810 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11811 | (eval $ac_link) 2>&5 |
|
|
11812 | ac_status=$? |
|
|
11813 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11814 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
11815 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11816 | (eval $ac_try) 2>&5 |
|
|
11817 | ac_status=$? |
|
|
11818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11819 | (exit $ac_status); }; }; then |
|
|
11820 | ac_cv_sizeof_char=`cat conftest.val` |
|
|
11821 | else |
|
|
11822 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
11823 | echo "$as_me: failed program was:" >&5 |
|
|
11824 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11825 | |
|
|
11826 | ( exit $ac_status ) |
|
|
11827 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
11828 | See \`config.log' for more details." >&5 |
|
|
11829 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
11830 | See \`config.log' for more details." >&2;} |
|
|
11831 | { (exit 1); exit 1; }; } |
|
|
11832 | fi |
|
|
11833 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
11834 | fi |
|
|
11835 | fi |
|
|
11836 | rm -f conftest.val |
|
|
11837 | else |
|
|
11838 | ac_cv_sizeof_char=0 |
|
|
11839 | fi |
|
|
11840 | fi |
|
|
11841 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
|
|
11842 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
|
|
11843 | cat >>confdefs.h <<_ACEOF |
|
|
11844 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
|
|
11845 | _ACEOF |
|
|
11846 | |
|
|
11847 | |
|
|
11848 | echo "$as_me:$LINENO: checking for short" >&5 |
11802 | echo "$as_me:$LINENO: checking for short" >&5 |
11849 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
11803 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
11850 | if test "${ac_cv_type_short+set}" = set; then |
11804 | if test "${ac_cv_type_short+set}" = set; then |
11851 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11805 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11852 | else |
11806 | else |
… | |
… | |
12652 | fi |
12606 | fi |
12653 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12607 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12654 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12608 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12655 | cat >>confdefs.h <<_ACEOF |
12609 | cat >>confdefs.h <<_ACEOF |
12656 | #define SIZEOF_INT $ac_cv_sizeof_int |
12610 | #define SIZEOF_INT $ac_cv_sizeof_int |
12657 | _ACEOF |
|
|
12658 | |
|
|
12659 | |
|
|
12660 | echo "$as_me:$LINENO: checking for long" >&5 |
|
|
12661 | echo $ECHO_N "checking for long... $ECHO_C" >&6 |
|
|
12662 | if test "${ac_cv_type_long+set}" = set; then |
|
|
12663 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12664 | else |
|
|
12665 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12666 | /* confdefs.h. */ |
|
|
12667 | _ACEOF |
|
|
12668 | cat confdefs.h >>conftest.$ac_ext |
|
|
12669 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12670 | /* end confdefs.h. */ |
|
|
12671 | $ac_includes_default |
|
|
12672 | int |
|
|
12673 | main () |
|
|
12674 | { |
|
|
12675 | if ((long *) 0) |
|
|
12676 | return 0; |
|
|
12677 | if (sizeof (long)) |
|
|
12678 | return 0; |
|
|
12679 | ; |
|
|
12680 | return 0; |
|
|
12681 | } |
|
|
12682 | _ACEOF |
|
|
12683 | rm -f conftest.$ac_objext |
|
|
12684 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12685 | (eval $ac_compile) 2>conftest.er1 |
|
|
12686 | ac_status=$? |
|
|
12687 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12688 | rm -f conftest.er1 |
|
|
12689 | cat conftest.err >&5 |
|
|
12690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12691 | (exit $ac_status); } && |
|
|
12692 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12693 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12694 | (eval $ac_try) 2>&5 |
|
|
12695 | ac_status=$? |
|
|
12696 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12697 | (exit $ac_status); }; } && |
|
|
12698 | { ac_try='test -s conftest.$ac_objext' |
|
|
12699 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12700 | (eval $ac_try) 2>&5 |
|
|
12701 | ac_status=$? |
|
|
12702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12703 | (exit $ac_status); }; }; then |
|
|
12704 | ac_cv_type_long=yes |
|
|
12705 | else |
|
|
12706 | echo "$as_me: failed program was:" >&5 |
|
|
12707 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12708 | |
|
|
12709 | ac_cv_type_long=no |
|
|
12710 | fi |
|
|
12711 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12712 | fi |
|
|
12713 | echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
|
|
12714 | echo "${ECHO_T}$ac_cv_type_long" >&6 |
|
|
12715 | |
|
|
12716 | echo "$as_me:$LINENO: checking size of long" >&5 |
|
|
12717 | echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
|
|
12718 | if test "${ac_cv_sizeof_long+set}" = set; then |
|
|
12719 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12720 | else |
|
|
12721 | if test "$ac_cv_type_long" = yes; then |
|
|
12722 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
12723 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
12724 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
12725 | # This bug is HP SR number 8606223364. |
|
|
12726 | if test "$cross_compiling" = yes; then |
|
|
12727 | # Depending upon the size, compute the lo and hi bounds. |
|
|
12728 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12729 | /* confdefs.h. */ |
|
|
12730 | _ACEOF |
|
|
12731 | cat confdefs.h >>conftest.$ac_ext |
|
|
12732 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12733 | /* end confdefs.h. */ |
|
|
12734 | $ac_includes_default |
|
|
12735 | int |
|
|
12736 | main () |
|
|
12737 | { |
|
|
12738 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; |
|
|
12739 | test_array [0] = 0 |
|
|
12740 | |
|
|
12741 | ; |
|
|
12742 | return 0; |
|
|
12743 | } |
|
|
12744 | _ACEOF |
|
|
12745 | rm -f conftest.$ac_objext |
|
|
12746 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12747 | (eval $ac_compile) 2>conftest.er1 |
|
|
12748 | ac_status=$? |
|
|
12749 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12750 | rm -f conftest.er1 |
|
|
12751 | cat conftest.err >&5 |
|
|
12752 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12753 | (exit $ac_status); } && |
|
|
12754 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12755 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12756 | (eval $ac_try) 2>&5 |
|
|
12757 | ac_status=$? |
|
|
12758 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12759 | (exit $ac_status); }; } && |
|
|
12760 | { ac_try='test -s conftest.$ac_objext' |
|
|
12761 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12762 | (eval $ac_try) 2>&5 |
|
|
12763 | ac_status=$? |
|
|
12764 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12765 | (exit $ac_status); }; }; then |
|
|
12766 | ac_lo=0 ac_mid=0 |
|
|
12767 | while :; do |
|
|
12768 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12769 | /* confdefs.h. */ |
|
|
12770 | _ACEOF |
|
|
12771 | cat confdefs.h >>conftest.$ac_ext |
|
|
12772 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12773 | /* end confdefs.h. */ |
|
|
12774 | $ac_includes_default |
|
|
12775 | int |
|
|
12776 | main () |
|
|
12777 | { |
|
|
12778 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
12779 | test_array [0] = 0 |
|
|
12780 | |
|
|
12781 | ; |
|
|
12782 | return 0; |
|
|
12783 | } |
|
|
12784 | _ACEOF |
|
|
12785 | rm -f conftest.$ac_objext |
|
|
12786 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12787 | (eval $ac_compile) 2>conftest.er1 |
|
|
12788 | ac_status=$? |
|
|
12789 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12790 | rm -f conftest.er1 |
|
|
12791 | cat conftest.err >&5 |
|
|
12792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12793 | (exit $ac_status); } && |
|
|
12794 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12795 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12796 | (eval $ac_try) 2>&5 |
|
|
12797 | ac_status=$? |
|
|
12798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12799 | (exit $ac_status); }; } && |
|
|
12800 | { ac_try='test -s conftest.$ac_objext' |
|
|
12801 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12802 | (eval $ac_try) 2>&5 |
|
|
12803 | ac_status=$? |
|
|
12804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12805 | (exit $ac_status); }; }; then |
|
|
12806 | ac_hi=$ac_mid; break |
|
|
12807 | else |
|
|
12808 | echo "$as_me: failed program was:" >&5 |
|
|
12809 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12810 | |
|
|
12811 | ac_lo=`expr $ac_mid + 1` |
|
|
12812 | if test $ac_lo -le $ac_mid; then |
|
|
12813 | ac_lo= ac_hi= |
|
|
12814 | break |
|
|
12815 | fi |
|
|
12816 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
12817 | fi |
|
|
12818 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12819 | done |
|
|
12820 | else |
|
|
12821 | echo "$as_me: failed program was:" >&5 |
|
|
12822 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12823 | |
|
|
12824 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12825 | /* confdefs.h. */ |
|
|
12826 | _ACEOF |
|
|
12827 | cat confdefs.h >>conftest.$ac_ext |
|
|
12828 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12829 | /* end confdefs.h. */ |
|
|
12830 | $ac_includes_default |
|
|
12831 | int |
|
|
12832 | main () |
|
|
12833 | { |
|
|
12834 | static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; |
|
|
12835 | test_array [0] = 0 |
|
|
12836 | |
|
|
12837 | ; |
|
|
12838 | return 0; |
|
|
12839 | } |
|
|
12840 | _ACEOF |
|
|
12841 | rm -f conftest.$ac_objext |
|
|
12842 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12843 | (eval $ac_compile) 2>conftest.er1 |
|
|
12844 | ac_status=$? |
|
|
12845 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12846 | rm -f conftest.er1 |
|
|
12847 | cat conftest.err >&5 |
|
|
12848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12849 | (exit $ac_status); } && |
|
|
12850 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12851 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12852 | (eval $ac_try) 2>&5 |
|
|
12853 | ac_status=$? |
|
|
12854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12855 | (exit $ac_status); }; } && |
|
|
12856 | { ac_try='test -s conftest.$ac_objext' |
|
|
12857 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12858 | (eval $ac_try) 2>&5 |
|
|
12859 | ac_status=$? |
|
|
12860 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12861 | (exit $ac_status); }; }; then |
|
|
12862 | ac_hi=-1 ac_mid=-1 |
|
|
12863 | while :; do |
|
|
12864 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12865 | /* confdefs.h. */ |
|
|
12866 | _ACEOF |
|
|
12867 | cat confdefs.h >>conftest.$ac_ext |
|
|
12868 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12869 | /* end confdefs.h. */ |
|
|
12870 | $ac_includes_default |
|
|
12871 | int |
|
|
12872 | main () |
|
|
12873 | { |
|
|
12874 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; |
|
|
12875 | test_array [0] = 0 |
|
|
12876 | |
|
|
12877 | ; |
|
|
12878 | return 0; |
|
|
12879 | } |
|
|
12880 | _ACEOF |
|
|
12881 | rm -f conftest.$ac_objext |
|
|
12882 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12883 | (eval $ac_compile) 2>conftest.er1 |
|
|
12884 | ac_status=$? |
|
|
12885 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12886 | rm -f conftest.er1 |
|
|
12887 | cat conftest.err >&5 |
|
|
12888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12889 | (exit $ac_status); } && |
|
|
12890 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12891 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12892 | (eval $ac_try) 2>&5 |
|
|
12893 | ac_status=$? |
|
|
12894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12895 | (exit $ac_status); }; } && |
|
|
12896 | { ac_try='test -s conftest.$ac_objext' |
|
|
12897 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12898 | (eval $ac_try) 2>&5 |
|
|
12899 | ac_status=$? |
|
|
12900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12901 | (exit $ac_status); }; }; then |
|
|
12902 | ac_lo=$ac_mid; break |
|
|
12903 | else |
|
|
12904 | echo "$as_me: failed program was:" >&5 |
|
|
12905 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12906 | |
|
|
12907 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
12908 | if test $ac_mid -le $ac_hi; then |
|
|
12909 | ac_lo= ac_hi= |
|
|
12910 | break |
|
|
12911 | fi |
|
|
12912 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
12913 | fi |
|
|
12914 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12915 | done |
|
|
12916 | else |
|
|
12917 | echo "$as_me: failed program was:" >&5 |
|
|
12918 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12919 | |
|
|
12920 | ac_lo= ac_hi= |
|
|
12921 | fi |
|
|
12922 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12923 | fi |
|
|
12924 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12925 | # Binary search between lo and hi bounds. |
|
|
12926 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
12927 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
12928 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12929 | /* confdefs.h. */ |
|
|
12930 | _ACEOF |
|
|
12931 | cat confdefs.h >>conftest.$ac_ext |
|
|
12932 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12933 | /* end confdefs.h. */ |
|
|
12934 | $ac_includes_default |
|
|
12935 | int |
|
|
12936 | main () |
|
|
12937 | { |
|
|
12938 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
12939 | test_array [0] = 0 |
|
|
12940 | |
|
|
12941 | ; |
|
|
12942 | return 0; |
|
|
12943 | } |
|
|
12944 | _ACEOF |
|
|
12945 | rm -f conftest.$ac_objext |
|
|
12946 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12947 | (eval $ac_compile) 2>conftest.er1 |
|
|
12948 | ac_status=$? |
|
|
12949 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12950 | rm -f conftest.er1 |
|
|
12951 | cat conftest.err >&5 |
|
|
12952 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12953 | (exit $ac_status); } && |
|
|
12954 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12955 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12956 | (eval $ac_try) 2>&5 |
|
|
12957 | ac_status=$? |
|
|
12958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12959 | (exit $ac_status); }; } && |
|
|
12960 | { ac_try='test -s conftest.$ac_objext' |
|
|
12961 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12962 | (eval $ac_try) 2>&5 |
|
|
12963 | ac_status=$? |
|
|
12964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12965 | (exit $ac_status); }; }; then |
|
|
12966 | ac_hi=$ac_mid |
|
|
12967 | else |
|
|
12968 | echo "$as_me: failed program was:" >&5 |
|
|
12969 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12970 | |
|
|
12971 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
12972 | fi |
|
|
12973 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12974 | done |
|
|
12975 | case $ac_lo in |
|
|
12976 | ?*) ac_cv_sizeof_long=$ac_lo;; |
|
|
12977 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
12978 | See \`config.log' for more details." >&5 |
|
|
12979 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
12980 | See \`config.log' for more details." >&2;} |
|
|
12981 | { (exit 1); exit 1; }; } ;; |
|
|
12982 | esac |
|
|
12983 | else |
|
|
12984 | if test "$cross_compiling" = yes; then |
|
|
12985 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
12986 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
12987 | { (exit 1); exit 1; }; } |
|
|
12988 | else |
|
|
12989 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12990 | /* confdefs.h. */ |
|
|
12991 | _ACEOF |
|
|
12992 | cat confdefs.h >>conftest.$ac_ext |
|
|
12993 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12994 | /* end confdefs.h. */ |
|
|
12995 | $ac_includes_default |
|
|
12996 | long longval () { return (long) (sizeof (long)); } |
|
|
12997 | unsigned long ulongval () { return (long) (sizeof (long)); } |
|
|
12998 | #include <stdio.h> |
|
|
12999 | #include <stdlib.h> |
|
|
13000 | int |
|
|
13001 | main () |
|
|
13002 | { |
|
|
13003 | |
|
|
13004 | FILE *f = fopen ("conftest.val", "w"); |
|
|
13005 | if (! f) |
|
|
13006 | exit (1); |
|
|
13007 | if (((long) (sizeof (long))) < 0) |
|
|
13008 | { |
|
|
13009 | long i = longval (); |
|
|
13010 | if (i != ((long) (sizeof (long)))) |
|
|
13011 | exit (1); |
|
|
13012 | fprintf (f, "%ld\n", i); |
|
|
13013 | } |
|
|
13014 | else |
|
|
13015 | { |
|
|
13016 | unsigned long i = ulongval (); |
|
|
13017 | if (i != ((long) (sizeof (long)))) |
|
|
13018 | exit (1); |
|
|
13019 | fprintf (f, "%lu\n", i); |
|
|
13020 | } |
|
|
13021 | exit (ferror (f) || fclose (f) != 0); |
|
|
13022 | |
|
|
13023 | ; |
|
|
13024 | return 0; |
|
|
13025 | } |
|
|
13026 | _ACEOF |
|
|
13027 | rm -f conftest$ac_exeext |
|
|
13028 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13029 | (eval $ac_link) 2>&5 |
|
|
13030 | ac_status=$? |
|
|
13031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13032 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
13033 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13034 | (eval $ac_try) 2>&5 |
|
|
13035 | ac_status=$? |
|
|
13036 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13037 | (exit $ac_status); }; }; then |
|
|
13038 | ac_cv_sizeof_long=`cat conftest.val` |
|
|
13039 | else |
|
|
13040 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
13041 | echo "$as_me: failed program was:" >&5 |
|
|
13042 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13043 | |
|
|
13044 | ( exit $ac_status ) |
|
|
13045 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13046 | See \`config.log' for more details." >&5 |
|
|
13047 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13048 | See \`config.log' for more details." >&2;} |
|
|
13049 | { (exit 1); exit 1; }; } |
|
|
13050 | fi |
|
|
13051 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
13052 | fi |
|
|
13053 | fi |
|
|
13054 | rm -f conftest.val |
|
|
13055 | else |
|
|
13056 | ac_cv_sizeof_long=0 |
|
|
13057 | fi |
|
|
13058 | fi |
|
|
13059 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
|
|
13060 | echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
|
|
13061 | cat >>confdefs.h <<_ACEOF |
|
|
13062 | #define SIZEOF_LONG $ac_cv_sizeof_long |
|
|
13063 | _ACEOF |
12611 | _ACEOF |
13064 | |
12612 | |
13065 | |
12613 | |
13066 | echo "$as_me:$LINENO: checking for long long" >&5 |
12614 | echo "$as_me:$LINENO: checking for long long" >&5 |
13067 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
12615 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
… | |
… | |
15799 | /* confdefs.h. */ |
15347 | /* confdefs.h. */ |
15800 | _ACEOF |
15348 | _ACEOF |
15801 | cat confdefs.h >>conftest.$ac_ext |
15349 | cat confdefs.h >>conftest.$ac_ext |
15802 | cat >>conftest.$ac_ext <<_ACEOF |
15350 | cat >>conftest.$ac_ext <<_ACEOF |
15803 | /* end confdefs.h. */ |
15351 | /* end confdefs.h. */ |
15804 | #include <locale.h> |
15352 | #include <clocale> |
15805 | int |
15353 | int |
15806 | main () |
15354 | main () |
15807 | { |
15355 | { |
15808 | setlocale(LC_CTYPE, ""); |
15356 | setlocale(LC_CTYPE, ""); |
15809 | ; |
15357 | ; |
… | |
… | |
15910 | #define HAVE_NL_LANGINFO 1 |
15458 | #define HAVE_NL_LANGINFO 1 |
15911 | _ACEOF |
15459 | _ACEOF |
15912 | |
15460 | |
15913 | fi |
15461 | fi |
15914 | |
15462 | |
|
|
15463 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
15464 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
|
|
15465 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
15466 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
15467 | else |
|
|
15468 | cat >conftest.$ac_ext <<_ACEOF |
|
|
15469 | |
|
|
15470 | #include <X11/Xlib.h> |
|
|
15471 | |
|
|
15472 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
15473 | |
|
|
15474 | void f() { |
|
|
15475 | XIMCallback cb; |
|
|
15476 | cb.callback = im_destroy_cb; |
|
|
15477 | } |
|
|
15478 | |
|
|
15479 | _ACEOF |
|
|
15480 | rm -f conftest.$ac_objext |
|
|
15481 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
15482 | (eval $ac_compile) 2>conftest.er1 |
|
|
15483 | ac_status=$? |
|
|
15484 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
15485 | rm -f conftest.er1 |
|
|
15486 | cat conftest.err >&5 |
|
|
15487 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15488 | (exit $ac_status); } && |
|
|
15489 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
15490 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15491 | (eval $ac_try) 2>&5 |
|
|
15492 | ac_status=$? |
|
|
15493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15494 | (exit $ac_status); }; } && |
|
|
15495 | { ac_try='test -s conftest.$ac_objext' |
|
|
15496 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15497 | (eval $ac_try) 2>&5 |
|
|
15498 | ac_status=$? |
|
|
15499 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15500 | (exit $ac_status); }; }; then |
|
|
15501 | rxvt_broken_ximcb=yes |
|
|
15502 | else |
|
|
15503 | echo "$as_me: failed program was:" >&5 |
|
|
15504 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
15505 | |
|
|
15506 | rxvt_broken_ximcb=no |
|
|
15507 | fi |
|
|
15508 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
15509 | fi |
|
|
15510 | echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
15511 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6 |
|
|
15512 | |
|
|
15513 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
15514 | |
|
|
15515 | cat >>confdefs.h <<\_ACEOF |
|
|
15516 | #define XIMCB_PROTO_BROKEN 1 |
|
|
15517 | _ACEOF |
|
|
15518 | |
|
|
15519 | fi |
|
|
15520 | |
15915 | echo "$as_me:$LINENO: checking for getpt" >&5 |
15521 | echo "$as_me:$LINENO: checking for getpt" >&5 |
15916 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
15522 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
15917 | if test "${rxvt_cv_func_getpt+set}" = set; then |
15523 | if test "${rxvt_cv_func_getpt+set}" = set; then |
15918 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15524 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15919 | else |
15525 | else |
… | |
… | |
15923 | cat confdefs.h >>conftest.$ac_ext |
15529 | cat confdefs.h >>conftest.$ac_ext |
15924 | cat >>conftest.$ac_ext <<_ACEOF |
15530 | cat >>conftest.$ac_ext <<_ACEOF |
15925 | /* end confdefs.h. */ |
15531 | /* end confdefs.h. */ |
15926 | #define _GNU_SOURCE |
15532 | #define _GNU_SOURCE |
15927 | #ifdef HAVE_STDLIB_H |
15533 | #ifdef HAVE_STDLIB_H |
15928 | # include <stdlib.h> |
15534 | # include <cstdlib> |
15929 | #endif |
15535 | #endif |
15930 | int |
15536 | int |
15931 | main () |
15537 | main () |
15932 | { |
15538 | { |
15933 | (void)getpt(); |
15539 | (void)getpt(); |
… | |
… | |
16096 | |
15702 | |
16097 | cat >>confdefs.h <<_ACEOF |
15703 | cat >>confdefs.h <<_ACEOF |
16098 | #define PTYCHAR2 "$pch2" |
15704 | #define PTYCHAR2 "$pch2" |
16099 | _ACEOF |
15705 | _ACEOF |
16100 | |
15706 | |
16101 | fi |
|
|
16102 | |
|
|
16103 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
|
|
16104 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
|
|
16105 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
|
|
16106 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
16107 | else |
|
|
16108 | ac_check_lib_save_LIBS=$LIBS |
|
|
16109 | LIBS="-lxpg4 $LIBS" |
|
|
16110 | cat >conftest.$ac_ext <<_ACEOF |
|
|
16111 | /* confdefs.h. */ |
|
|
16112 | _ACEOF |
|
|
16113 | cat confdefs.h >>conftest.$ac_ext |
|
|
16114 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
16115 | /* end confdefs.h. */ |
|
|
16116 | |
|
|
16117 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
16118 | #ifdef __cplusplus |
|
|
16119 | extern "C" |
|
|
16120 | #endif |
|
|
16121 | /* We use char because int might match the return type of a gcc2 |
|
|
16122 | builtin and then its argument prototype would still apply. */ |
|
|
16123 | char setlocale (); |
|
|
16124 | int |
|
|
16125 | main () |
|
|
16126 | { |
|
|
16127 | setlocale (); |
|
|
16128 | ; |
|
|
16129 | return 0; |
|
|
16130 | } |
|
|
16131 | _ACEOF |
|
|
16132 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
16133 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
16134 | (eval $ac_link) 2>conftest.er1 |
|
|
16135 | ac_status=$? |
|
|
16136 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
16137 | rm -f conftest.er1 |
|
|
16138 | cat conftest.err >&5 |
|
|
16139 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16140 | (exit $ac_status); } && |
|
|
16141 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
16142 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16143 | (eval $ac_try) 2>&5 |
|
|
16144 | ac_status=$? |
|
|
16145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16146 | (exit $ac_status); }; } && |
|
|
16147 | { ac_try='test -s conftest$ac_exeext' |
|
|
16148 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16149 | (eval $ac_try) 2>&5 |
|
|
16150 | ac_status=$? |
|
|
16151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16152 | (exit $ac_status); }; }; then |
|
|
16153 | ac_cv_lib_xpg4_setlocale=yes |
|
|
16154 | else |
|
|
16155 | echo "$as_me: failed program was:" >&5 |
|
|
16156 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
16157 | |
|
|
16158 | ac_cv_lib_xpg4_setlocale=no |
|
|
16159 | fi |
|
|
16160 | rm -f conftest.err conftest.$ac_objext \ |
|
|
16161 | conftest$ac_exeext conftest.$ac_ext |
|
|
16162 | LIBS=$ac_check_lib_save_LIBS |
|
|
16163 | fi |
|
|
16164 | echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5 |
|
|
16165 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
|
|
16166 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
|
|
16167 | LIBS="$LIBS -lxpg4" |
|
|
16168 | fi |
|
|
16169 | |
|
|
16170 | |
|
|
16171 | if test x$support_inheritpixmap = xyes; then |
|
|
16172 | |
|
|
16173 | cat >>confdefs.h <<\_ACEOF |
|
|
16174 | #define TRANSPARENT 1 |
|
|
16175 | _ACEOF |
|
|
16176 | |
|
|
16177 | fi |
|
|
16178 | if test x$support_keepscrolling = xno; then |
|
|
16179 | |
|
|
16180 | cat >>confdefs.h <<\_ACEOF |
|
|
16181 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
16182 | _ACEOF |
|
|
16183 | |
|
|
16184 | fi |
|
|
16185 | if test x$support_selectionscrolling = xyes; then |
|
|
16186 | |
|
|
16187 | cat >>confdefs.h <<\_ACEOF |
|
|
16188 | #define SELECTION_SCROLLING 1 |
|
|
16189 | _ACEOF |
|
|
16190 | |
|
|
16191 | fi |
|
|
16192 | if test x$support_menubar = xyes; then |
|
|
16193 | |
|
|
16194 | cat >>confdefs.h <<\_ACEOF |
|
|
16195 | #define MENUBAR 1 |
|
|
16196 | _ACEOF |
|
|
16197 | |
|
|
16198 | fi |
|
|
16199 | if test x$support_frills = xno; then |
|
|
16200 | |
|
|
16201 | cat >>confdefs.h <<\_ACEOF |
|
|
16202 | #define NO_FRILLS 1 |
|
|
16203 | _ACEOF |
|
|
16204 | |
|
|
16205 | fi |
|
|
16206 | if test x$support_linespace = xno; then |
|
|
16207 | |
|
|
16208 | cat >>confdefs.h <<\_ACEOF |
|
|
16209 | #define NO_LINESPACE 1 |
|
|
16210 | _ACEOF |
|
|
16211 | |
|
|
16212 | fi |
|
|
16213 | if test x$support_24bit = xyes; then |
|
|
16214 | |
|
|
16215 | cat >>confdefs.h <<\_ACEOF |
|
|
16216 | #define PREFER_24BIT 1 |
|
|
16217 | _ACEOF |
|
|
16218 | |
|
|
16219 | fi |
|
|
16220 | if test x$support_mousewheel = xyes; then |
|
|
16221 | |
|
|
16222 | cat >>confdefs.h <<\_ACEOF |
|
|
16223 | #define MOUSE_WHEEL 1 |
|
|
16224 | _ACEOF |
|
|
16225 | |
|
|
16226 | fi |
|
|
16227 | if test x$support_mouseslipwheel = xyes; then |
|
|
16228 | |
|
|
16229 | cat >>confdefs.h <<\_ACEOF |
|
|
16230 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16231 | _ACEOF |
|
|
16232 | |
|
|
16233 | fi |
|
|
16234 | if test x$support_oldselection = xno; then |
|
|
16235 | |
|
|
16236 | cat >>confdefs.h <<\_ACEOF |
|
|
16237 | #define NO_OLD_SELECTION 1 |
|
|
16238 | _ACEOF |
|
|
16239 | |
|
|
16240 | fi |
|
|
16241 | if test x$support_utmp = xyes; then |
|
|
16242 | |
|
|
16243 | cat >>confdefs.h <<\_ACEOF |
|
|
16244 | #define UTMP_SUPPORT 1 |
|
|
16245 | _ACEOF |
|
|
16246 | |
|
|
16247 | fi |
|
|
16248 | if test x$support_wtmp = xyes; then |
|
|
16249 | |
|
|
16250 | cat >>confdefs.h <<\_ACEOF |
|
|
16251 | #define WTMP_SUPPORT 1 |
|
|
16252 | _ACEOF |
|
|
16253 | |
|
|
16254 | fi |
|
|
16255 | if test x$support_lastlog = xyes; then |
|
|
16256 | |
|
|
16257 | cat >>confdefs.h <<\_ACEOF |
|
|
16258 | #define LASTLOG_SUPPORT 1 |
|
|
16259 | _ACEOF |
|
|
16260 | |
|
|
16261 | fi |
|
|
16262 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16263 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16264 | |
|
|
16265 | cat >>confdefs.h <<\_ACEOF |
|
|
16266 | #define USE_XIM 1 |
|
|
16267 | _ACEOF |
|
|
16268 | |
|
|
16269 | fi |
|
|
16270 | fi |
|
|
16271 | if test x$support_xpm = xyes; then |
|
|
16272 | |
|
|
16273 | cat >>confdefs.h <<\_ACEOF |
|
|
16274 | #define XPM_BACKGROUND 1 |
|
|
16275 | _ACEOF |
|
|
16276 | |
|
|
16277 | fi |
|
|
16278 | if test x$support_scroll_rxvt = xyes; then |
|
|
16279 | |
|
|
16280 | cat >>confdefs.h <<\_ACEOF |
|
|
16281 | #define RXVT_SCROLLBAR 1 |
|
|
16282 | _ACEOF |
|
|
16283 | |
|
|
16284 | scrolltypes="rxvt" |
|
|
16285 | fi |
|
|
16286 | if test x$support_scroll_next = xyes; then |
|
|
16287 | |
|
|
16288 | cat >>confdefs.h <<\_ACEOF |
|
|
16289 | #define NEXT_SCROLLBAR 1 |
|
|
16290 | _ACEOF |
|
|
16291 | |
|
|
16292 | scrolltypes="$scrolltypes next" |
|
|
16293 | fi |
|
|
16294 | if test x$support_scroll_xterm = xyes; then |
|
|
16295 | |
|
|
16296 | cat >>confdefs.h <<\_ACEOF |
|
|
16297 | #define XTERM_SCROLLBAR 1 |
|
|
16298 | _ACEOF |
|
|
16299 | |
|
|
16300 | scrolltypes="$scrolltypes xterm" |
|
|
16301 | fi |
|
|
16302 | if test x$support_scroll_plain = xyes; then |
|
|
16303 | |
|
|
16304 | cat >>confdefs.h <<\_ACEOF |
|
|
16305 | #define PLAIN_SCROLLBAR 1 |
|
|
16306 | _ACEOF |
|
|
16307 | |
|
|
16308 | scrolltypes="$scrolltypes plain" |
|
|
16309 | fi |
|
|
16310 | if test x$support_pointer_blank = xyes; then |
|
|
16311 | |
|
|
16312 | cat >>confdefs.h <<\_ACEOF |
|
|
16313 | #define POINTER_BLANK 1 |
|
|
16314 | _ACEOF |
|
|
16315 | |
|
|
16316 | fi |
|
|
16317 | if test x$support_cursor_blink = xyes; then |
|
|
16318 | |
|
|
16319 | cat >>confdefs.h <<\_ACEOF |
|
|
16320 | #define CURSOR_BLINK 1 |
|
|
16321 | _ACEOF |
|
|
16322 | |
|
|
16323 | fi |
|
|
16324 | if test x$support_text_blink = xyes; then |
|
|
16325 | |
|
|
16326 | cat >>confdefs.h <<\_ACEOF |
|
|
16327 | #define TEXT_BLINK 1 |
|
|
16328 | _ACEOF |
|
|
16329 | |
|
|
16330 | fi |
|
|
16331 | if test x$support_unicode3 = xyes; then |
|
|
16332 | |
|
|
16333 | cat >>confdefs.h <<\_ACEOF |
|
|
16334 | #define UNICODE_3 1 |
|
|
16335 | _ACEOF |
|
|
16336 | |
|
|
16337 | fi |
|
|
16338 | if test x$codesets = xall; then |
|
|
16339 | codesets=jp,jp-ext,kr,cn,cn-ext,vn |
|
|
16340 | fi |
|
|
16341 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16342 | |
|
|
16343 | cat >>confdefs.h <<\_ACEOF |
|
|
16344 | #define ENCODING_EU 1 |
|
|
16345 | _ACEOF |
|
|
16346 | |
|
|
16347 | |
|
|
16348 | cat >>confdefs.h <<\_ACEOF |
|
|
16349 | #define ENCODING_VN 1 |
|
|
16350 | _ACEOF |
|
|
16351 | |
|
|
16352 | case "$codeset" in |
|
|
16353 | JP ) |
|
|
16354 | cat >>confdefs.h <<\_ACEOF |
|
|
16355 | #define ENCODING_JP 1 |
|
|
16356 | _ACEOF |
|
|
16357 | ;; |
|
|
16358 | JP_EXT ) |
|
|
16359 | cat >>confdefs.h <<\_ACEOF |
|
|
16360 | #define ENCODING_JP_EXT 1 |
|
|
16361 | _ACEOF |
|
|
16362 | ;; |
|
|
16363 | KR ) |
|
|
16364 | cat >>confdefs.h <<\_ACEOF |
|
|
16365 | #define ENCODING_KR 1 |
|
|
16366 | _ACEOF |
|
|
16367 | ;; |
|
|
16368 | CN ) |
|
|
16369 | cat >>confdefs.h <<\_ACEOF |
|
|
16370 | #define ENCODING_CN 1 |
|
|
16371 | _ACEOF |
|
|
16372 | ;; |
|
|
16373 | CN_EXT ) |
|
|
16374 | cat >>confdefs.h <<\_ACEOF |
|
|
16375 | #define ENCODING_CN_EXT 1 |
|
|
16376 | _ACEOF |
|
|
16377 | ;; |
|
|
16378 | esac |
|
|
16379 | done |
|
|
16380 | |
|
|
16381 | |
|
|
16382 | CFLAGS=${CFLAGS--O} |
|
|
16383 | LDFLAGS=${LDFLAGS--O} |
|
|
16384 | |
|
|
16385 | CPPFLAGS="$CPPFLAGS" |
|
|
16386 | |
|
|
16387 | |
|
|
16388 | |
|
|
16389 | |
|
|
16390 | |
|
|
16391 | |
|
|
16392 | |
|
|
16393 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
16394 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16395 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
16396 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
16397 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
16398 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
16399 | fi |
|
|
16400 | |
|
|
16401 | |
|
|
16402 | |
|
|
16403 | |
|
|
16404 | |
|
|
16405 | if test x$support_addstrings = xno; then |
|
|
16406 | |
|
|
16407 | cat >>confdefs.h <<\_ACEOF |
|
|
16408 | #define NO_STRINGS 1 |
|
|
16409 | _ACEOF |
|
|
16410 | |
|
|
16411 | fi |
|
|
16412 | |
|
|
16413 | MCOMMON=./autoconf/Make.common |
|
|
16414 | |
|
|
16415 | |
|
|
16416 | test "$program_prefix" != NONE && |
|
|
16417 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16418 | # Use a double $ so make ignores it. |
|
|
16419 | test "$program_suffix" != NONE && |
|
|
16420 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
16421 | # Double any \ or $. echo might interpret backslashes. |
|
|
16422 | # By default was `s,x,x', remove it if useless. |
|
|
16423 | cat <<\_ACEOF >conftest.sed |
|
|
16424 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16425 | _ACEOF |
|
|
16426 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16427 | rm conftest.sed |
|
|
16428 | |
|
|
16429 | |
|
|
16430 | RXVTNAME=`echo rxvt|sed "$program_transform_name"` |
|
|
16431 | |
|
|
16432 | |
|
|
16433 | |
|
|
16434 | |
|
|
16435 | |
|
|
16436 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16437 | include_stdint_h="#include <stdint.h>" |
|
|
16438 | else |
|
|
16439 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16440 | fi |
|
|
16441 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16442 | include_stdarg_h="#include <stdarg.h>" |
|
|
16443 | else |
|
|
16444 | include_stdarg_h="/* #include <stdarg.h> */" |
|
|
16445 | fi |
|
|
16446 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16447 | include_stdlib_h="#include <stdlib.h>" |
|
|
16448 | else |
|
|
16449 | include_stdlib_h="/* #include <stdlib.h> */" |
|
|
16450 | fi |
|
|
16451 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16452 | include_unistd_h="#include <unistd.h>" |
|
|
16453 | else |
|
|
16454 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16455 | fi |
|
|
16456 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16457 | include_string_h="#include <string.h>" |
|
|
16458 | else |
|
|
16459 | include_string_h="/* #include <string.h> */" |
|
|
16460 | fi |
|
|
16461 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16462 | include_fcntl_h="#include <fcntl.h>" |
|
|
16463 | else |
|
|
16464 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16465 | fi |
|
|
16466 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16467 | include_util_h="#include <util.h>" |
|
|
16468 | else |
|
|
16469 | include_util_h="/* #include <util.h> */" |
|
|
16470 | fi |
|
|
16471 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16472 | include_assert_h="#include <assert.h>" |
|
|
16473 | else |
|
|
16474 | include_assert_h="/* #include <assert.h> */" |
|
|
16475 | fi |
|
|
16476 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16477 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16478 | else |
|
|
16479 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16480 | fi |
|
|
16481 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16482 | include_sys_select_h="#include <sys/select.h>" |
|
|
16483 | else |
|
|
16484 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16485 | fi |
|
|
16486 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16487 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16488 | else |
|
|
16489 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16490 | fi |
|
|
16491 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16492 | include_sys_time_h="#include <sys/time.h>" |
|
|
16493 | else |
|
|
16494 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16495 | fi |
|
|
16496 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16497 | include_time_h="#include <time.h>" |
|
|
16498 | else |
|
|
16499 | include_time_h="/* #include <time.h> */" |
|
|
16500 | fi |
15707 | fi |
16501 | |
15708 | |
16502 | if test x$support_xft = xyes; then |
15709 | if test x$support_xft = xyes; then |
16503 | LIBS="$LIBS `pkg-config xft --libs`" |
15710 | LIBS="$LIBS `pkg-config xft --libs`" |
16504 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
15711 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
… | |
… | |
16737 | #define XFT 1 |
15944 | #define XFT 1 |
16738 | _ACEOF |
15945 | _ACEOF |
16739 | |
15946 | |
16740 | fi |
15947 | fi |
16741 | fi |
15948 | fi |
|
|
15949 | if test x$support_styles = xyes; then |
16742 | |
15950 | |
|
|
15951 | cat >>confdefs.h <<\_ACEOF |
|
|
15952 | #define ENABLE_STYLES 1 |
|
|
15953 | _ACEOF |
|
|
15954 | |
|
|
15955 | fi |
|
|
15956 | if test x$support_iso14755 = xyes; then |
|
|
15957 | |
|
|
15958 | cat >>confdefs.h <<\_ACEOF |
|
|
15959 | #define ISO_14755 1 |
|
|
15960 | _ACEOF |
|
|
15961 | |
|
|
15962 | fi |
|
|
15963 | if test x$support_8bitctrls = xyes; then |
|
|
15964 | |
|
|
15965 | cat >>confdefs.h <<\_ACEOF |
|
|
15966 | #define EIGHT_BIT_CONTROLS 1 |
|
|
15967 | _ACEOF |
|
|
15968 | |
|
|
15969 | fi |
|
|
15970 | if test x$support_fading = xyes; then |
|
|
15971 | |
|
|
15972 | cat >>confdefs.h <<\_ACEOF |
|
|
15973 | #define OFF_FOCUS_FADING 1 |
|
|
15974 | _ACEOF |
|
|
15975 | |
|
|
15976 | fi |
|
|
15977 | if test x$support_tinting = xyes; then |
|
|
15978 | |
|
|
15979 | cat >>confdefs.h <<\_ACEOF |
|
|
15980 | #define TINTING 1 |
|
|
15981 | _ACEOF |
|
|
15982 | |
|
|
15983 | fi |
|
|
15984 | if test x$support_inheritpixmap = xyes; then |
|
|
15985 | |
|
|
15986 | cat >>confdefs.h <<\_ACEOF |
|
|
15987 | #define TRANSPARENT 1 |
|
|
15988 | _ACEOF |
|
|
15989 | |
|
|
15990 | fi |
|
|
15991 | if test x$support_keepscrolling = xno; then |
|
|
15992 | |
|
|
15993 | cat >>confdefs.h <<\_ACEOF |
|
|
15994 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
15995 | _ACEOF |
|
|
15996 | |
|
|
15997 | fi |
|
|
15998 | if test x$support_selectionscrolling = xyes; then |
|
|
15999 | |
|
|
16000 | cat >>confdefs.h <<\_ACEOF |
|
|
16001 | #define SELECTION_SCROLLING 1 |
|
|
16002 | _ACEOF |
|
|
16003 | |
|
|
16004 | fi |
|
|
16005 | if test x$support_menubar = xyes; then |
|
|
16006 | |
|
|
16007 | cat >>confdefs.h <<\_ACEOF |
|
|
16008 | #define MENUBAR 1 |
|
|
16009 | _ACEOF |
|
|
16010 | |
|
|
16011 | fi |
|
|
16012 | if test x$support_frills = xyes; then |
|
|
16013 | |
|
|
16014 | cat >>confdefs.h <<\_ACEOF |
|
|
16015 | #define ENABLE_FRILLS 1 |
|
|
16016 | _ACEOF |
|
|
16017 | |
|
|
16018 | fi |
|
|
16019 | if test x$support_24bit = xyes; then |
|
|
16020 | |
|
|
16021 | cat >>confdefs.h <<\_ACEOF |
|
|
16022 | #define PREFER_24BIT 1 |
|
|
16023 | _ACEOF |
|
|
16024 | |
|
|
16025 | fi |
|
|
16026 | if test x$support_mousewheel = xyes; then |
|
|
16027 | |
|
|
16028 | cat >>confdefs.h <<\_ACEOF |
|
|
16029 | #define MOUSE_WHEEL 1 |
|
|
16030 | _ACEOF |
|
|
16031 | |
|
|
16032 | fi |
|
|
16033 | if test x$support_mouseslipwheel = xyes; then |
|
|
16034 | |
|
|
16035 | cat >>confdefs.h <<\_ACEOF |
|
|
16036 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16037 | _ACEOF |
|
|
16038 | |
|
|
16039 | fi |
|
|
16040 | if test x$support_utmp = xyes; then |
|
|
16041 | |
|
|
16042 | cat >>confdefs.h <<\_ACEOF |
|
|
16043 | #define UTMP_SUPPORT 1 |
|
|
16044 | _ACEOF |
|
|
16045 | |
|
|
16046 | fi |
|
|
16047 | if test x$support_wtmp = xyes; then |
|
|
16048 | |
|
|
16049 | cat >>confdefs.h <<\_ACEOF |
|
|
16050 | #define WTMP_SUPPORT 1 |
|
|
16051 | _ACEOF |
|
|
16052 | |
|
|
16053 | fi |
|
|
16054 | if test x$support_lastlog = xyes; then |
|
|
16055 | |
|
|
16056 | cat >>confdefs.h <<\_ACEOF |
|
|
16057 | #define LASTLOG_SUPPORT 1 |
|
|
16058 | _ACEOF |
|
|
16059 | |
|
|
16060 | fi |
|
|
16061 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16062 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16063 | |
|
|
16064 | cat >>confdefs.h <<\_ACEOF |
|
|
16065 | #define USE_XIM 1 |
|
|
16066 | _ACEOF |
|
|
16067 | |
|
|
16068 | fi |
|
|
16069 | fi |
|
|
16070 | if test x$support_xpm = xyes; then |
|
|
16071 | |
|
|
16072 | cat >>confdefs.h <<\_ACEOF |
|
|
16073 | #define XPM_BACKGROUND 1 |
|
|
16074 | _ACEOF |
|
|
16075 | |
|
|
16076 | fi |
|
|
16077 | if test x$support_scroll_rxvt = xyes; then |
|
|
16078 | |
|
|
16079 | cat >>confdefs.h <<\_ACEOF |
|
|
16080 | #define RXVT_SCROLLBAR 1 |
|
|
16081 | _ACEOF |
|
|
16082 | |
|
|
16083 | scrolltypes="rxvt" |
|
|
16084 | fi |
|
|
16085 | if test x$support_scroll_next = xyes; then |
|
|
16086 | |
|
|
16087 | cat >>confdefs.h <<\_ACEOF |
|
|
16088 | #define NEXT_SCROLLBAR 1 |
|
|
16089 | _ACEOF |
|
|
16090 | |
|
|
16091 | scrolltypes="$scrolltypes next" |
|
|
16092 | fi |
|
|
16093 | if test x$support_scroll_xterm = xyes; then |
|
|
16094 | |
|
|
16095 | cat >>confdefs.h <<\_ACEOF |
|
|
16096 | #define XTERM_SCROLLBAR 1 |
|
|
16097 | _ACEOF |
|
|
16098 | |
|
|
16099 | scrolltypes="$scrolltypes xterm" |
|
|
16100 | fi |
|
|
16101 | if test x$support_scroll_plain = xyes; then |
|
|
16102 | |
|
|
16103 | cat >>confdefs.h <<\_ACEOF |
|
|
16104 | #define PLAIN_SCROLLBAR 1 |
|
|
16105 | _ACEOF |
|
|
16106 | |
|
|
16107 | scrolltypes="$scrolltypes plain" |
|
|
16108 | fi |
|
|
16109 | if test x$support_pointer_blank = xyes; then |
|
|
16110 | |
|
|
16111 | cat >>confdefs.h <<\_ACEOF |
|
|
16112 | #define POINTER_BLANK 1 |
|
|
16113 | _ACEOF |
|
|
16114 | |
|
|
16115 | fi |
|
|
16116 | if test x$support_cursor_blink = xyes; then |
|
|
16117 | |
|
|
16118 | cat >>confdefs.h <<\_ACEOF |
|
|
16119 | #define CURSOR_BLINK 1 |
|
|
16120 | _ACEOF |
|
|
16121 | |
|
|
16122 | fi |
|
|
16123 | if test x$support_text_blink = xyes; then |
|
|
16124 | |
|
|
16125 | cat >>confdefs.h <<\_ACEOF |
|
|
16126 | #define TEXT_BLINK 1 |
|
|
16127 | _ACEOF |
|
|
16128 | |
|
|
16129 | fi |
|
|
16130 | if test x$support_unicode3 = xyes; then |
|
|
16131 | |
|
|
16132 | cat >>confdefs.h <<\_ACEOF |
|
|
16133 | #define UNICODE_3 1 |
|
|
16134 | _ACEOF |
|
|
16135 | |
|
|
16136 | fi |
|
|
16137 | if test x$support_combining = xyes; then |
|
|
16138 | |
|
|
16139 | cat >>confdefs.h <<\_ACEOF |
|
|
16140 | #define ENABLE_COMBINING 1 |
|
|
16141 | _ACEOF |
|
|
16142 | |
|
|
16143 | fi |
|
|
16144 | if test x$codesets = xall; then |
|
|
16145 | codesets=jp,jp-ext,kr,zh,zh-ext |
|
|
16146 | fi |
|
|
16147 | |
|
|
16148 | cat >>confdefs.h <<\_ACEOF |
|
|
16149 | #define ENCODING_EU 1 |
|
|
16150 | _ACEOF |
|
|
16151 | |
|
|
16152 | |
|
|
16153 | cat >>confdefs.h <<\_ACEOF |
|
|
16154 | #define ENCODING_VN 1 |
|
|
16155 | _ACEOF |
|
|
16156 | |
|
|
16157 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16158 | case "$codeset" in |
|
|
16159 | JP ) |
|
|
16160 | cat >>confdefs.h <<\_ACEOF |
|
|
16161 | #define ENCODING_JP 1 |
|
|
16162 | _ACEOF |
|
|
16163 | ;; |
|
|
16164 | JP_EXT ) |
|
|
16165 | cat >>confdefs.h <<\_ACEOF |
|
|
16166 | #define ENCODING_JP_EXT 1 |
|
|
16167 | _ACEOF |
|
|
16168 | ;; |
|
|
16169 | KR ) |
|
|
16170 | cat >>confdefs.h <<\_ACEOF |
|
|
16171 | #define ENCODING_KR 1 |
|
|
16172 | _ACEOF |
|
|
16173 | ;; |
|
|
16174 | ZH ) |
|
|
16175 | cat >>confdefs.h <<\_ACEOF |
|
|
16176 | #define ENCODING_ZH 1 |
|
|
16177 | _ACEOF |
|
|
16178 | ;; |
|
|
16179 | ZH_EXT ) |
|
|
16180 | cat >>confdefs.h <<\_ACEOF |
|
|
16181 | #define ENCODING_ZH_EXT 1 |
|
|
16182 | _ACEOF |
|
|
16183 | ;; |
|
|
16184 | esac |
|
|
16185 | done |
|
|
16186 | |
|
|
16187 | |
|
|
16188 | CFLAGS=${CFLAGS--O} |
|
|
16189 | LDFLAGS=${LDFLAGS--O} |
|
|
16190 | |
|
|
16191 | CPPFLAGS="$CPPFLAGS" |
|
|
16192 | |
|
|
16193 | |
|
|
16194 | |
|
|
16195 | |
|
|
16196 | |
|
|
16197 | |
|
|
16198 | |
|
|
16199 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
16200 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16201 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
16202 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
16203 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
16204 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
16205 | fi |
|
|
16206 | |
|
|
16207 | |
|
|
16208 | |
|
|
16209 | |
|
|
16210 | |
|
|
16211 | if test x$support_addstrings = xno; then |
|
|
16212 | |
|
|
16213 | cat >>confdefs.h <<\_ACEOF |
|
|
16214 | #define NO_STRINGS 1 |
|
|
16215 | _ACEOF |
|
|
16216 | |
|
|
16217 | fi |
|
|
16218 | |
|
|
16219 | MCOMMON=./autoconf/Make.common |
|
|
16220 | |
|
|
16221 | |
|
|
16222 | test "$program_prefix" != NONE && |
|
|
16223 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16224 | # Use a double $ so make ignores it. |
|
|
16225 | test "$program_suffix" != NONE && |
|
|
16226 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
16227 | # Double any \ or $. echo might interpret backslashes. |
|
|
16228 | # By default was `s,x,x', remove it if useless. |
|
|
16229 | cat <<\_ACEOF >conftest.sed |
|
|
16230 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16231 | _ACEOF |
|
|
16232 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16233 | rm conftest.sed |
|
|
16234 | |
|
|
16235 | |
|
|
16236 | |
|
|
16237 | |
|
|
16238 | |
|
|
16239 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16240 | include_stdint_h="#include <stdint.h>" |
|
|
16241 | else |
|
|
16242 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16243 | fi |
|
|
16244 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16245 | include_stdarg_h="#include <cstdarg>" |
|
|
16246 | else |
|
|
16247 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
16248 | fi |
|
|
16249 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16250 | include_stdlib_h="#include <cstdlib>" |
|
|
16251 | else |
|
|
16252 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
16253 | fi |
|
|
16254 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16255 | include_unistd_h="#include <unistd.h>" |
|
|
16256 | else |
|
|
16257 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16258 | fi |
|
|
16259 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16260 | include_string_h="#include <cstring>" |
|
|
16261 | else |
|
|
16262 | include_string_h="/* #include <cstring> */" |
|
|
16263 | fi |
|
|
16264 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16265 | include_fcntl_h="#include <fcntl.h>" |
|
|
16266 | else |
|
|
16267 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16268 | fi |
|
|
16269 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16270 | include_util_h="#include <util.h>" |
|
|
16271 | else |
|
|
16272 | include_util_h="/* #include <util.h> */" |
|
|
16273 | fi |
|
|
16274 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16275 | include_assert_h="#include <assert.h>" |
|
|
16276 | else |
|
|
16277 | include_assert_h="/* #include <assert.h> */" |
|
|
16278 | fi |
|
|
16279 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16280 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16281 | else |
|
|
16282 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16283 | fi |
|
|
16284 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16285 | include_sys_select_h="#include <sys/select.h>" |
|
|
16286 | else |
|
|
16287 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16288 | fi |
|
|
16289 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16290 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16291 | else |
|
|
16292 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16293 | fi |
|
|
16294 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16295 | include_sys_time_h="#include <sys/time.h>" |
|
|
16296 | else |
|
|
16297 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16298 | fi |
|
|
16299 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16300 | include_time_h="#include <time.h>" |
|
|
16301 | else |
|
|
16302 | include_time_h="/* #include <time.h> */" |
|
|
16303 | fi |
|
|
16304 | |
16743 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" |
16305 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
|
|
16306 | |
16744 | cat >confcache <<\_ACEOF |
16307 | cat >confcache <<\_ACEOF |
16745 | # This file is a shell script that caches the results of configure |
16308 | # This file is a shell script that caches the results of configure |
16746 | # tests run on this system so they can be shared between configure |
16309 | # tests run on this system so they can be shared between configure |
16747 | # scripts and configure runs, see configure's option --config-cache. |
16310 | # scripts and configure runs, see configure's option --config-cache. |
16748 | # It is not useful on other systems. If it contains results you don't |
16311 | # It is not useful on other systems. If it contains results you don't |
… | |
… | |
17268 | # Handling of arguments. |
16831 | # Handling of arguments. |
17269 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
16832 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
17270 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
16833 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
17271 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
16834 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
17272 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
16835 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
17273 | "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;; |
|
|
17274 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
16836 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
17275 | "W11/Makefile" ) CONFIG_FILES="$CONFIG_FILES W11/Makefile" ;; |
|
|
17276 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
16837 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
17277 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
16838 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
17278 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
16839 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
17279 | { (exit 1); exit 1; }; };; |
16840 | { (exit 1); exit 1; }; };; |
17280 | esac |
16841 | esac |
… | |
… | |
17356 | s,@DEFS@,$DEFS,;t t |
16917 | s,@DEFS@,$DEFS,;t t |
17357 | s,@ECHO_C@,$ECHO_C,;t t |
16918 | s,@ECHO_C@,$ECHO_C,;t t |
17358 | s,@ECHO_N@,$ECHO_N,;t t |
16919 | s,@ECHO_N@,$ECHO_N,;t t |
17359 | s,@ECHO_T@,$ECHO_T,;t t |
16920 | s,@ECHO_T@,$ECHO_T,;t t |
17360 | s,@LIBS@,$LIBS,;t t |
16921 | s,@LIBS@,$LIBS,;t t |
|
|
16922 | s,@build@,$build,;t t |
|
|
16923 | s,@build_cpu@,$build_cpu,;t t |
|
|
16924 | s,@build_vendor@,$build_vendor,;t t |
|
|
16925 | s,@build_os@,$build_os,;t t |
|
|
16926 | s,@host@,$host,;t t |
|
|
16927 | s,@host_cpu@,$host_cpu,;t t |
|
|
16928 | s,@host_vendor@,$host_vendor,;t t |
|
|
16929 | s,@host_os@,$host_os,;t t |
17361 | s,@VERSION@,$VERSION,;t t |
16930 | s,@VERSION@,$VERSION,;t t |
17362 | s,@DATE@,$DATE,;t t |
16931 | s,@DATE@,$DATE,;t t |
17363 | s,@LSMDATE@,$LSMDATE,;t t |
16932 | s,@LSMDATE@,$LSMDATE,;t t |
17364 | s,@LIBVERSION@,$LIBVERSION,;t t |
16933 | s,@LIBVERSION@,$LIBVERSION,;t t |
17365 | s,@CC@,$CC,;t t |
16934 | s,@CC@,$CC,;t t |
… | |
… | |
17378 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
16947 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
17379 | s,@AWK@,$AWK,;t t |
16948 | s,@AWK@,$AWK,;t t |
17380 | s,@LINKER@,$LINKER,;t t |
16949 | s,@LINKER@,$LINKER,;t t |
17381 | s,@CXXCPP@,$CXXCPP,;t t |
16950 | s,@CXXCPP@,$CXXCPP,;t t |
17382 | s,@EGREP@,$EGREP,;t t |
16951 | s,@EGREP@,$EGREP,;t t |
17383 | s,@build@,$build,;t t |
|
|
17384 | s,@build_cpu@,$build_cpu,;t t |
|
|
17385 | s,@build_vendor@,$build_vendor,;t t |
|
|
17386 | s,@build_os@,$build_os,;t t |
|
|
17387 | s,@host@,$host,;t t |
|
|
17388 | s,@host_cpu@,$host_cpu,;t t |
|
|
17389 | s,@host_vendor@,$host_vendor,;t t |
|
|
17390 | s,@host_os@,$host_os,;t t |
|
|
17391 | s,@LN_S@,$LN_S,;t t |
16952 | s,@LN_S@,$LN_S,;t t |
17392 | s,@ECHO@,$ECHO,;t t |
16953 | s,@ECHO@,$ECHO,;t t |
17393 | s,@RANLIB@,$RANLIB,;t t |
16954 | s,@RANLIB@,$RANLIB,;t t |
17394 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
16955 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
17395 | s,@STRIP@,$STRIP,;t t |
16956 | s,@STRIP@,$STRIP,;t t |
17396 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
16957 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
17397 | s,@LIBTOOL@,$LIBTOOL,;t t |
16958 | s,@LIBTOOL@,$LIBTOOL,;t t |
17398 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
16959 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
|
|
16960 | s,@RXVTNAME@,$RXVTNAME,;t t |
17399 | s,@MV@,$MV,;t t |
16961 | s,@MV@,$MV,;t t |
17400 | s,@RM@,$RM,;t t |
16962 | s,@RM@,$RM,;t t |
17401 | s,@CP@,$CP,;t t |
16963 | s,@CP@,$CP,;t t |
17402 | s,@LN@,$LN,;t t |
16964 | s,@LN@,$LN,;t t |
17403 | s,@SED@,$SED,;t t |
16965 | s,@SED@,$SED,;t t |
17404 | s,@CMP@,$CMP,;t t |
16966 | s,@CMP@,$CMP,;t t |
17405 | s,@TBL@,$TBL,;t t |
16967 | s,@TBL@,$TBL,;t t |
|
|
16968 | s,@TIC@,$TIC,;t t |
17406 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
16969 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
17407 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
16970 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
17408 | s,@X_LIBS@,$X_LIBS,;t t |
16971 | s,@X_LIBS@,$X_LIBS,;t t |
17409 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
16972 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
17410 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
16973 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
… | |
… | |
17417 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
16980 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
17418 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
16981 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
17419 | s,@DEBUG@,$DEBUG,;t t |
16982 | s,@DEBUG@,$DEBUG,;t t |
17420 | s,@DINCLUDE@,$DINCLUDE,;t t |
16983 | s,@DINCLUDE@,$DINCLUDE,;t t |
17421 | s,@DLIB@,$DLIB,;t t |
16984 | s,@DLIB@,$DLIB,;t t |
17422 | s,@RXVTNAME@,$RXVTNAME,;t t |
|
|
17423 | s,@include_stdint_h@,$include_stdint_h,;t t |
16985 | s,@include_stdint_h@,$include_stdint_h,;t t |
17424 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
16986 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
17425 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
16987 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
17426 | s,@include_unistd_h@,$include_unistd_h,;t t |
16988 | s,@include_unistd_h@,$include_unistd_h,;t t |
17427 | s,@include_string_h@,$include_string_h,;t t |
16989 | s,@include_string_h@,$include_string_h,;t t |
… | |
… | |
17956 | echo " |
17518 | echo " |
17957 | The following are set in config.h |
17519 | The following are set in config.h |
17958 | " |
17520 | " |
17959 | echo " pty/tty type: "$rxvt_cv_ptys |
17521 | echo " pty/tty type: "$rxvt_cv_ptys |
17960 | if test x$support_utmp != xyes; then |
17522 | if test x$support_utmp != xyes; then |
17961 | echo " utmp support: disabled |
17523 | echo " utmp support: disabled" |
17962 | " |
17524 | echo |
17963 | else |
17525 | else |
17964 | echo " utmp support: enabled |
17526 | echo " utmp support: enabled |
17965 | utmp file: $rxvt_cv_path_utmp |
17527 | utmp file: $rxvt_cv_path_utmp |
17966 | utmpx file: $rxvt_cv_path_utmpx |
17528 | utmpx file: $rxvt_cv_path_utmpx |
17967 | wtmp file: $rxvt_cv_path_wtmp |
17529 | wtmp file: $rxvt_cv_path_wtmp |
17968 | wtmpx file: $rxvt_cv_path_wtmpx |
17530 | wtmpx file: $rxvt_cv_path_wtmpx |
17969 | lastlog file: $rxvt_cv_path_lastlog |
17531 | lastlog file: $rxvt_cv_path_lastlog |
17970 | ttys/ttytab file: $rxvt_cv_path_ttytab |
17532 | ttys/ttytab file: $rxvt_cv_path_ttytab" |
17971 | " |
17533 | echo |
17972 | fi |
17534 | fi |
17973 | if test x$term != x; then |
17535 | if test x$term != x; then |
17974 | echo " set TERM to: $term |
17536 | echo " set TERM to: $term" |
17975 | " |
|
|
17976 | fi |
17537 | fi |
17977 | if test x$terminfo != x; then |
17538 | if test x$terminfo != x; then |
17978 | echo " set TERMINFO to: $terminfo |
17539 | echo " set TERMINFO to: $terminfo" |
17979 | " |
|
|
17980 | fi |
17540 | fi |
|
|
17541 | echo " default resource name: $RESNAME" |
|
|
17542 | echo " resource class: $RESCLASS" |
|
|
17543 | if test x$RESFALLBACK != x; then |
|
|
17544 | echo " resource class fallback: $RESFALLBACK" |
|
|
17545 | fi |
|
|
17546 | echo |
17981 | if test x$rxvt_cv_ptys = xUNKNOWN; then |
17547 | if test x$rxvt_cv_ptys = xUNKNOWN; then |
17982 | echo ".----------------------------------------------------------------." |
17548 | echo ".----------------------------------------------------------------." |
17983 | echo ". WARNING: could not determine pty/tty type. Do not build until ." |
17549 | echo ". WARNING: could not determine pty/tty type. Do not build until ." |
17984 | echo ". the appropriate PTYS_ARE_* is defined in config.h ." |
17550 | echo ". the appropriate PTYS_ARE_* is defined in config.h ." |
17985 | echo ".----------------------------------------------------------------." |
17551 | echo ".----------------------------------------------------------------." |
… | |
… | |
17999 | echo ". WARNING: --enable-xim was specified however the locale support ." |
17565 | echo ". WARNING: --enable-xim was specified however the locale support ." |
18000 | echo ". functions could not be found. ." |
17566 | echo ". functions could not be found. ." |
18001 | echo ". XIM is now being DISABLED! ." |
17567 | echo ". XIM is now being DISABLED! ." |
18002 | echo ".----------------------------------------------------------------." |
17568 | echo ".----------------------------------------------------------------." |
18003 | fi |
17569 | fi |
|
|
17570 | |
18004 | echo " *** Please check src/feature.h for further options *** |
17571 | echo " *** Please check src/feature.h for further options ***" |
18005 | " |
17572 | echo |
|
|
17573 | |
|
|
17574 | echo ".----------------------------------------------------------------." |
|
|
17575 | echo ". NOTE: most features are disabled by default, try ." |
|
|
17576 | echo ". configure --help to get an idea of the optional features ." |
|
|
17577 | echo ".----------------------------------------------------------------." |
|
|
17578 | echo |
|
|
17579 | |