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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines