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

Comparing rxvt-unicode/configure (file contents):
Revision 1.15 by pcg, Wed Mar 3 04:07:45 2004 UTC vs.
Revision 1.49 by root, Wed Feb 2 08:09:23 2005 UTC

465#endif 465#endif
466#if HAVE_UNISTD_H 466#if HAVE_UNISTD_H
467# include <unistd.h> 467# include <unistd.h>
468#endif" 468#endif"
469 469
470ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED CMP TBL X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' 470ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS'
471ac_subst_files='MCOMMON' 471ac_subst_files='MCOMMON'
472 472
473# Initialize some variables set by options. 473# Initialize some variables set by options.
474ac_init_help= 474ac_init_help=
475ac_init_version=false 475ac_init_version=false
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)
1052 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 1057 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1053 --enable-strings enable some replacement system functions 1058 --enable-strings enable some replacement system functions
1054 --disable-swapscreen disable swap screen support 1059 --disable-swapscreen disable swap screen support
1060 --enable-iso14755 enable support for extended ISO 14755 modes
1055 --enable-frills enable support for rarely used features 1061 --enable-frills enable support for rarely used features
1056 --enable-linespace enable support for linespace
1057 --enable-24bit enable support for using 24bit visuals if available 1062 --enable-24bit enable support for using 24bit visuals if available
1058 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1063 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1059 --enable-selectionscrolling enable scrolling during selections 1064 --enable-selectionscrolling enable scrolling during selections
1060 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1065 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1061 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1066 --enable-slipwheeling enable slip wheel scrolling (requires previous)
1062 --enable-old-selection enable v2.20 (& prior) mouse selection style support
1063 --disable-new-selection disable new mouse (xterm) selection style support
1064 --enable-dmalloc enable Gray Watson's malloc - for debugging use 1067 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1065 --enable-dlmalloc enable Doug Lea's malloc - for production use 1068 --enable-dlmalloc enable Doug Lea's malloc - for production use
1066 NOTE: enable only one malloc package 1069 NOTE: enable only one malloc package
1067 --enable-smart-resize enable smart growth/shrink behaviour 1070 --enable-smart-resize enable smart growth/shrink behaviour
1068 --enable-256-color enable 256-color support
1069 --enable-cursor-blink enable blinking cursor 1071 --enable-cursor-blink enable blinking cursor
1070 --enable-text-blink enable blinking text 1072 --enable-text-blink enable blinking text
1071 --enable-pointer-blank enable pointer blank when typing or inactive pointer 1073 --enable-pointer-blank enable pointer blank when typing or inactive pointer
1072 1074
1073Optional Packages: 1075Optional Packages:
1074 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1076 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1075 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1077 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1076 --with-gnu-ld assume the C compiler uses GNU ld default=no 1078 --with-gnu-ld assume the C compiler uses GNU ld default=no
1077 --with-pic try to use only PIC/non-PIC objects default=use both 1079 --with-pic try to use only PIC/non-PIC objects default=use both
1078 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all) 1080 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)
1079 --with-res-name=NAME use this as default resource name (default: urxvt) 1081 --with-res-name=NAME use this as default resource name (default: urxvt)
1080 --with-res-class=NAME use this as the resource class (default: URxvt) 1082 --with-res-class=CLASS use this as the resource class (default: URxvt)
1081 --with-name=NAME set the basename for the installed binaries (default: urxvt) 1083 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1082 --with-term=NAME set the terminal to NAME (default: rxvt) 1084 --with-term=NAME set the terminal to NAME (default: rxvt)
1083 --with-terminfo=PATH set the path to the terminfo tree to PATH 1085 --with-terminfo=PATH set the path to the terminfo tree to PATH
1084 --with-x use the X Window System 1086 --with-x use the X Window System
1085 --with-xpm-includes=DIR use XPM includes in DIR 1087 --with-xpm-includes=DIR use XPM includes in DIR
1534 1536
1535 1537
1536 1538
1537 1539
1538 1540
1541
1539ac_aux_dir= 1542ac_aux_dir=
1540for ac_dir in autoconf $srcdir/autoconf; do 1543for ac_dir in autoconf $srcdir/autoconf; do
1541 if test -f $ac_dir/install-sh; then 1544 if test -f $ac_dir/install-sh; then
1542 ac_aux_dir=$ac_dir 1545 ac_aux_dir=$ac_dir
1543 ac_install_sh="$ac_aux_dir/install-sh -c" 1546 ac_install_sh="$ac_aux_dir/install-sh -c"
1560ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1563ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1561ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1564ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1562ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1565ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1563 1566
1564 ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" 1567 ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in"
1568
1569
1570# Make sure we can run config.sub.
1571$ac_config_sub sun4 >/dev/null 2>&1 ||
1572 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1573echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1574 { (exit 1); exit 1; }; }
1575
1576echo "$as_me:$LINENO: checking build system type" >&5
1577echo $ECHO_N "checking build system type... $ECHO_C" >&6
1578if test "${ac_cv_build+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580else
1581 ac_cv_build_alias=$build_alias
1582test -z "$ac_cv_build_alias" &&
1583 ac_cv_build_alias=`$ac_config_guess`
1584test -z "$ac_cv_build_alias" &&
1585 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1586echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1587 { (exit 1); exit 1; }; }
1588ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1589 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1590echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1591 { (exit 1); exit 1; }; }
1592
1593fi
1594echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1595echo "${ECHO_T}$ac_cv_build" >&6
1596build=$ac_cv_build
1597build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1598build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1599build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1600
1601
1602echo "$as_me:$LINENO: checking host system type" >&5
1603echo $ECHO_N "checking host system type... $ECHO_C" >&6
1604if test "${ac_cv_host+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1606else
1607 ac_cv_host_alias=$host_alias
1608test -z "$ac_cv_host_alias" &&
1609 ac_cv_host_alias=$ac_cv_build_alias
1610ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1611 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1612echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1613 { (exit 1); exit 1; }; }
1614
1615fi
1616echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1617echo "${ECHO_T}$ac_cv_host" >&6
1618host=$ac_cv_host
1619host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1620host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1621host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1622
1565 1623
1566 1624
1567VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1625VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1568DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1626DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1569LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1627LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
3207ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3265ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3208ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3266ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3209ac_compiler_gnu=$ac_cv_c_compiler_gnu 3267ac_compiler_gnu=$ac_cv_c_compiler_gnu
3210 3268
3211 3269
3270if test -z "$orig_CXXFLAGS"; then
3271 CXXFLAGS='-O'
3272 if test x$GCC = xyes && test "x$GXX" = xyes; then
3273 CXXFLAGS="-g -O3"
3274 fi
3275 CFLAGS="$CXXFLAGS"
3276fi
3277
3212LINKER="$CXX" 3278LINKER="$CXX"
3213if test x$GCC = xyes && test x$GXX = xyes; then 3279if test x$GCC = xyes && test x$GXX = xyes; then
3214 3280
3215echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 3281echo "$as_me:$LINENO: checking for main in -lsupc++" >&5
3216echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 3282echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6
3278 3344
3279fi 3345fi
3280LINKER=$LINKER 3346LINKER=$LINKER
3281 3347
3282 3348
3283CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3284 3349
3285if test x$GXX = xyes; then 3350cat >>confdefs.h <<\_ACEOF
3286 CXXFLAGS="$CXXFLAGS -fno-exceptions" 3351#define _GNU_SOURCE 1
3287fi 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
3288 3375
3289ac_ext=cc 3376ac_ext=cc
3290ac_cpp='$CXXCPP $CPPFLAGS' 3377ac_cpp='$CXXCPP $CPPFLAGS'
3291ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292ac_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'
3689echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3776echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3690echo "${ECHO_T}$ac_cv_search_strerror" >&6 3777echo "${ECHO_T}$ac_cv_search_strerror" >&6
3691if test "$ac_cv_search_strerror" != no; then 3778if test "$ac_cv_search_strerror" != no; then
3692 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"
3693 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"
3694fi 3984fi
3695 3985
3696 3986
3697# Check whether --enable-shared or --disable-shared was given. 3987# Check whether --enable-shared or --disable-shared was given.
3698if test "${enable_shared+set}" = set; then 3988if test "${enable_shared+set}" = set; then
3756 ;; 4046 ;;
3757esac 4047esac
3758else 4048else
3759 enable_fast_install=yes 4049 enable_fast_install=yes
3760fi; 4050fi;
3761# Make sure we can run config.sub.
3762$ac_config_sub sun4 >/dev/null 2>&1 ||
3763 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3764echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3765 { (exit 1); exit 1; }; }
3766
3767echo "$as_me:$LINENO: checking build system type" >&5
3768echo $ECHO_N "checking build system type... $ECHO_C" >&6
3769if test "${ac_cv_build+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3771else
3772 ac_cv_build_alias=$build_alias
3773test -z "$ac_cv_build_alias" &&
3774 ac_cv_build_alias=`$ac_config_guess`
3775test -z "$ac_cv_build_alias" &&
3776 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3777echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3778 { (exit 1); exit 1; }; }
3779ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3780 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3781echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3782 { (exit 1); exit 1; }; }
3783
3784fi
3785echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3786echo "${ECHO_T}$ac_cv_build" >&6
3787build=$ac_cv_build
3788build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3789build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3790build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3791
3792
3793echo "$as_me:$LINENO: checking host system type" >&5
3794echo $ECHO_N "checking host system type... $ECHO_C" >&6
3795if test "${ac_cv_host+set}" = set; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3797else
3798 ac_cv_host_alias=$host_alias
3799test -z "$ac_cv_host_alias" &&
3800 ac_cv_host_alias=$ac_cv_build_alias
3801ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3802 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3803echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3804 { (exit 1); exit 1; }; }
3805
3806fi
3807echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3808echo "${ECHO_T}$ac_cv_host" >&6
3809host=$ac_cv_host
3810host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3811host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3812host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3813
3814
3815 4051
3816# Check whether --with-gnu-ld or --without-gnu-ld was given. 4052# Check whether --with-gnu-ld or --without-gnu-ld was given.
3817if test "${with_gnu_ld+set}" = set; then 4053if test "${with_gnu_ld+set}" = set; then
3818 withval="$with_gnu_ld" 4054 withval="$with_gnu_ld"
3819 test "$withval" = no || with_gnu_ld=yes 4055 test "$withval" = no || with_gnu_ld=yes
5034# 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
5035# libtool support. 5271# libtool support.
5036case "$host" in 5272case "$host" in
5037*-*-irix6*) 5273*-*-irix6*)
5038 # Find out which ABI we are using. 5274 # Find out which ABI we are using.
5039 echo '#line 5039 "configure"' > conftest.$ac_ext 5275 echo '#line 5275 "configure"' > conftest.$ac_ext
5040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5041 (eval $ac_compile) 2>&5 5277 (eval $ac_compile) 2>&5
5042 ac_status=$? 5278 ac_status=$?
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; then 5280 (exit $ac_status); }; then
5585# builds. 5821# builds.
5586chmod -w . 5822chmod -w .
5587save_CFLAGS="$CFLAGS" 5823save_CFLAGS="$CFLAGS"
5588CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5824CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5589compiler_c_o=no 5825compiler_c_o=no
5590if { (eval echo configure:5590: \"$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
5591 # 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
5592 # So say no if there are warnings 5828 # So say no if there are warnings
5593 if test -s out/conftest.err; then 5829 if test -s out/conftest.err; then
5594 compiler_c_o=no 5830 compiler_c_o=no
5595 else 5831 else
7201 lt_cv_dlopen_self=cross 7437 lt_cv_dlopen_self=cross
7202else 7438else
7203 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7439 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7204 lt_status=$lt_dlunknown 7440 lt_status=$lt_dlunknown
7205 cat > conftest.$ac_ext <<EOF 7441 cat > conftest.$ac_ext <<EOF
7206#line 7206 "configure" 7442#line 7442 "configure"
7207#include "confdefs.h" 7443#include "confdefs.h"
7208 7444
7209#if HAVE_DLFCN_H 7445#if HAVE_DLFCN_H
7210#include <dlfcn.h> 7446#include <dlfcn.h>
7211#endif 7447#endif
7299 lt_cv_dlopen_self_static=cross 7535 lt_cv_dlopen_self_static=cross
7300else 7536else
7301 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7537 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7302 lt_status=$lt_dlunknown 7538 lt_status=$lt_dlunknown
7303 cat > conftest.$ac_ext <<EOF 7539 cat > conftest.$ac_ext <<EOF
7304#line 7304 "configure" 7540#line 7540 "configure"
7305#include "confdefs.h" 7541#include "confdefs.h"
7306 7542
7307#if HAVE_DLFCN_H 7543#if HAVE_DLFCN_H
7308#include <dlfcn.h> 7544#include <dlfcn.h>
7309#endif 7545#endif
8030 8266
8031 8267
8032MALLOC_TYPE=S 8268MALLOC_TYPE=S
8033support_addstrings=no 8269support_addstrings=no
8034support_frills=no 8270support_frills=no
8035support_linespace=no
8036support_inheritpixmap=no 8271support_inheritpixmap=no
8272support_tinting=no
8273support_fading=no
8037support_keepscrolling=no 8274support_keepscrolling=no
8038support_selectionscrolling=no 8275support_selectionscrolling=no
8039support_menubar=no 8276support_menubar=no
8040support_mousewheel=no 8277support_mousewheel=no
8041support_mouseslipwheel=no 8278support_mouseslipwheel=no
8042support_oldselection=no
8043support_utmp=no 8279support_utmp=no
8044support_wtmp=no 8280support_wtmp=no
8045support_lastlog=no 8281support_lastlog=no
8046support_cursor_blink=no 8282support_cursor_blink=no
8047support_text_blink=no 8283support_text_blink=no
8052support_scroll_plain=no 8288support_scroll_plain=no
8053support_xim=no 8289support_xim=no
8054support_xpm=no 8290support_xpm=no
8055support_xft=no 8291support_xft=no
8056support_unicode3=no 8292support_unicode3=no
8293support_combining=no
8294support_8bitctrls=no
8295support_iso14755=no
8296support_styles=no
8057codesets= 8297codesets=
8058 8298
8059 8299
8060if test "x$enable_shared" = xyes; then 8300if test "x$enable_shared" = xyes; then
8061 8301
8071if test "${enable_everything+set}" = set; then 8311if test "${enable_everything+set}" = set; then
8072 enableval="$enable_everything" 8312 enableval="$enable_everything"
8073 if test x$enableval = xyes; then 8313 if test x$enableval = xyes; then
8074 support_24bit=yes 8314 support_24bit=yes
8075 support_frills=yes 8315 support_frills=yes
8076 support_linespace=yes
8077 support_inheritpixmap=yes 8316 support_inheritpixmap=yes
8317 support_tinting=yes
8318 support_fading=yes
8078 support_keepscrolling=yes 8319 support_keepscrolling=yes
8079 support_selectionscrolling=yes 8320 support_selectionscrolling=yes
8080 support_lastlog=yes 8321 support_lastlog=yes
8081 support_menubar=yes 8322 support_menubar=yes
8082 support_mousewheel=yes 8323 support_mousewheel=yes
8083 support_mouseslipwheel=yes 8324 support_mouseslipwheel=yes
8084 support_oldselection=yes
8085 support_cursor_blink=yes 8325 support_cursor_blink=yes
8086 support_text_blink=yes 8326 support_text_blink=yes
8087 support_pointer_blank=yes 8327 support_pointer_blank=yes
8088 support_scroll_rxvt=yes 8328 support_scroll_rxvt=yes
8089 support_scroll_next=yes 8329 support_scroll_next=yes
8093 support_wtmp=yes 8333 support_wtmp=yes
8094 support_xim=yes 8334 support_xim=yes
8095 support_xpm=yes 8335 support_xpm=yes
8096 support_xft=yes 8336 support_xft=yes
8097 support_unicode3=yes 8337 support_unicode3=yes
8338 support_combining=yes
8339 #support_8bitctrls=yes
8340 support_iso14755=yes
8341 support_styles=yes
8098 codesets=all 8342 codesets=all
8099 fi 8343 fi
8100fi; 8344fi;
8101 8345
8102# Check whether --enable-unicode3 or --disable-unicode3 was given. 8346# Check whether --enable-unicode3 or --disable-unicode3 was given.
8103if test "${enable_unicode3+set}" = set; then 8347if test "${enable_unicode3+set}" = set; then
8104 enableval="$enable_unicode3" 8348 enableval="$enable_unicode3"
8105 if test x$enableval = xyes -o x$enableval = xno; then 8349 if test x$enableval = xyes -o x$enableval = xno; then
8106 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
8107 fi 8359 fi
8108fi; 8360fi;
8109 8361
8110# Check whether --enable-xft or --disable-xft was given. 8362# Check whether --enable-xft or --disable-xft was given.
8111if test "${enable_xft+set}" = set; then 8363if test "${enable_xft+set}" = set; then
8112 enableval="$enable_xft" 8364 enableval="$enable_xft"
8113 if test x$enableval = xyes -o x$enableval = xno; then 8365 if test x$enableval = xyes -o x$enableval = xno; then
8114 support_xft=yes 8366 support_xft=$enableval
8367 fi
8368fi;
8369
8370# Check whether --enable-font-styles or --disable-font-styles was given.
8371if test "${enable_font_styles+set}" = set; then
8372 enableval="$enable_font_styles"
8373 if test x$enableval = xyes -o x$enableval = xno; then
8374 support_styles=$enableval
8115 fi 8375 fi
8116fi; 8376fi;
8117 8377
8118# Check whether --enable-utmp or --disable-utmp was given. 8378# Check whether --enable-utmp or --disable-utmp was given.
8119if test "${enable_utmp+set}" = set; then 8379if test "${enable_utmp+set}" = set; then
8153 if test x$enableval = xyes -o x$enableval = xno; then 8413 if test x$enableval = xyes -o x$enableval = xno; then
8154 support_inheritpixmap=$enableval 8414 support_inheritpixmap=$enableval
8155 fi 8415 fi
8156fi; 8416fi;
8157 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
8158# Check whether --enable-menubar or --disable-menubar was given. 8434# Check whether --enable-menubar or --disable-menubar was given.
8159if test "${enable_menubar+set}" = set; then 8435if test "${enable_menubar+set}" = set; then
8160 enableval="$enable_menubar" 8436 enableval="$enable_menubar"
8161 if test x$enableval = xyes -o x$enableval = xno; then 8437 if test x$enableval = xyes -o x$enableval = xno; then
8162 support_menubar=$enableval 8438 support_menubar=$enableval
8280_ACEOF 8556_ACEOF
8281 8557
8282 fi 8558 fi
8283fi; 8559fi;
8284 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
8285RESFALLBACK=Rxvt 8569RESFALLBACK=Rxvt
8286# Check whether --enable-fallback or --disable-fallback was given. 8570# Check whether --enable-fallback or --disable-fallback was given.
8287if test "${enable_fallback+set}" = set; then 8571if test "${enable_fallback+set}" = set; then
8288 enableval="$enable_fallback" 8572 enableval="$enable_fallback"
8289 8573
8332# Check whether --with-name or --without-name was given. 8616# Check whether --with-name or --without-name was given.
8333if test "${with_name+set}" = set; then 8617if test "${with_name+set}" = set; then
8334 withval="$with_name" 8618 withval="$with_name"
8335 RXVTNAME="$withval" 8619 RXVTNAME="$withval"
8336fi; 8620fi;
8621
8622cat >>confdefs.h <<_ACEOF
8623#define RXVTNAME "$RXVTNAME"
8624_ACEOF
8625
8337 8626
8338RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 8627RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
8339 8628
8340 8629
8341# Check whether --enable-strings or --disable-strings was given. 8630# Check whether --enable-strings or --disable-strings was given.
8356_ACEOF 8645_ACEOF
8357 8646
8358 fi 8647 fi
8359fi; 8648fi;
8360 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
8361# Check whether --enable-frills or --disable-frills was given. 8658# Check whether --enable-frills or --disable-frills was given.
8362if test "${enable_frills+set}" = set; then 8659if test "${enable_frills+set}" = set; then
8363 enableval="$enable_frills" 8660 enableval="$enable_frills"
8364 if test x$enableval = xyes -o x$enableval = xno; then 8661 if test x$enableval = xyes -o x$enableval = xno; then
8365 support_frills=$enableval 8662 support_frills=$enableval
8366 fi 8663 fi
8367fi; 8664fi;
8368 8665
8369# Check whether --enable-linespace or --disable-linespace was given.
8370if test "${enable_linespace+set}" = set; then
8371 enableval="$enable_linespace"
8372 if test x$enableval = xyes -o x$enableval = xno; then
8373 support_linespace=$enableval
8374 fi
8375fi;
8376
8377# Check whether --enable-24bit or --disable-24bit was given. 8666# Check whether --enable-24bit or --disable-24bit was given.
8378if test "${enable_24bit+set}" = set; then 8667if test "${enable_24bit+set}" = set; then
8379 enableval="$enable_24bit" 8668 enableval="$enable_24bit"
8380 if test x$enableval = xyes -o x$enableval = xno; then 8669 if test x$enableval = xyes -o x$enableval = xno; then
8381 support_24bit=$enableval 8670 support_24bit=$enableval
8409# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8698# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8410if test "${enable_slipwheeling+set}" = set; then 8699if test "${enable_slipwheeling+set}" = set; then
8411 enableval="$enable_slipwheeling" 8700 enableval="$enable_slipwheeling"
8412 if test x$enableval = xyes -o x$enableval = xno; then 8701 if test x$enableval = xyes -o x$enableval = xno; then
8413 support_mouseslipwheel=$enableval 8702 support_mouseslipwheel=$enableval
8414 fi
8415fi;
8416
8417# Check whether --enable-old-selection or --disable-old-selection was given.
8418if test "${enable_old_selection+set}" = set; then
8419 enableval="$enable_old_selection"
8420 if test x$enableval = xyes -o x$enableval = xno; then
8421 support_oldselection=$enableval
8422 fi
8423fi;
8424
8425# Check whether --enable-new-selection or --disable-new-selection was given.
8426if test "${enable_new_selection+set}" = set; then
8427 enableval="$enable_new_selection"
8428 if test x$enableval = xno; then
8429
8430cat >>confdefs.h <<\_ACEOF
8431#define NO_NEW_SELECTION 1
8432_ACEOF
8433
8434 fi 8703 fi
8435fi; 8704fi;
8436 8705
8437# Check whether --enable-dmalloc or --disable-dmalloc was given. 8706# Check whether --enable-dmalloc or --disable-dmalloc was given.
8438if test "${enable_dmalloc+set}" = set; then 8707if test "${enable_dmalloc+set}" = set; then
8466_ACEOF 8735_ACEOF
8467 8736
8468 fi 8737 fi
8469fi; 8738fi;
8470 8739
8471# Check whether --enable-256-color or --disable-256-color was given.
8472if test "${enable_256_color+set}" = set; then
8473 enableval="$enable_256_color"
8474 if test x$enableval = xyes; then
8475
8476cat >>confdefs.h <<\_ACEOF
8477#define TTY_256COLOR 1
8478_ACEOF
8479
8480 fi
8481fi;
8482
8483# Check whether --enable-cursor-blink or --disable-cursor-blink was given. 8740# Check whether --enable-cursor-blink or --disable-cursor-blink was given.
8484if test "${enable_cursor_blink+set}" = set; then 8741if test "${enable_cursor_blink+set}" = set; then
8485 enableval="$enable_cursor_blink" 8742 enableval="$enable_cursor_blink"
8486 if test x$enableval = xyes -o x$enableval = xno; then 8743 if test x$enableval = xyes -o x$enableval = xno; then
8487 support_cursor_blink=$enableval 8744 support_cursor_blink=$enableval
8534 8791
8535cat >>confdefs.h <<\_ACEOF 8792cat >>confdefs.h <<\_ACEOF
8536#define PROTOTYPES 1 8793#define PROTOTYPES 1
8537_ACEOF 8794_ACEOF
8538 8795
8539
8540if test -z "$CFLAGS"; then
8541 if test -z "$CCOPTS"; then
8542 CCOPTS='-O'
8543 fi
8544 CFLAGS="$CCOPTS"
8545fi
8546 8796
8547# 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.
8548set dummy mv; ac_word=$2 8798set dummy mv; ac_word=$2
8549echo "$as_me:$LINENO: checking for $ac_word" >&5 8799echo "$as_me:$LINENO: checking for $ac_word" >&5
8550echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8800echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8861else 9111else
8862 echo "$as_me:$LINENO: result: no" >&5 9112 echo "$as_me:$LINENO: result: no" >&5
8863echo "${ECHO_T}no" >&6 9113echo "${ECHO_T}no" >&6
8864fi 9114fi
8865 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
8866 9141
9142 ;;
9143esac
9144fi
9145TIC=$ac_cv_path_TIC
8867 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
8868 9154
9155
9156
9157
9158
9159if test "x$ac_path_x_has_been_run" != xyes; then
8869echo "$as_me:$LINENO: checking for X" >&5 9160 echo "$as_me:$LINENO: checking for X" >&5
8870echo $ECHO_N "checking for X... $ECHO_C" >&6 9161echo $ECHO_N "checking for X... $ECHO_C" >&6
8871 9162
9163ac_path_x_has_been_run=yes
8872 9164
8873# Check whether --with-x or --without-x was given. 9165# Check whether --with-x or --without-x was given.
8874if test "${with_x+set}" = set; then 9166if test "${with_x+set}" = set; then
8875 withval="$with_x" 9167 withval="$with_x"
8876 9168
8959 9251
8960/usr/openwin/include 9252/usr/openwin/include
8961/usr/openwin/share/include' 9253/usr/openwin/share/include'
8962 9254
8963if test "$ac_x_includes" = no; then 9255if test "$ac_x_includes" = no; then
8964 # 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.
8965 # First, try using that file with no special directory specified. 9257 # First, try using that file with no special directory specified.
8966 cat >conftest.$ac_ext <<_ACEOF 9258 cat >conftest.$ac_ext <<_ACEOF
8967/* confdefs.h. */ 9259/* confdefs.h. */
8968_ACEOF 9260_ACEOF
8969cat confdefs.h >>conftest.$ac_ext 9261cat confdefs.h >>conftest.$ac_ext
9093 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9385 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9094 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9386 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9095 # Update the cache value to reflect the command line values. 9387 # Update the cache value to reflect the command line values.
9096 ac_cv_have_x="have_x=yes \ 9388 ac_cv_have_x="have_x=yes \
9097 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"
9098 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
9099echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9395echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9100fi 9396fi
9101 9397
9398fi
9102if test "$no_x" = yes; then 9399if test "$no_x" = yes; then
9103 # 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.
9104 9401
9105cat >>confdefs.h <<\_ACEOF 9402cat >>confdefs.h <<\_ACEOF
9106#define X_DISPLAY_MISSING 1 9403#define X_DISPLAY_MISSING 1
10683 10980
10684 10981
10685 10982
10686 10983
10687 10984
10985
10986
10688for ac_header in \ 10987for ac_header in \
10689 assert.h \ 10988 assert.h \
10690 fcntl.h \ 10989 fcntl.h \
10691 grp.h \ 10990 grp.h \
10692 libc.h \ 10991 libc.h \
10699 sys/byteorder.h \ 10998 sys/byteorder.h \
10700 sys/ioctl.h \ 10999 sys/ioctl.h \
10701 sys/select.h \ 11000 sys/select.h \
10702 sys/sockio.h \ 11001 sys/sockio.h \
10703 sys/strredir.h \ 11002 sys/strredir.h \
11003 sys/stropts.h \
10704 sys/time.h \ 11004 sys/time.h \
10705 utmp.h \ 11005 utmp.h \
10706 utmpx.h \ 11006 utmpx.h \
10707 stdint.h \ 11007 stdint.h \
11008 pty.h \
10708 11009
10709do 11010do
10710as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11011as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10711if eval "test \"\${$as_ac_Header+set}\" = set"; then 11012if eval "test \"\${$as_ac_Header+set}\" = set"; then
10712 echo "$as_me:$LINENO: checking for $ac_header" >&5 11013 echo "$as_me:$LINENO: checking for $ac_header" >&5
11496_ACEOF 11797_ACEOF
11497 11798
11498fi 11799fi
11499 11800
11500 11801
11501
11502echo "$as_me:$LINENO: checking for char" >&5
11503echo $ECHO_N "checking for char... $ECHO_C" >&6
11504if test "${ac_cv_type_char+set}" = set; then
11505 echo $ECHO_N "(cached) $ECHO_C" >&6
11506else
11507 cat >conftest.$ac_ext <<_ACEOF
11508/* confdefs.h. */
11509_ACEOF
11510cat confdefs.h >>conftest.$ac_ext
11511cat >>conftest.$ac_ext <<_ACEOF
11512/* end confdefs.h. */
11513$ac_includes_default
11514int
11515main ()
11516{
11517if ((char *) 0)
11518 return 0;
11519if (sizeof (char))
11520 return 0;
11521 ;
11522 return 0;
11523}
11524_ACEOF
11525rm -f conftest.$ac_objext
11526if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11527 (eval $ac_compile) 2>conftest.er1
11528 ac_status=$?
11529 grep -v '^ *+' conftest.er1 >conftest.err
11530 rm -f conftest.er1
11531 cat conftest.err >&5
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); } &&
11534 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11536 (eval $ac_try) 2>&5
11537 ac_status=$?
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); }; } &&
11540 { ac_try='test -s conftest.$ac_objext'
11541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11542 (eval $ac_try) 2>&5
11543 ac_status=$?
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); }; }; then
11546 ac_cv_type_char=yes
11547else
11548 echo "$as_me: failed program was:" >&5
11549sed 's/^/| /' conftest.$ac_ext >&5
11550
11551ac_cv_type_char=no
11552fi
11553rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11554fi
11555echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
11556echo "${ECHO_T}$ac_cv_type_char" >&6
11557
11558echo "$as_me:$LINENO: checking size of char" >&5
11559echo $ECHO_N "checking size of char... $ECHO_C" >&6
11560if test "${ac_cv_sizeof_char+set}" = set; then
11561 echo $ECHO_N "(cached) $ECHO_C" >&6
11562else
11563 if test "$ac_cv_type_char" = yes; then
11564 # The cast to unsigned long works around a bug in the HP C Compiler
11565 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11566 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11567 # This bug is HP SR number 8606223364.
11568 if test "$cross_compiling" = yes; then
11569 # Depending upon the size, compute the lo and hi bounds.
11570cat >conftest.$ac_ext <<_ACEOF
11571/* confdefs.h. */
11572_ACEOF
11573cat confdefs.h >>conftest.$ac_ext
11574cat >>conftest.$ac_ext <<_ACEOF
11575/* end confdefs.h. */
11576$ac_includes_default
11577int
11578main ()
11579{
11580static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
11581test_array [0] = 0
11582
11583 ;
11584 return 0;
11585}
11586_ACEOF
11587rm -f conftest.$ac_objext
11588if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11589 (eval $ac_compile) 2>conftest.er1
11590 ac_status=$?
11591 grep -v '^ *+' conftest.er1 >conftest.err
11592 rm -f conftest.er1
11593 cat conftest.err >&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); } &&
11596 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11598 (eval $ac_try) 2>&5
11599 ac_status=$?
11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11601 (exit $ac_status); }; } &&
11602 { ac_try='test -s conftest.$ac_objext'
11603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11604 (eval $ac_try) 2>&5
11605 ac_status=$?
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); }; }; then
11608 ac_lo=0 ac_mid=0
11609 while :; do
11610 cat >conftest.$ac_ext <<_ACEOF
11611/* confdefs.h. */
11612_ACEOF
11613cat confdefs.h >>conftest.$ac_ext
11614cat >>conftest.$ac_ext <<_ACEOF
11615/* end confdefs.h. */
11616$ac_includes_default
11617int
11618main ()
11619{
11620static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
11621test_array [0] = 0
11622
11623 ;
11624 return 0;
11625}
11626_ACEOF
11627rm -f conftest.$ac_objext
11628if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11629 (eval $ac_compile) 2>conftest.er1
11630 ac_status=$?
11631 grep -v '^ *+' conftest.er1 >conftest.err
11632 rm -f conftest.er1
11633 cat conftest.err >&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); } &&
11636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11638 (eval $ac_try) 2>&5
11639 ac_status=$?
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); }; } &&
11642 { ac_try='test -s conftest.$ac_objext'
11643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11644 (eval $ac_try) 2>&5
11645 ac_status=$?
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); }; }; then
11648 ac_hi=$ac_mid; break
11649else
11650 echo "$as_me: failed program was:" >&5
11651sed 's/^/| /' conftest.$ac_ext >&5
11652
11653ac_lo=`expr $ac_mid + 1`
11654 if test $ac_lo -le $ac_mid; then
11655 ac_lo= ac_hi=
11656 break
11657 fi
11658 ac_mid=`expr 2 '*' $ac_mid + 1`
11659fi
11660rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11661 done
11662else
11663 echo "$as_me: failed program was:" >&5
11664sed 's/^/| /' conftest.$ac_ext >&5
11665
11666cat >conftest.$ac_ext <<_ACEOF
11667/* confdefs.h. */
11668_ACEOF
11669cat confdefs.h >>conftest.$ac_ext
11670cat >>conftest.$ac_ext <<_ACEOF
11671/* end confdefs.h. */
11672$ac_includes_default
11673int
11674main ()
11675{
11676static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
11677test_array [0] = 0
11678
11679 ;
11680 return 0;
11681}
11682_ACEOF
11683rm -f conftest.$ac_objext
11684if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11685 (eval $ac_compile) 2>conftest.er1
11686 ac_status=$?
11687 grep -v '^ *+' conftest.er1 >conftest.err
11688 rm -f conftest.er1
11689 cat conftest.err >&5
11690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); } &&
11692 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11694 (eval $ac_try) 2>&5
11695 ac_status=$?
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 (exit $ac_status); }; } &&
11698 { ac_try='test -s conftest.$ac_objext'
11699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11700 (eval $ac_try) 2>&5
11701 ac_status=$?
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); }; }; then
11704 ac_hi=-1 ac_mid=-1
11705 while :; do
11706 cat >conftest.$ac_ext <<_ACEOF
11707/* confdefs.h. */
11708_ACEOF
11709cat confdefs.h >>conftest.$ac_ext
11710cat >>conftest.$ac_ext <<_ACEOF
11711/* end confdefs.h. */
11712$ac_includes_default
11713int
11714main ()
11715{
11716static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
11717test_array [0] = 0
11718
11719 ;
11720 return 0;
11721}
11722_ACEOF
11723rm -f conftest.$ac_objext
11724if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11725 (eval $ac_compile) 2>conftest.er1
11726 ac_status=$?
11727 grep -v '^ *+' conftest.er1 >conftest.err
11728 rm -f conftest.er1
11729 cat conftest.err >&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); } &&
11732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11734 (eval $ac_try) 2>&5
11735 ac_status=$?
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); }; } &&
11738 { ac_try='test -s conftest.$ac_objext'
11739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11740 (eval $ac_try) 2>&5
11741 ac_status=$?
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); }; }; then
11744 ac_lo=$ac_mid; break
11745else
11746 echo "$as_me: failed program was:" >&5
11747sed 's/^/| /' conftest.$ac_ext >&5
11748
11749ac_hi=`expr '(' $ac_mid ')' - 1`
11750 if test $ac_mid -le $ac_hi; then
11751 ac_lo= ac_hi=
11752 break
11753 fi
11754 ac_mid=`expr 2 '*' $ac_mid`
11755fi
11756rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11757 done
11758else
11759 echo "$as_me: failed program was:" >&5
11760sed 's/^/| /' conftest.$ac_ext >&5
11761
11762ac_lo= ac_hi=
11763fi
11764rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11765fi
11766rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11767# Binary search between lo and hi bounds.
11768while test "x$ac_lo" != "x$ac_hi"; do
11769 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11770 cat >conftest.$ac_ext <<_ACEOF
11771/* confdefs.h. */
11772_ACEOF
11773cat confdefs.h >>conftest.$ac_ext
11774cat >>conftest.$ac_ext <<_ACEOF
11775/* end confdefs.h. */
11776$ac_includes_default
11777int
11778main ()
11779{
11780static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
11781test_array [0] = 0
11782
11783 ;
11784 return 0;
11785}
11786_ACEOF
11787rm -f conftest.$ac_objext
11788if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11789 (eval $ac_compile) 2>conftest.er1
11790 ac_status=$?
11791 grep -v '^ *+' conftest.er1 >conftest.err
11792 rm -f conftest.er1
11793 cat conftest.err >&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); } &&
11796 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5
11799 ac_status=$?
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; } &&
11802 { ac_try='test -s conftest.$ac_objext'
11803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11804 (eval $ac_try) 2>&5
11805 ac_status=$?
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); }; }; then
11808 ac_hi=$ac_mid
11809else
11810 echo "$as_me: failed program was:" >&5
11811sed 's/^/| /' conftest.$ac_ext >&5
11812
11813ac_lo=`expr '(' $ac_mid ')' + 1`
11814fi
11815rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11816done
11817case $ac_lo in
11818?*) ac_cv_sizeof_char=$ac_lo;;
11819'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
11820See \`config.log' for more details." >&5
11821echo "$as_me: error: cannot compute sizeof (char), 77
11822See \`config.log' for more details." >&2;}
11823 { (exit 1); exit 1; }; } ;;
11824esac
11825else
11826 if test "$cross_compiling" = yes; then
11827 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
11828echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
11829 { (exit 1); exit 1; }; }
11830else
11831 cat >conftest.$ac_ext <<_ACEOF
11832/* confdefs.h. */
11833_ACEOF
11834cat confdefs.h >>conftest.$ac_ext
11835cat >>conftest.$ac_ext <<_ACEOF
11836/* end confdefs.h. */
11837$ac_includes_default
11838long longval () { return (long) (sizeof (char)); }
11839unsigned long ulongval () { return (long) (sizeof (char)); }
11840#include <stdio.h>
11841#include <stdlib.h>
11842int
11843main ()
11844{
11845
11846 FILE *f = fopen ("conftest.val", "w");
11847 if (! f)
11848 exit (1);
11849 if (((long) (sizeof (char))) < 0)
11850 {
11851 long i = longval ();
11852 if (i != ((long) (sizeof (char))))
11853 exit (1);
11854 fprintf (f, "%ld\n", i);
11855 }
11856 else
11857 {
11858 unsigned long i = ulongval ();
11859 if (i != ((long) (sizeof (char))))
11860 exit (1);
11861 fprintf (f, "%lu\n", i);
11862 }
11863 exit (ferror (f) || fclose (f) != 0);
11864
11865 ;
11866 return 0;
11867}
11868_ACEOF
11869rm -f conftest$ac_exeext
11870if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11871 (eval $ac_link) 2>&5
11872 ac_status=$?
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11877 ac_status=$?
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; }; then
11880 ac_cv_sizeof_char=`cat conftest.val`
11881else
11882 echo "$as_me: program exited with status $ac_status" >&5
11883echo "$as_me: failed program was:" >&5
11884sed 's/^/| /' conftest.$ac_ext >&5
11885
11886( exit $ac_status )
11887{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
11888See \`config.log' for more details." >&5
11889echo "$as_me: error: cannot compute sizeof (char), 77
11890See \`config.log' for more details." >&2;}
11891 { (exit 1); exit 1; }; }
11892fi
11893rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11894fi
11895fi
11896rm -f conftest.val
11897else
11898 ac_cv_sizeof_char=0
11899fi
11900fi
11901echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
11902echo "${ECHO_T}$ac_cv_sizeof_char" >&6
11903cat >>confdefs.h <<_ACEOF
11904#define SIZEOF_CHAR $ac_cv_sizeof_char
11905_ACEOF
11906
11907
11908echo "$as_me:$LINENO: checking for short" >&5 11802echo "$as_me:$LINENO: checking for short" >&5
11909echo $ECHO_N "checking for short... $ECHO_C" >&6 11803echo $ECHO_N "checking for short... $ECHO_C" >&6
11910if test "${ac_cv_type_short+set}" = set; then 11804if test "${ac_cv_type_short+set}" = set; then
11911 echo $ECHO_N "(cached) $ECHO_C" >&6 11805 echo $ECHO_N "(cached) $ECHO_C" >&6
11912else 11806else
12712fi 12606fi
12713echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 12607echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
12714echo "${ECHO_T}$ac_cv_sizeof_int" >&6 12608echo "${ECHO_T}$ac_cv_sizeof_int" >&6
12715cat >>confdefs.h <<_ACEOF 12609cat >>confdefs.h <<_ACEOF
12716#define SIZEOF_INT $ac_cv_sizeof_int 12610#define SIZEOF_INT $ac_cv_sizeof_int
12717_ACEOF
12718
12719
12720echo "$as_me:$LINENO: checking for long" >&5
12721echo $ECHO_N "checking for long... $ECHO_C" >&6
12722if test "${ac_cv_type_long+set}" = set; then
12723 echo $ECHO_N "(cached) $ECHO_C" >&6
12724else
12725 cat >conftest.$ac_ext <<_ACEOF
12726/* confdefs.h. */
12727_ACEOF
12728cat confdefs.h >>conftest.$ac_ext
12729cat >>conftest.$ac_ext <<_ACEOF
12730/* end confdefs.h. */
12731$ac_includes_default
12732int
12733main ()
12734{
12735if ((long *) 0)
12736 return 0;
12737if (sizeof (long))
12738 return 0;
12739 ;
12740 return 0;
12741}
12742_ACEOF
12743rm -f conftest.$ac_objext
12744if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12745 (eval $ac_compile) 2>conftest.er1
12746 ac_status=$?
12747 grep -v '^ *+' conftest.er1 >conftest.err
12748 rm -f conftest.er1
12749 cat conftest.err >&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); } &&
12752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12754 (eval $ac_try) 2>&5
12755 ac_status=$?
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); }; } &&
12758 { ac_try='test -s conftest.$ac_objext'
12759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12760 (eval $ac_try) 2>&5
12761 ac_status=$?
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); }; }; then
12764 ac_cv_type_long=yes
12765else
12766 echo "$as_me: failed program was:" >&5
12767sed 's/^/| /' conftest.$ac_ext >&5
12768
12769ac_cv_type_long=no
12770fi
12771rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12772fi
12773echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12774echo "${ECHO_T}$ac_cv_type_long" >&6
12775
12776echo "$as_me:$LINENO: checking size of long" >&5
12777echo $ECHO_N "checking size of long... $ECHO_C" >&6
12778if test "${ac_cv_sizeof_long+set}" = set; then
12779 echo $ECHO_N "(cached) $ECHO_C" >&6
12780else
12781 if test "$ac_cv_type_long" = yes; then
12782 # The cast to unsigned long works around a bug in the HP C Compiler
12783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12785 # This bug is HP SR number 8606223364.
12786 if test "$cross_compiling" = yes; then
12787 # Depending upon the size, compute the lo and hi bounds.
12788cat >conftest.$ac_ext <<_ACEOF
12789/* confdefs.h. */
12790_ACEOF
12791cat confdefs.h >>conftest.$ac_ext
12792cat >>conftest.$ac_ext <<_ACEOF
12793/* end confdefs.h. */
12794$ac_includes_default
12795int
12796main ()
12797{
12798static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
12799test_array [0] = 0
12800
12801 ;
12802 return 0;
12803}
12804_ACEOF
12805rm -f conftest.$ac_objext
12806if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12807 (eval $ac_compile) 2>conftest.er1
12808 ac_status=$?
12809 grep -v '^ *+' conftest.er1 >conftest.err
12810 rm -f conftest.er1
12811 cat conftest.err >&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); } &&
12814 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12817 ac_status=$?
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; } &&
12820 { ac_try='test -s conftest.$ac_objext'
12821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12822 (eval $ac_try) 2>&5
12823 ac_status=$?
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; }; then
12826 ac_lo=0 ac_mid=0
12827 while :; do
12828 cat >conftest.$ac_ext <<_ACEOF
12829/* confdefs.h. */
12830_ACEOF
12831cat confdefs.h >>conftest.$ac_ext
12832cat >>conftest.$ac_ext <<_ACEOF
12833/* end confdefs.h. */
12834$ac_includes_default
12835int
12836main ()
12837{
12838static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12839test_array [0] = 0
12840
12841 ;
12842 return 0;
12843}
12844_ACEOF
12845rm -f conftest.$ac_objext
12846if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12847 (eval $ac_compile) 2>conftest.er1
12848 ac_status=$?
12849 grep -v '^ *+' conftest.er1 >conftest.err
12850 rm -f conftest.er1
12851 cat conftest.err >&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } &&
12854 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12856 (eval $ac_try) 2>&5
12857 ac_status=$?
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); }; } &&
12860 { ac_try='test -s conftest.$ac_objext'
12861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12862 (eval $ac_try) 2>&5
12863 ac_status=$?
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); }; }; then
12866 ac_hi=$ac_mid; break
12867else
12868 echo "$as_me: failed program was:" >&5
12869sed 's/^/| /' conftest.$ac_ext >&5
12870
12871ac_lo=`expr $ac_mid + 1`
12872 if test $ac_lo -le $ac_mid; then
12873 ac_lo= ac_hi=
12874 break
12875 fi
12876 ac_mid=`expr 2 '*' $ac_mid + 1`
12877fi
12878rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12879 done
12880else
12881 echo "$as_me: failed program was:" >&5
12882sed 's/^/| /' conftest.$ac_ext >&5
12883
12884cat >conftest.$ac_ext <<_ACEOF
12885/* confdefs.h. */
12886_ACEOF
12887cat confdefs.h >>conftest.$ac_ext
12888cat >>conftest.$ac_ext <<_ACEOF
12889/* end confdefs.h. */
12890$ac_includes_default
12891int
12892main ()
12893{
12894static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
12895test_array [0] = 0
12896
12897 ;
12898 return 0;
12899}
12900_ACEOF
12901rm -f conftest.$ac_objext
12902if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12903 (eval $ac_compile) 2>conftest.er1
12904 ac_status=$?
12905 grep -v '^ *+' conftest.er1 >conftest.err
12906 rm -f conftest.er1
12907 cat conftest.err >&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); } &&
12910 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12912 (eval $ac_try) 2>&5
12913 ac_status=$?
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); }; } &&
12916 { ac_try='test -s conftest.$ac_objext'
12917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12918 (eval $ac_try) 2>&5
12919 ac_status=$?
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); }; }; then
12922 ac_hi=-1 ac_mid=-1
12923 while :; do
12924 cat >conftest.$ac_ext <<_ACEOF
12925/* confdefs.h. */
12926_ACEOF
12927cat confdefs.h >>conftest.$ac_ext
12928cat >>conftest.$ac_ext <<_ACEOF
12929/* end confdefs.h. */
12930$ac_includes_default
12931int
12932main ()
12933{
12934static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
12935test_array [0] = 0
12936
12937 ;
12938 return 0;
12939}
12940_ACEOF
12941rm -f conftest.$ac_objext
12942if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12943 (eval $ac_compile) 2>conftest.er1
12944 ac_status=$?
12945 grep -v '^ *+' conftest.er1 >conftest.err
12946 rm -f conftest.er1
12947 cat conftest.err >&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); } &&
12950 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12952 (eval $ac_try) 2>&5
12953 ac_status=$?
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); }; } &&
12956 { ac_try='test -s conftest.$ac_objext'
12957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12958 (eval $ac_try) 2>&5
12959 ac_status=$?
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); }; }; then
12962 ac_lo=$ac_mid; break
12963else
12964 echo "$as_me: failed program was:" >&5
12965sed 's/^/| /' conftest.$ac_ext >&5
12966
12967ac_hi=`expr '(' $ac_mid ')' - 1`
12968 if test $ac_mid -le $ac_hi; then
12969 ac_lo= ac_hi=
12970 break
12971 fi
12972 ac_mid=`expr 2 '*' $ac_mid`
12973fi
12974rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12975 done
12976else
12977 echo "$as_me: failed program was:" >&5
12978sed 's/^/| /' conftest.$ac_ext >&5
12979
12980ac_lo= ac_hi=
12981fi
12982rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12983fi
12984rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12985# Binary search between lo and hi bounds.
12986while test "x$ac_lo" != "x$ac_hi"; do
12987 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12988 cat >conftest.$ac_ext <<_ACEOF
12989/* confdefs.h. */
12990_ACEOF
12991cat confdefs.h >>conftest.$ac_ext
12992cat >>conftest.$ac_ext <<_ACEOF
12993/* end confdefs.h. */
12994$ac_includes_default
12995int
12996main ()
12997{
12998static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12999test_array [0] = 0
13000
13001 ;
13002 return 0;
13003}
13004_ACEOF
13005rm -f conftest.$ac_objext
13006if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13007 (eval $ac_compile) 2>conftest.er1
13008 ac_status=$?
13009 grep -v '^ *+' conftest.er1 >conftest.err
13010 rm -f conftest.er1
13011 cat conftest.err >&5
13012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13013 (exit $ac_status); } &&
13014 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13016 (eval $ac_try) 2>&5
13017 ac_status=$?
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); }; } &&
13020 { ac_try='test -s conftest.$ac_objext'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13023 ac_status=$?
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; }; then
13026 ac_hi=$ac_mid
13027else
13028 echo "$as_me: failed program was:" >&5
13029sed 's/^/| /' conftest.$ac_ext >&5
13030
13031ac_lo=`expr '(' $ac_mid ')' + 1`
13032fi
13033rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13034done
13035case $ac_lo in
13036?*) ac_cv_sizeof_long=$ac_lo;;
13037'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13038See \`config.log' for more details." >&5
13039echo "$as_me: error: cannot compute sizeof (long), 77
13040See \`config.log' for more details." >&2;}
13041 { (exit 1); exit 1; }; } ;;
13042esac
13043else
13044 if test "$cross_compiling" = yes; then
13045 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
13046echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
13047 { (exit 1); exit 1; }; }
13048else
13049 cat >conftest.$ac_ext <<_ACEOF
13050/* confdefs.h. */
13051_ACEOF
13052cat confdefs.h >>conftest.$ac_ext
13053cat >>conftest.$ac_ext <<_ACEOF
13054/* end confdefs.h. */
13055$ac_includes_default
13056long longval () { return (long) (sizeof (long)); }
13057unsigned long ulongval () { return (long) (sizeof (long)); }
13058#include <stdio.h>
13059#include <stdlib.h>
13060int
13061main ()
13062{
13063
13064 FILE *f = fopen ("conftest.val", "w");
13065 if (! f)
13066 exit (1);
13067 if (((long) (sizeof (long))) < 0)
13068 {
13069 long i = longval ();
13070 if (i != ((long) (sizeof (long))))
13071 exit (1);
13072 fprintf (f, "%ld\n", i);
13073 }
13074 else
13075 {
13076 unsigned long i = ulongval ();
13077 if (i != ((long) (sizeof (long))))
13078 exit (1);
13079 fprintf (f, "%lu\n", i);
13080 }
13081 exit (ferror (f) || fclose (f) != 0);
13082
13083 ;
13084 return 0;
13085}
13086_ACEOF
13087rm -f conftest$ac_exeext
13088if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13089 (eval $ac_link) 2>&5
13090 ac_status=$?
13091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13094 (eval $ac_try) 2>&5
13095 ac_status=$?
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; }; then
13098 ac_cv_sizeof_long=`cat conftest.val`
13099else
13100 echo "$as_me: program exited with status $ac_status" >&5
13101echo "$as_me: failed program was:" >&5
13102sed 's/^/| /' conftest.$ac_ext >&5
13103
13104( exit $ac_status )
13105{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
13106See \`config.log' for more details." >&5
13107echo "$as_me: error: cannot compute sizeof (long), 77
13108See \`config.log' for more details." >&2;}
13109 { (exit 1); exit 1; }; }
13110fi
13111rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13112fi
13113fi
13114rm -f conftest.val
13115else
13116 ac_cv_sizeof_long=0
13117fi
13118fi
13119echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
13120echo "${ECHO_T}$ac_cv_sizeof_long" >&6
13121cat >>confdefs.h <<_ACEOF
13122#define SIZEOF_LONG $ac_cv_sizeof_long
13123_ACEOF 12611_ACEOF
13124 12612
13125 12613
13126echo "$as_me:$LINENO: checking for long long" >&5 12614echo "$as_me:$LINENO: checking for long long" >&5
13127echo $ECHO_N "checking for long long... $ECHO_C" >&6 12615echo $ECHO_N "checking for long long... $ECHO_C" >&6
15859/* confdefs.h. */ 15347/* confdefs.h. */
15860_ACEOF 15348_ACEOF
15861cat confdefs.h >>conftest.$ac_ext 15349cat confdefs.h >>conftest.$ac_ext
15862cat >>conftest.$ac_ext <<_ACEOF 15350cat >>conftest.$ac_ext <<_ACEOF
15863/* end confdefs.h. */ 15351/* end confdefs.h. */
15864#include <locale.h> 15352#include <clocale>
15865int 15353int
15866main () 15354main ()
15867{ 15355{
15868setlocale(LC_CTYPE, ""); 15356setlocale(LC_CTYPE, "");
15869 ; 15357 ;
15970#define HAVE_NL_LANGINFO 1 15458#define HAVE_NL_LANGINFO 1
15971_ACEOF 15459_ACEOF
15972 15460
15973fi 15461fi
15974 15462
15463echo "$as_me:$LINENO: checking for broken XIM callback" >&5
15464echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
15465if test "${rxvt_broken_ximcb+set}" = set; then
15466 echo $ECHO_N "(cached) $ECHO_C" >&6
15467else
15468 cat >conftest.$ac_ext <<_ACEOF
15469
15470#include <X11/Xlib.h>
15471
15472void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
15473
15474void f() {
15475 XIMCallback cb;
15476 cb.callback = im_destroy_cb;
15477}
15478
15479_ACEOF
15480rm -f conftest.$ac_objext
15481if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15482 (eval $ac_compile) 2>conftest.er1
15483 ac_status=$?
15484 grep -v '^ *+' conftest.er1 >conftest.err
15485 rm -f conftest.er1
15486 cat conftest.err >&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } &&
15489 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15491 (eval $ac_try) 2>&5
15492 ac_status=$?
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); }; } &&
15495 { ac_try='test -s conftest.$ac_objext'
15496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15497 (eval $ac_try) 2>&5
15498 ac_status=$?
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); }; }; then
15501 rxvt_broken_ximcb=yes
15502else
15503 echo "$as_me: failed program was:" >&5
15504sed 's/^/| /' conftest.$ac_ext >&5
15505
15506rxvt_broken_ximcb=no
15507fi
15508rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15509fi
15510echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
15511echo "${ECHO_T}$rxvt_broken_ximcb" >&6
15512
15513if test x$rxvt_broken_ximcb = xyes; then
15514
15515cat >>confdefs.h <<\_ACEOF
15516#define XIMCB_PROTO_BROKEN 1
15517_ACEOF
15518
15519fi
15520
15975echo "$as_me:$LINENO: checking for getpt" >&5 15521echo "$as_me:$LINENO: checking for getpt" >&5
15976echo $ECHO_N "checking for getpt... $ECHO_C" >&6 15522echo $ECHO_N "checking for getpt... $ECHO_C" >&6
15977if test "${rxvt_cv_func_getpt+set}" = set; then 15523if test "${rxvt_cv_func_getpt+set}" = set; then
15978 echo $ECHO_N "(cached) $ECHO_C" >&6 15524 echo $ECHO_N "(cached) $ECHO_C" >&6
15979else 15525else
15983cat confdefs.h >>conftest.$ac_ext 15529cat confdefs.h >>conftest.$ac_ext
15984cat >>conftest.$ac_ext <<_ACEOF 15530cat >>conftest.$ac_ext <<_ACEOF
15985/* end confdefs.h. */ 15531/* end confdefs.h. */
15986#define _GNU_SOURCE 15532#define _GNU_SOURCE
15987#ifdef HAVE_STDLIB_H 15533#ifdef HAVE_STDLIB_H
15988# include <stdlib.h> 15534# include <cstdlib>
15989#endif 15535#endif
15990int 15536int
15991main () 15537main ()
15992{ 15538{
15993(void)getpt(); 15539(void)getpt();
16156 15702
16157cat >>confdefs.h <<_ACEOF 15703cat >>confdefs.h <<_ACEOF
16158#define PTYCHAR2 "$pch2" 15704#define PTYCHAR2 "$pch2"
16159_ACEOF 15705_ACEOF
16160 15706
16161fi
16162
16163echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
16164echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
16165if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16167else
16168 ac_check_lib_save_LIBS=$LIBS
16169LIBS="-lxpg4 $LIBS"
16170cat >conftest.$ac_ext <<_ACEOF
16171/* confdefs.h. */
16172_ACEOF
16173cat confdefs.h >>conftest.$ac_ext
16174cat >>conftest.$ac_ext <<_ACEOF
16175/* end confdefs.h. */
16176
16177/* Override any gcc2 internal prototype to avoid an error. */
16178#ifdef __cplusplus
16179extern "C"
16180#endif
16181/* We use char because int might match the return type of a gcc2
16182 builtin and then its argument prototype would still apply. */
16183char setlocale ();
16184int
16185main ()
16186{
16187setlocale ();
16188 ;
16189 return 0;
16190}
16191_ACEOF
16192rm -f conftest.$ac_objext conftest$ac_exeext
16193if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16194 (eval $ac_link) 2>conftest.er1
16195 ac_status=$?
16196 grep -v '^ *+' conftest.er1 >conftest.err
16197 rm -f conftest.er1
16198 cat conftest.err >&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } &&
16201 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16204 ac_status=$?
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; } &&
16207 { ac_try='test -s conftest$ac_exeext'
16208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16209 (eval $ac_try) 2>&5
16210 ac_status=$?
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); }; }; then
16213 ac_cv_lib_xpg4_setlocale=yes
16214else
16215 echo "$as_me: failed program was:" >&5
16216sed 's/^/| /' conftest.$ac_ext >&5
16217
16218ac_cv_lib_xpg4_setlocale=no
16219fi
16220rm -f conftest.err conftest.$ac_objext \
16221 conftest$ac_exeext conftest.$ac_ext
16222LIBS=$ac_check_lib_save_LIBS
16223fi
16224echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
16225echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
16226if test $ac_cv_lib_xpg4_setlocale = yes; then
16227 LIBS="$LIBS -lxpg4"
16228fi
16229
16230
16231if test x$support_inheritpixmap = xyes; then
16232
16233cat >>confdefs.h <<\_ACEOF
16234#define TRANSPARENT 1
16235_ACEOF
16236
16237fi
16238if test x$support_keepscrolling = xno; then
16239
16240cat >>confdefs.h <<\_ACEOF
16241#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
16242_ACEOF
16243
16244fi
16245if test x$support_selectionscrolling = xyes; then
16246
16247cat >>confdefs.h <<\_ACEOF
16248#define SELECTION_SCROLLING 1
16249_ACEOF
16250
16251fi
16252if test x$support_menubar = xyes; then
16253
16254cat >>confdefs.h <<\_ACEOF
16255#define MENUBAR 1
16256_ACEOF
16257
16258fi
16259if test x$support_frills = xno; then
16260
16261cat >>confdefs.h <<\_ACEOF
16262#define NO_FRILLS 1
16263_ACEOF
16264
16265fi
16266if test x$support_linespace = xno; then
16267
16268cat >>confdefs.h <<\_ACEOF
16269#define NO_LINESPACE 1
16270_ACEOF
16271
16272fi
16273if test x$support_24bit = xyes; then
16274
16275cat >>confdefs.h <<\_ACEOF
16276#define PREFER_24BIT 1
16277_ACEOF
16278
16279fi
16280if test x$support_mousewheel = xyes; then
16281
16282cat >>confdefs.h <<\_ACEOF
16283#define MOUSE_WHEEL 1
16284_ACEOF
16285
16286fi
16287if test x$support_mouseslipwheel = xyes; then
16288
16289cat >>confdefs.h <<\_ACEOF
16290#define MOUSE_SLIP_WHEELING 1
16291_ACEOF
16292
16293fi
16294if test x$support_oldselection = xno; then
16295
16296cat >>confdefs.h <<\_ACEOF
16297#define NO_OLD_SELECTION 1
16298_ACEOF
16299
16300fi
16301if test x$support_utmp = xyes; then
16302
16303cat >>confdefs.h <<\_ACEOF
16304#define UTMP_SUPPORT 1
16305_ACEOF
16306
16307fi
16308if test x$support_wtmp = xyes; then
16309
16310cat >>confdefs.h <<\_ACEOF
16311#define WTMP_SUPPORT 1
16312_ACEOF
16313
16314fi
16315if test x$support_lastlog = xyes; then
16316
16317cat >>confdefs.h <<\_ACEOF
16318#define LASTLOG_SUPPORT 1
16319_ACEOF
16320
16321fi
16322if test x$support_xim = xyes -o x$multichar_set = xyes; then
16323 if test x$rxvt_cv_func_xlocale = xyes; then
16324
16325cat >>confdefs.h <<\_ACEOF
16326#define USE_XIM 1
16327_ACEOF
16328
16329 fi
16330fi
16331if test x$support_xpm = xyes; then
16332
16333cat >>confdefs.h <<\_ACEOF
16334#define XPM_BACKGROUND 1
16335_ACEOF
16336
16337fi
16338if test x$support_scroll_rxvt = xyes; then
16339
16340cat >>confdefs.h <<\_ACEOF
16341#define RXVT_SCROLLBAR 1
16342_ACEOF
16343
16344 scrolltypes="rxvt"
16345fi
16346if test x$support_scroll_next = xyes; then
16347
16348cat >>confdefs.h <<\_ACEOF
16349#define NEXT_SCROLLBAR 1
16350_ACEOF
16351
16352 scrolltypes="$scrolltypes next"
16353fi
16354if test x$support_scroll_xterm = xyes; then
16355
16356cat >>confdefs.h <<\_ACEOF
16357#define XTERM_SCROLLBAR 1
16358_ACEOF
16359
16360 scrolltypes="$scrolltypes xterm"
16361fi
16362if test x$support_scroll_plain = xyes; then
16363
16364cat >>confdefs.h <<\_ACEOF
16365#define PLAIN_SCROLLBAR 1
16366_ACEOF
16367
16368 scrolltypes="$scrolltypes plain"
16369fi
16370if test x$support_pointer_blank = xyes; then
16371
16372cat >>confdefs.h <<\_ACEOF
16373#define POINTER_BLANK 1
16374_ACEOF
16375
16376fi
16377if test x$support_cursor_blink = xyes; then
16378
16379cat >>confdefs.h <<\_ACEOF
16380#define CURSOR_BLINK 1
16381_ACEOF
16382
16383fi
16384if test x$support_text_blink = xyes; then
16385
16386cat >>confdefs.h <<\_ACEOF
16387#define TEXT_BLINK 1
16388_ACEOF
16389
16390fi
16391if test x$support_unicode3 = xyes; then
16392
16393cat >>confdefs.h <<\_ACEOF
16394#define UNICODE_3 1
16395_ACEOF
16396
16397fi
16398if test x$codesets = xall; then
16399 codesets=jp,jp-ext,kr,cn,cn-ext,vn
16400fi
16401for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16402
16403cat >>confdefs.h <<\_ACEOF
16404#define ENCODING_EU 1
16405_ACEOF
16406
16407
16408cat >>confdefs.h <<\_ACEOF
16409#define ENCODING_VN 1
16410_ACEOF
16411
16412 case "$codeset" in
16413 JP )
16414cat >>confdefs.h <<\_ACEOF
16415#define ENCODING_JP 1
16416_ACEOF
16417 ;;
16418 JP_EXT )
16419cat >>confdefs.h <<\_ACEOF
16420#define ENCODING_JP_EXT 1
16421_ACEOF
16422 ;;
16423 KR )
16424cat >>confdefs.h <<\_ACEOF
16425#define ENCODING_KR 1
16426_ACEOF
16427 ;;
16428 CN )
16429cat >>confdefs.h <<\_ACEOF
16430#define ENCODING_CN 1
16431_ACEOF
16432 ;;
16433 CN_EXT )
16434cat >>confdefs.h <<\_ACEOF
16435#define ENCODING_CN_EXT 1
16436_ACEOF
16437 ;;
16438 esac
16439done
16440
16441
16442CFLAGS=${CFLAGS--O}
16443LDFLAGS=${LDFLAGS--O}
16444
16445CPPFLAGS="$CPPFLAGS"
16446
16447
16448
16449
16450
16451
16452
16453if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
16454 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
16455 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
16456 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
16457 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
16458 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
16459fi
16460
16461
16462
16463
16464
16465if test x$support_addstrings = xno; then
16466
16467cat >>confdefs.h <<\_ACEOF
16468#define NO_STRINGS 1
16469_ACEOF
16470
16471fi
16472
16473MCOMMON=./autoconf/Make.common
16474
16475
16476test "$program_prefix" != NONE &&
16477 program_transform_name="s,^,$program_prefix,;$program_transform_name"
16478# Use a double $ so make ignores it.
16479test "$program_suffix" != NONE &&
16480 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
16481# Double any \ or $. echo might interpret backslashes.
16482# By default was `s,x,x', remove it if useless.
16483cat <<\_ACEOF >conftest.sed
16484s/[\\$]/&&/g;s/;s,x,x,$//
16485_ACEOF
16486program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16487rm conftest.sed
16488
16489
16490
16491
16492
16493if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16494 include_stdint_h="#include <stdint.h>"
16495else
16496 include_stdint_h="/* #include <stdint.h> */"
16497fi
16498if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16499 include_stdarg_h="#include <stdarg.h>"
16500else
16501 include_stdarg_h="/* #include <stdarg.h> */"
16502fi
16503if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16504 include_stdlib_h="#include <stdlib.h>"
16505else
16506 include_stdlib_h="/* #include <stdlib.h> */"
16507fi
16508if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16509 include_unistd_h="#include <unistd.h>"
16510else
16511 include_unistd_h="/* #include <unistd.h> */"
16512fi
16513if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16514 include_string_h="#include <string.h>"
16515else
16516 include_string_h="/* #include <string.h> */"
16517fi
16518if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16519 include_fcntl_h="#include <fcntl.h>"
16520else
16521 include_fcntl_h="/* #include <fcntl.h> */"
16522fi
16523if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
16524 include_util_h="#include <util.h>"
16525else
16526 include_util_h="/* #include <util.h> */"
16527fi
16528if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
16529 include_assert_h="#include <assert.h>"
16530else
16531 include_assert_h="/* #include <assert.h> */"
16532fi
16533if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
16534 include_sys_ioctl_h="#include <sys/ioctl.h>"
16535else
16536 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
16537fi
16538if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
16539 include_sys_select_h="#include <sys/select.h>"
16540else
16541 include_sys_select_h="/* #include <sys/select.h> */"
16542fi
16543if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
16544 include_sys_strredir_h="#include <sys/strredir.h>"
16545else
16546 include_sys_strredir_h="/* #include <sys/strredir.h> */"
16547fi
16548if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
16549 include_sys_time_h="#include <sys/time.h>"
16550else
16551 include_sys_time_h="/* #include <sys/time.h> */"
16552fi
16553if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
16554 include_time_h="#include <time.h>"
16555else
16556 include_time_h="/* #include <time.h> */"
16557fi 15707fi
16558 15708
16559if test x$support_xft = xyes; then 15709if test x$support_xft = xyes; then
16560 LIBS="$LIBS `pkg-config xft --libs`" 15710 LIBS="$LIBS `pkg-config xft --libs`"
16561 CFLAGS="$CFLAGS `pkg-config xft --cflags`" 15711 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
16794#define XFT 1 15944#define XFT 1
16795_ACEOF 15945_ACEOF
16796 15946
16797 fi 15947 fi
16798fi 15948fi
15949if test x$support_styles = xyes; then
16799 15950
15951cat >>confdefs.h <<\_ACEOF
15952#define ENABLE_STYLES 1
15953_ACEOF
15954
15955fi
15956if test x$support_iso14755 = xyes; then
15957
15958cat >>confdefs.h <<\_ACEOF
15959#define ISO_14755 1
15960_ACEOF
15961
15962fi
15963if test x$support_8bitctrls = xyes; then
15964
15965cat >>confdefs.h <<\_ACEOF
15966#define EIGHT_BIT_CONTROLS 1
15967_ACEOF
15968
15969fi
15970if test x$support_fading = xyes; then
15971
15972cat >>confdefs.h <<\_ACEOF
15973#define OFF_FOCUS_FADING 1
15974_ACEOF
15975
15976fi
15977if test x$support_tinting = xyes; then
15978
15979cat >>confdefs.h <<\_ACEOF
15980#define TINTING 1
15981_ACEOF
15982
15983fi
15984if test x$support_inheritpixmap = xyes; then
15985
15986cat >>confdefs.h <<\_ACEOF
15987#define TRANSPARENT 1
15988_ACEOF
15989
15990fi
15991if test x$support_keepscrolling = xno; then
15992
15993cat >>confdefs.h <<\_ACEOF
15994#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
15995_ACEOF
15996
15997fi
15998if test x$support_selectionscrolling = xyes; then
15999
16000cat >>confdefs.h <<\_ACEOF
16001#define SELECTION_SCROLLING 1
16002_ACEOF
16003
16004fi
16005if test x$support_menubar = xyes; then
16006
16007cat >>confdefs.h <<\_ACEOF
16008#define MENUBAR 1
16009_ACEOF
16010
16011fi
16012if test x$support_frills = xyes; then
16013
16014cat >>confdefs.h <<\_ACEOF
16015#define ENABLE_FRILLS 1
16016_ACEOF
16017
16018fi
16019if test x$support_24bit = xyes; then
16020
16021cat >>confdefs.h <<\_ACEOF
16022#define PREFER_24BIT 1
16023_ACEOF
16024
16025fi
16026if test x$support_mousewheel = xyes; then
16027
16028cat >>confdefs.h <<\_ACEOF
16029#define MOUSE_WHEEL 1
16030_ACEOF
16031
16032fi
16033if test x$support_mouseslipwheel = xyes; then
16034
16035cat >>confdefs.h <<\_ACEOF
16036#define MOUSE_SLIP_WHEELING 1
16037_ACEOF
16038
16039fi
16040if test x$support_utmp = xyes; then
16041
16042cat >>confdefs.h <<\_ACEOF
16043#define UTMP_SUPPORT 1
16044_ACEOF
16045
16046fi
16047if test x$support_wtmp = xyes; then
16048
16049cat >>confdefs.h <<\_ACEOF
16050#define WTMP_SUPPORT 1
16051_ACEOF
16052
16053fi
16054if test x$support_lastlog = xyes; then
16055
16056cat >>confdefs.h <<\_ACEOF
16057#define LASTLOG_SUPPORT 1
16058_ACEOF
16059
16060fi
16061if test x$support_xim = xyes -o x$multichar_set = xyes; then
16062 if test x$rxvt_cv_func_xlocale = xyes; then
16063
16064cat >>confdefs.h <<\_ACEOF
16065#define USE_XIM 1
16066_ACEOF
16067
16068 fi
16069fi
16070if test x$support_xpm = xyes; then
16071
16072cat >>confdefs.h <<\_ACEOF
16073#define XPM_BACKGROUND 1
16074_ACEOF
16075
16076fi
16077if test x$support_scroll_rxvt = xyes; then
16078
16079cat >>confdefs.h <<\_ACEOF
16080#define RXVT_SCROLLBAR 1
16081_ACEOF
16082
16083 scrolltypes="rxvt"
16084fi
16085if test x$support_scroll_next = xyes; then
16086
16087cat >>confdefs.h <<\_ACEOF
16088#define NEXT_SCROLLBAR 1
16089_ACEOF
16090
16091 scrolltypes="$scrolltypes next"
16092fi
16093if test x$support_scroll_xterm = xyes; then
16094
16095cat >>confdefs.h <<\_ACEOF
16096#define XTERM_SCROLLBAR 1
16097_ACEOF
16098
16099 scrolltypes="$scrolltypes xterm"
16100fi
16101if test x$support_scroll_plain = xyes; then
16102
16103cat >>confdefs.h <<\_ACEOF
16104#define PLAIN_SCROLLBAR 1
16105_ACEOF
16106
16107 scrolltypes="$scrolltypes plain"
16108fi
16109if test x$support_pointer_blank = xyes; then
16110
16111cat >>confdefs.h <<\_ACEOF
16112#define POINTER_BLANK 1
16113_ACEOF
16114
16115fi
16116if test x$support_cursor_blink = xyes; then
16117
16118cat >>confdefs.h <<\_ACEOF
16119#define CURSOR_BLINK 1
16120_ACEOF
16121
16122fi
16123if test x$support_text_blink = xyes; then
16124
16125cat >>confdefs.h <<\_ACEOF
16126#define TEXT_BLINK 1
16127_ACEOF
16128
16129fi
16130if test x$support_unicode3 = xyes; then
16131
16132cat >>confdefs.h <<\_ACEOF
16133#define UNICODE_3 1
16134_ACEOF
16135
16136fi
16137if test x$support_combining = xyes; then
16138
16139cat >>confdefs.h <<\_ACEOF
16140#define ENABLE_COMBINING 1
16141_ACEOF
16142
16143fi
16144if test x$codesets = xall; then
16145 codesets=jp,jp-ext,kr,zh,zh-ext
16146fi
16147
16148cat >>confdefs.h <<\_ACEOF
16149#define ENCODING_EU 1
16150_ACEOF
16151
16152
16153cat >>confdefs.h <<\_ACEOF
16154#define ENCODING_VN 1
16155_ACEOF
16156
16157for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16158 case "$codeset" in
16159 JP )
16160cat >>confdefs.h <<\_ACEOF
16161#define ENCODING_JP 1
16162_ACEOF
16163 ;;
16164 JP_EXT )
16165cat >>confdefs.h <<\_ACEOF
16166#define ENCODING_JP_EXT 1
16167_ACEOF
16168 ;;
16169 KR )
16170cat >>confdefs.h <<\_ACEOF
16171#define ENCODING_KR 1
16172_ACEOF
16173 ;;
16174 ZH )
16175cat >>confdefs.h <<\_ACEOF
16176#define ENCODING_ZH 1
16177_ACEOF
16178 ;;
16179 ZH_EXT )
16180cat >>confdefs.h <<\_ACEOF
16181#define ENCODING_ZH_EXT 1
16182_ACEOF
16183 ;;
16184 esac
16185done
16186
16187
16188CFLAGS=${CFLAGS--O}
16189LDFLAGS=${LDFLAGS--O}
16190
16191CPPFLAGS="$CPPFLAGS"
16192
16193
16194
16195
16196
16197
16198
16199if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
16200 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
16201 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
16202 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
16203 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
16204 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
16205fi
16206
16207
16208
16209
16210
16211if test x$support_addstrings = xno; then
16212
16213cat >>confdefs.h <<\_ACEOF
16214#define NO_STRINGS 1
16215_ACEOF
16216
16217fi
16218
16219MCOMMON=./autoconf/Make.common
16220
16221
16222test "$program_prefix" != NONE &&
16223 program_transform_name="s,^,$program_prefix,;$program_transform_name"
16224# Use a double $ so make ignores it.
16225test "$program_suffix" != NONE &&
16226 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
16227# Double any \ or $. echo might interpret backslashes.
16228# By default was `s,x,x', remove it if useless.
16229cat <<\_ACEOF >conftest.sed
16230s/[\\$]/&&/g;s/;s,x,x,$//
16231_ACEOF
16232program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
16233rm conftest.sed
16234
16235
16236
16237
16238
16239if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
16240 include_stdint_h="#include <stdint.h>"
16241else
16242 include_stdint_h="/* #include <stdint.h> */"
16243fi
16244if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16245 include_stdarg_h="#include <cstdarg>"
16246else
16247 include_stdarg_h="/* #include <cstdarg> */"
16248fi
16249if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16250 include_stdlib_h="#include <cstdlib>"
16251else
16252 include_stdlib_h="/* #include <cstdlib> */"
16253fi
16254if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16255 include_unistd_h="#include <unistd.h>"
16256else
16257 include_unistd_h="/* #include <unistd.h> */"
16258fi
16259if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16260 include_string_h="#include <cstring>"
16261else
16262 include_string_h="/* #include <cstring> */"
16263fi
16264if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16265 include_fcntl_h="#include <fcntl.h>"
16266else
16267 include_fcntl_h="/* #include <fcntl.h> */"
16268fi
16269if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then
16270 include_util_h="#include <util.h>"
16271else
16272 include_util_h="/* #include <util.h> */"
16273fi
16274if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then
16275 include_assert_h="#include <assert.h>"
16276else
16277 include_assert_h="/* #include <assert.h> */"
16278fi
16279if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
16280 include_sys_ioctl_h="#include <sys/ioctl.h>"
16281else
16282 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
16283fi
16284if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then
16285 include_sys_select_h="#include <sys/select.h>"
16286else
16287 include_sys_select_h="/* #include <sys/select.h> */"
16288fi
16289if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
16290 include_sys_strredir_h="#include <sys/strredir.h>"
16291else
16292 include_sys_strredir_h="/* #include <sys/strredir.h> */"
16293fi
16294if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then
16295 include_sys_time_h="#include <sys/time.h>"
16296else
16297 include_sys_time_h="/* #include <sys/time.h> */"
16298fi
16299if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then
16300 include_time_h="#include <time.h>"
16301else
16302 include_time_h="/* #include <time.h> */"
16303fi
16304
16800 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" 16305 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h"
16306
16801cat >confcache <<\_ACEOF 16307cat >confcache <<\_ACEOF
16802# This file is a shell script that caches the results of configure 16308# This file is a shell script that caches the results of configure
16803# tests run on this system so they can be shared between configure 16309# tests run on this system so they can be shared between configure
16804# scripts and configure runs, see configure's option --config-cache. 16310# scripts and configure runs, see configure's option --config-cache.
16805# It is not useful on other systems. If it contains results you don't 16311# It is not useful on other systems. If it contains results you don't
17325 # Handling of arguments. 16831 # Handling of arguments.
17326 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; 16832 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
17327 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 16833 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17328 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 16834 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17329 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 16835 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17330 "src/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;;
17331 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; 16836 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
17332 "W11/Makefile" ) CONFIG_FILES="$CONFIG_FILES W11/Makefile" ;;
17333 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; 16837 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;;
17334 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 16838 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17335echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 16839echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17336 { (exit 1); exit 1; }; };; 16840 { (exit 1); exit 1; }; };;
17337 esac 16841 esac
17413s,@DEFS@,$DEFS,;t t 16917s,@DEFS@,$DEFS,;t t
17414s,@ECHO_C@,$ECHO_C,;t t 16918s,@ECHO_C@,$ECHO_C,;t t
17415s,@ECHO_N@,$ECHO_N,;t t 16919s,@ECHO_N@,$ECHO_N,;t t
17416s,@ECHO_T@,$ECHO_T,;t t 16920s,@ECHO_T@,$ECHO_T,;t t
17417s,@LIBS@,$LIBS,;t t 16921s,@LIBS@,$LIBS,;t t
16922s,@build@,$build,;t t
16923s,@build_cpu@,$build_cpu,;t t
16924s,@build_vendor@,$build_vendor,;t t
16925s,@build_os@,$build_os,;t t
16926s,@host@,$host,;t t
16927s,@host_cpu@,$host_cpu,;t t
16928s,@host_vendor@,$host_vendor,;t t
16929s,@host_os@,$host_os,;t t
17418s,@VERSION@,$VERSION,;t t 16930s,@VERSION@,$VERSION,;t t
17419s,@DATE@,$DATE,;t t 16931s,@DATE@,$DATE,;t t
17420s,@LSMDATE@,$LSMDATE,;t t 16932s,@LSMDATE@,$LSMDATE,;t t
17421s,@LIBVERSION@,$LIBVERSION,;t t 16933s,@LIBVERSION@,$LIBVERSION,;t t
17422s,@CC@,$CC,;t t 16934s,@CC@,$CC,;t t
17435s,@INSTALL_DATA@,$INSTALL_DATA,;t t 16947s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17436s,@AWK@,$AWK,;t t 16948s,@AWK@,$AWK,;t t
17437s,@LINKER@,$LINKER,;t t 16949s,@LINKER@,$LINKER,;t t
17438s,@CXXCPP@,$CXXCPP,;t t 16950s,@CXXCPP@,$CXXCPP,;t t
17439s,@EGREP@,$EGREP,;t t 16951s,@EGREP@,$EGREP,;t t
17440s,@build@,$build,;t t
17441s,@build_cpu@,$build_cpu,;t t
17442s,@build_vendor@,$build_vendor,;t t
17443s,@build_os@,$build_os,;t t
17444s,@host@,$host,;t t
17445s,@host_cpu@,$host_cpu,;t t
17446s,@host_vendor@,$host_vendor,;t t
17447s,@host_os@,$host_os,;t t
17448s,@LN_S@,$LN_S,;t t 16952s,@LN_S@,$LN_S,;t t
17449s,@ECHO@,$ECHO,;t t 16953s,@ECHO@,$ECHO,;t t
17450s,@RANLIB@,$RANLIB,;t t 16954s,@RANLIB@,$RANLIB,;t t
17451s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 16955s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17452s,@STRIP@,$STRIP,;t t 16956s,@STRIP@,$STRIP,;t t
17459s,@CP@,$CP,;t t 16963s,@CP@,$CP,;t t
17460s,@LN@,$LN,;t t 16964s,@LN@,$LN,;t t
17461s,@SED@,$SED,;t t 16965s,@SED@,$SED,;t t
17462s,@CMP@,$CMP,;t t 16966s,@CMP@,$CMP,;t t
17463s,@TBL@,$TBL,;t t 16967s,@TBL@,$TBL,;t t
16968s,@TIC@,$TIC,;t t
17464s,@X_CFLAGS@,$X_CFLAGS,;t t 16969s,@X_CFLAGS@,$X_CFLAGS,;t t
17465s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 16970s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17466s,@X_LIBS@,$X_LIBS,;t t 16971s,@X_LIBS@,$X_LIBS,;t t
17467s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 16972s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17468s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t 16973s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t
18013echo " 17518echo "
18014The following are set in config.h 17519The following are set in config.h
18015" 17520"
18016echo " pty/tty type: "$rxvt_cv_ptys 17521echo " pty/tty type: "$rxvt_cv_ptys
18017if test x$support_utmp != xyes; then 17522if test x$support_utmp != xyes; then
18018 echo " utmp support: disabled 17523 echo " utmp support: disabled"
18019" 17524 echo
18020else 17525else
18021 echo " utmp support: enabled 17526 echo " utmp support: enabled
18022 utmp file: $rxvt_cv_path_utmp 17527 utmp file: $rxvt_cv_path_utmp
18023 utmpx file: $rxvt_cv_path_utmpx 17528 utmpx file: $rxvt_cv_path_utmpx
18024 wtmp file: $rxvt_cv_path_wtmp 17529 wtmp file: $rxvt_cv_path_wtmp
18025 wtmpx file: $rxvt_cv_path_wtmpx 17530 wtmpx file: $rxvt_cv_path_wtmpx
18026 lastlog file: $rxvt_cv_path_lastlog 17531 lastlog file: $rxvt_cv_path_lastlog
18027 ttys/ttytab file: $rxvt_cv_path_ttytab 17532 ttys/ttytab file: $rxvt_cv_path_ttytab"
18028" 17533 echo
18029fi 17534fi
18030if test x$term != x; then 17535if test x$term != x; then
18031 echo " set TERM to: $term 17536 echo " set TERM to: $term"
18032"
18033fi 17537fi
18034if test x$terminfo != x; then 17538if test x$terminfo != x; then
18035 echo " set TERMINFO to: $terminfo 17539 echo " set TERMINFO to: $terminfo"
18036"
18037fi 17540fi
17541echo " default resource name: $RESNAME"
17542echo " resource class: $RESCLASS"
17543if test x$RESFALLBACK != x; then
17544 echo " resource class fallback: $RESFALLBACK"
17545fi
17546echo
18038if test x$rxvt_cv_ptys = xUNKNOWN; then 17547if test x$rxvt_cv_ptys = xUNKNOWN; then
18039 echo ".----------------------------------------------------------------." 17548 echo ".----------------------------------------------------------------."
18040 echo ". WARNING: could not determine pty/tty type. Do not build until ." 17549 echo ". WARNING: could not determine pty/tty type. Do not build until ."
18041 echo ". the appropriate PTYS_ARE_* is defined in config.h ." 17550 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
18042 echo ".----------------------------------------------------------------." 17551 echo ".----------------------------------------------------------------."
18056 echo ". WARNING: --enable-xim was specified however the locale support ." 17565 echo ". WARNING: --enable-xim was specified however the locale support ."
18057 echo ". functions could not be found. ." 17566 echo ". functions could not be found. ."
18058 echo ". XIM is now being DISABLED! ." 17567 echo ". XIM is now being DISABLED! ."
18059 echo ".----------------------------------------------------------------." 17568 echo ".----------------------------------------------------------------."
18060fi 17569fi
17570
18061echo " *** Please check src/feature.h for further options *** 17571echo " *** Please check src/feature.h for further options ***"
18062" 17572echo
17573
17574echo ".----------------------------------------------------------------."
17575echo ". NOTE: most features are disabled by default, try ."
17576echo ". configure --help to get an idea of the optional features ."
17577echo ".----------------------------------------------------------------."
17578echo
17579

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines