… | |
… | |
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 |
… | |
… | |
882 | --enable-rxvt-scroll enable rxvt style scrollbar |
882 | --enable-rxvt-scroll enable rxvt style scrollbar |
883 | --enable-next-scroll enable NeXT style scrollbar |
883 | --enable-next-scroll enable NeXT style scrollbar |
884 | --enable-xterm-scroll enable Xterm style scrollbar |
884 | --enable-xterm-scroll enable Xterm style scrollbar |
885 | --enable-perl enable embedded perl interpreter |
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 |
… | |
… | |
1370 | |
1369 | |
1371 | |
1370 | |
1372 | |
1371 | |
1373 | |
1372 | |
1374 | |
1373 | |
|
|
1374 | |
|
|
1375 | ac_config_headers="$ac_config_headers config.h:config.h.in" |
|
|
1376 | |
|
|
1377 | |
1375 | ac_aux_dir= |
1378 | ac_aux_dir= |
1376 | for ac_dir in autoconf $srcdir/autoconf; do |
1379 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1377 | if test -f $ac_dir/install-sh; then |
1380 | if test -f $ac_dir/install-sh; then |
1378 | ac_aux_dir=$ac_dir |
1381 | ac_aux_dir=$ac_dir |
1379 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1382 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1380 | break |
1383 | break |
1381 | elif test -f $ac_dir/install.sh; then |
1384 | elif test -f $ac_dir/install.sh; then |
… | |
… | |
1387 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1390 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1388 | break |
1391 | break |
1389 | fi |
1392 | fi |
1390 | done |
1393 | done |
1391 | if test -z "$ac_aux_dir"; then |
1394 | if test -z "$ac_aux_dir"; then |
1392 | { { 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 |
1393 | 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;} |
1394 | { (exit 1); exit 1; }; } |
1397 | { (exit 1); exit 1; }; } |
1395 | fi |
1398 | fi |
1396 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1399 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1397 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1400 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1398 | 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. |
1399 | |
|
|
1400 | ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" |
|
|
1401 | |
|
|
1402 | |
1402 | |
1403 | # Make sure we can run config.sub. |
1403 | # Make sure we can run config.sub. |
1404 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1404 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1405 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1405 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1406 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1406 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
… | |
… | |
1458 | 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` |
1459 | 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` |
1460 | echo "" |
1460 | echo "" |
1461 | echo "configuring for rxvt $VERSION" |
1461 | echo "configuring for rxvt $VERSION" |
1462 | echo "" |
1462 | echo "" |
|
|
1463 | |
|
|
1464 | orig_CXXFLAGS="$CXXFLAGS" |
1463 | |
1465 | |
1464 | |
1466 | |
1465 | ac_ext=c |
1467 | ac_ext=c |
1466 | ac_cpp='$CPP $CPPFLAGS' |
1468 | ac_cpp='$CPP $CPPFLAGS' |
1467 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1469 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
3048 | |
3050 | |
3049 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3051 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3050 | |
3052 | |
3051 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3053 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3052 | |
3054 | |
3053 | for ac_prog in gawk mawk nawk awk |
|
|
3054 | do |
|
|
3055 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3056 | set dummy $ac_prog; ac_word=$2 |
|
|
3057 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
3058 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
3059 | if test "${ac_cv_prog_AWK+set}" = set; then |
|
|
3060 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3061 | else |
|
|
3062 | if test -n "$AWK"; then |
|
|
3063 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
3064 | else |
|
|
3065 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3066 | for as_dir in $PATH |
|
|
3067 | do |
|
|
3068 | IFS=$as_save_IFS |
|
|
3069 | test -z "$as_dir" && as_dir=. |
|
|
3070 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3071 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3072 | ac_cv_prog_AWK="$ac_prog" |
|
|
3073 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3074 | break 2 |
|
|
3075 | fi |
|
|
3076 | done |
|
|
3077 | done |
|
|
3078 | |
|
|
3079 | fi |
|
|
3080 | fi |
|
|
3081 | AWK=$ac_cv_prog_AWK |
|
|
3082 | if test -n "$AWK"; then |
|
|
3083 | echo "$as_me:$LINENO: result: $AWK" >&5 |
|
|
3084 | echo "${ECHO_T}$AWK" >&6 |
|
|
3085 | else |
|
|
3086 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
3087 | echo "${ECHO_T}no" >&6 |
|
|
3088 | fi |
|
|
3089 | |
|
|
3090 | test -n "$AWK" && break |
|
|
3091 | done |
|
|
3092 | |
|
|
3093 | |
3055 | |
3094 | ac_ext=c |
3056 | ac_ext=c |
3095 | ac_cpp='$CPP $CPPFLAGS' |
3057 | ac_cpp='$CPP $CPPFLAGS' |
3096 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3058 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3097 | 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' |
3098 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3060 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3099 | |
3061 | |
3100 | |
3062 | |
3101 | if test -z "$orig_CXXFLAGS"; then |
3063 | if test -z "$orig_CXXFLAGS"; then |
3102 | CXXFLAGS='-O' |
|
|
3103 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3064 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3104 | CXXFLAGS="-g -O3" |
3065 | CXXFLAGS="-g -O3" |
|
|
3066 | else |
|
|
3067 | CXXFLAGS="-O" |
3105 | fi |
3068 | fi |
3106 | CFLAGS="$CXXFLAGS" |
3069 | CFLAGS="$CXXFLAGS" |
3107 | fi |
3070 | fi |
3108 | |
3071 | |
3109 | LINKER="$CXX" |
3072 | LINKER="$CXX" |
… | |
… | |
4549 | if test x$enableval = xyes -o x$enableval = xno; then |
4512 | if test x$enableval = xyes -o x$enableval = xno; then |
4550 | support_scroll_plain=$enableval |
4513 | support_scroll_plain=$enableval |
4551 | fi |
4514 | fi |
4552 | fi; |
4515 | fi; |
4553 | |
4516 | |
4554 | # Check whether --enable-half-shadow or --disable-half-shadow was given. |
|
|
4555 | if test "${enable_half_shadow+set}" = set; then |
|
|
4556 | enableval="$enable_half_shadow" |
|
|
4557 | if test x$enableval = xyes; then |
|
|
4558 | |
|
|
4559 | cat >>confdefs.h <<\_ACEOF |
|
|
4560 | #define HALFSHADOW 1 |
|
|
4561 | _ACEOF |
|
|
4562 | |
|
|
4563 | fi |
|
|
4564 | fi; |
|
|
4565 | |
4517 | |
4566 | |
4518 | |
4567 | # Check whether --with-codesets or --without-codesets was given. |
4519 | # Check whether --with-codesets or --without-codesets was given. |
4568 | if test "${with_codesets+set}" = set; then |
4520 | if test "${with_codesets+set}" = set; then |
4569 | withval="$with_codesets" |
4521 | withval="$with_codesets" |
… | |
… | |
4836 | #define RXVT_TERMINFO "$withval" |
4788 | #define RXVT_TERMINFO "$withval" |
4837 | _ACEOF |
4789 | _ACEOF |
4838 | terminfo="$withval" |
4790 | terminfo="$withval" |
4839 | fi |
4791 | fi |
4840 | fi; |
4792 | fi; |
4841 | |
|
|
4842 | |
|
|
4843 | |
|
|
4844 | cat >>confdefs.h <<\_ACEOF |
|
|
4845 | #define PROTOTYPES 1 |
|
|
4846 | _ACEOF |
|
|
4847 | |
4793 | |
4848 | |
4794 | |
4849 | # 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. |
4850 | set dummy mv; ac_word=$2 |
4796 | set dummy mv; ac_word=$2 |
4851 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4797 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
5119 | CMP=$ac_cv_path_CMP |
5065 | CMP=$ac_cv_path_CMP |
5120 | |
5066 | |
5121 | if test -n "$CMP"; then |
5067 | if test -n "$CMP"; then |
5122 | echo "$as_me:$LINENO: result: $CMP" >&5 |
5068 | echo "$as_me:$LINENO: result: $CMP" >&5 |
5123 | echo "${ECHO_T}$CMP" >&6 |
5069 | echo "${ECHO_T}$CMP" >&6 |
5124 | else |
|
|
5125 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5126 | echo "${ECHO_T}no" >&6 |
|
|
5127 | fi |
|
|
5128 | |
|
|
5129 | # Extract the first word of "tbl", so it can be a program name with args. |
|
|
5130 | set dummy tbl; ac_word=$2 |
|
|
5131 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5132 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5133 | if test "${ac_cv_path_TBL+set}" = set; then |
|
|
5134 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5135 | else |
|
|
5136 | case $TBL in |
|
|
5137 | [\\/]* | ?:[\\/]*) |
|
|
5138 | ac_cv_path_TBL="$TBL" # Let the user override the test with a path. |
|
|
5139 | ;; |
|
|
5140 | *) |
|
|
5141 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5142 | for as_dir in $PATH |
|
|
5143 | do |
|
|
5144 | IFS=$as_save_IFS |
|
|
5145 | test -z "$as_dir" && as_dir=. |
|
|
5146 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5147 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5148 | ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext" |
|
|
5149 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5150 | break 2 |
|
|
5151 | fi |
|
|
5152 | done |
|
|
5153 | done |
|
|
5154 | |
|
|
5155 | ;; |
|
|
5156 | esac |
|
|
5157 | fi |
|
|
5158 | TBL=$ac_cv_path_TBL |
|
|
5159 | |
|
|
5160 | if test -n "$TBL"; then |
|
|
5161 | echo "$as_me:$LINENO: result: $TBL" >&5 |
|
|
5162 | echo "${ECHO_T}$TBL" >&6 |
|
|
5163 | else |
5070 | else |
5164 | echo "$as_me:$LINENO: result: no" >&5 |
5071 | echo "$as_me:$LINENO: result: no" >&5 |
5165 | echo "${ECHO_T}no" >&6 |
5072 | echo "${ECHO_T}no" >&6 |
5166 | fi |
5073 | fi |
5167 | |
5074 | |
… | |
… | |
10138 | #define RETSIGTYPE $ac_cv_type_signal |
10045 | #define RETSIGTYPE $ac_cv_type_signal |
10139 | _ACEOF |
10046 | _ACEOF |
10140 | |
10047 | |
10141 | |
10048 | |
10142 | |
10049 | |
10143 | case "$host_alias" in |
|
|
10144 | *ultrix) ac_cv_func_setsid='no' ;; |
|
|
10145 | *) break;; |
|
|
10146 | esac |
|
|
10147 | |
|
|
10148 | |
|
|
10149 | |
|
|
10150 | |
10050 | |
10151 | |
10051 | |
10152 | |
10052 | |
10153 | |
10053 | |
10154 | |
10054 | |
… | |
… | |
10163 | |
10063 | |
10164 | |
10064 | |
10165 | |
10065 | |
10166 | |
10066 | |
10167 | for ac_func in \ |
10067 | for ac_func in \ |
10168 | atexit \ |
|
|
10169 | revoke \ |
10068 | revoke \ |
10170 | unsetenv \ |
10069 | unsetenv \ |
10171 | setutent \ |
10070 | setutent \ |
10172 | seteuid \ |
10071 | seteuid \ |
|
|
10072 | setresuid \ |
10173 | setreuid \ |
10073 | setreuid \ |
10174 | setsid \ |
|
|
10175 | setpgrp \ |
|
|
10176 | setpgid \ |
|
|
10177 | _getpty \ |
10074 | _getpty \ |
|
|
10075 | getpt \ |
10178 | posix_openpt \ |
10076 | posix_openpt \ |
10179 | grantpt \ |
10077 | grantpt \ |
10180 | unlockpt \ |
10078 | unlockpt \ |
10181 | isastream \ |
10079 | isastream \ |
10182 | on_exit \ |
10080 | on_exit \ |
… | |
… | |
10433 | _ACEOF |
10331 | _ACEOF |
10434 | cat confdefs.h >>conftest.$ac_ext |
10332 | cat confdefs.h >>conftest.$ac_ext |
10435 | cat >>conftest.$ac_ext <<_ACEOF |
10333 | cat >>conftest.$ac_ext <<_ACEOF |
10436 | /* end confdefs.h. */ |
10334 | /* end confdefs.h. */ |
10437 | #include <sys/types.h> |
10335 | #include <sys/types.h> |
10438 | #include <stdint.h> |
|
|
10439 | #include <utmp.h> |
10336 | #include <utmp.h> |
10440 | int |
10337 | int |
10441 | main () |
10338 | main () |
10442 | { |
10339 | { |
10443 | struct utmp ut; |
10340 | struct utmp ut; |
… | |
… | |
11904 | |
11801 | |
11905 | cat >>confdefs.h <<\_ACEOF |
11802 | cat >>confdefs.h <<\_ACEOF |
11906 | #define HAVE_UNIX_FDPASS 1 |
11803 | #define HAVE_UNIX_FDPASS 1 |
11907 | _ACEOF |
11804 | _ACEOF |
11908 | |
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; }; } |
11909 | fi |
11810 | fi |
11910 | |
11811 | |
11911 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11812 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11912 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11813 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11913 | if test "${rxvt_broken_ximcb+set}" = set; then |
11814 | if test "${rxvt_broken_ximcb+set}" = set; then |
… | |
… | |
11964 | #define XIMCB_PROTO_BROKEN 1 |
11865 | #define XIMCB_PROTO_BROKEN 1 |
11965 | _ACEOF |
11866 | _ACEOF |
11966 | |
11867 | |
11967 | fi |
11868 | fi |
11968 | |
11869 | |
11969 | if test x$ac_cv_func_posix_openpt = xno; then |
11870 | if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then |
11970 | echo "$as_me:$LINENO: checking for openpty" >&5 |
11871 | echo "$as_me:$LINENO: checking for openpty" >&5 |
11971 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11872 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11972 | if test "${ac_cv_func_openpty+set}" = set; then |
11873 | if test "${ac_cv_func_openpty+set}" = set; then |
11973 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11874 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11974 | else |
11875 | else |
… | |
… | |
12135 | if test "${rxvt_cv_ptys+set}" = set; then |
12036 | if test "${rxvt_cv_ptys+set}" = set; then |
12136 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12037 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12137 | else |
12038 | else |
12138 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
12039 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
12139 | 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 |
12140 | else if test x$ac_cv_func_posix_openpt = xyes; then |
12043 | else if test x$ac_cv_func_posix_openpt = xyes; then |
12141 | rxvt_cv_ptys=POSIX |
12044 | rxvt_cv_ptys=POSIX |
12142 | else if test x$ac_cv_func__getpty = xyes; then |
12045 | else if test x$ac_cv_func__getpty = xyes; then |
12143 | rxvt_cv_ptys=SGI4 |
12046 | rxvt_cv_ptys=SGI4 |
12144 | else if test -c /dev/ttyp20; then |
12047 | else if test -c /dev/ttyp20; then |
… | |
… | |
12162 | fi |
12065 | fi |
12163 | fi |
12066 | fi |
12164 | fi |
12067 | fi |
12165 | fi |
12068 | fi |
12166 | fi |
12069 | fi |
|
|
12070 | fi |
12167 | |
12071 | |
12168 | fi |
12072 | fi |
12169 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12073 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12170 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12074 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12171 | |
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 |
12172 | if test x$rxvt_cv_ptys = xPOSIX; then |
12083 | if test x$rxvt_cv_ptys = xPOSIX; then |
12173 | |
12084 | |
12174 | cat >>confdefs.h <<\_ACEOF |
12085 | cat >>confdefs.h <<\_ACEOF |
12175 | #define PTYS_ARE_POSIX 1 |
12086 | #define PTYS_ARE_POSIX 1 |
12176 | _ACEOF |
12087 | _ACEOF |
… | |
… | |
12865 | PERL_O=rxvtperl.o |
12776 | PERL_O=rxvtperl.o |
12866 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12777 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12867 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12778 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12868 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
12779 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
12869 | else |
12780 | else |
12870 | support_perl=no |
|
|
12871 | echo "$as_me:$LINENO: result: no, unable to link" >&5 |
12781 | { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
12872 | echo "${ECHO_T}no, unable to link" >&6 |
12782 | echo "$as_me: error: no, unable to link" >&2;} |
|
|
12783 | { (exit 1); exit 1; }; } |
12873 | fi |
12784 | fi |
12874 | else |
12785 | else |
12875 | { { 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 |
12876 | 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;} |
12877 | { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } |
12788 | { (exit 1); exit 1; }; } |
12878 | support_perl=no |
|
|
12879 | fi |
12789 | fi |
12880 | fi |
12790 | fi |
12881 | |
12791 | |
12882 | |
12792 | |
12883 | |
12793 | |
… | |
… | |
12909 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12819 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12910 | fi |
12820 | fi |
12911 | |
12821 | |
12912 | |
12822 | |
12913 | |
12823 | |
12914 | |
|
|
12915 | |
|
|
12916 | MCOMMON=./autoconf/Make.common |
|
|
12917 | |
12824 | |
12918 | |
12825 | |
12919 | test "$program_prefix" != NONE && |
12826 | test "$program_prefix" != NONE && |
12920 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12827 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12921 | # Use a double $ so make ignores it. |
12828 | # Use a double $ so make ignores it. |
… | |
… | |
12997 | include_time_h="#include <time.h>" |
12904 | include_time_h="#include <time.h>" |
12998 | else |
12905 | else |
12999 | include_time_h="/* #include <time.h> */" |
12906 | include_time_h="/* #include <time.h> */" |
13000 | fi |
12907 | fi |
13001 | |
12908 | |
13002 | 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" |
13003 | |
12910 | |
13004 | cat >confcache <<\_ACEOF |
12911 | cat >confcache <<\_ACEOF |
13005 | # 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 |
13006 | # 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 |
13007 | # scripts and configure runs, see configure's option --config-cache. |
12914 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
13524 | cat >>$CONFIG_STATUS <<\_ACEOF |
13431 | cat >>$CONFIG_STATUS <<\_ACEOF |
13525 | for ac_config_target in $ac_config_targets |
13432 | for ac_config_target in $ac_config_targets |
13526 | do |
13433 | do |
13527 | case "$ac_config_target" in |
13434 | case "$ac_config_target" in |
13528 | # Handling of arguments. |
13435 | # Handling of arguments. |
13529 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
13530 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13436 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13531 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13437 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13532 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13438 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13533 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13439 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13534 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
13440 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
13535 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13441 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13536 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13442 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13537 | { (exit 1); exit 1; }; };; |
13443 | { (exit 1); exit 1; }; };; |
13538 | esac |
13444 | esac |
13539 | done |
13445 | done |
… | |
… | |
13640 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
13546 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
13641 | s,@CPP@,$CPP,;t t |
13547 | s,@CPP@,$CPP,;t t |
13642 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
13548 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
13643 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
13549 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
13644 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13550 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
13645 | s,@AWK@,$AWK,;t t |
|
|
13646 | s,@LINKER@,$LINKER,;t t |
13551 | s,@LINKER@,$LINKER,;t t |
13647 | s,@CXXCPP@,$CXXCPP,;t t |
13552 | s,@CXXCPP@,$CXXCPP,;t t |
13648 | s,@EGREP@,$EGREP,;t t |
13553 | s,@EGREP@,$EGREP,;t t |
13649 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
13554 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
13650 | s,@RXVTNAME@,$RXVTNAME,;t t |
13555 | s,@RXVTNAME@,$RXVTNAME,;t t |
… | |
… | |
13653 | s,@CP@,$CP,;t t |
13558 | s,@CP@,$CP,;t t |
13654 | s,@LN@,$LN,;t t |
13559 | s,@LN@,$LN,;t t |
13655 | s,@SED@,$SED,;t t |
13560 | s,@SED@,$SED,;t t |
13656 | s,@ECHO@,$ECHO,;t t |
13561 | s,@ECHO@,$ECHO,;t t |
13657 | s,@CMP@,$CMP,;t t |
13562 | s,@CMP@,$CMP,;t t |
13658 | s,@TBL@,$TBL,;t t |
|
|
13659 | s,@TIC@,$TIC,;t t |
13563 | s,@TIC@,$TIC,;t t |
13660 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13564 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
13661 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13565 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
13662 | s,@X_LIBS@,$X_LIBS,;t t |
13566 | s,@X_LIBS@,$X_LIBS,;t t |
13663 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
13567 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
… | |
… | |
13692 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13596 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13693 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13597 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13694 | s,@include_time_h@,$include_time_h,;t t |
13598 | s,@include_time_h@,$include_time_h,;t t |
13695 | s,@LIBOBJS@,$LIBOBJS,;t t |
13599 | s,@LIBOBJS@,$LIBOBJS,;t t |
13696 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13600 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13697 | /@MCOMMON@/r $MCOMMON |
|
|
13698 | s,@MCOMMON@,,;t t |
|
|
13699 | CEOF |
13601 | CEOF |
13700 | |
13602 | |
13701 | _ACEOF |
13603 | _ACEOF |
13702 | |
13604 | |
13703 | cat >>$CONFIG_STATUS <<\_ACEOF |
13605 | cat >>$CONFIG_STATUS <<\_ACEOF |