… | |
… | |
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 |
… | |
… | |
1370 | |
1370 | |
1371 | |
1371 | |
1372 | |
1372 | |
1373 | |
1373 | |
1374 | |
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;} |
… | |
… | |
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 | |
10135 | |
10143 | |
10136 | |
10144 | |
10137 | |
10145 | |
10138 | |
10146 | |
10139 | |
… | |
… | |
10155 | |
10148 | |
10156 | |
10149 | |
10157 | |
10150 | |
10158 | |
10151 | |
10159 | for ac_func in \ |
10152 | for ac_func in \ |
10160 | atexit \ |
|
|
10161 | revoke \ |
10153 | revoke \ |
10162 | unsetenv \ |
10154 | unsetenv \ |
10163 | setutent \ |
10155 | setutent \ |
10164 | seteuid \ |
10156 | seteuid \ |
|
|
10157 | setresuid \ |
10165 | setreuid \ |
10158 | setreuid \ |
10166 | setsid \ |
|
|
10167 | setpgrp \ |
|
|
10168 | setpgid \ |
|
|
10169 | _getpty \ |
10159 | _getpty \ |
|
|
10160 | getpt \ |
10170 | posix_openpt \ |
10161 | posix_openpt \ |
10171 | grantpt \ |
10162 | grantpt \ |
10172 | unlockpt \ |
10163 | unlockpt \ |
10173 | isastream \ |
10164 | isastream \ |
10174 | on_exit \ |
10165 | on_exit \ |
… | |
… | |
11896 | |
11887 | |
11897 | cat >>confdefs.h <<\_ACEOF |
11888 | cat >>confdefs.h <<\_ACEOF |
11898 | #define HAVE_UNIX_FDPASS 1 |
11889 | #define HAVE_UNIX_FDPASS 1 |
11899 | _ACEOF |
11890 | _ACEOF |
11900 | |
11891 | |
|
|
11892 | else |
|
|
11893 | { { echo "$as_me:$LINENO: error: urxvt requires unix-compliant filehandle passing ability" >&5 |
|
|
11894 | echo "$as_me: error: urxvt requires unix-compliant filehandle passing ability" >&2;} |
|
|
11895 | { (exit 1); exit 1; }; } |
11901 | fi |
11896 | fi |
11902 | |
11897 | |
11903 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11898 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11904 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11899 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11905 | if test "${rxvt_broken_ximcb+set}" = set; then |
11900 | if test "${rxvt_broken_ximcb+set}" = set; then |
… | |
… | |
11956 | #define XIMCB_PROTO_BROKEN 1 |
11951 | #define XIMCB_PROTO_BROKEN 1 |
11957 | _ACEOF |
11952 | _ACEOF |
11958 | |
11953 | |
11959 | fi |
11954 | fi |
11960 | |
11955 | |
11961 | if test x$ac_cv_func_posix_openpt = xno; then |
11956 | 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 |
11957 | echo "$as_me:$LINENO: checking for openpty" >&5 |
11963 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11958 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11964 | if test "${ac_cv_func_openpty+set}" = set; then |
11959 | if test "${ac_cv_func_openpty+set}" = set; then |
11965 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11960 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11966 | else |
11961 | else |
… | |
… | |
12127 | if test "${rxvt_cv_ptys+set}" = set; then |
12122 | if test "${rxvt_cv_ptys+set}" = set; then |
12128 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12123 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12129 | else |
12124 | else |
12130 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
12125 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
12131 | rxvt_cv_ptys=OPENPTY |
12126 | rxvt_cv_ptys=OPENPTY |
|
|
12127 | else if test x$ac_cv_func_getpt = xyes; then |
|
|
12128 | rxvt_cv_ptys=GLIBC |
12132 | else if test x$ac_cv_func_posix_openpt = xyes; then |
12129 | else if test x$ac_cv_func_posix_openpt = xyes; then |
12133 | rxvt_cv_ptys=POSIX |
12130 | rxvt_cv_ptys=POSIX |
12134 | else if test x$ac_cv_func__getpty = xyes; then |
12131 | else if test x$ac_cv_func__getpty = xyes; then |
12135 | rxvt_cv_ptys=SGI4 |
12132 | rxvt_cv_ptys=SGI4 |
12136 | else if test -c /dev/ttyp20; then |
12133 | else if test -c /dev/ttyp20; then |
… | |
… | |
12154 | fi |
12151 | fi |
12155 | fi |
12152 | fi |
12156 | fi |
12153 | fi |
12157 | fi |
12154 | fi |
12158 | fi |
12155 | fi |
|
|
12156 | fi |
12159 | |
12157 | |
12160 | fi |
12158 | fi |
12161 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12159 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12162 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12160 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12163 | |
12161 | |
|
|
12162 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
12163 | |
|
|
12164 | cat >>confdefs.h <<\_ACEOF |
|
|
12165 | #define PTYS_ARE_GETPT 1 |
|
|
12166 | _ACEOF |
|
|
12167 | |
|
|
12168 | fi |
12164 | if test x$rxvt_cv_ptys = xPOSIX; then |
12169 | if test x$rxvt_cv_ptys = xPOSIX; then |
12165 | |
12170 | |
12166 | cat >>confdefs.h <<\_ACEOF |
12171 | cat >>confdefs.h <<\_ACEOF |
12167 | #define PTYS_ARE_POSIX 1 |
12172 | #define PTYS_ARE_POSIX 1 |
12168 | _ACEOF |
12173 | _ACEOF |
… | |
… | |
12857 | PERL_O=rxvtperl.o |
12862 | PERL_O=rxvtperl.o |
12858 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12863 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12859 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12864 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12860 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
12865 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
12861 | else |
12866 | else |
12862 | support_perl=no |
|
|
12863 | echo "$as_me:$LINENO: result: no, unable to link" >&5 |
12867 | { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
12864 | echo "${ECHO_T}no, unable to link" >&6 |
12868 | echo "$as_me: error: no, unable to link" >&2;} |
|
|
12869 | { (exit 1); exit 1; }; } |
12865 | fi |
12870 | fi |
12866 | else |
12871 | else |
12867 | { { echo "$as_me:$LINENO: error: no working perl found" >&5 |
12872 | { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5 |
12868 | echo "$as_me: error: no working perl found" >&2;} |
12873 | echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;} |
12869 | { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } |
12874 | { (exit 1); exit 1; }; } |
12870 | support_perl=no |
|
|
12871 | fi |
12875 | fi |
12872 | fi |
12876 | fi |
12873 | |
12877 | |
12874 | |
12878 | |
12875 | |
12879 | |
… | |
… | |
12901 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12905 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12902 | fi |
12906 | fi |
12903 | |
12907 | |
12904 | |
12908 | |
12905 | |
12909 | |
12906 | |
|
|
12907 | |
|
|
12908 | MCOMMON=./autoconf/Make.common |
|
|
12909 | |
12910 | |
12910 | |
12911 | |
12911 | test "$program_prefix" != NONE && |
12912 | test "$program_prefix" != NONE && |
12912 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12913 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12913 | # Use a double $ so make ignores it. |
12914 | # Use a double $ so make ignores it. |
… | |
… | |
12989 | include_time_h="#include <time.h>" |
12990 | include_time_h="#include <time.h>" |
12990 | else |
12991 | else |
12991 | include_time_h="/* #include <time.h> */" |
12992 | include_time_h="/* #include <time.h> */" |
12992 | fi |
12993 | fi |
12993 | |
12994 | |
12994 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
12995 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
12995 | |
12996 | |
12996 | cat >confcache <<\_ACEOF |
12997 | cat >confcache <<\_ACEOF |
12997 | # This file is a shell script that caches the results of configure |
12998 | # 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 |
12999 | # tests run on this system so they can be shared between configure |
12999 | # scripts and configure runs, see configure's option --config-cache. |
13000 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
13516 | cat >>$CONFIG_STATUS <<\_ACEOF |
13517 | cat >>$CONFIG_STATUS <<\_ACEOF |
13517 | for ac_config_target in $ac_config_targets |
13518 | for ac_config_target in $ac_config_targets |
13518 | do |
13519 | do |
13519 | case "$ac_config_target" in |
13520 | case "$ac_config_target" in |
13520 | # Handling of arguments. |
13521 | # Handling of arguments. |
13521 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
13522 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13522 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13523 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13523 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13524 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13524 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13525 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13525 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13526 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
13526 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
13527 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13527 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13528 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13528 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13529 | { (exit 1); exit 1; }; };; |
13529 | { (exit 1); exit 1; }; };; |
13530 | esac |
13530 | esac |
13531 | done |
13531 | done |
… | |
… | |
13684 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13684 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13685 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13685 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13686 | s,@include_time_h@,$include_time_h,;t t |
13686 | s,@include_time_h@,$include_time_h,;t t |
13687 | s,@LIBOBJS@,$LIBOBJS,;t t |
13687 | s,@LIBOBJS@,$LIBOBJS,;t t |
13688 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13688 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13689 | /@MCOMMON@/r $MCOMMON |
|
|
13690 | s,@MCOMMON@,,;t t |
|
|
13691 | CEOF |
13689 | CEOF |
13692 | |
13690 | |
13693 | _ACEOF |
13691 | _ACEOF |
13694 | |
13692 | |
13695 | cat >>$CONFIG_STATUS <<\_ACEOF |
13693 | cat >>$CONFIG_STATUS <<\_ACEOF |