… | |
… | |
694 | PERLPRIVLIBEXP |
694 | PERLPRIVLIBEXP |
695 | IF_PERL |
695 | IF_PERL |
696 | PERL_O |
696 | PERL_O |
697 | AFTERIMAGE_CFLAGS |
697 | AFTERIMAGE_CFLAGS |
698 | AFTERIMAGE_LIBS |
698 | AFTERIMAGE_LIBS |
699 | include_stdint_h |
|
|
700 | include_sys_ioctl_h |
|
|
701 | include_sys_strredir_h |
|
|
702 | LIBOBJS |
699 | LIBOBJS |
703 | LTLIBOBJS' |
700 | LTLIBOBJS' |
704 | ac_subst_files='' |
701 | ac_subst_files='' |
705 | ac_precious_vars='build_alias |
702 | ac_precious_vars='build_alias |
706 | host_alias |
703 | host_alias |
… | |
… | |
1296 | |
1293 | |
1297 | Optional Features: |
1294 | Optional Features: |
1298 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1295 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1299 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1296 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1300 | --enable-everything enable standard non-multichoice features |
1297 | --enable-everything enable standard non-multichoice features |
1301 | NOTE: this option is order dependent |
1298 | NOTE: this option is order dependent |
|
|
1299 | --enable-assert enable assertions |
1302 | --enable-warnings turn on g++ warnings |
1300 | --enable-warnings turn on g++ warnings |
1303 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1301 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1304 | --enable-combining enable composition of base and combining characters |
1302 | --enable-combining enable composition of base and combining characters |
1305 | --enable-xft enable xft support on systems that have it |
1303 | --enable-xft enable xft support on systems that have it |
1306 | --enable-font-styles enable bold and italic support |
1304 | --enable-font-styles enable bold and italic support |
1307 | --enable-afterimage enable integration with libAfterImage for background images |
1305 | --enable-afterimage enable integration with libAfterImage for background images |
1308 | --enable-transparency enable transparent backgrounds |
1306 | --enable-transparency enable transparent backgrounds |
1309 | --enable-fading enable colors fading when off focus |
1307 | --enable-fading enable colors fading when off focus |
1310 | --enable-rxvt-scroll enable rxvt style scrollbar |
1308 | --enable-rxvt-scroll enable rxvt style scrollbar |
1311 | --enable-next-scroll enable NeXT style scrollbar |
1309 | --enable-next-scroll enable NeXT style scrollbar |
1312 | --enable-xterm-scroll enable Xterm style scrollbar |
1310 | --enable-xterm-scroll enable Xterm style scrollbar |
1313 | --enable-plain-scroll enable plain style scrollbar |
|
|
1314 | --enable-perl enable embedded perl interpreter |
1311 | --enable-perl enable embedded perl interpreter |
1315 | --enable-xim XIM (X Input Method) protocol support |
1312 | --enable-xim XIM (X Input Method) protocol support |
1316 | --disable-backspace-key disable handling of the backspace key |
1313 | --disable-backspace-key disable handling of the backspace key |
1317 | --disable-delete-key disable handling of the delete key |
1314 | --disable-delete-key disable handling of the delete key |
1318 | --disable-resources disable all resource checking |
1315 | --disable-resources disable all resource checking |
… | |
… | |
4369 | fi |
4366 | fi |
4370 | |
4367 | |
4371 | fi |
4368 | fi |
4372 | |
4369 | |
4373 | |
4370 | |
4374 | |
|
|
4375 | support_frills=yes |
4371 | support_frills=yes |
4376 | support_inheritpixmap=yes |
4372 | support_inheritpixmap=yes |
4377 | support_fading=yes |
4373 | support_fading=yes |
4378 | support_keepscrolling=yes |
4374 | support_keepscrolling=yes |
4379 | support_selectionscrolling=yes |
4375 | support_selectionscrolling=yes |
… | |
… | |
4382 | support_text_blink=yes |
4378 | support_text_blink=yes |
4383 | support_pointer_blank=yes |
4379 | support_pointer_blank=yes |
4384 | support_scroll_rxvt=yes |
4380 | support_scroll_rxvt=yes |
4385 | support_scroll_next=yes |
4381 | support_scroll_next=yes |
4386 | support_scroll_xterm=yes |
4382 | support_scroll_xterm=yes |
4387 | support_scroll_plain=yes |
|
|
4388 | support_xim=yes |
4383 | support_xim=yes |
4389 | support_afterimage=yes |
4384 | support_afterimage=yes |
4390 | support_afterstep=yes |
4385 | support_afterstep=yes |
4391 | support_xft=yes |
4386 | support_xft=yes |
4392 | support_unicode3=no |
4387 | support_unicode3=no |
… | |
… | |
4394 | support_8bitctrls=no |
4389 | support_8bitctrls=no |
4395 | support_iso14755=yes |
4390 | support_iso14755=yes |
4396 | support_styles=yes |
4391 | support_styles=yes |
4397 | support_perl=yes |
4392 | support_perl=yes |
4398 | codesets=all |
4393 | codesets=all |
4399 | |
|
|
4400 | |
4394 | |
4401 | |
4395 | |
4402 | # Check whether --enable-everything was given. |
4396 | # Check whether --enable-everything was given. |
4403 | if test "${enable_everything+set}" = set; then |
4397 | if test "${enable_everything+set}" = set; then |
4404 | enableval=$enable_everything; |
4398 | enableval=$enable_everything; |
… | |
… | |
4414 | support_text_blink=no |
4408 | support_text_blink=no |
4415 | support_pointer_blank=no |
4409 | support_pointer_blank=no |
4416 | support_scroll_rxvt=no |
4410 | support_scroll_rxvt=no |
4417 | support_scroll_next=no |
4411 | support_scroll_next=no |
4418 | support_scroll_xterm=no |
4412 | support_scroll_xterm=no |
4419 | support_scroll_plain=no |
|
|
4420 | support_utmp=no |
4413 | support_utmp=no |
4421 | support_wtmp=no |
4414 | support_wtmp=no |
4422 | support_xim=no |
4415 | support_xim=no |
4423 | support_afterimage=no |
4416 | support_afterimage=no |
4424 | support_afterstep=no |
4417 | support_afterstep=no |
… | |
… | |
4443 | support_text_blink=yes |
4436 | support_text_blink=yes |
4444 | support_pointer_blank=yes |
4437 | support_pointer_blank=yes |
4445 | support_scroll_rxvt=yes |
4438 | support_scroll_rxvt=yes |
4446 | support_scroll_next=yes |
4439 | support_scroll_next=yes |
4447 | support_scroll_xterm=yes |
4440 | support_scroll_xterm=yes |
4448 | support_scroll_plain=yes |
|
|
4449 | support_utmp=yes |
4441 | support_utmp=yes |
4450 | support_wtmp=yes |
4442 | support_wtmp=yes |
4451 | support_xim=yes |
4443 | support_xim=yes |
4452 | support_afterimage=yes |
4444 | support_afterimage=yes |
4453 | support_afterstep=yes |
4445 | support_afterstep=yes |
… | |
… | |
4462 | fi |
4454 | fi |
4463 | |
4455 | |
4464 | fi |
4456 | fi |
4465 | |
4457 | |
4466 | |
4458 | |
|
|
4459 | ASSERTIONS=no |
|
|
4460 | # Check whether --enable-assert was given. |
|
|
4461 | if test "${enable_assert+set}" = set; then |
|
|
4462 | enableval=$enable_assert; if test x$enableval = xyes; then |
|
|
4463 | ASSERTIONS=yes |
|
|
4464 | fi |
|
|
4465 | fi |
|
|
4466 | |
|
|
4467 | if test x$ASSERTIONS = xno; then |
|
|
4468 | |
|
|
4469 | cat >>confdefs.h <<\_ACEOF |
|
|
4470 | #define NDEBUG 1 |
|
|
4471 | _ACEOF |
|
|
4472 | |
|
|
4473 | fi |
|
|
4474 | |
4467 | WARNINGS=no |
4475 | WARNINGS=no |
4468 | # Check whether --enable-warnings was given. |
4476 | # Check whether --enable-warnings was given. |
4469 | if test "${enable_warnings+set}" = set; then |
4477 | if test "${enable_warnings+set}" = set; then |
4470 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4478 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4471 | WARNINGS=yes |
4479 | WARNINGS=yes |
… | |
… | |
4606 | |
4614 | |
4607 | # Check whether --enable-xterm-scroll was given. |
4615 | # Check whether --enable-xterm-scroll was given. |
4608 | if test "${enable_xterm_scroll+set}" = set; then |
4616 | if test "${enable_xterm_scroll+set}" = set; then |
4609 | enableval=$enable_xterm_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
4617 | enableval=$enable_xterm_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
4610 | support_scroll_xterm=$enableval |
4618 | support_scroll_xterm=$enableval |
4611 | fi |
|
|
4612 | fi |
|
|
4613 | |
|
|
4614 | |
|
|
4615 | # Check whether --enable-plain-scroll was given. |
|
|
4616 | if test "${enable_plain_scroll+set}" = set; then |
|
|
4617 | enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4618 | support_scroll_plain=$enableval |
|
|
4619 | fi |
4619 | fi |
4620 | fi |
4620 | fi |
4621 | |
4621 | |
4622 | |
4622 | |
4623 | # Check whether --enable-perl was given. |
4623 | # Check whether --enable-perl was given. |
… | |
… | |
5340 | |
5340 | |
5341 | |
5341 | |
5342 | |
5342 | |
5343 | |
5343 | |
5344 | |
5344 | |
|
|
5345 | |
|
|
5346 | |
5345 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h |
5347 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h |
5346 | do |
5348 | do |
5347 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5349 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5348 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5350 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5349 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5351 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5350 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5352 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
5486 | |
5488 | |
5487 | |
5489 | |
5488 | |
5490 | |
5489 | |
5491 | |
5490 | |
5492 | |
|
|
5493 | |
|
|
5494 | |
5491 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select |
5495 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd |
5492 | do |
5496 | do |
5493 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5497 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5494 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5498 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5495 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5499 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5496 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
5500 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
5665 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
5669 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
5666 | if test $ac_cv_func_clock_gettime = yes; then |
5670 | if test $ac_cv_func_clock_gettime = yes; then |
5667 | : |
5671 | : |
5668 | else |
5672 | else |
5669 | |
5673 | |
5670 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5674 | if test $(uname) = Linux; then |
|
|
5675 | { echo "$as_me:$LINENO: checking for clock_gettime syscall" >&5 |
|
|
5676 | echo $ECHO_N "checking for clock_gettime syscall... $ECHO_C" >&6; } |
|
|
5677 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5678 | /* confdefs.h. */ |
|
|
5679 | _ACEOF |
|
|
5680 | cat confdefs.h >>conftest.$ac_ext |
|
|
5681 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5682 | /* end confdefs.h. */ |
|
|
5683 | #include <syscall.h> |
|
|
5684 | #include <time.h> |
|
|
5685 | int |
|
|
5686 | main () |
|
|
5687 | { |
|
|
5688 | struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts) |
|
|
5689 | ; |
|
|
5690 | return 0; |
|
|
5691 | } |
|
|
5692 | _ACEOF |
|
|
5693 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5694 | if { (ac_try="$ac_link" |
|
|
5695 | case "(($ac_try" in |
|
|
5696 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5697 | *) ac_try_echo=$ac_try;; |
|
|
5698 | esac |
|
|
5699 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5700 | (eval "$ac_link") 2>conftest.er1 |
|
|
5701 | ac_status=$? |
|
|
5702 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5703 | rm -f conftest.er1 |
|
|
5704 | cat conftest.err >&5 |
|
|
5705 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5706 | (exit $ac_status); } && { |
|
|
5707 | test -z "$ac_cxx_werror_flag" || |
|
|
5708 | test ! -s conftest.err |
|
|
5709 | } && test -s conftest$ac_exeext && |
|
|
5710 | $as_test_x conftest$ac_exeext; then |
|
|
5711 | ac_have_clock_syscall=1 |
|
|
5712 | |
|
|
5713 | cat >>confdefs.h <<\_ACEOF |
|
|
5714 | #define HAVE_CLOCK_SYSCALL 1 |
|
|
5715 | _ACEOF |
|
|
5716 | |
|
|
5717 | { echo "$as_me:$LINENO: result: yes" >&5 |
|
|
5718 | echo "${ECHO_T}yes" >&6; } |
|
|
5719 | else |
|
|
5720 | echo "$as_me: failed program was:" >&5 |
|
|
5721 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5722 | |
|
|
5723 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5724 | echo "${ECHO_T}no" >&6; } |
|
|
5725 | fi |
|
|
5726 | |
|
|
5727 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5728 | conftest$ac_exeext conftest.$ac_ext |
|
|
5729 | fi |
|
|
5730 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
5671 | |
5731 | |
5672 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
5732 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
5673 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
5733 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
5674 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
5734 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
5675 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5735 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
5837 | fi |
5897 | fi |
5838 | |
5898 | |
5839 | fi |
5899 | fi |
5840 | |
5900 | |
5841 | |
5901 | |
|
|
5902 | { echo "$as_me:$LINENO: checking for nanosleep" >&5 |
|
|
5903 | echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; } |
|
|
5904 | if test "${ac_cv_func_nanosleep+set}" = set; then |
|
|
5905 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5906 | else |
|
|
5907 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5908 | /* confdefs.h. */ |
|
|
5909 | _ACEOF |
|
|
5910 | cat confdefs.h >>conftest.$ac_ext |
|
|
5911 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5912 | /* end confdefs.h. */ |
|
|
5913 | /* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep. |
|
|
5914 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5915 | #define nanosleep innocuous_nanosleep |
|
|
5916 | |
|
|
5917 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5918 | which can conflict with char nanosleep (); below. |
|
|
5919 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5920 | <limits.h> exists even on freestanding compilers. */ |
|
|
5921 | |
|
|
5922 | #ifdef __STDC__ |
|
|
5923 | # include <limits.h> |
|
|
5924 | #else |
|
|
5925 | # include <assert.h> |
|
|
5926 | #endif |
|
|
5927 | |
|
|
5928 | #undef nanosleep |
|
|
5929 | |
|
|
5930 | /* Override any GCC internal prototype to avoid an error. |
|
|
5931 | Use char because int might match the return type of a GCC |
|
|
5932 | builtin and then its argument prototype would still apply. */ |
|
|
5933 | #ifdef __cplusplus |
|
|
5934 | extern "C" |
|
|
5935 | #endif |
|
|
5936 | char nanosleep (); |
|
|
5937 | /* The GNU C library defines this for functions which it implements |
|
|
5938 | to always fail with ENOSYS. Some functions are actually named |
|
|
5939 | something starting with __ and the normal name is an alias. */ |
|
|
5940 | #if defined __stub_nanosleep || defined __stub___nanosleep |
|
|
5941 | choke me |
|
|
5942 | #endif |
|
|
5943 | |
|
|
5944 | int |
|
|
5945 | main () |
|
|
5946 | { |
|
|
5947 | return nanosleep (); |
|
|
5948 | ; |
|
|
5949 | return 0; |
|
|
5950 | } |
|
|
5951 | _ACEOF |
|
|
5952 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5953 | if { (ac_try="$ac_link" |
|
|
5954 | case "(($ac_try" in |
|
|
5955 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5956 | *) ac_try_echo=$ac_try;; |
|
|
5957 | esac |
|
|
5958 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5959 | (eval "$ac_link") 2>conftest.er1 |
|
|
5960 | ac_status=$? |
|
|
5961 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5962 | rm -f conftest.er1 |
|
|
5963 | cat conftest.err >&5 |
|
|
5964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5965 | (exit $ac_status); } && { |
|
|
5966 | test -z "$ac_cxx_werror_flag" || |
|
|
5967 | test ! -s conftest.err |
|
|
5968 | } && test -s conftest$ac_exeext && |
|
|
5969 | $as_test_x conftest$ac_exeext; then |
|
|
5970 | ac_cv_func_nanosleep=yes |
|
|
5971 | else |
|
|
5972 | echo "$as_me: failed program was:" >&5 |
|
|
5973 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5974 | |
|
|
5975 | ac_cv_func_nanosleep=no |
|
|
5976 | fi |
|
|
5977 | |
|
|
5978 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5979 | conftest$ac_exeext conftest.$ac_ext |
|
|
5980 | fi |
|
|
5981 | { echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5 |
|
|
5982 | echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; } |
|
|
5983 | if test $ac_cv_func_nanosleep = yes; then |
|
|
5984 | : |
|
|
5985 | else |
|
|
5986 | |
|
|
5987 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
|
|
5988 | |
|
|
5989 | { echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5 |
|
|
5990 | echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; } |
|
|
5991 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then |
|
|
5992 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5993 | else |
|
|
5994 | ac_check_lib_save_LIBS=$LIBS |
|
|
5995 | LIBS="-lrt $LIBS" |
|
|
5996 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5997 | /* confdefs.h. */ |
|
|
5998 | _ACEOF |
|
|
5999 | cat confdefs.h >>conftest.$ac_ext |
|
|
6000 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6001 | /* end confdefs.h. */ |
|
|
6002 | |
|
|
6003 | /* Override any GCC internal prototype to avoid an error. |
|
|
6004 | Use char because int might match the return type of a GCC |
|
|
6005 | builtin and then its argument prototype would still apply. */ |
|
|
6006 | #ifdef __cplusplus |
|
|
6007 | extern "C" |
|
|
6008 | #endif |
|
|
6009 | char nanosleep (); |
|
|
6010 | int |
|
|
6011 | main () |
|
|
6012 | { |
|
|
6013 | return nanosleep (); |
|
|
6014 | ; |
|
|
6015 | return 0; |
|
|
6016 | } |
|
|
6017 | _ACEOF |
|
|
6018 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6019 | if { (ac_try="$ac_link" |
|
|
6020 | case "(($ac_try" in |
|
|
6021 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6022 | *) ac_try_echo=$ac_try;; |
|
|
6023 | esac |
|
|
6024 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6025 | (eval "$ac_link") 2>conftest.er1 |
|
|
6026 | ac_status=$? |
|
|
6027 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6028 | rm -f conftest.er1 |
|
|
6029 | cat conftest.err >&5 |
|
|
6030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6031 | (exit $ac_status); } && { |
|
|
6032 | test -z "$ac_cxx_werror_flag" || |
|
|
6033 | test ! -s conftest.err |
|
|
6034 | } && test -s conftest$ac_exeext && |
|
|
6035 | $as_test_x conftest$ac_exeext; then |
|
|
6036 | ac_cv_lib_rt_nanosleep=yes |
|
|
6037 | else |
|
|
6038 | echo "$as_me: failed program was:" >&5 |
|
|
6039 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6040 | |
|
|
6041 | ac_cv_lib_rt_nanosleep=no |
|
|
6042 | fi |
|
|
6043 | |
|
|
6044 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6045 | conftest$ac_exeext conftest.$ac_ext |
|
|
6046 | LIBS=$ac_check_lib_save_LIBS |
|
|
6047 | fi |
|
|
6048 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5 |
|
|
6049 | echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; } |
|
|
6050 | if test $ac_cv_lib_rt_nanosleep = yes; then |
|
|
6051 | cat >>confdefs.h <<_ACEOF |
|
|
6052 | #define HAVE_LIBRT 1 |
|
|
6053 | _ACEOF |
|
|
6054 | |
|
|
6055 | LIBS="-lrt $LIBS" |
|
|
6056 | |
|
|
6057 | fi |
|
|
6058 | |
|
|
6059 | unset ac_cv_func_nanosleep |
|
|
6060 | |
|
|
6061 | for ac_func in nanosleep |
|
|
6062 | do |
|
|
6063 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
6064 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
6065 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
6066 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
6067 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6068 | else |
|
|
6069 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6070 | /* confdefs.h. */ |
|
|
6071 | _ACEOF |
|
|
6072 | cat confdefs.h >>conftest.$ac_ext |
|
|
6073 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6074 | /* end confdefs.h. */ |
|
|
6075 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
6076 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
6077 | #define $ac_func innocuous_$ac_func |
|
|
6078 | |
|
|
6079 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
6080 | which can conflict with char $ac_func (); below. |
|
|
6081 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
6082 | <limits.h> exists even on freestanding compilers. */ |
|
|
6083 | |
|
|
6084 | #ifdef __STDC__ |
|
|
6085 | # include <limits.h> |
|
|
6086 | #else |
|
|
6087 | # include <assert.h> |
|
|
6088 | #endif |
|
|
6089 | |
|
|
6090 | #undef $ac_func |
|
|
6091 | |
|
|
6092 | /* Override any GCC internal prototype to avoid an error. |
|
|
6093 | Use char because int might match the return type of a GCC |
|
|
6094 | builtin and then its argument prototype would still apply. */ |
|
|
6095 | #ifdef __cplusplus |
|
|
6096 | extern "C" |
|
|
6097 | #endif |
|
|
6098 | char $ac_func (); |
|
|
6099 | /* The GNU C library defines this for functions which it implements |
|
|
6100 | to always fail with ENOSYS. Some functions are actually named |
|
|
6101 | something starting with __ and the normal name is an alias. */ |
|
|
6102 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
6103 | choke me |
|
|
6104 | #endif |
|
|
6105 | |
|
|
6106 | int |
|
|
6107 | main () |
|
|
6108 | { |
|
|
6109 | return $ac_func (); |
|
|
6110 | ; |
|
|
6111 | return 0; |
|
|
6112 | } |
|
|
6113 | _ACEOF |
|
|
6114 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6115 | if { (ac_try="$ac_link" |
|
|
6116 | case "(($ac_try" in |
|
|
6117 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6118 | *) ac_try_echo=$ac_try;; |
|
|
6119 | esac |
|
|
6120 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6121 | (eval "$ac_link") 2>conftest.er1 |
|
|
6122 | ac_status=$? |
|
|
6123 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6124 | rm -f conftest.er1 |
|
|
6125 | cat conftest.err >&5 |
|
|
6126 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6127 | (exit $ac_status); } && { |
|
|
6128 | test -z "$ac_cxx_werror_flag" || |
|
|
6129 | test ! -s conftest.err |
|
|
6130 | } && test -s conftest$ac_exeext && |
|
|
6131 | $as_test_x conftest$ac_exeext; then |
|
|
6132 | eval "$as_ac_var=yes" |
|
|
6133 | else |
|
|
6134 | echo "$as_me: failed program was:" >&5 |
|
|
6135 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6136 | |
|
|
6137 | eval "$as_ac_var=no" |
|
|
6138 | fi |
|
|
6139 | |
|
|
6140 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6141 | conftest$ac_exeext conftest.$ac_ext |
|
|
6142 | fi |
|
|
6143 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
6144 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
6145 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
6146 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
6147 | cat >>confdefs.h <<_ACEOF |
|
|
6148 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
6149 | _ACEOF |
|
|
6150 | |
|
|
6151 | fi |
|
|
6152 | done |
|
|
6153 | |
|
|
6154 | fi |
|
|
6155 | |
|
|
6156 | fi |
|
|
6157 | |
|
|
6158 | |
5842 | |
6159 | |
5843 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
6160 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
5844 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
6161 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
5845 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
6162 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
5846 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6163 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
5907 | _ACEOF |
6224 | _ACEOF |
5908 | |
6225 | |
5909 | LIBS="-lm $LIBS" |
6226 | LIBS="-lm $LIBS" |
5910 | |
6227 | |
5911 | fi |
6228 | fi |
5912 | |
|
|
5913 | |
|
|
5914 | |
6229 | |
5915 | |
6230 | |
5916 | |
6231 | |
5917 | |
6232 | |
5918 | |
6233 | |
… | |
… | |
7356 | |
7671 | |
7357 | |
7672 | |
7358 | |
7673 | |
7359 | |
7674 | |
7360 | |
7675 | |
7361 | |
|
|
7362 | for ac_header in \ |
7676 | for ac_header in \ |
7363 | sys/byteorder.h \ |
7677 | sys/byteorder.h \ |
7364 | sys/ioctl.h \ |
7678 | sys/ioctl.h \ |
7365 | sys/sockio.h \ |
7679 | sys/sockio.h \ |
7366 | sys/strredir.h \ |
7680 | sys/strredir.h \ |
7367 | stdint.h \ |
7681 | stdint.h \ |
7368 | wchar.h \ |
7682 | wchar.h \ |
7369 | cwchar \ |
7683 | cwchar \ |
7370 | clocale \ |
|
|
7371 | |
7684 | |
7372 | do |
7685 | do |
7373 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7686 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7374 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7687 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7375 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7688 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
7505 | |
7818 | |
7506 | fi |
7819 | fi |
7507 | |
7820 | |
7508 | done |
7821 | done |
7509 | |
7822 | |
7510 | |
|
|
7511 | { echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5 |
|
|
7512 | echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; } |
|
|
7513 | if test "${rxvt_cv_header_sysioctl+set}" = set; then |
|
|
7514 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7515 | else |
|
|
7516 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7517 | /* confdefs.h. */ |
|
|
7518 | _ACEOF |
|
|
7519 | cat confdefs.h >>conftest.$ac_ext |
|
|
7520 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7521 | /* end confdefs.h. */ |
|
|
7522 | #include <stdio.h> |
|
|
7523 | #include <sys/ioctl.h> |
|
|
7524 | #include <termios.h> |
|
|
7525 | |
|
|
7526 | int |
|
|
7527 | main () |
|
|
7528 | { |
|
|
7529 | int a = ECHO; |
|
|
7530 | ; |
|
|
7531 | return 0; |
|
|
7532 | } |
|
|
7533 | _ACEOF |
|
|
7534 | rm -f conftest.$ac_objext |
|
|
7535 | if { (ac_try="$ac_compile" |
|
|
7536 | case "(($ac_try" in |
|
|
7537 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7538 | *) ac_try_echo=$ac_try;; |
|
|
7539 | esac |
|
|
7540 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7541 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7542 | ac_status=$? |
|
|
7543 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7544 | rm -f conftest.er1 |
|
|
7545 | cat conftest.err >&5 |
|
|
7546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7547 | (exit $ac_status); } && { |
|
|
7548 | test -z "$ac_cxx_werror_flag" || |
|
|
7549 | test ! -s conftest.err |
|
|
7550 | } && test -s conftest.$ac_objext; then |
|
|
7551 | rxvt_cv_header_sysioctl=yes |
|
|
7552 | else |
|
|
7553 | echo "$as_me: failed program was:" >&5 |
|
|
7554 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7555 | |
|
|
7556 | rxvt_cv_header_sysioctl=no |
|
|
7557 | fi |
|
|
7558 | |
|
|
7559 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7560 | fi |
|
|
7561 | { echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
|
|
7562 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } |
|
|
7563 | |
7823 | |
7564 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7824 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7565 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7825 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7566 | if test "${rxvt_cv_xpointer+set}" = set; then |
7826 | if test "${rxvt_cv_xpointer+set}" = set; then |
7567 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7827 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
10317 | |
10577 | |
10318 | |
10578 | |
10319 | |
10579 | |
10320 | |
10580 | |
10321 | |
10581 | |
|
|
10582 | |
10322 | for ac_header in \ |
10583 | for ac_header in \ |
10323 | pty.h \ |
10584 | pty.h \ |
10324 | util.h \ |
10585 | util.h \ |
10325 | libutil.h \ |
10586 | libutil.h \ |
10326 | sys/ioctl.h \ |
10587 | sys/ioctl.h \ |
10327 | sys/stropts.h \ |
10588 | sys/stropts.h \ |
|
|
10589 | stropts.h \ |
10328 | |
10590 | |
10329 | do |
10591 | do |
10330 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10592 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10331 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10593 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10332 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10594 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
11355 | _ACEOF |
11617 | _ACEOF |
11356 | |
11618 | |
11357 | fi |
11619 | fi |
11358 | |
11620 | |
11359 | |
11621 | |
|
|
11622 | scrolltypes=plain |
|
|
11623 | |
|
|
11624 | cat >>confdefs.h <<\_ACEOF |
|
|
11625 | #define PLAIN_SCROLLBAR 1 |
|
|
11626 | _ACEOF |
|
|
11627 | |
|
|
11628 | |
11360 | if test x$support_scroll_rxvt = xyes; then |
11629 | if test x$support_scroll_rxvt = xyes; then |
11361 | |
11630 | |
11362 | cat >>confdefs.h <<\_ACEOF |
11631 | cat >>confdefs.h <<\_ACEOF |
11363 | #define RXVT_SCROLLBAR 1 |
11632 | #define RXVT_SCROLLBAR 1 |
11364 | _ACEOF |
11633 | _ACEOF |
11365 | |
11634 | |
11366 | scrolltypes="rxvt" |
11635 | scrolltypes="$scrolltypes rxvt" |
11367 | fi |
11636 | fi |
11368 | if test x$support_scroll_next = xyes; then |
11637 | if test x$support_scroll_next = xyes; then |
11369 | |
11638 | |
11370 | cat >>confdefs.h <<\_ACEOF |
11639 | cat >>confdefs.h <<\_ACEOF |
11371 | #define NEXT_SCROLLBAR 1 |
11640 | #define NEXT_SCROLLBAR 1 |
… | |
… | |
11378 | cat >>confdefs.h <<\_ACEOF |
11647 | cat >>confdefs.h <<\_ACEOF |
11379 | #define XTERM_SCROLLBAR 1 |
11648 | #define XTERM_SCROLLBAR 1 |
11380 | _ACEOF |
11649 | _ACEOF |
11381 | |
11650 | |
11382 | scrolltypes="$scrolltypes xterm" |
11651 | scrolltypes="$scrolltypes xterm" |
11383 | fi |
|
|
11384 | if test x$support_scroll_plain = xyes; then |
|
|
11385 | |
|
|
11386 | cat >>confdefs.h <<\_ACEOF |
|
|
11387 | #define PLAIN_SCROLLBAR 1 |
|
|
11388 | _ACEOF |
|
|
11389 | |
|
|
11390 | scrolltypes="$scrolltypes plain" |
|
|
11391 | fi |
11652 | fi |
11392 | if test x$support_pointer_blank = xyes; then |
11653 | if test x$support_pointer_blank = xyes; then |
11393 | |
11654 | |
11394 | cat >>confdefs.h <<\_ACEOF |
11655 | cat >>confdefs.h <<\_ACEOF |
11395 | #define POINTER_BLANK 1 |
11656 | #define POINTER_BLANK 1 |
… | |
… | |
11658 | _ACEOF |
11919 | _ACEOF |
11659 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
11920 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
11660 | rm -f conftest.sed |
11921 | rm -f conftest.sed |
11661 | |
11922 | |
11662 | |
11923 | |
11663 | |
|
|
11664 | |
|
|
11665 | |
|
|
11666 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
11667 | include_stdint_h="#include <stdint.h>" |
|
|
11668 | else |
|
|
11669 | include_stdint_h="/* #include <stdint.h> */" |
|
|
11670 | fi |
|
|
11671 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
11672 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
11673 | else |
|
|
11674 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
11675 | fi |
|
|
11676 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
11677 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
11678 | else |
|
|
11679 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
11680 | fi |
|
|
11681 | |
|
|
11682 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
11924 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile" |
11683 | |
11925 | |
11684 | cat >confcache <<\_ACEOF |
11926 | cat >confcache <<\_ACEOF |
11685 | # This file is a shell script that caches the results of configure |
11927 | # This file is a shell script that caches the results of configure |
11686 | # tests run on this system so they can be shared between configure |
11928 | # tests run on this system so they can be shared between configure |
11687 | # scripts and configure runs, see configure's option --config-cache. |
11929 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
12236 | case $ac_config_target in |
12478 | case $ac_config_target in |
12237 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
12479 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
12238 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
12480 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
12239 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
12481 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
12240 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
12482 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
12241 | "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
|
|
12242 | |
12483 | |
12243 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
12484 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
12244 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
12485 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
12245 | { (exit 1); exit 1; }; };; |
12486 | { (exit 1); exit 1; }; };; |
12246 | esac |
12487 | esac |
… | |
… | |
12381 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
12622 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
12382 | IF_PERL!$IF_PERL$ac_delim |
12623 | IF_PERL!$IF_PERL$ac_delim |
12383 | PERL_O!$PERL_O$ac_delim |
12624 | PERL_O!$PERL_O$ac_delim |
12384 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
12625 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
12385 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
12626 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
12386 | include_stdint_h!$include_stdint_h$ac_delim |
|
|
12387 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
|
|
12388 | include_sys_strredir_h!$include_sys_strredir_h$ac_delim |
|
|
12389 | LIBOBJS!$LIBOBJS$ac_delim |
12627 | LIBOBJS!$LIBOBJS$ac_delim |
12390 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
12628 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
12391 | _ACEOF |
12629 | _ACEOF |
12392 | |
12630 | |
12393 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then |
12631 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then |
12394 | break |
12632 | break |
12395 | elif $ac_last_try; then |
12633 | elif $ac_last_try; then |
12396 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
12634 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
12397 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
12635 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
12398 | { (exit 1); exit 1; }; } |
12636 | { (exit 1); exit 1; }; } |