… | |
… | |
465 | #endif |
465 | #endif |
466 | #if HAVE_UNISTD_H |
466 | #if HAVE_UNISTD_H |
467 | # include <unistd.h> |
467 | # include <unistd.h> |
468 | #endif" |
468 | #endif" |
469 | |
469 | |
470 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED CMP TBL X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
470 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
471 | ac_subst_files='MCOMMON' |
471 | ac_subst_files='MCOMMON' |
472 | |
472 | |
473 | # Initialize some variables set by options. |
473 | # Initialize some variables set by options. |
474 | ac_init_help= |
474 | ac_init_help= |
475 | ac_init_version=false |
475 | ac_init_version=false |
… | |
… | |
1031 | NOTE: this option is order dependent |
1031 | NOTE: this option is order dependent |
1032 | NOTE: automatically enabled with --enable-shared |
1032 | NOTE: automatically enabled with --enable-shared |
1033 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1033 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1034 | --enable-combining enable composition of base and combining characters |
1034 | --enable-combining enable composition of base and combining characters |
1035 | --enable-xft enable xft support on systems that have it |
1035 | --enable-xft enable xft support on systems that have it |
|
|
1036 | --enable-font-styles enable bold and italic support |
1036 | --enable-utmp enable utmp (utmpx) support |
1037 | --enable-utmp enable utmp (utmpx) support |
1037 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1038 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1038 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1039 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1039 | --enable-xpm-background enable XPM background pixmaps |
1040 | --enable-xpm-background enable XPM background pixmaps |
1040 | --enable-transparency enable transparent backgrounds |
1041 | --enable-transparency enable transparent backgrounds |
1041 | --enable-tinting enable tinting of transparent bg |
1042 | --enable-tinting enable tinting of transparent bg |
|
|
1043 | --enable-fading enable colors fading when off focus |
1042 | --enable-menubar enable menubar |
1044 | --enable-menubar enable menubar |
1043 | --enable-rxvt-scroll enable rxvt style scrollbar |
1045 | --enable-rxvt-scroll enable rxvt style scrollbar |
1044 | --enable-next-scroll enable NeXT style scrollbar |
1046 | --enable-next-scroll enable NeXT style scrollbar |
1045 | --enable-xterm-scroll enable Xterm style scrollbar |
1047 | --enable-xterm-scroll enable Xterm style scrollbar |
1046 | --enable-plain-scroll enable plain style scrollbar |
1048 | --enable-plain-scroll enable plain style scrollbar |
… | |
… | |
1049 | --enable-ttygid enable tty setting to group named "tty" |
1051 | --enable-ttygid enable tty setting to group named "tty" |
1050 | --disable-backspace-key disable handling of the backspace key |
1052 | --disable-backspace-key disable handling of the backspace key |
1051 | --disable-delete-key disable handling of the delete key |
1053 | --disable-delete-key disable handling of the delete key |
1052 | --disable-resources disable all resource checking |
1054 | --disable-resources disable all resource checking |
1053 | --enable-xgetdefault enable resources via X instead of our small version |
1055 | --enable-xgetdefault enable resources via X instead of our small version |
|
|
1056 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1054 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1057 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1055 | --enable-strings enable some replacement system functions |
1058 | --enable-strings enable some replacement system functions |
1056 | --disable-swapscreen disable swap screen support |
1059 | --disable-swapscreen disable swap screen support |
|
|
1060 | --enable-iso14755 enable support for extended ISO 14755 modes |
1057 | --enable-frills enable support for rarely used features |
1061 | --enable-frills enable support for rarely used features |
1058 | --enable-linespace enable support for linespace |
|
|
1059 | --enable-24bit enable support for using 24bit visuals if available |
1062 | --enable-24bit enable support for using 24bit visuals if available |
1060 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1063 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1061 | --enable-selectionscrolling enable scrolling during selections |
1064 | --enable-selectionscrolling enable scrolling during selections |
1062 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1065 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1063 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1066 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1064 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1067 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1065 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1068 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1066 | NOTE: enable only one malloc package |
1069 | NOTE: enable only one malloc package |
1067 | --enable-smart-resize enable smart growth/shrink behaviour |
1070 | --enable-smart-resize enable smart growth/shrink behaviour |
1068 | --enable-256-color enable 256-color support |
|
|
1069 | --enable-cursor-blink enable blinking cursor |
1071 | --enable-cursor-blink enable blinking cursor |
1070 | --enable-text-blink enable blinking text |
1072 | --enable-text-blink enable blinking text |
1071 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1073 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1072 | |
1074 | |
1073 | Optional Packages: |
1075 | Optional Packages: |
1074 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1076 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1075 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1077 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1076 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
1078 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
1077 | --with-pic try to use only PIC/non-PIC objects default=use both |
1079 | --with-pic try to use only PIC/non-PIC objects default=use both |
1078 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all) |
1080 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1079 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1081 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1080 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1082 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1081 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1083 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1082 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1084 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1083 | --with-terminfo=PATH set the path to the terminfo tree to PATH |
1085 | --with-terminfo=PATH set the path to the terminfo tree to PATH |
… | |
… | |
1534 | |
1536 | |
1535 | |
1537 | |
1536 | |
1538 | |
1537 | |
1539 | |
1538 | |
1540 | |
|
|
1541 | |
1539 | ac_aux_dir= |
1542 | ac_aux_dir= |
1540 | for ac_dir in autoconf $srcdir/autoconf; do |
1543 | for ac_dir in autoconf $srcdir/autoconf; do |
1541 | if test -f $ac_dir/install-sh; then |
1544 | if test -f $ac_dir/install-sh; then |
1542 | ac_aux_dir=$ac_dir |
1545 | ac_aux_dir=$ac_dir |
1543 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1546 | ac_install_sh="$ac_aux_dir/install-sh -c" |
… | |
… | |
1560 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1563 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1561 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1564 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1562 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1565 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1563 | |
1566 | |
1564 | ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" |
1567 | ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" |
|
|
1568 | |
|
|
1569 | |
|
|
1570 | # Make sure we can run config.sub. |
|
|
1571 | $ac_config_sub sun4 >/dev/null 2>&1 || |
|
|
1572 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
|
|
1573 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
|
|
1574 | { (exit 1); exit 1; }; } |
|
|
1575 | |
|
|
1576 | echo "$as_me:$LINENO: checking build system type" >&5 |
|
|
1577 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
|
|
1578 | if test "${ac_cv_build+set}" = set; then |
|
|
1579 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
1580 | else |
|
|
1581 | ac_cv_build_alias=$build_alias |
|
|
1582 | test -z "$ac_cv_build_alias" && |
|
|
1583 | ac_cv_build_alias=`$ac_config_guess` |
|
|
1584 | test -z "$ac_cv_build_alias" && |
|
|
1585 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
|
1586 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
|
1587 | { (exit 1); exit 1; }; } |
|
|
1588 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
|
|
1589 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
|
|
1590 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
|
|
1591 | { (exit 1); exit 1; }; } |
|
|
1592 | |
|
|
1593 | fi |
|
|
1594 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
|
1595 | echo "${ECHO_T}$ac_cv_build" >&6 |
|
|
1596 | build=$ac_cv_build |
|
|
1597 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
1598 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
1599 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
1600 | |
|
|
1601 | |
|
|
1602 | echo "$as_me:$LINENO: checking host system type" >&5 |
|
|
1603 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
|
|
1604 | if test "${ac_cv_host+set}" = set; then |
|
|
1605 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
1606 | else |
|
|
1607 | ac_cv_host_alias=$host_alias |
|
|
1608 | test -z "$ac_cv_host_alias" && |
|
|
1609 | ac_cv_host_alias=$ac_cv_build_alias |
|
|
1610 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
|
|
1611 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
|
|
1612 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
|
|
1613 | { (exit 1); exit 1; }; } |
|
|
1614 | |
|
|
1615 | fi |
|
|
1616 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
|
1617 | echo "${ECHO_T}$ac_cv_host" >&6 |
|
|
1618 | host=$ac_cv_host |
|
|
1619 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
1620 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
1621 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
1622 | |
1565 | |
1623 | |
1566 | |
1624 | |
1567 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1625 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1568 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1626 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1569 | LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1627 | LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
… | |
… | |
3207 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3265 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3208 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3266 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3209 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3267 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3210 | |
3268 | |
3211 | |
3269 | |
|
|
3270 | if test -z "$orig_CXXFLAGS"; then |
|
|
3271 | CXXFLAGS='-O' |
|
|
3272 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
|
|
3273 | CXXFLAGS="-g -O3" |
|
|
3274 | fi |
|
|
3275 | CFLAGS="$CXXFLAGS" |
|
|
3276 | fi |
|
|
3277 | |
3212 | LINKER="$CXX" |
3278 | LINKER="$CXX" |
3213 | if test x$GCC = xyes && test x$GXX = xyes; then |
3279 | if test x$GCC = xyes && test x$GXX = xyes; then |
3214 | |
3280 | |
3215 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
3281 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
3216 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
3282 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
… | |
… | |
3278 | |
3344 | |
3279 | fi |
3345 | fi |
3280 | LINKER=$LINKER |
3346 | LINKER=$LINKER |
3281 | |
3347 | |
3282 | |
3348 | |
3283 | CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" |
3349 | |
|
|
3350 | cat >>confdefs.h <<\_ACEOF |
|
|
3351 | #define _GNU_SOURCE 1 |
|
|
3352 | _ACEOF |
|
|
3353 | |
|
|
3354 | |
|
|
3355 | case $host in |
|
|
3356 | *-*-solaris* ) |
|
|
3357 | |
|
|
3358 | cat >>confdefs.h <<\_ACEOF |
|
|
3359 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3360 | _ACEOF |
|
|
3361 | |
|
|
3362 | |
|
|
3363 | cat >>confdefs.h <<\_ACEOF |
|
|
3364 | #define _XOPEN_SOURCE 2 |
|
|
3365 | _ACEOF |
|
|
3366 | |
|
|
3367 | |
|
|
3368 | cat >>confdefs.h <<\_ACEOF |
|
|
3369 | #define __EXTENSIONS__ 1 |
|
|
3370 | _ACEOF |
|
|
3371 | |
|
|
3372 | ;; |
|
|
3373 | esac |
3284 | |
3374 | |
3285 | |
3375 | |
3286 | ac_ext=cc |
3376 | ac_ext=cc |
3287 | ac_cpp='$CXXCPP $CPPFLAGS' |
3377 | ac_cpp='$CXXCPP $CPPFLAGS' |
3288 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3378 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
3956 | ;; |
4046 | ;; |
3957 | esac |
4047 | esac |
3958 | else |
4048 | else |
3959 | enable_fast_install=yes |
4049 | enable_fast_install=yes |
3960 | fi; |
4050 | fi; |
3961 | # Make sure we can run config.sub. |
|
|
3962 | $ac_config_sub sun4 >/dev/null 2>&1 || |
|
|
3963 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
|
|
3964 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
|
|
3965 | { (exit 1); exit 1; }; } |
|
|
3966 | |
|
|
3967 | echo "$as_me:$LINENO: checking build system type" >&5 |
|
|
3968 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
|
|
3969 | if test "${ac_cv_build+set}" = set; then |
|
|
3970 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3971 | else |
|
|
3972 | ac_cv_build_alias=$build_alias |
|
|
3973 | test -z "$ac_cv_build_alias" && |
|
|
3974 | ac_cv_build_alias=`$ac_config_guess` |
|
|
3975 | test -z "$ac_cv_build_alias" && |
|
|
3976 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
|
3977 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
|
3978 | { (exit 1); exit 1; }; } |
|
|
3979 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
|
|
3980 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
|
|
3981 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
|
|
3982 | { (exit 1); exit 1; }; } |
|
|
3983 | |
|
|
3984 | fi |
|
|
3985 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
|
3986 | echo "${ECHO_T}$ac_cv_build" >&6 |
|
|
3987 | build=$ac_cv_build |
|
|
3988 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
3989 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
3990 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
3991 | |
|
|
3992 | |
|
|
3993 | echo "$as_me:$LINENO: checking host system type" >&5 |
|
|
3994 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
|
|
3995 | if test "${ac_cv_host+set}" = set; then |
|
|
3996 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3997 | else |
|
|
3998 | ac_cv_host_alias=$host_alias |
|
|
3999 | test -z "$ac_cv_host_alias" && |
|
|
4000 | ac_cv_host_alias=$ac_cv_build_alias |
|
|
4001 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
|
|
4002 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
|
|
4003 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
|
|
4004 | { (exit 1); exit 1; }; } |
|
|
4005 | |
|
|
4006 | fi |
|
|
4007 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
|
4008 | echo "${ECHO_T}$ac_cv_host" >&6 |
|
|
4009 | host=$ac_cv_host |
|
|
4010 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
4011 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
4012 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
4013 | |
|
|
4014 | |
|
|
4015 | |
4051 | |
4016 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
4052 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
4017 | if test "${with_gnu_ld+set}" = set; then |
4053 | if test "${with_gnu_ld+set}" = set; then |
4018 | withval="$with_gnu_ld" |
4054 | withval="$with_gnu_ld" |
4019 | test "$withval" = no || with_gnu_ld=yes |
4055 | test "$withval" = no || with_gnu_ld=yes |
… | |
… | |
5234 | # 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 |
5235 | # libtool support. |
5271 | # libtool support. |
5236 | case "$host" in |
5272 | case "$host" in |
5237 | *-*-irix6*) |
5273 | *-*-irix6*) |
5238 | # Find out which ABI we are using. |
5274 | # Find out which ABI we are using. |
5239 | echo '#line 5239 "configure"' > conftest.$ac_ext |
5275 | echo '#line 5275 "configure"' > conftest.$ac_ext |
5240 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5276 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5241 | (eval $ac_compile) 2>&5 |
5277 | (eval $ac_compile) 2>&5 |
5242 | ac_status=$? |
5278 | ac_status=$? |
5243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5244 | (exit $ac_status); }; then |
5280 | (exit $ac_status); }; then |
… | |
… | |
5785 | # builds. |
5821 | # builds. |
5786 | chmod -w . |
5822 | chmod -w . |
5787 | save_CFLAGS="$CFLAGS" |
5823 | save_CFLAGS="$CFLAGS" |
5788 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5824 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5789 | compiler_c_o=no |
5825 | compiler_c_o=no |
5790 | if { (eval echo configure:5790: \"$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 |
5791 | # 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 |
5792 | # So say no if there are warnings |
5828 | # So say no if there are warnings |
5793 | if test -s out/conftest.err; then |
5829 | if test -s out/conftest.err; then |
5794 | compiler_c_o=no |
5830 | compiler_c_o=no |
5795 | else |
5831 | else |
… | |
… | |
7401 | lt_cv_dlopen_self=cross |
7437 | lt_cv_dlopen_self=cross |
7402 | else |
7438 | else |
7403 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7439 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7404 | lt_status=$lt_dlunknown |
7440 | lt_status=$lt_dlunknown |
7405 | cat > conftest.$ac_ext <<EOF |
7441 | cat > conftest.$ac_ext <<EOF |
7406 | #line 7406 "configure" |
7442 | #line 7442 "configure" |
7407 | #include "confdefs.h" |
7443 | #include "confdefs.h" |
7408 | |
7444 | |
7409 | #if HAVE_DLFCN_H |
7445 | #if HAVE_DLFCN_H |
7410 | #include <dlfcn.h> |
7446 | #include <dlfcn.h> |
7411 | #endif |
7447 | #endif |
… | |
… | |
7499 | lt_cv_dlopen_self_static=cross |
7535 | lt_cv_dlopen_self_static=cross |
7500 | else |
7536 | else |
7501 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7537 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7502 | lt_status=$lt_dlunknown |
7538 | lt_status=$lt_dlunknown |
7503 | cat > conftest.$ac_ext <<EOF |
7539 | cat > conftest.$ac_ext <<EOF |
7504 | #line 7504 "configure" |
7540 | #line 7540 "configure" |
7505 | #include "confdefs.h" |
7541 | #include "confdefs.h" |
7506 | |
7542 | |
7507 | #if HAVE_DLFCN_H |
7543 | #if HAVE_DLFCN_H |
7508 | #include <dlfcn.h> |
7544 | #include <dlfcn.h> |
7509 | #endif |
7545 | #endif |
… | |
… | |
8230 | |
8266 | |
8231 | |
8267 | |
8232 | MALLOC_TYPE=S |
8268 | MALLOC_TYPE=S |
8233 | support_addstrings=no |
8269 | support_addstrings=no |
8234 | support_frills=no |
8270 | support_frills=no |
8235 | support_linespace=no |
|
|
8236 | support_inheritpixmap=no |
8271 | support_inheritpixmap=no |
8237 | support_tinting=no |
8272 | support_tinting=no |
|
|
8273 | support_fading=no |
8238 | support_keepscrolling=no |
8274 | support_keepscrolling=no |
8239 | support_selectionscrolling=no |
8275 | support_selectionscrolling=no |
8240 | support_menubar=no |
8276 | support_menubar=no |
8241 | support_mousewheel=no |
8277 | support_mousewheel=no |
8242 | support_mouseslipwheel=no |
8278 | support_mouseslipwheel=no |
… | |
… | |
8253 | support_xim=no |
8289 | support_xim=no |
8254 | support_xpm=no |
8290 | support_xpm=no |
8255 | support_xft=no |
8291 | support_xft=no |
8256 | support_unicode3=no |
8292 | support_unicode3=no |
8257 | support_combining=no |
8293 | support_combining=no |
|
|
8294 | support_8bitctrls=no |
|
|
8295 | support_iso14755=no |
|
|
8296 | support_styles=no |
8258 | codesets= |
8297 | codesets= |
8259 | |
8298 | |
8260 | |
8299 | |
8261 | if test "x$enable_shared" = xyes; then |
8300 | if test "x$enable_shared" = xyes; then |
8262 | |
8301 | |
… | |
… | |
8272 | if test "${enable_everything+set}" = set; then |
8311 | if test "${enable_everything+set}" = set; then |
8273 | enableval="$enable_everything" |
8312 | enableval="$enable_everything" |
8274 | if test x$enableval = xyes; then |
8313 | if test x$enableval = xyes; then |
8275 | support_24bit=yes |
8314 | support_24bit=yes |
8276 | support_frills=yes |
8315 | support_frills=yes |
8277 | support_linespace=yes |
|
|
8278 | support_inheritpixmap=yes |
8316 | support_inheritpixmap=yes |
8279 | support_tinting=yes |
8317 | support_tinting=yes |
|
|
8318 | support_fading=yes |
8280 | support_keepscrolling=yes |
8319 | support_keepscrolling=yes |
8281 | support_selectionscrolling=yes |
8320 | support_selectionscrolling=yes |
8282 | support_lastlog=yes |
8321 | support_lastlog=yes |
8283 | support_menubar=yes |
8322 | support_menubar=yes |
8284 | support_mousewheel=yes |
8323 | support_mousewheel=yes |
… | |
… | |
8295 | support_xim=yes |
8334 | support_xim=yes |
8296 | support_xpm=yes |
8335 | support_xpm=yes |
8297 | support_xft=yes |
8336 | support_xft=yes |
8298 | support_unicode3=yes |
8337 | support_unicode3=yes |
8299 | support_combining=yes |
8338 | support_combining=yes |
|
|
8339 | #support_8bitctrls=yes |
|
|
8340 | support_iso14755=yes |
|
|
8341 | support_styles=yes |
8300 | codesets=all |
8342 | codesets=all |
8301 | fi |
8343 | fi |
8302 | fi; |
8344 | fi; |
8303 | |
8345 | |
8304 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8346 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8305 | if test "${enable_unicode3+set}" = set; then |
8347 | if test "${enable_unicode3+set}" = set; then |
8306 | enableval="$enable_unicode3" |
8348 | enableval="$enable_unicode3" |
8307 | if test x$enableval = xyes -o x$enableval = xno; then |
8349 | if test x$enableval = xyes -o x$enableval = xno; then |
8308 | support_unicode3=yes |
8350 | support_unicode3=$enableval |
8309 | fi |
8351 | fi |
8310 | fi; |
8352 | fi; |
8311 | |
8353 | |
8312 | # Check whether --enable-combining or --disable-combining was given. |
8354 | # Check whether --enable-combining or --disable-combining was given. |
8313 | if test "${enable_combining+set}" = set; then |
8355 | if test "${enable_combining+set}" = set; then |
8314 | enableval="$enable_combining" |
8356 | enableval="$enable_combining" |
8315 | if test x$enableval = xyes -o x$enableval = xno; then |
8357 | if test x$enableval = xyes -o x$enableval = xno; then |
8316 | support_combining=yes |
8358 | support_combining=$enableval |
8317 | fi |
8359 | fi |
8318 | fi; |
8360 | fi; |
8319 | |
8361 | |
8320 | # Check whether --enable-xft or --disable-xft was given. |
8362 | # Check whether --enable-xft or --disable-xft was given. |
8321 | if test "${enable_xft+set}" = set; then |
8363 | if test "${enable_xft+set}" = set; then |
8322 | enableval="$enable_xft" |
8364 | enableval="$enable_xft" |
8323 | if test x$enableval = xyes -o x$enableval = xno; then |
8365 | if test x$enableval = xyes -o x$enableval = xno; then |
8324 | support_xft=yes |
8366 | support_xft=$enableval |
|
|
8367 | fi |
|
|
8368 | fi; |
|
|
8369 | |
|
|
8370 | # Check whether --enable-font-styles or --disable-font-styles was given. |
|
|
8371 | if test "${enable_font_styles+set}" = set; then |
|
|
8372 | enableval="$enable_font_styles" |
|
|
8373 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8374 | support_styles=$enableval |
8325 | fi |
8375 | fi |
8326 | fi; |
8376 | fi; |
8327 | |
8377 | |
8328 | # Check whether --enable-utmp or --disable-utmp was given. |
8378 | # Check whether --enable-utmp or --disable-utmp was given. |
8329 | if test "${enable_utmp+set}" = set; then |
8379 | if test "${enable_utmp+set}" = set; then |
… | |
… | |
8371 | if test x$enableval = xyes -o x$enableval = xno; then |
8421 | if test x$enableval = xyes -o x$enableval = xno; then |
8372 | support_tinting=$enableval |
8422 | support_tinting=$enableval |
8373 | fi |
8423 | fi |
8374 | fi; |
8424 | fi; |
8375 | |
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 | |
8376 | # Check whether --enable-menubar or --disable-menubar was given. |
8434 | # Check whether --enable-menubar or --disable-menubar was given. |
8377 | if test "${enable_menubar+set}" = set; then |
8435 | if test "${enable_menubar+set}" = set; then |
8378 | enableval="$enable_menubar" |
8436 | enableval="$enable_menubar" |
8379 | if test x$enableval = xyes -o x$enableval = xno; then |
8437 | if test x$enableval = xyes -o x$enableval = xno; then |
8380 | support_menubar=$enableval |
8438 | support_menubar=$enableval |
… | |
… | |
8498 | _ACEOF |
8556 | _ACEOF |
8499 | |
8557 | |
8500 | fi |
8558 | fi |
8501 | fi; |
8559 | fi; |
8502 | |
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 | |
8503 | RESFALLBACK=Rxvt |
8569 | RESFALLBACK=Rxvt |
8504 | # Check whether --enable-fallback or --disable-fallback was given. |
8570 | # Check whether --enable-fallback or --disable-fallback was given. |
8505 | if test "${enable_fallback+set}" = set; then |
8571 | if test "${enable_fallback+set}" = set; then |
8506 | enableval="$enable_fallback" |
8572 | enableval="$enable_fallback" |
8507 | |
8573 | |
… | |
… | |
8550 | # Check whether --with-name or --without-name was given. |
8616 | # Check whether --with-name or --without-name was given. |
8551 | if test "${with_name+set}" = set; then |
8617 | if test "${with_name+set}" = set; then |
8552 | withval="$with_name" |
8618 | withval="$with_name" |
8553 | RXVTNAME="$withval" |
8619 | RXVTNAME="$withval" |
8554 | fi; |
8620 | fi; |
|
|
8621 | |
|
|
8622 | cat >>confdefs.h <<_ACEOF |
|
|
8623 | #define RXVTNAME "$RXVTNAME" |
|
|
8624 | _ACEOF |
|
|
8625 | |
8555 | |
8626 | |
8556 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8627 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8557 | |
8628 | |
8558 | |
8629 | |
8559 | # Check whether --enable-strings or --disable-strings was given. |
8630 | # Check whether --enable-strings or --disable-strings was given. |
… | |
… | |
8574 | _ACEOF |
8645 | _ACEOF |
8575 | |
8646 | |
8576 | fi |
8647 | fi |
8577 | fi; |
8648 | fi; |
8578 | |
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 | |
8579 | # Check whether --enable-frills or --disable-frills was given. |
8658 | # Check whether --enable-frills or --disable-frills was given. |
8580 | if test "${enable_frills+set}" = set; then |
8659 | if test "${enable_frills+set}" = set; then |
8581 | enableval="$enable_frills" |
8660 | enableval="$enable_frills" |
8582 | if test x$enableval = xyes -o x$enableval = xno; then |
8661 | if test x$enableval = xyes -o x$enableval = xno; then |
8583 | support_frills=$enableval |
8662 | support_frills=$enableval |
8584 | fi |
|
|
8585 | fi; |
|
|
8586 | |
|
|
8587 | # Check whether --enable-linespace or --disable-linespace was given. |
|
|
8588 | if test "${enable_linespace+set}" = set; then |
|
|
8589 | enableval="$enable_linespace" |
|
|
8590 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8591 | support_linespace=$enableval |
|
|
8592 | fi |
8663 | fi |
8593 | fi; |
8664 | fi; |
8594 | |
8665 | |
8595 | # Check whether --enable-24bit or --disable-24bit was given. |
8666 | # Check whether --enable-24bit or --disable-24bit was given. |
8596 | if test "${enable_24bit+set}" = set; then |
8667 | if test "${enable_24bit+set}" = set; then |
… | |
… | |
8664 | _ACEOF |
8735 | _ACEOF |
8665 | |
8736 | |
8666 | fi |
8737 | fi |
8667 | fi; |
8738 | fi; |
8668 | |
8739 | |
8669 | # Check whether --enable-256-color or --disable-256-color was given. |
|
|
8670 | if test "${enable_256_color+set}" = set; then |
|
|
8671 | enableval="$enable_256_color" |
|
|
8672 | if test x$enableval = xyes; then |
|
|
8673 | |
|
|
8674 | cat >>confdefs.h <<\_ACEOF |
|
|
8675 | #define TTY_256COLOR 1 |
|
|
8676 | _ACEOF |
|
|
8677 | |
|
|
8678 | fi |
|
|
8679 | fi; |
|
|
8680 | |
|
|
8681 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
8740 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
8682 | if test "${enable_cursor_blink+set}" = set; then |
8741 | if test "${enable_cursor_blink+set}" = set; then |
8683 | enableval="$enable_cursor_blink" |
8742 | enableval="$enable_cursor_blink" |
8684 | if test x$enableval = xyes -o x$enableval = xno; then |
8743 | if test x$enableval = xyes -o x$enableval = xno; then |
8685 | support_cursor_blink=$enableval |
8744 | support_cursor_blink=$enableval |
… | |
… | |
8732 | |
8791 | |
8733 | cat >>confdefs.h <<\_ACEOF |
8792 | cat >>confdefs.h <<\_ACEOF |
8734 | #define PROTOTYPES 1 |
8793 | #define PROTOTYPES 1 |
8735 | _ACEOF |
8794 | _ACEOF |
8736 | |
8795 | |
8737 | |
|
|
8738 | if test -z "$CFLAGS"; then |
|
|
8739 | if test -z "$CCOPTS"; then |
|
|
8740 | CCOPTS='-O' |
|
|
8741 | fi |
|
|
8742 | CFLAGS="$CCOPTS" |
|
|
8743 | fi |
|
|
8744 | |
8796 | |
8745 | # 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. |
8746 | set dummy mv; ac_word=$2 |
8798 | set dummy mv; ac_word=$2 |
8747 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8799 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8748 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
8800 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
… | |
… | |
9054 | TBL=$ac_cv_path_TBL |
9106 | TBL=$ac_cv_path_TBL |
9055 | |
9107 | |
9056 | if test -n "$TBL"; then |
9108 | if test -n "$TBL"; then |
9057 | echo "$as_me:$LINENO: result: $TBL" >&5 |
9109 | echo "$as_me:$LINENO: result: $TBL" >&5 |
9058 | echo "${ECHO_T}$TBL" >&6 |
9110 | echo "${ECHO_T}$TBL" >&6 |
|
|
9111 | else |
|
|
9112 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
9113 | echo "${ECHO_T}no" >&6 |
|
|
9114 | fi |
|
|
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 |
|
|
9141 | |
|
|
9142 | ;; |
|
|
9143 | esac |
|
|
9144 | fi |
|
|
9145 | TIC=$ac_cv_path_TIC |
|
|
9146 | |
|
|
9147 | if test -n "$TIC"; then |
|
|
9148 | echo "$as_me:$LINENO: result: $TIC" >&5 |
|
|
9149 | echo "${ECHO_T}$TIC" >&6 |
9059 | else |
9150 | else |
9060 | echo "$as_me:$LINENO: result: no" >&5 |
9151 | echo "$as_me:$LINENO: result: no" >&5 |
9061 | echo "${ECHO_T}no" >&6 |
9152 | echo "${ECHO_T}no" >&6 |
9062 | fi |
9153 | fi |
9063 | |
9154 | |
… | |
… | |
10889 | |
10980 | |
10890 | |
10981 | |
10891 | |
10982 | |
10892 | |
10983 | |
10893 | |
10984 | |
|
|
10985 | |
|
|
10986 | |
10894 | for ac_header in \ |
10987 | for ac_header in \ |
10895 | assert.h \ |
10988 | assert.h \ |
10896 | fcntl.h \ |
10989 | fcntl.h \ |
10897 | grp.h \ |
10990 | grp.h \ |
10898 | libc.h \ |
10991 | libc.h \ |
… | |
… | |
10905 | sys/byteorder.h \ |
10998 | sys/byteorder.h \ |
10906 | sys/ioctl.h \ |
10999 | sys/ioctl.h \ |
10907 | sys/select.h \ |
11000 | sys/select.h \ |
10908 | sys/sockio.h \ |
11001 | sys/sockio.h \ |
10909 | sys/strredir.h \ |
11002 | sys/strredir.h \ |
|
|
11003 | sys/stropts.h \ |
10910 | sys/time.h \ |
11004 | sys/time.h \ |
10911 | utmp.h \ |
11005 | utmp.h \ |
10912 | utmpx.h \ |
11006 | utmpx.h \ |
10913 | stdint.h \ |
11007 | stdint.h \ |
|
|
11008 | pty.h \ |
10914 | |
11009 | |
10915 | do |
11010 | do |
10916 | 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` |
10917 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11012 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10918 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11013 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
11702 | _ACEOF |
11797 | _ACEOF |
11703 | |
11798 | |
11704 | fi |
11799 | fi |
11705 | |
11800 | |
11706 | |
11801 | |
11707 | |
|
|
11708 | echo "$as_me:$LINENO: checking for char" >&5 |
|
|
11709 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
|
|
11710 | if test "${ac_cv_type_char+set}" = set; then |
|
|
11711 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11712 | else |
|
|
11713 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11714 | /* confdefs.h. */ |
|
|
11715 | _ACEOF |
|
|
11716 | cat confdefs.h >>conftest.$ac_ext |
|
|
11717 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11718 | /* end confdefs.h. */ |
|
|
11719 | $ac_includes_default |
|
|
11720 | int |
|
|
11721 | main () |
|
|
11722 | { |
|
|
11723 | if ((char *) 0) |
|
|
11724 | return 0; |
|
|
11725 | if (sizeof (char)) |
|
|
11726 | return 0; |
|
|
11727 | ; |
|
|
11728 | return 0; |
|
|
11729 | } |
|
|
11730 | _ACEOF |
|
|
11731 | rm -f conftest.$ac_objext |
|
|
11732 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11733 | (eval $ac_compile) 2>conftest.er1 |
|
|
11734 | ac_status=$? |
|
|
11735 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11736 | rm -f conftest.er1 |
|
|
11737 | cat conftest.err >&5 |
|
|
11738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11739 | (exit $ac_status); } && |
|
|
11740 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11741 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11742 | (eval $ac_try) 2>&5 |
|
|
11743 | ac_status=$? |
|
|
11744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11745 | (exit $ac_status); }; } && |
|
|
11746 | { ac_try='test -s conftest.$ac_objext' |
|
|
11747 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11748 | (eval $ac_try) 2>&5 |
|
|
11749 | ac_status=$? |
|
|
11750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11751 | (exit $ac_status); }; }; then |
|
|
11752 | ac_cv_type_char=yes |
|
|
11753 | else |
|
|
11754 | echo "$as_me: failed program was:" >&5 |
|
|
11755 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11756 | |
|
|
11757 | ac_cv_type_char=no |
|
|
11758 | fi |
|
|
11759 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11760 | fi |
|
|
11761 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
|
|
11762 | echo "${ECHO_T}$ac_cv_type_char" >&6 |
|
|
11763 | |
|
|
11764 | echo "$as_me:$LINENO: checking size of char" >&5 |
|
|
11765 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
|
|
11766 | if test "${ac_cv_sizeof_char+set}" = set; then |
|
|
11767 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11768 | else |
|
|
11769 | if test "$ac_cv_type_char" = yes; then |
|
|
11770 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
11771 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
11772 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
11773 | # This bug is HP SR number 8606223364. |
|
|
11774 | if test "$cross_compiling" = yes; then |
|
|
11775 | # Depending upon the size, compute the lo and hi bounds. |
|
|
11776 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11777 | /* confdefs.h. */ |
|
|
11778 | _ACEOF |
|
|
11779 | cat confdefs.h >>conftest.$ac_ext |
|
|
11780 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11781 | /* end confdefs.h. */ |
|
|
11782 | $ac_includes_default |
|
|
11783 | int |
|
|
11784 | main () |
|
|
11785 | { |
|
|
11786 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; |
|
|
11787 | test_array [0] = 0 |
|
|
11788 | |
|
|
11789 | ; |
|
|
11790 | return 0; |
|
|
11791 | } |
|
|
11792 | _ACEOF |
|
|
11793 | rm -f conftest.$ac_objext |
|
|
11794 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11795 | (eval $ac_compile) 2>conftest.er1 |
|
|
11796 | ac_status=$? |
|
|
11797 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11798 | rm -f conftest.er1 |
|
|
11799 | cat conftest.err >&5 |
|
|
11800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11801 | (exit $ac_status); } && |
|
|
11802 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11803 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11804 | (eval $ac_try) 2>&5 |
|
|
11805 | ac_status=$? |
|
|
11806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11807 | (exit $ac_status); }; } && |
|
|
11808 | { ac_try='test -s conftest.$ac_objext' |
|
|
11809 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11810 | (eval $ac_try) 2>&5 |
|
|
11811 | ac_status=$? |
|
|
11812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11813 | (exit $ac_status); }; }; then |
|
|
11814 | ac_lo=0 ac_mid=0 |
|
|
11815 | while :; do |
|
|
11816 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11817 | /* confdefs.h. */ |
|
|
11818 | _ACEOF |
|
|
11819 | cat confdefs.h >>conftest.$ac_ext |
|
|
11820 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11821 | /* end confdefs.h. */ |
|
|
11822 | $ac_includes_default |
|
|
11823 | int |
|
|
11824 | main () |
|
|
11825 | { |
|
|
11826 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11827 | test_array [0] = 0 |
|
|
11828 | |
|
|
11829 | ; |
|
|
11830 | return 0; |
|
|
11831 | } |
|
|
11832 | _ACEOF |
|
|
11833 | rm -f conftest.$ac_objext |
|
|
11834 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11835 | (eval $ac_compile) 2>conftest.er1 |
|
|
11836 | ac_status=$? |
|
|
11837 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11838 | rm -f conftest.er1 |
|
|
11839 | cat conftest.err >&5 |
|
|
11840 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11841 | (exit $ac_status); } && |
|
|
11842 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11843 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11844 | (eval $ac_try) 2>&5 |
|
|
11845 | ac_status=$? |
|
|
11846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11847 | (exit $ac_status); }; } && |
|
|
11848 | { ac_try='test -s conftest.$ac_objext' |
|
|
11849 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11850 | (eval $ac_try) 2>&5 |
|
|
11851 | ac_status=$? |
|
|
11852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11853 | (exit $ac_status); }; }; then |
|
|
11854 | ac_hi=$ac_mid; break |
|
|
11855 | else |
|
|
11856 | echo "$as_me: failed program was:" >&5 |
|
|
11857 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11858 | |
|
|
11859 | ac_lo=`expr $ac_mid + 1` |
|
|
11860 | if test $ac_lo -le $ac_mid; then |
|
|
11861 | ac_lo= ac_hi= |
|
|
11862 | break |
|
|
11863 | fi |
|
|
11864 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
11865 | fi |
|
|
11866 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11867 | done |
|
|
11868 | else |
|
|
11869 | echo "$as_me: failed program was:" >&5 |
|
|
11870 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11871 | |
|
|
11872 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11873 | /* confdefs.h. */ |
|
|
11874 | _ACEOF |
|
|
11875 | cat confdefs.h >>conftest.$ac_ext |
|
|
11876 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11877 | /* end confdefs.h. */ |
|
|
11878 | $ac_includes_default |
|
|
11879 | int |
|
|
11880 | main () |
|
|
11881 | { |
|
|
11882 | static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; |
|
|
11883 | test_array [0] = 0 |
|
|
11884 | |
|
|
11885 | ; |
|
|
11886 | return 0; |
|
|
11887 | } |
|
|
11888 | _ACEOF |
|
|
11889 | rm -f conftest.$ac_objext |
|
|
11890 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11891 | (eval $ac_compile) 2>conftest.er1 |
|
|
11892 | ac_status=$? |
|
|
11893 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11894 | rm -f conftest.er1 |
|
|
11895 | cat conftest.err >&5 |
|
|
11896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11897 | (exit $ac_status); } && |
|
|
11898 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11899 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11900 | (eval $ac_try) 2>&5 |
|
|
11901 | ac_status=$? |
|
|
11902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11903 | (exit $ac_status); }; } && |
|
|
11904 | { ac_try='test -s conftest.$ac_objext' |
|
|
11905 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11906 | (eval $ac_try) 2>&5 |
|
|
11907 | ac_status=$? |
|
|
11908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11909 | (exit $ac_status); }; }; then |
|
|
11910 | ac_hi=-1 ac_mid=-1 |
|
|
11911 | while :; do |
|
|
11912 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11913 | /* confdefs.h. */ |
|
|
11914 | _ACEOF |
|
|
11915 | cat confdefs.h >>conftest.$ac_ext |
|
|
11916 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11917 | /* end confdefs.h. */ |
|
|
11918 | $ac_includes_default |
|
|
11919 | int |
|
|
11920 | main () |
|
|
11921 | { |
|
|
11922 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; |
|
|
11923 | test_array [0] = 0 |
|
|
11924 | |
|
|
11925 | ; |
|
|
11926 | return 0; |
|
|
11927 | } |
|
|
11928 | _ACEOF |
|
|
11929 | rm -f conftest.$ac_objext |
|
|
11930 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11931 | (eval $ac_compile) 2>conftest.er1 |
|
|
11932 | ac_status=$? |
|
|
11933 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11934 | rm -f conftest.er1 |
|
|
11935 | cat conftest.err >&5 |
|
|
11936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11937 | (exit $ac_status); } && |
|
|
11938 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11939 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11940 | (eval $ac_try) 2>&5 |
|
|
11941 | ac_status=$? |
|
|
11942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11943 | (exit $ac_status); }; } && |
|
|
11944 | { ac_try='test -s conftest.$ac_objext' |
|
|
11945 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11946 | (eval $ac_try) 2>&5 |
|
|
11947 | ac_status=$? |
|
|
11948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11949 | (exit $ac_status); }; }; then |
|
|
11950 | ac_lo=$ac_mid; break |
|
|
11951 | else |
|
|
11952 | echo "$as_me: failed program was:" >&5 |
|
|
11953 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11954 | |
|
|
11955 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
11956 | if test $ac_mid -le $ac_hi; then |
|
|
11957 | ac_lo= ac_hi= |
|
|
11958 | break |
|
|
11959 | fi |
|
|
11960 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
11961 | fi |
|
|
11962 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11963 | done |
|
|
11964 | else |
|
|
11965 | echo "$as_me: failed program was:" >&5 |
|
|
11966 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11967 | |
|
|
11968 | ac_lo= ac_hi= |
|
|
11969 | fi |
|
|
11970 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11971 | fi |
|
|
11972 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11973 | # Binary search between lo and hi bounds. |
|
|
11974 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
11975 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
11976 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11977 | /* confdefs.h. */ |
|
|
11978 | _ACEOF |
|
|
11979 | cat confdefs.h >>conftest.$ac_ext |
|
|
11980 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11981 | /* end confdefs.h. */ |
|
|
11982 | $ac_includes_default |
|
|
11983 | int |
|
|
11984 | main () |
|
|
11985 | { |
|
|
11986 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11987 | test_array [0] = 0 |
|
|
11988 | |
|
|
11989 | ; |
|
|
11990 | return 0; |
|
|
11991 | } |
|
|
11992 | _ACEOF |
|
|
11993 | rm -f conftest.$ac_objext |
|
|
11994 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11995 | (eval $ac_compile) 2>conftest.er1 |
|
|
11996 | ac_status=$? |
|
|
11997 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11998 | rm -f conftest.er1 |
|
|
11999 | cat conftest.err >&5 |
|
|
12000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12001 | (exit $ac_status); } && |
|
|
12002 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12003 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12004 | (eval $ac_try) 2>&5 |
|
|
12005 | ac_status=$? |
|
|
12006 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12007 | (exit $ac_status); }; } && |
|
|
12008 | { ac_try='test -s conftest.$ac_objext' |
|
|
12009 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12010 | (eval $ac_try) 2>&5 |
|
|
12011 | ac_status=$? |
|
|
12012 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12013 | (exit $ac_status); }; }; then |
|
|
12014 | ac_hi=$ac_mid |
|
|
12015 | else |
|
|
12016 | echo "$as_me: failed program was:" >&5 |
|
|
12017 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12018 | |
|
|
12019 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
12020 | fi |
|
|
12021 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12022 | done |
|
|
12023 | case $ac_lo in |
|
|
12024 | ?*) ac_cv_sizeof_char=$ac_lo;; |
|
|
12025 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
12026 | See \`config.log' for more details." >&5 |
|
|
12027 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
12028 | See \`config.log' for more details." >&2;} |
|
|
12029 | { (exit 1); exit 1; }; } ;; |
|
|
12030 | esac |
|
|
12031 | else |
|
|
12032 | if test "$cross_compiling" = yes; then |
|
|
12033 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
12034 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
12035 | { (exit 1); exit 1; }; } |
|
|
12036 | else |
|
|
12037 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12038 | /* confdefs.h. */ |
|
|
12039 | _ACEOF |
|
|
12040 | cat confdefs.h >>conftest.$ac_ext |
|
|
12041 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12042 | /* end confdefs.h. */ |
|
|
12043 | $ac_includes_default |
|
|
12044 | long longval () { return (long) (sizeof (char)); } |
|
|
12045 | unsigned long ulongval () { return (long) (sizeof (char)); } |
|
|
12046 | #include <stdio.h> |
|
|
12047 | #include <stdlib.h> |
|
|
12048 | int |
|
|
12049 | main () |
|
|
12050 | { |
|
|
12051 | |
|
|
12052 | FILE *f = fopen ("conftest.val", "w"); |
|
|
12053 | if (! f) |
|
|
12054 | exit (1); |
|
|
12055 | if (((long) (sizeof (char))) < 0) |
|
|
12056 | { |
|
|
12057 | long i = longval (); |
|
|
12058 | if (i != ((long) (sizeof (char)))) |
|
|
12059 | exit (1); |
|
|
12060 | fprintf (f, "%ld\n", i); |
|
|
12061 | } |
|
|
12062 | else |
|
|
12063 | { |
|
|
12064 | unsigned long i = ulongval (); |
|
|
12065 | if (i != ((long) (sizeof (char)))) |
|
|
12066 | exit (1); |
|
|
12067 | fprintf (f, "%lu\n", i); |
|
|
12068 | } |
|
|
12069 | exit (ferror (f) || fclose (f) != 0); |
|
|
12070 | |
|
|
12071 | ; |
|
|
12072 | return 0; |
|
|
12073 | } |
|
|
12074 | _ACEOF |
|
|
12075 | rm -f conftest$ac_exeext |
|
|
12076 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12077 | (eval $ac_link) 2>&5 |
|
|
12078 | ac_status=$? |
|
|
12079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12080 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
12081 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12082 | (eval $ac_try) 2>&5 |
|
|
12083 | ac_status=$? |
|
|
12084 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12085 | (exit $ac_status); }; }; then |
|
|
12086 | ac_cv_sizeof_char=`cat conftest.val` |
|
|
12087 | else |
|
|
12088 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
12089 | echo "$as_me: failed program was:" >&5 |
|
|
12090 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12091 | |
|
|
12092 | ( exit $ac_status ) |
|
|
12093 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
12094 | See \`config.log' for more details." >&5 |
|
|
12095 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
12096 | See \`config.log' for more details." >&2;} |
|
|
12097 | { (exit 1); exit 1; }; } |
|
|
12098 | fi |
|
|
12099 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
12100 | fi |
|
|
12101 | fi |
|
|
12102 | rm -f conftest.val |
|
|
12103 | else |
|
|
12104 | ac_cv_sizeof_char=0 |
|
|
12105 | fi |
|
|
12106 | fi |
|
|
12107 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
|
|
12108 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
|
|
12109 | cat >>confdefs.h <<_ACEOF |
|
|
12110 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
|
|
12111 | _ACEOF |
|
|
12112 | |
|
|
12113 | |
|
|
12114 | echo "$as_me:$LINENO: checking for short" >&5 |
11802 | echo "$as_me:$LINENO: checking for short" >&5 |
12115 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
11803 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
12116 | if test "${ac_cv_type_short+set}" = set; then |
11804 | if test "${ac_cv_type_short+set}" = set; then |
12117 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11805 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12118 | else |
11806 | else |
… | |
… | |
12918 | fi |
12606 | fi |
12919 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12607 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12920 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12608 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12921 | cat >>confdefs.h <<_ACEOF |
12609 | cat >>confdefs.h <<_ACEOF |
12922 | #define SIZEOF_INT $ac_cv_sizeof_int |
12610 | #define SIZEOF_INT $ac_cv_sizeof_int |
12923 | _ACEOF |
|
|
12924 | |
|
|
12925 | |
|
|
12926 | echo "$as_me:$LINENO: checking for long" >&5 |
|
|
12927 | echo $ECHO_N "checking for long... $ECHO_C" >&6 |
|
|
12928 | if test "${ac_cv_type_long+set}" = set; then |
|
|
12929 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12930 | else |
|
|
12931 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12932 | /* confdefs.h. */ |
|
|
12933 | _ACEOF |
|
|
12934 | cat confdefs.h >>conftest.$ac_ext |
|
|
12935 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12936 | /* end confdefs.h. */ |
|
|
12937 | $ac_includes_default |
|
|
12938 | int |
|
|
12939 | main () |
|
|
12940 | { |
|
|
12941 | if ((long *) 0) |
|
|
12942 | return 0; |
|
|
12943 | if (sizeof (long)) |
|
|
12944 | return 0; |
|
|
12945 | ; |
|
|
12946 | return 0; |
|
|
12947 | } |
|
|
12948 | _ACEOF |
|
|
12949 | rm -f conftest.$ac_objext |
|
|
12950 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12951 | (eval $ac_compile) 2>conftest.er1 |
|
|
12952 | ac_status=$? |
|
|
12953 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12954 | rm -f conftest.er1 |
|
|
12955 | cat conftest.err >&5 |
|
|
12956 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12957 | (exit $ac_status); } && |
|
|
12958 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12959 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12960 | (eval $ac_try) 2>&5 |
|
|
12961 | ac_status=$? |
|
|
12962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12963 | (exit $ac_status); }; } && |
|
|
12964 | { ac_try='test -s conftest.$ac_objext' |
|
|
12965 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12966 | (eval $ac_try) 2>&5 |
|
|
12967 | ac_status=$? |
|
|
12968 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12969 | (exit $ac_status); }; }; then |
|
|
12970 | ac_cv_type_long=yes |
|
|
12971 | else |
|
|
12972 | echo "$as_me: failed program was:" >&5 |
|
|
12973 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12974 | |
|
|
12975 | ac_cv_type_long=no |
|
|
12976 | fi |
|
|
12977 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12978 | fi |
|
|
12979 | echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
|
|
12980 | echo "${ECHO_T}$ac_cv_type_long" >&6 |
|
|
12981 | |
|
|
12982 | echo "$as_me:$LINENO: checking size of long" >&5 |
|
|
12983 | echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
|
|
12984 | if test "${ac_cv_sizeof_long+set}" = set; then |
|
|
12985 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12986 | else |
|
|
12987 | if test "$ac_cv_type_long" = yes; then |
|
|
12988 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
12989 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
12990 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
12991 | # This bug is HP SR number 8606223364. |
|
|
12992 | if test "$cross_compiling" = yes; then |
|
|
12993 | # Depending upon the size, compute the lo and hi bounds. |
|
|
12994 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12995 | /* confdefs.h. */ |
|
|
12996 | _ACEOF |
|
|
12997 | cat confdefs.h >>conftest.$ac_ext |
|
|
12998 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12999 | /* end confdefs.h. */ |
|
|
13000 | $ac_includes_default |
|
|
13001 | int |
|
|
13002 | main () |
|
|
13003 | { |
|
|
13004 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; |
|
|
13005 | test_array [0] = 0 |
|
|
13006 | |
|
|
13007 | ; |
|
|
13008 | return 0; |
|
|
13009 | } |
|
|
13010 | _ACEOF |
|
|
13011 | rm -f conftest.$ac_objext |
|
|
13012 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13013 | (eval $ac_compile) 2>conftest.er1 |
|
|
13014 | ac_status=$? |
|
|
13015 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13016 | rm -f conftest.er1 |
|
|
13017 | cat conftest.err >&5 |
|
|
13018 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13019 | (exit $ac_status); } && |
|
|
13020 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13021 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13022 | (eval $ac_try) 2>&5 |
|
|
13023 | ac_status=$? |
|
|
13024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13025 | (exit $ac_status); }; } && |
|
|
13026 | { ac_try='test -s conftest.$ac_objext' |
|
|
13027 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13028 | (eval $ac_try) 2>&5 |
|
|
13029 | ac_status=$? |
|
|
13030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13031 | (exit $ac_status); }; }; then |
|
|
13032 | ac_lo=0 ac_mid=0 |
|
|
13033 | while :; do |
|
|
13034 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13035 | /* confdefs.h. */ |
|
|
13036 | _ACEOF |
|
|
13037 | cat confdefs.h >>conftest.$ac_ext |
|
|
13038 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13039 | /* end confdefs.h. */ |
|
|
13040 | $ac_includes_default |
|
|
13041 | int |
|
|
13042 | main () |
|
|
13043 | { |
|
|
13044 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
13045 | test_array [0] = 0 |
|
|
13046 | |
|
|
13047 | ; |
|
|
13048 | return 0; |
|
|
13049 | } |
|
|
13050 | _ACEOF |
|
|
13051 | rm -f conftest.$ac_objext |
|
|
13052 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13053 | (eval $ac_compile) 2>conftest.er1 |
|
|
13054 | ac_status=$? |
|
|
13055 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13056 | rm -f conftest.er1 |
|
|
13057 | cat conftest.err >&5 |
|
|
13058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13059 | (exit $ac_status); } && |
|
|
13060 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13061 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13062 | (eval $ac_try) 2>&5 |
|
|
13063 | ac_status=$? |
|
|
13064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13065 | (exit $ac_status); }; } && |
|
|
13066 | { ac_try='test -s conftest.$ac_objext' |
|
|
13067 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13068 | (eval $ac_try) 2>&5 |
|
|
13069 | ac_status=$? |
|
|
13070 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13071 | (exit $ac_status); }; }; then |
|
|
13072 | ac_hi=$ac_mid; break |
|
|
13073 | else |
|
|
13074 | echo "$as_me: failed program was:" >&5 |
|
|
13075 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13076 | |
|
|
13077 | ac_lo=`expr $ac_mid + 1` |
|
|
13078 | if test $ac_lo -le $ac_mid; then |
|
|
13079 | ac_lo= ac_hi= |
|
|
13080 | break |
|
|
13081 | fi |
|
|
13082 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
13083 | fi |
|
|
13084 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13085 | done |
|
|
13086 | else |
|
|
13087 | echo "$as_me: failed program was:" >&5 |
|
|
13088 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13089 | |
|
|
13090 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13091 | /* confdefs.h. */ |
|
|
13092 | _ACEOF |
|
|
13093 | cat confdefs.h >>conftest.$ac_ext |
|
|
13094 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13095 | /* end confdefs.h. */ |
|
|
13096 | $ac_includes_default |
|
|
13097 | int |
|
|
13098 | main () |
|
|
13099 | { |
|
|
13100 | static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; |
|
|
13101 | test_array [0] = 0 |
|
|
13102 | |
|
|
13103 | ; |
|
|
13104 | return 0; |
|
|
13105 | } |
|
|
13106 | _ACEOF |
|
|
13107 | rm -f conftest.$ac_objext |
|
|
13108 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13109 | (eval $ac_compile) 2>conftest.er1 |
|
|
13110 | ac_status=$? |
|
|
13111 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13112 | rm -f conftest.er1 |
|
|
13113 | cat conftest.err >&5 |
|
|
13114 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13115 | (exit $ac_status); } && |
|
|
13116 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13117 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13118 | (eval $ac_try) 2>&5 |
|
|
13119 | ac_status=$? |
|
|
13120 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13121 | (exit $ac_status); }; } && |
|
|
13122 | { ac_try='test -s conftest.$ac_objext' |
|
|
13123 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13124 | (eval $ac_try) 2>&5 |
|
|
13125 | ac_status=$? |
|
|
13126 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13127 | (exit $ac_status); }; }; then |
|
|
13128 | ac_hi=-1 ac_mid=-1 |
|
|
13129 | while :; do |
|
|
13130 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13131 | /* confdefs.h. */ |
|
|
13132 | _ACEOF |
|
|
13133 | cat confdefs.h >>conftest.$ac_ext |
|
|
13134 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13135 | /* end confdefs.h. */ |
|
|
13136 | $ac_includes_default |
|
|
13137 | int |
|
|
13138 | main () |
|
|
13139 | { |
|
|
13140 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; |
|
|
13141 | test_array [0] = 0 |
|
|
13142 | |
|
|
13143 | ; |
|
|
13144 | return 0; |
|
|
13145 | } |
|
|
13146 | _ACEOF |
|
|
13147 | rm -f conftest.$ac_objext |
|
|
13148 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13149 | (eval $ac_compile) 2>conftest.er1 |
|
|
13150 | ac_status=$? |
|
|
13151 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13152 | rm -f conftest.er1 |
|
|
13153 | cat conftest.err >&5 |
|
|
13154 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13155 | (exit $ac_status); } && |
|
|
13156 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13157 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13158 | (eval $ac_try) 2>&5 |
|
|
13159 | ac_status=$? |
|
|
13160 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13161 | (exit $ac_status); }; } && |
|
|
13162 | { ac_try='test -s conftest.$ac_objext' |
|
|
13163 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13164 | (eval $ac_try) 2>&5 |
|
|
13165 | ac_status=$? |
|
|
13166 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13167 | (exit $ac_status); }; }; then |
|
|
13168 | ac_lo=$ac_mid; break |
|
|
13169 | else |
|
|
13170 | echo "$as_me: failed program was:" >&5 |
|
|
13171 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13172 | |
|
|
13173 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
13174 | if test $ac_mid -le $ac_hi; then |
|
|
13175 | ac_lo= ac_hi= |
|
|
13176 | break |
|
|
13177 | fi |
|
|
13178 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
13179 | fi |
|
|
13180 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13181 | done |
|
|
13182 | else |
|
|
13183 | echo "$as_me: failed program was:" >&5 |
|
|
13184 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13185 | |
|
|
13186 | ac_lo= ac_hi= |
|
|
13187 | fi |
|
|
13188 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13189 | fi |
|
|
13190 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13191 | # Binary search between lo and hi bounds. |
|
|
13192 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
13193 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
13194 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13195 | /* confdefs.h. */ |
|
|
13196 | _ACEOF |
|
|
13197 | cat confdefs.h >>conftest.$ac_ext |
|
|
13198 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13199 | /* end confdefs.h. */ |
|
|
13200 | $ac_includes_default |
|
|
13201 | int |
|
|
13202 | main () |
|
|
13203 | { |
|
|
13204 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
13205 | test_array [0] = 0 |
|
|
13206 | |
|
|
13207 | ; |
|
|
13208 | return 0; |
|
|
13209 | } |
|
|
13210 | _ACEOF |
|
|
13211 | rm -f conftest.$ac_objext |
|
|
13212 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13213 | (eval $ac_compile) 2>conftest.er1 |
|
|
13214 | ac_status=$? |
|
|
13215 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13216 | rm -f conftest.er1 |
|
|
13217 | cat conftest.err >&5 |
|
|
13218 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13219 | (exit $ac_status); } && |
|
|
13220 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13221 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13222 | (eval $ac_try) 2>&5 |
|
|
13223 | ac_status=$? |
|
|
13224 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13225 | (exit $ac_status); }; } && |
|
|
13226 | { ac_try='test -s conftest.$ac_objext' |
|
|
13227 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13228 | (eval $ac_try) 2>&5 |
|
|
13229 | ac_status=$? |
|
|
13230 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13231 | (exit $ac_status); }; }; then |
|
|
13232 | ac_hi=$ac_mid |
|
|
13233 | else |
|
|
13234 | echo "$as_me: failed program was:" >&5 |
|
|
13235 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13236 | |
|
|
13237 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
13238 | fi |
|
|
13239 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13240 | done |
|
|
13241 | case $ac_lo in |
|
|
13242 | ?*) ac_cv_sizeof_long=$ac_lo;; |
|
|
13243 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13244 | See \`config.log' for more details." >&5 |
|
|
13245 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13246 | See \`config.log' for more details." >&2;} |
|
|
13247 | { (exit 1); exit 1; }; } ;; |
|
|
13248 | esac |
|
|
13249 | else |
|
|
13250 | if test "$cross_compiling" = yes; then |
|
|
13251 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
13252 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
13253 | { (exit 1); exit 1; }; } |
|
|
13254 | else |
|
|
13255 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13256 | /* confdefs.h. */ |
|
|
13257 | _ACEOF |
|
|
13258 | cat confdefs.h >>conftest.$ac_ext |
|
|
13259 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13260 | /* end confdefs.h. */ |
|
|
13261 | $ac_includes_default |
|
|
13262 | long longval () { return (long) (sizeof (long)); } |
|
|
13263 | unsigned long ulongval () { return (long) (sizeof (long)); } |
|
|
13264 | #include <stdio.h> |
|
|
13265 | #include <stdlib.h> |
|
|
13266 | int |
|
|
13267 | main () |
|
|
13268 | { |
|
|
13269 | |
|
|
13270 | FILE *f = fopen ("conftest.val", "w"); |
|
|
13271 | if (! f) |
|
|
13272 | exit (1); |
|
|
13273 | if (((long) (sizeof (long))) < 0) |
|
|
13274 | { |
|
|
13275 | long i = longval (); |
|
|
13276 | if (i != ((long) (sizeof (long)))) |
|
|
13277 | exit (1); |
|
|
13278 | fprintf (f, "%ld\n", i); |
|
|
13279 | } |
|
|
13280 | else |
|
|
13281 | { |
|
|
13282 | unsigned long i = ulongval (); |
|
|
13283 | if (i != ((long) (sizeof (long)))) |
|
|
13284 | exit (1); |
|
|
13285 | fprintf (f, "%lu\n", i); |
|
|
13286 | } |
|
|
13287 | exit (ferror (f) || fclose (f) != 0); |
|
|
13288 | |
|
|
13289 | ; |
|
|
13290 | return 0; |
|
|
13291 | } |
|
|
13292 | _ACEOF |
|
|
13293 | rm -f conftest$ac_exeext |
|
|
13294 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13295 | (eval $ac_link) 2>&5 |
|
|
13296 | ac_status=$? |
|
|
13297 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13298 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
13299 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13300 | (eval $ac_try) 2>&5 |
|
|
13301 | ac_status=$? |
|
|
13302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13303 | (exit $ac_status); }; }; then |
|
|
13304 | ac_cv_sizeof_long=`cat conftest.val` |
|
|
13305 | else |
|
|
13306 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
13307 | echo "$as_me: failed program was:" >&5 |
|
|
13308 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13309 | |
|
|
13310 | ( exit $ac_status ) |
|
|
13311 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13312 | See \`config.log' for more details." >&5 |
|
|
13313 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13314 | See \`config.log' for more details." >&2;} |
|
|
13315 | { (exit 1); exit 1; }; } |
|
|
13316 | fi |
|
|
13317 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
13318 | fi |
|
|
13319 | fi |
|
|
13320 | rm -f conftest.val |
|
|
13321 | else |
|
|
13322 | ac_cv_sizeof_long=0 |
|
|
13323 | fi |
|
|
13324 | fi |
|
|
13325 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
|
|
13326 | echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
|
|
13327 | cat >>confdefs.h <<_ACEOF |
|
|
13328 | #define SIZEOF_LONG $ac_cv_sizeof_long |
|
|
13329 | _ACEOF |
12611 | _ACEOF |
13330 | |
12612 | |
13331 | |
12613 | |
13332 | echo "$as_me:$LINENO: checking for long long" >&5 |
12614 | echo "$as_me:$LINENO: checking for long long" >&5 |
13333 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
12615 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
… | |
… | |
16176 | #define HAVE_NL_LANGINFO 1 |
15458 | #define HAVE_NL_LANGINFO 1 |
16177 | _ACEOF |
15459 | _ACEOF |
16178 | |
15460 | |
16179 | fi |
15461 | fi |
16180 | |
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 | |
16181 | echo "$as_me:$LINENO: checking for getpt" >&5 |
15521 | echo "$as_me:$LINENO: checking for getpt" >&5 |
16182 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
15522 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
16183 | if test "${rxvt_cv_func_getpt+set}" = set; then |
15523 | if test "${rxvt_cv_func_getpt+set}" = set; then |
16184 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15524 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16185 | else |
15525 | else |
… | |
… | |
16362 | |
15702 | |
16363 | cat >>confdefs.h <<_ACEOF |
15703 | cat >>confdefs.h <<_ACEOF |
16364 | #define PTYCHAR2 "$pch2" |
15704 | #define PTYCHAR2 "$pch2" |
16365 | _ACEOF |
15705 | _ACEOF |
16366 | |
15706 | |
16367 | fi |
|
|
16368 | |
|
|
16369 | if test x$support_tinting = xyes; then |
|
|
16370 | |
|
|
16371 | cat >>confdefs.h <<\_ACEOF |
|
|
16372 | #define TINTING 1 |
|
|
16373 | _ACEOF |
|
|
16374 | |
|
|
16375 | fi |
|
|
16376 | if test x$support_inheritpixmap = xyes; then |
|
|
16377 | |
|
|
16378 | cat >>confdefs.h <<\_ACEOF |
|
|
16379 | #define TRANSPARENT 1 |
|
|
16380 | _ACEOF |
|
|
16381 | |
|
|
16382 | fi |
|
|
16383 | if test x$support_keepscrolling = xno; then |
|
|
16384 | |
|
|
16385 | cat >>confdefs.h <<\_ACEOF |
|
|
16386 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
16387 | _ACEOF |
|
|
16388 | |
|
|
16389 | fi |
|
|
16390 | if test x$support_selectionscrolling = xyes; then |
|
|
16391 | |
|
|
16392 | cat >>confdefs.h <<\_ACEOF |
|
|
16393 | #define SELECTION_SCROLLING 1 |
|
|
16394 | _ACEOF |
|
|
16395 | |
|
|
16396 | fi |
|
|
16397 | if test x$support_menubar = xyes; then |
|
|
16398 | |
|
|
16399 | cat >>confdefs.h <<\_ACEOF |
|
|
16400 | #define MENUBAR 1 |
|
|
16401 | _ACEOF |
|
|
16402 | |
|
|
16403 | fi |
|
|
16404 | if test x$support_frills = xno; then |
|
|
16405 | |
|
|
16406 | cat >>confdefs.h <<\_ACEOF |
|
|
16407 | #define NO_FRILLS 1 |
|
|
16408 | _ACEOF |
|
|
16409 | |
|
|
16410 | fi |
|
|
16411 | if test x$support_linespace = xno; then |
|
|
16412 | |
|
|
16413 | cat >>confdefs.h <<\_ACEOF |
|
|
16414 | #define NO_LINESPACE 1 |
|
|
16415 | _ACEOF |
|
|
16416 | |
|
|
16417 | fi |
|
|
16418 | if test x$support_24bit = xyes; then |
|
|
16419 | |
|
|
16420 | cat >>confdefs.h <<\_ACEOF |
|
|
16421 | #define PREFER_24BIT 1 |
|
|
16422 | _ACEOF |
|
|
16423 | |
|
|
16424 | fi |
|
|
16425 | if test x$support_mousewheel = xyes; then |
|
|
16426 | |
|
|
16427 | cat >>confdefs.h <<\_ACEOF |
|
|
16428 | #define MOUSE_WHEEL 1 |
|
|
16429 | _ACEOF |
|
|
16430 | |
|
|
16431 | fi |
|
|
16432 | if test x$support_mouseslipwheel = xyes; then |
|
|
16433 | |
|
|
16434 | cat >>confdefs.h <<\_ACEOF |
|
|
16435 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16436 | _ACEOF |
|
|
16437 | |
|
|
16438 | fi |
|
|
16439 | if test x$support_utmp = xyes; then |
|
|
16440 | |
|
|
16441 | cat >>confdefs.h <<\_ACEOF |
|
|
16442 | #define UTMP_SUPPORT 1 |
|
|
16443 | _ACEOF |
|
|
16444 | |
|
|
16445 | fi |
|
|
16446 | if test x$support_wtmp = xyes; then |
|
|
16447 | |
|
|
16448 | cat >>confdefs.h <<\_ACEOF |
|
|
16449 | #define WTMP_SUPPORT 1 |
|
|
16450 | _ACEOF |
|
|
16451 | |
|
|
16452 | fi |
|
|
16453 | if test x$support_lastlog = xyes; then |
|
|
16454 | |
|
|
16455 | cat >>confdefs.h <<\_ACEOF |
|
|
16456 | #define LASTLOG_SUPPORT 1 |
|
|
16457 | _ACEOF |
|
|
16458 | |
|
|
16459 | fi |
|
|
16460 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16461 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16462 | |
|
|
16463 | cat >>confdefs.h <<\_ACEOF |
|
|
16464 | #define USE_XIM 1 |
|
|
16465 | _ACEOF |
|
|
16466 | |
|
|
16467 | fi |
|
|
16468 | fi |
|
|
16469 | if test x$support_xpm = xyes; then |
|
|
16470 | |
|
|
16471 | cat >>confdefs.h <<\_ACEOF |
|
|
16472 | #define XPM_BACKGROUND 1 |
|
|
16473 | _ACEOF |
|
|
16474 | |
|
|
16475 | fi |
|
|
16476 | if test x$support_scroll_rxvt = xyes; then |
|
|
16477 | |
|
|
16478 | cat >>confdefs.h <<\_ACEOF |
|
|
16479 | #define RXVT_SCROLLBAR 1 |
|
|
16480 | _ACEOF |
|
|
16481 | |
|
|
16482 | scrolltypes="rxvt" |
|
|
16483 | fi |
|
|
16484 | if test x$support_scroll_next = xyes; then |
|
|
16485 | |
|
|
16486 | cat >>confdefs.h <<\_ACEOF |
|
|
16487 | #define NEXT_SCROLLBAR 1 |
|
|
16488 | _ACEOF |
|
|
16489 | |
|
|
16490 | scrolltypes="$scrolltypes next" |
|
|
16491 | fi |
|
|
16492 | if test x$support_scroll_xterm = xyes; then |
|
|
16493 | |
|
|
16494 | cat >>confdefs.h <<\_ACEOF |
|
|
16495 | #define XTERM_SCROLLBAR 1 |
|
|
16496 | _ACEOF |
|
|
16497 | |
|
|
16498 | scrolltypes="$scrolltypes xterm" |
|
|
16499 | fi |
|
|
16500 | if test x$support_scroll_plain = xyes; then |
|
|
16501 | |
|
|
16502 | cat >>confdefs.h <<\_ACEOF |
|
|
16503 | #define PLAIN_SCROLLBAR 1 |
|
|
16504 | _ACEOF |
|
|
16505 | |
|
|
16506 | scrolltypes="$scrolltypes plain" |
|
|
16507 | fi |
|
|
16508 | if test x$support_pointer_blank = xyes; then |
|
|
16509 | |
|
|
16510 | cat >>confdefs.h <<\_ACEOF |
|
|
16511 | #define POINTER_BLANK 1 |
|
|
16512 | _ACEOF |
|
|
16513 | |
|
|
16514 | fi |
|
|
16515 | if test x$support_cursor_blink = xyes; then |
|
|
16516 | |
|
|
16517 | cat >>confdefs.h <<\_ACEOF |
|
|
16518 | #define CURSOR_BLINK 1 |
|
|
16519 | _ACEOF |
|
|
16520 | |
|
|
16521 | fi |
|
|
16522 | if test x$support_text_blink = xyes; then |
|
|
16523 | |
|
|
16524 | cat >>confdefs.h <<\_ACEOF |
|
|
16525 | #define TEXT_BLINK 1 |
|
|
16526 | _ACEOF |
|
|
16527 | |
|
|
16528 | fi |
|
|
16529 | if test x$support_unicode3 = xyes; then |
|
|
16530 | |
|
|
16531 | cat >>confdefs.h <<\_ACEOF |
|
|
16532 | #define UNICODE_3 1 |
|
|
16533 | _ACEOF |
|
|
16534 | |
|
|
16535 | fi |
|
|
16536 | if test x$support_combining = xyes; then |
|
|
16537 | |
|
|
16538 | cat >>confdefs.h <<\_ACEOF |
|
|
16539 | #define ENABLE_COMBINING 1 |
|
|
16540 | _ACEOF |
|
|
16541 | |
|
|
16542 | fi |
|
|
16543 | if test x$codesets = xall; then |
|
|
16544 | codesets=jp,jp-ext,kr,cn,cn-ext |
|
|
16545 | fi |
|
|
16546 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16547 | |
|
|
16548 | cat >>confdefs.h <<\_ACEOF |
|
|
16549 | #define ENCODING_EU 1 |
|
|
16550 | _ACEOF |
|
|
16551 | |
|
|
16552 | |
|
|
16553 | cat >>confdefs.h <<\_ACEOF |
|
|
16554 | #define ENCODING_VN 1 |
|
|
16555 | _ACEOF |
|
|
16556 | |
|
|
16557 | case "$codeset" in |
|
|
16558 | JP ) |
|
|
16559 | cat >>confdefs.h <<\_ACEOF |
|
|
16560 | #define ENCODING_JP 1 |
|
|
16561 | _ACEOF |
|
|
16562 | ;; |
|
|
16563 | JP_EXT ) |
|
|
16564 | cat >>confdefs.h <<\_ACEOF |
|
|
16565 | #define ENCODING_JP_EXT 1 |
|
|
16566 | _ACEOF |
|
|
16567 | ;; |
|
|
16568 | KR ) |
|
|
16569 | cat >>confdefs.h <<\_ACEOF |
|
|
16570 | #define ENCODING_KR 1 |
|
|
16571 | _ACEOF |
|
|
16572 | ;; |
|
|
16573 | CN ) |
|
|
16574 | cat >>confdefs.h <<\_ACEOF |
|
|
16575 | #define ENCODING_CN 1 |
|
|
16576 | _ACEOF |
|
|
16577 | ;; |
|
|
16578 | CN_EXT ) |
|
|
16579 | cat >>confdefs.h <<\_ACEOF |
|
|
16580 | #define ENCODING_CN_EXT 1 |
|
|
16581 | _ACEOF |
|
|
16582 | ;; |
|
|
16583 | esac |
|
|
16584 | done |
|
|
16585 | |
|
|
16586 | |
|
|
16587 | CFLAGS=${CFLAGS--O} |
|
|
16588 | LDFLAGS=${LDFLAGS--O} |
|
|
16589 | |
|
|
16590 | CPPFLAGS="$CPPFLAGS" |
|
|
16591 | |
|
|
16592 | |
|
|
16593 | |
|
|
16594 | |
|
|
16595 | |
|
|
16596 | |
|
|
16597 | |
|
|
16598 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
16599 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16600 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
16601 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
16602 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
16603 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
16604 | fi |
|
|
16605 | |
|
|
16606 | |
|
|
16607 | |
|
|
16608 | |
|
|
16609 | |
|
|
16610 | if test x$support_addstrings = xno; then |
|
|
16611 | |
|
|
16612 | cat >>confdefs.h <<\_ACEOF |
|
|
16613 | #define NO_STRINGS 1 |
|
|
16614 | _ACEOF |
|
|
16615 | |
|
|
16616 | fi |
|
|
16617 | |
|
|
16618 | MCOMMON=./autoconf/Make.common |
|
|
16619 | |
|
|
16620 | |
|
|
16621 | test "$program_prefix" != NONE && |
|
|
16622 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16623 | # Use a double $ so make ignores it. |
|
|
16624 | test "$program_suffix" != NONE && |
|
|
16625 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
16626 | # Double any \ or $. echo might interpret backslashes. |
|
|
16627 | # By default was `s,x,x', remove it if useless. |
|
|
16628 | cat <<\_ACEOF >conftest.sed |
|
|
16629 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16630 | _ACEOF |
|
|
16631 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16632 | rm conftest.sed |
|
|
16633 | |
|
|
16634 | |
|
|
16635 | |
|
|
16636 | |
|
|
16637 | |
|
|
16638 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16639 | include_stdint_h="#include <stdint.h>" |
|
|
16640 | else |
|
|
16641 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16642 | fi |
|
|
16643 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16644 | include_stdarg_h="#include <cstdarg>" |
|
|
16645 | else |
|
|
16646 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
16647 | fi |
|
|
16648 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16649 | include_stdlib_h="#include <cstdlib>" |
|
|
16650 | else |
|
|
16651 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
16652 | fi |
|
|
16653 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16654 | include_unistd_h="#include <unistd.h>" |
|
|
16655 | else |
|
|
16656 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16657 | fi |
|
|
16658 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16659 | include_string_h="#include <cstring>" |
|
|
16660 | else |
|
|
16661 | include_string_h="/* #include <cstring> */" |
|
|
16662 | fi |
|
|
16663 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16664 | include_fcntl_h="#include <fcntl.h>" |
|
|
16665 | else |
|
|
16666 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16667 | fi |
|
|
16668 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16669 | include_util_h="#include <util.h>" |
|
|
16670 | else |
|
|
16671 | include_util_h="/* #include <util.h> */" |
|
|
16672 | fi |
|
|
16673 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16674 | include_assert_h="#include <assert.h>" |
|
|
16675 | else |
|
|
16676 | include_assert_h="/* #include <assert.h> */" |
|
|
16677 | fi |
|
|
16678 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16679 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16680 | else |
|
|
16681 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16682 | fi |
|
|
16683 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16684 | include_sys_select_h="#include <sys/select.h>" |
|
|
16685 | else |
|
|
16686 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16687 | fi |
|
|
16688 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16689 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16690 | else |
|
|
16691 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16692 | fi |
|
|
16693 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16694 | include_sys_time_h="#include <sys/time.h>" |
|
|
16695 | else |
|
|
16696 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16697 | fi |
|
|
16698 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16699 | include_time_h="#include <time.h>" |
|
|
16700 | else |
|
|
16701 | include_time_h="/* #include <time.h> */" |
|
|
16702 | fi |
15707 | fi |
16703 | |
15708 | |
16704 | if test x$support_xft = xyes; then |
15709 | if test x$support_xft = xyes; then |
16705 | LIBS="$LIBS `pkg-config xft --libs`" |
15710 | LIBS="$LIBS `pkg-config xft --libs`" |
16706 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
15711 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
… | |
… | |
16939 | #define XFT 1 |
15944 | #define XFT 1 |
16940 | _ACEOF |
15945 | _ACEOF |
16941 | |
15946 | |
16942 | fi |
15947 | fi |
16943 | fi |
15948 | fi |
|
|
15949 | if test x$support_styles = xyes; then |
16944 | |
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 | |
16945 | 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 | |
16946 | cat >confcache <<\_ACEOF |
16307 | cat >confcache <<\_ACEOF |
16947 | # 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 |
16948 | # 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 |
16949 | # scripts and configure runs, see configure's option --config-cache. |
16310 | # scripts and configure runs, see configure's option --config-cache. |
16950 | # 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 |
… | |
… | |
17470 | # Handling of arguments. |
16831 | # Handling of arguments. |
17471 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
16832 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
17472 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
16833 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
17473 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
16834 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
17474 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
16835 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
17475 | "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;; |
|
|
17476 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
16836 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
17477 | "W11/Makefile" ) CONFIG_FILES="$CONFIG_FILES W11/Makefile" ;; |
|
|
17478 | "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" ;; |
17479 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
16838 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
17480 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
16839 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
17481 | { (exit 1); exit 1; }; };; |
16840 | { (exit 1); exit 1; }; };; |
17482 | esac |
16841 | esac |
… | |
… | |
17558 | s,@DEFS@,$DEFS,;t t |
16917 | s,@DEFS@,$DEFS,;t t |
17559 | s,@ECHO_C@,$ECHO_C,;t t |
16918 | s,@ECHO_C@,$ECHO_C,;t t |
17560 | s,@ECHO_N@,$ECHO_N,;t t |
16919 | s,@ECHO_N@,$ECHO_N,;t t |
17561 | s,@ECHO_T@,$ECHO_T,;t t |
16920 | s,@ECHO_T@,$ECHO_T,;t t |
17562 | 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 |
17563 | s,@VERSION@,$VERSION,;t t |
16930 | s,@VERSION@,$VERSION,;t t |
17564 | s,@DATE@,$DATE,;t t |
16931 | s,@DATE@,$DATE,;t t |
17565 | s,@LSMDATE@,$LSMDATE,;t t |
16932 | s,@LSMDATE@,$LSMDATE,;t t |
17566 | s,@LIBVERSION@,$LIBVERSION,;t t |
16933 | s,@LIBVERSION@,$LIBVERSION,;t t |
17567 | s,@CC@,$CC,;t t |
16934 | s,@CC@,$CC,;t t |
… | |
… | |
17580 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
16947 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
17581 | s,@AWK@,$AWK,;t t |
16948 | s,@AWK@,$AWK,;t t |
17582 | s,@LINKER@,$LINKER,;t t |
16949 | s,@LINKER@,$LINKER,;t t |
17583 | s,@CXXCPP@,$CXXCPP,;t t |
16950 | s,@CXXCPP@,$CXXCPP,;t t |
17584 | s,@EGREP@,$EGREP,;t t |
16951 | s,@EGREP@,$EGREP,;t t |
17585 | s,@build@,$build,;t t |
|
|
17586 | s,@build_cpu@,$build_cpu,;t t |
|
|
17587 | s,@build_vendor@,$build_vendor,;t t |
|
|
17588 | s,@build_os@,$build_os,;t t |
|
|
17589 | s,@host@,$host,;t t |
|
|
17590 | s,@host_cpu@,$host_cpu,;t t |
|
|
17591 | s,@host_vendor@,$host_vendor,;t t |
|
|
17592 | s,@host_os@,$host_os,;t t |
|
|
17593 | s,@LN_S@,$LN_S,;t t |
16952 | s,@LN_S@,$LN_S,;t t |
17594 | s,@ECHO@,$ECHO,;t t |
16953 | s,@ECHO@,$ECHO,;t t |
17595 | s,@RANLIB@,$RANLIB,;t t |
16954 | s,@RANLIB@,$RANLIB,;t t |
17596 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
16955 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
17597 | s,@STRIP@,$STRIP,;t t |
16956 | s,@STRIP@,$STRIP,;t t |
… | |
… | |
17604 | s,@CP@,$CP,;t t |
16963 | s,@CP@,$CP,;t t |
17605 | s,@LN@,$LN,;t t |
16964 | s,@LN@,$LN,;t t |
17606 | s,@SED@,$SED,;t t |
16965 | s,@SED@,$SED,;t t |
17607 | s,@CMP@,$CMP,;t t |
16966 | s,@CMP@,$CMP,;t t |
17608 | s,@TBL@,$TBL,;t t |
16967 | s,@TBL@,$TBL,;t t |
|
|
16968 | s,@TIC@,$TIC,;t t |
17609 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
16969 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
17610 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
16970 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
17611 | s,@X_LIBS@,$X_LIBS,;t t |
16971 | s,@X_LIBS@,$X_LIBS,;t t |
17612 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
16972 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
17613 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
16973 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |