… | |
… | |
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 | |
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP 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 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' |
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA 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' |
313 | ac_subst_files='MCOMMON' |
313 | ac_subst_files='' |
314 | |
314 | |
315 | # Initialize some variables set by options. |
315 | # Initialize some variables set by options. |
316 | ac_init_help= |
316 | ac_init_help= |
317 | ac_init_version=false |
317 | ac_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 |
886 | --enable-perl enable embedded perl interpreter |
885 | --enable-perl enable embedded perl interpreter |
887 | --enable-plain-scroll enable plain style scrollbar |
886 | --enable-plain-scroll enable plain style scrollbar |
888 | --enable-half-shadow use half width/height shadow on rxvt scrollbar |
|
|
889 | --enable-xim XIM (X Input Method) protocol support |
887 | --enable-xim XIM (X Input Method) protocol support |
890 | --enable-ttygid enable tty setting to group named "tty" |
888 | --enable-ttygid enable tty setting to group named "tty" |
891 | --disable-backspace-key disable handling of the backspace key |
889 | --disable-backspace-key disable handling of the backspace key |
892 | --disable-delete-key disable handling of the delete key |
890 | --disable-delete-key disable handling of the delete key |
893 | --disable-resources disable all resource checking |
891 | --disable-resources disable all resource checking |
894 | --enable-xgetdefault enable resources via X instead of our small version |
|
|
895 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
892 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
896 | --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) |
897 | --enable-strings enable some replacement system functions |
|
|
898 | --disable-swapscreen disable swap screen support |
894 | --disable-swapscreen disable swap screen support |
899 | --enable-iso14755 enable support for extended ISO 14755 modes |
895 | --enable-iso14755 enable support for extended ISO 14755 modes |
900 | --enable-frills enable support for rarely used features |
896 | --enable-frills enable support for rarely used features |
901 | --enable-24bit enable support for using 24bit visuals if available |
897 | --enable-24bit enable support for using 24bit visuals if available |
902 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
898 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
… | |
… | |
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 | |
1378 | ac_aux_dir= |
1378 | ac_aux_dir= |
1379 | for ac_dir in autoconf $srcdir/autoconf; do |
1379 | for 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 |
1393 | done |
1393 | done |
1394 | if test -z "$ac_aux_dir"; then |
1394 | if 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 |
1396 | echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;} |
1396 | echo "$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; }; } |
1398 | fi |
1398 | fi |
1399 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1399 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1400 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1400 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1401 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1401 | ac_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 |
1409 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1406 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
… | |
… | |
1461 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1458 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1462 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1459 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1463 | echo "" |
1460 | echo "" |
1464 | echo "configuring for rxvt $VERSION" |
1461 | echo "configuring for rxvt $VERSION" |
1465 | echo "" |
1462 | echo "" |
|
|
1463 | |
|
|
1464 | orig_CXXFLAGS="$CXXFLAGS" |
1466 | |
1465 | |
1467 | |
1466 | |
1468 | ac_ext=c |
1467 | ac_ext=c |
1469 | ac_cpp='$CPP $CPPFLAGS' |
1468 | ac_cpp='$CPP $CPPFLAGS' |
1470 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1469 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
3051 | |
3050 | |
3052 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3051 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3053 | |
3052 | |
3054 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3053 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3055 | |
3054 | |
3056 | for ac_prog in gawk mawk nawk awk |
|
|
3057 | do |
|
|
3058 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3059 | set dummy $ac_prog; ac_word=$2 |
|
|
3060 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
3061 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
3062 | if test "${ac_cv_prog_AWK+set}" = set; then |
|
|
3063 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3064 | else |
|
|
3065 | if test -n "$AWK"; then |
|
|
3066 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
3067 | else |
|
|
3068 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3069 | for as_dir in $PATH |
|
|
3070 | do |
|
|
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 |
|
|
3079 | done |
|
|
3080 | done |
|
|
3081 | |
|
|
3082 | fi |
|
|
3083 | fi |
|
|
3084 | AWK=$ac_cv_prog_AWK |
|
|
3085 | if test -n "$AWK"; then |
|
|
3086 | echo "$as_me:$LINENO: result: $AWK" >&5 |
|
|
3087 | echo "${ECHO_T}$AWK" >&6 |
|
|
3088 | else |
|
|
3089 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
3090 | echo "${ECHO_T}no" >&6 |
|
|
3091 | fi |
|
|
3092 | |
|
|
3093 | test -n "$AWK" && break |
|
|
3094 | done |
|
|
3095 | |
|
|
3096 | |
3055 | |
3097 | ac_ext=c |
3056 | ac_ext=c |
3098 | ac_cpp='$CPP $CPPFLAGS' |
3057 | ac_cpp='$CPP $CPPFLAGS' |
3099 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3058 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3100 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3059 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3101 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3060 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3102 | |
3061 | |
3103 | |
3062 | |
3104 | if test -z "$orig_CXXFLAGS"; then |
3063 | if 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" |
3110 | fi |
3070 | fi |
3111 | |
3071 | |
3112 | LINKER="$CXX" |
3072 | LINKER="$CXX" |
… | |
… | |
4318 | conftest$ac_exeext conftest.$ac_ext |
4278 | conftest$ac_exeext conftest.$ac_ext |
4319 | |
4279 | |
4320 | |
4280 | |
4321 | MALLOC_TYPE=S |
4281 | MALLOC_TYPE=S |
4322 | |
4282 | |
4323 | support_addstrings=no |
|
|
4324 | support_frills=yes |
4283 | support_frills=yes |
4325 | support_inheritpixmap=yes |
4284 | support_inheritpixmap=yes |
4326 | support_tinting=yes |
4285 | support_tinting=yes |
4327 | support_fading=yes |
4286 | support_fading=yes |
4328 | support_keepscrolling=yes |
4287 | support_keepscrolling=yes |
4329 | support_selectionscrolling=yes |
4288 | support_selectionscrolling=yes |
4330 | support_menubar=no |
|
|
4331 | support_mousewheel=yes |
4289 | support_mousewheel=yes |
4332 | support_mouseslipwheel=yes |
4290 | support_mouseslipwheel=yes |
4333 | support_utmp=yes |
4291 | support_utmp=yes |
4334 | support_wtmp=yes |
4292 | support_wtmp=yes |
4335 | support_lastlog=yes |
4293 | support_lastlog=yes |
… | |
… | |
4372 | support_tinting=no |
4330 | support_tinting=no |
4373 | support_fading=no |
4331 | support_fading=no |
4374 | support_keepscrolling=no |
4332 | support_keepscrolling=no |
4375 | support_selectionscrolling=no |
4333 | support_selectionscrolling=no |
4376 | support_lastlog=no |
4334 | support_lastlog=no |
4377 | support_menubar=no |
|
|
4378 | support_mousewheel=no |
4335 | support_mousewheel=no |
4379 | support_mouseslipwheel=no |
4336 | support_mouseslipwheel=no |
4380 | support_text_blink=no |
4337 | support_text_blink=no |
4381 | support_pointer_blank=no |
4338 | support_pointer_blank=no |
4382 | support_scroll_rxvt=no |
4339 | support_scroll_rxvt=no |
… | |
… | |
4403 | support_tinting=yes |
4360 | support_tinting=yes |
4404 | support_fading=yes |
4361 | support_fading=yes |
4405 | support_keepscrolling=yes |
4362 | support_keepscrolling=yes |
4406 | support_selectionscrolling=yes |
4363 | support_selectionscrolling=yes |
4407 | support_lastlog=yes |
4364 | support_lastlog=yes |
4408 | support_menubar=yes |
|
|
4409 | support_mousewheel=yes |
4365 | support_mousewheel=yes |
4410 | support_mouseslipwheel=yes |
4366 | support_mouseslipwheel=yes |
4411 | support_text_blink=yes |
4367 | support_text_blink=yes |
4412 | support_pointer_blank=yes |
4368 | support_pointer_blank=yes |
4413 | support_scroll_rxvt=yes |
4369 | support_scroll_rxvt=yes |
… | |
… | |
4516 | if test x$enableval = xyes -o x$enableval = xno; then |
4472 | if test x$enableval = xyes -o x$enableval = xno; then |
4517 | support_fading=$enableval |
4473 | support_fading=$enableval |
4518 | fi |
4474 | fi |
4519 | fi; |
4475 | fi; |
4520 | |
4476 | |
4521 | # Check whether --enable-menubar or --disable-menubar was given. |
|
|
4522 | if test "${enable_menubar+set}" = set; then |
|
|
4523 | enableval="$enable_menubar" |
|
|
4524 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4525 | support_menubar=$enableval |
|
|
4526 | fi |
|
|
4527 | fi; |
|
|
4528 | |
|
|
4529 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
4477 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
4530 | if test "${enable_rxvt_scroll+set}" = set; then |
4478 | if test "${enable_rxvt_scroll+set}" = set; then |
4531 | enableval="$enable_rxvt_scroll" |
4479 | enableval="$enable_rxvt_scroll" |
4532 | if test x$enableval = xyes -o x$enableval = xno; then |
4480 | if test x$enableval = xyes -o x$enableval = xno; then |
4533 | support_scroll_rxvt=$enableval |
4481 | support_scroll_rxvt=$enableval |
… | |
… | |
4564 | if test x$enableval = xyes -o x$enableval = xno; then |
4512 | if test x$enableval = xyes -o x$enableval = xno; then |
4565 | support_scroll_plain=$enableval |
4513 | support_scroll_plain=$enableval |
4566 | fi |
4514 | fi |
4567 | fi; |
4515 | fi; |
4568 | |
4516 | |
4569 | # Check whether --enable-half-shadow or --disable-half-shadow was given. |
|
|
4570 | if test "${enable_half_shadow+set}" = set; then |
|
|
4571 | enableval="$enable_half_shadow" |
|
|
4572 | if test x$enableval = xyes; then |
|
|
4573 | |
|
|
4574 | cat >>confdefs.h <<\_ACEOF |
|
|
4575 | #define HALFSHADOW 1 |
|
|
4576 | _ACEOF |
|
|
4577 | |
|
|
4578 | fi |
|
|
4579 | fi; |
|
|
4580 | |
4517 | |
4581 | |
4518 | |
4582 | # Check whether --with-codesets or --without-codesets was given. |
4519 | # Check whether --with-codesets or --without-codesets was given. |
4583 | if test "${with_codesets+set}" = set; then |
4520 | if test "${with_codesets+set}" = set; then |
4584 | withval="$with_codesets" |
4521 | withval="$with_codesets" |
… | |
… | |
4639 | _ACEOF |
4576 | _ACEOF |
4640 | |
4577 | |
4641 | fi |
4578 | fi |
4642 | fi; |
4579 | fi; |
4643 | |
4580 | |
4644 | # Check whether --enable-xgetdefault or --disable-xgetdefault was given. |
|
|
4645 | if test "${enable_xgetdefault+set}" = set; then |
|
|
4646 | enableval="$enable_xgetdefault" |
|
|
4647 | if test x$enableval = xyes; then |
|
|
4648 | |
|
|
4649 | cat >>confdefs.h <<\_ACEOF |
|
|
4650 | #define USE_XGETDEFAULT 1 |
|
|
4651 | _ACEOF |
|
|
4652 | |
|
|
4653 | fi |
|
|
4654 | fi; |
|
|
4655 | |
|
|
4656 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
4581 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
4657 | if test "${enable_8bitctrls+set}" = set; then |
4582 | if test "${enable_8bitctrls+set}" = set; then |
4658 | enableval="$enable_8bitctrls" |
4583 | enableval="$enable_8bitctrls" |
4659 | if test x$enableval = xyes -o x$enableval = xno; then |
4584 | if test x$enableval = xyes -o x$enableval = xno; then |
4660 | support_8bitctrls=$enableval |
4585 | support_8bitctrls=$enableval |
… | |
… | |
4719 | _ACEOF |
4644 | _ACEOF |
4720 | |
4645 | |
4721 | |
4646 | |
4722 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4647 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4723 | |
4648 | |
4724 | |
|
|
4725 | # Check whether --enable-strings or --disable-strings was given. |
|
|
4726 | if test "${enable_strings+set}" = set; then |
|
|
4727 | enableval="$enable_strings" |
|
|
4728 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4729 | support_addstrings=$enableval |
|
|
4730 | fi |
|
|
4731 | fi; |
|
|
4732 | |
4649 | |
4733 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4650 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4734 | if test "${enable_swapscreen+set}" = set; then |
4651 | if test "${enable_swapscreen+set}" = set; then |
4735 | enableval="$enable_swapscreen" |
4652 | enableval="$enable_swapscreen" |
4736 | if test x$enableval = xno; then |
4653 | if test x$enableval = xno; then |
… | |
… | |
4871 | #define RXVT_TERMINFO "$withval" |
4788 | #define RXVT_TERMINFO "$withval" |
4872 | _ACEOF |
4789 | _ACEOF |
4873 | terminfo="$withval" |
4790 | terminfo="$withval" |
4874 | fi |
4791 | fi |
4875 | fi; |
4792 | fi; |
4876 | |
|
|
4877 | |
|
|
4878 | |
|
|
4879 | cat >>confdefs.h <<\_ACEOF |
|
|
4880 | #define PROTOTYPES 1 |
|
|
4881 | _ACEOF |
|
|
4882 | |
4793 | |
4883 | |
4794 | |
4884 | # 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. |
4885 | set dummy mv; ac_word=$2 |
4796 | set dummy mv; ac_word=$2 |
4886 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4797 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
5154 | CMP=$ac_cv_path_CMP |
5065 | CMP=$ac_cv_path_CMP |
5155 | |
5066 | |
5156 | if test -n "$CMP"; then |
5067 | if test -n "$CMP"; then |
5157 | echo "$as_me:$LINENO: result: $CMP" >&5 |
5068 | echo "$as_me:$LINENO: result: $CMP" >&5 |
5158 | echo "${ECHO_T}$CMP" >&6 |
5069 | echo "${ECHO_T}$CMP" >&6 |
5159 | else |
|
|
5160 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5161 | echo "${ECHO_T}no" >&6 |
|
|
5162 | fi |
|
|
5163 | |
|
|
5164 | # Extract the first word of "tbl", so it can be a program name with args. |
|
|
5165 | set dummy tbl; ac_word=$2 |
|
|
5166 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5167 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5168 | if test "${ac_cv_path_TBL+set}" = set; then |
|
|
5169 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5170 | else |
|
|
5171 | case $TBL in |
|
|
5172 | [\\/]* | ?:[\\/]*) |
|
|
5173 | ac_cv_path_TBL="$TBL" # Let the user override the test with a path. |
|
|
5174 | ;; |
|
|
5175 | *) |
|
|
5176 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5177 | for as_dir in $PATH |
|
|
5178 | do |
|
|
5179 | IFS=$as_save_IFS |
|
|
5180 | test -z "$as_dir" && as_dir=. |
|
|
5181 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5182 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5183 | ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext" |
|
|
5184 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5185 | break 2 |
|
|
5186 | fi |
|
|
5187 | done |
|
|
5188 | done |
|
|
5189 | |
|
|
5190 | ;; |
|
|
5191 | esac |
|
|
5192 | fi |
|
|
5193 | TBL=$ac_cv_path_TBL |
|
|
5194 | |
|
|
5195 | if test -n "$TBL"; then |
|
|
5196 | echo "$as_me:$LINENO: result: $TBL" >&5 |
|
|
5197 | echo "${ECHO_T}$TBL" >&6 |
|
|
5198 | else |
5070 | else |
5199 | echo "$as_me:$LINENO: result: no" >&5 |
5071 | echo "$as_me:$LINENO: result: no" >&5 |
5200 | echo "${ECHO_T}no" >&6 |
5072 | echo "${ECHO_T}no" >&6 |
5201 | fi |
5073 | fi |
5202 | |
5074 | |
… | |
… | |
7308 | |
7180 | |
7309 | |
7181 | |
7310 | |
7182 | |
7311 | |
7183 | |
7312 | |
7184 | |
|
|
7185 | |
|
|
7186 | |
7313 | for ac_header in \ |
7187 | for ac_header in \ |
7314 | assert.h \ |
7188 | assert.h \ |
7315 | fcntl.h \ |
7189 | fcntl.h \ |
7316 | grp.h \ |
7190 | grp.h \ |
7317 | libc.h \ |
7191 | libc.h \ |
… | |
… | |
7330 | sys/time.h \ |
7204 | sys/time.h \ |
7331 | utmp.h \ |
7205 | utmp.h \ |
7332 | utmpx.h \ |
7206 | utmpx.h \ |
7333 | stdint.h \ |
7207 | stdint.h \ |
7334 | pty.h \ |
7208 | pty.h \ |
|
|
7209 | util.h \ |
|
|
7210 | libutil.h \ |
7335 | wchar.h \ |
7211 | wchar.h \ |
7336 | cwchar \ |
7212 | cwchar \ |
7337 | clocale \ |
7213 | clocale \ |
7338 | |
7214 | |
7339 | do |
7215 | do |
… | |
… | |
10169 | #define RETSIGTYPE $ac_cv_type_signal |
10045 | #define RETSIGTYPE $ac_cv_type_signal |
10170 | _ACEOF |
10046 | _ACEOF |
10171 | |
10047 | |
10172 | |
10048 | |
10173 | |
10049 | |
10174 | case "$host_alias" in |
|
|
10175 | *ultrix) ac_cv_func_setsid='no' ;; |
|
|
10176 | *) break;; |
|
|
10177 | esac |
|
|
10178 | |
|
|
10179 | |
|
|
10180 | |
|
|
10181 | |
10050 | |
10182 | |
10051 | |
10183 | |
10052 | |
10184 | |
10053 | |
10185 | |
10054 | |
… | |
… | |
10194 | |
10063 | |
10195 | |
10064 | |
10196 | |
10065 | |
10197 | |
10066 | |
10198 | for ac_func in \ |
10067 | for ac_func in \ |
10199 | atexit \ |
|
|
10200 | revoke \ |
10068 | revoke \ |
10201 | unsetenv \ |
10069 | unsetenv \ |
10202 | setutent \ |
10070 | setutent \ |
10203 | seteuid \ |
10071 | seteuid \ |
|
|
10072 | setresuid \ |
10204 | setreuid \ |
10073 | setreuid \ |
10205 | setsid \ |
|
|
10206 | setpgrp \ |
|
|
10207 | setpgid \ |
|
|
10208 | openpty \ |
|
|
10209 | _getpty \ |
10074 | _getpty \ |
|
|
10075 | getpt \ |
|
|
10076 | posix_openpt \ |
10210 | grantpt \ |
10077 | grantpt \ |
10211 | unlockpt \ |
10078 | unlockpt \ |
10212 | isastream \ |
10079 | isastream \ |
10213 | on_exit \ |
10080 | on_exit \ |
10214 | nanosleep \ |
10081 | nanosleep \ |
… | |
… | |
10464 | _ACEOF |
10331 | _ACEOF |
10465 | cat confdefs.h >>conftest.$ac_ext |
10332 | cat confdefs.h >>conftest.$ac_ext |
10466 | cat >>conftest.$ac_ext <<_ACEOF |
10333 | cat >>conftest.$ac_ext <<_ACEOF |
10467 | /* end confdefs.h. */ |
10334 | /* end confdefs.h. */ |
10468 | #include <sys/types.h> |
10335 | #include <sys/types.h> |
10469 | #include <stdint.h> |
|
|
10470 | #include <utmp.h> |
10336 | #include <utmp.h> |
10471 | int |
10337 | int |
10472 | main () |
10338 | main () |
10473 | { |
10339 | { |
10474 | struct utmp ut; |
10340 | struct utmp ut; |
… | |
… | |
11935 | |
11801 | |
11936 | cat >>confdefs.h <<\_ACEOF |
11802 | cat >>confdefs.h <<\_ACEOF |
11937 | #define HAVE_UNIX_FDPASS 1 |
11803 | #define HAVE_UNIX_FDPASS 1 |
11938 | _ACEOF |
11804 | _ACEOF |
11939 | |
11805 | |
|
|
11806 | else |
|
|
11807 | { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5 |
|
|
11808 | echo "$as_me: error: urxvt requires unix-compliant filehandle passing ability" >&2;} |
|
|
11809 | { (exit 1); exit 1; }; } |
11940 | fi |
11810 | fi |
11941 | |
11811 | |
11942 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11812 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11943 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11813 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11944 | if test "${rxvt_broken_ximcb+set}" = set; then |
11814 | if test "${rxvt_broken_ximcb+set}" = set; then |
… | |
… | |
11995 | #define XIMCB_PROTO_BROKEN 1 |
11865 | #define XIMCB_PROTO_BROKEN 1 |
11996 | _ACEOF |
11866 | _ACEOF |
11997 | |
11867 | |
11998 | fi |
11868 | fi |
11999 | |
11869 | |
|
|
11870 | if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then |
12000 | echo "$as_me:$LINENO: checking for getpt" >&5 |
11871 | echo "$as_me:$LINENO: checking for openpty" >&5 |
12001 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
11872 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
12002 | if test "${rxvt_cv_func_getpt+set}" = set; then |
11873 | if test "${ac_cv_func_openpty+set}" = set; then |
12003 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11874 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12004 | else |
11875 | else |
12005 | cat >conftest.$ac_ext <<_ACEOF |
11876 | cat >conftest.$ac_ext <<_ACEOF |
12006 | /* confdefs.h. */ |
11877 | /* confdefs.h. */ |
12007 | _ACEOF |
11878 | _ACEOF |
12008 | cat confdefs.h >>conftest.$ac_ext |
11879 | cat confdefs.h >>conftest.$ac_ext |
12009 | cat >>conftest.$ac_ext <<_ACEOF |
11880 | cat >>conftest.$ac_ext <<_ACEOF |
12010 | /* end confdefs.h. */ |
11881 | /* end confdefs.h. */ |
12011 | #define _GNU_SOURCE |
11882 | /* Define openpty to an innocuous variant, in case <limits.h> declares openpty. |
12012 | #ifdef HAVE_STDLIB_H |
11883 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12013 | # 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> |
12014 | #endif |
11895 | #endif |
|
|
11896 | |
|
|
11897 | #undef openpty |
|
|
11898 | |
|
|
11899 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
11900 | #ifdef __cplusplus |
|
|
11901 | extern "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. */ |
|
|
11906 | char 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) |
|
|
11911 | choke me |
|
|
11912 | #else |
|
|
11913 | char (*f) () = openpty; |
|
|
11914 | #endif |
|
|
11915 | #ifdef __cplusplus |
|
|
11916 | } |
|
|
11917 | #endif |
|
|
11918 | |
12015 | int |
11919 | int |
12016 | main () |
11920 | main () |
12017 | { |
11921 | { |
12018 | (void)getpt(); |
11922 | return f != openpty; |
12019 | ; |
11923 | ; |
12020 | return 0; |
11924 | return 0; |
12021 | } |
11925 | } |
12022 | _ACEOF |
11926 | _ACEOF |
12023 | rm -f conftest.$ac_objext conftest$ac_exeext |
11927 | rm -f conftest.$ac_objext conftest$ac_exeext |
… | |
… | |
12039 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12040 | (eval $ac_try) 2>&5 |
11944 | (eval $ac_try) 2>&5 |
12041 | ac_status=$? |
11945 | ac_status=$? |
12042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12043 | (exit $ac_status); }; }; then |
11947 | (exit $ac_status); }; }; then |
12044 | rxvt_cv_func_getpt=yes |
11948 | ac_cv_func_openpty=yes |
12045 | else |
11949 | else |
12046 | echo "$as_me: failed program was:" >&5 |
11950 | echo "$as_me: failed program was:" >&5 |
12047 | sed 's/^/| /' conftest.$ac_ext >&5 |
11951 | sed 's/^/| /' conftest.$ac_ext >&5 |
12048 | |
11952 | |
12049 | rxvt_cv_func_getpt=no |
11953 | ac_cv_func_openpty=no |
12050 | fi |
11954 | fi |
12051 | rm -f conftest.err conftest.$ac_objext \ |
11955 | rm -f conftest.err conftest.$ac_objext \ |
12052 | conftest$ac_exeext conftest.$ac_ext |
11956 | conftest$ac_exeext conftest.$ac_ext |
12053 | fi |
11957 | fi |
12054 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
11958 | echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 |
12055 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
11959 | echo "${ECHO_T}$ac_cv_func_openpty" >&6 |
12056 | if test x$rxvt_cv_func_getpt = xyes; then |
11960 | if test $ac_cv_func_openpty = yes; then |
12057 | |
11961 | : |
|
|
11962 | else |
|
|
11963 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
11964 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
11965 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
11966 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11967 | else |
|
|
11968 | ac_check_lib_save_LIBS=$LIBS |
|
|
11969 | LIBS="-lutil $LIBS" |
|
|
11970 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11971 | /* confdefs.h. */ |
|
|
11972 | _ACEOF |
|
|
11973 | cat confdefs.h >>conftest.$ac_ext |
12058 | cat >>confdefs.h <<\_ACEOF |
11974 | cat >>conftest.$ac_ext <<_ACEOF |
12059 | #define HAVE_GETPT 1 |
11975 | /* end confdefs.h. */ |
|
|
11976 | |
|
|
11977 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
11978 | #ifdef __cplusplus |
|
|
11979 | extern "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. */ |
|
|
11983 | char openpty (); |
|
|
11984 | int |
|
|
11985 | main () |
|
|
11986 | { |
|
|
11987 | openpty (); |
|
|
11988 | ; |
|
|
11989 | return 0; |
|
|
11990 | } |
12060 | _ACEOF |
11991 | _ACEOF |
|
|
11992 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11993 | if { (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 |
|
|
12014 | else |
|
|
12015 | echo "$as_me: failed program was:" >&5 |
|
|
12016 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12017 | |
|
|
12018 | ac_cv_lib_util_openpty=no |
|
|
12019 | fi |
|
|
12020 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12021 | conftest$ac_exeext conftest.$ac_ext |
|
|
12022 | LIBS=$ac_check_lib_save_LIBS |
|
|
12023 | fi |
|
|
12024 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12025 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12026 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12027 | LIBS="$LIBS -lutil" |
|
|
12028 | fi |
|
|
12029 | |
|
|
12030 | fi |
12061 | |
12031 | |
12062 | fi |
12032 | fi |
12063 | |
12033 | |
12064 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12034 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12065 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12035 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12066 | if test "${rxvt_cv_ptys+set}" = set; then |
12036 | if test "${rxvt_cv_ptys+set}" = set; then |
12067 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12037 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12068 | else |
12038 | else |
12069 | 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 |
12070 | 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 |
12071 | else if test x$ac_cv_func__getpty = xyes; then |
12045 | else if test x$ac_cv_func__getpty = xyes; then |
12072 | rxvt_cv_ptys=SGI4 |
12046 | rxvt_cv_ptys=SGI4 |
12073 | else if test -c /dev/ttyp20; then |
12047 | else if test -c /dev/ttyp20; then |
12074 | rxvt_cv_ptys=SCO |
12048 | rxvt_cv_ptys=SCO |
12075 | else if test -c /dev/ptym/clone; then |
12049 | else if test -c /dev/ptym/clone; then |
12076 | rxvt_cv_ptys=HPUX |
12050 | rxvt_cv_ptys=HPUX |
12077 | else if test x$rxvt_cv_func_getpt = xyes; then |
|
|
12078 | rxvt_cv_ptys=GLIBC |
|
|
12079 | else if test -c /dev/ptc -a -c /dev/pts; then |
12051 | else if test -c /dev/ptc -a -c /dev/pts; then |
12080 | rxvt_cv_ptys=PTC |
12052 | rxvt_cv_ptys=PTC |
12081 | else if test -c /dev/ptc -a -d /dev/pts; then |
12053 | else if test -c /dev/ptc -a -d /dev/pts; then |
12082 | rxvt_cv_ptys=PTC |
12054 | rxvt_cv_ptys=PTC |
12083 | 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 |
… | |
… | |
12093 | fi |
12065 | fi |
12094 | fi |
12066 | fi |
12095 | fi |
12067 | fi |
12096 | fi |
12068 | fi |
12097 | fi |
12069 | fi |
|
|
12070 | fi |
12098 | |
12071 | |
12099 | fi |
12072 | fi |
12100 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12073 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12101 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12074 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12102 | |
12075 | |
|
|
12076 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
12077 | |
|
|
12078 | cat >>confdefs.h <<\_ACEOF |
|
|
12079 | #define PTYS_ARE_GETPT 1 |
|
|
12080 | _ACEOF |
|
|
12081 | |
|
|
12082 | fi |
|
|
12083 | if test x$rxvt_cv_ptys = xPOSIX; then |
|
|
12084 | |
|
|
12085 | cat >>confdefs.h <<\_ACEOF |
|
|
12086 | #define PTYS_ARE_POSIX 1 |
|
|
12087 | _ACEOF |
|
|
12088 | |
|
|
12089 | fi |
12103 | if test x$rxvt_cv_ptys = xOPENPTY; then |
12090 | if test x$rxvt_cv_ptys = xOPENPTY; then |
12104 | |
12091 | |
12105 | cat >>confdefs.h <<\_ACEOF |
12092 | cat >>confdefs.h <<\_ACEOF |
12106 | #define PTYS_ARE_OPENPTY 1 |
12093 | #define PTYS_ARE_OPENPTY 1 |
12107 | _ACEOF |
12094 | _ACEOF |
… | |
… | |
12133 | cat >>confdefs.h <<\_ACEOF |
12120 | cat >>confdefs.h <<\_ACEOF |
12134 | #define PTYS_ARE__GETPTY 1 |
12121 | #define PTYS_ARE__GETPTY 1 |
12135 | _ACEOF |
12122 | _ACEOF |
12136 | |
12123 | |
12137 | fi |
12124 | fi |
12138 | if test x$rxvt_cv_ptys = xCONVEX; then |
|
|
12139 | |
|
|
12140 | cat >>confdefs.h <<\_ACEOF |
|
|
12141 | #define PTYS_ARE_GETPTY 1 |
|
|
12142 | _ACEOF |
|
|
12143 | |
|
|
12144 | fi |
|
|
12145 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
12146 | |
|
|
12147 | cat >>confdefs.h <<\_ACEOF |
|
|
12148 | #define PTYS_ARE_GETPT 1 |
|
|
12149 | _ACEOF |
|
|
12150 | |
|
|
12151 | fi |
|
|
12152 | if test x$rxvt_cv_ptys = xHPUX; then |
12125 | if test x$rxvt_cv_ptys = xHPUX; then |
12153 | |
12126 | |
12154 | cat >>confdefs.h <<\_ACEOF |
12127 | cat >>confdefs.h <<\_ACEOF |
12155 | #define PTYS_ARE_CLONE 1 |
12128 | #define PTYS_ARE_CLONE 1 |
12156 | _ACEOF |
12129 | _ACEOF |
12157 | |
12130 | |
12158 | fi |
12131 | fi |
12159 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
12132 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then |
12160 | |
12133 | |
12161 | cat >>confdefs.h <<\_ACEOF |
12134 | cat >>confdefs.h <<\_ACEOF |
12162 | #define PTYS_ARE_SEARCHED 1 |
12135 | #define PTYS_ARE_SEARCHED 1 |
12163 | _ACEOF |
12136 | _ACEOF |
12164 | |
12137 | |
… | |
… | |
12185 | |
12158 | |
12186 | fi |
12159 | fi |
12187 | |
12160 | |
12188 | if test x$support_xft = xyes; then |
12161 | if test x$support_xft = xyes; then |
12189 | LIBS="$LIBS `pkg-config xft --libs`" |
12162 | LIBS="$LIBS `pkg-config xft --libs`" |
12190 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
12191 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12163 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12192 | |
12164 | |
12193 | |
12165 | |
12194 | for ac_header in X11/Xft/Xft.h |
12166 | for ac_header in X11/Xft/Xft.h |
12195 | do |
12167 | do |
… | |
… | |
12479 | cat >>confdefs.h <<\_ACEOF |
12451 | cat >>confdefs.h <<\_ACEOF |
12480 | #define SELECTION_SCROLLING 1 |
12452 | #define SELECTION_SCROLLING 1 |
12481 | _ACEOF |
12453 | _ACEOF |
12482 | |
12454 | |
12483 | fi |
12455 | fi |
12484 | if test x$support_menubar = xyes; then |
|
|
12485 | |
|
|
12486 | cat >>confdefs.h <<\_ACEOF |
|
|
12487 | #define MENUBAR 1 |
|
|
12488 | _ACEOF |
|
|
12489 | |
|
|
12490 | fi |
|
|
12491 | if test x$support_frills = xyes; then |
12456 | if test x$support_frills = xyes; then |
12492 | |
12457 | |
12493 | cat >>confdefs.h <<\_ACEOF |
12458 | cat >>confdefs.h <<\_ACEOF |
12494 | #define ENABLE_FRILLS 1 |
12459 | #define ENABLE_FRILLS 1 |
12495 | _ACEOF |
12460 | _ACEOF |
… | |
… | |
12811 | PERL_O=rxvtperl.o |
12776 | PERL_O=rxvtperl.o |
12812 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12777 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12813 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12778 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12814 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
12779 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
12815 | else |
12780 | else |
12816 | support_perl=no |
|
|
12817 | echo "$as_me:$LINENO: result: no, unable to link" >&5 |
12781 | { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
12818 | echo "${ECHO_T}no, unable to link" >&6 |
12782 | echo "$as_me: error: no, unable to link" >&2;} |
|
|
12783 | { (exit 1); exit 1; }; } |
12819 | fi |
12784 | fi |
12820 | else |
12785 | else |
12821 | { { echo "$as_me:$LINENO: error: no working perl found" >&5 |
12786 | { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5 |
12822 | echo "$as_me: error: no working perl found" >&2;} |
12787 | echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;} |
12823 | { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } |
12788 | { (exit 1); exit 1; }; } |
12824 | support_perl=no |
|
|
12825 | fi |
12789 | fi |
12826 | fi |
12790 | fi |
12827 | |
12791 | |
12828 | |
12792 | |
12829 | |
12793 | |
12830 | |
12794 | |
12831 | |
12795 | |
12832 | |
12796 | |
|
|
12797 | |
|
|
12798 | if test x$support_perl = xyes; then |
|
|
12799 | support_frills=yes |
|
|
12800 | fi |
12833 | |
12801 | |
12834 | |
12802 | |
12835 | CFLAGS=${CFLAGS--O} |
12803 | CFLAGS=${CFLAGS--O} |
12836 | LDFLAGS=${LDFLAGS--O} |
12804 | LDFLAGS=${LDFLAGS--O} |
12837 | |
12805 | |
… | |
… | |
12851 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12819 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12852 | fi |
12820 | fi |
12853 | |
12821 | |
12854 | |
12822 | |
12855 | |
12823 | |
12856 | |
|
|
12857 | |
|
|
12858 | if test x$support_addstrings = xno; then |
|
|
12859 | |
|
|
12860 | cat >>confdefs.h <<\_ACEOF |
|
|
12861 | #define NO_STRINGS 1 |
|
|
12862 | _ACEOF |
|
|
12863 | |
|
|
12864 | fi |
|
|
12865 | |
|
|
12866 | MCOMMON=./autoconf/Make.common |
|
|
12867 | |
12824 | |
12868 | |
12825 | |
12869 | test "$program_prefix" != NONE && |
12826 | test "$program_prefix" != NONE && |
12870 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12827 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12871 | # Use a double $ so make ignores it. |
12828 | # Use a double $ so make ignores it. |
… | |
… | |
12947 | include_time_h="#include <time.h>" |
12904 | include_time_h="#include <time.h>" |
12948 | else |
12905 | else |
12949 | include_time_h="/* #include <time.h> */" |
12906 | include_time_h="/* #include <time.h> */" |
12950 | fi |
12907 | fi |
12951 | |
12908 | |
12952 | 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" |
12953 | |
12910 | |
12954 | cat >confcache <<\_ACEOF |
12911 | cat >confcache <<\_ACEOF |
12955 | # 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 |
12956 | # 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 |
12957 | # scripts and configure runs, see configure's option --config-cache. |
12914 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
13474 | cat >>$CONFIG_STATUS <<\_ACEOF |
13431 | cat >>$CONFIG_STATUS <<\_ACEOF |
13475 | for ac_config_target in $ac_config_targets |
13432 | for ac_config_target in $ac_config_targets |
13476 | do |
13433 | do |
13477 | case "$ac_config_target" in |
13434 | case "$ac_config_target" in |
13478 | # Handling of arguments. |
13435 | # Handling of arguments. |
13479 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
13480 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13436 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13481 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13437 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13482 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13438 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13483 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13439 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13484 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
13440 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
13485 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13441 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13486 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13442 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13487 | { (exit 1); exit 1; }; };; |
13443 | { (exit 1); exit 1; }; };; |
13488 | esac |
13444 | esac |
13489 | done |
13445 | done |
… | |
… | |
13590 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
13546 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
13591 | s,@CPP@,$CPP,;t t |
13547 | s,@CPP@,$CPP,;t t |
13592 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
13548 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
13593 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
13549 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
13594 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13550 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13595 | s,@AWK@,$AWK,;t t |
|
|
13596 | s,@LINKER@,$LINKER,;t t |
13551 | s,@LINKER@,$LINKER,;t t |
13597 | s,@CXXCPP@,$CXXCPP,;t t |
13552 | s,@CXXCPP@,$CXXCPP,;t t |
13598 | s,@EGREP@,$EGREP,;t t |
13553 | s,@EGREP@,$EGREP,;t t |
13599 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
13554 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
13600 | s,@RXVTNAME@,$RXVTNAME,;t t |
13555 | s,@RXVTNAME@,$RXVTNAME,;t t |
… | |
… | |
13603 | s,@CP@,$CP,;t t |
13558 | s,@CP@,$CP,;t t |
13604 | s,@LN@,$LN,;t t |
13559 | s,@LN@,$LN,;t t |
13605 | s,@SED@,$SED,;t t |
13560 | s,@SED@,$SED,;t t |
13606 | s,@ECHO@,$ECHO,;t t |
13561 | s,@ECHO@,$ECHO,;t t |
13607 | s,@CMP@,$CMP,;t t |
13562 | s,@CMP@,$CMP,;t t |
13608 | s,@TBL@,$TBL,;t t |
|
|
13609 | s,@TIC@,$TIC,;t t |
13563 | s,@TIC@,$TIC,;t t |
13610 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13564 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13611 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13565 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13612 | s,@X_LIBS@,$X_LIBS,;t t |
13566 | s,@X_LIBS@,$X_LIBS,;t t |
13613 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
13567 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
… | |
… | |
13642 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13596 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13643 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13597 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13644 | s,@include_time_h@,$include_time_h,;t t |
13598 | s,@include_time_h@,$include_time_h,;t t |
13645 | s,@LIBOBJS@,$LIBOBJS,;t t |
13599 | s,@LIBOBJS@,$LIBOBJS,;t t |
13646 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13600 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13647 | /@MCOMMON@/r $MCOMMON |
|
|
13648 | s,@MCOMMON@,,;t t |
|
|
13649 | CEOF |
13601 | CEOF |
13650 | |
13602 | |
13651 | _ACEOF |
13603 | _ACEOF |
13652 | |
13604 | |
13653 | cat >>$CONFIG_STATUS <<\_ACEOF |
13605 | cat >>$CONFIG_STATUS <<\_ACEOF |