… | |
… | |
2539 | sed 's/^/| /' "$ac_site_file" >&5 |
2539 | sed 's/^/| /' "$ac_site_file" >&5 |
2540 | . "$ac_site_file" \ |
2540 | . "$ac_site_file" \ |
2541 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2541 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2542 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2542 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2543 | as_fn_error $? "failed to load site script $ac_site_file |
2543 | as_fn_error $? "failed to load site script $ac_site_file |
2544 | See \`config.log' for more details" "$LINENO" 5; } |
2544 | See \`config.log' for more details" "$LINENO" 5 ; } |
2545 | fi |
2545 | fi |
2546 | done |
2546 | done |
2547 | |
2547 | |
2548 | if test -r "$cache_file"; then |
2548 | if test -r "$cache_file"; then |
2549 | # Some versions of bash will fail to source /dev/null (special files |
2549 | # Some versions of bash will fail to source /dev/null (special files |
… | |
… | |
2684 | fi |
2684 | fi |
2685 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2685 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2686 | $as_echo "$ac_cv_build" >&6; } |
2686 | $as_echo "$ac_cv_build" >&6; } |
2687 | case $ac_cv_build in |
2687 | case $ac_cv_build in |
2688 | *-*-*) ;; |
2688 | *-*-*) ;; |
2689 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2689 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; |
2690 | esac |
2690 | esac |
2691 | build=$ac_cv_build |
2691 | build=$ac_cv_build |
2692 | ac_save_IFS=$IFS; IFS='-' |
2692 | ac_save_IFS=$IFS; IFS='-' |
2693 | set x $ac_cv_build |
2693 | set x $ac_cv_build |
2694 | shift |
2694 | shift |
… | |
… | |
2717 | fi |
2717 | fi |
2718 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2718 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2719 | $as_echo "$ac_cv_host" >&6; } |
2719 | $as_echo "$ac_cv_host" >&6; } |
2720 | case $ac_cv_host in |
2720 | case $ac_cv_host in |
2721 | *-*-*) ;; |
2721 | *-*-*) ;; |
2722 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2722 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; |
2723 | esac |
2723 | esac |
2724 | host=$ac_cv_host |
2724 | host=$ac_cv_host |
2725 | ac_save_IFS=$IFS; IFS='-' |
2725 | ac_save_IFS=$IFS; IFS='-' |
2726 | set x $ac_cv_host |
2726 | set x $ac_cv_host |
2727 | shift |
2727 | shift |
… | |
… | |
3044 | |
3044 | |
3045 | |
3045 | |
3046 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3046 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3047 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3047 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3048 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3048 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3049 | See \`config.log' for more details" "$LINENO" 5; } |
3049 | See \`config.log' for more details" "$LINENO" 5 ; } |
3050 | |
3050 | |
3051 | # Provide some information about the compiler. |
3051 | # Provide some information about the compiler. |
3052 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3052 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3053 | set X $ac_compile |
3053 | set X $ac_compile |
3054 | ac_compiler=$2 |
3054 | ac_compiler=$2 |
… | |
… | |
3159 | sed 's/^/| /' conftest.$ac_ext >&5 |
3159 | sed 's/^/| /' conftest.$ac_ext >&5 |
3160 | |
3160 | |
3161 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3161 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3162 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3162 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3163 | as_fn_error 77 "C compiler cannot create executables |
3163 | as_fn_error 77 "C compiler cannot create executables |
3164 | See \`config.log' for more details" "$LINENO" 5; } |
3164 | See \`config.log' for more details" "$LINENO" 5 ; } |
3165 | else |
3165 | else |
3166 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3166 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3167 | $as_echo "yes" >&6; } |
3167 | $as_echo "yes" >&6; } |
3168 | fi |
3168 | fi |
3169 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3169 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
… | |
… | |
3202 | done |
3202 | done |
3203 | else |
3203 | else |
3204 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3204 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3205 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3205 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3206 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3206 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3207 | See \`config.log' for more details" "$LINENO" 5; } |
3207 | See \`config.log' for more details" "$LINENO" 5 ; } |
3208 | fi |
3208 | fi |
3209 | rm -f conftest conftest$ac_cv_exeext |
3209 | rm -f conftest conftest$ac_cv_exeext |
3210 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3210 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3211 | $as_echo "$ac_cv_exeext" >&6; } |
3211 | $as_echo "$ac_cv_exeext" >&6; } |
3212 | |
3212 | |
… | |
… | |
3261 | else |
3261 | else |
3262 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3262 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3263 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3263 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3264 | as_fn_error $? "cannot run C compiled programs. |
3264 | as_fn_error $? "cannot run C compiled programs. |
3265 | If you meant to cross compile, use \`--host'. |
3265 | If you meant to cross compile, use \`--host'. |
3266 | See \`config.log' for more details" "$LINENO" 5; } |
3266 | See \`config.log' for more details" "$LINENO" 5 ; } |
3267 | fi |
3267 | fi |
3268 | fi |
3268 | fi |
3269 | fi |
3269 | fi |
3270 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3270 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3271 | $as_echo "$cross_compiling" >&6; } |
3271 | $as_echo "$cross_compiling" >&6; } |
… | |
… | |
3313 | sed 's/^/| /' conftest.$ac_ext >&5 |
3313 | sed 's/^/| /' conftest.$ac_ext >&5 |
3314 | |
3314 | |
3315 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3315 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3316 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3316 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3317 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3317 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3318 | See \`config.log' for more details" "$LINENO" 5; } |
3318 | See \`config.log' for more details" "$LINENO" 5 ; } |
3319 | fi |
3319 | fi |
3320 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3320 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3321 | fi |
3321 | fi |
3322 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3322 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3323 | $as_echo "$ac_cv_objext" >&6; } |
3323 | $as_echo "$ac_cv_objext" >&6; } |
… | |
… | |
3918 | |
3918 | |
3919 | else |
3919 | else |
3920 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3920 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3921 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3921 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3922 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3922 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3923 | See \`config.log' for more details" "$LINENO" 5; } |
3923 | See \`config.log' for more details" "$LINENO" 5 ; } |
3924 | fi |
3924 | fi |
3925 | |
3925 | |
3926 | ac_ext=c |
3926 | ac_ext=c |
3927 | ac_cpp='$CPP $CPPFLAGS' |
3927 | ac_cpp='$CPP $CPPFLAGS' |
3928 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3928 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
4664 | support_pointer_blank=yes |
4664 | support_pointer_blank=yes |
4665 | support_scroll_rxvt=yes |
4665 | support_scroll_rxvt=yes |
4666 | support_scroll_next=yes |
4666 | support_scroll_next=yes |
4667 | support_scroll_xterm=yes |
4667 | support_scroll_xterm=yes |
4668 | support_xim=yes |
4668 | support_xim=yes |
|
|
4669 | support_pixbuf=yes |
4669 | support_afterimage=yes |
4670 | support_afterimage=yes |
4670 | support_xft=yes |
4671 | support_xft=yes |
4671 | support_unicode3=no |
4672 | support_unicode3=no |
4672 | support_combining=yes |
4673 | support_combining=yes |
4673 | support_8bitctrls=no |
4674 | support_8bitctrls=no |
… | |
… | |
4695 | support_scroll_next=no |
4696 | support_scroll_next=no |
4696 | support_scroll_xterm=no |
4697 | support_scroll_xterm=no |
4697 | support_utmp=no |
4698 | support_utmp=no |
4698 | support_wtmp=no |
4699 | support_wtmp=no |
4699 | support_xim=no |
4700 | support_xim=no |
|
|
4701 | support_pixbuf=no |
4700 | support_afterimage=no |
4702 | support_afterimage=no |
4701 | support_xft=no |
4703 | support_xft=no |
4702 | support_unicode3=no |
4704 | support_unicode3=no |
4703 | support_combining=no |
4705 | support_combining=no |
4704 | support_8bitctrls=no |
4706 | support_8bitctrls=no |
… | |
… | |
4722 | support_scroll_next=yes |
4724 | support_scroll_next=yes |
4723 | support_scroll_xterm=yes |
4725 | support_scroll_xterm=yes |
4724 | support_utmp=yes |
4726 | support_utmp=yes |
4725 | support_wtmp=yes |
4727 | support_wtmp=yes |
4726 | support_xim=yes |
4728 | support_xim=yes |
|
|
4729 | support_pixbuf=yes |
4727 | support_afterimage=yes |
4730 | support_afterimage=yes |
4728 | support_xft=yes |
4731 | support_xft=yes |
4729 | support_unicode3=yes |
4732 | support_unicode3=yes |
4730 | support_combining=yes |
4733 | support_combining=yes |
4731 | #support_8bitctrls=yes |
4734 | #support_8bitctrls=yes |
… | |
… | |
5253 | |
5256 | |
5254 | else |
5257 | else |
5255 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5258 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5256 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5259 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5257 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5260 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5258 | See \`config.log' for more details" "$LINENO" 5; } |
5261 | See \`config.log' for more details" "$LINENO" 5 ; } |
5259 | fi |
5262 | fi |
5260 | |
5263 | |
5261 | ac_ext=cpp |
5264 | ac_ext=cpp |
5262 | ac_cpp='$CXXCPP $CPPFLAGS' |
5265 | ac_cpp='$CXXCPP $CPPFLAGS' |
5263 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5266 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
5290 | |
5293 | |
5291 | fi |
5294 | fi |
5292 | done |
5295 | done |
5293 | |
5296 | |
5294 | |
5297 | |
|
|
5298 | for ac_func in clock_gettime |
|
|
5299 | do : |
5295 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5300 | ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
5296 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
5301 | if test "x$ac_cv_func_clock_gettime" = x""yes; then : |
|
|
5302 | cat >>confdefs.h <<_ACEOF |
|
|
5303 | #define HAVE_CLOCK_GETTIME 1 |
|
|
5304 | _ACEOF |
5297 | |
5305 | |
5298 | else |
5306 | else |
5299 | |
5307 | |
5300 | if test $(uname) = Linux; then |
5308 | if test $(uname) = Linux; then |
5301 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5 |
5309 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5 |
… | |
… | |
5386 | done |
5394 | done |
5387 | |
5395 | |
5388 | fi |
5396 | fi |
5389 | |
5397 | |
5390 | fi |
5398 | fi |
|
|
5399 | done |
5391 | |
5400 | |
5392 | |
5401 | |
|
|
5402 | for ac_func in nanosleep |
|
|
5403 | do : |
5393 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5404 | ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
5394 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
5405 | if test "x$ac_cv_func_nanosleep" = x""yes; then : |
|
|
5406 | cat >>confdefs.h <<_ACEOF |
|
|
5407 | #define HAVE_NANOSLEEP 1 |
|
|
5408 | _ACEOF |
5395 | |
5409 | |
5396 | else |
5410 | else |
5397 | |
5411 | |
5398 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5412 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5399 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
5413 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
… | |
… | |
5454 | done |
5468 | done |
5455 | |
5469 | |
5456 | fi |
5470 | fi |
5457 | |
5471 | |
5458 | fi |
5472 | fi |
|
|
5473 | done |
5459 | |
5474 | |
5460 | |
5475 | |
|
|
5476 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
|
|
5477 | LIBM=m |
|
|
5478 | fi |
5461 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5 |
5479 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
5462 | $as_echo_n "checking for ceil in -lm... " >&6; } |
5480 | $as_echo_n "checking for library containing floor... " >&6; } |
5463 | if test "${ac_cv_lib_m_ceil+set}" = set; then : |
5481 | if test "${ac_cv_search_floor+set}" = set; then : |
5464 | $as_echo_n "(cached) " >&6 |
5482 | $as_echo_n "(cached) " >&6 |
5465 | else |
5483 | else |
5466 | ac_check_lib_save_LIBS=$LIBS |
5484 | ac_func_search_save_LIBS=$LIBS |
5467 | LIBS="-lm $LIBS" |
|
|
5468 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5485 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5469 | /* end confdefs.h. */ |
5486 | /* end confdefs.h. */ |
5470 | |
5487 | |
5471 | /* Override any GCC internal prototype to avoid an error. |
5488 | /* Override any GCC internal prototype to avoid an error. |
5472 | Use char because int might match the return type of a GCC |
5489 | Use char because int might match the return type of a GCC |
5473 | builtin and then its argument prototype would still apply. */ |
5490 | builtin and then its argument prototype would still apply. */ |
5474 | #ifdef __cplusplus |
5491 | #ifdef __cplusplus |
5475 | extern "C" |
5492 | extern "C" |
5476 | #endif |
5493 | #endif |
5477 | char ceil (); |
5494 | char floor (); |
5478 | int |
5495 | int |
5479 | main () |
5496 | main () |
5480 | { |
5497 | { |
5481 | return ceil (); |
5498 | return floor (); |
5482 | ; |
5499 | ; |
5483 | return 0; |
5500 | return 0; |
5484 | } |
5501 | } |
5485 | _ACEOF |
5502 | _ACEOF |
|
|
5503 | for ac_lib in '' $LIBM; do |
|
|
5504 | if test -z "$ac_lib"; then |
|
|
5505 | ac_res="none required" |
|
|
5506 | else |
|
|
5507 | ac_res=-l$ac_lib |
|
|
5508 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
5509 | fi |
5486 | if ac_fn_cxx_try_link "$LINENO"; then : |
5510 | if ac_fn_cxx_try_link "$LINENO"; then : |
5487 | ac_cv_lib_m_ceil=yes |
5511 | ac_cv_search_floor=$ac_res |
5488 | else |
|
|
5489 | ac_cv_lib_m_ceil=no |
|
|
5490 | fi |
5512 | fi |
5491 | rm -f core conftest.err conftest.$ac_objext \ |
5513 | rm -f core conftest.err conftest.$ac_objext \ |
5492 | conftest$ac_exeext conftest.$ac_ext |
5514 | conftest$ac_exeext |
5493 | LIBS=$ac_check_lib_save_LIBS |
5515 | if test "${ac_cv_search_floor+set}" = set; then : |
|
|
5516 | break |
5494 | fi |
5517 | fi |
|
|
5518 | done |
|
|
5519 | if test "${ac_cv_search_floor+set}" = set; then : |
|
|
5520 | |
|
|
5521 | else |
|
|
5522 | ac_cv_search_floor=no |
|
|
5523 | fi |
|
|
5524 | rm conftest.$ac_ext |
|
|
5525 | LIBS=$ac_func_search_save_LIBS |
|
|
5526 | fi |
5495 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5 |
5527 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5 |
5496 | $as_echo "$ac_cv_lib_m_ceil" >&6; } |
5528 | $as_echo "$ac_cv_search_floor" >&6; } |
5497 | if test "x$ac_cv_lib_m_ceil" = x""yes; then : |
5529 | ac_res=$ac_cv_search_floor |
5498 | cat >>confdefs.h <<_ACEOF |
5530 | if test "$ac_res" != no; then : |
5499 | #define HAVE_LIBM 1 |
5531 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
5500 | _ACEOF |
|
|
5501 | |
5532 | |
5502 | LIBS="-lm $LIBS" |
5533 | $as_echo "#define HAVE_FLOOR 1" >>confdefs.h |
5503 | |
5534 | |
5504 | fi |
5535 | fi |
5505 | |
5536 | |
5506 | |
5537 | |
5507 | |
5538 | |
… | |
… | |
5562 | if test "x$with_x" = xno; then |
5593 | if test "x$with_x" = xno; then |
5563 | # The user explicitly disabled X. |
5594 | # The user explicitly disabled X. |
5564 | have_x=disabled |
5595 | have_x=disabled |
5565 | else |
5596 | else |
5566 | case $x_includes,$x_libraries in #( |
5597 | case $x_includes,$x_libraries in #( |
5567 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( |
5598 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #( |
5568 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
5599 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
5569 | $as_echo_n "(cached) " >&6 |
5600 | $as_echo_n "(cached) " >&6 |
5570 | else |
5601 | else |
5571 | # One or both of the vars are not set, and there is no cached value. |
5602 | # One or both of the vars are not set, and there is no cached value. |
5572 | ac_x_includes=no ac_x_libraries=no |
5603 | ac_x_includes=no ac_x_libraries=no |
… | |
… | |
6417 | fi |
6448 | fi |
6418 | |
6449 | |
6419 | done |
6450 | done |
6420 | |
6451 | |
6421 | |
6452 | |
6422 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPointer" >&5 |
|
|
6423 | $as_echo_n "checking for XPointer... " >&6; } |
|
|
6424 | if test "${rxvt_cv_xpointer+set}" = set; then : |
|
|
6425 | $as_echo_n "(cached) " >&6 |
|
|
6426 | else |
|
|
6427 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6428 | /* end confdefs.h. */ |
|
|
6429 | #include <X11/Xlib.h> |
|
|
6430 | int |
|
|
6431 | main () |
|
|
6432 | { |
|
|
6433 | XPointer dummy; |
|
|
6434 | ; |
|
|
6435 | return 0; |
|
|
6436 | } |
|
|
6437 | _ACEOF |
|
|
6438 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6439 | rxvt_cv_xpointer=yes |
|
|
6440 | else |
|
|
6441 | rxvt_cv_xpointer=no |
|
|
6442 | fi |
|
|
6443 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6444 | fi |
|
|
6445 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_xpointer" >&5 |
|
|
6446 | $as_echo "$rxvt_cv_xpointer" >&6; } |
|
|
6447 | if test x$rxvt_cv_xpointer = xyes; then |
|
|
6448 | |
|
|
6449 | $as_echo "#define HAVE_XPOINTER 1" >>confdefs.h |
|
|
6450 | |
|
|
6451 | fi |
|
|
6452 | |
|
|
6453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 |
6453 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB_ILLEGAL_ACCESS" >&5 |
6454 | $as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } |
6454 | $as_echo_n "checking for XLIB_ILLEGAL_ACCESS... " >&6; } |
6455 | if test "${rxvt_cv_xlib_illegal_access+set}" = set; then : |
6455 | if test "${rxvt_cv_xlib_illegal_access+set}" = set; then : |
6456 | $as_echo_n "(cached) " >&6 |
6456 | $as_echo_n "(cached) " >&6 |
6457 | else |
6457 | else |
… | |
… | |
7284 | $as_echo_n "checking for working Xlocale... " >&6; } |
7284 | $as_echo_n "checking for working Xlocale... " >&6; } |
7285 | if test "${rxvt_cv_func_xlocale+set}" = set; then : |
7285 | if test "${rxvt_cv_func_xlocale+set}" = set; then : |
7286 | $as_echo_n "(cached) " >&6 |
7286 | $as_echo_n "(cached) " >&6 |
7287 | else |
7287 | else |
7288 | if test "$cross_compiling" = yes; then : |
7288 | if test "$cross_compiling" = yes; then : |
7289 | : |
7289 | : |
7290 | else |
7290 | else |
7291 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7291 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7292 | /* end confdefs.h. */ |
7292 | /* end confdefs.h. */ |
|
|
7293 | |
7293 | #include <X11/Xlib.h> |
7294 | #include <X11/Xlib.h> |
7294 | #include <stdlib.h> |
7295 | #include <stdlib.h> |
7295 | main() { |
7296 | int main() { |
7296 | char *p; |
7297 | char *p; |
7297 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
7298 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
7298 | exit (XSupportsLocale() ? 0 : 1); |
7299 | exit (XSupportsLocale() ? 0 : 1); |
7299 | else |
7300 | else |
7300 | exit (1);} |
7301 | exit (1); |
|
|
7302 | } |
|
|
7303 | |
7301 | _ACEOF |
7304 | _ACEOF |
7302 | if ac_fn_cxx_try_run "$LINENO"; then : |
7305 | if ac_fn_cxx_try_run "$LINENO"; then : |
7303 | rxvt_cv_func_xlocale=yes |
7306 | rxvt_cv_func_xlocale=yes |
7304 | else |
7307 | else |
7305 | rxvt_cv_func_xlocale=no |
7308 | rxvt_cv_func_xlocale=no |
7306 | fi |
7309 | fi |
7307 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
7310 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
7308 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
7311 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
… | |
… | |
9002 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
9005 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
9003 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
9006 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
9004 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
9007 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
9005 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
9008 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
9006 | |
9009 | |
9007 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
9010 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
9008 | esac |
9011 | esac |
9009 | done |
9012 | done |
9010 | |
9013 | |
9011 | |
9014 | |
9012 | # If the user did not use the arguments to specify the items to instantiate, |
9015 | # If the user did not use the arguments to specify the items to instantiate, |
… | |
… | |
9317 | case $ac_tag in |
9320 | case $ac_tag in |
9318 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9321 | :[FHLC]) ac_mode=$ac_tag; continue;; |
9319 | esac |
9322 | esac |
9320 | case $ac_mode$ac_tag in |
9323 | case $ac_mode$ac_tag in |
9321 | :[FHL]*:*);; |
9324 | :[FHL]*:*);; |
9322 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
9325 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
9323 | :[FH]-) ac_tag=-:-;; |
9326 | :[FH]-) ac_tag=-:-;; |
9324 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9327 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
9325 | esac |
9328 | esac |
9326 | ac_save_IFS=$IFS |
9329 | ac_save_IFS=$IFS |
9327 | IFS=: |
9330 | IFS=: |
… | |
… | |
9345 | test -f "$ac_f" || |
9348 | test -f "$ac_f" || |
9346 | case $ac_f in |
9349 | case $ac_f in |
9347 | [\\/$]*) false;; |
9350 | [\\/$]*) false;; |
9348 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9351 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9349 | esac || |
9352 | esac || |
9350 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
9353 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
9351 | esac |
9354 | esac |
9352 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9355 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9353 | as_fn_append ac_file_inputs " '$ac_f'" |
9356 | as_fn_append ac_file_inputs " '$ac_f'" |
9354 | done |
9357 | done |
9355 | |
9358 | |
… | |
… | |
9372 | *) ac_sed_conf_input=$configure_input;; |
9375 | *) ac_sed_conf_input=$configure_input;; |
9373 | esac |
9376 | esac |
9374 | |
9377 | |
9375 | case $ac_tag in |
9378 | case $ac_tag in |
9376 | *:-:* | *:-) cat >"$tmp/stdin" \ |
9379 | *:-:* | *:-) cat >"$tmp/stdin" \ |
9377 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9380 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
9378 | esac |
9381 | esac |
9379 | ;; |
9382 | ;; |
9380 | esac |
9383 | esac |
9381 | |
9384 | |
9382 | ac_dir=`$as_dirname -- "$ac_file" || |
9385 | ac_dir=`$as_dirname -- "$ac_file" || |