… | |
… | |
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 |
… | |
… | |
877 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
877 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
878 | --enable-xpm-background enable XPM background pixmaps |
878 | --enable-xpm-background enable XPM background pixmaps |
879 | --enable-transparency enable transparent backgrounds |
879 | --enable-transparency enable transparent backgrounds |
880 | --enable-tinting enable tinting of transparent bg |
880 | --enable-tinting enable tinting of transparent bg |
881 | --enable-fading enable colors fading when off focus |
881 | --enable-fading enable colors fading when off focus |
882 | --enable-menubar enable menubar |
|
|
883 | --enable-rxvt-scroll enable rxvt style scrollbar |
882 | --enable-rxvt-scroll enable rxvt style scrollbar |
884 | --enable-next-scroll enable NeXT style scrollbar |
883 | --enable-next-scroll enable NeXT style scrollbar |
885 | --enable-xterm-scroll enable Xterm style scrollbar |
884 | --enable-xterm-scroll enable Xterm style scrollbar |
|
|
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 |
887 | --enable-half-shadow use half width/height shadow on rxvt scrollbar |
888 | --enable-xim XIM (X Input Method) protocol support |
888 | --enable-xim XIM (X Input Method) protocol support |
889 | --enable-ttygid enable tty setting to group named "tty" |
889 | --enable-ttygid enable tty setting to group named "tty" |
890 | --disable-backspace-key disable handling of the backspace key |
890 | --disable-backspace-key disable handling of the backspace key |
891 | --disable-delete-key disable handling of the delete key |
891 | --disable-delete-key disable handling of the delete key |
892 | --disable-resources disable all resource checking |
892 | --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) |
893 | --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) |
894 | --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 |
895 | --disable-swapscreen disable swap screen support |
898 | --enable-iso14755 enable support for extended ISO 14755 modes |
896 | --enable-iso14755 enable support for extended ISO 14755 modes |
899 | --enable-frills enable support for rarely used features |
897 | --enable-frills enable support for rarely used features |
900 | --enable-24bit enable support for using 24bit visuals if available |
898 | --enable-24bit enable support for using 24bit visuals if available |
901 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
899 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
… | |
… | |
4097 | fi |
4095 | fi |
4098 | |
4096 | |
4099 | fi |
4097 | fi |
4100 | |
4098 | |
4101 | |
4099 | |
|
|
4100 | echo "$as_me:$LINENO: checking for sched_yield" >&5 |
|
|
4101 | echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6 |
|
|
4102 | if test "${ac_cv_func_sched_yield+set}" = set; then |
|
|
4103 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4104 | else |
|
|
4105 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4106 | /* confdefs.h. */ |
|
|
4107 | _ACEOF |
|
|
4108 | cat confdefs.h >>conftest.$ac_ext |
|
|
4109 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4110 | /* end confdefs.h. */ |
|
|
4111 | /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield. |
|
|
4112 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
4113 | #define sched_yield innocuous_sched_yield |
|
|
4114 | |
|
|
4115 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
4116 | which can conflict with char sched_yield (); below. |
|
|
4117 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4118 | <limits.h> exists even on freestanding compilers. */ |
|
|
4119 | |
|
|
4120 | #ifdef __STDC__ |
|
|
4121 | # include <limits.h> |
|
|
4122 | #else |
|
|
4123 | # include <assert.h> |
|
|
4124 | #endif |
|
|
4125 | |
|
|
4126 | #undef sched_yield |
|
|
4127 | |
|
|
4128 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
4129 | #ifdef __cplusplus |
|
|
4130 | extern "C" |
|
|
4131 | { |
|
|
4132 | #endif |
|
|
4133 | /* We use char because int might match the return type of a gcc2 |
|
|
4134 | builtin and then its argument prototype would still apply. */ |
|
|
4135 | char sched_yield (); |
|
|
4136 | /* The GNU C library defines this for functions which it implements |
|
|
4137 | to always fail with ENOSYS. Some functions are actually named |
|
|
4138 | something starting with __ and the normal name is an alias. */ |
|
|
4139 | #if defined (__stub_sched_yield) || defined (__stub___sched_yield) |
|
|
4140 | choke me |
|
|
4141 | #else |
|
|
4142 | char (*f) () = sched_yield; |
|
|
4143 | #endif |
|
|
4144 | #ifdef __cplusplus |
|
|
4145 | } |
|
|
4146 | #endif |
|
|
4147 | |
|
|
4148 | int |
|
|
4149 | main () |
|
|
4150 | { |
|
|
4151 | return f != sched_yield; |
|
|
4152 | ; |
|
|
4153 | return 0; |
|
|
4154 | } |
|
|
4155 | _ACEOF |
|
|
4156 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4157 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4158 | (eval $ac_link) 2>conftest.er1 |
|
|
4159 | ac_status=$? |
|
|
4160 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4161 | rm -f conftest.er1 |
|
|
4162 | cat conftest.err >&5 |
|
|
4163 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4164 | (exit $ac_status); } && |
|
|
4165 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4166 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4167 | (eval $ac_try) 2>&5 |
|
|
4168 | ac_status=$? |
|
|
4169 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4170 | (exit $ac_status); }; } && |
|
|
4171 | { ac_try='test -s conftest$ac_exeext' |
|
|
4172 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4173 | (eval $ac_try) 2>&5 |
|
|
4174 | ac_status=$? |
|
|
4175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4176 | (exit $ac_status); }; }; then |
|
|
4177 | ac_cv_func_sched_yield=yes |
|
|
4178 | else |
|
|
4179 | echo "$as_me: failed program was:" >&5 |
|
|
4180 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4181 | |
|
|
4182 | ac_cv_func_sched_yield=no |
|
|
4183 | fi |
|
|
4184 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4185 | conftest$ac_exeext conftest.$ac_ext |
|
|
4186 | fi |
|
|
4187 | echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5 |
|
|
4188 | echo "${ECHO_T}$ac_cv_func_sched_yield" >&6 |
|
|
4189 | if test $ac_cv_func_sched_yield = yes; then |
|
|
4190 | : |
|
|
4191 | else |
|
|
4192 | echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5 |
|
|
4193 | echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6 |
|
|
4194 | if test "${ac_cv_lib_rt_sched_yield+set}" = set; then |
|
|
4195 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4196 | else |
|
|
4197 | ac_check_lib_save_LIBS=$LIBS |
|
|
4198 | LIBS="-lrt $LIBS" |
|
|
4199 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4200 | /* confdefs.h. */ |
|
|
4201 | _ACEOF |
|
|
4202 | cat confdefs.h >>conftest.$ac_ext |
|
|
4203 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4204 | /* end confdefs.h. */ |
|
|
4205 | |
|
|
4206 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
4207 | #ifdef __cplusplus |
|
|
4208 | extern "C" |
|
|
4209 | #endif |
|
|
4210 | /* We use char because int might match the return type of a gcc2 |
|
|
4211 | builtin and then its argument prototype would still apply. */ |
|
|
4212 | char sched_yield (); |
|
|
4213 | int |
|
|
4214 | main () |
|
|
4215 | { |
|
|
4216 | sched_yield (); |
|
|
4217 | ; |
|
|
4218 | return 0; |
|
|
4219 | } |
|
|
4220 | _ACEOF |
|
|
4221 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4222 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4223 | (eval $ac_link) 2>conftest.er1 |
|
|
4224 | ac_status=$? |
|
|
4225 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4226 | rm -f conftest.er1 |
|
|
4227 | cat conftest.err >&5 |
|
|
4228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4229 | (exit $ac_status); } && |
|
|
4230 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4231 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4232 | (eval $ac_try) 2>&5 |
|
|
4233 | ac_status=$? |
|
|
4234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4235 | (exit $ac_status); }; } && |
|
|
4236 | { ac_try='test -s conftest$ac_exeext' |
|
|
4237 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4238 | (eval $ac_try) 2>&5 |
|
|
4239 | ac_status=$? |
|
|
4240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4241 | (exit $ac_status); }; }; then |
|
|
4242 | ac_cv_lib_rt_sched_yield=yes |
|
|
4243 | else |
|
|
4244 | echo "$as_me: failed program was:" >&5 |
|
|
4245 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4246 | |
|
|
4247 | ac_cv_lib_rt_sched_yield=no |
|
|
4248 | fi |
|
|
4249 | rm -f conftest.err conftest.$ac_objext \ |
|
|
4250 | conftest$ac_exeext conftest.$ac_ext |
|
|
4251 | LIBS=$ac_check_lib_save_LIBS |
|
|
4252 | fi |
|
|
4253 | echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5 |
|
|
4254 | echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6 |
|
|
4255 | if test $ac_cv_lib_rt_sched_yield = yes; then |
|
|
4256 | LIBS="$LIBS -lrt" |
|
|
4257 | fi |
|
|
4258 | |
|
|
4259 | fi |
|
|
4260 | |
|
|
4261 | |
4102 | echo "$as_me:$LINENO: checking for sched_yield support" >&5 |
4262 | echo "$as_me:$LINENO: checking for sched_yield support" >&5 |
4103 | echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6 |
4263 | echo $ECHO_N "checking for sched_yield support... $ECHO_C" >&6 |
4104 | cat >conftest.$ac_ext <<_ACEOF |
4264 | cat >conftest.$ac_ext <<_ACEOF |
4105 | /* confdefs.h. */ |
4265 | /* confdefs.h. */ |
4106 | _ACEOF |
4266 | _ACEOF |
… | |
… | |
4155 | conftest$ac_exeext conftest.$ac_ext |
4315 | conftest$ac_exeext conftest.$ac_ext |
4156 | |
4316 | |
4157 | |
4317 | |
4158 | MALLOC_TYPE=S |
4318 | MALLOC_TYPE=S |
4159 | |
4319 | |
4160 | support_addstrings=no |
|
|
4161 | support_frills=yes |
4320 | support_frills=yes |
4162 | support_inheritpixmap=no |
4321 | support_inheritpixmap=yes |
4163 | support_tinting=yes |
4322 | support_tinting=yes |
4164 | support_fading=yes |
4323 | support_fading=yes |
4165 | support_keepscrolling=yes |
4324 | support_keepscrolling=yes |
4166 | support_selectionscrolling=yes |
4325 | support_selectionscrolling=yes |
4167 | support_menubar=no |
|
|
4168 | support_mousewheel=yes |
4326 | support_mousewheel=yes |
4169 | support_mouseslipwheel=yes |
4327 | support_mouseslipwheel=yes |
4170 | support_utmp=yes |
4328 | support_utmp=yes |
4171 | support_wtmp=yes |
4329 | support_wtmp=yes |
4172 | support_lastlog=yes |
4330 | support_lastlog=yes |
… | |
… | |
4175 | support_scroll_rxvt=yes |
4333 | support_scroll_rxvt=yes |
4176 | support_scroll_next=yes |
4334 | support_scroll_next=yes |
4177 | support_scroll_xterm=yes |
4335 | support_scroll_xterm=yes |
4178 | support_scroll_plain=yes |
4336 | support_scroll_plain=yes |
4179 | support_xim=yes |
4337 | support_xim=yes |
4180 | support_xpm=no |
4338 | support_xpm=yes |
4181 | support_xft=yes |
4339 | support_xft=yes |
4182 | support_unicode3=no |
4340 | support_unicode3=no |
4183 | support_combining=yes |
4341 | support_combining=yes |
4184 | support_8bitctrls=no |
4342 | support_8bitctrls=no |
4185 | support_iso14755=yes |
4343 | support_iso14755=yes |
4186 | support_styles=yes |
4344 | support_styles=yes |
|
|
4345 | support_perl=yes |
4187 | codesets=all |
4346 | codesets=all |
4188 | |
4347 | |
4189 | |
4348 | |
4190 | if test "x$enable_shared" = xyes; then |
4349 | if test "x$enable_shared" = xyes; then |
4191 | |
4350 | |
… | |
… | |
4208 | support_tinting=no |
4367 | support_tinting=no |
4209 | support_fading=no |
4368 | support_fading=no |
4210 | support_keepscrolling=no |
4369 | support_keepscrolling=no |
4211 | support_selectionscrolling=no |
4370 | support_selectionscrolling=no |
4212 | support_lastlog=no |
4371 | support_lastlog=no |
4213 | support_menubar=no |
|
|
4214 | support_mousewheel=no |
4372 | support_mousewheel=no |
4215 | support_mouseslipwheel=no |
4373 | support_mouseslipwheel=no |
4216 | support_text_blink=no |
4374 | support_text_blink=no |
4217 | support_pointer_blank=no |
4375 | support_pointer_blank=no |
4218 | support_scroll_rxvt=no |
4376 | support_scroll_rxvt=no |
… | |
… | |
4227 | support_unicode3=no |
4385 | support_unicode3=no |
4228 | support_combining=no |
4386 | support_combining=no |
4229 | support_8bitctrls=no |
4387 | support_8bitctrls=no |
4230 | support_iso14755=no |
4388 | support_iso14755=no |
4231 | support_styles=no |
4389 | support_styles=no |
|
|
4390 | support_perl=no |
4232 | codesets= |
4391 | codesets= |
4233 | fi |
4392 | fi |
4234 | if test x$enableval = xyes; then |
4393 | if test x$enableval = xyes; then |
4235 | support_24bit=yes |
4394 | support_24bit=yes |
4236 | support_frills=yes |
4395 | support_frills=yes |
… | |
… | |
4238 | support_tinting=yes |
4397 | support_tinting=yes |
4239 | support_fading=yes |
4398 | support_fading=yes |
4240 | support_keepscrolling=yes |
4399 | support_keepscrolling=yes |
4241 | support_selectionscrolling=yes |
4400 | support_selectionscrolling=yes |
4242 | support_lastlog=yes |
4401 | support_lastlog=yes |
4243 | support_menubar=yes |
|
|
4244 | support_mousewheel=yes |
4402 | support_mousewheel=yes |
4245 | support_mouseslipwheel=yes |
4403 | support_mouseslipwheel=yes |
4246 | support_text_blink=yes |
4404 | support_text_blink=yes |
4247 | support_pointer_blank=yes |
4405 | support_pointer_blank=yes |
4248 | support_scroll_rxvt=yes |
4406 | support_scroll_rxvt=yes |
… | |
… | |
4257 | support_unicode3=yes |
4415 | support_unicode3=yes |
4258 | support_combining=yes |
4416 | support_combining=yes |
4259 | #support_8bitctrls=yes |
4417 | #support_8bitctrls=yes |
4260 | support_iso14755=yes |
4418 | support_iso14755=yes |
4261 | support_styles=yes |
4419 | support_styles=yes |
|
|
4420 | support_perl=yes |
4262 | codesets=all |
4421 | codesets=all |
4263 | fi |
4422 | fi |
4264 | |
4423 | |
4265 | fi; |
4424 | fi; |
4266 | |
4425 | |
… | |
… | |
4350 | if test x$enableval = xyes -o x$enableval = xno; then |
4509 | if test x$enableval = xyes -o x$enableval = xno; then |
4351 | support_fading=$enableval |
4510 | support_fading=$enableval |
4352 | fi |
4511 | fi |
4353 | fi; |
4512 | fi; |
4354 | |
4513 | |
4355 | # Check whether --enable-menubar or --disable-menubar was given. |
|
|
4356 | if test "${enable_menubar+set}" = set; then |
|
|
4357 | enableval="$enable_menubar" |
|
|
4358 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4359 | support_menubar=$enableval |
|
|
4360 | fi |
|
|
4361 | fi; |
|
|
4362 | |
|
|
4363 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
4514 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
4364 | if test "${enable_rxvt_scroll+set}" = set; then |
4515 | if test "${enable_rxvt_scroll+set}" = set; then |
4365 | enableval="$enable_rxvt_scroll" |
4516 | enableval="$enable_rxvt_scroll" |
4366 | if test x$enableval = xyes -o x$enableval = xno; then |
4517 | if test x$enableval = xyes -o x$enableval = xno; then |
4367 | support_scroll_rxvt=$enableval |
4518 | support_scroll_rxvt=$enableval |
… | |
… | |
4382 | if test x$enableval = xyes -o x$enableval = xno; then |
4533 | if test x$enableval = xyes -o x$enableval = xno; then |
4383 | support_scroll_xterm=$enableval |
4534 | support_scroll_xterm=$enableval |
4384 | fi |
4535 | fi |
4385 | fi; |
4536 | fi; |
4386 | |
4537 | |
|
|
4538 | # Check whether --enable-perl or --disable-perl was given. |
|
|
4539 | if test "${enable_perl+set}" = set; then |
|
|
4540 | enableval="$enable_perl" |
|
|
4541 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4542 | support_perl=$enableval |
|
|
4543 | fi |
|
|
4544 | fi; |
|
|
4545 | |
4387 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4546 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4388 | if test "${enable_plain_scroll+set}" = set; then |
4547 | if test "${enable_plain_scroll+set}" = set; then |
4389 | enableval="$enable_plain_scroll" |
4548 | enableval="$enable_plain_scroll" |
4390 | if test x$enableval = xyes -o x$enableval = xno; then |
4549 | if test x$enableval = xyes -o x$enableval = xno; then |
4391 | support_scroll_plain=$enableval |
4550 | support_scroll_plain=$enableval |
… | |
… | |
4465 | _ACEOF |
4624 | _ACEOF |
4466 | |
4625 | |
4467 | fi |
4626 | fi |
4468 | fi; |
4627 | fi; |
4469 | |
4628 | |
4470 | # Check whether --enable-xgetdefault or --disable-xgetdefault was given. |
|
|
4471 | if test "${enable_xgetdefault+set}" = set; then |
|
|
4472 | enableval="$enable_xgetdefault" |
|
|
4473 | if test x$enableval = xyes; then |
|
|
4474 | |
|
|
4475 | cat >>confdefs.h <<\_ACEOF |
|
|
4476 | #define USE_XGETDEFAULT 1 |
|
|
4477 | _ACEOF |
|
|
4478 | |
|
|
4479 | fi |
|
|
4480 | fi; |
|
|
4481 | |
|
|
4482 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
4629 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
4483 | if test "${enable_8bitctrls+set}" = set; then |
4630 | if test "${enable_8bitctrls+set}" = set; then |
4484 | enableval="$enable_8bitctrls" |
4631 | enableval="$enable_8bitctrls" |
4485 | if test x$enableval = xyes -o x$enableval = xno; then |
4632 | if test x$enableval = xyes -o x$enableval = xno; then |
4486 | support_8bitctrls=$enableval |
4633 | support_8bitctrls=$enableval |
… | |
… | |
4545 | _ACEOF |
4692 | _ACEOF |
4546 | |
4693 | |
4547 | |
4694 | |
4548 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4695 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4549 | |
4696 | |
4550 | |
|
|
4551 | # Check whether --enable-strings or --disable-strings was given. |
|
|
4552 | if test "${enable_strings+set}" = set; then |
|
|
4553 | enableval="$enable_strings" |
|
|
4554 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4555 | support_addstrings=$enableval |
|
|
4556 | fi |
|
|
4557 | fi; |
|
|
4558 | |
4697 | |
4559 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4698 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4560 | if test "${enable_swapscreen+set}" = set; then |
4699 | if test "${enable_swapscreen+set}" = set; then |
4561 | enableval="$enable_swapscreen" |
4700 | enableval="$enable_swapscreen" |
4562 | if test x$enableval = xno; then |
4701 | if test x$enableval = xno; then |
… | |
… | |
7134 | |
7273 | |
7135 | |
7274 | |
7136 | |
7275 | |
7137 | |
7276 | |
7138 | |
7277 | |
|
|
7278 | |
|
|
7279 | |
7139 | for ac_header in \ |
7280 | for ac_header in \ |
7140 | assert.h \ |
7281 | assert.h \ |
7141 | fcntl.h \ |
7282 | fcntl.h \ |
7142 | grp.h \ |
7283 | grp.h \ |
7143 | libc.h \ |
7284 | libc.h \ |
… | |
… | |
7156 | sys/time.h \ |
7297 | sys/time.h \ |
7157 | utmp.h \ |
7298 | utmp.h \ |
7158 | utmpx.h \ |
7299 | utmpx.h \ |
7159 | stdint.h \ |
7300 | stdint.h \ |
7160 | pty.h \ |
7301 | pty.h \ |
|
|
7302 | util.h \ |
|
|
7303 | libutil.h \ |
7161 | wchar.h \ |
7304 | wchar.h \ |
7162 | cwchar \ |
7305 | cwchar \ |
7163 | clocale \ |
7306 | clocale \ |
7164 | |
7307 | |
7165 | do |
7308 | do |
… | |
… | |
10029 | seteuid \ |
10172 | seteuid \ |
10030 | setreuid \ |
10173 | setreuid \ |
10031 | setsid \ |
10174 | setsid \ |
10032 | setpgrp \ |
10175 | setpgrp \ |
10033 | setpgid \ |
10176 | setpgid \ |
10034 | openpty \ |
|
|
10035 | _getpty \ |
10177 | _getpty \ |
|
|
10178 | posix_openpt \ |
10036 | grantpt \ |
10179 | grantpt \ |
10037 | unlockpt \ |
10180 | unlockpt \ |
10038 | isastream \ |
10181 | isastream \ |
10039 | on_exit \ |
10182 | on_exit \ |
10040 | nanosleep \ |
10183 | nanosleep \ |
… | |
… | |
11821 | #define XIMCB_PROTO_BROKEN 1 |
11964 | #define XIMCB_PROTO_BROKEN 1 |
11822 | _ACEOF |
11965 | _ACEOF |
11823 | |
11966 | |
11824 | fi |
11967 | fi |
11825 | |
11968 | |
|
|
11969 | if test x$ac_cv_func_posix_openpt = xno; then |
11826 | echo "$as_me:$LINENO: checking for getpt" >&5 |
11970 | echo "$as_me:$LINENO: checking for openpty" >&5 |
11827 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
11971 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11828 | if test "${rxvt_cv_func_getpt+set}" = set; then |
11972 | if test "${ac_cv_func_openpty+set}" = set; then |
11829 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11973 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11830 | else |
11974 | else |
11831 | cat >conftest.$ac_ext <<_ACEOF |
11975 | cat >conftest.$ac_ext <<_ACEOF |
11832 | /* confdefs.h. */ |
11976 | /* confdefs.h. */ |
11833 | _ACEOF |
11977 | _ACEOF |
11834 | cat confdefs.h >>conftest.$ac_ext |
11978 | cat confdefs.h >>conftest.$ac_ext |
11835 | cat >>conftest.$ac_ext <<_ACEOF |
11979 | cat >>conftest.$ac_ext <<_ACEOF |
11836 | /* end confdefs.h. */ |
11980 | /* end confdefs.h. */ |
11837 | #define _GNU_SOURCE |
11981 | /* Define openpty to an innocuous variant, in case <limits.h> declares openpty. |
11838 | #ifdef HAVE_STDLIB_H |
11982 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
11839 | # include <cstdlib> |
11983 | #define openpty innocuous_openpty |
|
|
11984 | |
|
|
11985 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
11986 | which can conflict with char openpty (); below. |
|
|
11987 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
11988 | <limits.h> exists even on freestanding compilers. */ |
|
|
11989 | |
|
|
11990 | #ifdef __STDC__ |
|
|
11991 | # include <limits.h> |
|
|
11992 | #else |
|
|
11993 | # include <assert.h> |
11840 | #endif |
11994 | #endif |
|
|
11995 | |
|
|
11996 | #undef openpty |
|
|
11997 | |
|
|
11998 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
11999 | #ifdef __cplusplus |
|
|
12000 | extern "C" |
|
|
12001 | { |
|
|
12002 | #endif |
|
|
12003 | /* We use char because int might match the return type of a gcc2 |
|
|
12004 | builtin and then its argument prototype would still apply. */ |
|
|
12005 | char openpty (); |
|
|
12006 | /* The GNU C library defines this for functions which it implements |
|
|
12007 | to always fail with ENOSYS. Some functions are actually named |
|
|
12008 | something starting with __ and the normal name is an alias. */ |
|
|
12009 | #if defined (__stub_openpty) || defined (__stub___openpty) |
|
|
12010 | choke me |
|
|
12011 | #else |
|
|
12012 | char (*f) () = openpty; |
|
|
12013 | #endif |
|
|
12014 | #ifdef __cplusplus |
|
|
12015 | } |
|
|
12016 | #endif |
|
|
12017 | |
11841 | int |
12018 | int |
11842 | main () |
12019 | main () |
11843 | { |
12020 | { |
11844 | (void)getpt(); |
12021 | return f != openpty; |
11845 | ; |
12022 | ; |
11846 | return 0; |
12023 | return 0; |
11847 | } |
12024 | } |
11848 | _ACEOF |
12025 | _ACEOF |
11849 | rm -f conftest.$ac_objext conftest$ac_exeext |
12026 | rm -f conftest.$ac_objext conftest$ac_exeext |
… | |
… | |
11865 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12042 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11866 | (eval $ac_try) 2>&5 |
12043 | (eval $ac_try) 2>&5 |
11867 | ac_status=$? |
12044 | ac_status=$? |
11868 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11869 | (exit $ac_status); }; }; then |
12046 | (exit $ac_status); }; }; then |
11870 | rxvt_cv_func_getpt=yes |
12047 | ac_cv_func_openpty=yes |
11871 | else |
12048 | else |
11872 | echo "$as_me: failed program was:" >&5 |
12049 | echo "$as_me: failed program was:" >&5 |
11873 | sed 's/^/| /' conftest.$ac_ext >&5 |
12050 | sed 's/^/| /' conftest.$ac_ext >&5 |
11874 | |
12051 | |
11875 | rxvt_cv_func_getpt=no |
12052 | ac_cv_func_openpty=no |
11876 | fi |
12053 | fi |
11877 | rm -f conftest.err conftest.$ac_objext \ |
12054 | rm -f conftest.err conftest.$ac_objext \ |
11878 | conftest$ac_exeext conftest.$ac_ext |
12055 | conftest$ac_exeext conftest.$ac_ext |
11879 | fi |
12056 | fi |
11880 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
12057 | echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 |
11881 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
12058 | echo "${ECHO_T}$ac_cv_func_openpty" >&6 |
11882 | if test x$rxvt_cv_func_getpt = xyes; then |
12059 | if test $ac_cv_func_openpty = yes; then |
11883 | |
12060 | : |
|
|
12061 | else |
|
|
12062 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
12063 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
12064 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
12065 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12066 | else |
|
|
12067 | ac_check_lib_save_LIBS=$LIBS |
|
|
12068 | LIBS="-lutil $LIBS" |
|
|
12069 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12070 | /* confdefs.h. */ |
|
|
12071 | _ACEOF |
|
|
12072 | cat confdefs.h >>conftest.$ac_ext |
11884 | cat >>confdefs.h <<\_ACEOF |
12073 | cat >>conftest.$ac_ext <<_ACEOF |
11885 | #define HAVE_GETPT 1 |
12074 | /* end confdefs.h. */ |
|
|
12075 | |
|
|
12076 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12077 | #ifdef __cplusplus |
|
|
12078 | extern "C" |
|
|
12079 | #endif |
|
|
12080 | /* We use char because int might match the return type of a gcc2 |
|
|
12081 | builtin and then its argument prototype would still apply. */ |
|
|
12082 | char openpty (); |
|
|
12083 | int |
|
|
12084 | main () |
|
|
12085 | { |
|
|
12086 | openpty (); |
|
|
12087 | ; |
|
|
12088 | return 0; |
|
|
12089 | } |
11886 | _ACEOF |
12090 | _ACEOF |
|
|
12091 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12092 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12093 | (eval $ac_link) 2>conftest.er1 |
|
|
12094 | ac_status=$? |
|
|
12095 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12096 | rm -f conftest.er1 |
|
|
12097 | cat conftest.err >&5 |
|
|
12098 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12099 | (exit $ac_status); } && |
|
|
12100 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12101 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12102 | (eval $ac_try) 2>&5 |
|
|
12103 | ac_status=$? |
|
|
12104 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12105 | (exit $ac_status); }; } && |
|
|
12106 | { ac_try='test -s conftest$ac_exeext' |
|
|
12107 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12108 | (eval $ac_try) 2>&5 |
|
|
12109 | ac_status=$? |
|
|
12110 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12111 | (exit $ac_status); }; }; then |
|
|
12112 | ac_cv_lib_util_openpty=yes |
|
|
12113 | else |
|
|
12114 | echo "$as_me: failed program was:" >&5 |
|
|
12115 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12116 | |
|
|
12117 | ac_cv_lib_util_openpty=no |
|
|
12118 | fi |
|
|
12119 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12120 | conftest$ac_exeext conftest.$ac_ext |
|
|
12121 | LIBS=$ac_check_lib_save_LIBS |
|
|
12122 | fi |
|
|
12123 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12124 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12125 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12126 | LIBS="$LIBS -lutil" |
|
|
12127 | fi |
|
|
12128 | |
|
|
12129 | fi |
11887 | |
12130 | |
11888 | fi |
12131 | fi |
11889 | |
12132 | |
11890 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12133 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
11891 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12134 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
11892 | if test "${rxvt_cv_ptys+set}" = set; then |
12135 | if test "${rxvt_cv_ptys+set}" = set; then |
11893 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12136 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11894 | else |
12137 | else |
11895 | if test x$ac_cv_func_openpty = xyes; then |
12138 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
11896 | rxvt_cv_ptys=OPENPTY |
12139 | rxvt_cv_ptys=OPENPTY |
|
|
12140 | else if test x$ac_cv_func_posix_openpt = xyes; then |
|
|
12141 | rxvt_cv_ptys=POSIX |
11897 | else if test x$ac_cv_func__getpty = xyes; then |
12142 | else if test x$ac_cv_func__getpty = xyes; then |
11898 | rxvt_cv_ptys=SGI4 |
12143 | rxvt_cv_ptys=SGI4 |
11899 | else if test -c /dev/ttyp20; then |
12144 | else if test -c /dev/ttyp20; then |
11900 | rxvt_cv_ptys=SCO |
12145 | rxvt_cv_ptys=SCO |
11901 | else if test -c /dev/ptym/clone; then |
12146 | else if test -c /dev/ptym/clone; then |
11902 | rxvt_cv_ptys=HPUX |
12147 | rxvt_cv_ptys=HPUX |
11903 | else if test x$rxvt_cv_func_getpt = xyes; then |
|
|
11904 | rxvt_cv_ptys=GLIBC |
|
|
11905 | else if test -c /dev/ptc -a -c /dev/pts; then |
12148 | else if test -c /dev/ptc -a -c /dev/pts; then |
11906 | rxvt_cv_ptys=PTC |
12149 | rxvt_cv_ptys=PTC |
11907 | else if test -c /dev/ptc -a -d /dev/pts; then |
12150 | else if test -c /dev/ptc -a -d /dev/pts; then |
11908 | rxvt_cv_ptys=PTC |
12151 | rxvt_cv_ptys=PTC |
11909 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
12152 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
… | |
… | |
11924 | |
12167 | |
11925 | fi |
12168 | fi |
11926 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12169 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
11927 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12170 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
11928 | |
12171 | |
|
|
12172 | if test x$rxvt_cv_ptys = xPOSIX; then |
|
|
12173 | |
|
|
12174 | cat >>confdefs.h <<\_ACEOF |
|
|
12175 | #define PTYS_ARE_POSIX 1 |
|
|
12176 | _ACEOF |
|
|
12177 | |
|
|
12178 | fi |
11929 | if test x$rxvt_cv_ptys = xOPENPTY; then |
12179 | if test x$rxvt_cv_ptys = xOPENPTY; then |
11930 | |
12180 | |
11931 | cat >>confdefs.h <<\_ACEOF |
12181 | cat >>confdefs.h <<\_ACEOF |
11932 | #define PTYS_ARE_OPENPTY 1 |
12182 | #define PTYS_ARE_OPENPTY 1 |
11933 | _ACEOF |
12183 | _ACEOF |
… | |
… | |
11959 | cat >>confdefs.h <<\_ACEOF |
12209 | cat >>confdefs.h <<\_ACEOF |
11960 | #define PTYS_ARE__GETPTY 1 |
12210 | #define PTYS_ARE__GETPTY 1 |
11961 | _ACEOF |
12211 | _ACEOF |
11962 | |
12212 | |
11963 | fi |
12213 | fi |
11964 | if test x$rxvt_cv_ptys = xCONVEX; then |
|
|
11965 | |
|
|
11966 | cat >>confdefs.h <<\_ACEOF |
|
|
11967 | #define PTYS_ARE_GETPTY 1 |
|
|
11968 | _ACEOF |
|
|
11969 | |
|
|
11970 | fi |
|
|
11971 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
11972 | |
|
|
11973 | cat >>confdefs.h <<\_ACEOF |
|
|
11974 | #define PTYS_ARE_GETPT 1 |
|
|
11975 | _ACEOF |
|
|
11976 | |
|
|
11977 | fi |
|
|
11978 | if test x$rxvt_cv_ptys = xHPUX; then |
12214 | if test x$rxvt_cv_ptys = xHPUX; then |
11979 | |
12215 | |
11980 | cat >>confdefs.h <<\_ACEOF |
12216 | cat >>confdefs.h <<\_ACEOF |
11981 | #define PTYS_ARE_CLONE 1 |
12217 | #define PTYS_ARE_CLONE 1 |
11982 | _ACEOF |
12218 | _ACEOF |
11983 | |
12219 | |
11984 | fi |
12220 | fi |
11985 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
12221 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then |
11986 | |
12222 | |
11987 | cat >>confdefs.h <<\_ACEOF |
12223 | cat >>confdefs.h <<\_ACEOF |
11988 | #define PTYS_ARE_SEARCHED 1 |
12224 | #define PTYS_ARE_SEARCHED 1 |
11989 | _ACEOF |
12225 | _ACEOF |
11990 | |
12226 | |
… | |
… | |
12011 | |
12247 | |
12012 | fi |
12248 | fi |
12013 | |
12249 | |
12014 | if test x$support_xft = xyes; then |
12250 | if test x$support_xft = xyes; then |
12015 | LIBS="$LIBS `pkg-config xft --libs`" |
12251 | LIBS="$LIBS `pkg-config xft --libs`" |
12016 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
12017 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12252 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12018 | |
12253 | |
12019 | |
12254 | |
12020 | for ac_header in X11/Xft/Xft.h |
12255 | for ac_header in X11/Xft/Xft.h |
12021 | do |
12256 | do |
… | |
… | |
12305 | cat >>confdefs.h <<\_ACEOF |
12540 | cat >>confdefs.h <<\_ACEOF |
12306 | #define SELECTION_SCROLLING 1 |
12541 | #define SELECTION_SCROLLING 1 |
12307 | _ACEOF |
12542 | _ACEOF |
12308 | |
12543 | |
12309 | fi |
12544 | fi |
12310 | if test x$support_menubar = xyes; then |
|
|
12311 | |
|
|
12312 | cat >>confdefs.h <<\_ACEOF |
|
|
12313 | #define MENUBAR 1 |
|
|
12314 | _ACEOF |
|
|
12315 | |
|
|
12316 | fi |
|
|
12317 | if test x$support_frills = xyes; then |
12545 | if test x$support_frills = xyes; then |
12318 | |
12546 | |
12319 | cat >>confdefs.h <<\_ACEOF |
12547 | cat >>confdefs.h <<\_ACEOF |
12320 | #define ENABLE_FRILLS 1 |
12548 | #define ENABLE_FRILLS 1 |
12321 | _ACEOF |
12549 | _ACEOF |
… | |
… | |
12479 | #define ENCODING_ZH_EXT 1 |
12707 | #define ENCODING_ZH_EXT 1 |
12480 | _ACEOF |
12708 | _ACEOF |
12481 | ;; |
12709 | ;; |
12482 | esac |
12710 | esac |
12483 | done |
12711 | done |
|
|
12712 | |
|
|
12713 | IF_PERL=\# |
|
|
12714 | if test x$support_perl = xyes; then |
|
|
12715 | # Extract the first word of "perl5", so it can be a program name with args. |
|
|
12716 | set dummy perl5; ac_word=$2 |
|
|
12717 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12718 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12719 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
12720 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12721 | else |
|
|
12722 | case $PERL in |
|
|
12723 | [\\/]* | ?:[\\/]*) |
|
|
12724 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
12725 | ;; |
|
|
12726 | *) |
|
|
12727 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12728 | for as_dir in $PATH |
|
|
12729 | do |
|
|
12730 | IFS=$as_save_IFS |
|
|
12731 | test -z "$as_dir" && as_dir=. |
|
|
12732 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12733 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12734 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
12735 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12736 | break 2 |
|
|
12737 | fi |
|
|
12738 | done |
|
|
12739 | done |
|
|
12740 | |
|
|
12741 | ;; |
|
|
12742 | esac |
|
|
12743 | fi |
|
|
12744 | PERL=$ac_cv_path_PERL |
|
|
12745 | |
|
|
12746 | if test -n "$PERL"; then |
|
|
12747 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
12748 | echo "${ECHO_T}$PERL" >&6 |
|
|
12749 | else |
|
|
12750 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12751 | echo "${ECHO_T}no" >&6 |
|
|
12752 | fi |
|
|
12753 | |
|
|
12754 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
12755 | set dummy perl; ac_word=$2 |
|
|
12756 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12757 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12758 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
12759 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12760 | else |
|
|
12761 | case $PERL in |
|
|
12762 | [\\/]* | ?:[\\/]*) |
|
|
12763 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
12764 | ;; |
|
|
12765 | *) |
|
|
12766 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12767 | for as_dir in $PATH |
|
|
12768 | do |
|
|
12769 | IFS=$as_save_IFS |
|
|
12770 | test -z "$as_dir" && as_dir=. |
|
|
12771 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12772 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12773 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
12774 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12775 | break 2 |
|
|
12776 | fi |
|
|
12777 | done |
|
|
12778 | done |
|
|
12779 | |
|
|
12780 | ;; |
|
|
12781 | esac |
|
|
12782 | fi |
|
|
12783 | PERL=$ac_cv_path_PERL |
|
|
12784 | |
|
|
12785 | if test -n "$PERL"; then |
|
|
12786 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
12787 | echo "${ECHO_T}$PERL" >&6 |
|
|
12788 | else |
|
|
12789 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12790 | echo "${ECHO_T}no" >&6 |
|
|
12791 | fi |
|
|
12792 | |
|
|
12793 | |
|
|
12794 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
|
|
12795 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
|
|
12796 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
|
|
12797 | |
|
|
12798 | save_CXXFLAGS="$CXXFLAGS" |
|
|
12799 | save_LIBS="$LIBS" |
|
|
12800 | CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
|
|
12801 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
|
|
12802 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12803 | /* confdefs.h. */ |
|
|
12804 | _ACEOF |
|
|
12805 | cat confdefs.h >>conftest.$ac_ext |
|
|
12806 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12807 | /* end confdefs.h. */ |
|
|
12808 | |
|
|
12809 | #include <EXTERN.h> |
|
|
12810 | #include <perl.h> |
|
|
12811 | #include <XSUB.h> |
|
|
12812 | |
|
|
12813 | int |
|
|
12814 | main () |
|
|
12815 | { |
|
|
12816 | |
|
|
12817 | PerlInterpreter *perl = perl_alloc (); |
|
|
12818 | |
|
|
12819 | ; |
|
|
12820 | return 0; |
|
|
12821 | } |
|
|
12822 | _ACEOF |
|
|
12823 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12824 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12825 | (eval $ac_link) 2>conftest.er1 |
|
|
12826 | ac_status=$? |
|
|
12827 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12828 | rm -f conftest.er1 |
|
|
12829 | cat conftest.err >&5 |
|
|
12830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12831 | (exit $ac_status); } && |
|
|
12832 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12833 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12834 | (eval $ac_try) 2>&5 |
|
|
12835 | ac_status=$? |
|
|
12836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12837 | (exit $ac_status); }; } && |
|
|
12838 | { ac_try='test -s conftest$ac_exeext' |
|
|
12839 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12840 | (eval $ac_try) 2>&5 |
|
|
12841 | ac_status=$? |
|
|
12842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12843 | (exit $ac_status); }; }; then |
|
|
12844 | rxvt_perl_link=yes |
|
|
12845 | else |
|
|
12846 | echo "$as_me: failed program was:" >&5 |
|
|
12847 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12848 | |
|
|
12849 | rxvt_perl_link=no |
|
|
12850 | fi |
|
|
12851 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12852 | conftest$ac_exeext conftest.$ac_ext |
|
|
12853 | CXXFLAGS="$save_CXXFLAGS" |
|
|
12854 | LIBS="$save_LIBS" |
|
|
12855 | |
|
|
12856 | if test x$rxvt_perl_link = xyes; then |
|
|
12857 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
12858 | echo "${ECHO_T}ok" >&6 |
|
|
12859 | |
|
|
12860 | cat >>confdefs.h <<\_ACEOF |
|
|
12861 | #define ENABLE_PERL 1 |
|
|
12862 | _ACEOF |
|
|
12863 | |
|
|
12864 | IF_PERL= |
|
|
12865 | PERL_O=rxvtperl.o |
|
|
12866 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
|
|
12867 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
|
|
12868 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
|
|
12869 | else |
|
|
12870 | support_perl=no |
|
|
12871 | echo "$as_me:$LINENO: result: no, unable to link" >&5 |
|
|
12872 | echo "${ECHO_T}no, unable to link" >&6 |
|
|
12873 | fi |
|
|
12874 | else |
|
|
12875 | { { echo "$as_me:$LINENO: error: no working perl found" >&5 |
|
|
12876 | echo "$as_me: error: no working perl found" >&2;} |
|
|
12877 | { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } |
|
|
12878 | support_perl=no |
|
|
12879 | fi |
|
|
12880 | fi |
|
|
12881 | |
|
|
12882 | |
|
|
12883 | |
|
|
12884 | |
|
|
12885 | |
|
|
12886 | |
|
|
12887 | |
|
|
12888 | if test x$support_perl = xyes; then |
|
|
12889 | support_frills=yes |
|
|
12890 | fi |
12484 | |
12891 | |
12485 | |
12892 | |
12486 | CFLAGS=${CFLAGS--O} |
12893 | CFLAGS=${CFLAGS--O} |
12487 | LDFLAGS=${LDFLAGS--O} |
12894 | LDFLAGS=${LDFLAGS--O} |
12488 | |
12895 | |
… | |
… | |
12503 | fi |
12910 | fi |
12504 | |
12911 | |
12505 | |
12912 | |
12506 | |
12913 | |
12507 | |
12914 | |
12508 | |
|
|
12509 | if test x$support_addstrings = xno; then |
|
|
12510 | |
|
|
12511 | cat >>confdefs.h <<\_ACEOF |
|
|
12512 | #define NO_STRINGS 1 |
|
|
12513 | _ACEOF |
|
|
12514 | |
|
|
12515 | fi |
|
|
12516 | |
12915 | |
12517 | MCOMMON=./autoconf/Make.common |
12916 | MCOMMON=./autoconf/Make.common |
12518 | |
12917 | |
12519 | |
12918 | |
12520 | test "$program_prefix" != NONE && |
12919 | test "$program_prefix" != NONE && |
… | |
… | |
13269 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13668 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13270 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13669 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13271 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13670 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13272 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13671 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13273 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
13672 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
|
|
13673 | s,@PERL@,$PERL,;t t |
|
|
13674 | s,@PERLLIB@,$PERLLIB,;t t |
|
|
13675 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
|
|
13676 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
|
|
13677 | s,@IF_PERL@,$IF_PERL,;t t |
|
|
13678 | s,@PERL_O@,$PERL_O,;t t |
13274 | s,@DEBUG@,$DEBUG,;t t |
13679 | s,@DEBUG@,$DEBUG,;t t |
13275 | s,@DINCLUDE@,$DINCLUDE,;t t |
13680 | s,@DINCLUDE@,$DINCLUDE,;t t |
13276 | s,@DLIB@,$DLIB,;t t |
13681 | s,@DLIB@,$DLIB,;t t |
13277 | s,@include_stdint_h@,$include_stdint_h,;t t |
13682 | s,@include_stdint_h@,$include_stdint_h,;t t |
13278 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
13683 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
… | |
… | |
13819 | utmp file: $rxvt_cv_path_utmp |
14224 | utmp file: $rxvt_cv_path_utmp |
13820 | utmpx file: $rxvt_cv_path_utmpx |
14225 | utmpx file: $rxvt_cv_path_utmpx |
13821 | wtmp file: $rxvt_cv_path_wtmp |
14226 | wtmp file: $rxvt_cv_path_wtmp |
13822 | wtmpx file: $rxvt_cv_path_wtmpx |
14227 | wtmpx file: $rxvt_cv_path_wtmpx |
13823 | lastlog file: $rxvt_cv_path_lastlog |
14228 | lastlog file: $rxvt_cv_path_lastlog |
13824 | ttys/ttytab file: $rxvt_cv_path_ttytab" |
14229 | ttys/ttytab file: $rxvt_cv_path_ttytab |
|
|
14230 | embedded perl: $support_perl" |
13825 | echo |
14231 | echo |
13826 | fi |
14232 | fi |
13827 | if test x$term != x; then |
14233 | if test x$term != x; then |
13828 | echo " set TERM to: $term" |
14234 | echo " set TERM to: $term" |
13829 | fi |
14235 | fi |