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

Comparing rxvt-unicode/configure (file contents):
Revision 1.52 by root, Wed Feb 16 21:21:43 2005 UTC vs.
Revision 1.79 by root, Wed Jan 18 15:04:24 2006 UTC

307#endif 307#endif
308#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_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 INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO 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' 312ac_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 LINKER CXXCPP EGREP INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED ECHO CMP 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 PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O 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'
313ac_subst_files='MCOMMON' 313ac_subst_files=''
314 314
315# Initialize some variables set by options. 315# Initialize some variables set by options.
316ac_init_help= 316ac_init_help=
317ac_init_version=false 317ac_init_version=false
318# The variables have the same names as the options, with 318# The variables have the same names as the options, with
877 --enable-lastlog enable lastlog support (requires --enable-utmp) 877 --enable-lastlog enable lastlog support (requires --enable-utmp)
878 --enable-xpm-background enable XPM background pixmaps 878 --enable-xpm-background enable XPM background pixmaps
879 --enable-transparency enable transparent backgrounds 879 --enable-transparency enable transparent backgrounds
880 --enable-tinting enable tinting of transparent bg 880 --enable-tinting enable tinting of transparent bg
881 --enable-fading enable colors fading when off focus 881 --enable-fading enable colors fading when off focus
882 --enable-menubar enable menubar
883 --enable-rxvt-scroll enable rxvt style scrollbar 882 --enable-rxvt-scroll enable rxvt style scrollbar
884 --enable-next-scroll enable NeXT style scrollbar 883 --enable-next-scroll enable NeXT style scrollbar
885 --enable-xterm-scroll enable Xterm style scrollbar 884 --enable-xterm-scroll enable Xterm style scrollbar
885 --enable-perl enable embedded perl interpreter
886 --enable-plain-scroll enable plain style scrollbar 886 --enable-plain-scroll enable plain style scrollbar
887 --enable-half-shadow use half width/height shadow on rxvt scrollbar
888 --enable-xim XIM (X Input Method) protocol support 887 --enable-xim XIM (X Input Method) protocol support
889 --enable-ttygid enable tty setting to group named "tty" 888 --enable-ttygid enable tty setting to group named "tty"
890 --disable-backspace-key disable handling of the backspace key 889 --disable-backspace-key disable handling of the backspace key
891 --disable-delete-key disable handling of the delete key 890 --disable-delete-key disable handling of the delete key
892 --disable-resources disable all resource checking 891 --disable-resources disable all resource checking
893 --enable-xgetdefault enable resources via X instead of our small version
894 --enable-8bitctrls enable 8 bit control sequences (not recommended) 892 --enable-8bitctrls enable 8 bit control sequences (not recommended)
895 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 893 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
896 --enable-strings enable some replacement system functions
897 --disable-swapscreen disable swap screen support 894 --disable-swapscreen disable swap screen support
898 --enable-iso14755 enable support for extended ISO 14755 modes 895 --enable-iso14755 enable support for extended ISO 14755 modes
899 --enable-frills enable support for rarely used features 896 --enable-frills enable support for rarely used features
900 --enable-24bit enable support for using 24bit visuals if available 897 --enable-24bit enable support for using 24bit visuals if available
901 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 898 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
904 --enable-slipwheeling enable slip wheel scrolling (requires previous) 901 --enable-slipwheeling enable slip wheel scrolling (requires previous)
905 --enable-dmalloc enable Gray Watson's malloc - for debugging use 902 --enable-dmalloc enable Gray Watson's malloc - for debugging use
906 --enable-dlmalloc enable Doug Lea's malloc - for production use 903 --enable-dlmalloc enable Doug Lea's malloc - for production use
907 NOTE: enable only one malloc package 904 NOTE: enable only one malloc package
908 --enable-smart-resize enable smart growth/shrink behaviour 905 --enable-smart-resize enable smart growth/shrink behaviour
909 --enable-cursor-blink enable blinking cursor
910 --enable-text-blink enable blinking text 906 --enable-text-blink enable blinking text
911 --enable-pointer-blank enable pointer blank when typing or inactive pointer 907 --enable-pointer-blank enable pointer blank when typing or inactive pointer
912 908
913Optional Packages: 909Optional Packages:
914 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 910 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1373 1369
1374 1370
1375 1371
1376 1372
1377 1373
1374
1375 ac_config_headers="$ac_config_headers config.h:config.h.in"
1376
1377
1378ac_aux_dir= 1378ac_aux_dir=
1379for ac_dir in autoconf $srcdir/autoconf; do 1379for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1380 if test -f $ac_dir/install-sh; then 1380 if test -f $ac_dir/install-sh; then
1381 ac_aux_dir=$ac_dir 1381 ac_aux_dir=$ac_dir
1382 ac_install_sh="$ac_aux_dir/install-sh -c" 1382 ac_install_sh="$ac_aux_dir/install-sh -c"
1383 break 1383 break
1384 elif test -f $ac_dir/install.sh; then 1384 elif test -f $ac_dir/install.sh; then
1390 ac_install_sh="$ac_aux_dir/shtool install -c" 1390 ac_install_sh="$ac_aux_dir/shtool install -c"
1391 break 1391 break
1392 fi 1392 fi
1393done 1393done
1394if test -z "$ac_aux_dir"; then 1394if test -z "$ac_aux_dir"; then
1395 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5 1395 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1396echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;} 1396echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1397 { (exit 1); exit 1; }; } 1397 { (exit 1); exit 1; }; }
1398fi 1398fi
1399ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1399ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1400ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1400ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1401ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1401ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1402
1403 ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in"
1404
1405 1402
1406# Make sure we can run config.sub. 1403# Make sure we can run config.sub.
1407$ac_config_sub sun4 >/dev/null 2>&1 || 1404$ac_config_sub sun4 >/dev/null 2>&1 ||
1408 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1405 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1409echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1406echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1461VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1458VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1462DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1459DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1463echo "" 1460echo ""
1464echo "configuring for rxvt $VERSION" 1461echo "configuring for rxvt $VERSION"
1465echo "" 1462echo ""
1463
1464orig_CXXFLAGS="$CXXFLAGS"
1466 1465
1467 1466
1468ac_ext=c 1467ac_ext=c
1469ac_cpp='$CPP $CPPFLAGS' 1468ac_cpp='$CPP $CPPFLAGS'
1470ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3051 3050
3052test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3051test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3053 3052
3054test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3053test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3055 3054
3056for ac_prog in gawk mawk nawk awk
3057do
3058 # Extract the first word of "$ac_prog", so it can be a program name with args.
3059set dummy $ac_prog; ac_word=$2
3060echo "$as_me:$LINENO: checking for $ac_word" >&5
3061echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3062if test "${ac_cv_prog_AWK+set}" = set; then
3063 echo $ECHO_N "(cached) $ECHO_C" >&6
3064else
3065 if test -n "$AWK"; then
3066 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3067else
3068as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069for as_dir in $PATH
3070do
3071 IFS=$as_save_IFS
3072 test -z "$as_dir" && as_dir=.
3073 for ac_exec_ext in '' $ac_executable_extensions; do
3074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3075 ac_cv_prog_AWK="$ac_prog"
3076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3077 break 2
3078 fi
3079done
3080done
3081
3082fi
3083fi
3084AWK=$ac_cv_prog_AWK
3085if test -n "$AWK"; then
3086 echo "$as_me:$LINENO: result: $AWK" >&5
3087echo "${ECHO_T}$AWK" >&6
3088else
3089 echo "$as_me:$LINENO: result: no" >&5
3090echo "${ECHO_T}no" >&6
3091fi
3092
3093 test -n "$AWK" && break
3094done
3095
3096 3055
3097ac_ext=c 3056ac_ext=c
3098ac_cpp='$CPP $CPPFLAGS' 3057ac_cpp='$CPP $CPPFLAGS'
3099ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3100ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3101ac_compiler_gnu=$ac_cv_c_compiler_gnu 3060ac_compiler_gnu=$ac_cv_c_compiler_gnu
3102 3061
3103 3062
3104if test -z "$orig_CXXFLAGS"; then 3063if test -z "$orig_CXXFLAGS"; then
3105 CXXFLAGS='-O'
3106 if test x$GCC = xyes && test "x$GXX" = xyes; then 3064 if test x$GCC = xyes && test "x$GXX" = xyes; then
3107 CXXFLAGS="-g -O3" 3065 CXXFLAGS="-g -O3"
3066 else
3067 CXXFLAGS="-O"
3108 fi 3068 fi
3109 CFLAGS="$CXXFLAGS" 3069 CFLAGS="$CXXFLAGS"
3110fi 3070fi
3111 3071
3112LINKER="$CXX" 3072LINKER="$CXX"
3613 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3573 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3614 3574
3615fi 3575fi
3616 3576
3617 3577
3578echo "$as_me:$LINENO: checking for setlocale" >&5
3579echo $ECHO_N "checking for setlocale... $ECHO_C" >&6
3580if test "${ac_cv_func_setlocale+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3582else
3583 cat >conftest.$ac_ext <<_ACEOF
3584/* confdefs.h. */
3585_ACEOF
3586cat confdefs.h >>conftest.$ac_ext
3587cat >>conftest.$ac_ext <<_ACEOF
3588/* end confdefs.h. */
3589/* Define setlocale to an innocuous variant, in case <limits.h> declares setlocale.
3590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3591#define setlocale innocuous_setlocale
3592
3593/* System header to define __stub macros and hopefully few prototypes,
3594 which can conflict with char setlocale (); below.
3595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3596 <limits.h> exists even on freestanding compilers. */
3597
3598#ifdef __STDC__
3599# include <limits.h>
3600#else
3601# include <assert.h>
3602#endif
3603
3604#undef setlocale
3605
3606/* Override any gcc2 internal prototype to avoid an error. */
3607#ifdef __cplusplus
3608extern "C"
3609{
3610#endif
3611/* We use char because int might match the return type of a gcc2
3612 builtin and then its argument prototype would still apply. */
3613char setlocale ();
3614/* The GNU C library defines this for functions which it implements
3615 to always fail with ENOSYS. Some functions are actually named
3616 something starting with __ and the normal name is an alias. */
3617#if defined (__stub_setlocale) || defined (__stub___setlocale)
3618choke me
3619#else
3620char (*f) () = setlocale;
3621#endif
3622#ifdef __cplusplus
3623}
3624#endif
3625
3626int
3627main ()
3628{
3629return f != setlocale;
3630 ;
3631 return 0;
3632}
3633_ACEOF
3634rm -f conftest.$ac_objext conftest$ac_exeext
3635if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3636 (eval $ac_link) 2>conftest.er1
3637 ac_status=$?
3638 grep -v '^ *+' conftest.er1 >conftest.err
3639 rm -f conftest.er1
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } &&
3643 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3645 (eval $ac_try) 2>&5
3646 ac_status=$?
3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); }; } &&
3649 { ac_try='test -s conftest$ac_exeext'
3650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3651 (eval $ac_try) 2>&5
3652 ac_status=$?
3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654 (exit $ac_status); }; }; then
3655 ac_cv_func_setlocale=yes
3656else
3657 echo "$as_me: failed program was:" >&5
3658sed 's/^/| /' conftest.$ac_ext >&5
3659
3660ac_cv_func_setlocale=no
3661fi
3662rm -f conftest.err conftest.$ac_objext \
3663 conftest$ac_exeext conftest.$ac_ext
3664fi
3665echo "$as_me:$LINENO: result: $ac_cv_func_setlocale" >&5
3666echo "${ECHO_T}$ac_cv_func_setlocale" >&6
3667if test $ac_cv_func_setlocale = yes; then
3668 :
3669else
3618echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 3670 echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
3619echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 3671echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
3620if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then 3672if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
3621 echo $ECHO_N "(cached) $ECHO_C" >&6 3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3622else 3674else
3623 ac_check_lib_save_LIBS=$LIBS 3675 ac_check_lib_save_LIBS=$LIBS
3680echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 3732echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
3681if test $ac_cv_lib_xpg4_setlocale = yes; then 3733if test $ac_cv_lib_xpg4_setlocale = yes; then
3682 LIBS="$LIBS -lxpg4" 3734 LIBS="$LIBS -lxpg4"
3683fi 3735fi
3684 3736
3737fi
3685 3738
3739
3740echo "$as_me:$LINENO: checking for gethostbyname" >&5
3741echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3742if test "${ac_cv_func_gethostbyname+set}" = set; then
3743 echo $ECHO_N "(cached) $ECHO_C" >&6
3744else
3745 cat >conftest.$ac_ext <<_ACEOF
3746/* confdefs.h. */
3747_ACEOF
3748cat confdefs.h >>conftest.$ac_ext
3749cat >>conftest.$ac_ext <<_ACEOF
3750/* end confdefs.h. */
3751/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3753#define gethostbyname innocuous_gethostbyname
3754
3755/* System header to define __stub macros and hopefully few prototypes,
3756 which can conflict with char gethostbyname (); below.
3757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3758 <limits.h> exists even on freestanding compilers. */
3759
3760#ifdef __STDC__
3761# include <limits.h>
3762#else
3763# include <assert.h>
3764#endif
3765
3766#undef gethostbyname
3767
3768/* Override any gcc2 internal prototype to avoid an error. */
3769#ifdef __cplusplus
3770extern "C"
3771{
3772#endif
3773/* We use char because int might match the return type of a gcc2
3774 builtin and then its argument prototype would still apply. */
3775char gethostbyname ();
3776/* The GNU C library defines this for functions which it implements
3777 to always fail with ENOSYS. Some functions are actually named
3778 something starting with __ and the normal name is an alias. */
3779#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3780choke me
3781#else
3782char (*f) () = gethostbyname;
3783#endif
3784#ifdef __cplusplus
3785}
3786#endif
3787
3788int
3789main ()
3790{
3791return f != gethostbyname;
3792 ;
3793 return 0;
3794}
3795_ACEOF
3796rm -f conftest.$ac_objext conftest$ac_exeext
3797if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3798 (eval $ac_link) 2>conftest.er1
3799 ac_status=$?
3800 grep -v '^ *+' conftest.er1 >conftest.err
3801 rm -f conftest.er1
3802 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); } &&
3805 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 (eval $ac_try) 2>&5
3808 ac_status=$?
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); }; } &&
3811 { ac_try='test -s conftest$ac_exeext'
3812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3813 (eval $ac_try) 2>&5
3814 ac_status=$?
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); }; }; then
3817 ac_cv_func_gethostbyname=yes
3818else
3819 echo "$as_me: failed program was:" >&5
3820sed 's/^/| /' conftest.$ac_ext >&5
3821
3822ac_cv_func_gethostbyname=no
3823fi
3824rm -f conftest.err conftest.$ac_objext \
3825 conftest$ac_exeext conftest.$ac_ext
3826fi
3827echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3828echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3829if test $ac_cv_func_gethostbyname = yes; then
3830 :
3831else
3686echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 3832 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3687echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 3833echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3688if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then 3834if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3689 echo $ECHO_N "(cached) $ECHO_C" >&6 3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3690else 3836else
3691 ac_check_lib_save_LIBS=$LIBS 3837 ac_check_lib_save_LIBS=$LIBS
3748echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 3894echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3749if test $ac_cv_lib_nsl_gethostbyname = yes; then 3895if test $ac_cv_lib_nsl_gethostbyname = yes; then
3750 LIBS="$LIBS -lnsl" 3896 LIBS="$LIBS -lnsl"
3751fi 3897fi
3752 3898
3899fi
3900
3901echo "$as_me:$LINENO: checking for socket" >&5
3902echo $ECHO_N "checking for socket... $ECHO_C" >&6
3903if test "${ac_cv_func_socket+set}" = set; then
3904 echo $ECHO_N "(cached) $ECHO_C" >&6
3905else
3906 cat >conftest.$ac_ext <<_ACEOF
3907/* confdefs.h. */
3908_ACEOF
3909cat confdefs.h >>conftest.$ac_ext
3910cat >>conftest.$ac_ext <<_ACEOF
3911/* end confdefs.h. */
3912/* Define socket to an innocuous variant, in case <limits.h> declares socket.
3913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3914#define socket innocuous_socket
3915
3916/* System header to define __stub macros and hopefully few prototypes,
3917 which can conflict with char socket (); below.
3918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3919 <limits.h> exists even on freestanding compilers. */
3920
3921#ifdef __STDC__
3922# include <limits.h>
3923#else
3924# include <assert.h>
3925#endif
3926
3927#undef socket
3928
3929/* Override any gcc2 internal prototype to avoid an error. */
3930#ifdef __cplusplus
3931extern "C"
3932{
3933#endif
3934/* We use char because int might match the return type of a gcc2
3935 builtin and then its argument prototype would still apply. */
3936char socket ();
3937/* The GNU C library defines this for functions which it implements
3938 to always fail with ENOSYS. Some functions are actually named
3939 something starting with __ and the normal name is an alias. */
3940#if defined (__stub_socket) || defined (__stub___socket)
3941choke me
3942#else
3943char (*f) () = socket;
3944#endif
3945#ifdef __cplusplus
3946}
3947#endif
3948
3949int
3950main ()
3951{
3952return f != socket;
3953 ;
3954 return 0;
3955}
3956_ACEOF
3957rm -f conftest.$ac_objext conftest$ac_exeext
3958if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3959 (eval $ac_link) 2>conftest.er1
3960 ac_status=$?
3961 grep -v '^ *+' conftest.er1 >conftest.err
3962 rm -f conftest.er1
3963 cat conftest.err >&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); } &&
3966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3968 (eval $ac_try) 2>&5
3969 ac_status=$?
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); }; } &&
3972 { ac_try='test -s conftest$ac_exeext'
3973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3974 (eval $ac_try) 2>&5
3975 ac_status=$?
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); }; }; then
3978 ac_cv_func_socket=yes
3979else
3980 echo "$as_me: failed program was:" >&5
3981sed 's/^/| /' conftest.$ac_ext >&5
3982
3983ac_cv_func_socket=no
3984fi
3985rm -f conftest.err conftest.$ac_objext \
3986 conftest$ac_exeext conftest.$ac_ext
3987fi
3988echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
3989echo "${ECHO_T}$ac_cv_func_socket" >&6
3990if test $ac_cv_func_socket = yes; then
3991 :
3992else
3753echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 3993 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3754echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 3994echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3755if test "${ac_cv_lib_socket_socket+set}" = set; then 3995if test "${ac_cv_lib_socket_socket+set}" = set; then
3756 echo $ECHO_N "(cached) $ECHO_C" >&6 3996 echo $ECHO_N "(cached) $ECHO_C" >&6
3757else 3997else
3758 ac_check_lib_save_LIBS=$LIBS 3998 ac_check_lib_save_LIBS=$LIBS
3815echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 4055echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3816if test $ac_cv_lib_socket_socket = yes; then 4056if test $ac_cv_lib_socket_socket = yes; then
3817 LIBS="$LIBS -lsocket" 4057 LIBS="$LIBS -lsocket"
3818fi 4058fi
3819 4059
4060fi
4061
4062
4063echo "$as_me:$LINENO: checking for sched_yield" >&5
4064echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
4065if test "${ac_cv_func_sched_yield+set}" = set; then
4066 echo $ECHO_N "(cached) $ECHO_C" >&6
4067else
4068 cat >conftest.$ac_ext <<_ACEOF
4069/* confdefs.h. */
4070_ACEOF
4071cat confdefs.h >>conftest.$ac_ext
4072cat >>conftest.$ac_ext <<_ACEOF
4073/* end confdefs.h. */
4074/* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
4075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4076#define sched_yield innocuous_sched_yield
4077
4078/* System header to define __stub macros and hopefully few prototypes,
4079 which can conflict with char sched_yield (); below.
4080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4081 <limits.h> exists even on freestanding compilers. */
4082
4083#ifdef __STDC__
4084# include <limits.h>
4085#else
4086# include <assert.h>
4087#endif
4088
4089#undef sched_yield
4090
4091/* Override any gcc2 internal prototype to avoid an error. */
4092#ifdef __cplusplus
4093extern "C"
4094{
4095#endif
4096/* We use char because int might match the return type of a gcc2
4097 builtin and then its argument prototype would still apply. */
4098char sched_yield ();
4099/* The GNU C library defines this for functions which it implements
4100 to always fail with ENOSYS. Some functions are actually named
4101 something starting with __ and the normal name is an alias. */
4102#if defined (__stub_sched_yield) || defined (__stub___sched_yield)
4103choke me
4104#else
4105char (*f) () = sched_yield;
4106#endif
4107#ifdef __cplusplus
4108}
4109#endif
4110
4111int
4112main ()
4113{
4114return f != sched_yield;
4115 ;
4116 return 0;
4117}
4118_ACEOF
4119rm -f conftest.$ac_objext conftest$ac_exeext
4120if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4121 (eval $ac_link) 2>conftest.er1
4122 ac_status=$?
4123 grep -v '^ *+' conftest.er1 >conftest.err
4124 rm -f conftest.er1
4125 cat conftest.err >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); } &&
4128 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4130 (eval $ac_try) 2>&5
4131 ac_status=$?
4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133 (exit $ac_status); }; } &&
4134 { ac_try='test -s conftest$ac_exeext'
4135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4136 (eval $ac_try) 2>&5
4137 ac_status=$?
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); }; }; then
4140 ac_cv_func_sched_yield=yes
4141else
4142 echo "$as_me: failed program was:" >&5
4143sed 's/^/| /' conftest.$ac_ext >&5
4144
4145ac_cv_func_sched_yield=no
4146fi
4147rm -f conftest.err conftest.$ac_objext \
4148 conftest$ac_exeext conftest.$ac_ext
4149fi
4150echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
4151echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
4152if test $ac_cv_func_sched_yield = yes; then
4153 :
4154else
4155 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
4156echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
4157if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
4158 echo $ECHO_N "(cached) $ECHO_C" >&6
4159else
4160 ac_check_lib_save_LIBS=$LIBS
4161LIBS="-lrt $LIBS"
4162cat >conftest.$ac_ext <<_ACEOF
4163/* confdefs.h. */
4164_ACEOF
4165cat confdefs.h >>conftest.$ac_ext
4166cat >>conftest.$ac_ext <<_ACEOF
4167/* end confdefs.h. */
4168
4169/* Override any gcc2 internal prototype to avoid an error. */
4170#ifdef __cplusplus
4171extern "C"
4172#endif
4173/* We use char because int might match the return type of a gcc2
4174 builtin and then its argument prototype would still apply. */
4175char sched_yield ();
4176int
4177main ()
4178{
4179sched_yield ();
4180 ;
4181 return 0;
4182}
4183_ACEOF
4184rm -f conftest.$ac_objext conftest$ac_exeext
4185if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4186 (eval $ac_link) 2>conftest.er1
4187 ac_status=$?
4188 grep -v '^ *+' conftest.er1 >conftest.err
4189 rm -f conftest.er1
4190 cat conftest.err >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); } &&
4193 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4195 (eval $ac_try) 2>&5
4196 ac_status=$?
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); }; } &&
4199 { ac_try='test -s conftest$ac_exeext'
4200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4201 (eval $ac_try) 2>&5
4202 ac_status=$?
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); }; }; then
4205 ac_cv_lib_rt_sched_yield=yes
4206else
4207 echo "$as_me: failed program was:" >&5
4208sed 's/^/| /' conftest.$ac_ext >&5
4209
4210ac_cv_lib_rt_sched_yield=no
4211fi
4212rm -f conftest.err conftest.$ac_objext \
4213 conftest$ac_exeext conftest.$ac_ext
4214LIBS=$ac_check_lib_save_LIBS
4215fi
4216echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
4217echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
4218if test $ac_cv_lib_rt_sched_yield = yes; then
4219 LIBS="$LIBS -lrt"
4220fi
4221
4222fi
4223
4224
4225echo "$as_me:$LINENO: checking for sched_yield support" >&5
4226echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6
4227cat >conftest.$ac_ext <<_ACEOF
4228/* confdefs.h. */
4229_ACEOF
4230cat confdefs.h >>conftest.$ac_ext
4231cat >>conftest.$ac_ext <<_ACEOF
4232/* end confdefs.h. */
4233#include <sched.h>
4234int
4235main ()
4236{
4237sched_yield ()
4238 ;
4239 return 0;
4240}
4241_ACEOF
4242rm -f conftest.$ac_objext conftest$ac_exeext
4243if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4244 (eval $ac_link) 2>conftest.er1
4245 ac_status=$?
4246 grep -v '^ *+' conftest.er1 >conftest.err
4247 rm -f conftest.er1
4248 cat conftest.err >&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } &&
4251 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4253 (eval $ac_try) 2>&5
4254 ac_status=$?
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); }; } &&
4257 { ac_try='test -s conftest$ac_exeext'
4258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259 (eval $ac_try) 2>&5
4260 ac_status=$?
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); }; }; then
4263 echo "$as_me:$LINENO: result: yes" >&5
4264echo "${ECHO_T}yes" >&6
4265
4266cat >>confdefs.h <<\_ACEOF
4267#define HAVE_SCHED_YIELD 1
4268_ACEOF
4269
4270else
4271 echo "$as_me: failed program was:" >&5
4272sed 's/^/| /' conftest.$ac_ext >&5
4273
4274echo "$as_me:$LINENO: result: no" >&5
4275echo "${ECHO_T}no" >&6
4276fi
4277rm -f conftest.err conftest.$ac_objext \
4278 conftest$ac_exeext conftest.$ac_ext
3820 4279
3821 4280
3822MALLOC_TYPE=S 4281MALLOC_TYPE=S
3823support_addstrings=no 4282
3824support_frills=no 4283support_frills=yes
3825support_inheritpixmap=no 4284support_inheritpixmap=yes
3826support_tinting=no 4285support_tinting=yes
3827support_fading=no 4286support_fading=yes
3828support_keepscrolling=no 4287support_keepscrolling=yes
3829support_selectionscrolling=no 4288support_selectionscrolling=yes
3830support_menubar=no
3831support_mousewheel=no 4289support_mousewheel=yes
3832support_mouseslipwheel=no 4290support_mouseslipwheel=yes
3833support_utmp=no 4291support_utmp=yes
3834support_wtmp=no 4292support_wtmp=yes
3835support_lastlog=no 4293support_lastlog=yes
3836support_cursor_blink=no
3837support_text_blink=no 4294support_text_blink=yes
3838support_pointer_blank=no 4295support_pointer_blank=yes
3839support_scroll_rxvt=no 4296support_scroll_rxvt=yes
3840support_scroll_next=no 4297support_scroll_next=yes
3841support_scroll_xterm=no 4298support_scroll_xterm=yes
3842support_scroll_plain=no 4299support_scroll_plain=yes
3843support_xim=no 4300support_xim=yes
3844support_xpm=no 4301support_xpm=yes
3845support_xft=no 4302support_xft=yes
3846support_unicode3=no 4303support_unicode3=no
3847support_combining=no 4304support_combining=yes
3848support_8bitctrls=no 4305support_8bitctrls=no
3849support_iso14755=no 4306support_iso14755=yes
3850support_styles=no 4307support_styles=yes
4308support_perl=yes
3851codesets= 4309codesets=all
3852 4310
3853 4311
3854if test "x$enable_shared" = xyes; then 4312if test "x$enable_shared" = xyes; then
3855 4313
3856cat >>confdefs.h <<\_ACEOF 4314cat >>confdefs.h <<\_ACEOF
3862 4320
3863 4321
3864# Check whether --enable-everything or --disable-everything was given. 4322# Check whether --enable-everything or --disable-everything was given.
3865if test "${enable_everything+set}" = set; then 4323if test "${enable_everything+set}" = set; then
3866 enableval="$enable_everything" 4324 enableval="$enable_everything"
4325
4326 if test x$enableval = xno; then
4327 support_24bit=no
4328 support_frills=no
4329 support_inheritpixmap=no
4330 support_tinting=no
4331 support_fading=no
4332 support_keepscrolling=no
4333 support_selectionscrolling=no
4334 support_lastlog=no
4335 support_mousewheel=no
4336 support_mouseslipwheel=no
4337 support_text_blink=no
4338 support_pointer_blank=no
4339 support_scroll_rxvt=no
4340 support_scroll_next=no
4341 support_scroll_xterm=no
4342 support_scroll_plain=no
4343 support_utmp=no
4344 support_wtmp=no
4345 support_xim=no
4346 support_xpm=no
4347 support_xft=no
4348 support_unicode3=no
4349 support_combining=no
4350 support_8bitctrls=no
4351 support_iso14755=no
4352 support_styles=no
4353 support_perl=no
4354 codesets=
4355 fi
3867 if test x$enableval = xyes; then 4356 if test x$enableval = xyes; then
3868 support_24bit=yes 4357 support_24bit=yes
3869 support_frills=yes 4358 support_frills=yes
3870 support_inheritpixmap=yes 4359 support_inheritpixmap=yes
3871 support_tinting=yes 4360 support_tinting=yes
3872 support_fading=yes 4361 support_fading=yes
3873 support_keepscrolling=yes 4362 support_keepscrolling=yes
3874 support_selectionscrolling=yes 4363 support_selectionscrolling=yes
3875 support_lastlog=yes 4364 support_lastlog=yes
3876 support_menubar=yes
3877 support_mousewheel=yes 4365 support_mousewheel=yes
3878 support_mouseslipwheel=yes 4366 support_mouseslipwheel=yes
3879 support_cursor_blink=yes
3880 support_text_blink=yes 4367 support_text_blink=yes
3881 support_pointer_blank=yes 4368 support_pointer_blank=yes
3882 support_scroll_rxvt=yes 4369 support_scroll_rxvt=yes
3883 support_scroll_next=yes 4370 support_scroll_next=yes
3884 support_scroll_xterm=yes 4371 support_scroll_xterm=yes
3885 support_scroll_plain=yes 4372 support_scroll_plain=yes
3886 support_utmp=yes 4373 support_utmp=yes
3887 support_wtmp=yes 4374 support_wtmp=yes
3888 support_xim=yes 4375 support_xim=yes
3889 support_xpm=yes 4376 support_xpm=yes
3890 support_xft=yes 4377 support_xft=yes
3891 support_unicode3=yes 4378 support_unicode3=yes
3892 support_combining=yes 4379 support_combining=yes
3893 #support_8bitctrls=yes 4380 #support_8bitctrls=yes
3894 support_iso14755=yes 4381 support_iso14755=yes
3895 support_styles=yes 4382 support_styles=yes
4383 support_perl=yes
3896 codesets=all 4384 codesets=all
3897 fi 4385 fi
4386
3898fi; 4387fi;
3899 4388
3900# Check whether --enable-unicode3 or --disable-unicode3 was given. 4389# Check whether --enable-unicode3 or --disable-unicode3 was given.
3901if test "${enable_unicode3+set}" = set; then 4390if test "${enable_unicode3+set}" = set; then
3902 enableval="$enable_unicode3" 4391 enableval="$enable_unicode3"
3983 if test x$enableval = xyes -o x$enableval = xno; then 4472 if test x$enableval = xyes -o x$enableval = xno; then
3984 support_fading=$enableval 4473 support_fading=$enableval
3985 fi 4474 fi
3986fi; 4475fi;
3987 4476
3988# Check whether --enable-menubar or --disable-menubar was given.
3989if test "${enable_menubar+set}" = set; then
3990 enableval="$enable_menubar"
3991 if test x$enableval = xyes -o x$enableval = xno; then
3992 support_menubar=$enableval
3993 fi
3994fi;
3995
3996# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. 4477# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given.
3997if test "${enable_rxvt_scroll+set}" = set; then 4478if test "${enable_rxvt_scroll+set}" = set; then
3998 enableval="$enable_rxvt_scroll" 4479 enableval="$enable_rxvt_scroll"
3999 if test x$enableval = xyes -o x$enableval = xno; then 4480 if test x$enableval = xyes -o x$enableval = xno; then
4000 support_scroll_rxvt=$enableval 4481 support_scroll_rxvt=$enableval
4015 if test x$enableval = xyes -o x$enableval = xno; then 4496 if test x$enableval = xyes -o x$enableval = xno; then
4016 support_scroll_xterm=$enableval 4497 support_scroll_xterm=$enableval
4017 fi 4498 fi
4018fi; 4499fi;
4019 4500
4501# Check whether --enable-perl or --disable-perl was given.
4502if test "${enable_perl+set}" = set; then
4503 enableval="$enable_perl"
4504 if test x$enableval = xyes -o x$enableval = xno; then
4505 support_perl=$enableval
4506 fi
4507fi;
4508
4020# Check whether --enable-plain-scroll or --disable-plain-scroll was given. 4509# Check whether --enable-plain-scroll or --disable-plain-scroll was given.
4021if test "${enable_plain_scroll+set}" = set; then 4510if test "${enable_plain_scroll+set}" = set; then
4022 enableval="$enable_plain_scroll" 4511 enableval="$enable_plain_scroll"
4023 if test x$enableval = xyes -o x$enableval = xno; then 4512 if test x$enableval = xyes -o x$enableval = xno; then
4024 support_scroll_plain=$enableval 4513 support_scroll_plain=$enableval
4025 fi 4514 fi
4026fi; 4515fi;
4027 4516
4028# Check whether --enable-half-shadow or --disable-half-shadow was given.
4029if test "${enable_half_shadow+set}" = set; then
4030 enableval="$enable_half_shadow"
4031 if test x$enableval = xyes; then
4032
4033cat >>confdefs.h <<\_ACEOF
4034#define HALFSHADOW 1
4035_ACEOF
4036
4037 fi
4038fi;
4039 4517
4040 4518
4041# Check whether --with-codesets or --without-codesets was given. 4519# Check whether --with-codesets or --without-codesets was given.
4042if test "${with_codesets+set}" = set; then 4520if test "${with_codesets+set}" = set; then
4043 withval="$with_codesets" 4521 withval="$with_codesets"
4098_ACEOF 4576_ACEOF
4099 4577
4100 fi 4578 fi
4101fi; 4579fi;
4102 4580
4103# Check whether --enable-xgetdefault or --disable-xgetdefault was given.
4104if test "${enable_xgetdefault+set}" = set; then
4105 enableval="$enable_xgetdefault"
4106 if test x$enableval = xyes; then
4107
4108cat >>confdefs.h <<\_ACEOF
4109#define USE_XGETDEFAULT 1
4110_ACEOF
4111
4112 fi
4113fi;
4114
4115# Check whether --enable-8bitctrls or --disable-8bitctrls was given. 4581# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
4116if test "${enable_8bitctrls+set}" = set; then 4582if test "${enable_8bitctrls+set}" = set; then
4117 enableval="$enable_8bitctrls" 4583 enableval="$enable_8bitctrls"
4118 if test x$enableval = xyes -o x$enableval = xno; then 4584 if test x$enableval = xyes -o x$enableval = xno; then
4119 support_8bitctrls=$enableval 4585 support_8bitctrls=$enableval
4178_ACEOF 4644_ACEOF
4179 4645
4180 4646
4181RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` 4647RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
4182 4648
4183
4184# Check whether --enable-strings or --disable-strings was given.
4185if test "${enable_strings+set}" = set; then
4186 enableval="$enable_strings"
4187 if test x$enableval = xyes -o x$enableval = xno; then
4188 support_addstrings=$enableval
4189 fi
4190fi;
4191 4649
4192# Check whether --enable-swapscreen or --disable-swapscreen was given. 4650# Check whether --enable-swapscreen or --disable-swapscreen was given.
4193if test "${enable_swapscreen+set}" = set; then 4651if test "${enable_swapscreen+set}" = set; then
4194 enableval="$enable_swapscreen" 4652 enableval="$enable_swapscreen"
4195 if test x$enableval = xno; then 4653 if test x$enableval = xno; then
4289_ACEOF 4747_ACEOF
4290 4748
4291 fi 4749 fi
4292fi; 4750fi;
4293 4751
4294# Check whether --enable-cursor-blink or --disable-cursor-blink was given.
4295if test "${enable_cursor_blink+set}" = set; then
4296 enableval="$enable_cursor_blink"
4297 if test x$enableval = xyes -o x$enableval = xno; then
4298 support_cursor_blink=$enableval
4299 fi
4300fi;
4301
4302# Check whether --enable-text-blink or --disable-text-blink was given. 4752# Check whether --enable-text-blink or --disable-text-blink was given.
4303if test "${enable_text_blink+set}" = set; then 4753if test "${enable_text_blink+set}" = set; then
4304 enableval="$enable_text_blink" 4754 enableval="$enable_text_blink"
4305 if test x$enableval = xyes -o x$enableval = xno; then 4755 if test x$enableval = xyes -o x$enableval = xno; then
4306 support_text_blink=$enableval 4756 support_text_blink=$enableval
4338#define RXVT_TERMINFO "$withval" 4788#define RXVT_TERMINFO "$withval"
4339_ACEOF 4789_ACEOF
4340 terminfo="$withval" 4790 terminfo="$withval"
4341 fi 4791 fi
4342fi; 4792fi;
4343
4344
4345
4346cat >>confdefs.h <<\_ACEOF
4347#define PROTOTYPES 1
4348_ACEOF
4349 4793
4350 4794
4351# Extract the first word of "mv", so it can be a program name with args. 4795# Extract the first word of "mv", so it can be a program name with args.
4352set dummy mv; ac_word=$2 4796set dummy mv; ac_word=$2
4353echo "$as_me:$LINENO: checking for $ac_word" >&5 4797echo "$as_me:$LINENO: checking for $ac_word" >&5
4621CMP=$ac_cv_path_CMP 5065CMP=$ac_cv_path_CMP
4622 5066
4623if test -n "$CMP"; then 5067if test -n "$CMP"; then
4624 echo "$as_me:$LINENO: result: $CMP" >&5 5068 echo "$as_me:$LINENO: result: $CMP" >&5
4625echo "${ECHO_T}$CMP" >&6 5069echo "${ECHO_T}$CMP" >&6
4626else
4627 echo "$as_me:$LINENO: result: no" >&5
4628echo "${ECHO_T}no" >&6
4629fi
4630
4631# Extract the first word of "tbl", so it can be a program name with args.
4632set dummy tbl; ac_word=$2
4633echo "$as_me:$LINENO: checking for $ac_word" >&5
4634echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4635if test "${ac_cv_path_TBL+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4637else
4638 case $TBL in
4639 [\\/]* | ?:[\\/]*)
4640 ac_cv_path_TBL="$TBL" # Let the user override the test with a path.
4641 ;;
4642 *)
4643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4644for as_dir in $PATH
4645do
4646 IFS=$as_save_IFS
4647 test -z "$as_dir" && as_dir=.
4648 for ac_exec_ext in '' $ac_executable_extensions; do
4649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4650 ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext"
4651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4652 break 2
4653 fi
4654done
4655done
4656
4657 ;;
4658esac
4659fi
4660TBL=$ac_cv_path_TBL
4661
4662if test -n "$TBL"; then
4663 echo "$as_me:$LINENO: result: $TBL" >&5
4664echo "${ECHO_T}$TBL" >&6
4665else 5070else
4666 echo "$as_me:$LINENO: result: no" >&5 5071 echo "$as_me:$LINENO: result: no" >&5
4667echo "${ECHO_T}no" >&6 5072echo "${ECHO_T}no" >&6
4668fi 5073fi
4669 5074
4813/* confdefs.h. */ 5218/* confdefs.h. */
4814_ACEOF 5219_ACEOF
4815cat confdefs.h >>conftest.$ac_ext 5220cat confdefs.h >>conftest.$ac_ext
4816cat >>conftest.$ac_ext <<_ACEOF 5221cat >>conftest.$ac_ext <<_ACEOF
4817/* end confdefs.h. */ 5222/* end confdefs.h. */
4818#include <X11/Intrinsic.h> 5223#include <X11/Xlib.h>
4819_ACEOF 5224_ACEOF
4820if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5225if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5226 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4822 ac_status=$? 5227 ac_status=$?
4823 grep -v '^ *+' conftest.er1 >conftest.err 5228 grep -v '^ *+' conftest.er1 >conftest.err
4840else 5245else
4841 echo "$as_me: failed program was:" >&5 5246 echo "$as_me: failed program was:" >&5
4842sed 's/^/| /' conftest.$ac_ext >&5 5247sed 's/^/| /' conftest.$ac_ext >&5
4843 5248
4844 for ac_dir in $ac_x_header_dirs; do 5249 for ac_dir in $ac_x_header_dirs; do
4845 if test -r "$ac_dir/X11/Intrinsic.h"; then 5250 if test -r "$ac_dir/X11/Xlib.h"; then
4846 ac_x_includes=$ac_dir 5251 ac_x_includes=$ac_dir
4847 break 5252 break
4848 fi 5253 fi
4849done 5254done
4850fi 5255fi
4854if test "$ac_x_libraries" = no; then 5259if test "$ac_x_libraries" = no; then
4855 # Check for the libraries. 5260 # Check for the libraries.
4856 # See if we find them without any special options. 5261 # See if we find them without any special options.
4857 # Don't add to $LIBS permanently. 5262 # Don't add to $LIBS permanently.
4858 ac_save_LIBS=$LIBS 5263 ac_save_LIBS=$LIBS
4859 LIBS="-lXt $LIBS" 5264 LIBS="-lX11 $LIBS"
4860 cat >conftest.$ac_ext <<_ACEOF 5265 cat >conftest.$ac_ext <<_ACEOF
4861/* confdefs.h. */ 5266/* confdefs.h. */
4862_ACEOF 5267_ACEOF
4863cat confdefs.h >>conftest.$ac_ext 5268cat confdefs.h >>conftest.$ac_ext
4864cat >>conftest.$ac_ext <<_ACEOF 5269cat >>conftest.$ac_ext <<_ACEOF
4865/* end confdefs.h. */ 5270/* end confdefs.h. */
4866#include <X11/Intrinsic.h> 5271#include <X11/Xlib.h>
4867int 5272int
4868main () 5273main ()
4869{ 5274{
4870XtMalloc (0) 5275XrmInitialize ()
4871 ; 5276 ;
4872 return 0; 5277 return 0;
4873} 5278}
4874_ACEOF 5279_ACEOF
4875rm -f conftest.$ac_objext conftest$ac_exeext 5280rm -f conftest.$ac_objext conftest$ac_exeext
4903LIBS=$ac_save_LIBS 5308LIBS=$ac_save_LIBS
4904for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 5309for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4905do 5310do
4906 # Don't even attempt the hair of trying to link an X program! 5311 # Don't even attempt the hair of trying to link an X program!
4907 for ac_extension in a so sl; do 5312 for ac_extension in a so sl; do
4908 if test -r $ac_dir/libXt.$ac_extension; then 5313 if test -r $ac_dir/libX11.$ac_extension; then
4909 ac_x_libraries=$ac_dir 5314 ac_x_libraries=$ac_dir
4910 break 2 5315 break 2
4911 fi 5316 fi
4912 done 5317 done
4913done 5318done
6775 7180
6776 7181
6777 7182
6778 7183
6779 7184
7185
7186
6780for ac_header in \ 7187for ac_header in \
6781 assert.h \ 7188 assert.h \
6782 fcntl.h \ 7189 fcntl.h \
6783 grp.h \ 7190 grp.h \
6784 libc.h \ 7191 libc.h \
6797 sys/time.h \ 7204 sys/time.h \
6798 utmp.h \ 7205 utmp.h \
6799 utmpx.h \ 7206 utmpx.h \
6800 stdint.h \ 7207 stdint.h \
6801 pty.h \ 7208 pty.h \
7209 util.h \
7210 libutil.h \
6802 wchar.h \ 7211 wchar.h \
6803 cwchar \ 7212 cwchar \
6804 clocale \ 7213 clocale \
6805 7214
6806do 7215do
9636#define RETSIGTYPE $ac_cv_type_signal 10045#define RETSIGTYPE $ac_cv_type_signal
9637_ACEOF 10046_ACEOF
9638 10047
9639 10048
9640 10049
9641case "$host_alias" in
9642 *ultrix) ac_cv_func_setsid='no' ;;
9643 *) break;;
9644esac
9645
9646
9647
9648 10050
9649 10051
9650 10052
9651 10053
9652 10054
9661 10063
9662 10064
9663 10065
9664 10066
9665for ac_func in \ 10067for ac_func in \
9666 atexit \
9667 revoke \ 10068 revoke \
9668 unsetenv \ 10069 unsetenv \
9669 setutent \ 10070 setutent \
9670 seteuid \ 10071 seteuid \
10072 setresuid \
9671 setreuid \ 10073 setreuid \
9672 setsid \
9673 setpgrp \
9674 setpgid \
9675 openpty \
9676 _getpty \ 10074 _getpty \
10075 getpt \
10076 posix_openpt \
9677 grantpt \ 10077 grantpt \
9678 unlockpt \ 10078 unlockpt \
9679 isastream \ 10079 isastream \
9680 on_exit \ 10080 on_exit \
9681 nanosleep \ 10081 nanosleep \
9931_ACEOF 10331_ACEOF
9932cat confdefs.h >>conftest.$ac_ext 10332cat confdefs.h >>conftest.$ac_ext
9933cat >>conftest.$ac_ext <<_ACEOF 10333cat >>conftest.$ac_ext <<_ACEOF
9934/* end confdefs.h. */ 10334/* end confdefs.h. */
9935#include <sys/types.h> 10335#include <sys/types.h>
9936#include <stdint.h>
9937#include <utmp.h> 10336#include <utmp.h>
9938int 10337int
9939main () 10338main ()
9940{ 10339{
9941struct utmp ut; 10340struct utmp ut;
11316#define HAVE_NL_LANGINFO 1 11715#define HAVE_NL_LANGINFO 1
11317_ACEOF 11716_ACEOF
11318 11717
11319fi 11718fi
11320 11719
11720echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5
11721echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6
11722if test "${rxvt_can_pass_fds+set}" = set; then
11723 echo $ECHO_N "(cached) $ECHO_C" >&6
11724else
11725 cat >conftest.$ac_ext <<_ACEOF
11726/* confdefs.h. */
11727_ACEOF
11728cat confdefs.h >>conftest.$ac_ext
11729cat >>conftest.$ac_ext <<_ACEOF
11730/* end confdefs.h. */
11731
11732#include <sys/types.h>
11733#include <sys/socket.h>
11734
11735int
11736main ()
11737{
11738
11739{
11740 msghdr msg;
11741 iovec iov;
11742 char buf [100];
11743 char data = 0;
11744
11745 iov.iov_base = &data;
11746 iov.iov_len = 1;
11747
11748 msg.msg_iov = &iov;
11749 msg.msg_iovlen = 1;
11750 msg.msg_control = buf;
11751 msg.msg_controllen = sizeof buf;
11752
11753 cmsghdr *cmsg = CMSG_FIRSTHDR (&msg);
11754 cmsg->cmsg_level = SOL_SOCKET;
11755 cmsg->cmsg_type = SCM_RIGHTS;
11756 cmsg->cmsg_len = 100;
11757
11758 *(int *)CMSG_DATA (cmsg) = 5;
11759
11760 return sendmsg (3, &msg, 0);
11761}
11762
11763 ;
11764 return 0;
11765}
11766_ACEOF
11767rm -f conftest.$ac_objext conftest$ac_exeext
11768if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11769 (eval $ac_link) 2>conftest.er1
11770 ac_status=$?
11771 grep -v '^ *+' conftest.er1 >conftest.err
11772 rm -f conftest.er1
11773 cat conftest.err >&5
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); } &&
11776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11778 (eval $ac_try) 2>&5
11779 ac_status=$?
11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); }; } &&
11782 { ac_try='test -s conftest$ac_exeext'
11783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11784 (eval $ac_try) 2>&5
11785 ac_status=$?
11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787 (exit $ac_status); }; }; then
11788 rxvt_can_pass_fds=yes
11789else
11790 echo "$as_me: failed program was:" >&5
11791sed 's/^/| /' conftest.$ac_ext >&5
11792
11793rxvt_can_pass_fds=no
11794fi
11795rm -f conftest.err conftest.$ac_objext \
11796 conftest$ac_exeext conftest.$ac_ext
11797fi
11798echo "$as_me:$LINENO: result: $rxvt_can_pass_fds" >&5
11799echo "${ECHO_T}$rxvt_can_pass_fds" >&6
11800if test x$rxvt_can_pass_fds = xyes; then
11801
11802cat >>confdefs.h <<\_ACEOF
11803#define HAVE_UNIX_FDPASS 1
11804_ACEOF
11805
11806else
11807 { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5
11808echo "$as_me: error: urxvt requires unix-compliant filehandle passing ability" >&2;}
11809 { (exit 1); exit 1; }; }
11810fi
11811
11321echo "$as_me:$LINENO: checking for broken XIM callback" >&5 11812echo "$as_me:$LINENO: checking for broken XIM callback" >&5
11322echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 11813echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
11323if test "${rxvt_broken_ximcb+set}" = set; then 11814if test "${rxvt_broken_ximcb+set}" = set; then
11324 echo $ECHO_N "(cached) $ECHO_C" >&6 11815 echo $ECHO_N "(cached) $ECHO_C" >&6
11325else 11816else
11374#define XIMCB_PROTO_BROKEN 1 11865#define XIMCB_PROTO_BROKEN 1
11375_ACEOF 11866_ACEOF
11376 11867
11377fi 11868fi
11378 11869
11870if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then
11379echo "$as_me:$LINENO: checking for getpt" >&5 11871 echo "$as_me:$LINENO: checking for openpty" >&5
11380echo $ECHO_N "checking for getpt... $ECHO_C" >&6 11872echo $ECHO_N "checking for openpty... $ECHO_C" >&6
11381if test "${rxvt_cv_func_getpt+set}" = set; then 11873if test "${ac_cv_func_openpty+set}" = set; then
11382 echo $ECHO_N "(cached) $ECHO_C" >&6 11874 echo $ECHO_N "(cached) $ECHO_C" >&6
11383else 11875else
11384 cat >conftest.$ac_ext <<_ACEOF 11876 cat >conftest.$ac_ext <<_ACEOF
11385/* confdefs.h. */ 11877/* confdefs.h. */
11386_ACEOF 11878_ACEOF
11387cat confdefs.h >>conftest.$ac_ext 11879cat confdefs.h >>conftest.$ac_ext
11388cat >>conftest.$ac_ext <<_ACEOF 11880cat >>conftest.$ac_ext <<_ACEOF
11389/* end confdefs.h. */ 11881/* end confdefs.h. */
11390#define _GNU_SOURCE 11882/* Define openpty to an innocuous variant, in case <limits.h> declares openpty.
11391#ifdef HAVE_STDLIB_H 11883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11392# include <cstdlib> 11884#define openpty innocuous_openpty
11885
11886/* System header to define __stub macros and hopefully few prototypes,
11887 which can conflict with char openpty (); below.
11888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11889 <limits.h> exists even on freestanding compilers. */
11890
11891#ifdef __STDC__
11892# include <limits.h>
11893#else
11894# include <assert.h>
11393#endif 11895#endif
11896
11897#undef openpty
11898
11899/* Override any gcc2 internal prototype to avoid an error. */
11900#ifdef __cplusplus
11901extern "C"
11902{
11903#endif
11904/* We use char because int might match the return type of a gcc2
11905 builtin and then its argument prototype would still apply. */
11906char openpty ();
11907/* The GNU C library defines this for functions which it implements
11908 to always fail with ENOSYS. Some functions are actually named
11909 something starting with __ and the normal name is an alias. */
11910#if defined (__stub_openpty) || defined (__stub___openpty)
11911choke me
11912#else
11913char (*f) () = openpty;
11914#endif
11915#ifdef __cplusplus
11916}
11917#endif
11918
11394int 11919int
11395main () 11920main ()
11396{ 11921{
11397(void)getpt(); 11922return f != openpty;
11398 ; 11923 ;
11399 return 0; 11924 return 0;
11400} 11925}
11401_ACEOF 11926_ACEOF
11402rm -f conftest.$ac_objext conftest$ac_exeext 11927rm -f conftest.$ac_objext conftest$ac_exeext
11418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11419 (eval $ac_try) 2>&5 11944 (eval $ac_try) 2>&5
11420 ac_status=$? 11945 ac_status=$?
11421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422 (exit $ac_status); }; }; then 11947 (exit $ac_status); }; }; then
11423 rxvt_cv_func_getpt=yes 11948 ac_cv_func_openpty=yes
11424else 11949else
11425 echo "$as_me: failed program was:" >&5 11950 echo "$as_me: failed program was:" >&5
11426sed 's/^/| /' conftest.$ac_ext >&5 11951sed 's/^/| /' conftest.$ac_ext >&5
11427 11952
11428rxvt_cv_func_getpt=no 11953ac_cv_func_openpty=no
11429fi 11954fi
11430rm -f conftest.err conftest.$ac_objext \ 11955rm -f conftest.err conftest.$ac_objext \
11431 conftest$ac_exeext conftest.$ac_ext 11956 conftest$ac_exeext conftest.$ac_ext
11432fi 11957fi
11433echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 11958echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5
11434echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 11959echo "${ECHO_T}$ac_cv_func_openpty" >&6
11435if test x$rxvt_cv_func_getpt = xyes; then 11960if test $ac_cv_func_openpty = yes; then
11436 11961 :
11962else
11963 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
11964echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
11965if test "${ac_cv_lib_util_openpty+set}" = set; then
11966 echo $ECHO_N "(cached) $ECHO_C" >&6
11967else
11968 ac_check_lib_save_LIBS=$LIBS
11969LIBS="-lutil $LIBS"
11970cat >conftest.$ac_ext <<_ACEOF
11971/* confdefs.h. */
11972_ACEOF
11973cat confdefs.h >>conftest.$ac_ext
11437cat >>confdefs.h <<\_ACEOF 11974cat >>conftest.$ac_ext <<_ACEOF
11438#define HAVE_GETPT 1 11975/* end confdefs.h. */
11976
11977/* Override any gcc2 internal prototype to avoid an error. */
11978#ifdef __cplusplus
11979extern "C"
11980#endif
11981/* We use char because int might match the return type of a gcc2
11982 builtin and then its argument prototype would still apply. */
11983char openpty ();
11984int
11985main ()
11986{
11987openpty ();
11988 ;
11989 return 0;
11990}
11439_ACEOF 11991_ACEOF
11992rm -f conftest.$ac_objext conftest$ac_exeext
11993if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11994 (eval $ac_link) 2>conftest.er1
11995 ac_status=$?
11996 grep -v '^ *+' conftest.er1 >conftest.err
11997 rm -f conftest.er1
11998 cat conftest.err >&5
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); } &&
12001 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12003 (eval $ac_try) 2>&5
12004 ac_status=$?
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); }; } &&
12007 { ac_try='test -s conftest$ac_exeext'
12008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12009 (eval $ac_try) 2>&5
12010 ac_status=$?
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); }; }; then
12013 ac_cv_lib_util_openpty=yes
12014else
12015 echo "$as_me: failed program was:" >&5
12016sed 's/^/| /' conftest.$ac_ext >&5
12017
12018ac_cv_lib_util_openpty=no
12019fi
12020rm -f conftest.err conftest.$ac_objext \
12021 conftest$ac_exeext conftest.$ac_ext
12022LIBS=$ac_check_lib_save_LIBS
12023fi
12024echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
12025echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
12026if test $ac_cv_lib_util_openpty = yes; then
12027 LIBS="$LIBS -lutil"
12028fi
12029
12030fi
11440 12031
11441fi 12032fi
11442 12033
11443echo "$as_me:$LINENO: checking for pty/tty type" >&5 12034echo "$as_me:$LINENO: checking for pty/tty type" >&5
11444echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 12035echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6
11445if test "${rxvt_cv_ptys+set}" = set; then 12036if test "${rxvt_cv_ptys+set}" = set; then
11446 echo $ECHO_N "(cached) $ECHO_C" >&6 12037 echo $ECHO_N "(cached) $ECHO_C" >&6
11447else 12038else
11448 if test x$ac_cv_func_openpty = xyes; then 12039 if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
11449 rxvt_cv_ptys=OPENPTY 12040 rxvt_cv_ptys=OPENPTY
12041 else if test x$ac_cv_func_getpt = xyes; then
12042 rxvt_cv_ptys=GLIBC
12043 else if test x$ac_cv_func_posix_openpt = xyes; then
12044 rxvt_cv_ptys=POSIX
11450 else if test x$ac_cv_func__getpty = xyes; then 12045 else if test x$ac_cv_func__getpty = xyes; then
11451 rxvt_cv_ptys=SGI4 12046 rxvt_cv_ptys=SGI4
11452 else if test -c /dev/ttyp20; then 12047 else if test -c /dev/ttyp20; then
11453 rxvt_cv_ptys=SCO 12048 rxvt_cv_ptys=SCO
11454 else if test -c /dev/ptym/clone; then 12049 else if test -c /dev/ptym/clone; then
11455 rxvt_cv_ptys=HPUX 12050 rxvt_cv_ptys=HPUX
11456 else if test x$rxvt_cv_func_getpt = xyes; then
11457 rxvt_cv_ptys=GLIBC
11458 else if test -c /dev/ptc -a -c /dev/pts; then 12051 else if test -c /dev/ptc -a -c /dev/pts; then
11459 rxvt_cv_ptys=PTC 12052 rxvt_cv_ptys=PTC
11460 else if test -c /dev/ptc -a -d /dev/pts; then 12053 else if test -c /dev/ptc -a -d /dev/pts; then
11461 rxvt_cv_ptys=PTC 12054 rxvt_cv_ptys=PTC
11462 else if test -c /dev/ptmx -a -c /dev/pts/0; then 12055 else if test -c /dev/ptmx -a -c /dev/pts/0; then
11472fi 12065fi
11473fi 12066fi
11474fi 12067fi
11475fi 12068fi
11476fi 12069fi
12070fi
11477 12071
11478fi 12072fi
11479echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 12073echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5
11480echo "${ECHO_T}$rxvt_cv_ptys" >&6 12074echo "${ECHO_T}$rxvt_cv_ptys" >&6
11481 12075
12076if test x$rxvt_cv_ptys = xGLIBC; then
12077
12078cat >>confdefs.h <<\_ACEOF
12079#define PTYS_ARE_GETPT 1
12080_ACEOF
12081
12082fi
12083if test x$rxvt_cv_ptys = xPOSIX; then
12084
12085cat >>confdefs.h <<\_ACEOF
12086#define PTYS_ARE_POSIX 1
12087_ACEOF
12088
12089fi
11482if test x$rxvt_cv_ptys = xOPENPTY; then 12090if test x$rxvt_cv_ptys = xOPENPTY; then
11483 12091
11484cat >>confdefs.h <<\_ACEOF 12092cat >>confdefs.h <<\_ACEOF
11485#define PTYS_ARE_OPENPTY 1 12093#define PTYS_ARE_OPENPTY 1
11486_ACEOF 12094_ACEOF
11512cat >>confdefs.h <<\_ACEOF 12120cat >>confdefs.h <<\_ACEOF
11513#define PTYS_ARE__GETPTY 1 12121#define PTYS_ARE__GETPTY 1
11514_ACEOF 12122_ACEOF
11515 12123
11516fi 12124fi
11517if test x$rxvt_cv_ptys = xCONVEX; then
11518
11519cat >>confdefs.h <<\_ACEOF
11520#define PTYS_ARE_GETPTY 1
11521_ACEOF
11522
11523fi
11524if test x$rxvt_cv_ptys = xGLIBC; then
11525
11526cat >>confdefs.h <<\_ACEOF
11527#define PTYS_ARE_GETPT 1
11528_ACEOF
11529
11530fi
11531if test x$rxvt_cv_ptys = xHPUX; then 12125if test x$rxvt_cv_ptys = xHPUX; then
11532 12126
11533cat >>confdefs.h <<\_ACEOF 12127cat >>confdefs.h <<\_ACEOF
11534#define PTYS_ARE_CLONE 1 12128#define PTYS_ARE_CLONE 1
11535_ACEOF 12129_ACEOF
11536 12130
11537fi 12131fi
11538if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then 12132if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then
11539 12133
11540cat >>confdefs.h <<\_ACEOF 12134cat >>confdefs.h <<\_ACEOF
11541#define PTYS_ARE_SEARCHED 1 12135#define PTYS_ARE_SEARCHED 1
11542_ACEOF 12136_ACEOF
11543 12137
11564 12158
11565fi 12159fi
11566 12160
11567if test x$support_xft = xyes; then 12161if test x$support_xft = xyes; then
11568 LIBS="$LIBS `pkg-config xft --libs`" 12162 LIBS="$LIBS `pkg-config xft --libs`"
11569 CFLAGS="$CFLAGS `pkg-config xft --cflags`"
11570 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" 12163 CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
11571 12164
11572 12165
11573for ac_header in X11/Xft/Xft.h 12166for ac_header in X11/Xft/Xft.h
11574do 12167do
11858cat >>confdefs.h <<\_ACEOF 12451cat >>confdefs.h <<\_ACEOF
11859#define SELECTION_SCROLLING 1 12452#define SELECTION_SCROLLING 1
11860_ACEOF 12453_ACEOF
11861 12454
11862fi 12455fi
11863if test x$support_menubar = xyes; then
11864
11865cat >>confdefs.h <<\_ACEOF
11866#define MENUBAR 1
11867_ACEOF
11868
11869fi
11870if test x$support_frills = xyes; then 12456if test x$support_frills = xyes; then
11871 12457
11872cat >>confdefs.h <<\_ACEOF 12458cat >>confdefs.h <<\_ACEOF
11873#define ENABLE_FRILLS 1 12459#define ENABLE_FRILLS 1
11874_ACEOF 12460_ACEOF
11966fi 12552fi
11967if test x$support_pointer_blank = xyes; then 12553if test x$support_pointer_blank = xyes; then
11968 12554
11969cat >>confdefs.h <<\_ACEOF 12555cat >>confdefs.h <<\_ACEOF
11970#define POINTER_BLANK 1 12556#define POINTER_BLANK 1
11971_ACEOF
11972
11973fi
11974if test x$support_cursor_blink = xyes; then
11975
11976cat >>confdefs.h <<\_ACEOF
11977#define CURSOR_BLINK 1
11978_ACEOF 12557_ACEOF
11979 12558
11980fi 12559fi
11981if test x$support_text_blink = xyes; then 12560if test x$support_text_blink = xyes; then
11982 12561
12039#define ENCODING_ZH_EXT 1 12618#define ENCODING_ZH_EXT 1
12040_ACEOF 12619_ACEOF
12041 ;; 12620 ;;
12042 esac 12621 esac
12043done 12622done
12623
12624IF_PERL=\#
12625if test x$support_perl = xyes; then
12626 # Extract the first word of "perl5", so it can be a program name with args.
12627set dummy perl5; ac_word=$2
12628echo "$as_me:$LINENO: checking for $ac_word" >&5
12629echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12630if test "${ac_cv_path_PERL+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12632else
12633 case $PERL in
12634 [\\/]* | ?:[\\/]*)
12635 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
12636 ;;
12637 *)
12638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12639for as_dir in $PATH
12640do
12641 IFS=$as_save_IFS
12642 test -z "$as_dir" && as_dir=.
12643 for ac_exec_ext in '' $ac_executable_extensions; do
12644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12645 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
12646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12647 break 2
12648 fi
12649done
12650done
12651
12652 ;;
12653esac
12654fi
12655PERL=$ac_cv_path_PERL
12656
12657if test -n "$PERL"; then
12658 echo "$as_me:$LINENO: result: $PERL" >&5
12659echo "${ECHO_T}$PERL" >&6
12660else
12661 echo "$as_me:$LINENO: result: no" >&5
12662echo "${ECHO_T}no" >&6
12663fi
12664
12665 # Extract the first word of "perl", so it can be a program name with args.
12666set dummy perl; ac_word=$2
12667echo "$as_me:$LINENO: checking for $ac_word" >&5
12668echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12669if test "${ac_cv_path_PERL+set}" = set; then
12670 echo $ECHO_N "(cached) $ECHO_C" >&6
12671else
12672 case $PERL in
12673 [\\/]* | ?:[\\/]*)
12674 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
12675 ;;
12676 *)
12677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12678for as_dir in $PATH
12679do
12680 IFS=$as_save_IFS
12681 test -z "$as_dir" && as_dir=.
12682 for ac_exec_ext in '' $ac_executable_extensions; do
12683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12684 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
12685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12686 break 2
12687 fi
12688done
12689done
12690
12691 ;;
12692esac
12693fi
12694PERL=$ac_cv_path_PERL
12695
12696if test -n "$PERL"; then
12697 echo "$as_me:$LINENO: result: $PERL" >&5
12698echo "${ECHO_T}$PERL" >&6
12699else
12700 echo "$as_me:$LINENO: result: no" >&5
12701echo "${ECHO_T}no" >&6
12702fi
12703
12704
12705 echo "$as_me:$LINENO: checking for $PERL suitability" >&5
12706echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6
12707 if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then
12708
12709 save_CXXFLAGS="$CXXFLAGS"
12710 save_LIBS="$LIBS"
12711 CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`"
12712 LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`"
12713 cat >conftest.$ac_ext <<_ACEOF
12714/* confdefs.h. */
12715_ACEOF
12716cat confdefs.h >>conftest.$ac_ext
12717cat >>conftest.$ac_ext <<_ACEOF
12718/* end confdefs.h. */
12719
12720#include <EXTERN.h>
12721#include <perl.h>
12722#include <XSUB.h>
12723
12724int
12725main ()
12726{
12727
12728 PerlInterpreter *perl = perl_alloc ();
12729
12730 ;
12731 return 0;
12732}
12733_ACEOF
12734rm -f conftest.$ac_objext conftest$ac_exeext
12735if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12736 (eval $ac_link) 2>conftest.er1
12737 ac_status=$?
12738 grep -v '^ *+' conftest.er1 >conftest.err
12739 rm -f conftest.er1
12740 cat conftest.err >&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); } &&
12743 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12746 ac_status=$?
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; } &&
12749 { ac_try='test -s conftest$ac_exeext'
12750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12751 (eval $ac_try) 2>&5
12752 ac_status=$?
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); }; }; then
12755 rxvt_perl_link=yes
12756else
12757 echo "$as_me: failed program was:" >&5
12758sed 's/^/| /' conftest.$ac_ext >&5
12759
12760rxvt_perl_link=no
12761fi
12762rm -f conftest.err conftest.$ac_objext \
12763 conftest$ac_exeext conftest.$ac_ext
12764 CXXFLAGS="$save_CXXFLAGS"
12765 LIBS="$save_LIBS"
12766
12767 if test x$rxvt_perl_link = xyes; then
12768 echo "$as_me:$LINENO: result: ok" >&5
12769echo "${ECHO_T}ok" >&6
12770
12771cat >>confdefs.h <<\_ACEOF
12772#define ENABLE_PERL 1
12773_ACEOF
12774
12775 IF_PERL=
12776 PERL_O=rxvtperl.o
12777 PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`"
12778 PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`"
12779 PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`"
12780 else
12781 { { echo "$as_me:$LINENO: error: no, unable to link" >&5
12782echo "$as_me: error: no, unable to link" >&2;}
12783 { (exit 1); exit 1; }; }
12784 fi
12785 else
12786 { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5
12787echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;}
12788 { (exit 1); exit 1; }; }
12789 fi
12790fi
12791
12792
12793
12794
12795
12796
12797
12798if test x$support_perl = xyes; then
12799 support_frills=yes
12800fi
12044 12801
12045 12802
12046CFLAGS=${CFLAGS--O} 12803CFLAGS=${CFLAGS--O}
12047LDFLAGS=${LDFLAGS--O} 12804LDFLAGS=${LDFLAGS--O}
12048 12805
12062 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` 12819 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
12063fi 12820fi
12064 12821
12065 12822
12066 12823
12067
12068
12069if test x$support_addstrings = xno; then
12070
12071cat >>confdefs.h <<\_ACEOF
12072#define NO_STRINGS 1
12073_ACEOF
12074
12075fi
12076
12077MCOMMON=./autoconf/Make.common
12078 12824
12079 12825
12080test "$program_prefix" != NONE && 12826test "$program_prefix" != NONE &&
12081 program_transform_name="s,^,$program_prefix,;$program_transform_name" 12827 program_transform_name="s,^,$program_prefix,;$program_transform_name"
12082# Use a double $ so make ignores it. 12828# Use a double $ so make ignores it.
12158 include_time_h="#include <time.h>" 12904 include_time_h="#include <time.h>"
12159else 12905else
12160 include_time_h="/* #include <time.h> */" 12906 include_time_h="/* #include <time.h> */"
12161fi 12907fi
12162 12908
12163 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" 12909 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h"
12164 12910
12165cat >confcache <<\_ACEOF 12911cat >confcache <<\_ACEOF
12166# This file is a shell script that caches the results of configure 12912# This file is a shell script that caches the results of configure
12167# tests run on this system so they can be shared between configure 12913# tests run on this system so they can be shared between configure
12168# scripts and configure runs, see configure's option --config-cache. 12914# scripts and configure runs, see configure's option --config-cache.
12685cat >>$CONFIG_STATUS <<\_ACEOF 13431cat >>$CONFIG_STATUS <<\_ACEOF
12686for ac_config_target in $ac_config_targets 13432for ac_config_target in $ac_config_targets
12687do 13433do
12688 case "$ac_config_target" in 13434 case "$ac_config_target" in
12689 # Handling of arguments. 13435 # Handling of arguments.
12690 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
12691 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13436 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12692 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 13437 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12693 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13438 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12694 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; 13439 "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
12695 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; 13440 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
12696 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13441 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12697echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13442echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12698 { (exit 1); exit 1; }; };; 13443 { (exit 1); exit 1; }; };;
12699 esac 13444 esac
12700done 13445done
12801s,@ac_ct_CXX@,$ac_ct_CXX,;t t 13546s,@ac_ct_CXX@,$ac_ct_CXX,;t t
12802s,@CPP@,$CPP,;t t 13547s,@CPP@,$CPP,;t t
12803s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 13548s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12804s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 13549s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12805s,@INSTALL_DATA@,$INSTALL_DATA,;t t 13550s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12806s,@AWK@,$AWK,;t t
12807s,@LINKER@,$LINKER,;t t 13551s,@LINKER@,$LINKER,;t t
12808s,@CXXCPP@,$CXXCPP,;t t 13552s,@CXXCPP@,$CXXCPP,;t t
12809s,@EGREP@,$EGREP,;t t 13553s,@EGREP@,$EGREP,;t t
12810s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 13554s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
12811s,@RXVTNAME@,$RXVTNAME,;t t 13555s,@RXVTNAME@,$RXVTNAME,;t t
12814s,@CP@,$CP,;t t 13558s,@CP@,$CP,;t t
12815s,@LN@,$LN,;t t 13559s,@LN@,$LN,;t t
12816s,@SED@,$SED,;t t 13560s,@SED@,$SED,;t t
12817s,@ECHO@,$ECHO,;t t 13561s,@ECHO@,$ECHO,;t t
12818s,@CMP@,$CMP,;t t 13562s,@CMP@,$CMP,;t t
12819s,@TBL@,$TBL,;t t
12820s,@TIC@,$TIC,;t t 13563s,@TIC@,$TIC,;t t
12821s,@X_CFLAGS@,$X_CFLAGS,;t t 13564s,@X_CFLAGS@,$X_CFLAGS,;t t
12822s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t 13565s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
12823s,@X_LIBS@,$X_LIBS,;t t 13566s,@X_LIBS@,$X_LIBS,;t t
12824s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t 13567s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
12829s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t 13572s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t
12830s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t 13573s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t
12831s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t 13574s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t
12832s,@rxvt_intp_define@,$rxvt_intp_define,;t t 13575s,@rxvt_intp_define@,$rxvt_intp_define,;t t
12833s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t 13576s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t
13577s,@PERL@,$PERL,;t t
13578s,@PERLLIB@,$PERLLIB,;t t
13579s,@PERLFLAGS@,$PERLFLAGS,;t t
13580s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t
13581s,@IF_PERL@,$IF_PERL,;t t
13582s,@PERL_O@,$PERL_O,;t t
12834s,@DEBUG@,$DEBUG,;t t 13583s,@DEBUG@,$DEBUG,;t t
12835s,@DINCLUDE@,$DINCLUDE,;t t 13584s,@DINCLUDE@,$DINCLUDE,;t t
12836s,@DLIB@,$DLIB,;t t 13585s,@DLIB@,$DLIB,;t t
12837s,@include_stdint_h@,$include_stdint_h,;t t 13586s,@include_stdint_h@,$include_stdint_h,;t t
12838s,@include_stdarg_h@,$include_stdarg_h,;t t 13587s,@include_stdarg_h@,$include_stdarg_h,;t t
12847s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t 13596s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t
12848s,@include_sys_time_h@,$include_sys_time_h,;t t 13597s,@include_sys_time_h@,$include_sys_time_h,;t t
12849s,@include_time_h@,$include_time_h,;t t 13598s,@include_time_h@,$include_time_h,;t t
12850s,@LIBOBJS@,$LIBOBJS,;t t 13599s,@LIBOBJS@,$LIBOBJS,;t t
12851s,@LTLIBOBJS@,$LTLIBOBJS,;t t 13600s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12852/@MCOMMON@/r $MCOMMON
12853s,@MCOMMON@,,;t t
12854CEOF 13601CEOF
12855 13602
12856_ACEOF 13603_ACEOF
12857 13604
12858 cat >>$CONFIG_STATUS <<\_ACEOF 13605 cat >>$CONFIG_STATUS <<\_ACEOF
13379 utmp file: $rxvt_cv_path_utmp 14126 utmp file: $rxvt_cv_path_utmp
13380 utmpx file: $rxvt_cv_path_utmpx 14127 utmpx file: $rxvt_cv_path_utmpx
13381 wtmp file: $rxvt_cv_path_wtmp 14128 wtmp file: $rxvt_cv_path_wtmp
13382 wtmpx file: $rxvt_cv_path_wtmpx 14129 wtmpx file: $rxvt_cv_path_wtmpx
13383 lastlog file: $rxvt_cv_path_lastlog 14130 lastlog file: $rxvt_cv_path_lastlog
13384 ttys/ttytab file: $rxvt_cv_path_ttytab" 14131 ttys/ttytab file: $rxvt_cv_path_ttytab
14132 embedded perl: $support_perl"
13385 echo 14133 echo
13386fi 14134fi
13387if test x$term != x; then 14135if test x$term != x; then
13388 echo " set TERM to: $term" 14136 echo " set TERM to: $term"
13389fi 14137fi
13418 echo ". functions could not be found. ." 14166 echo ". functions could not be found. ."
13419 echo ". XIM is now being DISABLED! ." 14167 echo ". XIM is now being DISABLED! ."
13420 echo ".----------------------------------------------------------------." 14168 echo ".----------------------------------------------------------------."
13421fi 14169fi
13422 14170
13423echo " *** Please check src/feature.h for further options ***" 14171echo " *** Optionally check src/feature.h for further options ***"
13424echo 14172echo
13425 14173
13426echo ".----------------------------------------------------------------." 14174echo ".----------------------------------------------------------------."
13427echo ". NOTE: most features are disabled by default, try ." 14175echo ". NOTE: some features are disabled by default, try ."
13428echo ". configure --help to get an idea of the optional features ." 14176echo ". configure --help to get an idea of the optional features, ."
14177echo ". or read ./README.configure ."
14178echo ". ."
14179echo ". The script ./reconf gives a reasonable baseline, try it if ."
14180echo ". you do not want to read documentation and still want some ."
14181echo ". useful features. ."
13429echo ".----------------------------------------------------------------." 14182echo ".----------------------------------------------------------------."
13430echo 14183echo
13431 14184

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines