… | |
… | |
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 PERLARCHLIB 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='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 |
… | |
… | |
889 | --enable-xim XIM (X Input Method) protocol support |
889 | --enable-xim XIM (X Input Method) protocol support |
890 | --enable-ttygid enable tty setting to group named "tty" |
890 | --enable-ttygid enable tty setting to group named "tty" |
891 | --disable-backspace-key disable handling of the backspace key |
891 | --disable-backspace-key disable handling of the backspace key |
892 | --disable-delete-key disable handling of the delete key |
892 | --disable-delete-key disable handling of the delete key |
893 | --disable-resources disable all resource checking |
893 | --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) |
894 | --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) |
895 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
897 | --enable-strings enable some replacement system functions |
896 | --enable-strings enable some replacement system functions |
898 | --disable-swapscreen disable swap screen support |
897 | --disable-swapscreen disable swap screen support |
899 | --enable-iso14755 enable support for extended ISO 14755 modes |
898 | --enable-iso14755 enable support for extended ISO 14755 modes |
… | |
… | |
4320 | |
4319 | |
4321 | MALLOC_TYPE=S |
4320 | MALLOC_TYPE=S |
4322 | |
4321 | |
4323 | support_addstrings=no |
4322 | support_addstrings=no |
4324 | support_frills=yes |
4323 | support_frills=yes |
4325 | support_inheritpixmap=no |
4324 | support_inheritpixmap=yes |
4326 | support_tinting=yes |
4325 | support_tinting=yes |
4327 | support_fading=yes |
4326 | support_fading=yes |
4328 | support_keepscrolling=yes |
4327 | support_keepscrolling=yes |
4329 | support_selectionscrolling=yes |
4328 | support_selectionscrolling=yes |
4330 | support_menubar=no |
4329 | support_menubar=no |
… | |
… | |
4338 | support_scroll_rxvt=yes |
4337 | support_scroll_rxvt=yes |
4339 | support_scroll_next=yes |
4338 | support_scroll_next=yes |
4340 | support_scroll_xterm=yes |
4339 | support_scroll_xterm=yes |
4341 | support_scroll_plain=yes |
4340 | support_scroll_plain=yes |
4342 | support_xim=yes |
4341 | support_xim=yes |
4343 | support_xpm=no |
4342 | support_xpm=yes |
4344 | support_xft=yes |
4343 | support_xft=yes |
4345 | support_unicode3=no |
4344 | support_unicode3=no |
4346 | support_combining=yes |
4345 | support_combining=yes |
4347 | support_8bitctrls=no |
4346 | support_8bitctrls=no |
4348 | support_iso14755=yes |
4347 | support_iso14755=yes |
4349 | support_styles=yes |
4348 | support_styles=yes |
4350 | support_perl=no |
4349 | support_perl=yes |
4351 | codesets=all |
4350 | codesets=all |
4352 | |
4351 | |
4353 | |
4352 | |
4354 | if test "x$enable_shared" = xyes; then |
4353 | if test "x$enable_shared" = xyes; then |
4355 | |
4354 | |
… | |
… | |
4639 | _ACEOF |
4638 | _ACEOF |
4640 | |
4639 | |
4641 | fi |
4640 | fi |
4642 | fi; |
4641 | fi; |
4643 | |
4642 | |
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. |
4643 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
4657 | if test "${enable_8bitctrls+set}" = set; then |
4644 | if test "${enable_8bitctrls+set}" = set; then |
4658 | enableval="$enable_8bitctrls" |
4645 | enableval="$enable_8bitctrls" |
4659 | if test x$enableval = xyes -o x$enableval = xno; then |
4646 | if test x$enableval = xyes -o x$enableval = xno; then |
4660 | support_8bitctrls=$enableval |
4647 | support_8bitctrls=$enableval |
… | |
… | |
7308 | |
7295 | |
7309 | |
7296 | |
7310 | |
7297 | |
7311 | |
7298 | |
7312 | |
7299 | |
|
|
7300 | |
|
|
7301 | |
7313 | for ac_header in \ |
7302 | for ac_header in \ |
7314 | assert.h \ |
7303 | assert.h \ |
7315 | fcntl.h \ |
7304 | fcntl.h \ |
7316 | grp.h \ |
7305 | grp.h \ |
7317 | libc.h \ |
7306 | libc.h \ |
… | |
… | |
7330 | sys/time.h \ |
7319 | sys/time.h \ |
7331 | utmp.h \ |
7320 | utmp.h \ |
7332 | utmpx.h \ |
7321 | utmpx.h \ |
7333 | stdint.h \ |
7322 | stdint.h \ |
7334 | pty.h \ |
7323 | pty.h \ |
|
|
7324 | util.h \ |
|
|
7325 | libutil.h \ |
7335 | wchar.h \ |
7326 | wchar.h \ |
7336 | cwchar \ |
7327 | cwchar \ |
7337 | clocale \ |
7328 | clocale \ |
7338 | |
7329 | |
7339 | do |
7330 | do |
… | |
… | |
10192 | |
10183 | |
10193 | |
10184 | |
10194 | |
10185 | |
10195 | |
10186 | |
10196 | |
10187 | |
10197 | |
|
|
10198 | for ac_func in \ |
10188 | for ac_func in \ |
10199 | atexit \ |
10189 | atexit \ |
10200 | revoke \ |
10190 | revoke \ |
10201 | unsetenv \ |
10191 | unsetenv \ |
10202 | setutent \ |
10192 | setutent \ |
10203 | seteuid \ |
10193 | seteuid \ |
10204 | setreuid \ |
10194 | setreuid \ |
10205 | setsid \ |
10195 | setsid \ |
10206 | setpgrp \ |
10196 | setpgrp \ |
10207 | setpgid \ |
10197 | setpgid \ |
10208 | openpty \ |
|
|
10209 | _getpty \ |
10198 | _getpty \ |
10210 | grantpt \ |
10199 | grantpt \ |
10211 | unlockpt \ |
10200 | unlockpt \ |
10212 | isastream \ |
10201 | isastream \ |
10213 | on_exit \ |
10202 | on_exit \ |
… | |
… | |
12051 | rm -f conftest.err conftest.$ac_objext \ |
12040 | rm -f conftest.err conftest.$ac_objext \ |
12052 | conftest$ac_exeext conftest.$ac_ext |
12041 | conftest$ac_exeext conftest.$ac_ext |
12053 | fi |
12042 | fi |
12054 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
12043 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
12055 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
12044 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
12056 | if test x$rxvt_cv_func_getpt = xyes; then |
12045 | if test x$rxvt_cv_func_getpt = xno; then |
12057 | |
12046 | echo "$as_me:$LINENO: checking for openpty" >&5 |
|
|
12047 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
|
|
12048 | if test "${ac_cv_func_openpty+set}" = set; then |
|
|
12049 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12050 | else |
|
|
12051 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12052 | /* confdefs.h. */ |
|
|
12053 | _ACEOF |
|
|
12054 | cat confdefs.h >>conftest.$ac_ext |
12058 | cat >>confdefs.h <<\_ACEOF |
12055 | cat >>conftest.$ac_ext <<_ACEOF |
12059 | #define HAVE_GETPT 1 |
12056 | /* end confdefs.h. */ |
|
|
12057 | /* Define openpty to an innocuous variant, in case <limits.h> declares openpty. |
|
|
12058 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
12059 | #define openpty innocuous_openpty |
|
|
12060 | |
|
|
12061 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
12062 | which can conflict with char openpty (); below. |
|
|
12063 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
12064 | <limits.h> exists even on freestanding compilers. */ |
|
|
12065 | |
|
|
12066 | #ifdef __STDC__ |
|
|
12067 | # include <limits.h> |
|
|
12068 | #else |
|
|
12069 | # include <assert.h> |
|
|
12070 | #endif |
|
|
12071 | |
|
|
12072 | #undef openpty |
|
|
12073 | |
|
|
12074 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12075 | #ifdef __cplusplus |
|
|
12076 | extern "C" |
|
|
12077 | { |
|
|
12078 | #endif |
|
|
12079 | /* We use char because int might match the return type of a gcc2 |
|
|
12080 | builtin and then its argument prototype would still apply. */ |
|
|
12081 | char openpty (); |
|
|
12082 | /* The GNU C library defines this for functions which it implements |
|
|
12083 | to always fail with ENOSYS. Some functions are actually named |
|
|
12084 | something starting with __ and the normal name is an alias. */ |
|
|
12085 | #if defined (__stub_openpty) || defined (__stub___openpty) |
|
|
12086 | choke me |
|
|
12087 | #else |
|
|
12088 | char (*f) () = openpty; |
|
|
12089 | #endif |
|
|
12090 | #ifdef __cplusplus |
|
|
12091 | } |
|
|
12092 | #endif |
|
|
12093 | |
|
|
12094 | int |
|
|
12095 | main () |
|
|
12096 | { |
|
|
12097 | return f != openpty; |
|
|
12098 | ; |
|
|
12099 | return 0; |
|
|
12100 | } |
12060 | _ACEOF |
12101 | _ACEOF |
|
|
12102 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12103 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12104 | (eval $ac_link) 2>conftest.er1 |
|
|
12105 | ac_status=$? |
|
|
12106 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12107 | rm -f conftest.er1 |
|
|
12108 | cat conftest.err >&5 |
|
|
12109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12110 | (exit $ac_status); } && |
|
|
12111 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12113 | (eval $ac_try) 2>&5 |
|
|
12114 | ac_status=$? |
|
|
12115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12116 | (exit $ac_status); }; } && |
|
|
12117 | { ac_try='test -s conftest$ac_exeext' |
|
|
12118 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12119 | (eval $ac_try) 2>&5 |
|
|
12120 | ac_status=$? |
|
|
12121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12122 | (exit $ac_status); }; }; then |
|
|
12123 | ac_cv_func_openpty=yes |
|
|
12124 | else |
|
|
12125 | echo "$as_me: failed program was:" >&5 |
|
|
12126 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12127 | |
|
|
12128 | ac_cv_func_openpty=no |
|
|
12129 | fi |
|
|
12130 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12131 | conftest$ac_exeext conftest.$ac_ext |
|
|
12132 | fi |
|
|
12133 | echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 |
|
|
12134 | echo "${ECHO_T}$ac_cv_func_openpty" >&6 |
|
|
12135 | if test $ac_cv_func_openpty = yes; then |
|
|
12136 | : |
|
|
12137 | else |
|
|
12138 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
12139 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
12140 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
12141 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12142 | else |
|
|
12143 | ac_check_lib_save_LIBS=$LIBS |
|
|
12144 | LIBS="-lutil $LIBS" |
|
|
12145 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12146 | /* confdefs.h. */ |
|
|
12147 | _ACEOF |
|
|
12148 | cat confdefs.h >>conftest.$ac_ext |
|
|
12149 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12150 | /* end confdefs.h. */ |
|
|
12151 | |
|
|
12152 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12153 | #ifdef __cplusplus |
|
|
12154 | extern "C" |
|
|
12155 | #endif |
|
|
12156 | /* We use char because int might match the return type of a gcc2 |
|
|
12157 | builtin and then its argument prototype would still apply. */ |
|
|
12158 | char openpty (); |
|
|
12159 | int |
|
|
12160 | main () |
|
|
12161 | { |
|
|
12162 | openpty (); |
|
|
12163 | ; |
|
|
12164 | return 0; |
|
|
12165 | } |
|
|
12166 | _ACEOF |
|
|
12167 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12168 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12169 | (eval $ac_link) 2>conftest.er1 |
|
|
12170 | ac_status=$? |
|
|
12171 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12172 | rm -f conftest.er1 |
|
|
12173 | cat conftest.err >&5 |
|
|
12174 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12175 | (exit $ac_status); } && |
|
|
12176 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12177 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12178 | (eval $ac_try) 2>&5 |
|
|
12179 | ac_status=$? |
|
|
12180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12181 | (exit $ac_status); }; } && |
|
|
12182 | { ac_try='test -s conftest$ac_exeext' |
|
|
12183 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12184 | (eval $ac_try) 2>&5 |
|
|
12185 | ac_status=$? |
|
|
12186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12187 | (exit $ac_status); }; }; then |
|
|
12188 | ac_cv_lib_util_openpty=yes |
|
|
12189 | else |
|
|
12190 | echo "$as_me: failed program was:" >&5 |
|
|
12191 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12192 | |
|
|
12193 | ac_cv_lib_util_openpty=no |
|
|
12194 | fi |
|
|
12195 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12196 | conftest$ac_exeext conftest.$ac_ext |
|
|
12197 | LIBS=$ac_check_lib_save_LIBS |
|
|
12198 | fi |
|
|
12199 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12200 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12201 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12202 | LIBS="$LIBS -lutil" |
|
|
12203 | fi |
|
|
12204 | |
|
|
12205 | fi |
12061 | |
12206 | |
12062 | fi |
12207 | fi |
12063 | |
12208 | |
12064 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12209 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12065 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12210 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12066 | if test "${rxvt_cv_ptys+set}" = set; then |
12211 | if test "${rxvt_cv_ptys+set}" = set; then |
12067 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12212 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12068 | else |
12213 | else |
12069 | if test x$ac_cv_func_openpty = xyes; then |
12214 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
12070 | rxvt_cv_ptys=OPENPTY |
12215 | rxvt_cv_ptys=OPENPTY |
12071 | else if test x$ac_cv_func__getpty = xyes; then |
12216 | else if test x$ac_cv_func__getpty = xyes; then |
12072 | rxvt_cv_ptys=SGI4 |
12217 | rxvt_cv_ptys=SGI4 |
12073 | else if test -c /dev/ttyp20; then |
12218 | else if test -c /dev/ttyp20; then |
12074 | rxvt_cv_ptys=SCO |
12219 | rxvt_cv_ptys=SCO |
… | |
… | |
12185 | |
12330 | |
12186 | fi |
12331 | fi |
12187 | |
12332 | |
12188 | if test x$support_xft = xyes; then |
12333 | if test x$support_xft = xyes; then |
12189 | LIBS="$LIBS `pkg-config xft --libs`" |
12334 | LIBS="$LIBS `pkg-config xft --libs`" |
12190 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
12191 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12335 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12192 | |
12336 | |
12193 | |
12337 | |
12194 | for ac_header in X11/Xft/Xft.h |
12338 | for ac_header in X11/Xft/Xft.h |
12195 | do |
12339 | do |
… | |
… | |
12739 | |
12883 | |
12740 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
12884 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
12741 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
12885 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
12742 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
12886 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
12743 | |
12887 | |
|
|
12888 | save_CXXFLAGS="$CXXFLAGS" |
|
|
12889 | save_LIBS="$LIBS" |
|
|
12890 | CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
|
|
12891 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
|
|
12892 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12893 | /* confdefs.h. */ |
|
|
12894 | _ACEOF |
|
|
12895 | cat confdefs.h >>conftest.$ac_ext |
|
|
12896 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12897 | /* end confdefs.h. */ |
|
|
12898 | |
|
|
12899 | #include <EXTERN.h> |
|
|
12900 | #include <perl.h> |
|
|
12901 | #include <XSUB.h> |
|
|
12902 | |
|
|
12903 | int |
|
|
12904 | main () |
|
|
12905 | { |
|
|
12906 | |
|
|
12907 | PerlInterpreter *perl = perl_alloc (); |
|
|
12908 | |
|
|
12909 | ; |
|
|
12910 | return 0; |
|
|
12911 | } |
|
|
12912 | _ACEOF |
|
|
12913 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12914 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12915 | (eval $ac_link) 2>conftest.er1 |
|
|
12916 | ac_status=$? |
|
|
12917 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12918 | rm -f conftest.er1 |
|
|
12919 | cat conftest.err >&5 |
|
|
12920 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12921 | (exit $ac_status); } && |
|
|
12922 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12923 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12924 | (eval $ac_try) 2>&5 |
|
|
12925 | ac_status=$? |
|
|
12926 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12927 | (exit $ac_status); }; } && |
|
|
12928 | { ac_try='test -s conftest$ac_exeext' |
|
|
12929 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12930 | (eval $ac_try) 2>&5 |
|
|
12931 | ac_status=$? |
|
|
12932 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12933 | (exit $ac_status); }; }; then |
|
|
12934 | rxvt_perl_link=yes |
|
|
12935 | else |
|
|
12936 | echo "$as_me: failed program was:" >&5 |
|
|
12937 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12938 | |
|
|
12939 | rxvt_perl_link=no |
|
|
12940 | fi |
|
|
12941 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12942 | conftest$ac_exeext conftest.$ac_ext |
|
|
12943 | CXXFLAGS="$save_CXXFLAGS" |
|
|
12944 | LIBS="$save_LIBS" |
|
|
12945 | |
|
|
12946 | if test x$rxvt_perl_link = xyes; then |
|
|
12947 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
12948 | echo "${ECHO_T}ok" >&6 |
|
|
12949 | |
12744 | cat >>confdefs.h <<\_ACEOF |
12950 | cat >>confdefs.h <<\_ACEOF |
12745 | #define ENABLE_PERL 1 |
12951 | #define ENABLE_PERL 1 |
12746 | _ACEOF |
12952 | _ACEOF |
12747 | |
12953 | |
12748 | IF_PERL= |
12954 | IF_PERL= |
12749 | PERL_O=rxvtperl.o |
12955 | PERL_O=rxvtperl.o |
12750 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12956 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
12751 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12957 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
12752 | PERLARCHLIB="`$PERL -MConfig -e 'print $Config{archlib}'`" |
12958 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
|
|
12959 | else |
|
|
12960 | support_perl=no |
12753 | echo "$as_me:$LINENO: result: ok" >&5 |
12961 | echo "$as_me:$LINENO: result: no, unable to link" >&5 |
12754 | echo "${ECHO_T}ok" >&6 |
12962 | echo "${ECHO_T}no, unable to link" >&6 |
|
|
12963 | fi |
12755 | else |
12964 | else |
12756 | { { echo "$as_me:$LINENO: error: no working perl found" >&5 |
12965 | { { echo "$as_me:$LINENO: error: no working perl found" >&5 |
12757 | echo "$as_me: error: no working perl found" >&2;} |
12966 | echo "$as_me: error: no working perl found" >&2;} |
12758 | { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } |
12967 | { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } |
|
|
12968 | support_perl=no |
12759 | fi |
12969 | fi |
12760 | fi |
12970 | fi |
12761 | |
12971 | |
12762 | |
12972 | |
12763 | |
12973 | |
12764 | |
12974 | |
12765 | |
12975 | |
12766 | |
12976 | |
|
|
12977 | |
|
|
12978 | if test x$support_perl = xyes; then |
|
|
12979 | support_frills=yes |
|
|
12980 | fi |
12767 | |
12981 | |
12768 | |
12982 | |
12769 | CFLAGS=${CFLAGS--O} |
12983 | CFLAGS=${CFLAGS--O} |
12770 | LDFLAGS=${LDFLAGS--O} |
12984 | LDFLAGS=${LDFLAGS--O} |
12771 | |
12985 | |
… | |
… | |
13555 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13769 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13556 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
13770 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
13557 | s,@PERL@,$PERL,;t t |
13771 | s,@PERL@,$PERL,;t t |
13558 | s,@PERLLIB@,$PERLLIB,;t t |
13772 | s,@PERLLIB@,$PERLLIB,;t t |
13559 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
13773 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
13560 | s,@PERLARCHLIB@,$PERLARCHLIB,;t t |
13774 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
13561 | s,@IF_PERL@,$IF_PERL,;t t |
13775 | s,@IF_PERL@,$IF_PERL,;t t |
13562 | s,@PERL_O@,$PERL_O,;t t |
13776 | s,@PERL_O@,$PERL_O,;t t |
13563 | s,@DEBUG@,$DEBUG,;t t |
13777 | s,@DEBUG@,$DEBUG,;t t |
13564 | s,@DINCLUDE@,$DINCLUDE,;t t |
13778 | s,@DINCLUDE@,$DINCLUDE,;t t |
13565 | s,@DLIB@,$DLIB,;t t |
13779 | s,@DLIB@,$DLIB,;t t |