… | |
… | |
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 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' |
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 |
… | |
… | |
10130 | #define RETSIGTYPE $ac_cv_type_signal |
10130 | #define RETSIGTYPE $ac_cv_type_signal |
10131 | _ACEOF |
10131 | _ACEOF |
10132 | |
10132 | |
10133 | |
10133 | |
10134 | |
10134 | |
10135 | case "$host_alias" in |
|
|
10136 | *ultrix) ac_cv_func_setsid='no' ;; |
|
|
10137 | *) break;; |
|
|
10138 | esac |
|
|
10139 | |
|
|
10140 | |
|
|
10141 | |
|
|
10142 | |
|
|
10143 | |
10135 | |
10144 | |
10136 | |
10145 | |
10137 | |
10146 | |
10138 | |
10147 | |
10139 | |
… | |
… | |
10155 | |
10147 | |
10156 | |
10148 | |
10157 | |
10149 | |
10158 | |
10150 | |
10159 | for ac_func in \ |
10151 | for ac_func in \ |
10160 | atexit \ |
|
|
10161 | revoke \ |
10152 | revoke \ |
10162 | unsetenv \ |
10153 | unsetenv \ |
10163 | setutent \ |
10154 | setutent \ |
10164 | seteuid \ |
10155 | seteuid \ |
10165 | setreuid \ |
10156 | setreuid \ |
10166 | setsid \ |
|
|
10167 | setpgrp \ |
|
|
10168 | setpgid \ |
|
|
10169 | _getpty \ |
10157 | _getpty \ |
|
|
10158 | getpt \ |
10170 | posix_openpt \ |
10159 | posix_openpt \ |
10171 | grantpt \ |
10160 | grantpt \ |
10172 | unlockpt \ |
10161 | unlockpt \ |
10173 | isastream \ |
10162 | isastream \ |
10174 | on_exit \ |
10163 | on_exit \ |
… | |
… | |
11956 | #define XIMCB_PROTO_BROKEN 1 |
11945 | #define XIMCB_PROTO_BROKEN 1 |
11957 | _ACEOF |
11946 | _ACEOF |
11958 | |
11947 | |
11959 | fi |
11948 | fi |
11960 | |
11949 | |
11961 | if test x$ac_cv_func_posix_openpt = xno; then |
11950 | if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then |
11962 | echo "$as_me:$LINENO: checking for openpty" >&5 |
11951 | echo "$as_me:$LINENO: checking for openpty" >&5 |
11963 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11952 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11964 | if test "${ac_cv_func_openpty+set}" = set; then |
11953 | if test "${ac_cv_func_openpty+set}" = set; then |
11965 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11954 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11966 | else |
11955 | else |
… | |
… | |
12127 | if test "${rxvt_cv_ptys+set}" = set; then |
12116 | if test "${rxvt_cv_ptys+set}" = set; then |
12128 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12117 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12129 | else |
12118 | else |
12130 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
12119 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
12131 | rxvt_cv_ptys=OPENPTY |
12120 | rxvt_cv_ptys=OPENPTY |
|
|
12121 | else if test x$ac_cv_func_getpt = xyes; then |
|
|
12122 | rxvt_cv_ptys=GLIBC |
12132 | else if test x$ac_cv_func_posix_openpt = xyes; then |
12123 | else if test x$ac_cv_func_posix_openpt = xyes; then |
12133 | rxvt_cv_ptys=POSIX |
12124 | rxvt_cv_ptys=POSIX |
12134 | else if test x$ac_cv_func__getpty = xyes; then |
12125 | else if test x$ac_cv_func__getpty = xyes; then |
12135 | rxvt_cv_ptys=SGI4 |
12126 | rxvt_cv_ptys=SGI4 |
12136 | else if test -c /dev/ttyp20; then |
12127 | else if test -c /dev/ttyp20; then |
… | |
… | |
12154 | fi |
12145 | fi |
12155 | fi |
12146 | fi |
12156 | fi |
12147 | fi |
12157 | fi |
12148 | fi |
12158 | fi |
12149 | fi |
|
|
12150 | fi |
12159 | |
12151 | |
12160 | fi |
12152 | fi |
12161 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12153 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12162 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12154 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12163 | |
12155 | |
|
|
12156 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
12157 | |
|
|
12158 | cat >>confdefs.h <<\_ACEOF |
|
|
12159 | #define PTYS_ARE_GETPT 1 |
|
|
12160 | _ACEOF |
|
|
12161 | |
|
|
12162 | fi |
12164 | if test x$rxvt_cv_ptys = xPOSIX; then |
12163 | if test x$rxvt_cv_ptys = xPOSIX; then |
12165 | |
12164 | |
12166 | cat >>confdefs.h <<\_ACEOF |
12165 | cat >>confdefs.h <<\_ACEOF |
12167 | #define PTYS_ARE_POSIX 1 |
12166 | #define PTYS_ARE_POSIX 1 |
12168 | _ACEOF |
12167 | _ACEOF |
… | |
… | |
12903 | |
12902 | |
12904 | |
12903 | |
12905 | |
12904 | |
12906 | |
12905 | |
12907 | |
12906 | |
12908 | MCOMMON=./autoconf/Make.common |
|
|
12909 | |
|
|
12910 | |
|
|
12911 | test "$program_prefix" != NONE && |
12907 | test "$program_prefix" != NONE && |
12912 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12908 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12913 | # Use a double $ so make ignores it. |
12909 | # Use a double $ so make ignores it. |
12914 | test "$program_suffix" != NONE && |
12910 | test "$program_suffix" != NONE && |
12915 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
12911 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
… | |
… | |
12989 | include_time_h="#include <time.h>" |
12985 | include_time_h="#include <time.h>" |
12990 | else |
12986 | else |
12991 | include_time_h="/* #include <time.h> */" |
12987 | include_time_h="/* #include <time.h> */" |
12992 | fi |
12988 | fi |
12993 | |
12989 | |
12994 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
12990 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
12995 | |
12991 | |
12996 | cat >confcache <<\_ACEOF |
12992 | cat >confcache <<\_ACEOF |
12997 | # This file is a shell script that caches the results of configure |
12993 | # This file is a shell script that caches the results of configure |
12998 | # tests run on this system so they can be shared between configure |
12994 | # tests run on this system so they can be shared between configure |
12999 | # scripts and configure runs, see configure's option --config-cache. |
12995 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
13516 | cat >>$CONFIG_STATUS <<\_ACEOF |
13512 | cat >>$CONFIG_STATUS <<\_ACEOF |
13517 | for ac_config_target in $ac_config_targets |
13513 | for ac_config_target in $ac_config_targets |
13518 | do |
13514 | do |
13519 | case "$ac_config_target" in |
13515 | case "$ac_config_target" in |
13520 | # Handling of arguments. |
13516 | # Handling of arguments. |
13521 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
13522 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13517 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13523 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13518 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13524 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13519 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13525 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13520 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13526 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
13521 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
… | |
… | |
13684 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13679 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13685 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13680 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13686 | s,@include_time_h@,$include_time_h,;t t |
13681 | s,@include_time_h@,$include_time_h,;t t |
13687 | s,@LIBOBJS@,$LIBOBJS,;t t |
13682 | s,@LIBOBJS@,$LIBOBJS,;t t |
13688 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13683 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13689 | /@MCOMMON@/r $MCOMMON |
|
|
13690 | s,@MCOMMON@,,;t t |
|
|
13691 | CEOF |
13684 | CEOF |
13692 | |
13685 | |
13693 | _ACEOF |
13686 | _ACEOF |
13694 | |
13687 | |
13695 | cat >>$CONFIG_STATUS <<\_ACEOF |
13688 | cat >>$CONFIG_STATUS <<\_ACEOF |