ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure
(Generate patch)

Comparing rxvt-unicode/configure (file contents):
Revision 1.25 by pcg, Mon Apr 5 15:54:21 2004 UTC vs.
Revision 1.50 by root, Sun Feb 13 08:56:27 2005 UTC

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
470ac_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' 470ac_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'
471ac_subst_files='MCOMMON' 471ac_subst_files='MCOMMON'
472 472
473# Initialize some variables set by options. 473# Initialize some variables set by options.
474ac_init_help= 474ac_init_help=
475ac_init_version=false 475ac_init_version=false
1031 NOTE: this option is order dependent 1031 NOTE: this option is order dependent
1032 NOTE: automatically enabled with --enable-shared 1032 NOTE: automatically enabled with --enable-shared
1033 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1033 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1034 --enable-combining enable composition of base and combining characters 1034 --enable-combining enable composition of base and combining characters
1035 --enable-xft enable xft support on systems that have it 1035 --enable-xft enable xft support on systems that have it
1036 --enable-font-styles enable bold and italic support
1036 --enable-utmp enable utmp (utmpx) support 1037 --enable-utmp enable utmp (utmpx) support
1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1038 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1038 --enable-lastlog enable lastlog support (requires --enable-utmp) 1039 --enable-lastlog enable lastlog support (requires --enable-utmp)
1039 --enable-xpm-background enable XPM background pixmaps 1040 --enable-xpm-background enable XPM background pixmaps
1040 --enable-transparency enable transparent backgrounds 1041 --enable-transparency enable transparent backgrounds
1041 --enable-tinting enable tinting of transparent bg 1042 --enable-tinting enable tinting of transparent bg
1043 --enable-fading enable colors fading when off focus
1042 --enable-menubar enable menubar 1044 --enable-menubar enable menubar
1043 --enable-rxvt-scroll enable rxvt style scrollbar 1045 --enable-rxvt-scroll enable rxvt style scrollbar
1044 --enable-next-scroll enable NeXT style scrollbar 1046 --enable-next-scroll enable NeXT style scrollbar
1045 --enable-xterm-scroll enable Xterm style scrollbar 1047 --enable-xterm-scroll enable Xterm style scrollbar
1046 --enable-plain-scroll enable plain style scrollbar 1048 --enable-plain-scroll enable plain style scrollbar
1049 --enable-ttygid enable tty setting to group named "tty" 1051 --enable-ttygid enable tty setting to group named "tty"
1050 --disable-backspace-key disable handling of the backspace key 1052 --disable-backspace-key disable handling of the backspace key
1051 --disable-delete-key disable handling of the delete key 1053 --disable-delete-key disable handling of the delete key
1052 --disable-resources disable all resource checking 1054 --disable-resources disable all resource checking
1053 --enable-xgetdefault enable resources via X instead of our small version 1055 --enable-xgetdefault enable resources via X instead of our small version
1056 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1054 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 1057 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1055 --enable-strings enable some replacement system functions 1058 --enable-strings enable some replacement system functions
1056 --disable-swapscreen disable swap screen support 1059 --disable-swapscreen disable swap screen support
1060 --enable-iso14755 enable support for extended ISO 14755 modes
1057 --enable-frills enable support for rarely used features 1061 --enable-frills enable support for rarely used features
1058 --enable-linespace enable support for linespace
1059 --enable-24bit enable support for using 24bit visuals if available 1062 --enable-24bit enable support for using 24bit visuals if available
1060 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1063 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1061 --enable-selectionscrolling enable scrolling during selections 1064 --enable-selectionscrolling enable scrolling during selections
1062 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1065 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1063 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1066 --enable-slipwheeling enable slip wheel scrolling (requires previous)
1064 --enable-dmalloc enable Gray Watson's malloc - for debugging use 1067 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1065 --enable-dlmalloc enable Doug Lea's malloc - for production use 1068 --enable-dlmalloc enable Doug Lea's malloc - for production use
1066 NOTE: enable only one malloc package 1069 NOTE: enable only one malloc package
1067 --enable-smart-resize enable smart growth/shrink behaviour 1070 --enable-smart-resize enable smart growth/shrink behaviour
1068 --enable-256-color enable 256-color support
1069 --enable-cursor-blink enable blinking cursor 1071 --enable-cursor-blink enable blinking cursor
1070 --enable-text-blink enable blinking text 1072 --enable-text-blink enable blinking text
1071 --enable-pointer-blank enable pointer blank when typing or inactive pointer 1073 --enable-pointer-blank enable pointer blank when typing or inactive pointer
1072 1074
1073Optional Packages: 1075Optional Packages:
1074 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1076 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1075 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1077 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1076 --with-gnu-ld assume the C compiler uses GNU ld default=no 1078 --with-gnu-ld assume the C compiler uses GNU ld default=no
1077 --with-pic try to use only PIC/non-PIC objects default=use both 1079 --with-pic try to use only PIC/non-PIC objects default=use both
1078 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all) 1080 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)
1079 --with-res-name=NAME use this as default resource name (default: urxvt) 1081 --with-res-name=NAME use this as default resource name (default: urxvt)
1080 --with-res-class=CLASS use this as the resource class (default: URxvt) 1082 --with-res-class=CLASS use this as the resource class (default: URxvt)
1081 --with-name=NAME set the basename for the installed binaries (default: urxvt) 1083 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1082 --with-term=NAME set the terminal to NAME (default: rxvt) 1084 --with-term=NAME set the terminal to NAME (default: rxvt)
1083 --with-terminfo=PATH set the path to the terminfo tree to PATH 1085 --with-terminfo=PATH set the path to the terminfo tree to PATH
1534 1536
1535 1537
1536 1538
1537 1539
1538 1540
1541
1539ac_aux_dir= 1542ac_aux_dir=
1540for ac_dir in autoconf $srcdir/autoconf; do 1543for ac_dir in autoconf $srcdir/autoconf; do
1541 if test -f $ac_dir/install-sh; then 1544 if test -f $ac_dir/install-sh; then
1542 ac_aux_dir=$ac_dir 1545 ac_aux_dir=$ac_dir
1543 ac_install_sh="$ac_aux_dir/install-sh -c" 1546 ac_install_sh="$ac_aux_dir/install-sh -c"
1560ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1563ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1561ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1564ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1562ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1565ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1563 1566
1564 ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" 1567 ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in"
1568
1569
1570# Make sure we can run config.sub.
1571$ac_config_sub sun4 >/dev/null 2>&1 ||
1572 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1573echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1574 { (exit 1); exit 1; }; }
1575
1576echo "$as_me:$LINENO: checking build system type" >&5
1577echo $ECHO_N "checking build system type... $ECHO_C" >&6
1578if test "${ac_cv_build+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580else
1581 ac_cv_build_alias=$build_alias
1582test -z "$ac_cv_build_alias" &&
1583 ac_cv_build_alias=`$ac_config_guess`
1584test -z "$ac_cv_build_alias" &&
1585 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1586echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1587 { (exit 1); exit 1; }; }
1588ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1589 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1590echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1591 { (exit 1); exit 1; }; }
1592
1593fi
1594echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1595echo "${ECHO_T}$ac_cv_build" >&6
1596build=$ac_cv_build
1597build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1598build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1599build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1600
1601
1602echo "$as_me:$LINENO: checking host system type" >&5
1603echo $ECHO_N "checking host system type... $ECHO_C" >&6
1604if test "${ac_cv_host+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1606else
1607 ac_cv_host_alias=$host_alias
1608test -z "$ac_cv_host_alias" &&
1609 ac_cv_host_alias=$ac_cv_build_alias
1610ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1611 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1612echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1613 { (exit 1); exit 1; }; }
1614
1615fi
1616echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1617echo "${ECHO_T}$ac_cv_host" >&6
1618host=$ac_cv_host
1619host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1620host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1621host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1622
1565 1623
1566 1624
1567VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1625VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1568DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1626DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1569LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1627LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
3207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3209ac_compiler_gnu=$ac_cv_c_compiler_gnu 3267ac_compiler_gnu=$ac_cv_c_compiler_gnu
3210 3268
3211 3269
3270if 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"
3276fi
3277
3212LINKER="$CXX" 3278LINKER="$CXX"
3213if test x$GCC = xyes && test x$GXX = xyes; then 3279if test x$GCC = xyes && test x$GXX = xyes; then
3214 3280
3215echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 3281echo "$as_me:$LINENO: checking for main in -lsupc++" >&5
3216echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 3282echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6
3278 3344
3279fi 3345fi
3280LINKER=$LINKER 3346LINKER=$LINKER
3281 3347
3282 3348
3283CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3349
3350cat >>confdefs.h <<\_ACEOF
3351#define _GNU_SOURCE 1
3352_ACEOF
3353
3354
3355case $host in
3356 *-*-solaris* )
3357
3358cat >>confdefs.h <<\_ACEOF
3359#define _XOPEN_SOURCE_EXTENDED 1
3360_ACEOF
3361
3362
3363cat >>confdefs.h <<\_ACEOF
3364#define _XOPEN_SOURCE 2
3365_ACEOF
3366
3367
3368cat >>confdefs.h <<\_ACEOF
3369#define __EXTENSIONS__ 1
3370_ACEOF
3371
3372 ;;
3373esac
3284 3374
3285 3375
3286ac_ext=cc 3376ac_ext=cc
3287ac_cpp='$CXXCPP $CPPFLAGS' 3377ac_cpp='$CXXCPP $CPPFLAGS'
3288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3956 ;; 4046 ;;
3957esac 4047esac
3958else 4048else
3959 enable_fast_install=yes 4049 enable_fast_install=yes
3960fi; 4050fi;
3961# Make sure we can run config.sub.
3962$ac_config_sub sun4 >/dev/null 2>&1 ||
3963 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3964echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3965 { (exit 1); exit 1; }; }
3966
3967echo "$as_me:$LINENO: checking build system type" >&5
3968echo $ECHO_N "checking build system type... $ECHO_C" >&6
3969if test "${ac_cv_build+set}" = set; then
3970 echo $ECHO_N "(cached) $ECHO_C" >&6
3971else
3972 ac_cv_build_alias=$build_alias
3973test -z "$ac_cv_build_alias" &&
3974 ac_cv_build_alias=`$ac_config_guess`
3975test -z "$ac_cv_build_alias" &&
3976 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3977echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3978 { (exit 1); exit 1; }; }
3979ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3980 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3981echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3982 { (exit 1); exit 1; }; }
3983
3984fi
3985echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3986echo "${ECHO_T}$ac_cv_build" >&6
3987build=$ac_cv_build
3988build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3989build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3990build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3991
3992
3993echo "$as_me:$LINENO: checking host system type" >&5
3994echo $ECHO_N "checking host system type... $ECHO_C" >&6
3995if test "${ac_cv_host+set}" = set; then
3996 echo $ECHO_N "(cached) $ECHO_C" >&6
3997else
3998 ac_cv_host_alias=$host_alias
3999test -z "$ac_cv_host_alias" &&
4000 ac_cv_host_alias=$ac_cv_build_alias
4001ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4002 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4003echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4004 { (exit 1); exit 1; }; }
4005
4006fi
4007echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4008echo "${ECHO_T}$ac_cv_host" >&6
4009host=$ac_cv_host
4010host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4011host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4012host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4013
4014
4015 4051
4016# Check whether --with-gnu-ld or --without-gnu-ld was given. 4052# Check whether --with-gnu-ld or --without-gnu-ld was given.
4017if test "${with_gnu_ld+set}" = set; then 4053if test "${with_gnu_ld+set}" = set; then
4018 withval="$with_gnu_ld" 4054 withval="$with_gnu_ld"
4019 test "$withval" = no || with_gnu_ld=yes 4055 test "$withval" = no || with_gnu_ld=yes
5234# Some flags need to be propagated to the compiler or linker for good 5270# Some flags need to be propagated to the compiler or linker for good
5235# libtool support. 5271# libtool support.
5236case "$host" in 5272case "$host" in
5237*-*-irix6*) 5273*-*-irix6*)
5238 # Find out which ABI we are using. 5274 # Find out which ABI we are using.
5239 echo '#line 5239 "configure"' > conftest.$ac_ext 5275 echo '#line 5275 "configure"' > conftest.$ac_ext
5240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5241 (eval $ac_compile) 2>&5 5277 (eval $ac_compile) 2>&5
5242 ac_status=$? 5278 ac_status=$?
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); }; then 5280 (exit $ac_status); }; then
5785# builds. 5821# builds.
5786chmod -w . 5822chmod -w .
5787save_CFLAGS="$CFLAGS" 5823save_CFLAGS="$CFLAGS"
5788CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5824CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5789compiler_c_o=no 5825compiler_c_o=no
5790if { (eval echo configure:5790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5826if { (eval echo configure:5826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5791 # The compiler can only warn and ignore the option if not recognized 5827 # The compiler can only warn and ignore the option if not recognized
5792 # So say no if there are warnings 5828 # So say no if there are warnings
5793 if test -s out/conftest.err; then 5829 if test -s out/conftest.err; then
5794 compiler_c_o=no 5830 compiler_c_o=no
5795 else 5831 else
7401 lt_cv_dlopen_self=cross 7437 lt_cv_dlopen_self=cross
7402else 7438else
7403 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7439 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7404 lt_status=$lt_dlunknown 7440 lt_status=$lt_dlunknown
7405 cat > conftest.$ac_ext <<EOF 7441 cat > conftest.$ac_ext <<EOF
7406#line 7406 "configure" 7442#line 7442 "configure"
7407#include "confdefs.h" 7443#include "confdefs.h"
7408 7444
7409#if HAVE_DLFCN_H 7445#if HAVE_DLFCN_H
7410#include <dlfcn.h> 7446#include <dlfcn.h>
7411#endif 7447#endif
7499 lt_cv_dlopen_self_static=cross 7535 lt_cv_dlopen_self_static=cross
7500else 7536else
7501 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7537 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7502 lt_status=$lt_dlunknown 7538 lt_status=$lt_dlunknown
7503 cat > conftest.$ac_ext <<EOF 7539 cat > conftest.$ac_ext <<EOF
7504#line 7504 "configure" 7540#line 7540 "configure"
7505#include "confdefs.h" 7541#include "confdefs.h"
7506 7542
7507#if HAVE_DLFCN_H 7543#if HAVE_DLFCN_H
7508#include <dlfcn.h> 7544#include <dlfcn.h>
7509#endif 7545#endif
8230 8266
8231 8267
8232MALLOC_TYPE=S 8268MALLOC_TYPE=S
8233support_addstrings=no 8269support_addstrings=no
8234support_frills=no 8270support_frills=no
8235support_linespace=no
8236support_inheritpixmap=no 8271support_inheritpixmap=no
8237support_tinting=no 8272support_tinting=no
8273support_fading=no
8238support_keepscrolling=no 8274support_keepscrolling=no
8239support_selectionscrolling=no 8275support_selectionscrolling=no
8240support_menubar=no 8276support_menubar=no
8241support_mousewheel=no 8277support_mousewheel=no
8242support_mouseslipwheel=no 8278support_mouseslipwheel=no
8253support_xim=no 8289support_xim=no
8254support_xpm=no 8290support_xpm=no
8255support_xft=no 8291support_xft=no
8256support_unicode3=no 8292support_unicode3=no
8257support_combining=no 8293support_combining=no
8294support_8bitctrls=no
8295support_iso14755=no
8296support_styles=no
8258codesets= 8297codesets=
8259 8298
8260 8299
8261if test "x$enable_shared" = xyes; then 8300if test "x$enable_shared" = xyes; then
8262 8301
8272if test "${enable_everything+set}" = set; then 8311if test "${enable_everything+set}" = set; then
8273 enableval="$enable_everything" 8312 enableval="$enable_everything"
8274 if test x$enableval = xyes; then 8313 if test x$enableval = xyes; then
8275 support_24bit=yes 8314 support_24bit=yes
8276 support_frills=yes 8315 support_frills=yes
8277 support_linespace=yes
8278 support_inheritpixmap=yes 8316 support_inheritpixmap=yes
8279 support_tinting=yes 8317 support_tinting=yes
8318 support_fading=yes
8280 support_keepscrolling=yes 8319 support_keepscrolling=yes
8281 support_selectionscrolling=yes 8320 support_selectionscrolling=yes
8282 support_lastlog=yes 8321 support_lastlog=yes
8283 support_menubar=yes 8322 support_menubar=yes
8284 support_mousewheel=yes 8323 support_mousewheel=yes
8295 support_xim=yes 8334 support_xim=yes
8296 support_xpm=yes 8335 support_xpm=yes
8297 support_xft=yes 8336 support_xft=yes
8298 support_unicode3=yes 8337 support_unicode3=yes
8299 support_combining=yes 8338 support_combining=yes
8339 #support_8bitctrls=yes
8340 support_iso14755=yes
8341 support_styles=yes
8300 codesets=all 8342 codesets=all
8301 fi 8343 fi
8302fi; 8344fi;
8303 8345
8304# Check whether --enable-unicode3 or --disable-unicode3 was given. 8346# Check whether --enable-unicode3 or --disable-unicode3 was given.
8305if test "${enable_unicode3+set}" = set; then 8347if test "${enable_unicode3+set}" = set; then
8306 enableval="$enable_unicode3" 8348 enableval="$enable_unicode3"
8307 if test x$enableval = xyes -o x$enableval = xno; then 8349 if test x$enableval = xyes -o x$enableval = xno; then
8308 support_unicode3=yes 8350 support_unicode3=$enableval
8309 fi 8351 fi
8310fi; 8352fi;
8311 8353
8312# Check whether --enable-combining or --disable-combining was given. 8354# Check whether --enable-combining or --disable-combining was given.
8313if test "${enable_combining+set}" = set; then 8355if test "${enable_combining+set}" = set; then
8314 enableval="$enable_combining" 8356 enableval="$enable_combining"
8315 if test x$enableval = xyes -o x$enableval = xno; then 8357 if test x$enableval = xyes -o x$enableval = xno; then
8316 support_combining=yes 8358 support_combining=$enableval
8317 fi 8359 fi
8318fi; 8360fi;
8319 8361
8320# Check whether --enable-xft or --disable-xft was given. 8362# Check whether --enable-xft or --disable-xft was given.
8321if test "${enable_xft+set}" = set; then 8363if test "${enable_xft+set}" = set; then
8322 enableval="$enable_xft" 8364 enableval="$enable_xft"
8323 if test x$enableval = xyes -o x$enableval = xno; then 8365 if test x$enableval = xyes -o x$enableval = xno; then
8324 support_xft=yes 8366 support_xft=$enableval
8367 fi
8368fi;
8369
8370# Check whether --enable-font-styles or --disable-font-styles was given.
8371if test "${enable_font_styles+set}" = set; then
8372 enableval="$enable_font_styles"
8373 if test x$enableval = xyes -o x$enableval = xno; then
8374 support_styles=$enableval
8325 fi 8375 fi
8326fi; 8376fi;
8327 8377
8328# Check whether --enable-utmp or --disable-utmp was given. 8378# Check whether --enable-utmp or --disable-utmp was given.
8329if test "${enable_utmp+set}" = set; then 8379if test "${enable_utmp+set}" = set; then
8371 if test x$enableval = xyes -o x$enableval = xno; then 8421 if test x$enableval = xyes -o x$enableval = xno; then
8372 support_tinting=$enableval 8422 support_tinting=$enableval
8373 fi 8423 fi
8374fi; 8424fi;
8375 8425
8426# Check whether --enable-fading or --disable-fading was given.
8427if test "${enable_fading+set}" = set; then
8428 enableval="$enable_fading"
8429 if test x$enableval = xyes -o x$enableval = xno; then
8430 support_fading=$enableval
8431 fi
8432fi;
8433
8376# Check whether --enable-menubar or --disable-menubar was given. 8434# Check whether --enable-menubar or --disable-menubar was given.
8377if test "${enable_menubar+set}" = set; then 8435if test "${enable_menubar+set}" = set; then
8378 enableval="$enable_menubar" 8436 enableval="$enable_menubar"
8379 if test x$enableval = xyes -o x$enableval = xno; then 8437 if test x$enableval = xyes -o x$enableval = xno; then
8380 support_menubar=$enableval 8438 support_menubar=$enableval
8498_ACEOF 8556_ACEOF
8499 8557
8500 fi 8558 fi
8501fi; 8559fi;
8502 8560
8561# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8562if test "${enable_8bitctrls+set}" = set; then
8563 enableval="$enable_8bitctrls"
8564 if test x$enableval = xyes -o x$enableval = xno; then
8565 support_8bitctrls=$enableval
8566 fi
8567fi;
8568
8503RESFALLBACK=Rxvt 8569RESFALLBACK=Rxvt
8504# Check whether --enable-fallback or --disable-fallback was given. 8570# Check whether --enable-fallback or --disable-fallback was given.
8505if test "${enable_fallback+set}" = set; then 8571if test "${enable_fallback+set}" = set; then
8506 enableval="$enable_fallback" 8572 enableval="$enable_fallback"
8507 8573
8550# Check whether --with-name or --without-name was given. 8616# Check whether --with-name or --without-name was given.
8551if test "${with_name+set}" = set; then 8617if test "${with_name+set}" = set; then
8552 withval="$with_name" 8618 withval="$with_name"
8553 RXVTNAME="$withval" 8619 RXVTNAME="$withval"
8554fi; 8620fi;
8621
8622cat >>confdefs.h <<_ACEOF
8623#define RXVTNAME "$RXVTNAME"
8624_ACEOF
8625
8555 8626
8556RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 8627RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
8557 8628
8558 8629
8559# Check whether --enable-strings or --disable-strings was given. 8630# Check whether --enable-strings or --disable-strings was given.
8574_ACEOF 8645_ACEOF
8575 8646
8576 fi 8647 fi
8577fi; 8648fi;
8578 8649
8650# Check whether --enable-iso14755 or --disable-iso14755 was given.
8651if 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
8656fi;
8657
8579# Check whether --enable-frills or --disable-frills was given. 8658# Check whether --enable-frills or --disable-frills was given.
8580if test "${enable_frills+set}" = set; then 8659if test "${enable_frills+set}" = set; then
8581 enableval="$enable_frills" 8660 enableval="$enable_frills"
8582 if test x$enableval = xyes -o x$enableval = xno; then 8661 if test x$enableval = xyes -o x$enableval = xno; then
8583 support_frills=$enableval 8662 support_frills=$enableval
8584 fi
8585fi;
8586
8587# Check whether --enable-linespace or --disable-linespace was given.
8588if test "${enable_linespace+set}" = set; then
8589 enableval="$enable_linespace"
8590 if test x$enableval = xyes -o x$enableval = xno; then
8591 support_linespace=$enableval
8592 fi 8663 fi
8593fi; 8664fi;
8594 8665
8595# Check whether --enable-24bit or --disable-24bit was given. 8666# Check whether --enable-24bit or --disable-24bit was given.
8596if test "${enable_24bit+set}" = set; then 8667if test "${enable_24bit+set}" = set; then
8664_ACEOF 8735_ACEOF
8665 8736
8666 fi 8737 fi
8667fi; 8738fi;
8668 8739
8669# Check whether --enable-256-color or --disable-256-color was given.
8670if test "${enable_256_color+set}" = set; then
8671 enableval="$enable_256_color"
8672 if test x$enableval = xyes; then
8673
8674cat >>confdefs.h <<\_ACEOF
8675#define TTY_256COLOR 1
8676_ACEOF
8677
8678 fi
8679fi;
8680
8681# Check whether --enable-cursor-blink or --disable-cursor-blink was given. 8740# Check whether --enable-cursor-blink or --disable-cursor-blink was given.
8682if test "${enable_cursor_blink+set}" = set; then 8741if test "${enable_cursor_blink+set}" = set; then
8683 enableval="$enable_cursor_blink" 8742 enableval="$enable_cursor_blink"
8684 if test x$enableval = xyes -o x$enableval = xno; then 8743 if test x$enableval = xyes -o x$enableval = xno; then
8685 support_cursor_blink=$enableval 8744 support_cursor_blink=$enableval
8732 8791
8733cat >>confdefs.h <<\_ACEOF 8792cat >>confdefs.h <<\_ACEOF
8734#define PROTOTYPES 1 8793#define PROTOTYPES 1
8735_ACEOF 8794_ACEOF
8736 8795
8737
8738if test -z "$CFLAGS"; then
8739 if test -z "$CCOPTS"; then
8740 CCOPTS='-O'
8741 fi
8742 CFLAGS="$CCOPTS"
8743fi
8744 8796
8745# Extract the first word of "mv", so it can be a program name with args. 8797# Extract the first word of "mv", so it can be a program name with args.
8746set dummy mv; ac_word=$2 8798set dummy mv; ac_word=$2
8747echo "$as_me:$LINENO: checking for $ac_word" >&5 8799echo "$as_me:$LINENO: checking for $ac_word" >&5
8748echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8800echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9054TBL=$ac_cv_path_TBL 9106TBL=$ac_cv_path_TBL
9055 9107
9056if test -n "$TBL"; then 9108if test -n "$TBL"; then
9057 echo "$as_me:$LINENO: result: $TBL" >&5 9109 echo "$as_me:$LINENO: result: $TBL" >&5
9058echo "${ECHO_T}$TBL" >&6 9110echo "${ECHO_T}$TBL" >&6
9111else
9112 echo "$as_me:$LINENO: result: no" >&5
9113echo "${ECHO_T}no" >&6
9114fi
9115
9116# Extract the first word of "tic", so it can be a program name with args.
9117set dummy tic; ac_word=$2
9118echo "$as_me:$LINENO: checking for $ac_word" >&5
9119echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9120if test "${ac_cv_path_TIC+set}" = set; then
9121 echo $ECHO_N "(cached) $ECHO_C" >&6
9122else
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
9129for as_dir in $PATH
9130do
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
9139done
9140done
9141
9142 ;;
9143esac
9144fi
9145TIC=$ac_cv_path_TIC
9146
9147if test -n "$TIC"; then
9148 echo "$as_me:$LINENO: result: $TIC" >&5
9149echo "${ECHO_T}$TIC" >&6
9059else 9150else
9060 echo "$as_me:$LINENO: result: no" >&5 9151 echo "$as_me:$LINENO: result: no" >&5
9061echo "${ECHO_T}no" >&6 9152echo "${ECHO_T}no" >&6
9062fi 9153fi
9063 9154
10889 10980
10890 10981
10891 10982
10892 10983
10893 10984
10985
10986
10987
10988
10989
10894for ac_header in \ 10990for ac_header in \
10895 assert.h \ 10991 assert.h \
10896 fcntl.h \ 10992 fcntl.h \
10897 grp.h \ 10993 grp.h \
10898 libc.h \ 10994 libc.h \
10905 sys/byteorder.h \ 11001 sys/byteorder.h \
10906 sys/ioctl.h \ 11002 sys/ioctl.h \
10907 sys/select.h \ 11003 sys/select.h \
10908 sys/sockio.h \ 11004 sys/sockio.h \
10909 sys/strredir.h \ 11005 sys/strredir.h \
11006 sys/stropts.h \
10910 sys/time.h \ 11007 sys/time.h \
10911 utmp.h \ 11008 utmp.h \
10912 utmpx.h \ 11009 utmpx.h \
10913 stdint.h \ 11010 stdint.h \
11011 pty.h \
11012 wchar.h \
11013 cwchar \
11014 clocale \
10914 11015
10915do 11016do
10916as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11017as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10917if eval "test \"\${$as_ac_Header+set}\" = set"; then 11018if eval "test \"\${$as_ac_Header+set}\" = set"; then
10918 echo "$as_me:$LINENO: checking for $ac_header" >&5 11019 echo "$as_me:$LINENO: checking for $ac_header" >&5
11702_ACEOF 11803_ACEOF
11703 11804
11704fi 11805fi
11705 11806
11706 11807
11707
11708echo "$as_me:$LINENO: checking for char" >&5
11709echo $ECHO_N "checking for char... $ECHO_C" >&6
11710if test "${ac_cv_type_char+set}" = set; then
11711 echo $ECHO_N "(cached) $ECHO_C" >&6
11712else
11713 cat >conftest.$ac_ext <<_ACEOF
11714/* confdefs.h. */
11715_ACEOF
11716cat confdefs.h >>conftest.$ac_ext
11717cat >>conftest.$ac_ext <<_ACEOF
11718/* end confdefs.h. */
11719$ac_includes_default
11720int
11721main ()
11722{
11723if ((char *) 0)
11724 return 0;
11725if (sizeof (char))
11726 return 0;
11727 ;
11728 return 0;
11729}
11730_ACEOF
11731rm -f conftest.$ac_objext
11732if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11733 (eval $ac_compile) 2>conftest.er1
11734 ac_status=$?
11735 grep -v '^ *+' conftest.er1 >conftest.err
11736 rm -f conftest.er1
11737 cat conftest.err >&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); } &&
11740 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11742 (eval $ac_try) 2>&5
11743 ac_status=$?
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); }; } &&
11746 { ac_try='test -s conftest.$ac_objext'
11747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11748 (eval $ac_try) 2>&5
11749 ac_status=$?
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); }; }; then
11752 ac_cv_type_char=yes
11753else
11754 echo "$as_me: failed program was:" >&5
11755sed 's/^/| /' conftest.$ac_ext >&5
11756
11757ac_cv_type_char=no
11758fi
11759rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11760fi
11761echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
11762echo "${ECHO_T}$ac_cv_type_char" >&6
11763
11764echo "$as_me:$LINENO: checking size of char" >&5
11765echo $ECHO_N "checking size of char... $ECHO_C" >&6
11766if test "${ac_cv_sizeof_char+set}" = set; then
11767 echo $ECHO_N "(cached) $ECHO_C" >&6
11768else
11769 if test "$ac_cv_type_char" = yes; then
11770 # The cast to unsigned long works around a bug in the HP C Compiler
11771 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11772 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11773 # This bug is HP SR number 8606223364.
11774 if test "$cross_compiling" = yes; then
11775 # Depending upon the size, compute the lo and hi bounds.
11776cat >conftest.$ac_ext <<_ACEOF
11777/* confdefs.h. */
11778_ACEOF
11779cat confdefs.h >>conftest.$ac_ext
11780cat >>conftest.$ac_ext <<_ACEOF
11781/* end confdefs.h. */
11782$ac_includes_default
11783int
11784main ()
11785{
11786static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
11787test_array [0] = 0
11788
11789 ;
11790 return 0;
11791}
11792_ACEOF
11793rm -f conftest.$ac_objext
11794if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11795 (eval $ac_compile) 2>conftest.er1
11796 ac_status=$?
11797 grep -v '^ *+' conftest.er1 >conftest.err
11798 rm -f conftest.er1
11799 cat conftest.err >&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); } &&
11802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11804 (eval $ac_try) 2>&5
11805 ac_status=$?
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); }; } &&
11808 { ac_try='test -s conftest.$ac_objext'
11809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11810 (eval $ac_try) 2>&5
11811 ac_status=$?
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); }; }; then
11814 ac_lo=0 ac_mid=0
11815 while :; do
11816 cat >conftest.$ac_ext <<_ACEOF
11817/* confdefs.h. */
11818_ACEOF
11819cat confdefs.h >>conftest.$ac_ext
11820cat >>conftest.$ac_ext <<_ACEOF
11821/* end confdefs.h. */
11822$ac_includes_default
11823int
11824main ()
11825{
11826static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
11827test_array [0] = 0
11828
11829 ;
11830 return 0;
11831}
11832_ACEOF
11833rm -f conftest.$ac_objext
11834if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11835 (eval $ac_compile) 2>conftest.er1
11836 ac_status=$?
11837 grep -v '^ *+' conftest.er1 >conftest.err
11838 rm -f conftest.er1
11839 cat conftest.err >&5
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); } &&
11842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11845 ac_status=$?
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; } &&
11848 { ac_try='test -s conftest.$ac_objext'
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11850 (eval $ac_try) 2>&5
11851 ac_status=$?
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; }; then
11854 ac_hi=$ac_mid; break
11855else
11856 echo "$as_me: failed program was:" >&5
11857sed 's/^/| /' conftest.$ac_ext >&5
11858
11859ac_lo=`expr $ac_mid + 1`
11860 if test $ac_lo -le $ac_mid; then
11861 ac_lo= ac_hi=
11862 break
11863 fi
11864 ac_mid=`expr 2 '*' $ac_mid + 1`
11865fi
11866rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11867 done
11868else
11869 echo "$as_me: failed program was:" >&5
11870sed 's/^/| /' conftest.$ac_ext >&5
11871
11872cat >conftest.$ac_ext <<_ACEOF
11873/* confdefs.h. */
11874_ACEOF
11875cat confdefs.h >>conftest.$ac_ext
11876cat >>conftest.$ac_ext <<_ACEOF
11877/* end confdefs.h. */
11878$ac_includes_default
11879int
11880main ()
11881{
11882static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
11883test_array [0] = 0
11884
11885 ;
11886 return 0;
11887}
11888_ACEOF
11889rm -f conftest.$ac_objext
11890if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11891 (eval $ac_compile) 2>conftest.er1
11892 ac_status=$?
11893 grep -v '^ *+' conftest.er1 >conftest.err
11894 rm -f conftest.er1
11895 cat conftest.err >&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } &&
11898 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11900 (eval $ac_try) 2>&5
11901 ac_status=$?
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); }; } &&
11904 { ac_try='test -s conftest.$ac_objext'
11905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11906 (eval $ac_try) 2>&5
11907 ac_status=$?
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); }; }; then
11910 ac_hi=-1 ac_mid=-1
11911 while :; do
11912 cat >conftest.$ac_ext <<_ACEOF
11913/* confdefs.h. */
11914_ACEOF
11915cat confdefs.h >>conftest.$ac_ext
11916cat >>conftest.$ac_ext <<_ACEOF
11917/* end confdefs.h. */
11918$ac_includes_default
11919int
11920main ()
11921{
11922static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
11923test_array [0] = 0
11924
11925 ;
11926 return 0;
11927}
11928_ACEOF
11929rm -f conftest.$ac_objext
11930if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11931 (eval $ac_compile) 2>conftest.er1
11932 ac_status=$?
11933 grep -v '^ *+' conftest.er1 >conftest.err
11934 rm -f conftest.er1
11935 cat conftest.err >&5
11936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11937 (exit $ac_status); } &&
11938 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11940 (eval $ac_try) 2>&5
11941 ac_status=$?
11942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); }; } &&
11944 { ac_try='test -s conftest.$ac_objext'
11945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11946 (eval $ac_try) 2>&5
11947 ac_status=$?
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); }; }; then
11950 ac_lo=$ac_mid; break
11951else
11952 echo "$as_me: failed program was:" >&5
11953sed 's/^/| /' conftest.$ac_ext >&5
11954
11955ac_hi=`expr '(' $ac_mid ')' - 1`
11956 if test $ac_mid -le $ac_hi; then
11957 ac_lo= ac_hi=
11958 break
11959 fi
11960 ac_mid=`expr 2 '*' $ac_mid`
11961fi
11962rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11963 done
11964else
11965 echo "$as_me: failed program was:" >&5
11966sed 's/^/| /' conftest.$ac_ext >&5
11967
11968ac_lo= ac_hi=
11969fi
11970rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11971fi
11972rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11973# Binary search between lo and hi bounds.
11974while test "x$ac_lo" != "x$ac_hi"; do
11975 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11976 cat >conftest.$ac_ext <<_ACEOF
11977/* confdefs.h. */
11978_ACEOF
11979cat confdefs.h >>conftest.$ac_ext
11980cat >>conftest.$ac_ext <<_ACEOF
11981/* end confdefs.h. */
11982$ac_includes_default
11983int
11984main ()
11985{
11986static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
11987test_array [0] = 0
11988
11989 ;
11990 return 0;
11991}
11992_ACEOF
11993rm -f conftest.$ac_objext
11994if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11995 (eval $ac_compile) 2>conftest.er1
11996 ac_status=$?
11997 grep -v '^ *+' conftest.er1 >conftest.err
11998 rm -f conftest.er1
11999 cat conftest.err >&5
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); } &&
12002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12004 (eval $ac_try) 2>&5
12005 ac_status=$?
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); }; } &&
12008 { ac_try='test -s conftest.$ac_objext'
12009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12010 (eval $ac_try) 2>&5
12011 ac_status=$?
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; }; then
12014 ac_hi=$ac_mid
12015else
12016 echo "$as_me: failed program was:" >&5
12017sed 's/^/| /' conftest.$ac_ext >&5
12018
12019ac_lo=`expr '(' $ac_mid ')' + 1`
12020fi
12021rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12022done
12023case $ac_lo in
12024?*) ac_cv_sizeof_char=$ac_lo;;
12025'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
12026See \`config.log' for more details." >&5
12027echo "$as_me: error: cannot compute sizeof (char), 77
12028See \`config.log' for more details." >&2;}
12029 { (exit 1); exit 1; }; } ;;
12030esac
12031else
12032 if test "$cross_compiling" = yes; then
12033 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
12034echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
12035 { (exit 1); exit 1; }; }
12036else
12037 cat >conftest.$ac_ext <<_ACEOF
12038/* confdefs.h. */
12039_ACEOF
12040cat confdefs.h >>conftest.$ac_ext
12041cat >>conftest.$ac_ext <<_ACEOF
12042/* end confdefs.h. */
12043$ac_includes_default
12044long longval () { return (long) (sizeof (char)); }
12045unsigned long ulongval () { return (long) (sizeof (char)); }
12046#include <stdio.h>
12047#include <stdlib.h>
12048int
12049main ()
12050{
12051
12052 FILE *f = fopen ("conftest.val", "w");
12053 if (! f)
12054 exit (1);
12055 if (((long) (sizeof (char))) < 0)
12056 {
12057 long i = longval ();
12058 if (i != ((long) (sizeof (char))))
12059 exit (1);
12060 fprintf (f, "%ld\n", i);
12061 }
12062 else
12063 {
12064 unsigned long i = ulongval ();
12065 if (i != ((long) (sizeof (char))))
12066 exit (1);
12067 fprintf (f, "%lu\n", i);
12068 }
12069 exit (ferror (f) || fclose (f) != 0);
12070
12071 ;
12072 return 0;
12073}
12074_ACEOF
12075rm -f conftest$ac_exeext
12076if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12077 (eval $ac_link) 2>&5
12078 ac_status=$?
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082 (eval $ac_try) 2>&5
12083 ac_status=$?
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; }; then
12086 ac_cv_sizeof_char=`cat conftest.val`
12087else
12088 echo "$as_me: program exited with status $ac_status" >&5
12089echo "$as_me: failed program was:" >&5
12090sed 's/^/| /' conftest.$ac_ext >&5
12091
12092( exit $ac_status )
12093{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
12094See \`config.log' for more details." >&5
12095echo "$as_me: error: cannot compute sizeof (char), 77
12096See \`config.log' for more details." >&2;}
12097 { (exit 1); exit 1; }; }
12098fi
12099rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12100fi
12101fi
12102rm -f conftest.val
12103else
12104 ac_cv_sizeof_char=0
12105fi
12106fi
12107echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
12108echo "${ECHO_T}$ac_cv_sizeof_char" >&6
12109cat >>confdefs.h <<_ACEOF
12110#define SIZEOF_CHAR $ac_cv_sizeof_char
12111_ACEOF
12112
12113
12114echo "$as_me:$LINENO: checking for short" >&5 11808echo "$as_me:$LINENO: checking for short" >&5
12115echo $ECHO_N "checking for short... $ECHO_C" >&6 11809echo $ECHO_N "checking for short... $ECHO_C" >&6
12116if test "${ac_cv_type_short+set}" = set; then 11810if test "${ac_cv_type_short+set}" = set; then
12117 echo $ECHO_N "(cached) $ECHO_C" >&6 11811 echo $ECHO_N "(cached) $ECHO_C" >&6
12118else 11812else
12921cat >>confdefs.h <<_ACEOF 12615cat >>confdefs.h <<_ACEOF
12922#define SIZEOF_INT $ac_cv_sizeof_int 12616#define SIZEOF_INT $ac_cv_sizeof_int
12923_ACEOF 12617_ACEOF
12924 12618
12925 12619
12926echo "$as_me:$LINENO: checking for long" >&5
12927echo $ECHO_N "checking for long... $ECHO_C" >&6
12928if test "${ac_cv_type_long+set}" = set; then
12929 echo $ECHO_N "(cached) $ECHO_C" >&6
12930else
12931 cat >conftest.$ac_ext <<_ACEOF
12932/* confdefs.h. */
12933_ACEOF
12934cat confdefs.h >>conftest.$ac_ext
12935cat >>conftest.$ac_ext <<_ACEOF
12936/* end confdefs.h. */
12937$ac_includes_default
12938int
12939main ()
12940{
12941if ((long *) 0)
12942 return 0;
12943if (sizeof (long))
12944 return 0;
12945 ;
12946 return 0;
12947}
12948_ACEOF
12949rm -f conftest.$ac_objext
12950if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12951 (eval $ac_compile) 2>conftest.er1
12952 ac_status=$?
12953 grep -v '^ *+' conftest.er1 >conftest.err
12954 rm -f conftest.er1
12955 cat conftest.err >&5
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); } &&
12958 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12960 (eval $ac_try) 2>&5
12961 ac_status=$?
12962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12963 (exit $ac_status); }; } &&
12964 { ac_try='test -s conftest.$ac_objext'
12965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12966 (eval $ac_try) 2>&5
12967 ac_status=$?
12968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12969 (exit $ac_status); }; }; then
12970 ac_cv_type_long=yes
12971else
12972 echo "$as_me: failed program was:" >&5
12973sed 's/^/| /' conftest.$ac_ext >&5
12974
12975ac_cv_type_long=no
12976fi
12977rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12978fi
12979echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12980echo "${ECHO_T}$ac_cv_type_long" >&6
12981
12982echo "$as_me:$LINENO: checking size of long" >&5
12983echo $ECHO_N "checking size of long... $ECHO_C" >&6
12984if test "${ac_cv_sizeof_long+set}" = set; then
12985 echo $ECHO_N "(cached) $ECHO_C" >&6
12986else
12987 if test "$ac_cv_type_long" = yes; then
12988 # The cast to unsigned long works around a bug in the HP C Compiler
12989 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12990 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12991 # This bug is HP SR number 8606223364.
12992 if test "$cross_compiling" = yes; then
12993 # Depending upon the size, compute the lo and hi bounds.
12994cat >conftest.$ac_ext <<_ACEOF
12995/* confdefs.h. */
12996_ACEOF
12997cat confdefs.h >>conftest.$ac_ext
12998cat >>conftest.$ac_ext <<_ACEOF
12999/* end confdefs.h. */
13000$ac_includes_default
13001int
13002main ()
13003{
13004static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
13005test_array [0] = 0
13006
13007 ;
13008 return 0;
13009}
13010_ACEOF
13011rm -f conftest.$ac_objext
13012if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13013 (eval $ac_compile) 2>conftest.er1
13014 ac_status=$?
13015 grep -v '^ *+' conftest.er1 >conftest.err
13016 rm -f conftest.er1
13017 cat conftest.err >&5
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); } &&
13020 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13023 ac_status=$?
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; } &&
13026 { ac_try='test -s conftest.$ac_objext'
13027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13028 (eval $ac_try) 2>&5
13029 ac_status=$?
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); }; }; then
13032 ac_lo=0 ac_mid=0
13033 while :; do
13034 cat >conftest.$ac_ext <<_ACEOF
13035/* confdefs.h. */
13036_ACEOF
13037cat confdefs.h >>conftest.$ac_ext
13038cat >>conftest.$ac_ext <<_ACEOF
13039/* end confdefs.h. */
13040$ac_includes_default
13041int
13042main ()
13043{
13044static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13045test_array [0] = 0
13046
13047 ;
13048 return 0;
13049}
13050_ACEOF
13051rm -f conftest.$ac_objext
13052if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13053 (eval $ac_compile) 2>conftest.er1
13054 ac_status=$?
13055 grep -v '^ *+' conftest.er1 >conftest.err
13056 rm -f conftest.er1
13057 cat conftest.err >&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } &&
13060 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13063 ac_status=$?
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } &&
13066 { ac_try='test -s conftest.$ac_objext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13069 ac_status=$?
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13072 ac_hi=$ac_mid; break
13073else
13074 echo "$as_me: failed program was:" >&5
13075sed 's/^/| /' conftest.$ac_ext >&5
13076
13077ac_lo=`expr $ac_mid + 1`
13078 if test $ac_lo -le $ac_mid; then
13079 ac_lo= ac_hi=
13080 break
13081 fi
13082 ac_mid=`expr 2 '*' $ac_mid + 1`
13083fi
13084rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13085 done
13086else
13087 echo "$as_me: failed program was:" >&5
13088sed 's/^/| /' conftest.$ac_ext >&5
13089
13090cat >conftest.$ac_ext <<_ACEOF
13091/* confdefs.h. */
13092_ACEOF
13093cat confdefs.h >>conftest.$ac_ext
13094cat >>conftest.$ac_ext <<_ACEOF
13095/* end confdefs.h. */
13096$ac_includes_default
13097int
13098main ()
13099{
13100static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
13101test_array [0] = 0
13102
13103 ;
13104 return 0;
13105}
13106_ACEOF
13107rm -f conftest.$ac_objext
13108if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13109 (eval $ac_compile) 2>conftest.er1
13110 ac_status=$?
13111 grep -v '^ *+' conftest.er1 >conftest.err
13112 rm -f conftest.er1
13113 cat conftest.err >&5
13114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13115 (exit $ac_status); } &&
13116 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13118 (eval $ac_try) 2>&5
13119 ac_status=$?
13120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); }; } &&
13122 { ac_try='test -s conftest.$ac_objext'
13123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13124 (eval $ac_try) 2>&5
13125 ac_status=$?
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); }; }; then
13128 ac_hi=-1 ac_mid=-1
13129 while :; do
13130 cat >conftest.$ac_ext <<_ACEOF
13131/* confdefs.h. */
13132_ACEOF
13133cat confdefs.h >>conftest.$ac_ext
13134cat >>conftest.$ac_ext <<_ACEOF
13135/* end confdefs.h. */
13136$ac_includes_default
13137int
13138main ()
13139{
13140static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
13141test_array [0] = 0
13142
13143 ;
13144 return 0;
13145}
13146_ACEOF
13147rm -f conftest.$ac_objext
13148if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13149 (eval $ac_compile) 2>conftest.er1
13150 ac_status=$?
13151 grep -v '^ *+' conftest.er1 >conftest.err
13152 rm -f conftest.er1
13153 cat conftest.err >&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); } &&
13156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13159 ac_status=$?
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; } &&
13162 { ac_try='test -s conftest.$ac_objext'
13163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13164 (eval $ac_try) 2>&5
13165 ac_status=$?
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); }; }; then
13168 ac_lo=$ac_mid; break
13169else
13170 echo "$as_me: failed program was:" >&5
13171sed 's/^/| /' conftest.$ac_ext >&5
13172
13173ac_hi=`expr '(' $ac_mid ')' - 1`
13174 if test $ac_mid -le $ac_hi; then
13175 ac_lo= ac_hi=
13176 break
13177 fi
13178 ac_mid=`expr 2 '*' $ac_mid`
13179fi
13180rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13181 done
13182else
13183 echo "$as_me: failed program was:" >&5
13184sed 's/^/| /' conftest.$ac_ext >&5
13185
13186ac_lo= ac_hi=
13187fi
13188rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13189fi
13190rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13191# Binary search between lo and hi bounds.
13192while test "x$ac_lo" != "x$ac_hi"; do
13193 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13194 cat >conftest.$ac_ext <<_ACEOF
13195/* confdefs.h. */
13196_ACEOF
13197cat confdefs.h >>conftest.$ac_ext
13198cat >>conftest.$ac_ext <<_ACEOF
13199/* end confdefs.h. */
13200$ac_includes_default
13201int
13202main ()
13203{
13204static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
13205test_array [0] = 0
13206
13207 ;
13208 return 0;
13209}
13210_ACEOF
13211rm -f conftest.$ac_objext
13212if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13213 (eval $ac_compile) 2>conftest.er1
13214 ac_status=$?
13215 grep -v '^ *+' conftest.er1 >conftest.err
13216 rm -f conftest.er1
13217 cat conftest.err >&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); } &&
13220 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13222 (eval $ac_try) 2>&5
13223 ac_status=$?
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); }; } &&
13226 { ac_try='test -s conftest.$ac_objext'
13227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13228 (eval $ac_try) 2>&5
13229 ac_status=$?
13230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13231 (exit $ac_status); }; }; then
13232 ac_hi=$ac_mid
13233else
13234 echo "$as_me: failed program was:" >&5
13235sed 's/^/| /' conftest.$ac_ext >&5
13236
13237ac_lo=`expr '(' $ac_mid ')' + 1`
13238fi
13239rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13240done
13241case $ac_lo in
13242?*) ac_cv_sizeof_long=$ac_lo;;
13243'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13244See \`config.log' for more details." >&5
13245echo "$as_me: error: cannot compute sizeof (long), 77
13246See \`config.log' for more details." >&2;}
13247 { (exit 1); exit 1; }; } ;;
13248esac
13249else
13250 if test "$cross_compiling" = yes; then
13251 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
13252echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
13253 { (exit 1); exit 1; }; }
13254else
13255 cat >conftest.$ac_ext <<_ACEOF
13256/* confdefs.h. */
13257_ACEOF
13258cat confdefs.h >>conftest.$ac_ext
13259cat >>conftest.$ac_ext <<_ACEOF
13260/* end confdefs.h. */
13261$ac_includes_default
13262long longval () { return (long) (sizeof (long)); }
13263unsigned long ulongval () { return (long) (sizeof (long)); }
13264#include <stdio.h>
13265#include <stdlib.h>
13266int
13267main ()
13268{
13269
13270 FILE *f = fopen ("conftest.val", "w");
13271 if (! f)
13272 exit (1);
13273 if (((long) (sizeof (long))) < 0)
13274 {
13275 long i = longval ();
13276 if (i != ((long) (sizeof (long))))
13277 exit (1);
13278 fprintf (f, "%ld\n", i);
13279 }
13280 else
13281 {
13282 unsigned long i = ulongval ();
13283 if (i != ((long) (sizeof (long))))
13284 exit (1);
13285 fprintf (f, "%lu\n", i);
13286 }
13287 exit (ferror (f) || fclose (f) != 0);
13288
13289 ;
13290 return 0;
13291}
13292_ACEOF
13293rm -f conftest$ac_exeext
13294if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13295 (eval $ac_link) 2>&5
13296 ac_status=$?
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13300 (eval $ac_try) 2>&5
13301 ac_status=$?
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); }; }; then
13304 ac_cv_sizeof_long=`cat conftest.val`
13305else
13306 echo "$as_me: program exited with status $ac_status" >&5
13307echo "$as_me: failed program was:" >&5
13308sed 's/^/| /' conftest.$ac_ext >&5
13309
13310( exit $ac_status )
13311{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13312See \`config.log' for more details." >&5
13313echo "$as_me: error: cannot compute sizeof (long), 77
13314See \`config.log' for more details." >&2;}
13315 { (exit 1); exit 1; }; }
13316fi
13317rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13318fi
13319fi
13320rm -f conftest.val
13321else
13322 ac_cv_sizeof_long=0
13323fi
13324fi
13325echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13326echo "${ECHO_T}$ac_cv_sizeof_long" >&6
13327cat >>confdefs.h <<_ACEOF
13328#define SIZEOF_LONG $ac_cv_sizeof_long
13329_ACEOF
13330
13331
13332echo "$as_me:$LINENO: checking for long long" >&5 12620echo "$as_me:$LINENO: checking for long long" >&5
13333echo $ECHO_N "checking for long long... $ECHO_C" >&6 12621echo $ECHO_N "checking for long long... $ECHO_C" >&6
13334if test "${ac_cv_type_long_long+set}" = set; then 12622if test "${ac_cv_type_long_long+set}" = set; then
13335 echo $ECHO_N "(cached) $ECHO_C" >&6 12623 echo $ECHO_N "(cached) $ECHO_C" >&6
13336else 12624else
14187 rxvt_cv_int16_t=yes 13475 rxvt_cv_int16_t=yes
14188else 13476else
14189 echo "$as_me: failed program was:" >&5 13477 echo "$as_me: failed program was:" >&5
14190sed 's/^/| /' conftest.$ac_ext >&5 13478sed 's/^/| /' conftest.$ac_ext >&5
14191 13479
14192if test $ac_cv_sizeof_char -ge 2; then 13480if test "$ac_cv_sizeof_char" -ge 2; then
14193 rxvt_cv_int16_t=" char" 13481 rxvt_cv_int16_t=" char"
14194else 13482else
14195 if test $ac_cv_sizeof_short -ge 2; then 13483 if test "$ac_cv_sizeof_short" -ge 2; then
14196 rxvt_cv_int16_t=" short" 13484 rxvt_cv_int16_t=" short"
14197 else 13485 else
14198 if test $ac_cv_sizeof_int -ge 2; then 13486 if test "$ac_cv_sizeof_int" -ge 2; then
14199 rxvt_cv_int16_t=" int" 13487 rxvt_cv_int16_t=" int"
14200 else 13488 else
14201 if test $ac_cv_sizeof_long -ge 2; then 13489 if test "$ac_cv_sizeof_long" -ge 2; then
14202 rxvt_cv_int16_t=" long" 13490 rxvt_cv_int16_t=" long"
14203 else 13491 else
14204 if test $ac_cv_sizeof_long_long -ge 2; then 13492 if test "$ac_cv_sizeof_long_long" -ge 2; then
14205 rxvt_cv_int16_t=" long long" 13493 rxvt_cv_int16_t=" long long"
14206 else 13494 else
14207 rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default 13495 rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default
14208 fi 13496 fi
14209 fi 13497 fi
14269 rxvt_cv_uint16_t=yes 13557 rxvt_cv_uint16_t=yes
14270else 13558else
14271 echo "$as_me: failed program was:" >&5 13559 echo "$as_me: failed program was:" >&5
14272sed 's/^/| /' conftest.$ac_ext >&5 13560sed 's/^/| /' conftest.$ac_ext >&5
14273 13561
14274if test $ac_cv_sizeof_char -ge 2; then 13562if test "$ac_cv_sizeof_char" -ge 2; then
14275 rxvt_cv_uint16_t="unsigned char" 13563 rxvt_cv_uint16_t="unsigned char"
14276else 13564else
14277 if test $ac_cv_sizeof_short -ge 2; then 13565 if test "$ac_cv_sizeof_short" -ge 2; then
14278 rxvt_cv_uint16_t="unsigned short" 13566 rxvt_cv_uint16_t="unsigned short"
14279 else 13567 else
14280 if test $ac_cv_sizeof_int -ge 2; then 13568 if test "$ac_cv_sizeof_int" -ge 2; then
14281 rxvt_cv_uint16_t="unsigned int" 13569 rxvt_cv_uint16_t="unsigned int"
14282 else 13570 else
14283 if test $ac_cv_sizeof_long -ge 2; then 13571 if test "$ac_cv_sizeof_long" -ge 2; then
14284 rxvt_cv_uint16_t="unsigned long" 13572 rxvt_cv_uint16_t="unsigned long"
14285 else 13573 else
14286 if test $ac_cv_sizeof_long_long -ge 2; then 13574 if test "$ac_cv_sizeof_long_long" -ge 2; then
14287 rxvt_cv_uint16_t="unsigned long long" 13575 rxvt_cv_uint16_t="unsigned long long"
14288 else 13576 else
14289 rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default 13577 rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default
14290 fi 13578 fi
14291 fi 13579 fi
14351 rxvt_cv_int32_t=yes 13639 rxvt_cv_int32_t=yes
14352else 13640else
14353 echo "$as_me: failed program was:" >&5 13641 echo "$as_me: failed program was:" >&5
14354sed 's/^/| /' conftest.$ac_ext >&5 13642sed 's/^/| /' conftest.$ac_ext >&5
14355 13643
14356if test $ac_cv_sizeof_char -ge 4; then 13644if test "$ac_cv_sizeof_char" -ge 4; then
14357 rxvt_cv_int32_t=" char" 13645 rxvt_cv_int32_t=" char"
14358else 13646else
14359 if test $ac_cv_sizeof_short -ge 4; then 13647 if test "$ac_cv_sizeof_short" -ge 4; then
14360 rxvt_cv_int32_t=" short" 13648 rxvt_cv_int32_t=" short"
14361 else 13649 else
14362 if test $ac_cv_sizeof_int -ge 4; then 13650 if test "$ac_cv_sizeof_int" -ge 4; then
14363 rxvt_cv_int32_t=" int" 13651 rxvt_cv_int32_t=" int"
14364 else 13652 else
14365 if test $ac_cv_sizeof_long -ge 4; then 13653 if test "$ac_cv_sizeof_long" -ge 4; then
14366 rxvt_cv_int32_t=" long" 13654 rxvt_cv_int32_t=" long"
14367 else 13655 else
14368 if test $ac_cv_sizeof_long_long -ge 4; then 13656 if test "$ac_cv_sizeof_long_long" -ge 4; then
14369 rxvt_cv_int32_t=" long long" 13657 rxvt_cv_int32_t=" long long"
14370 else 13658 else
14371 rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default 13659 rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default
14372 fi 13660 fi
14373 fi 13661 fi
14433 rxvt_cv_uint32_t=yes 13721 rxvt_cv_uint32_t=yes
14434else 13722else
14435 echo "$as_me: failed program was:" >&5 13723 echo "$as_me: failed program was:" >&5
14436sed 's/^/| /' conftest.$ac_ext >&5 13724sed 's/^/| /' conftest.$ac_ext >&5
14437 13725
14438if test $ac_cv_sizeof_char -ge 4; then 13726if test "$ac_cv_sizeof_char" -ge 4; then
14439 rxvt_cv_uint32_t="unsigned char" 13727 rxvt_cv_uint32_t="unsigned char"
14440else 13728else
14441 if test $ac_cv_sizeof_short -ge 4; then 13729 if test "$ac_cv_sizeof_short" -ge 4; then
14442 rxvt_cv_uint32_t="unsigned short" 13730 rxvt_cv_uint32_t="unsigned short"
14443 else 13731 else
14444 if test $ac_cv_sizeof_int -ge 4; then 13732 if test "$ac_cv_sizeof_int" -ge 4; then
14445 rxvt_cv_uint32_t="unsigned int" 13733 rxvt_cv_uint32_t="unsigned int"
14446 else 13734 else
14447 if test $ac_cv_sizeof_long -ge 4; then 13735 if test "$ac_cv_sizeof_long" -ge 4; then
14448 rxvt_cv_uint32_t="unsigned long" 13736 rxvt_cv_uint32_t="unsigned long"
14449 else 13737 else
14450 if test $ac_cv_sizeof_long_long -ge 4; then 13738 if test "$ac_cv_sizeof_long_long" -ge 4; then
14451 rxvt_cv_uint32_t="unsigned long long" 13739 rxvt_cv_uint32_t="unsigned long long"
14452 else 13740 else
14453 rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default 13741 rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default
14454 fi 13742 fi
14455 fi 13743 fi
14469 else 13757 else
14470 rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */" 13758 rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */"
14471 fi 13759 fi
14472fi 13760fi
14473 13761
14474if test $ac_cv_sizeof_int_p -eq 8; then 13762if test "$ac_cv_sizeof_int_p" -eq 8; then
14475 rxvt_intp_define="#define intp_t int64_t" 13763 rxvt_intp_define="#define intp_t int64_t"
14476 rxvt_u_intp_define="#define u_intp_t u_int64_t" 13764 rxvt_u_intp_define="#define u_intp_t u_int64_t"
14477else 13765else
14478 if test $ac_cv_sizeof_int_p -eq 4; then 13766 if test "$ac_cv_sizeof_int_p" -eq 4; then
14479 rxvt_intp_define="#define intp_t int32_t" 13767 rxvt_intp_define="#define intp_t int32_t"
14480 rxvt_u_intp_define="#define u_intp_t u_int32_t" 13768 rxvt_u_intp_define="#define u_intp_t u_int32_t"
14481 else 13769 else
14482 if test $ac_cv_sizeof_int_p -eq 2; then 13770 if test "$ac_cv_sizeof_int_p" -eq 2; then
14483 rxvt_intp_define="#define intp_t int16_t" 13771 rxvt_intp_define="#define intp_t int16_t"
14484 rxvt_u_intp_define="#define u_intp_t u_int16_t" 13772 rxvt_u_intp_define="#define u_intp_t u_int16_t"
14485 else 13773 else
14486 rxvt_intp_define="#error set intp_t" 13774 rxvt_intp_define="#error set intp_t"
14487 rxvt_u_intp_define="#error set u_intp_t" 13775 rxvt_u_intp_define="#error set u_intp_t"
16176#define HAVE_NL_LANGINFO 1 15464#define HAVE_NL_LANGINFO 1
16177_ACEOF 15465_ACEOF
16178 15466
16179fi 15467fi
16180 15468
15469echo "$as_me:$LINENO: checking for broken XIM callback" >&5
15470echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
15471if test "${rxvt_broken_ximcb+set}" = set; then
15472 echo $ECHO_N "(cached) $ECHO_C" >&6
15473else
15474 cat >conftest.$ac_ext <<_ACEOF
15475
15476#include <X11/Xlib.h>
15477
15478void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
15479
15480void f() {
15481 XIMCallback cb;
15482 cb.callback = im_destroy_cb;
15483}
15484
15485_ACEOF
15486rm -f conftest.$ac_objext
15487if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15488 (eval $ac_compile) 2>conftest.er1
15489 ac_status=$?
15490 grep -v '^ *+' conftest.er1 >conftest.err
15491 rm -f conftest.er1
15492 cat conftest.err >&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } &&
15495 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15497 (eval $ac_try) 2>&5
15498 ac_status=$?
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); }; } &&
15501 { ac_try='test -s conftest.$ac_objext'
15502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15503 (eval $ac_try) 2>&5
15504 ac_status=$?
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }; }; then
15507 rxvt_broken_ximcb=yes
15508else
15509 echo "$as_me: failed program was:" >&5
15510sed 's/^/| /' conftest.$ac_ext >&5
15511
15512rxvt_broken_ximcb=no
15513fi
15514rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15515fi
15516echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
15517echo "${ECHO_T}$rxvt_broken_ximcb" >&6
15518
15519if test x$rxvt_broken_ximcb = xyes; then
15520
15521cat >>confdefs.h <<\_ACEOF
15522#define XIMCB_PROTO_BROKEN 1
15523_ACEOF
15524
15525fi
15526
16181echo "$as_me:$LINENO: checking for getpt" >&5 15527echo "$as_me:$LINENO: checking for getpt" >&5
16182echo $ECHO_N "checking for getpt... $ECHO_C" >&6 15528echo $ECHO_N "checking for getpt... $ECHO_C" >&6
16183if test "${rxvt_cv_func_getpt+set}" = set; then 15529if test "${rxvt_cv_func_getpt+set}" = set; then
16184 echo $ECHO_N "(cached) $ECHO_C" >&6 15530 echo $ECHO_N "(cached) $ECHO_C" >&6
16185else 15531else
16362 15708
16363cat >>confdefs.h <<_ACEOF 15709cat >>confdefs.h <<_ACEOF
16364#define PTYCHAR2 "$pch2" 15710#define PTYCHAR2 "$pch2"
16365_ACEOF 15711_ACEOF
16366 15712
16367fi
16368
16369if test x$support_tinting = xyes; then
16370
16371cat >>confdefs.h <<\_ACEOF
16372#define TINTING 1
16373_ACEOF
16374
16375fi
16376if test x$support_inheritpixmap = xyes; then
16377
16378cat >>confdefs.h <<\_ACEOF
16379#define TRANSPARENT 1
16380_ACEOF
16381
16382fi
16383if test x$support_keepscrolling = xno; then
16384
16385cat >>confdefs.h <<\_ACEOF
16386#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
16387_ACEOF
16388
16389fi
16390if test x$support_selectionscrolling = xyes; then
16391
16392cat >>confdefs.h <<\_ACEOF
16393#define SELECTION_SCROLLING 1
16394_ACEOF
16395
16396fi
16397if test x$support_menubar = xyes; then
16398
16399cat >>confdefs.h <<\_ACEOF
16400#define MENUBAR 1
16401_ACEOF
16402
16403fi
16404if test x$support_frills = xno; then
16405
16406cat >>confdefs.h <<\_ACEOF
16407#define NO_FRILLS 1
16408_ACEOF
16409
16410fi
16411if test x$support_linespace = xno; then
16412
16413cat >>confdefs.h <<\_ACEOF
16414#define NO_LINESPACE 1
16415_ACEOF
16416
16417fi
16418if test x$support_24bit = xyes; then
16419
16420cat >>confdefs.h <<\_ACEOF
16421#define PREFER_24BIT 1
16422_ACEOF
16423
16424fi
16425if test x$support_mousewheel = xyes; then
16426
16427cat >>confdefs.h <<\_ACEOF
16428#define MOUSE_WHEEL 1
16429_ACEOF
16430
16431fi
16432if test x$support_mouseslipwheel = xyes; then
16433
16434cat >>confdefs.h <<\_ACEOF
16435#define MOUSE_SLIP_WHEELING 1
16436_ACEOF
16437
16438fi
16439if test x$support_utmp = xyes; then
16440
16441cat >>confdefs.h <<\_ACEOF
16442#define UTMP_SUPPORT 1
16443_ACEOF
16444
16445fi
16446if test x$support_wtmp = xyes; then
16447
16448cat >>confdefs.h <<\_ACEOF
16449#define WTMP_SUPPORT 1
16450_ACEOF
16451
16452fi
16453if test x$support_lastlog = xyes; then
16454
16455cat >>confdefs.h <<\_ACEOF
16456#define LASTLOG_SUPPORT 1
16457_ACEOF
16458
16459fi
16460if test x$support_xim = xyes -o x$multichar_set = xyes; then
16461 if test x$rxvt_cv_func_xlocale = xyes; then
16462
16463cat >>confdefs.h <<\_ACEOF
16464#define USE_XIM 1
16465_ACEOF
16466
16467 fi
16468fi
16469if test x$support_xpm = xyes; then
16470
16471cat >>confdefs.h <<\_ACEOF
16472#define XPM_BACKGROUND 1
16473_ACEOF
16474
16475fi
16476if test x$support_scroll_rxvt = xyes; then
16477
16478cat >>confdefs.h <<\_ACEOF
16479#define RXVT_SCROLLBAR 1
16480_ACEOF
16481
16482 scrolltypes="rxvt"
16483fi
16484if test x$support_scroll_next = xyes; then
16485
16486cat >>confdefs.h <<\_ACEOF
16487#define NEXT_SCROLLBAR 1
16488_ACEOF
16489
16490 scrolltypes="$scrolltypes next"
16491fi
16492if test x$support_scroll_xterm = xyes; then
16493
16494cat >>confdefs.h <<\_ACEOF
16495#define XTERM_SCROLLBAR 1
16496_ACEOF
16497
16498 scrolltypes="$scrolltypes xterm"
16499fi
16500if test x$support_scroll_plain = xyes; then
16501
16502cat >>confdefs.h <<\_ACEOF
16503#define PLAIN_SCROLLBAR 1
16504_ACEOF
16505
16506 scrolltypes="$scrolltypes plain"
16507fi
16508if test x$support_pointer_blank = xyes; then
16509
16510cat >>confdefs.h <<\_ACEOF
16511#define POINTER_BLANK 1
16512_ACEOF
16513
16514fi
16515if test x$support_cursor_blink = xyes; then
16516
16517cat >>confdefs.h <<\_ACEOF
16518#define CURSOR_BLINK 1
16519_ACEOF
16520
16521fi
16522if test x$support_text_blink = xyes; then
16523
16524cat >>confdefs.h <<\_ACEOF
16525#define TEXT_BLINK 1
16526_ACEOF
16527
16528fi
16529if test x$support_unicode3 = xyes; then
16530
16531cat >>confdefs.h <<\_ACEOF
16532#define UNICODE_3 1
16533_ACEOF
16534
16535fi
16536if test x$support_combining = xyes; then
16537
16538cat >>confdefs.h <<\_ACEOF
16539#define ENABLE_COMBINING 1
16540_ACEOF
16541
16542fi
16543if test x$codesets = xall; then
16544 codesets=jp,jp-ext,kr,cn,cn-ext
16545fi
16546for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16547
16548cat >>confdefs.h <<\_ACEOF
16549#define ENCODING_EU 1
16550_ACEOF
16551
16552
16553cat >>confdefs.h <<\_ACEOF
16554#define ENCODING_VN 1
16555_ACEOF
16556
16557 case "$codeset" in
16558 JP )
16559cat >>confdefs.h <<\_ACEOF
16560#define ENCODING_JP 1
16561_ACEOF
16562 ;;
16563 JP_EXT )
16564cat >>confdefs.h <<\_ACEOF
16565#define ENCODING_JP_EXT 1
16566_ACEOF
16567 ;;
16568 KR )
16569cat >>confdefs.h <<\_ACEOF
16570#define ENCODING_KR 1
16571_ACEOF
16572 ;;
16573 CN )
16574cat >>confdefs.h <<\_ACEOF
16575#define ENCODING_CN 1
16576_ACEOF
16577 ;;
16578 CN_EXT )
16579cat >>confdefs.h <<\_ACEOF
16580#define ENCODING_CN_EXT 1
16581_ACEOF
16582 ;;
16583 esac
16584done
16585
16586
16587CFLAGS=${CFLAGS--O}
16588LDFLAGS=${LDFLAGS--O}
16589
16590CPPFLAGS="$CPPFLAGS"
16591
16592
16593
16594
16595
16596
16597
16598if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
16599 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
16600 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
16601 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
16602 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
16603 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
16604fi
16605
16606
16607
16608
16609
16610if test x$support_addstrings = xno; then
16611
16612cat >>confdefs.h <<\_ACEOF
16613#define NO_STRINGS 1
16614_ACEOF
16615
16616fi
16617
16618MCOMMON=./autoconf/Make.common
16619
16620
16621test "$program_prefix" != NONE &&
16622 program_transform_name="s,^,$program_prefix,;$program_transform_name"
16623# Use a double $ so make ignores it.
16624test "$program_suffix" != NONE &&
16625 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
16626# Double any \ or $. echo might interpret backslashes.
16627# By default was `s,x,x', remove it if useless.
16628cat <<\_ACEOF >conftest.sed
16629s/[\\$]/&&/g;s/;s,x,x,$//
16630_ACEOF
16631program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16632rm conftest.sed
16633
16634
16635
16636
16637
16638if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16639 include_stdint_h="#include <stdint.h>"
16640else
16641 include_stdint_h="/* #include <stdint.h> */"
16642fi
16643if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16644 include_stdarg_h="#include <cstdarg>"
16645else
16646 include_stdarg_h="/* #include <cstdarg> */"
16647fi
16648if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16649 include_stdlib_h="#include <cstdlib>"
16650else
16651 include_stdlib_h="/* #include <cstdlib> */"
16652fi
16653if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16654 include_unistd_h="#include <unistd.h>"
16655else
16656 include_unistd_h="/* #include <unistd.h> */"
16657fi
16658if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16659 include_string_h="#include <cstring>"
16660else
16661 include_string_h="/* #include <cstring> */"
16662fi
16663if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16664 include_fcntl_h="#include <fcntl.h>"
16665else
16666 include_fcntl_h="/* #include <fcntl.h> */"
16667fi
16668if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
16669 include_util_h="#include <util.h>"
16670else
16671 include_util_h="/* #include <util.h> */"
16672fi
16673if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
16674 include_assert_h="#include <assert.h>"
16675else
16676 include_assert_h="/* #include <assert.h> */"
16677fi
16678if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
16679 include_sys_ioctl_h="#include <sys/ioctl.h>"
16680else
16681 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
16682fi
16683if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
16684 include_sys_select_h="#include <sys/select.h>"
16685else
16686 include_sys_select_h="/* #include <sys/select.h> */"
16687fi
16688if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
16689 include_sys_strredir_h="#include <sys/strredir.h>"
16690else
16691 include_sys_strredir_h="/* #include <sys/strredir.h> */"
16692fi
16693if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
16694 include_sys_time_h="#include <sys/time.h>"
16695else
16696 include_sys_time_h="/* #include <sys/time.h> */"
16697fi
16698if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
16699 include_time_h="#include <time.h>"
16700else
16701 include_time_h="/* #include <time.h> */"
16702fi 15713fi
16703 15714
16704if test x$support_xft = xyes; then 15715if test x$support_xft = xyes; then
16705 LIBS="$LIBS `pkg-config xft --libs`" 15716 LIBS="$LIBS `pkg-config xft --libs`"
16706 CFLAGS="$CFLAGS `pkg-config xft --cflags`" 15717 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
16939#define XFT 1 15950#define XFT 1
16940_ACEOF 15951_ACEOF
16941 15952
16942 fi 15953 fi
16943fi 15954fi
15955if test x$support_styles = xyes; then
16944 15956
15957cat >>confdefs.h <<\_ACEOF
15958#define ENABLE_STYLES 1
15959_ACEOF
15960
15961fi
15962if test x$support_iso14755 = xyes; then
15963
15964cat >>confdefs.h <<\_ACEOF
15965#define ISO_14755 1
15966_ACEOF
15967
15968fi
15969if test x$support_8bitctrls = xyes; then
15970
15971cat >>confdefs.h <<\_ACEOF
15972#define EIGHT_BIT_CONTROLS 1
15973_ACEOF
15974
15975fi
15976if test x$support_fading = xyes; then
15977
15978cat >>confdefs.h <<\_ACEOF
15979#define OFF_FOCUS_FADING 1
15980_ACEOF
15981
15982fi
15983if test x$support_tinting = xyes; then
15984
15985cat >>confdefs.h <<\_ACEOF
15986#define TINTING 1
15987_ACEOF
15988
15989fi
15990if test x$support_inheritpixmap = xyes; then
15991
15992cat >>confdefs.h <<\_ACEOF
15993#define TRANSPARENT 1
15994_ACEOF
15995
15996fi
15997if test x$support_keepscrolling = xno; then
15998
15999cat >>confdefs.h <<\_ACEOF
16000#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
16001_ACEOF
16002
16003fi
16004if test x$support_selectionscrolling = xyes; then
16005
16006cat >>confdefs.h <<\_ACEOF
16007#define SELECTION_SCROLLING 1
16008_ACEOF
16009
16010fi
16011if test x$support_menubar = xyes; then
16012
16013cat >>confdefs.h <<\_ACEOF
16014#define MENUBAR 1
16015_ACEOF
16016
16017fi
16018if test x$support_frills = xyes; then
16019
16020cat >>confdefs.h <<\_ACEOF
16021#define ENABLE_FRILLS 1
16022_ACEOF
16023
16024fi
16025if test x$support_24bit = xyes; then
16026
16027cat >>confdefs.h <<\_ACEOF
16028#define PREFER_24BIT 1
16029_ACEOF
16030
16031fi
16032if test x$support_mousewheel = xyes; then
16033
16034cat >>confdefs.h <<\_ACEOF
16035#define MOUSE_WHEEL 1
16036_ACEOF
16037
16038fi
16039if test x$support_mouseslipwheel = xyes; then
16040
16041cat >>confdefs.h <<\_ACEOF
16042#define MOUSE_SLIP_WHEELING 1
16043_ACEOF
16044
16045fi
16046if test x$support_utmp = xyes; then
16047
16048cat >>confdefs.h <<\_ACEOF
16049#define UTMP_SUPPORT 1
16050_ACEOF
16051
16052fi
16053if test x$support_wtmp = xyes; then
16054
16055cat >>confdefs.h <<\_ACEOF
16056#define WTMP_SUPPORT 1
16057_ACEOF
16058
16059fi
16060if test x$support_lastlog = xyes; then
16061
16062cat >>confdefs.h <<\_ACEOF
16063#define LASTLOG_SUPPORT 1
16064_ACEOF
16065
16066fi
16067if test x$support_xim = xyes -o x$multichar_set = xyes; then
16068 if test x$rxvt_cv_func_xlocale = xyes; then
16069
16070cat >>confdefs.h <<\_ACEOF
16071#define USE_XIM 1
16072_ACEOF
16073
16074 fi
16075fi
16076if test x$support_xpm = xyes; then
16077
16078cat >>confdefs.h <<\_ACEOF
16079#define XPM_BACKGROUND 1
16080_ACEOF
16081
16082fi
16083if test x$support_scroll_rxvt = xyes; then
16084
16085cat >>confdefs.h <<\_ACEOF
16086#define RXVT_SCROLLBAR 1
16087_ACEOF
16088
16089 scrolltypes="rxvt"
16090fi
16091if test x$support_scroll_next = xyes; then
16092
16093cat >>confdefs.h <<\_ACEOF
16094#define NEXT_SCROLLBAR 1
16095_ACEOF
16096
16097 scrolltypes="$scrolltypes next"
16098fi
16099if test x$support_scroll_xterm = xyes; then
16100
16101cat >>confdefs.h <<\_ACEOF
16102#define XTERM_SCROLLBAR 1
16103_ACEOF
16104
16105 scrolltypes="$scrolltypes xterm"
16106fi
16107if test x$support_scroll_plain = xyes; then
16108
16109cat >>confdefs.h <<\_ACEOF
16110#define PLAIN_SCROLLBAR 1
16111_ACEOF
16112
16113 scrolltypes="$scrolltypes plain"
16114fi
16115if test x$support_pointer_blank = xyes; then
16116
16117cat >>confdefs.h <<\_ACEOF
16118#define POINTER_BLANK 1
16119_ACEOF
16120
16121fi
16122if test x$support_cursor_blink = xyes; then
16123
16124cat >>confdefs.h <<\_ACEOF
16125#define CURSOR_BLINK 1
16126_ACEOF
16127
16128fi
16129if test x$support_text_blink = xyes; then
16130
16131cat >>confdefs.h <<\_ACEOF
16132#define TEXT_BLINK 1
16133_ACEOF
16134
16135fi
16136if test x$support_unicode3 = xyes; then
16137
16138cat >>confdefs.h <<\_ACEOF
16139#define UNICODE_3 1
16140_ACEOF
16141
16142fi
16143if test x$support_combining = xyes; then
16144
16145cat >>confdefs.h <<\_ACEOF
16146#define ENABLE_COMBINING 1
16147_ACEOF
16148
16149fi
16150if test x$codesets = xall; then
16151 codesets=jp,jp-ext,kr,zh,zh-ext
16152fi
16153
16154cat >>confdefs.h <<\_ACEOF
16155#define ENCODING_EU 1
16156_ACEOF
16157
16158
16159cat >>confdefs.h <<\_ACEOF
16160#define ENCODING_VN 1
16161_ACEOF
16162
16163for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16164 case "$codeset" in
16165 JP )
16166cat >>confdefs.h <<\_ACEOF
16167#define ENCODING_JP 1
16168_ACEOF
16169 ;;
16170 JP_EXT )
16171cat >>confdefs.h <<\_ACEOF
16172#define ENCODING_JP_EXT 1
16173_ACEOF
16174 ;;
16175 KR )
16176cat >>confdefs.h <<\_ACEOF
16177#define ENCODING_KR 1
16178_ACEOF
16179 ;;
16180 ZH )
16181cat >>confdefs.h <<\_ACEOF
16182#define ENCODING_ZH 1
16183_ACEOF
16184 ;;
16185 ZH_EXT )
16186cat >>confdefs.h <<\_ACEOF
16187#define ENCODING_ZH_EXT 1
16188_ACEOF
16189 ;;
16190 esac
16191done
16192
16193
16194CFLAGS=${CFLAGS--O}
16195LDFLAGS=${LDFLAGS--O}
16196
16197CPPFLAGS="$CPPFLAGS"
16198
16199
16200
16201
16202
16203
16204
16205if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
16206 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
16207 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
16208 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
16209 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
16210 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
16211fi
16212
16213
16214
16215
16216
16217if test x$support_addstrings = xno; then
16218
16219cat >>confdefs.h <<\_ACEOF
16220#define NO_STRINGS 1
16221_ACEOF
16222
16223fi
16224
16225MCOMMON=./autoconf/Make.common
16226
16227
16228test "$program_prefix" != NONE &&
16229 program_transform_name="s,^,$program_prefix,;$program_transform_name"
16230# Use a double $ so make ignores it.
16231test "$program_suffix" != NONE &&
16232 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
16233# Double any \ or $. echo might interpret backslashes.
16234# By default was `s,x,x', remove it if useless.
16235cat <<\_ACEOF >conftest.sed
16236s/[\\$]/&&/g;s/;s,x,x,$//
16237_ACEOF
16238program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16239rm conftest.sed
16240
16241
16242
16243
16244
16245if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16246 include_stdint_h="#include <stdint.h>"
16247else
16248 include_stdint_h="/* #include <stdint.h> */"
16249fi
16250if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16251 include_stdarg_h="#include <cstdarg>"
16252else
16253 include_stdarg_h="/* #include <cstdarg> */"
16254fi
16255if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16256 include_stdlib_h="#include <cstdlib>"
16257else
16258 include_stdlib_h="/* #include <cstdlib> */"
16259fi
16260if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16261 include_unistd_h="#include <unistd.h>"
16262else
16263 include_unistd_h="/* #include <unistd.h> */"
16264fi
16265if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16266 include_string_h="#include <cstring>"
16267else
16268 include_string_h="/* #include <cstring> */"
16269fi
16270if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16271 include_fcntl_h="#include <fcntl.h>"
16272else
16273 include_fcntl_h="/* #include <fcntl.h> */"
16274fi
16275if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
16276 include_util_h="#include <util.h>"
16277else
16278 include_util_h="/* #include <util.h> */"
16279fi
16280if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
16281 include_assert_h="#include <assert.h>"
16282else
16283 include_assert_h="/* #include <assert.h> */"
16284fi
16285if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
16286 include_sys_ioctl_h="#include <sys/ioctl.h>"
16287else
16288 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
16289fi
16290if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
16291 include_sys_select_h="#include <sys/select.h>"
16292else
16293 include_sys_select_h="/* #include <sys/select.h> */"
16294fi
16295if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
16296 include_sys_strredir_h="#include <sys/strredir.h>"
16297else
16298 include_sys_strredir_h="/* #include <sys/strredir.h> */"
16299fi
16300if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
16301 include_sys_time_h="#include <sys/time.h>"
16302else
16303 include_sys_time_h="/* #include <sys/time.h> */"
16304fi
16305if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
16306 include_time_h="#include <time.h>"
16307else
16308 include_time_h="/* #include <time.h> */"
16309fi
16310
16945 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" 16311 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h"
16312
16946cat >confcache <<\_ACEOF 16313cat >confcache <<\_ACEOF
16947# This file is a shell script that caches the results of configure 16314# This file is a shell script that caches the results of configure
16948# tests run on this system so they can be shared between configure 16315# tests run on this system so they can be shared between configure
16949# scripts and configure runs, see configure's option --config-cache. 16316# scripts and configure runs, see configure's option --config-cache.
16950# It is not useful on other systems. If it contains results you don't 16317# It is not useful on other systems. If it contains results you don't
17470 # Handling of arguments. 16837 # Handling of arguments.
17471 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; 16838 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
17472 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 16839 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17473 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 16840 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17474 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 16841 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17475 "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;;
17476 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; 16842 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
17477 "W11/Makefile" ) CONFIG_FILES="$CONFIG_FILES W11/Makefile" ;;
17478 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; 16843 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;;
17479 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 16844 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17480echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 16845echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17481 { (exit 1); exit 1; }; };; 16846 { (exit 1); exit 1; }; };;
17482 esac 16847 esac
17558s,@DEFS@,$DEFS,;t t 16923s,@DEFS@,$DEFS,;t t
17559s,@ECHO_C@,$ECHO_C,;t t 16924s,@ECHO_C@,$ECHO_C,;t t
17560s,@ECHO_N@,$ECHO_N,;t t 16925s,@ECHO_N@,$ECHO_N,;t t
17561s,@ECHO_T@,$ECHO_T,;t t 16926s,@ECHO_T@,$ECHO_T,;t t
17562s,@LIBS@,$LIBS,;t t 16927s,@LIBS@,$LIBS,;t t
16928s,@build@,$build,;t t
16929s,@build_cpu@,$build_cpu,;t t
16930s,@build_vendor@,$build_vendor,;t t
16931s,@build_os@,$build_os,;t t
16932s,@host@,$host,;t t
16933s,@host_cpu@,$host_cpu,;t t
16934s,@host_vendor@,$host_vendor,;t t
16935s,@host_os@,$host_os,;t t
17563s,@VERSION@,$VERSION,;t t 16936s,@VERSION@,$VERSION,;t t
17564s,@DATE@,$DATE,;t t 16937s,@DATE@,$DATE,;t t
17565s,@LSMDATE@,$LSMDATE,;t t 16938s,@LSMDATE@,$LSMDATE,;t t
17566s,@LIBVERSION@,$LIBVERSION,;t t 16939s,@LIBVERSION@,$LIBVERSION,;t t
17567s,@CC@,$CC,;t t 16940s,@CC@,$CC,;t t
17580s,@INSTALL_DATA@,$INSTALL_DATA,;t t 16953s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17581s,@AWK@,$AWK,;t t 16954s,@AWK@,$AWK,;t t
17582s,@LINKER@,$LINKER,;t t 16955s,@LINKER@,$LINKER,;t t
17583s,@CXXCPP@,$CXXCPP,;t t 16956s,@CXXCPP@,$CXXCPP,;t t
17584s,@EGREP@,$EGREP,;t t 16957s,@EGREP@,$EGREP,;t t
17585s,@build@,$build,;t t
17586s,@build_cpu@,$build_cpu,;t t
17587s,@build_vendor@,$build_vendor,;t t
17588s,@build_os@,$build_os,;t t
17589s,@host@,$host,;t t
17590s,@host_cpu@,$host_cpu,;t t
17591s,@host_vendor@,$host_vendor,;t t
17592s,@host_os@,$host_os,;t t
17593s,@LN_S@,$LN_S,;t t 16958s,@LN_S@,$LN_S,;t t
17594s,@ECHO@,$ECHO,;t t 16959s,@ECHO@,$ECHO,;t t
17595s,@RANLIB@,$RANLIB,;t t 16960s,@RANLIB@,$RANLIB,;t t
17596s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 16961s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17597s,@STRIP@,$STRIP,;t t 16962s,@STRIP@,$STRIP,;t t
17604s,@CP@,$CP,;t t 16969s,@CP@,$CP,;t t
17605s,@LN@,$LN,;t t 16970s,@LN@,$LN,;t t
17606s,@SED@,$SED,;t t 16971s,@SED@,$SED,;t t
17607s,@CMP@,$CMP,;t t 16972s,@CMP@,$CMP,;t t
17608s,@TBL@,$TBL,;t t 16973s,@TBL@,$TBL,;t t
16974s,@TIC@,$TIC,;t t
17609s,@X_CFLAGS@,$X_CFLAGS,;t t 16975s,@X_CFLAGS@,$X_CFLAGS,;t t
17610s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 16976s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17611s,@X_LIBS@,$X_LIBS,;t t 16977s,@X_LIBS@,$X_LIBS,;t t
17612s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 16978s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17613s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 16979s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines