… | |
… | |
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='' |
314 | |
314 | |
315 | # Initialize some variables set by options. |
315 | # Initialize some variables set by options. |
316 | ac_init_help= |
316 | ac_init_help= |
317 | ac_init_version=false |
317 | ac_init_version=false |
318 | # The variables have the same names as the options, with |
318 | # The variables have the same names as the options, with |
… | |
… | |
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 |
|
|
888 | --enable-xim XIM (X Input Method) protocol support |
887 | --enable-xim XIM (X Input Method) protocol support |
889 | --enable-ttygid enable tty setting to group named "tty" |
888 | --enable-ttygid enable tty setting to group named "tty" |
890 | --disable-backspace-key disable handling of the backspace key |
889 | --disable-backspace-key disable handling of the backspace key |
891 | --disable-delete-key disable handling of the delete key |
890 | --disable-delete-key disable handling of the delete key |
892 | --disable-resources disable all resource checking |
891 | --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) |
892 | --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) |
893 | --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 |
894 | --disable-swapscreen disable swap screen support |
898 | --enable-iso14755 enable support for extended ISO 14755 modes |
895 | --enable-iso14755 enable support for extended ISO 14755 modes |
899 | --enable-frills enable support for rarely used features |
896 | --enable-frills enable support for rarely used features |
900 | --enable-24bit enable support for using 24bit visuals if available |
897 | --enable-24bit enable support for using 24bit visuals if available |
901 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
898 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
… | |
… | |
1372 | |
1369 | |
1373 | |
1370 | |
1374 | |
1371 | |
1375 | |
1372 | |
1376 | |
1373 | |
|
|
1374 | |
1377 | ac_aux_dir= |
1375 | ac_aux_dir= |
1378 | for ac_dir in autoconf $srcdir/autoconf; do |
1376 | for ac_dir in autoconf $srcdir/autoconf; do |
1379 | if test -f $ac_dir/install-sh; then |
1377 | if test -f $ac_dir/install-sh; then |
1380 | ac_aux_dir=$ac_dir |
1378 | ac_aux_dir=$ac_dir |
1381 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1379 | ac_install_sh="$ac_aux_dir/install-sh -c" |
… | |
… | |
1460 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1458 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1461 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1459 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1462 | echo "" |
1460 | echo "" |
1463 | echo "configuring for rxvt $VERSION" |
1461 | echo "configuring for rxvt $VERSION" |
1464 | echo "" |
1462 | echo "" |
|
|
1463 | |
|
|
1464 | orig_CXXFLAGS="$CXXFLAGS" |
1465 | |
1465 | |
1466 | |
1466 | |
1467 | ac_ext=c |
1467 | ac_ext=c |
1468 | ac_cpp='$CPP $CPPFLAGS' |
1468 | ac_cpp='$CPP $CPPFLAGS' |
1469 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1469 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
3099 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3099 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3100 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3100 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3101 | |
3101 | |
3102 | |
3102 | |
3103 | if test -z "$orig_CXXFLAGS"; then |
3103 | if test -z "$orig_CXXFLAGS"; then |
3104 | CXXFLAGS='-O' |
|
|
3105 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3104 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3106 | CXXFLAGS="-g -O3" |
3105 | CXXFLAGS="-g -O3" |
|
|
3106 | else |
|
|
3107 | CXXFLAGS="-O" |
3107 | fi |
3108 | fi |
3108 | CFLAGS="$CXXFLAGS" |
3109 | CFLAGS="$CXXFLAGS" |
3109 | fi |
3110 | fi |
3110 | |
3111 | |
3111 | LINKER="$CXX" |
3112 | LINKER="$CXX" |
… | |
… | |
4317 | conftest$ac_exeext conftest.$ac_ext |
4318 | conftest$ac_exeext conftest.$ac_ext |
4318 | |
4319 | |
4319 | |
4320 | |
4320 | MALLOC_TYPE=S |
4321 | MALLOC_TYPE=S |
4321 | |
4322 | |
4322 | support_addstrings=no |
|
|
4323 | support_frills=yes |
4323 | support_frills=yes |
4324 | support_inheritpixmap=no |
4324 | support_inheritpixmap=yes |
4325 | support_tinting=yes |
4325 | support_tinting=yes |
4326 | support_fading=yes |
4326 | support_fading=yes |
4327 | support_keepscrolling=yes |
4327 | support_keepscrolling=yes |
4328 | support_selectionscrolling=yes |
4328 | support_selectionscrolling=yes |
4329 | support_menubar=no |
|
|
4330 | support_mousewheel=yes |
4329 | support_mousewheel=yes |
4331 | support_mouseslipwheel=yes |
4330 | support_mouseslipwheel=yes |
4332 | support_utmp=yes |
4331 | support_utmp=yes |
4333 | support_wtmp=yes |
4332 | support_wtmp=yes |
4334 | support_lastlog=yes |
4333 | support_lastlog=yes |
… | |
… | |
4337 | support_scroll_rxvt=yes |
4336 | support_scroll_rxvt=yes |
4338 | support_scroll_next=yes |
4337 | support_scroll_next=yes |
4339 | support_scroll_xterm=yes |
4338 | support_scroll_xterm=yes |
4340 | support_scroll_plain=yes |
4339 | support_scroll_plain=yes |
4341 | support_xim=yes |
4340 | support_xim=yes |
4342 | support_xpm=no |
4341 | support_xpm=yes |
4343 | support_xft=yes |
4342 | support_xft=yes |
4344 | support_unicode3=no |
4343 | support_unicode3=no |
4345 | support_combining=yes |
4344 | support_combining=yes |
4346 | support_8bitctrls=no |
4345 | support_8bitctrls=no |
4347 | support_iso14755=yes |
4346 | support_iso14755=yes |
4348 | support_styles=yes |
4347 | support_styles=yes |
|
|
4348 | support_perl=yes |
4349 | codesets=all |
4349 | codesets=all |
4350 | |
4350 | |
4351 | |
4351 | |
4352 | if test "x$enable_shared" = xyes; then |
4352 | if test "x$enable_shared" = xyes; then |
4353 | |
4353 | |
… | |
… | |
4370 | support_tinting=no |
4370 | support_tinting=no |
4371 | support_fading=no |
4371 | support_fading=no |
4372 | support_keepscrolling=no |
4372 | support_keepscrolling=no |
4373 | support_selectionscrolling=no |
4373 | support_selectionscrolling=no |
4374 | support_lastlog=no |
4374 | support_lastlog=no |
4375 | support_menubar=no |
|
|
4376 | support_mousewheel=no |
4375 | support_mousewheel=no |
4377 | support_mouseslipwheel=no |
4376 | support_mouseslipwheel=no |
4378 | support_text_blink=no |
4377 | support_text_blink=no |
4379 | support_pointer_blank=no |
4378 | support_pointer_blank=no |
4380 | support_scroll_rxvt=no |
4379 | support_scroll_rxvt=no |
… | |
… | |
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 |
… | |
… | |
4400 | support_tinting=yes |
4400 | support_tinting=yes |
4401 | support_fading=yes |
4401 | support_fading=yes |
4402 | support_keepscrolling=yes |
4402 | support_keepscrolling=yes |
4403 | support_selectionscrolling=yes |
4403 | support_selectionscrolling=yes |
4404 | support_lastlog=yes |
4404 | support_lastlog=yes |
4405 | support_menubar=yes |
|
|
4406 | support_mousewheel=yes |
4405 | support_mousewheel=yes |
4407 | support_mouseslipwheel=yes |
4406 | support_mouseslipwheel=yes |
4408 | support_text_blink=yes |
4407 | support_text_blink=yes |
4409 | support_pointer_blank=yes |
4408 | support_pointer_blank=yes |
4410 | support_scroll_rxvt=yes |
4409 | support_scroll_rxvt=yes |
… | |
… | |
4419 | support_unicode3=yes |
4418 | support_unicode3=yes |
4420 | support_combining=yes |
4419 | support_combining=yes |
4421 | #support_8bitctrls=yes |
4420 | #support_8bitctrls=yes |
4422 | support_iso14755=yes |
4421 | support_iso14755=yes |
4423 | support_styles=yes |
4422 | support_styles=yes |
|
|
4423 | support_perl=yes |
4424 | codesets=all |
4424 | codesets=all |
4425 | fi |
4425 | fi |
4426 | |
4426 | |
4427 | fi; |
4427 | fi; |
4428 | |
4428 | |
… | |
… | |
4512 | if test x$enableval = xyes -o x$enableval = xno; then |
4512 | if test x$enableval = xyes -o x$enableval = xno; then |
4513 | support_fading=$enableval |
4513 | support_fading=$enableval |
4514 | fi |
4514 | fi |
4515 | fi; |
4515 | fi; |
4516 | |
4516 | |
4517 | # Check whether --enable-menubar or --disable-menubar was given. |
|
|
4518 | if test "${enable_menubar+set}" = set; then |
|
|
4519 | enableval="$enable_menubar" |
|
|
4520 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4521 | support_menubar=$enableval |
|
|
4522 | fi |
|
|
4523 | fi; |
|
|
4524 | |
|
|
4525 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
4517 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
4526 | if test "${enable_rxvt_scroll+set}" = set; then |
4518 | if test "${enable_rxvt_scroll+set}" = set; then |
4527 | enableval="$enable_rxvt_scroll" |
4519 | enableval="$enable_rxvt_scroll" |
4528 | if test x$enableval = xyes -o x$enableval = xno; then |
4520 | if test x$enableval = xyes -o x$enableval = xno; then |
4529 | support_scroll_rxvt=$enableval |
4521 | support_scroll_rxvt=$enableval |
… | |
… | |
4544 | if test x$enableval = xyes -o x$enableval = xno; then |
4536 | if test x$enableval = xyes -o x$enableval = xno; then |
4545 | support_scroll_xterm=$enableval |
4537 | support_scroll_xterm=$enableval |
4546 | fi |
4538 | fi |
4547 | fi; |
4539 | fi; |
4548 | |
4540 | |
|
|
4541 | # Check whether --enable-perl or --disable-perl was given. |
|
|
4542 | if test "${enable_perl+set}" = set; then |
|
|
4543 | enableval="$enable_perl" |
|
|
4544 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4545 | support_perl=$enableval |
|
|
4546 | fi |
|
|
4547 | fi; |
|
|
4548 | |
4549 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4549 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4550 | if test "${enable_plain_scroll+set}" = set; then |
4550 | if test "${enable_plain_scroll+set}" = set; then |
4551 | enableval="$enable_plain_scroll" |
4551 | enableval="$enable_plain_scroll" |
4552 | if test x$enableval = xyes -o x$enableval = xno; then |
4552 | if test x$enableval = xyes -o x$enableval = xno; then |
4553 | support_scroll_plain=$enableval |
4553 | support_scroll_plain=$enableval |
4554 | fi |
4554 | fi |
4555 | fi; |
4555 | fi; |
4556 | |
4556 | |
4557 | # Check whether --enable-half-shadow or --disable-half-shadow was given. |
|
|
4558 | if test "${enable_half_shadow+set}" = set; then |
|
|
4559 | enableval="$enable_half_shadow" |
|
|
4560 | if test x$enableval = xyes; then |
|
|
4561 | |
|
|
4562 | cat >>confdefs.h <<\_ACEOF |
|
|
4563 | #define HALFSHADOW 1 |
|
|
4564 | _ACEOF |
|
|
4565 | |
|
|
4566 | fi |
|
|
4567 | fi; |
|
|
4568 | |
4557 | |
4569 | |
4558 | |
4570 | # Check whether --with-codesets or --without-codesets was given. |
4559 | # Check whether --with-codesets or --without-codesets was given. |
4571 | if test "${with_codesets+set}" = set; then |
4560 | if test "${with_codesets+set}" = set; then |
4572 | withval="$with_codesets" |
4561 | withval="$with_codesets" |
… | |
… | |
4627 | _ACEOF |
4616 | _ACEOF |
4628 | |
4617 | |
4629 | fi |
4618 | fi |
4630 | fi; |
4619 | fi; |
4631 | |
4620 | |
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. |
4621 | # Check whether --enable-8bitctrls or --disable-8bitctrls was given. |
4645 | if test "${enable_8bitctrls+set}" = set; then |
4622 | if test "${enable_8bitctrls+set}" = set; then |
4646 | enableval="$enable_8bitctrls" |
4623 | enableval="$enable_8bitctrls" |
4647 | if test x$enableval = xyes -o x$enableval = xno; then |
4624 | if test x$enableval = xyes -o x$enableval = xno; then |
4648 | support_8bitctrls=$enableval |
4625 | support_8bitctrls=$enableval |
… | |
… | |
4707 | _ACEOF |
4684 | _ACEOF |
4708 | |
4685 | |
4709 | |
4686 | |
4710 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4687 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4711 | |
4688 | |
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 | |
4689 | |
4721 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4690 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4722 | if test "${enable_swapscreen+set}" = set; then |
4691 | if test "${enable_swapscreen+set}" = set; then |
4723 | enableval="$enable_swapscreen" |
4692 | enableval="$enable_swapscreen" |
4724 | if test x$enableval = xno; then |
4693 | if test x$enableval = xno; then |
… | |
… | |
7296 | |
7265 | |
7297 | |
7266 | |
7298 | |
7267 | |
7299 | |
7268 | |
7300 | |
7269 | |
|
|
7270 | |
|
|
7271 | |
7301 | for ac_header in \ |
7272 | for ac_header in \ |
7302 | assert.h \ |
7273 | assert.h \ |
7303 | fcntl.h \ |
7274 | fcntl.h \ |
7304 | grp.h \ |
7275 | grp.h \ |
7305 | libc.h \ |
7276 | libc.h \ |
… | |
… | |
7318 | sys/time.h \ |
7289 | sys/time.h \ |
7319 | utmp.h \ |
7290 | utmp.h \ |
7320 | utmpx.h \ |
7291 | utmpx.h \ |
7321 | stdint.h \ |
7292 | stdint.h \ |
7322 | pty.h \ |
7293 | pty.h \ |
|
|
7294 | util.h \ |
|
|
7295 | libutil.h \ |
7323 | wchar.h \ |
7296 | wchar.h \ |
7324 | cwchar \ |
7297 | cwchar \ |
7325 | clocale \ |
7298 | clocale \ |
7326 | |
7299 | |
7327 | do |
7300 | do |
… | |
… | |
10157 | #define RETSIGTYPE $ac_cv_type_signal |
10130 | #define RETSIGTYPE $ac_cv_type_signal |
10158 | _ACEOF |
10131 | _ACEOF |
10159 | |
10132 | |
10160 | |
10133 | |
10161 | |
10134 | |
10162 | case "$host_alias" in |
|
|
10163 | *ultrix) ac_cv_func_setsid='no' ;; |
|
|
10164 | *) break;; |
|
|
10165 | esac |
|
|
10166 | |
|
|
10167 | |
|
|
10168 | |
|
|
10169 | |
|
|
10170 | |
10135 | |
10171 | |
10136 | |
10172 | |
10137 | |
10173 | |
10138 | |
10174 | |
10139 | |
… | |
… | |
10182 | |
10147 | |
10183 | |
10148 | |
10184 | |
10149 | |
10185 | |
10150 | |
10186 | for ac_func in \ |
10151 | for ac_func in \ |
10187 | atexit \ |
|
|
10188 | revoke \ |
10152 | revoke \ |
10189 | unsetenv \ |
10153 | unsetenv \ |
10190 | setutent \ |
10154 | setutent \ |
10191 | seteuid \ |
10155 | seteuid \ |
10192 | setreuid \ |
10156 | setreuid \ |
10193 | setsid \ |
|
|
10194 | setpgrp \ |
|
|
10195 | setpgid \ |
|
|
10196 | openpty \ |
|
|
10197 | _getpty \ |
10157 | _getpty \ |
|
|
10158 | getpt \ |
|
|
10159 | posix_openpt \ |
10198 | grantpt \ |
10160 | grantpt \ |
10199 | unlockpt \ |
10161 | unlockpt \ |
10200 | isastream \ |
10162 | isastream \ |
10201 | on_exit \ |
10163 | on_exit \ |
10202 | nanosleep \ |
10164 | nanosleep \ |
… | |
… | |
11983 | #define XIMCB_PROTO_BROKEN 1 |
11945 | #define XIMCB_PROTO_BROKEN 1 |
11984 | _ACEOF |
11946 | _ACEOF |
11985 | |
11947 | |
11986 | fi |
11948 | fi |
11987 | |
11949 | |
|
|
11950 | if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then |
11988 | echo "$as_me:$LINENO: checking for getpt" >&5 |
11951 | echo "$as_me:$LINENO: checking for openpty" >&5 |
11989 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
11952 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11990 | if test "${rxvt_cv_func_getpt+set}" = set; then |
11953 | if test "${ac_cv_func_openpty+set}" = set; then |
11991 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11954 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11992 | else |
11955 | else |
11993 | cat >conftest.$ac_ext <<_ACEOF |
11956 | cat >conftest.$ac_ext <<_ACEOF |
11994 | /* confdefs.h. */ |
11957 | /* confdefs.h. */ |
11995 | _ACEOF |
11958 | _ACEOF |
11996 | cat confdefs.h >>conftest.$ac_ext |
11959 | cat confdefs.h >>conftest.$ac_ext |
11997 | cat >>conftest.$ac_ext <<_ACEOF |
11960 | cat >>conftest.$ac_ext <<_ACEOF |
11998 | /* end confdefs.h. */ |
11961 | /* end confdefs.h. */ |
11999 | #define _GNU_SOURCE |
11962 | /* Define openpty to an innocuous variant, in case <limits.h> declares openpty. |
12000 | #ifdef HAVE_STDLIB_H |
11963 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
12001 | # include <cstdlib> |
11964 | #define openpty innocuous_openpty |
|
|
11965 | |
|
|
11966 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
11967 | which can conflict with char openpty (); below. |
|
|
11968 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
11969 | <limits.h> exists even on freestanding compilers. */ |
|
|
11970 | |
|
|
11971 | #ifdef __STDC__ |
|
|
11972 | # include <limits.h> |
|
|
11973 | #else |
|
|
11974 | # include <assert.h> |
12002 | #endif |
11975 | #endif |
|
|
11976 | |
|
|
11977 | #undef openpty |
|
|
11978 | |
|
|
11979 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
11980 | #ifdef __cplusplus |
|
|
11981 | extern "C" |
|
|
11982 | { |
|
|
11983 | #endif |
|
|
11984 | /* We use char because int might match the return type of a gcc2 |
|
|
11985 | builtin and then its argument prototype would still apply. */ |
|
|
11986 | char openpty (); |
|
|
11987 | /* The GNU C library defines this for functions which it implements |
|
|
11988 | to always fail with ENOSYS. Some functions are actually named |
|
|
11989 | something starting with __ and the normal name is an alias. */ |
|
|
11990 | #if defined (__stub_openpty) || defined (__stub___openpty) |
|
|
11991 | choke me |
|
|
11992 | #else |
|
|
11993 | char (*f) () = openpty; |
|
|
11994 | #endif |
|
|
11995 | #ifdef __cplusplus |
|
|
11996 | } |
|
|
11997 | #endif |
|
|
11998 | |
12003 | int |
11999 | int |
12004 | main () |
12000 | main () |
12005 | { |
12001 | { |
12006 | (void)getpt(); |
12002 | return f != openpty; |
12007 | ; |
12003 | ; |
12008 | return 0; |
12004 | return 0; |
12009 | } |
12005 | } |
12010 | _ACEOF |
12006 | _ACEOF |
12011 | rm -f conftest.$ac_objext conftest$ac_exeext |
12007 | rm -f conftest.$ac_objext conftest$ac_exeext |
… | |
… | |
12027 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12023 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12028 | (eval $ac_try) 2>&5 |
12024 | (eval $ac_try) 2>&5 |
12029 | ac_status=$? |
12025 | ac_status=$? |
12030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12026 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12031 | (exit $ac_status); }; }; then |
12027 | (exit $ac_status); }; }; then |
12032 | rxvt_cv_func_getpt=yes |
12028 | ac_cv_func_openpty=yes |
12033 | else |
12029 | else |
12034 | echo "$as_me: failed program was:" >&5 |
12030 | echo "$as_me: failed program was:" >&5 |
12035 | sed 's/^/| /' conftest.$ac_ext >&5 |
12031 | sed 's/^/| /' conftest.$ac_ext >&5 |
12036 | |
12032 | |
12037 | rxvt_cv_func_getpt=no |
12033 | ac_cv_func_openpty=no |
12038 | fi |
12034 | fi |
12039 | rm -f conftest.err conftest.$ac_objext \ |
12035 | rm -f conftest.err conftest.$ac_objext \ |
12040 | conftest$ac_exeext conftest.$ac_ext |
12036 | conftest$ac_exeext conftest.$ac_ext |
12041 | fi |
12037 | fi |
12042 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
12038 | echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 |
12043 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
12039 | echo "${ECHO_T}$ac_cv_func_openpty" >&6 |
12044 | if test x$rxvt_cv_func_getpt = xyes; then |
12040 | if test $ac_cv_func_openpty = yes; then |
12045 | |
12041 | : |
|
|
12042 | else |
|
|
12043 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
12044 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
12045 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
12046 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12047 | else |
|
|
12048 | ac_check_lib_save_LIBS=$LIBS |
|
|
12049 | LIBS="-lutil $LIBS" |
|
|
12050 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12051 | /* confdefs.h. */ |
|
|
12052 | _ACEOF |
|
|
12053 | cat confdefs.h >>conftest.$ac_ext |
12046 | cat >>confdefs.h <<\_ACEOF |
12054 | cat >>conftest.$ac_ext <<_ACEOF |
12047 | #define HAVE_GETPT 1 |
12055 | /* end confdefs.h. */ |
|
|
12056 | |
|
|
12057 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12058 | #ifdef __cplusplus |
|
|
12059 | extern "C" |
|
|
12060 | #endif |
|
|
12061 | /* We use char because int might match the return type of a gcc2 |
|
|
12062 | builtin and then its argument prototype would still apply. */ |
|
|
12063 | char openpty (); |
|
|
12064 | int |
|
|
12065 | main () |
|
|
12066 | { |
|
|
12067 | openpty (); |
|
|
12068 | ; |
|
|
12069 | return 0; |
|
|
12070 | } |
12048 | _ACEOF |
12071 | _ACEOF |
|
|
12072 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12073 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12074 | (eval $ac_link) 2>conftest.er1 |
|
|
12075 | ac_status=$? |
|
|
12076 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12077 | rm -f conftest.er1 |
|
|
12078 | cat conftest.err >&5 |
|
|
12079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12080 | (exit $ac_status); } && |
|
|
12081 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12082 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12083 | (eval $ac_try) 2>&5 |
|
|
12084 | ac_status=$? |
|
|
12085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12086 | (exit $ac_status); }; } && |
|
|
12087 | { ac_try='test -s conftest$ac_exeext' |
|
|
12088 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12089 | (eval $ac_try) 2>&5 |
|
|
12090 | ac_status=$? |
|
|
12091 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12092 | (exit $ac_status); }; }; then |
|
|
12093 | ac_cv_lib_util_openpty=yes |
|
|
12094 | else |
|
|
12095 | echo "$as_me: failed program was:" >&5 |
|
|
12096 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12097 | |
|
|
12098 | ac_cv_lib_util_openpty=no |
|
|
12099 | fi |
|
|
12100 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12101 | conftest$ac_exeext conftest.$ac_ext |
|
|
12102 | LIBS=$ac_check_lib_save_LIBS |
|
|
12103 | fi |
|
|
12104 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12105 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12106 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12107 | LIBS="$LIBS -lutil" |
|
|
12108 | fi |
|
|
12109 | |
|
|
12110 | fi |
12049 | |
12111 | |
12050 | fi |
12112 | fi |
12051 | |
12113 | |
12052 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12114 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
12053 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12115 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
12054 | if test "${rxvt_cv_ptys+set}" = set; then |
12116 | if test "${rxvt_cv_ptys+set}" = set; then |
12055 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12117 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12056 | else |
12118 | else |
12057 | if test x$ac_cv_func_openpty = xyes; then |
12119 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
12058 | rxvt_cv_ptys=OPENPTY |
12120 | rxvt_cv_ptys=OPENPTY |
|
|
12121 | else if test x$ac_cv_func_getpt = xyes; then |
|
|
12122 | rxvt_cv_ptys=GLIBC |
|
|
12123 | else if test x$ac_cv_func_posix_openpt = xyes; then |
|
|
12124 | rxvt_cv_ptys=POSIX |
12059 | else if test x$ac_cv_func__getpty = xyes; then |
12125 | else if test x$ac_cv_func__getpty = xyes; then |
12060 | rxvt_cv_ptys=SGI4 |
12126 | rxvt_cv_ptys=SGI4 |
12061 | else if test -c /dev/ttyp20; then |
12127 | else if test -c /dev/ttyp20; then |
12062 | rxvt_cv_ptys=SCO |
12128 | rxvt_cv_ptys=SCO |
12063 | else if test -c /dev/ptym/clone; then |
12129 | else if test -c /dev/ptym/clone; then |
12064 | rxvt_cv_ptys=HPUX |
12130 | 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 |
12131 | else if test -c /dev/ptc -a -c /dev/pts; then |
12068 | rxvt_cv_ptys=PTC |
12132 | rxvt_cv_ptys=PTC |
12069 | else if test -c /dev/ptc -a -d /dev/pts; then |
12133 | else if test -c /dev/ptc -a -d /dev/pts; then |
12070 | rxvt_cv_ptys=PTC |
12134 | rxvt_cv_ptys=PTC |
12071 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
12135 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
… | |
… | |
12081 | fi |
12145 | fi |
12082 | fi |
12146 | fi |
12083 | fi |
12147 | fi |
12084 | fi |
12148 | fi |
12085 | fi |
12149 | fi |
|
|
12150 | fi |
12086 | |
12151 | |
12087 | fi |
12152 | fi |
12088 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12153 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12089 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12154 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12090 | |
12155 | |
|
|
12156 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
12157 | |
|
|
12158 | cat >>confdefs.h <<\_ACEOF |
|
|
12159 | #define PTYS_ARE_GETPT 1 |
|
|
12160 | _ACEOF |
|
|
12161 | |
|
|
12162 | fi |
|
|
12163 | if test x$rxvt_cv_ptys = xPOSIX; then |
|
|
12164 | |
|
|
12165 | cat >>confdefs.h <<\_ACEOF |
|
|
12166 | #define PTYS_ARE_POSIX 1 |
|
|
12167 | _ACEOF |
|
|
12168 | |
|
|
12169 | fi |
12091 | if test x$rxvt_cv_ptys = xOPENPTY; then |
12170 | if test x$rxvt_cv_ptys = xOPENPTY; then |
12092 | |
12171 | |
12093 | cat >>confdefs.h <<\_ACEOF |
12172 | cat >>confdefs.h <<\_ACEOF |
12094 | #define PTYS_ARE_OPENPTY 1 |
12173 | #define PTYS_ARE_OPENPTY 1 |
12095 | _ACEOF |
12174 | _ACEOF |
… | |
… | |
12121 | cat >>confdefs.h <<\_ACEOF |
12200 | cat >>confdefs.h <<\_ACEOF |
12122 | #define PTYS_ARE__GETPTY 1 |
12201 | #define PTYS_ARE__GETPTY 1 |
12123 | _ACEOF |
12202 | _ACEOF |
12124 | |
12203 | |
12125 | fi |
12204 | fi |
12126 | if test x$rxvt_cv_ptys = xCONVEX; then |
|
|
12127 | |
|
|
12128 | cat >>confdefs.h <<\_ACEOF |
|
|
12129 | #define PTYS_ARE_GETPTY 1 |
|
|
12130 | _ACEOF |
|
|
12131 | |
|
|
12132 | fi |
|
|
12133 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
12134 | |
|
|
12135 | cat >>confdefs.h <<\_ACEOF |
|
|
12136 | #define PTYS_ARE_GETPT 1 |
|
|
12137 | _ACEOF |
|
|
12138 | |
|
|
12139 | fi |
|
|
12140 | if test x$rxvt_cv_ptys = xHPUX; then |
12205 | if test x$rxvt_cv_ptys = xHPUX; then |
12141 | |
12206 | |
12142 | cat >>confdefs.h <<\_ACEOF |
12207 | cat >>confdefs.h <<\_ACEOF |
12143 | #define PTYS_ARE_CLONE 1 |
12208 | #define PTYS_ARE_CLONE 1 |
12144 | _ACEOF |
12209 | _ACEOF |
12145 | |
12210 | |
12146 | fi |
12211 | fi |
12147 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
12212 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then |
12148 | |
12213 | |
12149 | cat >>confdefs.h <<\_ACEOF |
12214 | cat >>confdefs.h <<\_ACEOF |
12150 | #define PTYS_ARE_SEARCHED 1 |
12215 | #define PTYS_ARE_SEARCHED 1 |
12151 | _ACEOF |
12216 | _ACEOF |
12152 | |
12217 | |
… | |
… | |
12173 | |
12238 | |
12174 | fi |
12239 | fi |
12175 | |
12240 | |
12176 | if test x$support_xft = xyes; then |
12241 | if test x$support_xft = xyes; then |
12177 | LIBS="$LIBS `pkg-config xft --libs`" |
12242 | LIBS="$LIBS `pkg-config xft --libs`" |
12178 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
12179 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12243 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
12180 | |
12244 | |
12181 | |
12245 | |
12182 | for ac_header in X11/Xft/Xft.h |
12246 | for ac_header in X11/Xft/Xft.h |
12183 | do |
12247 | do |
… | |
… | |
12467 | cat >>confdefs.h <<\_ACEOF |
12531 | cat >>confdefs.h <<\_ACEOF |
12468 | #define SELECTION_SCROLLING 1 |
12532 | #define SELECTION_SCROLLING 1 |
12469 | _ACEOF |
12533 | _ACEOF |
12470 | |
12534 | |
12471 | fi |
12535 | fi |
12472 | if test x$support_menubar = xyes; then |
|
|
12473 | |
|
|
12474 | cat >>confdefs.h <<\_ACEOF |
|
|
12475 | #define MENUBAR 1 |
|
|
12476 | _ACEOF |
|
|
12477 | |
|
|
12478 | fi |
|
|
12479 | if test x$support_frills = xyes; then |
12536 | if test x$support_frills = xyes; then |
12480 | |
12537 | |
12481 | cat >>confdefs.h <<\_ACEOF |
12538 | cat >>confdefs.h <<\_ACEOF |
12482 | #define ENABLE_FRILLS 1 |
12539 | #define ENABLE_FRILLS 1 |
12483 | _ACEOF |
12540 | _ACEOF |
… | |
… | |
12641 | #define ENCODING_ZH_EXT 1 |
12698 | #define ENCODING_ZH_EXT 1 |
12642 | _ACEOF |
12699 | _ACEOF |
12643 | ;; |
12700 | ;; |
12644 | esac |
12701 | esac |
12645 | done |
12702 | done |
|
|
12703 | |
|
|
12704 | IF_PERL=\# |
|
|
12705 | if test x$support_perl = xyes; then |
|
|
12706 | # Extract the first word of "perl5", so it can be a program name with args. |
|
|
12707 | set dummy perl5; ac_word=$2 |
|
|
12708 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12709 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12710 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
12711 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12712 | else |
|
|
12713 | case $PERL in |
|
|
12714 | [\\/]* | ?:[\\/]*) |
|
|
12715 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
12716 | ;; |
|
|
12717 | *) |
|
|
12718 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12719 | for as_dir in $PATH |
|
|
12720 | do |
|
|
12721 | IFS=$as_save_IFS |
|
|
12722 | test -z "$as_dir" && as_dir=. |
|
|
12723 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12724 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12725 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
12726 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12727 | break 2 |
|
|
12728 | fi |
|
|
12729 | done |
|
|
12730 | done |
|
|
12731 | |
|
|
12732 | ;; |
|
|
12733 | esac |
|
|
12734 | fi |
|
|
12735 | PERL=$ac_cv_path_PERL |
|
|
12736 | |
|
|
12737 | if test -n "$PERL"; then |
|
|
12738 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
12739 | echo "${ECHO_T}$PERL" >&6 |
|
|
12740 | else |
|
|
12741 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12742 | echo "${ECHO_T}no" >&6 |
|
|
12743 | fi |
|
|
12744 | |
|
|
12745 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
12746 | set dummy perl; ac_word=$2 |
|
|
12747 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12748 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12749 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
12750 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12751 | else |
|
|
12752 | case $PERL in |
|
|
12753 | [\\/]* | ?:[\\/]*) |
|
|
12754 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
12755 | ;; |
|
|
12756 | *) |
|
|
12757 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12758 | for as_dir in $PATH |
|
|
12759 | do |
|
|
12760 | IFS=$as_save_IFS |
|
|
12761 | test -z "$as_dir" && as_dir=. |
|
|
12762 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12763 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12764 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
12765 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12766 | break 2 |
|
|
12767 | fi |
|
|
12768 | done |
|
|
12769 | done |
|
|
12770 | |
|
|
12771 | ;; |
|
|
12772 | esac |
|
|
12773 | fi |
|
|
12774 | PERL=$ac_cv_path_PERL |
|
|
12775 | |
|
|
12776 | if test -n "$PERL"; then |
|
|
12777 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
12778 | echo "${ECHO_T}$PERL" >&6 |
|
|
12779 | else |
|
|
12780 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12781 | echo "${ECHO_T}no" >&6 |
|
|
12782 | fi |
|
|
12783 | |
|
|
12784 | |
|
|
12785 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
|
|
12786 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
|
|
12787 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
|
|
12788 | |
|
|
12789 | save_CXXFLAGS="$CXXFLAGS" |
|
|
12790 | save_LIBS="$LIBS" |
|
|
12791 | CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
|
|
12792 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
|
|
12793 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12794 | /* confdefs.h. */ |
|
|
12795 | _ACEOF |
|
|
12796 | cat confdefs.h >>conftest.$ac_ext |
|
|
12797 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12798 | /* end confdefs.h. */ |
|
|
12799 | |
|
|
12800 | #include <EXTERN.h> |
|
|
12801 | #include <perl.h> |
|
|
12802 | #include <XSUB.h> |
|
|
12803 | |
|
|
12804 | int |
|
|
12805 | main () |
|
|
12806 | { |
|
|
12807 | |
|
|
12808 | PerlInterpreter *perl = perl_alloc (); |
|
|
12809 | |
|
|
12810 | ; |
|
|
12811 | return 0; |
|
|
12812 | } |
|
|
12813 | _ACEOF |
|
|
12814 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12815 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12816 | (eval $ac_link) 2>conftest.er1 |
|
|
12817 | ac_status=$? |
|
|
12818 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12819 | rm -f conftest.er1 |
|
|
12820 | cat conftest.err >&5 |
|
|
12821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12822 | (exit $ac_status); } && |
|
|
12823 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
12824 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12825 | (eval $ac_try) 2>&5 |
|
|
12826 | ac_status=$? |
|
|
12827 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12828 | (exit $ac_status); }; } && |
|
|
12829 | { ac_try='test -s conftest$ac_exeext' |
|
|
12830 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12831 | (eval $ac_try) 2>&5 |
|
|
12832 | ac_status=$? |
|
|
12833 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12834 | (exit $ac_status); }; }; then |
|
|
12835 | rxvt_perl_link=yes |
|
|
12836 | else |
|
|
12837 | echo "$as_me: failed program was:" >&5 |
|
|
12838 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12839 | |
|
|
12840 | rxvt_perl_link=no |
|
|
12841 | fi |
|
|
12842 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12843 | conftest$ac_exeext conftest.$ac_ext |
|
|
12844 | CXXFLAGS="$save_CXXFLAGS" |
|
|
12845 | LIBS="$save_LIBS" |
|
|
12846 | |
|
|
12847 | if test x$rxvt_perl_link = xyes; then |
|
|
12848 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
12849 | echo "${ECHO_T}ok" >&6 |
|
|
12850 | |
|
|
12851 | cat >>confdefs.h <<\_ACEOF |
|
|
12852 | #define ENABLE_PERL 1 |
|
|
12853 | _ACEOF |
|
|
12854 | |
|
|
12855 | IF_PERL= |
|
|
12856 | PERL_O=rxvtperl.o |
|
|
12857 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
|
|
12858 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
|
|
12859 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
|
|
12860 | else |
|
|
12861 | support_perl=no |
|
|
12862 | echo "$as_me:$LINENO: result: no, unable to link" >&5 |
|
|
12863 | echo "${ECHO_T}no, unable to link" >&6 |
|
|
12864 | fi |
|
|
12865 | else |
|
|
12866 | { { echo "$as_me:$LINENO: error: no working perl found" >&5 |
|
|
12867 | echo "$as_me: error: no working perl found" >&2;} |
|
|
12868 | { (exit or perl not version >= 5.8); exit or perl not version >= 5.8; }; } |
|
|
12869 | support_perl=no |
|
|
12870 | fi |
|
|
12871 | fi |
|
|
12872 | |
|
|
12873 | |
|
|
12874 | |
|
|
12875 | |
|
|
12876 | |
|
|
12877 | |
|
|
12878 | |
|
|
12879 | if test x$support_perl = xyes; then |
|
|
12880 | support_frills=yes |
|
|
12881 | fi |
12646 | |
12882 | |
12647 | |
12883 | |
12648 | CFLAGS=${CFLAGS--O} |
12884 | CFLAGS=${CFLAGS--O} |
12649 | LDFLAGS=${LDFLAGS--O} |
12885 | LDFLAGS=${LDFLAGS--O} |
12650 | |
12886 | |
… | |
… | |
12664 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12900 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
12665 | fi |
12901 | fi |
12666 | |
12902 | |
12667 | |
12903 | |
12668 | |
12904 | |
12669 | |
|
|
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 | |
|
|
12679 | MCOMMON=./autoconf/Make.common |
|
|
12680 | |
12905 | |
12681 | |
12906 | |
12682 | test "$program_prefix" != NONE && |
12907 | test "$program_prefix" != NONE && |
12683 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12908 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
12684 | # Use a double $ so make ignores it. |
12909 | # Use a double $ so make ignores it. |
… | |
… | |
12760 | include_time_h="#include <time.h>" |
12985 | include_time_h="#include <time.h>" |
12761 | else |
12986 | else |
12762 | include_time_h="/* #include <time.h> */" |
12987 | include_time_h="/* #include <time.h> */" |
12763 | fi |
12988 | fi |
12764 | |
12989 | |
12765 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
12990 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
12766 | |
12991 | |
12767 | cat >confcache <<\_ACEOF |
12992 | cat >confcache <<\_ACEOF |
12768 | # This file is a shell script that caches the results of configure |
12993 | # This file is a shell script that caches the results of configure |
12769 | # tests run on this system so they can be shared between configure |
12994 | # tests run on this system so they can be shared between configure |
12770 | # scripts and configure runs, see configure's option --config-cache. |
12995 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
13287 | cat >>$CONFIG_STATUS <<\_ACEOF |
13512 | cat >>$CONFIG_STATUS <<\_ACEOF |
13288 | for ac_config_target in $ac_config_targets |
13513 | for ac_config_target in $ac_config_targets |
13289 | do |
13514 | do |
13290 | case "$ac_config_target" in |
13515 | case "$ac_config_target" in |
13291 | # Handling of arguments. |
13516 | # Handling of arguments. |
13292 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
13293 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13517 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13294 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13518 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13295 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13519 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13296 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13520 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13297 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
13521 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
… | |
… | |
13431 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13655 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
13432 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13656 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
13433 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13657 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
13434 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13658 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
13435 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
13659 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
|
|
13660 | s,@PERL@,$PERL,;t t |
|
|
13661 | s,@PERLLIB@,$PERLLIB,;t t |
|
|
13662 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
|
|
13663 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
|
|
13664 | s,@IF_PERL@,$IF_PERL,;t t |
|
|
13665 | s,@PERL_O@,$PERL_O,;t t |
13436 | s,@DEBUG@,$DEBUG,;t t |
13666 | s,@DEBUG@,$DEBUG,;t t |
13437 | s,@DINCLUDE@,$DINCLUDE,;t t |
13667 | s,@DINCLUDE@,$DINCLUDE,;t t |
13438 | s,@DLIB@,$DLIB,;t t |
13668 | s,@DLIB@,$DLIB,;t t |
13439 | s,@include_stdint_h@,$include_stdint_h,;t t |
13669 | s,@include_stdint_h@,$include_stdint_h,;t t |
13440 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
13670 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
… | |
… | |
13449 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13679 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
13450 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13680 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
13451 | s,@include_time_h@,$include_time_h,;t t |
13681 | s,@include_time_h@,$include_time_h,;t t |
13452 | s,@LIBOBJS@,$LIBOBJS,;t t |
13682 | s,@LIBOBJS@,$LIBOBJS,;t t |
13453 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13683 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
13454 | /@MCOMMON@/r $MCOMMON |
|
|
13455 | s,@MCOMMON@,,;t t |
|
|
13456 | CEOF |
13684 | CEOF |
13457 | |
13685 | |
13458 | _ACEOF |
13686 | _ACEOF |
13459 | |
13687 | |
13460 | cat >>$CONFIG_STATUS <<\_ACEOF |
13688 | cat >>$CONFIG_STATUS <<\_ACEOF |
… | |
… | |
13981 | utmp file: $rxvt_cv_path_utmp |
14209 | utmp file: $rxvt_cv_path_utmp |
13982 | utmpx file: $rxvt_cv_path_utmpx |
14210 | utmpx file: $rxvt_cv_path_utmpx |
13983 | wtmp file: $rxvt_cv_path_wtmp |
14211 | wtmp file: $rxvt_cv_path_wtmp |
13984 | wtmpx file: $rxvt_cv_path_wtmpx |
14212 | wtmpx file: $rxvt_cv_path_wtmpx |
13985 | lastlog file: $rxvt_cv_path_lastlog |
14213 | lastlog file: $rxvt_cv_path_lastlog |
13986 | ttys/ttytab file: $rxvt_cv_path_ttytab" |
14214 | ttys/ttytab file: $rxvt_cv_path_ttytab |
|
|
14215 | embedded perl: $support_perl" |
13987 | echo |
14216 | echo |
13988 | fi |
14217 | fi |
13989 | if test x$term != x; then |
14218 | if test x$term != x; then |
13990 | echo " set TERM to: $term" |
14219 | echo " set TERM to: $term" |
13991 | fi |
14220 | fi |