… | |
… | |
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 |
… | |
… | |
1054 | --enable-xgetdefault enable resources via X instead of our small version |
1055 | --enable-xgetdefault enable resources via X instead of our small version |
1055 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1056 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1056 | --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) |
1057 | --enable-strings enable some replacement system functions |
1058 | --enable-strings enable some replacement system functions |
1058 | --disable-swapscreen disable swap screen support |
1059 | --disable-swapscreen disable swap screen support |
|
|
1060 | --enable-iso14755 enable support for extended ISO 14755 modes |
1059 | --enable-frills enable support for rarely used features |
1061 | --enable-frills enable support for rarely used features |
1060 | --enable-linespace enable support for linespace |
|
|
1061 | --enable-24bit enable support for using 24bit visuals if available |
1062 | --enable-24bit enable support for using 24bit visuals if available |
1062 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1063 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1063 | --enable-selectionscrolling enable scrolling during selections |
1064 | --enable-selectionscrolling enable scrolling during selections |
1064 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1065 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1065 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1066 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1066 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1067 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
1067 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1068 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
1068 | NOTE: enable only one malloc package |
1069 | NOTE: enable only one malloc package |
1069 | --enable-smart-resize enable smart growth/shrink behaviour |
1070 | --enable-smart-resize enable smart growth/shrink behaviour |
1070 | --enable-256-color enable 256-color support |
|
|
1071 | --enable-cursor-blink enable blinking cursor |
1071 | --enable-cursor-blink enable blinking cursor |
1072 | --enable-text-blink enable blinking text |
1072 | --enable-text-blink enable blinking text |
1073 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1073 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1074 | |
1074 | |
1075 | Optional Packages: |
1075 | Optional Packages: |
1076 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1076 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1077 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1077 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1078 | --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 |
1079 | --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 |
1080 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all) |
1080 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1081 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1081 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1082 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1082 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1083 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1083 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1084 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1084 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1085 | --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 |
… | |
… | |
1565 | 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. |
1566 | |
1566 | |
1567 | 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 | |
1568 | |
1569 | |
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 | |
|
|
1623 | |
|
|
1624 | |
1570 | 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` |
1571 | 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` |
1572 | 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` |
1573 | LIBVERSION=`sed -n -e 's/^.*[ \t]LIBVERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1628 | LIBVERSION=`sed -n -e 's/^.*[ \t]LIBVERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1574 | echo "" |
1629 | echo "" |
… | |
… | |
3210 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3265 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3211 | 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' |
3212 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3267 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3213 | |
3268 | |
3214 | |
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 | |
3215 | LINKER="$CXX" |
3278 | LINKER="$CXX" |
3216 | if test x$GCC = xyes && test x$GXX = xyes; then |
3279 | if test x$GCC = xyes && test x$GXX = xyes; then |
3217 | |
3280 | |
3218 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
3281 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
3219 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
3282 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
… | |
… | |
3281 | |
3344 | |
3282 | fi |
3345 | fi |
3283 | LINKER=$LINKER |
3346 | LINKER=$LINKER |
3284 | |
3347 | |
3285 | |
3348 | |
3286 | 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 |
3287 | |
3374 | |
3288 | |
3375 | |
3289 | ac_ext=cc |
3376 | ac_ext=cc |
3290 | ac_cpp='$CXXCPP $CPPFLAGS' |
3377 | ac_cpp='$CXXCPP $CPPFLAGS' |
3291 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3378 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
3959 | ;; |
4046 | ;; |
3960 | esac |
4047 | esac |
3961 | else |
4048 | else |
3962 | enable_fast_install=yes |
4049 | enable_fast_install=yes |
3963 | fi; |
4050 | fi; |
3964 | # Make sure we can run config.sub. |
|
|
3965 | $ac_config_sub sun4 >/dev/null 2>&1 || |
|
|
3966 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
|
|
3967 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
|
|
3968 | { (exit 1); exit 1; }; } |
|
|
3969 | |
|
|
3970 | echo "$as_me:$LINENO: checking build system type" >&5 |
|
|
3971 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
|
|
3972 | if test "${ac_cv_build+set}" = set; then |
|
|
3973 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3974 | else |
|
|
3975 | ac_cv_build_alias=$build_alias |
|
|
3976 | test -z "$ac_cv_build_alias" && |
|
|
3977 | ac_cv_build_alias=`$ac_config_guess` |
|
|
3978 | test -z "$ac_cv_build_alias" && |
|
|
3979 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
|
3980 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
|
3981 | { (exit 1); exit 1; }; } |
|
|
3982 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
|
|
3983 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
|
|
3984 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
|
|
3985 | { (exit 1); exit 1; }; } |
|
|
3986 | |
|
|
3987 | fi |
|
|
3988 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
|
3989 | echo "${ECHO_T}$ac_cv_build" >&6 |
|
|
3990 | build=$ac_cv_build |
|
|
3991 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
3992 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
3993 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
3994 | |
|
|
3995 | |
|
|
3996 | echo "$as_me:$LINENO: checking host system type" >&5 |
|
|
3997 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
|
|
3998 | if test "${ac_cv_host+set}" = set; then |
|
|
3999 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4000 | else |
|
|
4001 | ac_cv_host_alias=$host_alias |
|
|
4002 | test -z "$ac_cv_host_alias" && |
|
|
4003 | ac_cv_host_alias=$ac_cv_build_alias |
|
|
4004 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
|
|
4005 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
|
|
4006 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
|
|
4007 | { (exit 1); exit 1; }; } |
|
|
4008 | |
|
|
4009 | fi |
|
|
4010 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
|
4011 | echo "${ECHO_T}$ac_cv_host" >&6 |
|
|
4012 | host=$ac_cv_host |
|
|
4013 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
4014 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
4015 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
4016 | |
|
|
4017 | |
|
|
4018 | |
4051 | |
4019 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
4052 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
4020 | if test "${with_gnu_ld+set}" = set; then |
4053 | if test "${with_gnu_ld+set}" = set; then |
4021 | withval="$with_gnu_ld" |
4054 | withval="$with_gnu_ld" |
4022 | test "$withval" = no || with_gnu_ld=yes |
4055 | test "$withval" = no || with_gnu_ld=yes |
… | |
… | |
5237 | # 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 |
5238 | # libtool support. |
5271 | # libtool support. |
5239 | case "$host" in |
5272 | case "$host" in |
5240 | *-*-irix6*) |
5273 | *-*-irix6*) |
5241 | # Find out which ABI we are using. |
5274 | # Find out which ABI we are using. |
5242 | echo '#line 5242 "configure"' > conftest.$ac_ext |
5275 | echo '#line 5275 "configure"' > conftest.$ac_ext |
5243 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5276 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5244 | (eval $ac_compile) 2>&5 |
5277 | (eval $ac_compile) 2>&5 |
5245 | ac_status=$? |
5278 | ac_status=$? |
5246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5247 | (exit $ac_status); }; then |
5280 | (exit $ac_status); }; then |
… | |
… | |
5788 | # builds. |
5821 | # builds. |
5789 | chmod -w . |
5822 | chmod -w . |
5790 | save_CFLAGS="$CFLAGS" |
5823 | save_CFLAGS="$CFLAGS" |
5791 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5824 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
5792 | compiler_c_o=no |
5825 | compiler_c_o=no |
5793 | if { (eval echo configure:5793: \"$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 |
5794 | # 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 |
5795 | # So say no if there are warnings |
5828 | # So say no if there are warnings |
5796 | if test -s out/conftest.err; then |
5829 | if test -s out/conftest.err; then |
5797 | compiler_c_o=no |
5830 | compiler_c_o=no |
5798 | else |
5831 | else |
… | |
… | |
7404 | lt_cv_dlopen_self=cross |
7437 | lt_cv_dlopen_self=cross |
7405 | else |
7438 | else |
7406 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7439 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7407 | lt_status=$lt_dlunknown |
7440 | lt_status=$lt_dlunknown |
7408 | cat > conftest.$ac_ext <<EOF |
7441 | cat > conftest.$ac_ext <<EOF |
7409 | #line 7409 "configure" |
7442 | #line 7442 "configure" |
7410 | #include "confdefs.h" |
7443 | #include "confdefs.h" |
7411 | |
7444 | |
7412 | #if HAVE_DLFCN_H |
7445 | #if HAVE_DLFCN_H |
7413 | #include <dlfcn.h> |
7446 | #include <dlfcn.h> |
7414 | #endif |
7447 | #endif |
… | |
… | |
7502 | lt_cv_dlopen_self_static=cross |
7535 | lt_cv_dlopen_self_static=cross |
7503 | else |
7536 | else |
7504 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7537 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
7505 | lt_status=$lt_dlunknown |
7538 | lt_status=$lt_dlunknown |
7506 | cat > conftest.$ac_ext <<EOF |
7539 | cat > conftest.$ac_ext <<EOF |
7507 | #line 7507 "configure" |
7540 | #line 7540 "configure" |
7508 | #include "confdefs.h" |
7541 | #include "confdefs.h" |
7509 | |
7542 | |
7510 | #if HAVE_DLFCN_H |
7543 | #if HAVE_DLFCN_H |
7511 | #include <dlfcn.h> |
7544 | #include <dlfcn.h> |
7512 | #endif |
7545 | #endif |
… | |
… | |
8233 | |
8266 | |
8234 | |
8267 | |
8235 | MALLOC_TYPE=S |
8268 | MALLOC_TYPE=S |
8236 | support_addstrings=no |
8269 | support_addstrings=no |
8237 | support_frills=no |
8270 | support_frills=no |
8238 | support_linespace=no |
|
|
8239 | support_inheritpixmap=no |
8271 | support_inheritpixmap=no |
8240 | support_tinting=no |
8272 | support_tinting=no |
8241 | support_fading=no |
8273 | support_fading=no |
8242 | support_keepscrolling=no |
8274 | support_keepscrolling=no |
8243 | support_selectionscrolling=no |
8275 | support_selectionscrolling=no |
… | |
… | |
8258 | support_xpm=no |
8290 | support_xpm=no |
8259 | support_xft=no |
8291 | support_xft=no |
8260 | support_unicode3=no |
8292 | support_unicode3=no |
8261 | support_combining=no |
8293 | support_combining=no |
8262 | support_8bitctrls=no |
8294 | support_8bitctrls=no |
|
|
8295 | support_iso14755=no |
|
|
8296 | support_styles=no |
8263 | codesets= |
8297 | codesets= |
8264 | |
8298 | |
8265 | |
8299 | |
8266 | if test "x$enable_shared" = xyes; then |
8300 | if test "x$enable_shared" = xyes; then |
8267 | |
8301 | |
… | |
… | |
8277 | if test "${enable_everything+set}" = set; then |
8311 | if test "${enable_everything+set}" = set; then |
8278 | enableval="$enable_everything" |
8312 | enableval="$enable_everything" |
8279 | if test x$enableval = xyes; then |
8313 | if test x$enableval = xyes; then |
8280 | support_24bit=yes |
8314 | support_24bit=yes |
8281 | support_frills=yes |
8315 | support_frills=yes |
8282 | support_linespace=yes |
|
|
8283 | support_inheritpixmap=yes |
8316 | support_inheritpixmap=yes |
8284 | support_tinting=yes |
8317 | support_tinting=yes |
8285 | support_fading=yes |
8318 | support_fading=yes |
8286 | support_keepscrolling=yes |
8319 | support_keepscrolling=yes |
8287 | support_selectionscrolling=yes |
8320 | support_selectionscrolling=yes |
… | |
… | |
8302 | support_xpm=yes |
8335 | support_xpm=yes |
8303 | support_xft=yes |
8336 | support_xft=yes |
8304 | support_unicode3=yes |
8337 | support_unicode3=yes |
8305 | support_combining=yes |
8338 | support_combining=yes |
8306 | #support_8bitctrls=yes |
8339 | #support_8bitctrls=yes |
|
|
8340 | support_iso14755=yes |
|
|
8341 | support_styles=yes |
8307 | codesets=all |
8342 | codesets=all |
8308 | fi |
8343 | fi |
8309 | fi; |
8344 | fi; |
8310 | |
8345 | |
8311 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8346 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8312 | if test "${enable_unicode3+set}" = set; then |
8347 | if test "${enable_unicode3+set}" = set; then |
8313 | enableval="$enable_unicode3" |
8348 | enableval="$enable_unicode3" |
8314 | if test x$enableval = xyes -o x$enableval = xno; then |
8349 | if test x$enableval = xyes -o x$enableval = xno; then |
8315 | support_unicode3=yes |
8350 | support_unicode3=$enableval |
8316 | fi |
8351 | fi |
8317 | fi; |
8352 | fi; |
8318 | |
8353 | |
8319 | # Check whether --enable-combining or --disable-combining was given. |
8354 | # Check whether --enable-combining or --disable-combining was given. |
8320 | if test "${enable_combining+set}" = set; then |
8355 | if test "${enable_combining+set}" = set; then |
8321 | enableval="$enable_combining" |
8356 | enableval="$enable_combining" |
8322 | if test x$enableval = xyes -o x$enableval = xno; then |
8357 | if test x$enableval = xyes -o x$enableval = xno; then |
8323 | support_combining=yes |
8358 | support_combining=$enableval |
8324 | fi |
8359 | fi |
8325 | fi; |
8360 | fi; |
8326 | |
8361 | |
8327 | # Check whether --enable-xft or --disable-xft was given. |
8362 | # Check whether --enable-xft or --disable-xft was given. |
8328 | if test "${enable_xft+set}" = set; then |
8363 | if test "${enable_xft+set}" = set; then |
8329 | enableval="$enable_xft" |
8364 | enableval="$enable_xft" |
8330 | if test x$enableval = xyes -o x$enableval = xno; then |
8365 | if test x$enableval = xyes -o x$enableval = xno; then |
8331 | 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 |
8332 | fi |
8375 | fi |
8333 | fi; |
8376 | fi; |
8334 | |
8377 | |
8335 | # Check whether --enable-utmp or --disable-utmp was given. |
8378 | # Check whether --enable-utmp or --disable-utmp was given. |
8336 | if test "${enable_utmp+set}" = set; then |
8379 | if test "${enable_utmp+set}" = set; then |
… | |
… | |
8517 | |
8560 | |
8518 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
8561 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
8519 | if test "${enable_8bitctrls+set}" = set; then |
8562 | if test "${enable_8bitctrls+set}" = set; then |
8520 | enableval="$enable_8bitctrls" |
8563 | enableval="$enable_8bitctrls" |
8521 | if test x$enableval = xyes -o x$enableval = xno; then |
8564 | if test x$enableval = xyes -o x$enableval = xno; then |
8522 | support_8bitctrls=yes |
8565 | support_8bitctrls=$enableval |
8523 | fi |
8566 | fi |
8524 | fi; |
8567 | fi; |
8525 | |
8568 | |
8526 | RESFALLBACK=Rxvt |
8569 | RESFALLBACK=Rxvt |
8527 | # Check whether --enable-fallback or --disable-fallback was given. |
8570 | # Check whether --enable-fallback or --disable-fallback was given. |
… | |
… | |
8573 | # Check whether --with-name or --without-name was given. |
8616 | # Check whether --with-name or --without-name was given. |
8574 | if test "${with_name+set}" = set; then |
8617 | if test "${with_name+set}" = set; then |
8575 | withval="$with_name" |
8618 | withval="$with_name" |
8576 | RXVTNAME="$withval" |
8619 | RXVTNAME="$withval" |
8577 | fi; |
8620 | fi; |
|
|
8621 | |
|
|
8622 | cat >>confdefs.h <<_ACEOF |
|
|
8623 | #define RXVTNAME "$RXVTNAME" |
|
|
8624 | _ACEOF |
|
|
8625 | |
8578 | |
8626 | |
8579 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8627 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8580 | |
8628 | |
8581 | |
8629 | |
8582 | # Check whether --enable-strings or --disable-strings was given. |
8630 | # Check whether --enable-strings or --disable-strings was given. |
… | |
… | |
8597 | _ACEOF |
8645 | _ACEOF |
8598 | |
8646 | |
8599 | fi |
8647 | fi |
8600 | fi; |
8648 | fi; |
8601 | |
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 | |
8602 | # Check whether --enable-frills or --disable-frills was given. |
8658 | # Check whether --enable-frills or --disable-frills was given. |
8603 | if test "${enable_frills+set}" = set; then |
8659 | if test "${enable_frills+set}" = set; then |
8604 | enableval="$enable_frills" |
8660 | enableval="$enable_frills" |
8605 | if test x$enableval = xyes -o x$enableval = xno; then |
8661 | if test x$enableval = xyes -o x$enableval = xno; then |
8606 | support_frills=$enableval |
8662 | support_frills=$enableval |
8607 | fi |
|
|
8608 | fi; |
|
|
8609 | |
|
|
8610 | # Check whether --enable-linespace or --disable-linespace was given. |
|
|
8611 | if test "${enable_linespace+set}" = set; then |
|
|
8612 | enableval="$enable_linespace" |
|
|
8613 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8614 | support_linespace=$enableval |
|
|
8615 | fi |
8663 | fi |
8616 | fi; |
8664 | fi; |
8617 | |
8665 | |
8618 | # Check whether --enable-24bit or --disable-24bit was given. |
8666 | # Check whether --enable-24bit or --disable-24bit was given. |
8619 | if test "${enable_24bit+set}" = set; then |
8667 | if test "${enable_24bit+set}" = set; then |
… | |
… | |
8687 | _ACEOF |
8735 | _ACEOF |
8688 | |
8736 | |
8689 | fi |
8737 | fi |
8690 | fi; |
8738 | fi; |
8691 | |
8739 | |
8692 | # Check whether --enable-256-color or --disable-256-color was given. |
|
|
8693 | if test "${enable_256_color+set}" = set; then |
|
|
8694 | enableval="$enable_256_color" |
|
|
8695 | if test x$enableval = xyes; then |
|
|
8696 | |
|
|
8697 | cat >>confdefs.h <<\_ACEOF |
|
|
8698 | #define TTY_256COLOR 1 |
|
|
8699 | _ACEOF |
|
|
8700 | |
|
|
8701 | fi |
|
|
8702 | fi; |
|
|
8703 | |
|
|
8704 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
8740 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
8705 | if test "${enable_cursor_blink+set}" = set; then |
8741 | if test "${enable_cursor_blink+set}" = set; then |
8706 | enableval="$enable_cursor_blink" |
8742 | enableval="$enable_cursor_blink" |
8707 | if test x$enableval = xyes -o x$enableval = xno; then |
8743 | if test x$enableval = xyes -o x$enableval = xno; then |
8708 | support_cursor_blink=$enableval |
8744 | support_cursor_blink=$enableval |
… | |
… | |
8755 | |
8791 | |
8756 | cat >>confdefs.h <<\_ACEOF |
8792 | cat >>confdefs.h <<\_ACEOF |
8757 | #define PROTOTYPES 1 |
8793 | #define PROTOTYPES 1 |
8758 | _ACEOF |
8794 | _ACEOF |
8759 | |
8795 | |
8760 | |
|
|
8761 | if test -z "$CFLAGS"; then |
|
|
8762 | if test -z "$CCOPTS"; then |
|
|
8763 | CCOPTS='-O' |
|
|
8764 | fi |
|
|
8765 | CFLAGS="$CCOPTS" |
|
|
8766 | fi |
|
|
8767 | |
8796 | |
8768 | # 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. |
8769 | set dummy mv; ac_word=$2 |
8798 | set dummy mv; ac_word=$2 |
8770 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8799 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8771 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
8800 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
… | |
… | |
9077 | TBL=$ac_cv_path_TBL |
9106 | TBL=$ac_cv_path_TBL |
9078 | |
9107 | |
9079 | if test -n "$TBL"; then |
9108 | if test -n "$TBL"; then |
9080 | echo "$as_me:$LINENO: result: $TBL" >&5 |
9109 | echo "$as_me:$LINENO: result: $TBL" >&5 |
9081 | 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 |
9082 | else |
9150 | else |
9083 | echo "$as_me:$LINENO: result: no" >&5 |
9151 | echo "$as_me:$LINENO: result: no" >&5 |
9084 | echo "${ECHO_T}no" >&6 |
9152 | echo "${ECHO_T}no" >&6 |
9085 | fi |
9153 | fi |
9086 | |
9154 | |
… | |
… | |
10913 | |
10981 | |
10914 | |
10982 | |
10915 | |
10983 | |
10916 | |
10984 | |
10917 | |
10985 | |
|
|
10986 | |
10918 | for ac_header in \ |
10987 | for ac_header in \ |
10919 | assert.h \ |
10988 | assert.h \ |
10920 | fcntl.h \ |
10989 | fcntl.h \ |
10921 | grp.h \ |
10990 | grp.h \ |
10922 | libc.h \ |
10991 | libc.h \ |
… | |
… | |
10934 | sys/stropts.h \ |
11003 | sys/stropts.h \ |
10935 | sys/time.h \ |
11004 | sys/time.h \ |
10936 | utmp.h \ |
11005 | utmp.h \ |
10937 | utmpx.h \ |
11006 | utmpx.h \ |
10938 | stdint.h \ |
11007 | stdint.h \ |
|
|
11008 | pty.h \ |
10939 | |
11009 | |
10940 | do |
11010 | do |
10941 | 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` |
10942 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11012 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
10943 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11013 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
11727 | _ACEOF |
11797 | _ACEOF |
11728 | |
11798 | |
11729 | fi |
11799 | fi |
11730 | |
11800 | |
11731 | |
11801 | |
11732 | |
|
|
11733 | echo "$as_me:$LINENO: checking for char" >&5 |
|
|
11734 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
|
|
11735 | if test "${ac_cv_type_char+set}" = set; then |
|
|
11736 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11737 | else |
|
|
11738 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11739 | /* confdefs.h. */ |
|
|
11740 | _ACEOF |
|
|
11741 | cat confdefs.h >>conftest.$ac_ext |
|
|
11742 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11743 | /* end confdefs.h. */ |
|
|
11744 | $ac_includes_default |
|
|
11745 | int |
|
|
11746 | main () |
|
|
11747 | { |
|
|
11748 | if ((char *) 0) |
|
|
11749 | return 0; |
|
|
11750 | if (sizeof (char)) |
|
|
11751 | return 0; |
|
|
11752 | ; |
|
|
11753 | return 0; |
|
|
11754 | } |
|
|
11755 | _ACEOF |
|
|
11756 | rm -f conftest.$ac_objext |
|
|
11757 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11758 | (eval $ac_compile) 2>conftest.er1 |
|
|
11759 | ac_status=$? |
|
|
11760 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11761 | rm -f conftest.er1 |
|
|
11762 | cat conftest.err >&5 |
|
|
11763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11764 | (exit $ac_status); } && |
|
|
11765 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11766 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11767 | (eval $ac_try) 2>&5 |
|
|
11768 | ac_status=$? |
|
|
11769 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11770 | (exit $ac_status); }; } && |
|
|
11771 | { ac_try='test -s conftest.$ac_objext' |
|
|
11772 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11773 | (eval $ac_try) 2>&5 |
|
|
11774 | ac_status=$? |
|
|
11775 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11776 | (exit $ac_status); }; }; then |
|
|
11777 | ac_cv_type_char=yes |
|
|
11778 | else |
|
|
11779 | echo "$as_me: failed program was:" >&5 |
|
|
11780 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11781 | |
|
|
11782 | ac_cv_type_char=no |
|
|
11783 | fi |
|
|
11784 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11785 | fi |
|
|
11786 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
|
|
11787 | echo "${ECHO_T}$ac_cv_type_char" >&6 |
|
|
11788 | |
|
|
11789 | echo "$as_me:$LINENO: checking size of char" >&5 |
|
|
11790 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
|
|
11791 | if test "${ac_cv_sizeof_char+set}" = set; then |
|
|
11792 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11793 | else |
|
|
11794 | if test "$ac_cv_type_char" = yes; then |
|
|
11795 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
11796 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
11797 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
11798 | # This bug is HP SR number 8606223364. |
|
|
11799 | if test "$cross_compiling" = yes; then |
|
|
11800 | # Depending upon the size, compute the lo and hi bounds. |
|
|
11801 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11802 | /* confdefs.h. */ |
|
|
11803 | _ACEOF |
|
|
11804 | cat confdefs.h >>conftest.$ac_ext |
|
|
11805 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11806 | /* end confdefs.h. */ |
|
|
11807 | $ac_includes_default |
|
|
11808 | int |
|
|
11809 | main () |
|
|
11810 | { |
|
|
11811 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; |
|
|
11812 | test_array [0] = 0 |
|
|
11813 | |
|
|
11814 | ; |
|
|
11815 | return 0; |
|
|
11816 | } |
|
|
11817 | _ACEOF |
|
|
11818 | rm -f conftest.$ac_objext |
|
|
11819 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11820 | (eval $ac_compile) 2>conftest.er1 |
|
|
11821 | ac_status=$? |
|
|
11822 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11823 | rm -f conftest.er1 |
|
|
11824 | cat conftest.err >&5 |
|
|
11825 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11826 | (exit $ac_status); } && |
|
|
11827 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11828 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11829 | (eval $ac_try) 2>&5 |
|
|
11830 | ac_status=$? |
|
|
11831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11832 | (exit $ac_status); }; } && |
|
|
11833 | { ac_try='test -s conftest.$ac_objext' |
|
|
11834 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11835 | (eval $ac_try) 2>&5 |
|
|
11836 | ac_status=$? |
|
|
11837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11838 | (exit $ac_status); }; }; then |
|
|
11839 | ac_lo=0 ac_mid=0 |
|
|
11840 | while :; do |
|
|
11841 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11842 | /* confdefs.h. */ |
|
|
11843 | _ACEOF |
|
|
11844 | cat confdefs.h >>conftest.$ac_ext |
|
|
11845 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11846 | /* end confdefs.h. */ |
|
|
11847 | $ac_includes_default |
|
|
11848 | int |
|
|
11849 | main () |
|
|
11850 | { |
|
|
11851 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
11852 | test_array [0] = 0 |
|
|
11853 | |
|
|
11854 | ; |
|
|
11855 | return 0; |
|
|
11856 | } |
|
|
11857 | _ACEOF |
|
|
11858 | rm -f conftest.$ac_objext |
|
|
11859 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11860 | (eval $ac_compile) 2>conftest.er1 |
|
|
11861 | ac_status=$? |
|
|
11862 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11863 | rm -f conftest.er1 |
|
|
11864 | cat conftest.err >&5 |
|
|
11865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11866 | (exit $ac_status); } && |
|
|
11867 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11868 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11869 | (eval $ac_try) 2>&5 |
|
|
11870 | ac_status=$? |
|
|
11871 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11872 | (exit $ac_status); }; } && |
|
|
11873 | { ac_try='test -s conftest.$ac_objext' |
|
|
11874 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11875 | (eval $ac_try) 2>&5 |
|
|
11876 | ac_status=$? |
|
|
11877 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11878 | (exit $ac_status); }; }; then |
|
|
11879 | ac_hi=$ac_mid; break |
|
|
11880 | else |
|
|
11881 | echo "$as_me: failed program was:" >&5 |
|
|
11882 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11883 | |
|
|
11884 | ac_lo=`expr $ac_mid + 1` |
|
|
11885 | if test $ac_lo -le $ac_mid; then |
|
|
11886 | ac_lo= ac_hi= |
|
|
11887 | break |
|
|
11888 | fi |
|
|
11889 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
11890 | fi |
|
|
11891 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11892 | done |
|
|
11893 | else |
|
|
11894 | echo "$as_me: failed program was:" >&5 |
|
|
11895 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11896 | |
|
|
11897 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11898 | /* confdefs.h. */ |
|
|
11899 | _ACEOF |
|
|
11900 | cat confdefs.h >>conftest.$ac_ext |
|
|
11901 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11902 | /* end confdefs.h. */ |
|
|
11903 | $ac_includes_default |
|
|
11904 | int |
|
|
11905 | main () |
|
|
11906 | { |
|
|
11907 | static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; |
|
|
11908 | test_array [0] = 0 |
|
|
11909 | |
|
|
11910 | ; |
|
|
11911 | return 0; |
|
|
11912 | } |
|
|
11913 | _ACEOF |
|
|
11914 | rm -f conftest.$ac_objext |
|
|
11915 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11916 | (eval $ac_compile) 2>conftest.er1 |
|
|
11917 | ac_status=$? |
|
|
11918 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11919 | rm -f conftest.er1 |
|
|
11920 | cat conftest.err >&5 |
|
|
11921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11922 | (exit $ac_status); } && |
|
|
11923 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11924 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11925 | (eval $ac_try) 2>&5 |
|
|
11926 | ac_status=$? |
|
|
11927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11928 | (exit $ac_status); }; } && |
|
|
11929 | { ac_try='test -s conftest.$ac_objext' |
|
|
11930 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11931 | (eval $ac_try) 2>&5 |
|
|
11932 | ac_status=$? |
|
|
11933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11934 | (exit $ac_status); }; }; then |
|
|
11935 | ac_hi=-1 ac_mid=-1 |
|
|
11936 | while :; do |
|
|
11937 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11938 | /* confdefs.h. */ |
|
|
11939 | _ACEOF |
|
|
11940 | cat confdefs.h >>conftest.$ac_ext |
|
|
11941 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11942 | /* end confdefs.h. */ |
|
|
11943 | $ac_includes_default |
|
|
11944 | int |
|
|
11945 | main () |
|
|
11946 | { |
|
|
11947 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; |
|
|
11948 | test_array [0] = 0 |
|
|
11949 | |
|
|
11950 | ; |
|
|
11951 | return 0; |
|
|
11952 | } |
|
|
11953 | _ACEOF |
|
|
11954 | rm -f conftest.$ac_objext |
|
|
11955 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
11956 | (eval $ac_compile) 2>conftest.er1 |
|
|
11957 | ac_status=$? |
|
|
11958 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11959 | rm -f conftest.er1 |
|
|
11960 | cat conftest.err >&5 |
|
|
11961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11962 | (exit $ac_status); } && |
|
|
11963 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
11964 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11965 | (eval $ac_try) 2>&5 |
|
|
11966 | ac_status=$? |
|
|
11967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11968 | (exit $ac_status); }; } && |
|
|
11969 | { ac_try='test -s conftest.$ac_objext' |
|
|
11970 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11971 | (eval $ac_try) 2>&5 |
|
|
11972 | ac_status=$? |
|
|
11973 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11974 | (exit $ac_status); }; }; then |
|
|
11975 | ac_lo=$ac_mid; break |
|
|
11976 | else |
|
|
11977 | echo "$as_me: failed program was:" >&5 |
|
|
11978 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11979 | |
|
|
11980 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
11981 | if test $ac_mid -le $ac_hi; then |
|
|
11982 | ac_lo= ac_hi= |
|
|
11983 | break |
|
|
11984 | fi |
|
|
11985 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
11986 | fi |
|
|
11987 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11988 | done |
|
|
11989 | else |
|
|
11990 | echo "$as_me: failed program was:" >&5 |
|
|
11991 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11992 | |
|
|
11993 | ac_lo= ac_hi= |
|
|
11994 | fi |
|
|
11995 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11996 | fi |
|
|
11997 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11998 | # Binary search between lo and hi bounds. |
|
|
11999 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
12000 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
12001 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12002 | /* confdefs.h. */ |
|
|
12003 | _ACEOF |
|
|
12004 | cat confdefs.h >>conftest.$ac_ext |
|
|
12005 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12006 | /* end confdefs.h. */ |
|
|
12007 | $ac_includes_default |
|
|
12008 | int |
|
|
12009 | main () |
|
|
12010 | { |
|
|
12011 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
|
|
12012 | test_array [0] = 0 |
|
|
12013 | |
|
|
12014 | ; |
|
|
12015 | return 0; |
|
|
12016 | } |
|
|
12017 | _ACEOF |
|
|
12018 | rm -f conftest.$ac_objext |
|
|
12019 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12020 | (eval $ac_compile) 2>conftest.er1 |
|
|
12021 | ac_status=$? |
|
|
12022 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12023 | rm -f conftest.er1 |
|
|
12024 | cat conftest.err >&5 |
|
|
12025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12026 | (exit $ac_status); } && |
|
|
12027 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12028 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12029 | (eval $ac_try) 2>&5 |
|
|
12030 | ac_status=$? |
|
|
12031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12032 | (exit $ac_status); }; } && |
|
|
12033 | { ac_try='test -s conftest.$ac_objext' |
|
|
12034 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12035 | (eval $ac_try) 2>&5 |
|
|
12036 | ac_status=$? |
|
|
12037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12038 | (exit $ac_status); }; }; then |
|
|
12039 | ac_hi=$ac_mid |
|
|
12040 | else |
|
|
12041 | echo "$as_me: failed program was:" >&5 |
|
|
12042 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12043 | |
|
|
12044 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
12045 | fi |
|
|
12046 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12047 | done |
|
|
12048 | case $ac_lo in |
|
|
12049 | ?*) ac_cv_sizeof_char=$ac_lo;; |
|
|
12050 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
12051 | See \`config.log' for more details." >&5 |
|
|
12052 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
12053 | See \`config.log' for more details." >&2;} |
|
|
12054 | { (exit 1); exit 1; }; } ;; |
|
|
12055 | esac |
|
|
12056 | else |
|
|
12057 | if test "$cross_compiling" = yes; then |
|
|
12058 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
12059 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
12060 | { (exit 1); exit 1; }; } |
|
|
12061 | else |
|
|
12062 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12063 | /* confdefs.h. */ |
|
|
12064 | _ACEOF |
|
|
12065 | cat confdefs.h >>conftest.$ac_ext |
|
|
12066 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12067 | /* end confdefs.h. */ |
|
|
12068 | $ac_includes_default |
|
|
12069 | long longval () { return (long) (sizeof (char)); } |
|
|
12070 | unsigned long ulongval () { return (long) (sizeof (char)); } |
|
|
12071 | #include <stdio.h> |
|
|
12072 | #include <stdlib.h> |
|
|
12073 | int |
|
|
12074 | main () |
|
|
12075 | { |
|
|
12076 | |
|
|
12077 | FILE *f = fopen ("conftest.val", "w"); |
|
|
12078 | if (! f) |
|
|
12079 | exit (1); |
|
|
12080 | if (((long) (sizeof (char))) < 0) |
|
|
12081 | { |
|
|
12082 | long i = longval (); |
|
|
12083 | if (i != ((long) (sizeof (char)))) |
|
|
12084 | exit (1); |
|
|
12085 | fprintf (f, "%ld\n", i); |
|
|
12086 | } |
|
|
12087 | else |
|
|
12088 | { |
|
|
12089 | unsigned long i = ulongval (); |
|
|
12090 | if (i != ((long) (sizeof (char)))) |
|
|
12091 | exit (1); |
|
|
12092 | fprintf (f, "%lu\n", i); |
|
|
12093 | } |
|
|
12094 | exit (ferror (f) || fclose (f) != 0); |
|
|
12095 | |
|
|
12096 | ; |
|
|
12097 | return 0; |
|
|
12098 | } |
|
|
12099 | _ACEOF |
|
|
12100 | rm -f conftest$ac_exeext |
|
|
12101 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12102 | (eval $ac_link) 2>&5 |
|
|
12103 | ac_status=$? |
|
|
12104 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12105 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
12106 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12107 | (eval $ac_try) 2>&5 |
|
|
12108 | ac_status=$? |
|
|
12109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12110 | (exit $ac_status); }; }; then |
|
|
12111 | ac_cv_sizeof_char=`cat conftest.val` |
|
|
12112 | else |
|
|
12113 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
12114 | echo "$as_me: failed program was:" >&5 |
|
|
12115 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12116 | |
|
|
12117 | ( exit $ac_status ) |
|
|
12118 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77 |
|
|
12119 | See \`config.log' for more details." >&5 |
|
|
12120 | echo "$as_me: error: cannot compute sizeof (char), 77 |
|
|
12121 | See \`config.log' for more details." >&2;} |
|
|
12122 | { (exit 1); exit 1; }; } |
|
|
12123 | fi |
|
|
12124 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
12125 | fi |
|
|
12126 | fi |
|
|
12127 | rm -f conftest.val |
|
|
12128 | else |
|
|
12129 | ac_cv_sizeof_char=0 |
|
|
12130 | fi |
|
|
12131 | fi |
|
|
12132 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
|
|
12133 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
|
|
12134 | cat >>confdefs.h <<_ACEOF |
|
|
12135 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
|
|
12136 | _ACEOF |
|
|
12137 | |
|
|
12138 | |
|
|
12139 | echo "$as_me:$LINENO: checking for short" >&5 |
11802 | echo "$as_me:$LINENO: checking for short" >&5 |
12140 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
11803 | echo $ECHO_N "checking for short... $ECHO_C" >&6 |
12141 | if test "${ac_cv_type_short+set}" = set; then |
11804 | if test "${ac_cv_type_short+set}" = set; then |
12142 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11805 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12143 | else |
11806 | else |
… | |
… | |
12943 | fi |
12606 | fi |
12944 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12607 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
12945 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12608 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
12946 | cat >>confdefs.h <<_ACEOF |
12609 | cat >>confdefs.h <<_ACEOF |
12947 | #define SIZEOF_INT $ac_cv_sizeof_int |
12610 | #define SIZEOF_INT $ac_cv_sizeof_int |
12948 | _ACEOF |
|
|
12949 | |
|
|
12950 | |
|
|
12951 | echo "$as_me:$LINENO: checking for long" >&5 |
|
|
12952 | echo $ECHO_N "checking for long... $ECHO_C" >&6 |
|
|
12953 | if test "${ac_cv_type_long+set}" = set; then |
|
|
12954 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12955 | else |
|
|
12956 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12957 | /* confdefs.h. */ |
|
|
12958 | _ACEOF |
|
|
12959 | cat confdefs.h >>conftest.$ac_ext |
|
|
12960 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12961 | /* end confdefs.h. */ |
|
|
12962 | $ac_includes_default |
|
|
12963 | int |
|
|
12964 | main () |
|
|
12965 | { |
|
|
12966 | if ((long *) 0) |
|
|
12967 | return 0; |
|
|
12968 | if (sizeof (long)) |
|
|
12969 | return 0; |
|
|
12970 | ; |
|
|
12971 | return 0; |
|
|
12972 | } |
|
|
12973 | _ACEOF |
|
|
12974 | rm -f conftest.$ac_objext |
|
|
12975 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12976 | (eval $ac_compile) 2>conftest.er1 |
|
|
12977 | ac_status=$? |
|
|
12978 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12979 | rm -f conftest.er1 |
|
|
12980 | cat conftest.err >&5 |
|
|
12981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12982 | (exit $ac_status); } && |
|
|
12983 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12984 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12985 | (eval $ac_try) 2>&5 |
|
|
12986 | ac_status=$? |
|
|
12987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12988 | (exit $ac_status); }; } && |
|
|
12989 | { ac_try='test -s conftest.$ac_objext' |
|
|
12990 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12991 | (eval $ac_try) 2>&5 |
|
|
12992 | ac_status=$? |
|
|
12993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12994 | (exit $ac_status); }; }; then |
|
|
12995 | ac_cv_type_long=yes |
|
|
12996 | else |
|
|
12997 | echo "$as_me: failed program was:" >&5 |
|
|
12998 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12999 | |
|
|
13000 | ac_cv_type_long=no |
|
|
13001 | fi |
|
|
13002 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13003 | fi |
|
|
13004 | echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
|
|
13005 | echo "${ECHO_T}$ac_cv_type_long" >&6 |
|
|
13006 | |
|
|
13007 | echo "$as_me:$LINENO: checking size of long" >&5 |
|
|
13008 | echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
|
|
13009 | if test "${ac_cv_sizeof_long+set}" = set; then |
|
|
13010 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
13011 | else |
|
|
13012 | if test "$ac_cv_type_long" = yes; then |
|
|
13013 | # The cast to unsigned long works around a bug in the HP C Compiler |
|
|
13014 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
13015 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
13016 | # This bug is HP SR number 8606223364. |
|
|
13017 | if test "$cross_compiling" = yes; then |
|
|
13018 | # Depending upon the size, compute the lo and hi bounds. |
|
|
13019 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13020 | /* confdefs.h. */ |
|
|
13021 | _ACEOF |
|
|
13022 | cat confdefs.h >>conftest.$ac_ext |
|
|
13023 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13024 | /* end confdefs.h. */ |
|
|
13025 | $ac_includes_default |
|
|
13026 | int |
|
|
13027 | main () |
|
|
13028 | { |
|
|
13029 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; |
|
|
13030 | test_array [0] = 0 |
|
|
13031 | |
|
|
13032 | ; |
|
|
13033 | return 0; |
|
|
13034 | } |
|
|
13035 | _ACEOF |
|
|
13036 | rm -f conftest.$ac_objext |
|
|
13037 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13038 | (eval $ac_compile) 2>conftest.er1 |
|
|
13039 | ac_status=$? |
|
|
13040 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13041 | rm -f conftest.er1 |
|
|
13042 | cat conftest.err >&5 |
|
|
13043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13044 | (exit $ac_status); } && |
|
|
13045 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13046 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13047 | (eval $ac_try) 2>&5 |
|
|
13048 | ac_status=$? |
|
|
13049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13050 | (exit $ac_status); }; } && |
|
|
13051 | { ac_try='test -s conftest.$ac_objext' |
|
|
13052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13053 | (eval $ac_try) 2>&5 |
|
|
13054 | ac_status=$? |
|
|
13055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13056 | (exit $ac_status); }; }; then |
|
|
13057 | ac_lo=0 ac_mid=0 |
|
|
13058 | while :; do |
|
|
13059 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13060 | /* confdefs.h. */ |
|
|
13061 | _ACEOF |
|
|
13062 | cat confdefs.h >>conftest.$ac_ext |
|
|
13063 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13064 | /* end confdefs.h. */ |
|
|
13065 | $ac_includes_default |
|
|
13066 | int |
|
|
13067 | main () |
|
|
13068 | { |
|
|
13069 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
13070 | test_array [0] = 0 |
|
|
13071 | |
|
|
13072 | ; |
|
|
13073 | return 0; |
|
|
13074 | } |
|
|
13075 | _ACEOF |
|
|
13076 | rm -f conftest.$ac_objext |
|
|
13077 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13078 | (eval $ac_compile) 2>conftest.er1 |
|
|
13079 | ac_status=$? |
|
|
13080 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13081 | rm -f conftest.er1 |
|
|
13082 | cat conftest.err >&5 |
|
|
13083 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13084 | (exit $ac_status); } && |
|
|
13085 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13086 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13087 | (eval $ac_try) 2>&5 |
|
|
13088 | ac_status=$? |
|
|
13089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13090 | (exit $ac_status); }; } && |
|
|
13091 | { ac_try='test -s conftest.$ac_objext' |
|
|
13092 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13093 | (eval $ac_try) 2>&5 |
|
|
13094 | ac_status=$? |
|
|
13095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13096 | (exit $ac_status); }; }; then |
|
|
13097 | ac_hi=$ac_mid; break |
|
|
13098 | else |
|
|
13099 | echo "$as_me: failed program was:" >&5 |
|
|
13100 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13101 | |
|
|
13102 | ac_lo=`expr $ac_mid + 1` |
|
|
13103 | if test $ac_lo -le $ac_mid; then |
|
|
13104 | ac_lo= ac_hi= |
|
|
13105 | break |
|
|
13106 | fi |
|
|
13107 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
13108 | fi |
|
|
13109 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13110 | done |
|
|
13111 | else |
|
|
13112 | echo "$as_me: failed program was:" >&5 |
|
|
13113 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13114 | |
|
|
13115 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13116 | /* confdefs.h. */ |
|
|
13117 | _ACEOF |
|
|
13118 | cat confdefs.h >>conftest.$ac_ext |
|
|
13119 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13120 | /* end confdefs.h. */ |
|
|
13121 | $ac_includes_default |
|
|
13122 | int |
|
|
13123 | main () |
|
|
13124 | { |
|
|
13125 | static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; |
|
|
13126 | test_array [0] = 0 |
|
|
13127 | |
|
|
13128 | ; |
|
|
13129 | return 0; |
|
|
13130 | } |
|
|
13131 | _ACEOF |
|
|
13132 | rm -f conftest.$ac_objext |
|
|
13133 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13134 | (eval $ac_compile) 2>conftest.er1 |
|
|
13135 | ac_status=$? |
|
|
13136 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13137 | rm -f conftest.er1 |
|
|
13138 | cat conftest.err >&5 |
|
|
13139 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13140 | (exit $ac_status); } && |
|
|
13141 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13142 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13143 | (eval $ac_try) 2>&5 |
|
|
13144 | ac_status=$? |
|
|
13145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13146 | (exit $ac_status); }; } && |
|
|
13147 | { ac_try='test -s conftest.$ac_objext' |
|
|
13148 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13149 | (eval $ac_try) 2>&5 |
|
|
13150 | ac_status=$? |
|
|
13151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13152 | (exit $ac_status); }; }; then |
|
|
13153 | ac_hi=-1 ac_mid=-1 |
|
|
13154 | while :; do |
|
|
13155 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13156 | /* confdefs.h. */ |
|
|
13157 | _ACEOF |
|
|
13158 | cat confdefs.h >>conftest.$ac_ext |
|
|
13159 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13160 | /* end confdefs.h. */ |
|
|
13161 | $ac_includes_default |
|
|
13162 | int |
|
|
13163 | main () |
|
|
13164 | { |
|
|
13165 | static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; |
|
|
13166 | test_array [0] = 0 |
|
|
13167 | |
|
|
13168 | ; |
|
|
13169 | return 0; |
|
|
13170 | } |
|
|
13171 | _ACEOF |
|
|
13172 | rm -f conftest.$ac_objext |
|
|
13173 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13174 | (eval $ac_compile) 2>conftest.er1 |
|
|
13175 | ac_status=$? |
|
|
13176 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13177 | rm -f conftest.er1 |
|
|
13178 | cat conftest.err >&5 |
|
|
13179 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13180 | (exit $ac_status); } && |
|
|
13181 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13182 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13183 | (eval $ac_try) 2>&5 |
|
|
13184 | ac_status=$? |
|
|
13185 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13186 | (exit $ac_status); }; } && |
|
|
13187 | { ac_try='test -s conftest.$ac_objext' |
|
|
13188 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13189 | (eval $ac_try) 2>&5 |
|
|
13190 | ac_status=$? |
|
|
13191 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13192 | (exit $ac_status); }; }; then |
|
|
13193 | ac_lo=$ac_mid; break |
|
|
13194 | else |
|
|
13195 | echo "$as_me: failed program was:" >&5 |
|
|
13196 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13197 | |
|
|
13198 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
13199 | if test $ac_mid -le $ac_hi; then |
|
|
13200 | ac_lo= ac_hi= |
|
|
13201 | break |
|
|
13202 | fi |
|
|
13203 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
13204 | fi |
|
|
13205 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13206 | done |
|
|
13207 | else |
|
|
13208 | echo "$as_me: failed program was:" >&5 |
|
|
13209 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13210 | |
|
|
13211 | ac_lo= ac_hi= |
|
|
13212 | fi |
|
|
13213 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13214 | fi |
|
|
13215 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13216 | # Binary search between lo and hi bounds. |
|
|
13217 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
13218 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
13219 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13220 | /* confdefs.h. */ |
|
|
13221 | _ACEOF |
|
|
13222 | cat confdefs.h >>conftest.$ac_ext |
|
|
13223 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13224 | /* end confdefs.h. */ |
|
|
13225 | $ac_includes_default |
|
|
13226 | int |
|
|
13227 | main () |
|
|
13228 | { |
|
|
13229 | static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
|
|
13230 | test_array [0] = 0 |
|
|
13231 | |
|
|
13232 | ; |
|
|
13233 | return 0; |
|
|
13234 | } |
|
|
13235 | _ACEOF |
|
|
13236 | rm -f conftest.$ac_objext |
|
|
13237 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
13238 | (eval $ac_compile) 2>conftest.er1 |
|
|
13239 | ac_status=$? |
|
|
13240 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13241 | rm -f conftest.er1 |
|
|
13242 | cat conftest.err >&5 |
|
|
13243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13244 | (exit $ac_status); } && |
|
|
13245 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
13246 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13247 | (eval $ac_try) 2>&5 |
|
|
13248 | ac_status=$? |
|
|
13249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13250 | (exit $ac_status); }; } && |
|
|
13251 | { ac_try='test -s conftest.$ac_objext' |
|
|
13252 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13253 | (eval $ac_try) 2>&5 |
|
|
13254 | ac_status=$? |
|
|
13255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13256 | (exit $ac_status); }; }; then |
|
|
13257 | ac_hi=$ac_mid |
|
|
13258 | else |
|
|
13259 | echo "$as_me: failed program was:" >&5 |
|
|
13260 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13261 | |
|
|
13262 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
13263 | fi |
|
|
13264 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
13265 | done |
|
|
13266 | case $ac_lo in |
|
|
13267 | ?*) ac_cv_sizeof_long=$ac_lo;; |
|
|
13268 | '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13269 | See \`config.log' for more details." >&5 |
|
|
13270 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13271 | See \`config.log' for more details." >&2;} |
|
|
13272 | { (exit 1); exit 1; }; } ;; |
|
|
13273 | esac |
|
|
13274 | else |
|
|
13275 | if test "$cross_compiling" = yes; then |
|
|
13276 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
|
|
13277 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
|
|
13278 | { (exit 1); exit 1; }; } |
|
|
13279 | else |
|
|
13280 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13281 | /* confdefs.h. */ |
|
|
13282 | _ACEOF |
|
|
13283 | cat confdefs.h >>conftest.$ac_ext |
|
|
13284 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13285 | /* end confdefs.h. */ |
|
|
13286 | $ac_includes_default |
|
|
13287 | long longval () { return (long) (sizeof (long)); } |
|
|
13288 | unsigned long ulongval () { return (long) (sizeof (long)); } |
|
|
13289 | #include <stdio.h> |
|
|
13290 | #include <stdlib.h> |
|
|
13291 | int |
|
|
13292 | main () |
|
|
13293 | { |
|
|
13294 | |
|
|
13295 | FILE *f = fopen ("conftest.val", "w"); |
|
|
13296 | if (! f) |
|
|
13297 | exit (1); |
|
|
13298 | if (((long) (sizeof (long))) < 0) |
|
|
13299 | { |
|
|
13300 | long i = longval (); |
|
|
13301 | if (i != ((long) (sizeof (long)))) |
|
|
13302 | exit (1); |
|
|
13303 | fprintf (f, "%ld\n", i); |
|
|
13304 | } |
|
|
13305 | else |
|
|
13306 | { |
|
|
13307 | unsigned long i = ulongval (); |
|
|
13308 | if (i != ((long) (sizeof (long)))) |
|
|
13309 | exit (1); |
|
|
13310 | fprintf (f, "%lu\n", i); |
|
|
13311 | } |
|
|
13312 | exit (ferror (f) || fclose (f) != 0); |
|
|
13313 | |
|
|
13314 | ; |
|
|
13315 | return 0; |
|
|
13316 | } |
|
|
13317 | _ACEOF |
|
|
13318 | rm -f conftest$ac_exeext |
|
|
13319 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13320 | (eval $ac_link) 2>&5 |
|
|
13321 | ac_status=$? |
|
|
13322 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13323 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
13324 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13325 | (eval $ac_try) 2>&5 |
|
|
13326 | ac_status=$? |
|
|
13327 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13328 | (exit $ac_status); }; }; then |
|
|
13329 | ac_cv_sizeof_long=`cat conftest.val` |
|
|
13330 | else |
|
|
13331 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
13332 | echo "$as_me: failed program was:" >&5 |
|
|
13333 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13334 | |
|
|
13335 | ( exit $ac_status ) |
|
|
13336 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
|
|
13337 | See \`config.log' for more details." >&5 |
|
|
13338 | echo "$as_me: error: cannot compute sizeof (long), 77 |
|
|
13339 | See \`config.log' for more details." >&2;} |
|
|
13340 | { (exit 1); exit 1; }; } |
|
|
13341 | fi |
|
|
13342 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
13343 | fi |
|
|
13344 | fi |
|
|
13345 | rm -f conftest.val |
|
|
13346 | else |
|
|
13347 | ac_cv_sizeof_long=0 |
|
|
13348 | fi |
|
|
13349 | fi |
|
|
13350 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
|
|
13351 | echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
|
|
13352 | cat >>confdefs.h <<_ACEOF |
|
|
13353 | #define SIZEOF_LONG $ac_cv_sizeof_long |
|
|
13354 | _ACEOF |
12611 | _ACEOF |
13355 | |
12612 | |
13356 | |
12613 | |
13357 | echo "$as_me:$LINENO: checking for long long" >&5 |
12614 | echo "$as_me:$LINENO: checking for long long" >&5 |
13358 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
12615 | echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
… | |
… | |
16447 | #define PTYCHAR2 "$pch2" |
15704 | #define PTYCHAR2 "$pch2" |
16448 | _ACEOF |
15705 | _ACEOF |
16449 | |
15706 | |
16450 | fi |
15707 | fi |
16451 | |
15708 | |
16452 | if test x$support_8bitctrls = xyes; then |
|
|
16453 | |
|
|
16454 | cat >>confdefs.h <<\_ACEOF |
|
|
16455 | #define EIGHT_BIT_CONTROLS 1 |
|
|
16456 | _ACEOF |
|
|
16457 | |
|
|
16458 | fi |
|
|
16459 | if test x$support_fading = xyes; then |
|
|
16460 | |
|
|
16461 | cat >>confdefs.h <<\_ACEOF |
|
|
16462 | #define OFF_FOCUS_FADING 1 |
|
|
16463 | _ACEOF |
|
|
16464 | |
|
|
16465 | fi |
|
|
16466 | if test x$support_tinting = xyes; then |
|
|
16467 | |
|
|
16468 | cat >>confdefs.h <<\_ACEOF |
|
|
16469 | #define TINTING 1 |
|
|
16470 | _ACEOF |
|
|
16471 | |
|
|
16472 | fi |
|
|
16473 | if test x$support_inheritpixmap = xyes; then |
|
|
16474 | |
|
|
16475 | cat >>confdefs.h <<\_ACEOF |
|
|
16476 | #define TRANSPARENT 1 |
|
|
16477 | _ACEOF |
|
|
16478 | |
|
|
16479 | fi |
|
|
16480 | if test x$support_keepscrolling = xno; then |
|
|
16481 | |
|
|
16482 | cat >>confdefs.h <<\_ACEOF |
|
|
16483 | #define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
16484 | _ACEOF |
|
|
16485 | |
|
|
16486 | fi |
|
|
16487 | if test x$support_selectionscrolling = xyes; then |
|
|
16488 | |
|
|
16489 | cat >>confdefs.h <<\_ACEOF |
|
|
16490 | #define SELECTION_SCROLLING 1 |
|
|
16491 | _ACEOF |
|
|
16492 | |
|
|
16493 | fi |
|
|
16494 | if test x$support_menubar = xyes; then |
|
|
16495 | |
|
|
16496 | cat >>confdefs.h <<\_ACEOF |
|
|
16497 | #define MENUBAR 1 |
|
|
16498 | _ACEOF |
|
|
16499 | |
|
|
16500 | fi |
|
|
16501 | if test x$support_frills = xno; then |
|
|
16502 | |
|
|
16503 | cat >>confdefs.h <<\_ACEOF |
|
|
16504 | #define NO_FRILLS 1 |
|
|
16505 | _ACEOF |
|
|
16506 | |
|
|
16507 | fi |
|
|
16508 | if test x$support_linespace = xno; then |
|
|
16509 | |
|
|
16510 | cat >>confdefs.h <<\_ACEOF |
|
|
16511 | #define NO_LINESPACE 1 |
|
|
16512 | _ACEOF |
|
|
16513 | |
|
|
16514 | fi |
|
|
16515 | if test x$support_24bit = xyes; then |
|
|
16516 | |
|
|
16517 | cat >>confdefs.h <<\_ACEOF |
|
|
16518 | #define PREFER_24BIT 1 |
|
|
16519 | _ACEOF |
|
|
16520 | |
|
|
16521 | fi |
|
|
16522 | if test x$support_mousewheel = xyes; then |
|
|
16523 | |
|
|
16524 | cat >>confdefs.h <<\_ACEOF |
|
|
16525 | #define MOUSE_WHEEL 1 |
|
|
16526 | _ACEOF |
|
|
16527 | |
|
|
16528 | fi |
|
|
16529 | if test x$support_mouseslipwheel = xyes; then |
|
|
16530 | |
|
|
16531 | cat >>confdefs.h <<\_ACEOF |
|
|
16532 | #define MOUSE_SLIP_WHEELING 1 |
|
|
16533 | _ACEOF |
|
|
16534 | |
|
|
16535 | fi |
|
|
16536 | if test x$support_utmp = xyes; then |
|
|
16537 | |
|
|
16538 | cat >>confdefs.h <<\_ACEOF |
|
|
16539 | #define UTMP_SUPPORT 1 |
|
|
16540 | _ACEOF |
|
|
16541 | |
|
|
16542 | fi |
|
|
16543 | if test x$support_wtmp = xyes; then |
|
|
16544 | |
|
|
16545 | cat >>confdefs.h <<\_ACEOF |
|
|
16546 | #define WTMP_SUPPORT 1 |
|
|
16547 | _ACEOF |
|
|
16548 | |
|
|
16549 | fi |
|
|
16550 | if test x$support_lastlog = xyes; then |
|
|
16551 | |
|
|
16552 | cat >>confdefs.h <<\_ACEOF |
|
|
16553 | #define LASTLOG_SUPPORT 1 |
|
|
16554 | _ACEOF |
|
|
16555 | |
|
|
16556 | fi |
|
|
16557 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
16558 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
16559 | |
|
|
16560 | cat >>confdefs.h <<\_ACEOF |
|
|
16561 | #define USE_XIM 1 |
|
|
16562 | _ACEOF |
|
|
16563 | |
|
|
16564 | fi |
|
|
16565 | fi |
|
|
16566 | if test x$support_xpm = xyes; then |
|
|
16567 | |
|
|
16568 | cat >>confdefs.h <<\_ACEOF |
|
|
16569 | #define XPM_BACKGROUND 1 |
|
|
16570 | _ACEOF |
|
|
16571 | |
|
|
16572 | fi |
|
|
16573 | if test x$support_scroll_rxvt = xyes; then |
|
|
16574 | |
|
|
16575 | cat >>confdefs.h <<\_ACEOF |
|
|
16576 | #define RXVT_SCROLLBAR 1 |
|
|
16577 | _ACEOF |
|
|
16578 | |
|
|
16579 | scrolltypes="rxvt" |
|
|
16580 | fi |
|
|
16581 | if test x$support_scroll_next = xyes; then |
|
|
16582 | |
|
|
16583 | cat >>confdefs.h <<\_ACEOF |
|
|
16584 | #define NEXT_SCROLLBAR 1 |
|
|
16585 | _ACEOF |
|
|
16586 | |
|
|
16587 | scrolltypes="$scrolltypes next" |
|
|
16588 | fi |
|
|
16589 | if test x$support_scroll_xterm = xyes; then |
|
|
16590 | |
|
|
16591 | cat >>confdefs.h <<\_ACEOF |
|
|
16592 | #define XTERM_SCROLLBAR 1 |
|
|
16593 | _ACEOF |
|
|
16594 | |
|
|
16595 | scrolltypes="$scrolltypes xterm" |
|
|
16596 | fi |
|
|
16597 | if test x$support_scroll_plain = xyes; then |
|
|
16598 | |
|
|
16599 | cat >>confdefs.h <<\_ACEOF |
|
|
16600 | #define PLAIN_SCROLLBAR 1 |
|
|
16601 | _ACEOF |
|
|
16602 | |
|
|
16603 | scrolltypes="$scrolltypes plain" |
|
|
16604 | fi |
|
|
16605 | if test x$support_pointer_blank = xyes; then |
|
|
16606 | |
|
|
16607 | cat >>confdefs.h <<\_ACEOF |
|
|
16608 | #define POINTER_BLANK 1 |
|
|
16609 | _ACEOF |
|
|
16610 | |
|
|
16611 | fi |
|
|
16612 | if test x$support_cursor_blink = xyes; then |
|
|
16613 | |
|
|
16614 | cat >>confdefs.h <<\_ACEOF |
|
|
16615 | #define CURSOR_BLINK 1 |
|
|
16616 | _ACEOF |
|
|
16617 | |
|
|
16618 | fi |
|
|
16619 | if test x$support_text_blink = xyes; then |
|
|
16620 | |
|
|
16621 | cat >>confdefs.h <<\_ACEOF |
|
|
16622 | #define TEXT_BLINK 1 |
|
|
16623 | _ACEOF |
|
|
16624 | |
|
|
16625 | fi |
|
|
16626 | if test x$support_unicode3 = xyes; then |
|
|
16627 | |
|
|
16628 | cat >>confdefs.h <<\_ACEOF |
|
|
16629 | #define UNICODE_3 1 |
|
|
16630 | _ACEOF |
|
|
16631 | |
|
|
16632 | fi |
|
|
16633 | if test x$support_combining = xyes; then |
|
|
16634 | |
|
|
16635 | cat >>confdefs.h <<\_ACEOF |
|
|
16636 | #define ENABLE_COMBINING 1 |
|
|
16637 | _ACEOF |
|
|
16638 | |
|
|
16639 | fi |
|
|
16640 | if test x$codesets = xall; then |
|
|
16641 | codesets=jp,jp-ext,kr,cn,cn-ext |
|
|
16642 | fi |
|
|
16643 | for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do |
|
|
16644 | |
|
|
16645 | cat >>confdefs.h <<\_ACEOF |
|
|
16646 | #define ENCODING_EU 1 |
|
|
16647 | _ACEOF |
|
|
16648 | |
|
|
16649 | |
|
|
16650 | cat >>confdefs.h <<\_ACEOF |
|
|
16651 | #define ENCODING_VN 1 |
|
|
16652 | _ACEOF |
|
|
16653 | |
|
|
16654 | case "$codeset" in |
|
|
16655 | JP ) |
|
|
16656 | cat >>confdefs.h <<\_ACEOF |
|
|
16657 | #define ENCODING_JP 1 |
|
|
16658 | _ACEOF |
|
|
16659 | ;; |
|
|
16660 | JP_EXT ) |
|
|
16661 | cat >>confdefs.h <<\_ACEOF |
|
|
16662 | #define ENCODING_JP_EXT 1 |
|
|
16663 | _ACEOF |
|
|
16664 | ;; |
|
|
16665 | KR ) |
|
|
16666 | cat >>confdefs.h <<\_ACEOF |
|
|
16667 | #define ENCODING_KR 1 |
|
|
16668 | _ACEOF |
|
|
16669 | ;; |
|
|
16670 | CN ) |
|
|
16671 | cat >>confdefs.h <<\_ACEOF |
|
|
16672 | #define ENCODING_CN 1 |
|
|
16673 | _ACEOF |
|
|
16674 | ;; |
|
|
16675 | CN_EXT ) |
|
|
16676 | cat >>confdefs.h <<\_ACEOF |
|
|
16677 | #define ENCODING_CN_EXT 1 |
|
|
16678 | _ACEOF |
|
|
16679 | ;; |
|
|
16680 | esac |
|
|
16681 | done |
|
|
16682 | |
|
|
16683 | |
|
|
16684 | CFLAGS=${CFLAGS--O} |
|
|
16685 | LDFLAGS=${LDFLAGS--O} |
|
|
16686 | |
|
|
16687 | CPPFLAGS="$CPPFLAGS" |
|
|
16688 | |
|
|
16689 | |
|
|
16690 | |
|
|
16691 | |
|
|
16692 | |
|
|
16693 | |
|
|
16694 | |
|
|
16695 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
16696 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16697 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
16698 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
16699 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
16700 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
16701 | fi |
|
|
16702 | |
|
|
16703 | |
|
|
16704 | |
|
|
16705 | |
|
|
16706 | |
|
|
16707 | if test x$support_addstrings = xno; then |
|
|
16708 | |
|
|
16709 | cat >>confdefs.h <<\_ACEOF |
|
|
16710 | #define NO_STRINGS 1 |
|
|
16711 | _ACEOF |
|
|
16712 | |
|
|
16713 | fi |
|
|
16714 | |
|
|
16715 | MCOMMON=./autoconf/Make.common |
|
|
16716 | |
|
|
16717 | |
|
|
16718 | test "$program_prefix" != NONE && |
|
|
16719 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
|
16720 | # Use a double $ so make ignores it. |
|
|
16721 | test "$program_suffix" != NONE && |
|
|
16722 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
|
16723 | # Double any \ or $. echo might interpret backslashes. |
|
|
16724 | # By default was `s,x,x', remove it if useless. |
|
|
16725 | cat <<\_ACEOF >conftest.sed |
|
|
16726 | s/[\\$]/&&/g;s/;s,x,x,$// |
|
|
16727 | _ACEOF |
|
|
16728 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
|
16729 | rm conftest.sed |
|
|
16730 | |
|
|
16731 | |
|
|
16732 | |
|
|
16733 | |
|
|
16734 | |
|
|
16735 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16736 | include_stdint_h="#include <stdint.h>" |
|
|
16737 | else |
|
|
16738 | include_stdint_h="/* #include <stdint.h> */" |
|
|
16739 | fi |
|
|
16740 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16741 | include_stdarg_h="#include <cstdarg>" |
|
|
16742 | else |
|
|
16743 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
16744 | fi |
|
|
16745 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16746 | include_stdlib_h="#include <cstdlib>" |
|
|
16747 | else |
|
|
16748 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
16749 | fi |
|
|
16750 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16751 | include_unistd_h="#include <unistd.h>" |
|
|
16752 | else |
|
|
16753 | include_unistd_h="/* #include <unistd.h> */" |
|
|
16754 | fi |
|
|
16755 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16756 | include_string_h="#include <cstring>" |
|
|
16757 | else |
|
|
16758 | include_string_h="/* #include <cstring> */" |
|
|
16759 | fi |
|
|
16760 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16761 | include_fcntl_h="#include <fcntl.h>" |
|
|
16762 | else |
|
|
16763 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
16764 | fi |
|
|
16765 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16766 | include_util_h="#include <util.h>" |
|
|
16767 | else |
|
|
16768 | include_util_h="/* #include <util.h> */" |
|
|
16769 | fi |
|
|
16770 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16771 | include_assert_h="#include <assert.h>" |
|
|
16772 | else |
|
|
16773 | include_assert_h="/* #include <assert.h> */" |
|
|
16774 | fi |
|
|
16775 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16776 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
16777 | else |
|
|
16778 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
16779 | fi |
|
|
16780 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16781 | include_sys_select_h="#include <sys/select.h>" |
|
|
16782 | else |
|
|
16783 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
16784 | fi |
|
|
16785 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16786 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
16787 | else |
|
|
16788 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
16789 | fi |
|
|
16790 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
16791 | include_sys_time_h="#include <sys/time.h>" |
|
|
16792 | else |
|
|
16793 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
16794 | fi |
|
|
16795 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
16796 | include_time_h="#include <time.h>" |
|
|
16797 | else |
|
|
16798 | include_time_h="/* #include <time.h> */" |
|
|
16799 | fi |
|
|
16800 | |
|
|
16801 | if test x$support_xft = xyes; then |
15709 | if test x$support_xft = xyes; then |
16802 | LIBS="$LIBS `pkg-config xft --libs`" |
15710 | LIBS="$LIBS `pkg-config xft --libs`" |
16803 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
15711 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
16804 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
15712 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
16805 | |
15713 | |
… | |
… | |
17036 | #define XFT 1 |
15944 | #define XFT 1 |
17037 | _ACEOF |
15945 | _ACEOF |
17038 | |
15946 | |
17039 | fi |
15947 | fi |
17040 | fi |
15948 | fi |
|
|
15949 | if test x$support_styles = xyes; then |
17041 | |
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 | |
17042 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" |
16305 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h" |
17043 | |
16306 | |
17044 | cat >confcache <<\_ACEOF |
16307 | cat >confcache <<\_ACEOF |
17045 | # 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 |
17046 | # 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 |
17047 | # scripts and configure runs, see configure's option --config-cache. |
16310 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
17570 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
16833 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
17571 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
16834 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
17572 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
16835 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
17573 | "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;; |
16836 | "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;; |
17574 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
16837 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
17575 | "W11/Makefile" ) CONFIG_FILES="$CONFIG_FILES W11/Makefile" ;; |
|
|
17576 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
16838 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
17577 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
16839 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
17578 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
16840 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
17579 | { (exit 1); exit 1; }; };; |
16841 | { (exit 1); exit 1; }; };; |
17580 | esac |
16842 | esac |
… | |
… | |
17656 | s,@DEFS@,$DEFS,;t t |
16918 | s,@DEFS@,$DEFS,;t t |
17657 | s,@ECHO_C@,$ECHO_C,;t t |
16919 | s,@ECHO_C@,$ECHO_C,;t t |
17658 | s,@ECHO_N@,$ECHO_N,;t t |
16920 | s,@ECHO_N@,$ECHO_N,;t t |
17659 | s,@ECHO_T@,$ECHO_T,;t t |
16921 | s,@ECHO_T@,$ECHO_T,;t t |
17660 | s,@LIBS@,$LIBS,;t t |
16922 | s,@LIBS@,$LIBS,;t t |
|
|
16923 | s,@build@,$build,;t t |
|
|
16924 | s,@build_cpu@,$build_cpu,;t t |
|
|
16925 | s,@build_vendor@,$build_vendor,;t t |
|
|
16926 | s,@build_os@,$build_os,;t t |
|
|
16927 | s,@host@,$host,;t t |
|
|
16928 | s,@host_cpu@,$host_cpu,;t t |
|
|
16929 | s,@host_vendor@,$host_vendor,;t t |
|
|
16930 | s,@host_os@,$host_os,;t t |
17661 | s,@VERSION@,$VERSION,;t t |
16931 | s,@VERSION@,$VERSION,;t t |
17662 | s,@DATE@,$DATE,;t t |
16932 | s,@DATE@,$DATE,;t t |
17663 | s,@LSMDATE@,$LSMDATE,;t t |
16933 | s,@LSMDATE@,$LSMDATE,;t t |
17664 | s,@LIBVERSION@,$LIBVERSION,;t t |
16934 | s,@LIBVERSION@,$LIBVERSION,;t t |
17665 | s,@CC@,$CC,;t t |
16935 | s,@CC@,$CC,;t t |
… | |
… | |
17678 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
16948 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
17679 | s,@AWK@,$AWK,;t t |
16949 | s,@AWK@,$AWK,;t t |
17680 | s,@LINKER@,$LINKER,;t t |
16950 | s,@LINKER@,$LINKER,;t t |
17681 | s,@CXXCPP@,$CXXCPP,;t t |
16951 | s,@CXXCPP@,$CXXCPP,;t t |
17682 | s,@EGREP@,$EGREP,;t t |
16952 | s,@EGREP@,$EGREP,;t t |
17683 | s,@build@,$build,;t t |
|
|
17684 | s,@build_cpu@,$build_cpu,;t t |
|
|
17685 | s,@build_vendor@,$build_vendor,;t t |
|
|
17686 | s,@build_os@,$build_os,;t t |
|
|
17687 | s,@host@,$host,;t t |
|
|
17688 | s,@host_cpu@,$host_cpu,;t t |
|
|
17689 | s,@host_vendor@,$host_vendor,;t t |
|
|
17690 | s,@host_os@,$host_os,;t t |
|
|
17691 | s,@LN_S@,$LN_S,;t t |
16953 | s,@LN_S@,$LN_S,;t t |
17692 | s,@ECHO@,$ECHO,;t t |
16954 | s,@ECHO@,$ECHO,;t t |
17693 | s,@RANLIB@,$RANLIB,;t t |
16955 | s,@RANLIB@,$RANLIB,;t t |
17694 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
16956 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
17695 | s,@STRIP@,$STRIP,;t t |
16957 | s,@STRIP@,$STRIP,;t t |
… | |
… | |
17702 | s,@CP@,$CP,;t t |
16964 | s,@CP@,$CP,;t t |
17703 | s,@LN@,$LN,;t t |
16965 | s,@LN@,$LN,;t t |
17704 | s,@SED@,$SED,;t t |
16966 | s,@SED@,$SED,;t t |
17705 | s,@CMP@,$CMP,;t t |
16967 | s,@CMP@,$CMP,;t t |
17706 | s,@TBL@,$TBL,;t t |
16968 | s,@TBL@,$TBL,;t t |
|
|
16969 | s,@TIC@,$TIC,;t t |
17707 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
16970 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
17708 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
16971 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
17709 | s,@X_LIBS@,$X_LIBS,;t t |
16972 | s,@X_LIBS@,$X_LIBS,;t t |
17710 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
16973 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
17711 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
16974 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |