… | |
… | |
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 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='MCOMMON' |
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 |
… | |
… | |
881 | --enable-fading enable colors fading when off focus |
881 | --enable-fading enable colors fading when off focus |
882 | --enable-menubar enable menubar |
882 | --enable-menubar enable menubar |
883 | --enable-rxvt-scroll enable rxvt style scrollbar |
883 | --enable-rxvt-scroll enable rxvt style scrollbar |
884 | --enable-next-scroll enable NeXT style scrollbar |
884 | --enable-next-scroll enable NeXT style scrollbar |
885 | --enable-xterm-scroll enable Xterm style scrollbar |
885 | --enable-xterm-scroll enable Xterm style scrollbar |
|
|
886 | --enable-perl enable embedded perl interpreter |
886 | --enable-plain-scroll enable plain style scrollbar |
887 | --enable-plain-scroll enable plain style scrollbar |
887 | --enable-half-shadow use half width/height shadow on rxvt scrollbar |
888 | --enable-half-shadow use half width/height shadow on rxvt scrollbar |
888 | --enable-xim XIM (X Input Method) protocol support |
889 | --enable-xim XIM (X Input Method) protocol support |
889 | --enable-ttygid enable tty setting to group named "tty" |
890 | --enable-ttygid enable tty setting to group named "tty" |
890 | --disable-backspace-key disable handling of the backspace key |
891 | --disable-backspace-key disable handling of the backspace key |
891 | --disable-delete-key disable handling of the delete key |
892 | --disable-delete-key disable handling of the delete key |
892 | --disable-resources disable all resource checking |
893 | --disable-resources disable all resource checking |
893 | --enable-xgetdefault enable resources via X instead of our small version |
|
|
894 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
894 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
895 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
895 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
896 | --enable-strings enable some replacement system functions |
|
|
897 | --disable-swapscreen disable swap screen support |
896 | --disable-swapscreen disable swap screen support |
898 | --enable-iso14755 enable support for extended ISO 14755 modes |
897 | --enable-iso14755 enable support for extended ISO 14755 modes |
899 | --enable-frills enable support for rarely used features |
898 | --enable-frills enable support for rarely used features |
900 | --enable-24bit enable support for using 24bit visuals if available |
899 | --enable-24bit enable support for using 24bit visuals if available |
901 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
900 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
… | |
… | |
4317 | conftest$ac_exeext conftest.$ac_ext |
4316 | conftest$ac_exeext conftest.$ac_ext |
4318 | |
4317 | |
4319 | |
4318 | |
4320 | MALLOC_TYPE=S |
4319 | MALLOC_TYPE=S |
4321 | |
4320 | |
4322 | support_addstrings=no |
|
|
4323 | support_frills=yes |
4321 | support_frills=yes |
4324 | support_inheritpixmap=no |
4322 | support_inheritpixmap=yes |
4325 | support_tinting=yes |
4323 | support_tinting=yes |
4326 | support_fading=yes |
4324 | support_fading=yes |
4327 | support_keepscrolling=yes |
4325 | support_keepscrolling=yes |
4328 | support_selectionscrolling=yes |
4326 | support_selectionscrolling=yes |
4329 | support_menubar=no |
4327 | support_menubar=no |
… | |
… | |
4337 | support_scroll_rxvt=yes |
4335 | support_scroll_rxvt=yes |
4338 | support_scroll_next=yes |
4336 | support_scroll_next=yes |
4339 | support_scroll_xterm=yes |
4337 | support_scroll_xterm=yes |
4340 | support_scroll_plain=yes |
4338 | support_scroll_plain=yes |
4341 | support_xim=yes |
4339 | support_xim=yes |
4342 | support_xpm=no |
4340 | support_xpm=yes |
4343 | support_xft=yes |
4341 | support_xft=yes |
4344 | support_unicode3=no |
4342 | support_unicode3=no |
4345 | support_combining=yes |
4343 | support_combining=yes |
4346 | support_8bitctrls=no |
4344 | support_8bitctrls=no |
4347 | support_iso14755=yes |
4345 | support_iso14755=yes |
4348 | support_styles=yes |
4346 | support_styles=yes |
|
|
4347 | support_perl=yes |
4349 | codesets=all |
4348 | codesets=all |
4350 | |
4349 | |
4351 | |
4350 | |
4352 | if test "x$enable_shared" = xyes; then |
4351 | if test "x$enable_shared" = xyes; then |
4353 | |
4352 | |
… | |
… | |
4389 | support_unicode3=no |
4388 | support_unicode3=no |
4390 | support_combining=no |
4389 | support_combining=no |
4391 | support_8bitctrls=no |
4390 | support_8bitctrls=no |
4392 | support_iso14755=no |
4391 | support_iso14755=no |
4393 | support_styles=no |
4392 | support_styles=no |
|
|
4393 | support_perl=no |
4394 | codesets= |
4394 | codesets= |
4395 | fi |
4395 | fi |
4396 | if test x$enableval = xyes; then |
4396 | if test x$enableval = xyes; then |
4397 | support_24bit=yes |
4397 | support_24bit=yes |
4398 | support_frills=yes |
4398 | support_frills=yes |
… | |
… | |
4419 | support_unicode3=yes |
4419 | support_unicode3=yes |
4420 | support_combining=yes |
4420 | support_combining=yes |
4421 | #support_8bitctrls=yes |
4421 | #support_8bitctrls=yes |
4422 | support_iso14755=yes |
4422 | support_iso14755=yes |
4423 | support_styles=yes |
4423 | support_styles=yes |
|
|
4424 | support_perl=yes |
4424 | codesets=all |
4425 | codesets=all |
4425 | fi |
4426 | fi |
4426 | |
4427 | |
4427 | fi; |
4428 | fi; |
4428 | |
4429 | |
… | |
… | |
4544 | if test x$enableval = xyes -o x$enableval = xno; then |
4545 | if test x$enableval = xyes -o x$enableval = xno; then |
4545 | support_scroll_xterm=$enableval |
4546 | support_scroll_xterm=$enableval |
4546 | fi |
4547 | fi |
4547 | fi; |
4548 | fi; |
4548 | |
4549 | |
|
|
4550 | # Check whether --enable-perl or --disable-perl was given. |
|
|
4551 | if test "${enable_perl+set}" = set; then |
|
|
4552 | enableval="$enable_perl" |
|
|
4553 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4554 | support_perl=$enableval |
|
|
4555 | fi |
|
|
4556 | fi; |
|
|
4557 | |
4549 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4558 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4550 | if test "${enable_plain_scroll+set}" = set; then |
4559 | if test "${enable_plain_scroll+set}" = set; then |
4551 | enableval="$enable_plain_scroll" |
4560 | enableval="$enable_plain_scroll" |
4552 | if test x$enableval = xyes -o x$enableval = xno; then |
4561 | if test x$enableval = xyes -o x$enableval = xno; then |
4553 | support_scroll_plain=$enableval |
4562 | support_scroll_plain=$enableval |
… | |
… | |
4627 | _ACEOF |
4636 | _ACEOF |
4628 | |
4637 | |
4629 | fi |
4638 | fi |
4630 | fi; |
4639 | fi; |
4631 | |
4640 | |
4632 | # Check whether --enable-xgetdefault or --disable-xgetdefault was given. |
|
|
4633 | if test "${enable_xgetdefault+set}" = set; then |
|
|
4634 | enableval="$enable_xgetdefault" |
|
|
4635 | if test x$enableval = xyes; then |
|
|
4636 | |
|
|
4637 | cat >>confdefs.h <<\_ACEOF |
|
|
4638 | #define USE_XGETDEFAULT 1 |
|
|
4639 | _ACEOF |
|
|
4640 | |
|
|
4641 | fi |
|
|
4642 | fi; |
|
|
4643 | |
|
|
4644 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
4641 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
4645 | if test "${enable_8bitctrls+set}" = set; then |
4642 | if test "${enable_8bitctrls+set}" = set; then |
4646 | enableval="$enable_8bitctrls" |
4643 | enableval="$enable_8bitctrls" |
4647 | if test x$enableval = xyes -o x$enableval = xno; then |
4644 | if test x$enableval = xyes -o x$enableval = xno; then |
4648 | support_8bitctrls=$enableval |
4645 | support_8bitctrls=$enableval |
… | |
… | |
4707 | _ACEOF |
4704 | _ACEOF |
4708 | |
4705 | |
4709 | |
4706 | |
4710 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4707 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4711 | |
4708 | |
4712 | |
|
|
4713 | # Check whether --enable-strings or --disable-strings was given. |
|
|
4714 | if test "${enable_strings+set}" = set; then |
|
|
4715 | enableval="$enable_strings" |
|
|
4716 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4717 | support_addstrings=$enableval |
|
|
4718 | fi |
|
|
4719 | fi; |
|
|
4720 | |
4709 | |
4721 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4710 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4722 | if test "${enable_swapscreen+set}" = set; then |
4711 | if test "${enable_swapscreen+set}" = set; then |
4723 | enableval="$enable_swapscreen" |
4712 | enableval="$enable_swapscreen" |
4724 | if test x$enableval = xno; then |
4713 | if test x$enableval = xno; then |
… | |
… | |
7296 | |
7285 | |
7297 | |
7286 | |
7298 | |
7287 | |
7299 | |
7288 | |
7300 | |
7289 | |
|
|
7290 | |
|
|
7291 | |
7301 | for ac_header in \ |
7292 | for ac_header in \ |
7302 | assert.h \ |
7293 | assert.h \ |
7303 | fcntl.h \ |
7294 | fcntl.h \ |
7304 | grp.h \ |
7295 | grp.h \ |
7305 | libc.h \ |
7296 | libc.h \ |
… | |
… | |
7318 | sys/time.h \ |
7309 | sys/time.h \ |
7319 | utmp.h \ |
7310 | utmp.h \ |
7320 | utmpx.h \ |
7311 | utmpx.h \ |
7321 | stdint.h \ |
7312 | stdint.h \ |
7322 | pty.h \ |
7313 | pty.h \ |
|
|
7314 | util.h \ |
|
|
7315 | libutil.h \ |
7323 | wchar.h \ |
7316 | wchar.h \ |
7324 | cwchar \ |
7317 | cwchar \ |
7325 | clocale \ |
7318 | clocale \ |
7326 | |
7319 | |
7327 | do |
7320 | do |
… | |
… | |
10191 | seteuid \ |
10184 | seteuid \ |
10192 | setreuid \ |
10185 | setreuid \ |
10193 | setsid \ |
10186 | setsid \ |
10194 | setpgrp \ |
10187 | setpgrp \ |
10195 | setpgid \ |
10188 | setpgid \ |
10196 | openpty \ |
|
|
10197 | _getpty \ |
10189 | _getpty \ |
|
|
10190 | posix_openpt \ |
10198 | grantpt \ |
10191 | grantpt \ |
10199 | unlockpt \ |
10192 | unlockpt \ |
10200 | isastream \ |
10193 | isastream \ |
10201 | on_exit \ |
10194 | on_exit \ |
10202 | nanosleep \ |
10195 | nanosleep \ |
… | |
… | |
11983 | #define XIMCB_PROTO_BROKEN 1 |
11976 | #define XIMCB_PROTO_BROKEN 1 |
11984 | _ACEOF |
11977 | _ACEOF |
11985 | |
11978 | |
11986 | fi |
11979 | fi |
11987 | |
11980 | |
|
|
11981 | if test x$rxvt_cv_func_posix_openpt = xno; then |
11988 | echo "$as_me:$LINENO: checking for getpt" >&5 |
11982 | echo "$as_me:$LINENO: checking for openpty" >&5 |
11989 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
11983 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11990 | if test "${rxvt_cv_func_getpt+set}" = set; then |
11984 | if test "${ac_cv_func_openpty+set}" = set; then |
11991 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11985 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11992 | else |
11986 | else |
11993 | cat >conftest.$ac_ext <<_ACEOF |
11987 | cat >conftest.$ac_ext <<_ACEOF |
11994 | /* confdefs.h. */ |
11988 | /* confdefs.h. */ |
11995 | _ACEOF |
11989 | _ACEOF |
11996 | cat confdefs.h >>conftest.$ac_ext |
11990 | cat confdefs.h >>conftest.$ac_ext |
11997 | cat >>conftest.$ac_ext <<_ACEOF |
11991 | cat >>conftest.$ac_ext <<_ACEOF |
11998 | /* end confdefs.h. */ |
11992 | /* end confdefs.h. */ |
11999 | #define _GNU_SOURCE |
11993 | /* Define openpty to an innocuous variant, in case <limits.h> declares openpty. |
12000 | #ifdef HAVE_STDLIB_H |
11994 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12001 | # include <cstdlib> |
11995 | #define openpty innocuous_openpty |
|
|
11996 | |
|
|
11997 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
11998 | which can conflict with char openpty (); below. |
|
|
11999 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
12000 | <limits.h> exists even on freestanding compilers. */ |
|
|
12001 | |
|
|
12002 | #ifdef __STDC__ |
|
|
12003 | # include <limits.h> |
|
|
12004 | #else |
|
|
12005 | # include <assert.h> |
12002 | #endif |
12006 | #endif |
|
|
12007 | |
|
|
12008 | #undef openpty |
|
|
12009 | |
|
|
12010 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12011 | #ifdef __cplusplus |
|
|
12012 | extern "C" |
|
|
12013 | { |
|
|
12014 | #endif |
|
|
12015 | /* We use char because int might match the return type of a gcc2 |
|
|
12016 | builtin and then its argument prototype would still apply. */ |
|
|
12017 | char openpty (); |
|
|
12018 | /* The GNU C library defines this for functions which it implements |
|
|
12019 | to always fail with ENOSYS. Some functions are actually named |
|
|
12020 | something starting with __ and the normal name is an alias. */ |
|
|
12021 | #if defined (__stub_openpty) || defined (__stub___openpty) |
|
|
12022 | choke me |
|
|
12023 | #else |
|
|
12024 | char (*f) () = openpty; |
|
|
12025 | #endif |
|
|
12026 | #ifdef __cplusplus |
|
|
12027 | } |
|
|
12028 | #endif |
|
|
12029 | |
12003 | int |
12030 | int |
12004 | main () |
12031 | main () |
12005 | { |
12032 | { |
12006 | (void)getpt(); |
12033 | return f != openpty; |
12007 | ; |
12034 | ; |
12008 | return 0; |
12035 | return 0; |
12009 | } |
12036 | } |
12010 | _ACEOF |
12037 | _ACEOF |
12011 | rm -f conftest.$ac_objext conftest$ac_exeext |
12038 | rm -f conftest.$ac_objext conftest$ac_exeext |
… | |
… | |
12027 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12054 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12028 | (eval $ac_try) 2>&5 |
12055 | (eval $ac_try) 2>&5 |
12029 | ac_status=$? |
12056 | ac_status=$? |
12030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12057 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12031 | (exit $ac_status); }; }; then |
12058 | (exit $ac_status); }; }; then |
12032 | rxvt_cv_func_getpt=yes |
12059 | ac_cv_func_openpty=yes |
12033 | else |
12060 | else |
12034 | echo "$as_me: failed program was:" >&5 |
12061 | echo "$as_me: failed program was:" >&5 |
12035 | sed 's/^/| /' conftest.$ac_ext >&5 |
12062 | sed 's/^/| /' conftest.$ac_ext >&5 |
12036 | |
12063 | |
12037 | rxvt_cv_func_getpt=no |
12064 | ac_cv_func_openpty=no |
12038 | fi |
12065 | fi |
12039 | rm -f conftest.err conftest.$ac_objext \ |
12066 | rm -f conftest.err conftest.$ac_objext \ |
12040 | conftest$ac_exeext conftest.$ac_ext |
12067 | conftest$ac_exeext conftest.$ac_ext |
12041 | fi |
12068 | fi |
12042 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
12069 | echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 |
12043 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
12070 | echo "${ECHO_T}$ac_cv_func_openpty" >&6 |
12044 | if test x$rxvt_cv_func_getpt = xyes; then |
12071 | if test $ac_cv_func_openpty = yes; then |
12045 | |
12072 | : |
|
|
12073 | else |
|
|
12074 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
12075 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
12076 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
12077 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12078 | else |
|
|
12079 | ac_check_lib_save_LIBS=$LIBS |
|
|
12080 | LIBS="-lutil $LIBS" |
|
|
12081 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12082 | /* confdefs.h. */ |
|
|
12083 | _ACEOF |
|
|
12084 | cat confdefs.h >>conftest.$ac_ext |
12046 | cat >>confdefs.h <<\_ACEOF |
12085 | cat >>conftest.$ac_ext <<_ACEOF |
12047 | #define HAVE_GETPT 1 |
12086 | /* end confdefs.h. */ |
|
|
12087 | |
|
|
12088 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12089 | #ifdef __cplusplus |
|
|
12090 | extern "C" |
|
|
12091 | #endif |
|
|
12092 | /* We use char because int might match the return type of a gcc2 |
|
|
12093 | builtin and then its argument prototype would still apply. */ |
|
|
12094 | char openpty (); |
|
|
12095 | int |
|
|
12096 | main () |
|
|
12097 | { |
|
|
12098 | openpty (); |
|
|
12099 | ; |
|
|
12100 | return 0; |
|
|
12101 | } |
12048 | _ACEOF |
12102 | _ACEOF |
|
|
12103 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12104 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12105 | (eval $ac_link) 2>conftest.er1 |
|
|
12106 | ac_status=$? |
|
|
12107 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12108 | rm -f conftest.er1 |
|
|
12109 | cat conftest.err >&5 |
|
|
12110 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12111 | (exit $ac_status); } && |
|
|
12112 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12113 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12114 | (eval $ac_try) 2>&5 |
|
|
12115 | ac_status=$? |
|
|
12116 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12117 | (exit $ac_status); }; } && |
|
|
12118 | { ac_try='test -s conftest$ac_exeext' |
|
|
12119 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12120 | (eval $ac_try) 2>&5 |
|
|
12121 | ac_status=$? |
|
|
12122 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12123 | (exit $ac_status); }; }; then |
|
|
12124 | ac_cv_lib_util_openpty=yes |
|
|
12125 | else |
|
|
12126 | echo "$as_me: failed program was:" >&5 |
|
|
12127 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12128 | |
|
|
12129 | ac_cv_lib_util_openpty=no |
|
|
12130 | fi |
|
|
12131 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12132 | conftest$ac_exeext conftest.$ac_ext |
|
|
12133 | LIBS=$ac_check_lib_save_LIBS |
|
|
12134 | fi |
|
|
12135 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12136 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12137 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12138 | LIBS="$LIBS -lutil" |
|
|
12139 | fi |
|
|
12140 | |
|
|
12141 | fi |
12049 | |
12142 | |
12050 | fi |
12143 | fi |
12051 | |
12144 | |
12052 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12145 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12053 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12146 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12054 | if test "${rxvt_cv_ptys+set}" = set; then |
12147 | if test "${rxvt_cv_ptys+set}" = set; then |
12055 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12148 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12056 | else |
12149 | else |
12057 | if test x$ac_cv_func_openpty = xyes; then |
12150 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
12058 | rxvt_cv_ptys=OPENPTY |
12151 | rxvt_cv_ptys=OPENPTY |
|
|
12152 | else if test x$ac_cv_func_posix_openpt = xyes; then |
|
|
12153 | rxvt_cv_ptys=POSIX |
12059 | else if test x$ac_cv_func__getpty = xyes; then |
12154 | else if test x$ac_cv_func__getpty = xyes; then |
12060 | rxvt_cv_ptys=SGI4 |
12155 | rxvt_cv_ptys=SGI4 |
12061 | else if test -c /dev/ttyp20; then |
12156 | else if test -c /dev/ttyp20; then |
12062 | rxvt_cv_ptys=SCO |
12157 | rxvt_cv_ptys=SCO |
12063 | else if test -c /dev/ptym/clone; then |
12158 | else if test -c /dev/ptym/clone; then |
12064 | rxvt_cv_ptys=HPUX |
12159 | rxvt_cv_ptys=HPUX |
12065 | else if test x$rxvt_cv_func_getpt = xyes; then |
|
|
12066 | rxvt_cv_ptys=GLIBC |
|
|
12067 | else if test -c /dev/ptc -a -c /dev/pts; then |
12160 | else if test -c /dev/ptc -a -c /dev/pts; then |
12068 | rxvt_cv_ptys=PTC |
12161 | rxvt_cv_ptys=PTC |
12069 | else if test -c /dev/ptc -a -d /dev/pts; then |
12162 | else if test -c /dev/ptc -a -d /dev/pts; then |
12070 | rxvt_cv_ptys=PTC |
12163 | rxvt_cv_ptys=PTC |
12071 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
12164 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
… | |
… | |
12086 | |
12179 | |
12087 | fi |
12180 | fi |
12088 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12181 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12089 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12182 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12090 | |
12183 | |
|
|
12184 | if test x$rxvt_cv_ptys = xPOSIX; then |
|
|
12185 | |
|
|
12186 | cat >>confdefs.h <<\_ACEOF |
|
|
12187 | #define PTYS_ARE_POSIX 1 |
|
|
12188 | _ACEOF |
|
|
12189 | |
|
|
12190 | fi |
12091 | if test x$rxvt_cv_ptys = xOPENPTY; then |
12191 | if test x$rxvt_cv_ptys = xOPENPTY; then |
12092 | |
12192 | |
12093 | cat >>confdefs.h <<\_ACEOF |
12193 | cat >>confdefs.h <<\_ACEOF |
12094 | #define PTYS_ARE_OPENPTY 1 |
12194 | #define PTYS_ARE_OPENPTY 1 |
12095 | _ACEOF |
12195 | _ACEOF |
… | |
… | |
12118 | fi |
12218 | fi |
12119 | if test x$rxvt_cv_ptys = xSGI4; then |
12219 | if test x$rxvt_cv_ptys = xSGI4; then |
12120 | |
12220 | |
12121 | cat >>confdefs.h <<\_ACEOF |
12221 | cat >>confdefs.h <<\_ACEOF |
12122 | #define PTYS_ARE__GETPTY 1 |
12222 | #define PTYS_ARE__GETPTY 1 |
12123 | _ACEOF |
|
|
12124 | |
|
|
12125 | fi |
|
|
12126 | if test x$rxvt_cv_ptys = xCONVEX; then |
|
|
12127 | |
|
|
12128 | cat >>confdefs.h <<\_ACEOF |
|
|
12129 | #define PTYS_ARE_GETPTY 1 |
|
|
12130 | _ACEOF |
12223 | _ACEOF |
12131 | |
12224 | |
12132 | fi |
12225 | fi |
12133 | if test x$rxvt_cv_ptys = xGLIBC; then |
12226 | if test x$rxvt_cv_ptys = xGLIBC; then |
12134 | |
12227 | |
… | |
… | |
12173 | |
12266 | |
12174 | fi |
12267 | fi |
12175 | |
12268 | |
12176 | if test x$support_xft = xyes; then |
12269 | if test x$support_xft = xyes; then |
12177 | LIBS="$LIBS `pkg-config xft --libs`" |
12270 | LIBS="$LIBS `pkg-config xft --libs`" |
12178 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
12179 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12271 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12180 | |
12272 | |
12181 | |
12273 | |
12182 | for ac_header in X11/Xft/Xft.h |
12274 | for ac_header in X11/Xft/Xft.h |
12183 | do |
12275 | do |
… | |
… | |
12642 | _ACEOF |
12734 | _ACEOF |
12643 | ;; |
12735 | ;; |
12644 | esac |
12736 | esac |
12645 | done |
12737 | done |
12646 | |
12738 | |
|
|
12739 | IF_PERL=\# |
|
|
12740 | if test x$support_perl = xyes; then |
|
|
12741 | # Extract the first word of "perl5", so it can be a program name with args. |
|
|
12742 | set dummy perl5; ac_word=$2 |
|
|
12743 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12744 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12745 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
12746 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12747 | else |
|
|
12748 | case $PERL in |
|
|
12749 | [\\/]* | ?:[\\/]*) |
|
|
12750 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
12751 | ;; |
|
|
12752 | *) |
|
|
12753 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12754 | for as_dir in $PATH |
|
|
12755 | do |
|
|
12756 | IFS=$as_save_IFS |
|
|
12757 | test -z "$as_dir" && as_dir=. |
|
|
12758 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12759 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12760 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
12761 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12762 | break 2 |
|
|
12763 | fi |
|
|
12764 | done |
|
|
12765 | done |
|
|
12766 | |
|
|
12767 | ;; |
|
|
12768 | esac |
|
|
12769 | fi |
|
|
12770 | PERL=$ac_cv_path_PERL |
|
|
12771 | |
|
|
12772 | if test -n "$PERL"; then |
|
|
12773 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
12774 | echo "${ECHO_T}$PERL" >&6 |
|
|
12775 | else |
|
|
12776 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12777 | echo "${ECHO_T}no" >&6 |
|
|
12778 | fi |
|
|
12779 | |
|
|
12780 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
12781 | set dummy perl; ac_word=$2 |
|
|
12782 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12783 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12784 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
12785 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12786 | else |
|
|
12787 | case $PERL in |
|
|
12788 | [\\/]* | ?:[\\/]*) |
|
|
12789 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
12790 | ;; |
|
|
12791 | *) |
|
|
12792 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12793 | for as_dir in $PATH |
|
|
12794 | do |
|
|
12795 | IFS=$as_save_IFS |
|
|
12796 | test -z "$as_dir" && as_dir=. |
|
|
12797 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12798 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12799 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
12800 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12801 | break 2 |
|
|
12802 | fi |
|
|
12803 | done |
|
|
12804 | done |
|
|
12805 | |
|
|
12806 | ;; |
|
|
12807 | esac |
|
|
12808 | fi |
|
|
12809 | PERL=$ac_cv_path_PERL |
|
|
12810 | |
|
|
12811 | if test -n "$PERL"; then |
|
|
12812 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
12813 | echo "${ECHO_T}$PERL" >&6 |
|
|
12814 | else |
|
|
12815 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12816 | echo "${ECHO_T}no" >&6 |
|
|
12817 | fi |
|
|
12818 | |
|
|
12819 | |
|
|
12820 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
|
|
12821 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
|
|
12822 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
|
|
12823 | |
|
|
12824 | save_CXXFLAGS="$CXXFLAGS" |
|
|
12825 | save_LIBS="$LIBS" |
|
|
12826 | CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
|
|
12827 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
|
|
12828 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12829 | /* confdefs.h. */ |
|
|
12830 | _ACEOF |
|
|
12831 | cat confdefs.h >>conftest.$ac_ext |
|
|
12832 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12833 | /* end confdefs.h. */ |
|
|
12834 | |
|
|
12835 | #include <EXTERN.h> |
|
|
12836 | #include <perl.h> |
|
|
12837 | #include <XSUB.h> |
|
|
12838 | |
|
|
12839 | int |
|
|
12840 | main () |
|
|
12841 | { |
|
|
12842 | |
|
|
12843 | PerlInterpreter *perl = perl_alloc (); |
|
|
12844 | |
|
|
12845 | ; |
|
|
12846 | return 0; |
|
|
12847 | } |
|
|
12848 | _ACEOF |
|
|
12849 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12850 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12851 | (eval $ac_link) 2>conftest.er1 |
|
|
12852 | ac_status=$? |
|
|
12853 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12854 | rm -f conftest.er1 |
|
|
12855 | cat conftest.err >&5 |
|
|
12856 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12857 | (exit $ac_status); } && |
|
|
12858 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12859 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12860 | (eval $ac_try) 2>&5 |
|
|
12861 | ac_status=$? |
|
|
12862 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12863 | (exit $ac_status); }; } && |
|
|
12864 | { ac_try='test -s conftest$ac_exeext' |
|
|
12865 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12866 | (eval $ac_try) 2>&5 |
|
|
12867 | ac_status=$? |
|
|
12868 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12869 | (exit $ac_status); }; }; then |
|
|
12870 | rxvt_perl_link=yes |
|
|
12871 | else |
|
|
12872 | echo "$as_me: failed program was:" >&5 |
|
|
12873 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12874 | |
|
|
12875 | rxvt_perl_link=no |
|
|
12876 | fi |
|
|
12877 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12878 | conftest$ac_exeext conftest.$ac_ext |
|
|
12879 | CXXFLAGS="$save_CXXFLAGS" |
|
|
12880 | LIBS="$save_LIBS" |
|
|
12881 | |
|
|
12882 | if test x$rxvt_perl_link = xyes; then |
|
|
12883 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
12884 | echo "${ECHO_T}ok" >&6 |
|
|
12885 | |
|
|
12886 | cat >>confdefs.h <<\_ACEOF |
|
|
12887 | #define ENABLE_PERL 1 |
|
|
12888 | _ACEOF |
|
|
12889 | |
|
|
12890 | IF_PERL= |
|
|
12891 | PERL_O=rxvtperl.o |
|
|
12892 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
|
|
12893 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
|
|
12894 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
|
|
12895 | else |
|
|
12896 | support_perl=no |
|
|
12897 | echo "$as_me:$LINENO: result: no, unable to link" >&5 |
|
|
12898 | echo "${ECHO_T}no, unable to link" >&6 |
|
|
12899 | fi |
|
|
12900 | else |
|
|
12901 | { { echo "$as_me:$LINENO: error: no working perl found" >&5 |
|
|
12902 | echo "$as_me: error: no working perl found" >&2;} |
|
|
12903 | { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } |
|
|
12904 | support_perl=no |
|
|
12905 | fi |
|
|
12906 | fi |
|
|
12907 | |
|
|
12908 | |
|
|
12909 | |
|
|
12910 | |
|
|
12911 | |
|
|
12912 | |
|
|
12913 | |
|
|
12914 | if test x$support_perl = xyes; then |
|
|
12915 | support_frills=yes |
|
|
12916 | fi |
|
|
12917 | |
12647 | |
12918 | |
12648 | CFLAGS=${CFLAGS--O} |
12919 | CFLAGS=${CFLAGS--O} |
12649 | LDFLAGS=${LDFLAGS--O} |
12920 | LDFLAGS=${LDFLAGS--O} |
12650 | |
12921 | |
12651 | CPPFLAGS="$CPPFLAGS" |
12922 | CPPFLAGS="$CPPFLAGS" |
… | |
… | |
12665 | fi |
12936 | fi |
12666 | |
12937 | |
12667 | |
12938 | |
12668 | |
12939 | |
12669 | |
12940 | |
12670 | |
|
|
12671 | if test x$support_addstrings = xno; then |
|
|
12672 | |
|
|
12673 | cat >>confdefs.h <<\_ACEOF |
|
|
12674 | #define NO_STRINGS 1 |
|
|
12675 | _ACEOF |
|
|
12676 | |
|
|
12677 | fi |
|
|
12678 | |
12941 | |
12679 | MCOMMON=./autoconf/Make.common |
12942 | MCOMMON=./autoconf/Make.common |
12680 | |
12943 | |
12681 | |
12944 | |
12682 | test "$program_prefix" != NONE && |
12945 | test "$program_prefix" != NONE && |
… | |
… | |
13431 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13694 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13432 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13695 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13433 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13696 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13434 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13697 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13435 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
13698 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
|
|
13699 | s,@PERL@,$PERL,;t t |
|
|
13700 | s,@PERLLIB@,$PERLLIB,;t t |
|
|
13701 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
|
|
13702 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
|
|
13703 | s,@IF_PERL@,$IF_PERL,;t t |
|
|
13704 | s,@PERL_O@,$PERL_O,;t t |
13436 | s,@DEBUG@,$DEBUG,;t t |
13705 | s,@DEBUG@,$DEBUG,;t t |
13437 | s,@DINCLUDE@,$DINCLUDE,;t t |
13706 | s,@DINCLUDE@,$DINCLUDE,;t t |
13438 | s,@DLIB@,$DLIB,;t t |
13707 | s,@DLIB@,$DLIB,;t t |
13439 | s,@include_stdint_h@,$include_stdint_h,;t t |
13708 | s,@include_stdint_h@,$include_stdint_h,;t t |
13440 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
13709 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
… | |
… | |
13981 | utmp file: $rxvt_cv_path_utmp |
14250 | utmp file: $rxvt_cv_path_utmp |
13982 | utmpx file: $rxvt_cv_path_utmpx |
14251 | utmpx file: $rxvt_cv_path_utmpx |
13983 | wtmp file: $rxvt_cv_path_wtmp |
14252 | wtmp file: $rxvt_cv_path_wtmp |
13984 | wtmpx file: $rxvt_cv_path_wtmpx |
14253 | wtmpx file: $rxvt_cv_path_wtmpx |
13985 | lastlog file: $rxvt_cv_path_lastlog |
14254 | lastlog file: $rxvt_cv_path_lastlog |
13986 | ttys/ttytab file: $rxvt_cv_path_ttytab" |
14255 | ttys/ttytab file: $rxvt_cv_path_ttytab |
|
|
14256 | embedded perl: $support_perl" |
13987 | echo |
14257 | echo |
13988 | fi |
14258 | fi |
13989 | if test x$term != x; then |
14259 | if test x$term != x; then |
13990 | echo " set TERM to: $term" |
14260 | echo " set TERM to: $term" |
13991 | fi |
14261 | fi |