| @@ -5037,27 +5037,27 @@ cat >>confdefs.h < | | @@ -5037,27 +5037,27 @@ cat >>confdefs.h < | |
5037 | #define STACK_DIRECTION $ac_cv_c_stack_direction | | 5037 | #define STACK_DIRECTION $ac_cv_c_stack_direction |
5038 | EOF | | 5038 | EOF |
5039 | | | 5039 | |
5040 | fi | | 5040 | fi |
5041 | | | 5041 | |
5042 | for ac_func in atoll asprintf asnprintf basename devname dirfd dirname \ | | 5042 | for ac_func in atoll asprintf asnprintf basename devname dirfd dirname \ |
5043 | dprintf esetfunc fgetln flock fpurge __fpurge futimes getline \ | | 5043 | dprintf esetfunc fgetln flock fpurge __fpurge futimes getline \ |
5044 | getopt getopt_long group_from_gid gid_from_group \ | | 5044 | getopt getopt_long group_from_gid gid_from_group \ |
5045 | heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \ | | 5045 | heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \ |
5046 | mkdtemp poll pread putc_unlocked pwcache_userdb pwcache_groupdb \ | | 5046 | mkdtemp poll pread putc_unlocked pwcache_userdb pwcache_groupdb \ |
5047 | pwrite raise_default_signal random setenv \ | | 5047 | pwrite raise_default_signal random setenv \ |
5048 | setgroupent setprogname setpassent \ | | 5048 | setgroupent setprogname setpassent \ |
5049 | snprintb_m snprintf strlcat strlcpy strmode \ | | 5049 | snprintb_m snprintf strlcat strlcpy strmode \ |
5050 | strndup strsep strsuftoll strtoll \ | | 5050 | strndup strnlen strsep strsuftoll strtoll \ |
5051 | user_from_uid uid_from_user vasprintf vasnprintf vsnprintf | | 5051 | user_from_uid uid_from_user vasprintf vasnprintf vsnprintf |
5052 | do | | 5052 | do |
5053 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 5053 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5054 | echo "$as_me:5054: checking for $ac_func" >&5 | | 5054 | echo "$as_me:5054: checking for $ac_func" >&5 |
5055 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | | 5055 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
5056 | if eval "test \"\${$as_ac_var+set}\" = set"; then | | 5056 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
5057 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 5057 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5058 | else | | 5058 | else |
5059 | cat >conftest.$ac_ext <<_ACEOF | | 5059 | cat >conftest.$ac_ext <<_ACEOF |
5060 | #line 5060 "configure" | | 5060 | #line 5060 "configure" |
5061 | #include "confdefs.h" | | 5061 | #include "confdefs.h" |
5062 | /* System header to define __stub macros and hopefully few prototypes, | | 5062 | /* System header to define __stub macros and hopefully few prototypes, |
5063 | which can conflict with char $ac_func (); below. */ | | 5063 | which can conflict with char $ac_func (); below. */ |
| @@ -5500,2141 +5500,2196 @@ echo "$as_me:5499: result: $ac_cv_have_d | | | @@ -5500,2141 +5500,2196 @@ echo "$as_me:5499: result: $ac_cv_have_d |
5500 | echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6 | | 5500 | echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6 |
5501 | if test $ac_cv_have_decl_strndup = yes; then | | 5501 | if test $ac_cv_have_decl_strndup = yes; then |
5502 | | | 5502 | |
5503 | cat >>confdefs.h <<EOF | | 5503 | cat >>confdefs.h <<EOF |
5504 | #define HAVE_DECL_STRNDUP 1 | | 5504 | #define HAVE_DECL_STRNDUP 1 |
5505 | EOF | | 5505 | EOF |
5506 | | | 5506 | |
5507 | else | | 5507 | else |
5508 | cat >>confdefs.h <<EOF | | 5508 | cat >>confdefs.h <<EOF |
5509 | #define HAVE_DECL_STRNDUP 0 | | 5509 | #define HAVE_DECL_STRNDUP 0 |
5510 | EOF | | 5510 | EOF |
5511 | | | 5511 | |
5512 | fi | | 5512 | fi |
| | | 5513 | echo "$as_me:5513: checking whether strnlen is declared" >&5 |
| | | 5514 | echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6 |
| | | 5515 | if test "${ac_cv_have_decl_strnlen+set}" = set; then |
| | | 5516 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 5517 | else |
| | | 5518 | cat >conftest.$ac_ext <<_ACEOF |
| | | 5519 | #line 5519 "configure" |
| | | 5520 | #include "confdefs.h" |
| | | 5521 | #include <string.h> |
| | | 5522 | |
| | | 5523 | int |
| | | 5524 | main () |
| | | 5525 | { |
| | | 5526 | #ifndef strnlen |
| | | 5527 | char *p = (char *) strnlen; |
| | | 5528 | #endif |
| | | 5529 | |
| | | 5530 | ; |
| | | 5531 | return 0; |
| | | 5532 | } |
| | | 5533 | _ACEOF |
| | | 5534 | rm -f conftest.$ac_objext |
| | | 5535 | if { (eval echo "$as_me:5535: \"$ac_compile\"") >&5 |
| | | 5536 | (eval $ac_compile) 2>&5 |
| | | 5537 | ac_status=$? |
| | | 5538 | echo "$as_me:5538: \$? = $ac_status" >&5 |
| | | 5539 | (exit $ac_status); } && |
| | | 5540 | { ac_try='test -s conftest.$ac_objext' |
| | | 5541 | { (eval echo "$as_me:5541: \"$ac_try\"") >&5 |
| | | 5542 | (eval $ac_try) 2>&5 |
| | | 5543 | ac_status=$? |
| | | 5544 | echo "$as_me:5544: \$? = $ac_status" >&5 |
| | | 5545 | (exit $ac_status); }; }; then |
| | | 5546 | ac_cv_have_decl_strnlen=yes |
| | | 5547 | else |
| | | 5548 | echo "$as_me: failed program was:" >&5 |
| | | 5549 | cat conftest.$ac_ext >&5 |
| | | 5550 | ac_cv_have_decl_strnlen=no |
| | | 5551 | fi |
| | | 5552 | rm -f conftest.$ac_objext conftest.$ac_ext |
| | | 5553 | fi |
| | | 5554 | echo "$as_me:5554: result: $ac_cv_have_decl_strnlen" >&5 |
| | | 5555 | echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6 |
| | | 5556 | if test $ac_cv_have_decl_strnlen = yes; then |
| | | 5557 | |
| | | 5558 | cat >>confdefs.h <<EOF |
| | | 5559 | #define HAVE_DECL_STRNLEN 1 |
| | | 5560 | EOF |
| | | 5561 | |
| | | 5562 | else |
| | | 5563 | cat >>confdefs.h <<EOF |
| | | 5564 | #define HAVE_DECL_STRNLEN 0 |
| | | 5565 | EOF |
| | | 5566 | |
| | | 5567 | fi |
5513 | | | 5568 | |
5514 | echo "$as_me:5514: checking whether strsuftoll is declared" >&5 | | 5569 | echo "$as_me:5569: checking whether strsuftoll is declared" >&5 |
5515 | echo $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6 | | 5570 | echo $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6 |
5516 | if test "${ac_cv_have_decl_strsuftoll+set}" = set; then | | 5571 | if test "${ac_cv_have_decl_strsuftoll+set}" = set; then |
5517 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 5572 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5518 | else | | 5573 | else |
5519 | cat >conftest.$ac_ext <<_ACEOF | | 5574 | cat >conftest.$ac_ext <<_ACEOF |
5520 | #line 5520 "configure" | | 5575 | #line 5575 "configure" |
5521 | #include "confdefs.h" | | 5576 | #include "confdefs.h" |
5522 | #include <stdlib.h> | | 5577 | #include <stdlib.h> |
5523 | | | 5578 | |
5524 | int | | 5579 | int |
5525 | main () | | 5580 | main () |
5526 | { | | 5581 | { |
5527 | #ifndef strsuftoll | | 5582 | #ifndef strsuftoll |
5528 | char *p = (char *) strsuftoll; | | 5583 | char *p = (char *) strsuftoll; |
5529 | #endif | | 5584 | #endif |
5530 | | | 5585 | |
5531 | ; | | 5586 | ; |
5532 | return 0; | | 5587 | return 0; |
5533 | } | | 5588 | } |
5534 | _ACEOF | | 5589 | _ACEOF |
5535 | rm -f conftest.$ac_objext | | 5590 | rm -f conftest.$ac_objext |
5536 | if { (eval echo "$as_me:5536: \"$ac_compile\"") >&5 | | 5591 | if { (eval echo "$as_me:5591: \"$ac_compile\"") >&5 |
5537 | (eval $ac_compile) 2>&5 | | 5592 | (eval $ac_compile) 2>&5 |
5538 | ac_status=$? | | 5593 | ac_status=$? |
5539 | echo "$as_me:5539: \$? = $ac_status" >&5 | | 5594 | echo "$as_me:5594: \$? = $ac_status" >&5 |
5540 | (exit $ac_status); } && | | 5595 | (exit $ac_status); } && |
5541 | { ac_try='test -s conftest.$ac_objext' | | 5596 | { ac_try='test -s conftest.$ac_objext' |
5542 | { (eval echo "$as_me:5542: \"$ac_try\"") >&5 | | 5597 | { (eval echo "$as_me:5597: \"$ac_try\"") >&5 |
5543 | (eval $ac_try) 2>&5 | | 5598 | (eval $ac_try) 2>&5 |
5544 | ac_status=$? | | 5599 | ac_status=$? |
5545 | echo "$as_me:5545: \$? = $ac_status" >&5 | | 5600 | echo "$as_me:5600: \$? = $ac_status" >&5 |
5546 | (exit $ac_status); }; }; then | | 5601 | (exit $ac_status); }; }; then |
5547 | ac_cv_have_decl_strsuftoll=yes | | 5602 | ac_cv_have_decl_strsuftoll=yes |
5548 | else | | 5603 | else |
5549 | echo "$as_me: failed program was:" >&5 | | 5604 | echo "$as_me: failed program was:" >&5 |
5550 | cat conftest.$ac_ext >&5 | | 5605 | cat conftest.$ac_ext >&5 |
5551 | ac_cv_have_decl_strsuftoll=no | | 5606 | ac_cv_have_decl_strsuftoll=no |
5552 | fi | | 5607 | fi |
5553 | rm -f conftest.$ac_objext conftest.$ac_ext | | 5608 | rm -f conftest.$ac_objext conftest.$ac_ext |
5554 | fi | | 5609 | fi |
5555 | echo "$as_me:5555: result: $ac_cv_have_decl_strsuftoll" >&5 | | 5610 | echo "$as_me:5610: result: $ac_cv_have_decl_strsuftoll" >&5 |
5556 | echo "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6 | | 5611 | echo "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6 |
5557 | if test $ac_cv_have_decl_strsuftoll = yes; then | | 5612 | if test $ac_cv_have_decl_strsuftoll = yes; then |
5558 | | | 5613 | |
5559 | cat >>confdefs.h <<EOF | | 5614 | cat >>confdefs.h <<EOF |
5560 | #define HAVE_DECL_STRSUFTOLL 1 | | 5615 | #define HAVE_DECL_STRSUFTOLL 1 |
5561 | EOF | | 5616 | EOF |
5562 | | | 5617 | |
5563 | else | | 5618 | else |
5564 | cat >>confdefs.h <<EOF | | 5619 | cat >>confdefs.h <<EOF |
5565 | #define HAVE_DECL_STRSUFTOLL 0 | | 5620 | #define HAVE_DECL_STRSUFTOLL 0 |
5566 | EOF | | 5621 | EOF |
5567 | | | 5622 | |
5568 | fi | | 5623 | fi |
5569 | | | 5624 | |
5570 | echo "$as_me:5570: checking whether lchflags is declared" >&5 | | 5625 | echo "$as_me:5625: checking whether lchflags is declared" >&5 |
5571 | echo $ECHO_N "checking whether lchflags is declared... $ECHO_C" >&6 | | 5626 | echo $ECHO_N "checking whether lchflags is declared... $ECHO_C" >&6 |
5572 | if test "${ac_cv_have_decl_lchflags+set}" = set; then | | 5627 | if test "${ac_cv_have_decl_lchflags+set}" = set; then |
5573 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 5628 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5574 | else | | 5629 | else |
5575 | cat >conftest.$ac_ext <<_ACEOF | | 5630 | cat >conftest.$ac_ext <<_ACEOF |
5576 | #line 5576 "configure" | | 5631 | #line 5631 "configure" |
5577 | #include "confdefs.h" | | 5632 | #include "confdefs.h" |
5578 | | | 5633 | |
5579 | #include <sys/stat.h> | | 5634 | #include <sys/stat.h> |
5580 | #include <unistd.h> | | 5635 | #include <unistd.h> |
5581 | | | 5636 | |
5582 | int | | 5637 | int |
5583 | main () | | 5638 | main () |
5584 | { | | 5639 | { |
5585 | #ifndef lchflags | | 5640 | #ifndef lchflags |
5586 | char *p = (char *) lchflags; | | 5641 | char *p = (char *) lchflags; |
5587 | #endif | | 5642 | #endif |
5588 | | | 5643 | |
5589 | ; | | 5644 | ; |
5590 | return 0; | | 5645 | return 0; |
5591 | } | | 5646 | } |
5592 | _ACEOF | | 5647 | _ACEOF |
5593 | rm -f conftest.$ac_objext | | 5648 | rm -f conftest.$ac_objext |
5594 | if { (eval echo "$as_me:5594: \"$ac_compile\"") >&5 | | 5649 | if { (eval echo "$as_me:5649: \"$ac_compile\"") >&5 |
5595 | (eval $ac_compile) 2>&5 | | 5650 | (eval $ac_compile) 2>&5 |
5596 | ac_status=$? | | 5651 | ac_status=$? |
5597 | echo "$as_me:5597: \$? = $ac_status" >&5 | | 5652 | echo "$as_me:5652: \$? = $ac_status" >&5 |
5598 | (exit $ac_status); } && | | 5653 | (exit $ac_status); } && |
5599 | { ac_try='test -s conftest.$ac_objext' | | 5654 | { ac_try='test -s conftest.$ac_objext' |
5600 | { (eval echo "$as_me:5600: \"$ac_try\"") >&5 | | 5655 | { (eval echo "$as_me:5655: \"$ac_try\"") >&5 |
5601 | (eval $ac_try) 2>&5 | | 5656 | (eval $ac_try) 2>&5 |
5602 | ac_status=$? | | 5657 | ac_status=$? |
5603 | echo "$as_me:5603: \$? = $ac_status" >&5 | | 5658 | echo "$as_me:5658: \$? = $ac_status" >&5 |
5604 | (exit $ac_status); }; }; then | | 5659 | (exit $ac_status); }; }; then |
5605 | ac_cv_have_decl_lchflags=yes | | 5660 | ac_cv_have_decl_lchflags=yes |
5606 | else | | 5661 | else |
5607 | echo "$as_me: failed program was:" >&5 | | 5662 | echo "$as_me: failed program was:" >&5 |
5608 | cat conftest.$ac_ext >&5 | | 5663 | cat conftest.$ac_ext >&5 |
5609 | ac_cv_have_decl_lchflags=no | | 5664 | ac_cv_have_decl_lchflags=no |
5610 | fi | | 5665 | fi |
5611 | rm -f conftest.$ac_objext conftest.$ac_ext | | 5666 | rm -f conftest.$ac_objext conftest.$ac_ext |
5612 | fi | | 5667 | fi |
5613 | echo "$as_me:5613: result: $ac_cv_have_decl_lchflags" >&5 | | 5668 | echo "$as_me:5668: result: $ac_cv_have_decl_lchflags" >&5 |
5614 | echo "${ECHO_T}$ac_cv_have_decl_lchflags" >&6 | | 5669 | echo "${ECHO_T}$ac_cv_have_decl_lchflags" >&6 |
5615 | if test $ac_cv_have_decl_lchflags = yes; then | | 5670 | if test $ac_cv_have_decl_lchflags = yes; then |
5616 | | | 5671 | |
5617 | cat >>confdefs.h <<EOF | | 5672 | cat >>confdefs.h <<EOF |
5618 | #define HAVE_DECL_LCHFLAGS 1 | | 5673 | #define HAVE_DECL_LCHFLAGS 1 |
5619 | EOF | | 5674 | EOF |
5620 | | | 5675 | |
5621 | else | | 5676 | else |
5622 | cat >>confdefs.h <<EOF | | 5677 | cat >>confdefs.h <<EOF |
5623 | #define HAVE_DECL_LCHFLAGS 0 | | 5678 | #define HAVE_DECL_LCHFLAGS 0 |
5624 | EOF | | 5679 | EOF |
5625 | | | 5680 | |
5626 | fi | | 5681 | fi |
5627 | echo "$as_me:5627: checking whether lchmod is declared" >&5 | | 5682 | echo "$as_me:5682: checking whether lchmod is declared" >&5 |
5628 | echo $ECHO_N "checking whether lchmod is declared... $ECHO_C" >&6 | | 5683 | echo $ECHO_N "checking whether lchmod is declared... $ECHO_C" >&6 |
5629 | if test "${ac_cv_have_decl_lchmod+set}" = set; then | | 5684 | if test "${ac_cv_have_decl_lchmod+set}" = set; then |
5630 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 5685 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5631 | else | | 5686 | else |
5632 | cat >conftest.$ac_ext <<_ACEOF | | 5687 | cat >conftest.$ac_ext <<_ACEOF |
5633 | #line 5633 "configure" | | 5688 | #line 5688 "configure" |
5634 | #include "confdefs.h" | | 5689 | #include "confdefs.h" |
5635 | | | 5690 | |
5636 | #include <sys/stat.h> | | 5691 | #include <sys/stat.h> |
5637 | #include <unistd.h> | | 5692 | #include <unistd.h> |
5638 | | | 5693 | |
5639 | int | | 5694 | int |
5640 | main () | | 5695 | main () |
5641 | { | | 5696 | { |
5642 | #ifndef lchmod | | 5697 | #ifndef lchmod |
5643 | char *p = (char *) lchmod; | | 5698 | char *p = (char *) lchmod; |
5644 | #endif | | 5699 | #endif |
5645 | | | 5700 | |
5646 | ; | | 5701 | ; |
5647 | return 0; | | 5702 | return 0; |
5648 | } | | 5703 | } |
5649 | _ACEOF | | 5704 | _ACEOF |
5650 | rm -f conftest.$ac_objext | | 5705 | rm -f conftest.$ac_objext |
5651 | if { (eval echo "$as_me:5651: \"$ac_compile\"") >&5 | | 5706 | if { (eval echo "$as_me:5706: \"$ac_compile\"") >&5 |
5652 | (eval $ac_compile) 2>&5 | | 5707 | (eval $ac_compile) 2>&5 |
5653 | ac_status=$? | | 5708 | ac_status=$? |
5654 | echo "$as_me:5654: \$? = $ac_status" >&5 | | 5709 | echo "$as_me:5709: \$? = $ac_status" >&5 |
5655 | (exit $ac_status); } && | | 5710 | (exit $ac_status); } && |
5656 | { ac_try='test -s conftest.$ac_objext' | | 5711 | { ac_try='test -s conftest.$ac_objext' |
5657 | { (eval echo "$as_me:5657: \"$ac_try\"") >&5 | | 5712 | { (eval echo "$as_me:5712: \"$ac_try\"") >&5 |
5658 | (eval $ac_try) 2>&5 | | 5713 | (eval $ac_try) 2>&5 |
5659 | ac_status=$? | | 5714 | ac_status=$? |
5660 | echo "$as_me:5660: \$? = $ac_status" >&5 | | 5715 | echo "$as_me:5715: \$? = $ac_status" >&5 |
5661 | (exit $ac_status); }; }; then | | 5716 | (exit $ac_status); }; }; then |
5662 | ac_cv_have_decl_lchmod=yes | | 5717 | ac_cv_have_decl_lchmod=yes |
5663 | else | | 5718 | else |
5664 | echo "$as_me: failed program was:" >&5 | | 5719 | echo "$as_me: failed program was:" >&5 |
5665 | cat conftest.$ac_ext >&5 | | 5720 | cat conftest.$ac_ext >&5 |
5666 | ac_cv_have_decl_lchmod=no | | 5721 | ac_cv_have_decl_lchmod=no |
5667 | fi | | 5722 | fi |
5668 | rm -f conftest.$ac_objext conftest.$ac_ext | | 5723 | rm -f conftest.$ac_objext conftest.$ac_ext |
5669 | fi | | 5724 | fi |
5670 | echo "$as_me:5670: result: $ac_cv_have_decl_lchmod" >&5 | | 5725 | echo "$as_me:5725: result: $ac_cv_have_decl_lchmod" >&5 |
5671 | echo "${ECHO_T}$ac_cv_have_decl_lchmod" >&6 | | 5726 | echo "${ECHO_T}$ac_cv_have_decl_lchmod" >&6 |
5672 | if test $ac_cv_have_decl_lchmod = yes; then | | 5727 | if test $ac_cv_have_decl_lchmod = yes; then |
5673 | | | 5728 | |
5674 | cat >>confdefs.h <<EOF | | 5729 | cat >>confdefs.h <<EOF |
5675 | #define HAVE_DECL_LCHMOD 1 | | 5730 | #define HAVE_DECL_LCHMOD 1 |
5676 | EOF | | 5731 | EOF |
5677 | | | 5732 | |
5678 | else | | 5733 | else |
5679 | cat >>confdefs.h <<EOF | | 5734 | cat >>confdefs.h <<EOF |
5680 | #define HAVE_DECL_LCHMOD 0 | | 5735 | #define HAVE_DECL_LCHMOD 0 |
5681 | EOF | | 5736 | EOF |
5682 | | | 5737 | |
5683 | fi | | 5738 | fi |
5684 | echo "$as_me:5684: checking whether lchown is declared" >&5 | | 5739 | echo "$as_me:5739: checking whether lchown is declared" >&5 |
5685 | echo $ECHO_N "checking whether lchown is declared... $ECHO_C" >&6 | | 5740 | echo $ECHO_N "checking whether lchown is declared... $ECHO_C" >&6 |
5686 | if test "${ac_cv_have_decl_lchown+set}" = set; then | | 5741 | if test "${ac_cv_have_decl_lchown+set}" = set; then |
5687 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 5742 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5688 | else | | 5743 | else |
5689 | cat >conftest.$ac_ext <<_ACEOF | | 5744 | cat >conftest.$ac_ext <<_ACEOF |
5690 | #line 5690 "configure" | | 5745 | #line 5745 "configure" |
5691 | #include "confdefs.h" | | 5746 | #include "confdefs.h" |
5692 | | | 5747 | |
5693 | #include <sys/stat.h> | | 5748 | #include <sys/stat.h> |
5694 | #include <unistd.h> | | 5749 | #include <unistd.h> |
5695 | | | 5750 | |
5696 | int | | 5751 | int |
5697 | main () | | 5752 | main () |
5698 | { | | 5753 | { |
5699 | #ifndef lchown | | 5754 | #ifndef lchown |
5700 | char *p = (char *) lchown; | | 5755 | char *p = (char *) lchown; |
5701 | #endif | | 5756 | #endif |
5702 | | | 5757 | |
5703 | ; | | 5758 | ; |
5704 | return 0; | | 5759 | return 0; |
5705 | } | | 5760 | } |
5706 | _ACEOF | | 5761 | _ACEOF |
5707 | rm -f conftest.$ac_objext | | 5762 | rm -f conftest.$ac_objext |
5708 | if { (eval echo "$as_me:5708: \"$ac_compile\"") >&5 | | 5763 | if { (eval echo "$as_me:5763: \"$ac_compile\"") >&5 |
5709 | (eval $ac_compile) 2>&5 | | 5764 | (eval $ac_compile) 2>&5 |
5710 | ac_status=$? | | 5765 | ac_status=$? |
5711 | echo "$as_me:5711: \$? = $ac_status" >&5 | | 5766 | echo "$as_me:5766: \$? = $ac_status" >&5 |
5712 | (exit $ac_status); } && | | 5767 | (exit $ac_status); } && |
5713 | { ac_try='test -s conftest.$ac_objext' | | 5768 | { ac_try='test -s conftest.$ac_objext' |
5714 | { (eval echo "$as_me:5714: \"$ac_try\"") >&5 | | 5769 | { (eval echo "$as_me:5769: \"$ac_try\"") >&5 |
5715 | (eval $ac_try) 2>&5 | | 5770 | (eval $ac_try) 2>&5 |
5716 | ac_status=$? | | 5771 | ac_status=$? |
5717 | echo "$as_me:5717: \$? = $ac_status" >&5 | | 5772 | echo "$as_me:5772: \$? = $ac_status" >&5 |
5718 | (exit $ac_status); }; }; then | | 5773 | (exit $ac_status); }; }; then |
5719 | ac_cv_have_decl_lchown=yes | | 5774 | ac_cv_have_decl_lchown=yes |
5720 | else | | 5775 | else |
5721 | echo "$as_me: failed program was:" >&5 | | 5776 | echo "$as_me: failed program was:" >&5 |
5722 | cat conftest.$ac_ext >&5 | | 5777 | cat conftest.$ac_ext >&5 |
5723 | ac_cv_have_decl_lchown=no | | 5778 | ac_cv_have_decl_lchown=no |
5724 | fi | | 5779 | fi |
5725 | rm -f conftest.$ac_objext conftest.$ac_ext | | 5780 | rm -f conftest.$ac_objext conftest.$ac_ext |
5726 | fi | | 5781 | fi |
5727 | echo "$as_me:5727: result: $ac_cv_have_decl_lchown" >&5 | | 5782 | echo "$as_me:5782: result: $ac_cv_have_decl_lchown" >&5 |
5728 | echo "${ECHO_T}$ac_cv_have_decl_lchown" >&6 | | 5783 | echo "${ECHO_T}$ac_cv_have_decl_lchown" >&6 |
5729 | if test $ac_cv_have_decl_lchown = yes; then | | 5784 | if test $ac_cv_have_decl_lchown = yes; then |
5730 | | | 5785 | |
5731 | cat >>confdefs.h <<EOF | | 5786 | cat >>confdefs.h <<EOF |
5732 | #define HAVE_DECL_LCHOWN 1 | | 5787 | #define HAVE_DECL_LCHOWN 1 |
5733 | EOF | | 5788 | EOF |
5734 | | | 5789 | |
5735 | else | | 5790 | else |
5736 | cat >>confdefs.h <<EOF | | 5791 | cat >>confdefs.h <<EOF |
5737 | #define HAVE_DECL_LCHOWN 0 | | 5792 | #define HAVE_DECL_LCHOWN 0 |
5738 | EOF | | 5793 | EOF |
5739 | | | 5794 | |
5740 | fi | | 5795 | fi |
5741 | | | 5796 | |
5742 | echo "$as_me:5742: checking whether htobe16 is declared" >&5 | | 5797 | echo "$as_me:5797: checking whether htobe16 is declared" >&5 |
5743 | echo $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6 | | 5798 | echo $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6 |
5744 | if test "${ac_cv_have_decl_htobe16+set}" = set; then | | 5799 | if test "${ac_cv_have_decl_htobe16+set}" = set; then |
5745 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 5800 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5746 | else | | 5801 | else |
5747 | cat >conftest.$ac_ext <<_ACEOF | | 5802 | cat >conftest.$ac_ext <<_ACEOF |
5748 | #line 5748 "configure" | | 5803 | #line 5803 "configure" |
5749 | #include "confdefs.h" | | 5804 | #include "confdefs.h" |
5750 | #include <sys/types.h> | | 5805 | #include <sys/types.h> |
5751 | | | 5806 | |
5752 | int | | 5807 | int |
5753 | main () | | 5808 | main () |
5754 | { | | 5809 | { |
5755 | #ifndef htobe16 | | 5810 | #ifndef htobe16 |
5756 | char *p = (char *) htobe16; | | 5811 | char *p = (char *) htobe16; |
5757 | #endif | | 5812 | #endif |
5758 | | | 5813 | |
5759 | ; | | 5814 | ; |
5760 | return 0; | | 5815 | return 0; |
5761 | } | | 5816 | } |
5762 | _ACEOF | | 5817 | _ACEOF |
5763 | rm -f conftest.$ac_objext | | 5818 | rm -f conftest.$ac_objext |
5764 | if { (eval echo "$as_me:5764: \"$ac_compile\"") >&5 | | 5819 | if { (eval echo "$as_me:5819: \"$ac_compile\"") >&5 |
5765 | (eval $ac_compile) 2>&5 | | 5820 | (eval $ac_compile) 2>&5 |
5766 | ac_status=$? | | 5821 | ac_status=$? |
5767 | echo "$as_me:5767: \$? = $ac_status" >&5 | | 5822 | echo "$as_me:5822: \$? = $ac_status" >&5 |
5768 | (exit $ac_status); } && | | 5823 | (exit $ac_status); } && |
5769 | { ac_try='test -s conftest.$ac_objext' | | 5824 | { ac_try='test -s conftest.$ac_objext' |
5770 | { (eval echo "$as_me:5770: \"$ac_try\"") >&5 | | 5825 | { (eval echo "$as_me:5825: \"$ac_try\"") >&5 |
5771 | (eval $ac_try) 2>&5 | | 5826 | (eval $ac_try) 2>&5 |
5772 | ac_status=$? | | 5827 | ac_status=$? |
5773 | echo "$as_me:5773: \$? = $ac_status" >&5 | | 5828 | echo "$as_me:5828: \$? = $ac_status" >&5 |
5774 | (exit $ac_status); }; }; then | | 5829 | (exit $ac_status); }; }; then |
5775 | ac_cv_have_decl_htobe16=yes | | 5830 | ac_cv_have_decl_htobe16=yes |
5776 | else | | 5831 | else |
5777 | echo "$as_me: failed program was:" >&5 | | 5832 | echo "$as_me: failed program was:" >&5 |
5778 | cat conftest.$ac_ext >&5 | | 5833 | cat conftest.$ac_ext >&5 |
5779 | ac_cv_have_decl_htobe16=no | | 5834 | ac_cv_have_decl_htobe16=no |
5780 | fi | | 5835 | fi |
5781 | rm -f conftest.$ac_objext conftest.$ac_ext | | 5836 | rm -f conftest.$ac_objext conftest.$ac_ext |
5782 | fi | | 5837 | fi |
5783 | echo "$as_me:5783: result: $ac_cv_have_decl_htobe16" >&5 | | 5838 | echo "$as_me:5838: result: $ac_cv_have_decl_htobe16" >&5 |
5784 | echo "${ECHO_T}$ac_cv_have_decl_htobe16" >&6 | | 5839 | echo "${ECHO_T}$ac_cv_have_decl_htobe16" >&6 |
5785 | if test $ac_cv_have_decl_htobe16 = yes; then | | 5840 | if test $ac_cv_have_decl_htobe16 = yes; then |
5786 | | | 5841 | |
5787 | cat >>confdefs.h <<EOF | | 5842 | cat >>confdefs.h <<EOF |
5788 | #define HAVE_DECL_HTOBE16 1 | | 5843 | #define HAVE_DECL_HTOBE16 1 |
5789 | EOF | | 5844 | EOF |
5790 | | | 5845 | |
5791 | else | | 5846 | else |
5792 | cat >>confdefs.h <<EOF | | 5847 | cat >>confdefs.h <<EOF |
5793 | #define HAVE_DECL_HTOBE16 0 | | 5848 | #define HAVE_DECL_HTOBE16 0 |
5794 | EOF | | 5849 | EOF |
5795 | | | 5850 | |
5796 | fi | | 5851 | fi |
5797 | echo "$as_me:5797: checking whether htobe32 is declared" >&5 | | 5852 | echo "$as_me:5852: checking whether htobe32 is declared" >&5 |
5798 | echo $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6 | | 5853 | echo $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6 |
5799 | if test "${ac_cv_have_decl_htobe32+set}" = set; then | | 5854 | if test "${ac_cv_have_decl_htobe32+set}" = set; then |
5800 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 5855 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5801 | else | | 5856 | else |
5802 | cat >conftest.$ac_ext <<_ACEOF | | 5857 | cat >conftest.$ac_ext <<_ACEOF |
5803 | #line 5803 "configure" | | 5858 | #line 5858 "configure" |
5804 | #include "confdefs.h" | | 5859 | #include "confdefs.h" |
5805 | #include <sys/types.h> | | 5860 | #include <sys/types.h> |
5806 | | | 5861 | |
5807 | int | | 5862 | int |
5808 | main () | | 5863 | main () |
5809 | { | | 5864 | { |
5810 | #ifndef htobe32 | | 5865 | #ifndef htobe32 |
5811 | char *p = (char *) htobe32; | | 5866 | char *p = (char *) htobe32; |
5812 | #endif | | 5867 | #endif |
5813 | | | 5868 | |
5814 | ; | | 5869 | ; |
5815 | return 0; | | 5870 | return 0; |
5816 | } | | 5871 | } |
5817 | _ACEOF | | 5872 | _ACEOF |
5818 | rm -f conftest.$ac_objext | | 5873 | rm -f conftest.$ac_objext |
5819 | if { (eval echo "$as_me:5819: \"$ac_compile\"") >&5 | | 5874 | if { (eval echo "$as_me:5874: \"$ac_compile\"") >&5 |
5820 | (eval $ac_compile) 2>&5 | | 5875 | (eval $ac_compile) 2>&5 |
5821 | ac_status=$? | | 5876 | ac_status=$? |
5822 | echo "$as_me:5822: \$? = $ac_status" >&5 | | 5877 | echo "$as_me:5877: \$? = $ac_status" >&5 |
5823 | (exit $ac_status); } && | | 5878 | (exit $ac_status); } && |
5824 | { ac_try='test -s conftest.$ac_objext' | | 5879 | { ac_try='test -s conftest.$ac_objext' |
5825 | { (eval echo "$as_me:5825: \"$ac_try\"") >&5 | | 5880 | { (eval echo "$as_me:5880: \"$ac_try\"") >&5 |
5826 | (eval $ac_try) 2>&5 | | 5881 | (eval $ac_try) 2>&5 |
5827 | ac_status=$? | | 5882 | ac_status=$? |
5828 | echo "$as_me:5828: \$? = $ac_status" >&5 | | 5883 | echo "$as_me:5883: \$? = $ac_status" >&5 |
5829 | (exit $ac_status); }; }; then | | 5884 | (exit $ac_status); }; }; then |
5830 | ac_cv_have_decl_htobe32=yes | | 5885 | ac_cv_have_decl_htobe32=yes |
5831 | else | | 5886 | else |
5832 | echo "$as_me: failed program was:" >&5 | | 5887 | echo "$as_me: failed program was:" >&5 |
5833 | cat conftest.$ac_ext >&5 | | 5888 | cat conftest.$ac_ext >&5 |
5834 | ac_cv_have_decl_htobe32=no | | 5889 | ac_cv_have_decl_htobe32=no |
5835 | fi | | 5890 | fi |
5836 | rm -f conftest.$ac_objext conftest.$ac_ext | | 5891 | rm -f conftest.$ac_objext conftest.$ac_ext |
5837 | fi | | 5892 | fi |
5838 | echo "$as_me:5838: result: $ac_cv_have_decl_htobe32" >&5 | | 5893 | echo "$as_me:5893: result: $ac_cv_have_decl_htobe32" >&5 |
5839 | echo "${ECHO_T}$ac_cv_have_decl_htobe32" >&6 | | 5894 | echo "${ECHO_T}$ac_cv_have_decl_htobe32" >&6 |
5840 | if test $ac_cv_have_decl_htobe32 = yes; then | | 5895 | if test $ac_cv_have_decl_htobe32 = yes; then |
5841 | | | 5896 | |
5842 | cat >>confdefs.h <<EOF | | 5897 | cat >>confdefs.h <<EOF |
5843 | #define HAVE_DECL_HTOBE32 1 | | 5898 | #define HAVE_DECL_HTOBE32 1 |
5844 | EOF | | 5899 | EOF |
5845 | | | 5900 | |
5846 | else | | 5901 | else |
5847 | cat >>confdefs.h <<EOF | | 5902 | cat >>confdefs.h <<EOF |
5848 | #define HAVE_DECL_HTOBE32 0 | | 5903 | #define HAVE_DECL_HTOBE32 0 |
5849 | EOF | | 5904 | EOF |
5850 | | | 5905 | |
5851 | fi | | 5906 | fi |
5852 | echo "$as_me:5852: checking whether htobe64 is declared" >&5 | | 5907 | echo "$as_me:5907: checking whether htobe64 is declared" >&5 |
5853 | echo $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6 | | 5908 | echo $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6 |
5854 | if test "${ac_cv_have_decl_htobe64+set}" = set; then | | 5909 | if test "${ac_cv_have_decl_htobe64+set}" = set; then |
5855 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 5910 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5856 | else | | 5911 | else |
5857 | cat >conftest.$ac_ext <<_ACEOF | | 5912 | cat >conftest.$ac_ext <<_ACEOF |
5858 | #line 5858 "configure" | | 5913 | #line 5913 "configure" |
5859 | #include "confdefs.h" | | 5914 | #include "confdefs.h" |
5860 | #include <sys/types.h> | | 5915 | #include <sys/types.h> |
5861 | | | 5916 | |
5862 | int | | 5917 | int |
5863 | main () | | 5918 | main () |
5864 | { | | 5919 | { |
5865 | #ifndef htobe64 | | 5920 | #ifndef htobe64 |
5866 | char *p = (char *) htobe64; | | 5921 | char *p = (char *) htobe64; |
5867 | #endif | | 5922 | #endif |
5868 | | | 5923 | |
5869 | ; | | 5924 | ; |
5870 | return 0; | | 5925 | return 0; |
5871 | } | | 5926 | } |
5872 | _ACEOF | | 5927 | _ACEOF |
5873 | rm -f conftest.$ac_objext | | 5928 | rm -f conftest.$ac_objext |
5874 | if { (eval echo "$as_me:5874: \"$ac_compile\"") >&5 | | 5929 | if { (eval echo "$as_me:5929: \"$ac_compile\"") >&5 |
5875 | (eval $ac_compile) 2>&5 | | 5930 | (eval $ac_compile) 2>&5 |
5876 | ac_status=$? | | 5931 | ac_status=$? |
5877 | echo "$as_me:5877: \$? = $ac_status" >&5 | | 5932 | echo "$as_me:5932: \$? = $ac_status" >&5 |
5878 | (exit $ac_status); } && | | 5933 | (exit $ac_status); } && |
5879 | { ac_try='test -s conftest.$ac_objext' | | 5934 | { ac_try='test -s conftest.$ac_objext' |
5880 | { (eval echo "$as_me:5880: \"$ac_try\"") >&5 | | 5935 | { (eval echo "$as_me:5935: \"$ac_try\"") >&5 |
5881 | (eval $ac_try) 2>&5 | | 5936 | (eval $ac_try) 2>&5 |
5882 | ac_status=$? | | 5937 | ac_status=$? |
5883 | echo "$as_me:5883: \$? = $ac_status" >&5 | | 5938 | echo "$as_me:5938: \$? = $ac_status" >&5 |
5884 | (exit $ac_status); }; }; then | | 5939 | (exit $ac_status); }; }; then |
5885 | ac_cv_have_decl_htobe64=yes | | 5940 | ac_cv_have_decl_htobe64=yes |
5886 | else | | 5941 | else |
5887 | echo "$as_me: failed program was:" >&5 | | 5942 | echo "$as_me: failed program was:" >&5 |
5888 | cat conftest.$ac_ext >&5 | | 5943 | cat conftest.$ac_ext >&5 |
5889 | ac_cv_have_decl_htobe64=no | | 5944 | ac_cv_have_decl_htobe64=no |
5890 | fi | | 5945 | fi |
5891 | rm -f conftest.$ac_objext conftest.$ac_ext | | 5946 | rm -f conftest.$ac_objext conftest.$ac_ext |
5892 | fi | | 5947 | fi |
5893 | echo "$as_me:5893: result: $ac_cv_have_decl_htobe64" >&5 | | 5948 | echo "$as_me:5948: result: $ac_cv_have_decl_htobe64" >&5 |
5894 | echo "${ECHO_T}$ac_cv_have_decl_htobe64" >&6 | | 5949 | echo "${ECHO_T}$ac_cv_have_decl_htobe64" >&6 |
5895 | if test $ac_cv_have_decl_htobe64 = yes; then | | 5950 | if test $ac_cv_have_decl_htobe64 = yes; then |
5896 | | | 5951 | |
5897 | cat >>confdefs.h <<EOF | | 5952 | cat >>confdefs.h <<EOF |
5898 | #define HAVE_DECL_HTOBE64 1 | | 5953 | #define HAVE_DECL_HTOBE64 1 |
5899 | EOF | | 5954 | EOF |
5900 | | | 5955 | |
5901 | else | | 5956 | else |
5902 | cat >>confdefs.h <<EOF | | 5957 | cat >>confdefs.h <<EOF |
5903 | #define HAVE_DECL_HTOBE64 0 | | 5958 | #define HAVE_DECL_HTOBE64 0 |
5904 | EOF | | 5959 | EOF |
5905 | | | 5960 | |
5906 | fi | | 5961 | fi |
5907 | echo "$as_me:5907: checking whether htole16 is declared" >&5 | | 5962 | echo "$as_me:5962: checking whether htole16 is declared" >&5 |
5908 | echo $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6 | | 5963 | echo $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6 |
5909 | if test "${ac_cv_have_decl_htole16+set}" = set; then | | 5964 | if test "${ac_cv_have_decl_htole16+set}" = set; then |
5910 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 5965 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5911 | else | | 5966 | else |
5912 | cat >conftest.$ac_ext <<_ACEOF | | 5967 | cat >conftest.$ac_ext <<_ACEOF |
5913 | #line 5913 "configure" | | 5968 | #line 5968 "configure" |
5914 | #include "confdefs.h" | | 5969 | #include "confdefs.h" |
5915 | #include <sys/types.h> | | 5970 | #include <sys/types.h> |
5916 | | | 5971 | |
5917 | int | | 5972 | int |
5918 | main () | | 5973 | main () |
5919 | { | | 5974 | { |
5920 | #ifndef htole16 | | 5975 | #ifndef htole16 |
5921 | char *p = (char *) htole16; | | 5976 | char *p = (char *) htole16; |
5922 | #endif | | 5977 | #endif |
5923 | | | 5978 | |
5924 | ; | | 5979 | ; |
5925 | return 0; | | 5980 | return 0; |
5926 | } | | 5981 | } |
5927 | _ACEOF | | 5982 | _ACEOF |
5928 | rm -f conftest.$ac_objext | | 5983 | rm -f conftest.$ac_objext |
5929 | if { (eval echo "$as_me:5929: \"$ac_compile\"") >&5 | | 5984 | if { (eval echo "$as_me:5984: \"$ac_compile\"") >&5 |
5930 | (eval $ac_compile) 2>&5 | | 5985 | (eval $ac_compile) 2>&5 |
5931 | ac_status=$? | | 5986 | ac_status=$? |
5932 | echo "$as_me:5932: \$? = $ac_status" >&5 | | 5987 | echo "$as_me:5987: \$? = $ac_status" >&5 |
5933 | (exit $ac_status); } && | | 5988 | (exit $ac_status); } && |
5934 | { ac_try='test -s conftest.$ac_objext' | | 5989 | { ac_try='test -s conftest.$ac_objext' |
5935 | { (eval echo "$as_me:5935: \"$ac_try\"") >&5 | | 5990 | { (eval echo "$as_me:5990: \"$ac_try\"") >&5 |
5936 | (eval $ac_try) 2>&5 | | 5991 | (eval $ac_try) 2>&5 |
5937 | ac_status=$? | | 5992 | ac_status=$? |
5938 | echo "$as_me:5938: \$? = $ac_status" >&5 | | 5993 | echo "$as_me:5993: \$? = $ac_status" >&5 |
5939 | (exit $ac_status); }; }; then | | 5994 | (exit $ac_status); }; }; then |
5940 | ac_cv_have_decl_htole16=yes | | 5995 | ac_cv_have_decl_htole16=yes |
5941 | else | | 5996 | else |
5942 | echo "$as_me: failed program was:" >&5 | | 5997 | echo "$as_me: failed program was:" >&5 |
5943 | cat conftest.$ac_ext >&5 | | 5998 | cat conftest.$ac_ext >&5 |
5944 | ac_cv_have_decl_htole16=no | | 5999 | ac_cv_have_decl_htole16=no |
5945 | fi | | 6000 | fi |
5946 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6001 | rm -f conftest.$ac_objext conftest.$ac_ext |
5947 | fi | | 6002 | fi |
5948 | echo "$as_me:5948: result: $ac_cv_have_decl_htole16" >&5 | | 6003 | echo "$as_me:6003: result: $ac_cv_have_decl_htole16" >&5 |
5949 | echo "${ECHO_T}$ac_cv_have_decl_htole16" >&6 | | 6004 | echo "${ECHO_T}$ac_cv_have_decl_htole16" >&6 |
5950 | if test $ac_cv_have_decl_htole16 = yes; then | | 6005 | if test $ac_cv_have_decl_htole16 = yes; then |
5951 | | | 6006 | |
5952 | cat >>confdefs.h <<EOF | | 6007 | cat >>confdefs.h <<EOF |
5953 | #define HAVE_DECL_HTOLE16 1 | | 6008 | #define HAVE_DECL_HTOLE16 1 |
5954 | EOF | | 6009 | EOF |
5955 | | | 6010 | |
5956 | else | | 6011 | else |
5957 | cat >>confdefs.h <<EOF | | 6012 | cat >>confdefs.h <<EOF |
5958 | #define HAVE_DECL_HTOLE16 0 | | 6013 | #define HAVE_DECL_HTOLE16 0 |
5959 | EOF | | 6014 | EOF |
5960 | | | 6015 | |
5961 | fi | | 6016 | fi |
5962 | echo "$as_me:5962: checking whether htole32 is declared" >&5 | | 6017 | echo "$as_me:6017: checking whether htole32 is declared" >&5 |
5963 | echo $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6 | | 6018 | echo $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6 |
5964 | if test "${ac_cv_have_decl_htole32+set}" = set; then | | 6019 | if test "${ac_cv_have_decl_htole32+set}" = set; then |
5965 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6020 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5966 | else | | 6021 | else |
5967 | cat >conftest.$ac_ext <<_ACEOF | | 6022 | cat >conftest.$ac_ext <<_ACEOF |
5968 | #line 5968 "configure" | | 6023 | #line 6023 "configure" |
5969 | #include "confdefs.h" | | 6024 | #include "confdefs.h" |
5970 | #include <sys/types.h> | | 6025 | #include <sys/types.h> |
5971 | | | 6026 | |
5972 | int | | 6027 | int |
5973 | main () | | 6028 | main () |
5974 | { | | 6029 | { |
5975 | #ifndef htole32 | | 6030 | #ifndef htole32 |
5976 | char *p = (char *) htole32; | | 6031 | char *p = (char *) htole32; |
5977 | #endif | | 6032 | #endif |
5978 | | | 6033 | |
5979 | ; | | 6034 | ; |
5980 | return 0; | | 6035 | return 0; |
5981 | } | | 6036 | } |
5982 | _ACEOF | | 6037 | _ACEOF |
5983 | rm -f conftest.$ac_objext | | 6038 | rm -f conftest.$ac_objext |
5984 | if { (eval echo "$as_me:5984: \"$ac_compile\"") >&5 | | 6039 | if { (eval echo "$as_me:6039: \"$ac_compile\"") >&5 |
5985 | (eval $ac_compile) 2>&5 | | 6040 | (eval $ac_compile) 2>&5 |
5986 | ac_status=$? | | 6041 | ac_status=$? |
5987 | echo "$as_me:5987: \$? = $ac_status" >&5 | | 6042 | echo "$as_me:6042: \$? = $ac_status" >&5 |
5988 | (exit $ac_status); } && | | 6043 | (exit $ac_status); } && |
5989 | { ac_try='test -s conftest.$ac_objext' | | 6044 | { ac_try='test -s conftest.$ac_objext' |
5990 | { (eval echo "$as_me:5990: \"$ac_try\"") >&5 | | 6045 | { (eval echo "$as_me:6045: \"$ac_try\"") >&5 |
5991 | (eval $ac_try) 2>&5 | | 6046 | (eval $ac_try) 2>&5 |
5992 | ac_status=$? | | 6047 | ac_status=$? |
5993 | echo "$as_me:5993: \$? = $ac_status" >&5 | | 6048 | echo "$as_me:6048: \$? = $ac_status" >&5 |
5994 | (exit $ac_status); }; }; then | | 6049 | (exit $ac_status); }; }; then |
5995 | ac_cv_have_decl_htole32=yes | | 6050 | ac_cv_have_decl_htole32=yes |
5996 | else | | 6051 | else |
5997 | echo "$as_me: failed program was:" >&5 | | 6052 | echo "$as_me: failed program was:" >&5 |
5998 | cat conftest.$ac_ext >&5 | | 6053 | cat conftest.$ac_ext >&5 |
5999 | ac_cv_have_decl_htole32=no | | 6054 | ac_cv_have_decl_htole32=no |
6000 | fi | | 6055 | fi |
6001 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6056 | rm -f conftest.$ac_objext conftest.$ac_ext |
6002 | fi | | 6057 | fi |
6003 | echo "$as_me:6003: result: $ac_cv_have_decl_htole32" >&5 | | 6058 | echo "$as_me:6058: result: $ac_cv_have_decl_htole32" >&5 |
6004 | echo "${ECHO_T}$ac_cv_have_decl_htole32" >&6 | | 6059 | echo "${ECHO_T}$ac_cv_have_decl_htole32" >&6 |
6005 | if test $ac_cv_have_decl_htole32 = yes; then | | 6060 | if test $ac_cv_have_decl_htole32 = yes; then |
6006 | | | 6061 | |
6007 | cat >>confdefs.h <<EOF | | 6062 | cat >>confdefs.h <<EOF |
6008 | #define HAVE_DECL_HTOLE32 1 | | 6063 | #define HAVE_DECL_HTOLE32 1 |
6009 | EOF | | 6064 | EOF |
6010 | | | 6065 | |
6011 | else | | 6066 | else |
6012 | cat >>confdefs.h <<EOF | | 6067 | cat >>confdefs.h <<EOF |
6013 | #define HAVE_DECL_HTOLE32 0 | | 6068 | #define HAVE_DECL_HTOLE32 0 |
6014 | EOF | | 6069 | EOF |
6015 | | | 6070 | |
6016 | fi | | 6071 | fi |
6017 | echo "$as_me:6017: checking whether htole64 is declared" >&5 | | 6072 | echo "$as_me:6072: checking whether htole64 is declared" >&5 |
6018 | echo $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6 | | 6073 | echo $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6 |
6019 | if test "${ac_cv_have_decl_htole64+set}" = set; then | | 6074 | if test "${ac_cv_have_decl_htole64+set}" = set; then |
6020 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6075 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6021 | else | | 6076 | else |
6022 | cat >conftest.$ac_ext <<_ACEOF | | 6077 | cat >conftest.$ac_ext <<_ACEOF |
6023 | #line 6023 "configure" | | 6078 | #line 6078 "configure" |
6024 | #include "confdefs.h" | | 6079 | #include "confdefs.h" |
6025 | #include <sys/types.h> | | 6080 | #include <sys/types.h> |
6026 | | | 6081 | |
6027 | int | | 6082 | int |
6028 | main () | | 6083 | main () |
6029 | { | | 6084 | { |
6030 | #ifndef htole64 | | 6085 | #ifndef htole64 |
6031 | char *p = (char *) htole64; | | 6086 | char *p = (char *) htole64; |
6032 | #endif | | 6087 | #endif |
6033 | | | 6088 | |
6034 | ; | | 6089 | ; |
6035 | return 0; | | 6090 | return 0; |
6036 | } | | 6091 | } |
6037 | _ACEOF | | 6092 | _ACEOF |
6038 | rm -f conftest.$ac_objext | | 6093 | rm -f conftest.$ac_objext |
6039 | if { (eval echo "$as_me:6039: \"$ac_compile\"") >&5 | | 6094 | if { (eval echo "$as_me:6094: \"$ac_compile\"") >&5 |
6040 | (eval $ac_compile) 2>&5 | | 6095 | (eval $ac_compile) 2>&5 |
6041 | ac_status=$? | | 6096 | ac_status=$? |
6042 | echo "$as_me:6042: \$? = $ac_status" >&5 | | 6097 | echo "$as_me:6097: \$? = $ac_status" >&5 |
6043 | (exit $ac_status); } && | | 6098 | (exit $ac_status); } && |
6044 | { ac_try='test -s conftest.$ac_objext' | | 6099 | { ac_try='test -s conftest.$ac_objext' |
6045 | { (eval echo "$as_me:6045: \"$ac_try\"") >&5 | | 6100 | { (eval echo "$as_me:6100: \"$ac_try\"") >&5 |
6046 | (eval $ac_try) 2>&5 | | 6101 | (eval $ac_try) 2>&5 |
6047 | ac_status=$? | | 6102 | ac_status=$? |
6048 | echo "$as_me:6048: \$? = $ac_status" >&5 | | 6103 | echo "$as_me:6103: \$? = $ac_status" >&5 |
6049 | (exit $ac_status); }; }; then | | 6104 | (exit $ac_status); }; }; then |
6050 | ac_cv_have_decl_htole64=yes | | 6105 | ac_cv_have_decl_htole64=yes |
6051 | else | | 6106 | else |
6052 | echo "$as_me: failed program was:" >&5 | | 6107 | echo "$as_me: failed program was:" >&5 |
6053 | cat conftest.$ac_ext >&5 | | 6108 | cat conftest.$ac_ext >&5 |
6054 | ac_cv_have_decl_htole64=no | | 6109 | ac_cv_have_decl_htole64=no |
6055 | fi | | 6110 | fi |
6056 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6111 | rm -f conftest.$ac_objext conftest.$ac_ext |
6057 | fi | | 6112 | fi |
6058 | echo "$as_me:6058: result: $ac_cv_have_decl_htole64" >&5 | | 6113 | echo "$as_me:6113: result: $ac_cv_have_decl_htole64" >&5 |
6059 | echo "${ECHO_T}$ac_cv_have_decl_htole64" >&6 | | 6114 | echo "${ECHO_T}$ac_cv_have_decl_htole64" >&6 |
6060 | if test $ac_cv_have_decl_htole64 = yes; then | | 6115 | if test $ac_cv_have_decl_htole64 = yes; then |
6061 | | | 6116 | |
6062 | cat >>confdefs.h <<EOF | | 6117 | cat >>confdefs.h <<EOF |
6063 | #define HAVE_DECL_HTOLE64 1 | | 6118 | #define HAVE_DECL_HTOLE64 1 |
6064 | EOF | | 6119 | EOF |
6065 | | | 6120 | |
6066 | else | | 6121 | else |
6067 | cat >>confdefs.h <<EOF | | 6122 | cat >>confdefs.h <<EOF |
6068 | #define HAVE_DECL_HTOLE64 0 | | 6123 | #define HAVE_DECL_HTOLE64 0 |
6069 | EOF | | 6124 | EOF |
6070 | | | 6125 | |
6071 | fi | | 6126 | fi |
6072 | echo "$as_me:6072: checking whether be16toh is declared" >&5 | | 6127 | echo "$as_me:6127: checking whether be16toh is declared" >&5 |
6073 | echo $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6 | | 6128 | echo $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6 |
6074 | if test "${ac_cv_have_decl_be16toh+set}" = set; then | | 6129 | if test "${ac_cv_have_decl_be16toh+set}" = set; then |
6075 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6130 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6076 | else | | 6131 | else |
6077 | cat >conftest.$ac_ext <<_ACEOF | | 6132 | cat >conftest.$ac_ext <<_ACEOF |
6078 | #line 6078 "configure" | | 6133 | #line 6133 "configure" |
6079 | #include "confdefs.h" | | 6134 | #include "confdefs.h" |
6080 | #include <sys/types.h> | | 6135 | #include <sys/types.h> |
6081 | | | 6136 | |
6082 | int | | 6137 | int |
6083 | main () | | 6138 | main () |
6084 | { | | 6139 | { |
6085 | #ifndef be16toh | | 6140 | #ifndef be16toh |
6086 | char *p = (char *) be16toh; | | 6141 | char *p = (char *) be16toh; |
6087 | #endif | | 6142 | #endif |
6088 | | | 6143 | |
6089 | ; | | 6144 | ; |
6090 | return 0; | | 6145 | return 0; |
6091 | } | | 6146 | } |
6092 | _ACEOF | | 6147 | _ACEOF |
6093 | rm -f conftest.$ac_objext | | 6148 | rm -f conftest.$ac_objext |
6094 | if { (eval echo "$as_me:6094: \"$ac_compile\"") >&5 | | 6149 | if { (eval echo "$as_me:6149: \"$ac_compile\"") >&5 |
6095 | (eval $ac_compile) 2>&5 | | 6150 | (eval $ac_compile) 2>&5 |
6096 | ac_status=$? | | 6151 | ac_status=$? |
6097 | echo "$as_me:6097: \$? = $ac_status" >&5 | | 6152 | echo "$as_me:6152: \$? = $ac_status" >&5 |
6098 | (exit $ac_status); } && | | 6153 | (exit $ac_status); } && |
6099 | { ac_try='test -s conftest.$ac_objext' | | 6154 | { ac_try='test -s conftest.$ac_objext' |
6100 | { (eval echo "$as_me:6100: \"$ac_try\"") >&5 | | 6155 | { (eval echo "$as_me:6155: \"$ac_try\"") >&5 |
6101 | (eval $ac_try) 2>&5 | | 6156 | (eval $ac_try) 2>&5 |
6102 | ac_status=$? | | 6157 | ac_status=$? |
6103 | echo "$as_me:6103: \$? = $ac_status" >&5 | | 6158 | echo "$as_me:6158: \$? = $ac_status" >&5 |
6104 | (exit $ac_status); }; }; then | | 6159 | (exit $ac_status); }; }; then |
6105 | ac_cv_have_decl_be16toh=yes | | 6160 | ac_cv_have_decl_be16toh=yes |
6106 | else | | 6161 | else |
6107 | echo "$as_me: failed program was:" >&5 | | 6162 | echo "$as_me: failed program was:" >&5 |
6108 | cat conftest.$ac_ext >&5 | | 6163 | cat conftest.$ac_ext >&5 |
6109 | ac_cv_have_decl_be16toh=no | | 6164 | ac_cv_have_decl_be16toh=no |
6110 | fi | | 6165 | fi |
6111 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6166 | rm -f conftest.$ac_objext conftest.$ac_ext |
6112 | fi | | 6167 | fi |
6113 | echo "$as_me:6113: result: $ac_cv_have_decl_be16toh" >&5 | | 6168 | echo "$as_me:6168: result: $ac_cv_have_decl_be16toh" >&5 |
6114 | echo "${ECHO_T}$ac_cv_have_decl_be16toh" >&6 | | 6169 | echo "${ECHO_T}$ac_cv_have_decl_be16toh" >&6 |
6115 | if test $ac_cv_have_decl_be16toh = yes; then | | 6170 | if test $ac_cv_have_decl_be16toh = yes; then |
6116 | | | 6171 | |
6117 | cat >>confdefs.h <<EOF | | 6172 | cat >>confdefs.h <<EOF |
6118 | #define HAVE_DECL_BE16TOH 1 | | 6173 | #define HAVE_DECL_BE16TOH 1 |
6119 | EOF | | 6174 | EOF |
6120 | | | 6175 | |
6121 | else | | 6176 | else |
6122 | cat >>confdefs.h <<EOF | | 6177 | cat >>confdefs.h <<EOF |
6123 | #define HAVE_DECL_BE16TOH 0 | | 6178 | #define HAVE_DECL_BE16TOH 0 |
6124 | EOF | | 6179 | EOF |
6125 | | | 6180 | |
6126 | fi | | 6181 | fi |
6127 | echo "$as_me:6127: checking whether be32toh is declared" >&5 | | 6182 | echo "$as_me:6182: checking whether be32toh is declared" >&5 |
6128 | echo $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6 | | 6183 | echo $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6 |
6129 | if test "${ac_cv_have_decl_be32toh+set}" = set; then | | 6184 | if test "${ac_cv_have_decl_be32toh+set}" = set; then |
6130 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6185 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6131 | else | | 6186 | else |
6132 | cat >conftest.$ac_ext <<_ACEOF | | 6187 | cat >conftest.$ac_ext <<_ACEOF |
6133 | #line 6133 "configure" | | 6188 | #line 6188 "configure" |
6134 | #include "confdefs.h" | | 6189 | #include "confdefs.h" |
6135 | #include <sys/types.h> | | 6190 | #include <sys/types.h> |
6136 | | | 6191 | |
6137 | int | | 6192 | int |
6138 | main () | | 6193 | main () |
6139 | { | | 6194 | { |
6140 | #ifndef be32toh | | 6195 | #ifndef be32toh |
6141 | char *p = (char *) be32toh; | | 6196 | char *p = (char *) be32toh; |
6142 | #endif | | 6197 | #endif |
6143 | | | 6198 | |
6144 | ; | | 6199 | ; |
6145 | return 0; | | 6200 | return 0; |
6146 | } | | 6201 | } |
6147 | _ACEOF | | 6202 | _ACEOF |
6148 | rm -f conftest.$ac_objext | | 6203 | rm -f conftest.$ac_objext |
6149 | if { (eval echo "$as_me:6149: \"$ac_compile\"") >&5 | | 6204 | if { (eval echo "$as_me:6204: \"$ac_compile\"") >&5 |
6150 | (eval $ac_compile) 2>&5 | | 6205 | (eval $ac_compile) 2>&5 |
6151 | ac_status=$? | | 6206 | ac_status=$? |
6152 | echo "$as_me:6152: \$? = $ac_status" >&5 | | 6207 | echo "$as_me:6207: \$? = $ac_status" >&5 |
6153 | (exit $ac_status); } && | | 6208 | (exit $ac_status); } && |
6154 | { ac_try='test -s conftest.$ac_objext' | | 6209 | { ac_try='test -s conftest.$ac_objext' |
6155 | { (eval echo "$as_me:6155: \"$ac_try\"") >&5 | | 6210 | { (eval echo "$as_me:6210: \"$ac_try\"") >&5 |
6156 | (eval $ac_try) 2>&5 | | 6211 | (eval $ac_try) 2>&5 |
6157 | ac_status=$? | | 6212 | ac_status=$? |
6158 | echo "$as_me:6158: \$? = $ac_status" >&5 | | 6213 | echo "$as_me:6213: \$? = $ac_status" >&5 |
6159 | (exit $ac_status); }; }; then | | 6214 | (exit $ac_status); }; }; then |
6160 | ac_cv_have_decl_be32toh=yes | | 6215 | ac_cv_have_decl_be32toh=yes |
6161 | else | | 6216 | else |
6162 | echo "$as_me: failed program was:" >&5 | | 6217 | echo "$as_me: failed program was:" >&5 |
6163 | cat conftest.$ac_ext >&5 | | 6218 | cat conftest.$ac_ext >&5 |
6164 | ac_cv_have_decl_be32toh=no | | 6219 | ac_cv_have_decl_be32toh=no |
6165 | fi | | 6220 | fi |
6166 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6221 | rm -f conftest.$ac_objext conftest.$ac_ext |
6167 | fi | | 6222 | fi |
6168 | echo "$as_me:6168: result: $ac_cv_have_decl_be32toh" >&5 | | 6223 | echo "$as_me:6223: result: $ac_cv_have_decl_be32toh" >&5 |
6169 | echo "${ECHO_T}$ac_cv_have_decl_be32toh" >&6 | | 6224 | echo "${ECHO_T}$ac_cv_have_decl_be32toh" >&6 |
6170 | if test $ac_cv_have_decl_be32toh = yes; then | | 6225 | if test $ac_cv_have_decl_be32toh = yes; then |
6171 | | | 6226 | |
6172 | cat >>confdefs.h <<EOF | | 6227 | cat >>confdefs.h <<EOF |
6173 | #define HAVE_DECL_BE32TOH 1 | | 6228 | #define HAVE_DECL_BE32TOH 1 |
6174 | EOF | | 6229 | EOF |
6175 | | | 6230 | |
6176 | else | | 6231 | else |
6177 | cat >>confdefs.h <<EOF | | 6232 | cat >>confdefs.h <<EOF |
6178 | #define HAVE_DECL_BE32TOH 0 | | 6233 | #define HAVE_DECL_BE32TOH 0 |
6179 | EOF | | 6234 | EOF |
6180 | | | 6235 | |
6181 | fi | | 6236 | fi |
6182 | echo "$as_me:6182: checking whether be64toh is declared" >&5 | | 6237 | echo "$as_me:6237: checking whether be64toh is declared" >&5 |
6183 | echo $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6 | | 6238 | echo $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6 |
6184 | if test "${ac_cv_have_decl_be64toh+set}" = set; then | | 6239 | if test "${ac_cv_have_decl_be64toh+set}" = set; then |
6185 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6240 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6186 | else | | 6241 | else |
6187 | cat >conftest.$ac_ext <<_ACEOF | | 6242 | cat >conftest.$ac_ext <<_ACEOF |
6188 | #line 6188 "configure" | | 6243 | #line 6243 "configure" |
6189 | #include "confdefs.h" | | 6244 | #include "confdefs.h" |
6190 | #include <sys/types.h> | | 6245 | #include <sys/types.h> |
6191 | | | 6246 | |
6192 | int | | 6247 | int |
6193 | main () | | 6248 | main () |
6194 | { | | 6249 | { |
6195 | #ifndef be64toh | | 6250 | #ifndef be64toh |
6196 | char *p = (char *) be64toh; | | 6251 | char *p = (char *) be64toh; |
6197 | #endif | | 6252 | #endif |
6198 | | | 6253 | |
6199 | ; | | 6254 | ; |
6200 | return 0; | | 6255 | return 0; |
6201 | } | | 6256 | } |
6202 | _ACEOF | | 6257 | _ACEOF |
6203 | rm -f conftest.$ac_objext | | 6258 | rm -f conftest.$ac_objext |
6204 | if { (eval echo "$as_me:6204: \"$ac_compile\"") >&5 | | 6259 | if { (eval echo "$as_me:6259: \"$ac_compile\"") >&5 |
6205 | (eval $ac_compile) 2>&5 | | 6260 | (eval $ac_compile) 2>&5 |
6206 | ac_status=$? | | 6261 | ac_status=$? |
6207 | echo "$as_me:6207: \$? = $ac_status" >&5 | | 6262 | echo "$as_me:6262: \$? = $ac_status" >&5 |
6208 | (exit $ac_status); } && | | 6263 | (exit $ac_status); } && |
6209 | { ac_try='test -s conftest.$ac_objext' | | 6264 | { ac_try='test -s conftest.$ac_objext' |
6210 | { (eval echo "$as_me:6210: \"$ac_try\"") >&5 | | 6265 | { (eval echo "$as_me:6265: \"$ac_try\"") >&5 |
6211 | (eval $ac_try) 2>&5 | | 6266 | (eval $ac_try) 2>&5 |
6212 | ac_status=$? | | 6267 | ac_status=$? |
6213 | echo "$as_me:6213: \$? = $ac_status" >&5 | | 6268 | echo "$as_me:6268: \$? = $ac_status" >&5 |
6214 | (exit $ac_status); }; }; then | | 6269 | (exit $ac_status); }; }; then |
6215 | ac_cv_have_decl_be64toh=yes | | 6270 | ac_cv_have_decl_be64toh=yes |
6216 | else | | 6271 | else |
6217 | echo "$as_me: failed program was:" >&5 | | 6272 | echo "$as_me: failed program was:" >&5 |
6218 | cat conftest.$ac_ext >&5 | | 6273 | cat conftest.$ac_ext >&5 |
6219 | ac_cv_have_decl_be64toh=no | | 6274 | ac_cv_have_decl_be64toh=no |
6220 | fi | | 6275 | fi |
6221 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6276 | rm -f conftest.$ac_objext conftest.$ac_ext |
6222 | fi | | 6277 | fi |
6223 | echo "$as_me:6223: result: $ac_cv_have_decl_be64toh" >&5 | | 6278 | echo "$as_me:6278: result: $ac_cv_have_decl_be64toh" >&5 |
6224 | echo "${ECHO_T}$ac_cv_have_decl_be64toh" >&6 | | 6279 | echo "${ECHO_T}$ac_cv_have_decl_be64toh" >&6 |
6225 | if test $ac_cv_have_decl_be64toh = yes; then | | 6280 | if test $ac_cv_have_decl_be64toh = yes; then |
6226 | | | 6281 | |
6227 | cat >>confdefs.h <<EOF | | 6282 | cat >>confdefs.h <<EOF |
6228 | #define HAVE_DECL_BE64TOH 1 | | 6283 | #define HAVE_DECL_BE64TOH 1 |
6229 | EOF | | 6284 | EOF |
6230 | | | 6285 | |
6231 | else | | 6286 | else |
6232 | cat >>confdefs.h <<EOF | | 6287 | cat >>confdefs.h <<EOF |
6233 | #define HAVE_DECL_BE64TOH 0 | | 6288 | #define HAVE_DECL_BE64TOH 0 |
6234 | EOF | | 6289 | EOF |
6235 | | | 6290 | |
6236 | fi | | 6291 | fi |
6237 | echo "$as_me:6237: checking whether le16toh is declared" >&5 | | 6292 | echo "$as_me:6292: checking whether le16toh is declared" >&5 |
6238 | echo $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6 | | 6293 | echo $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6 |
6239 | if test "${ac_cv_have_decl_le16toh+set}" = set; then | | 6294 | if test "${ac_cv_have_decl_le16toh+set}" = set; then |
6240 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6295 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6241 | else | | 6296 | else |
6242 | cat >conftest.$ac_ext <<_ACEOF | | 6297 | cat >conftest.$ac_ext <<_ACEOF |
6243 | #line 6243 "configure" | | 6298 | #line 6298 "configure" |
6244 | #include "confdefs.h" | | 6299 | #include "confdefs.h" |
6245 | #include <sys/types.h> | | 6300 | #include <sys/types.h> |
6246 | | | 6301 | |
6247 | int | | 6302 | int |
6248 | main () | | 6303 | main () |
6249 | { | | 6304 | { |
6250 | #ifndef le16toh | | 6305 | #ifndef le16toh |
6251 | char *p = (char *) le16toh; | | 6306 | char *p = (char *) le16toh; |
6252 | #endif | | 6307 | #endif |
6253 | | | 6308 | |
6254 | ; | | 6309 | ; |
6255 | return 0; | | 6310 | return 0; |
6256 | } | | 6311 | } |
6257 | _ACEOF | | 6312 | _ACEOF |
6258 | rm -f conftest.$ac_objext | | 6313 | rm -f conftest.$ac_objext |
6259 | if { (eval echo "$as_me:6259: \"$ac_compile\"") >&5 | | 6314 | if { (eval echo "$as_me:6314: \"$ac_compile\"") >&5 |
6260 | (eval $ac_compile) 2>&5 | | 6315 | (eval $ac_compile) 2>&5 |
6261 | ac_status=$? | | 6316 | ac_status=$? |
6262 | echo "$as_me:6262: \$? = $ac_status" >&5 | | 6317 | echo "$as_me:6317: \$? = $ac_status" >&5 |
6263 | (exit $ac_status); } && | | 6318 | (exit $ac_status); } && |
6264 | { ac_try='test -s conftest.$ac_objext' | | 6319 | { ac_try='test -s conftest.$ac_objext' |
6265 | { (eval echo "$as_me:6265: \"$ac_try\"") >&5 | | 6320 | { (eval echo "$as_me:6320: \"$ac_try\"") >&5 |
6266 | (eval $ac_try) 2>&5 | | 6321 | (eval $ac_try) 2>&5 |
6267 | ac_status=$? | | 6322 | ac_status=$? |
6268 | echo "$as_me:6268: \$? = $ac_status" >&5 | | 6323 | echo "$as_me:6323: \$? = $ac_status" >&5 |
6269 | (exit $ac_status); }; }; then | | 6324 | (exit $ac_status); }; }; then |
6270 | ac_cv_have_decl_le16toh=yes | | 6325 | ac_cv_have_decl_le16toh=yes |
6271 | else | | 6326 | else |
6272 | echo "$as_me: failed program was:" >&5 | | 6327 | echo "$as_me: failed program was:" >&5 |
6273 | cat conftest.$ac_ext >&5 | | 6328 | cat conftest.$ac_ext >&5 |
6274 | ac_cv_have_decl_le16toh=no | | 6329 | ac_cv_have_decl_le16toh=no |
6275 | fi | | 6330 | fi |
6276 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6331 | rm -f conftest.$ac_objext conftest.$ac_ext |
6277 | fi | | 6332 | fi |
6278 | echo "$as_me:6278: result: $ac_cv_have_decl_le16toh" >&5 | | 6333 | echo "$as_me:6333: result: $ac_cv_have_decl_le16toh" >&5 |
6279 | echo "${ECHO_T}$ac_cv_have_decl_le16toh" >&6 | | 6334 | echo "${ECHO_T}$ac_cv_have_decl_le16toh" >&6 |
6280 | if test $ac_cv_have_decl_le16toh = yes; then | | 6335 | if test $ac_cv_have_decl_le16toh = yes; then |
6281 | | | 6336 | |
6282 | cat >>confdefs.h <<EOF | | 6337 | cat >>confdefs.h <<EOF |
6283 | #define HAVE_DECL_LE16TOH 1 | | 6338 | #define HAVE_DECL_LE16TOH 1 |
6284 | EOF | | 6339 | EOF |
6285 | | | 6340 | |
6286 | else | | 6341 | else |
6287 | cat >>confdefs.h <<EOF | | 6342 | cat >>confdefs.h <<EOF |
6288 | #define HAVE_DECL_LE16TOH 0 | | 6343 | #define HAVE_DECL_LE16TOH 0 |
6289 | EOF | | 6344 | EOF |
6290 | | | 6345 | |
6291 | fi | | 6346 | fi |
6292 | echo "$as_me:6292: checking whether le32toh is declared" >&5 | | 6347 | echo "$as_me:6347: checking whether le32toh is declared" >&5 |
6293 | echo $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6 | | 6348 | echo $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6 |
6294 | if test "${ac_cv_have_decl_le32toh+set}" = set; then | | 6349 | if test "${ac_cv_have_decl_le32toh+set}" = set; then |
6295 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6350 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6296 | else | | 6351 | else |
6297 | cat >conftest.$ac_ext <<_ACEOF | | 6352 | cat >conftest.$ac_ext <<_ACEOF |
6298 | #line 6298 "configure" | | 6353 | #line 6353 "configure" |
6299 | #include "confdefs.h" | | 6354 | #include "confdefs.h" |
6300 | #include <sys/types.h> | | 6355 | #include <sys/types.h> |
6301 | | | 6356 | |
6302 | int | | 6357 | int |
6303 | main () | | 6358 | main () |
6304 | { | | 6359 | { |
6305 | #ifndef le32toh | | 6360 | #ifndef le32toh |
6306 | char *p = (char *) le32toh; | | 6361 | char *p = (char *) le32toh; |
6307 | #endif | | 6362 | #endif |
6308 | | | 6363 | |
6309 | ; | | 6364 | ; |
6310 | return 0; | | 6365 | return 0; |
6311 | } | | 6366 | } |
6312 | _ACEOF | | 6367 | _ACEOF |
6313 | rm -f conftest.$ac_objext | | 6368 | rm -f conftest.$ac_objext |
6314 | if { (eval echo "$as_me:6314: \"$ac_compile\"") >&5 | | 6369 | if { (eval echo "$as_me:6369: \"$ac_compile\"") >&5 |
6315 | (eval $ac_compile) 2>&5 | | 6370 | (eval $ac_compile) 2>&5 |
6316 | ac_status=$? | | 6371 | ac_status=$? |
6317 | echo "$as_me:6317: \$? = $ac_status" >&5 | | 6372 | echo "$as_me:6372: \$? = $ac_status" >&5 |
6318 | (exit $ac_status); } && | | 6373 | (exit $ac_status); } && |
6319 | { ac_try='test -s conftest.$ac_objext' | | 6374 | { ac_try='test -s conftest.$ac_objext' |
6320 | { (eval echo "$as_me:6320: \"$ac_try\"") >&5 | | 6375 | { (eval echo "$as_me:6375: \"$ac_try\"") >&5 |
6321 | (eval $ac_try) 2>&5 | | 6376 | (eval $ac_try) 2>&5 |
6322 | ac_status=$? | | 6377 | ac_status=$? |
6323 | echo "$as_me:6323: \$? = $ac_status" >&5 | | 6378 | echo "$as_me:6378: \$? = $ac_status" >&5 |
6324 | (exit $ac_status); }; }; then | | 6379 | (exit $ac_status); }; }; then |
6325 | ac_cv_have_decl_le32toh=yes | | 6380 | ac_cv_have_decl_le32toh=yes |
6326 | else | | 6381 | else |
6327 | echo "$as_me: failed program was:" >&5 | | 6382 | echo "$as_me: failed program was:" >&5 |
6328 | cat conftest.$ac_ext >&5 | | 6383 | cat conftest.$ac_ext >&5 |
6329 | ac_cv_have_decl_le32toh=no | | 6384 | ac_cv_have_decl_le32toh=no |
6330 | fi | | 6385 | fi |
6331 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6386 | rm -f conftest.$ac_objext conftest.$ac_ext |
6332 | fi | | 6387 | fi |
6333 | echo "$as_me:6333: result: $ac_cv_have_decl_le32toh" >&5 | | 6388 | echo "$as_me:6388: result: $ac_cv_have_decl_le32toh" >&5 |
6334 | echo "${ECHO_T}$ac_cv_have_decl_le32toh" >&6 | | 6389 | echo "${ECHO_T}$ac_cv_have_decl_le32toh" >&6 |
6335 | if test $ac_cv_have_decl_le32toh = yes; then | | 6390 | if test $ac_cv_have_decl_le32toh = yes; then |
6336 | | | 6391 | |
6337 | cat >>confdefs.h <<EOF | | 6392 | cat >>confdefs.h <<EOF |
6338 | #define HAVE_DECL_LE32TOH 1 | | 6393 | #define HAVE_DECL_LE32TOH 1 |
6339 | EOF | | 6394 | EOF |
6340 | | | 6395 | |
6341 | else | | 6396 | else |
6342 | cat >>confdefs.h <<EOF | | 6397 | cat >>confdefs.h <<EOF |
6343 | #define HAVE_DECL_LE32TOH 0 | | 6398 | #define HAVE_DECL_LE32TOH 0 |
6344 | EOF | | 6399 | EOF |
6345 | | | 6400 | |
6346 | fi | | 6401 | fi |
6347 | echo "$as_me:6347: checking whether le64toh is declared" >&5 | | 6402 | echo "$as_me:6402: checking whether le64toh is declared" >&5 |
6348 | echo $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6 | | 6403 | echo $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6 |
6349 | if test "${ac_cv_have_decl_le64toh+set}" = set; then | | 6404 | if test "${ac_cv_have_decl_le64toh+set}" = set; then |
6350 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6405 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6351 | else | | 6406 | else |
6352 | cat >conftest.$ac_ext <<_ACEOF | | 6407 | cat >conftest.$ac_ext <<_ACEOF |
6353 | #line 6353 "configure" | | 6408 | #line 6408 "configure" |
6354 | #include "confdefs.h" | | 6409 | #include "confdefs.h" |
6355 | #include <sys/types.h> | | 6410 | #include <sys/types.h> |
6356 | | | 6411 | |
6357 | int | | 6412 | int |
6358 | main () | | 6413 | main () |
6359 | { | | 6414 | { |
6360 | #ifndef le64toh | | 6415 | #ifndef le64toh |
6361 | char *p = (char *) le64toh; | | 6416 | char *p = (char *) le64toh; |
6362 | #endif | | 6417 | #endif |
6363 | | | 6418 | |
6364 | ; | | 6419 | ; |
6365 | return 0; | | 6420 | return 0; |
6366 | } | | 6421 | } |
6367 | _ACEOF | | 6422 | _ACEOF |
6368 | rm -f conftest.$ac_objext | | 6423 | rm -f conftest.$ac_objext |
6369 | if { (eval echo "$as_me:6369: \"$ac_compile\"") >&5 | | 6424 | if { (eval echo "$as_me:6424: \"$ac_compile\"") >&5 |
6370 | (eval $ac_compile) 2>&5 | | 6425 | (eval $ac_compile) 2>&5 |
6371 | ac_status=$? | | 6426 | ac_status=$? |
6372 | echo "$as_me:6372: \$? = $ac_status" >&5 | | 6427 | echo "$as_me:6427: \$? = $ac_status" >&5 |
6373 | (exit $ac_status); } && | | 6428 | (exit $ac_status); } && |
6374 | { ac_try='test -s conftest.$ac_objext' | | 6429 | { ac_try='test -s conftest.$ac_objext' |
6375 | { (eval echo "$as_me:6375: \"$ac_try\"") >&5 | | 6430 | { (eval echo "$as_me:6430: \"$ac_try\"") >&5 |
6376 | (eval $ac_try) 2>&5 | | 6431 | (eval $ac_try) 2>&5 |
6377 | ac_status=$? | | 6432 | ac_status=$? |
6378 | echo "$as_me:6378: \$? = $ac_status" >&5 | | 6433 | echo "$as_me:6433: \$? = $ac_status" >&5 |
6379 | (exit $ac_status); }; }; then | | 6434 | (exit $ac_status); }; }; then |
6380 | ac_cv_have_decl_le64toh=yes | | 6435 | ac_cv_have_decl_le64toh=yes |
6381 | else | | 6436 | else |
6382 | echo "$as_me: failed program was:" >&5 | | 6437 | echo "$as_me: failed program was:" >&5 |
6383 | cat conftest.$ac_ext >&5 | | 6438 | cat conftest.$ac_ext >&5 |
6384 | ac_cv_have_decl_le64toh=no | | 6439 | ac_cv_have_decl_le64toh=no |
6385 | fi | | 6440 | fi |
6386 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6441 | rm -f conftest.$ac_objext conftest.$ac_ext |
6387 | fi | | 6442 | fi |
6388 | echo "$as_me:6388: result: $ac_cv_have_decl_le64toh" >&5 | | 6443 | echo "$as_me:6443: result: $ac_cv_have_decl_le64toh" >&5 |
6389 | echo "${ECHO_T}$ac_cv_have_decl_le64toh" >&6 | | 6444 | echo "${ECHO_T}$ac_cv_have_decl_le64toh" >&6 |
6390 | if test $ac_cv_have_decl_le64toh = yes; then | | 6445 | if test $ac_cv_have_decl_le64toh = yes; then |
6391 | | | 6446 | |
6392 | cat >>confdefs.h <<EOF | | 6447 | cat >>confdefs.h <<EOF |
6393 | #define HAVE_DECL_LE64TOH 1 | | 6448 | #define HAVE_DECL_LE64TOH 1 |
6394 | EOF | | 6449 | EOF |
6395 | | | 6450 | |
6396 | else | | 6451 | else |
6397 | cat >>confdefs.h <<EOF | | 6452 | cat >>confdefs.h <<EOF |
6398 | #define HAVE_DECL_LE64TOH 0 | | 6453 | #define HAVE_DECL_LE64TOH 0 |
6399 | EOF | | 6454 | EOF |
6400 | | | 6455 | |
6401 | fi | | 6456 | fi |
6402 | | | 6457 | |
6403 | echo "$as_me:6403: checking whether bswap16 is declared" >&5 | | 6458 | echo "$as_me:6458: checking whether bswap16 is declared" >&5 |
6404 | echo $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6 | | 6459 | echo $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6 |
6405 | if test "${ac_cv_have_decl_bswap16+set}" = set; then | | 6460 | if test "${ac_cv_have_decl_bswap16+set}" = set; then |
6406 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6461 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6407 | else | | 6462 | else |
6408 | cat >conftest.$ac_ext <<_ACEOF | | 6463 | cat >conftest.$ac_ext <<_ACEOF |
6409 | #line 6409 "configure" | | 6464 | #line 6464 "configure" |
6410 | #include "confdefs.h" | | 6465 | #include "confdefs.h" |
6411 | #include <machine/bswap.h> | | 6466 | #include <machine/bswap.h> |
6412 | | | 6467 | |
6413 | int | | 6468 | int |
6414 | main () | | 6469 | main () |
6415 | { | | 6470 | { |
6416 | #ifndef bswap16 | | 6471 | #ifndef bswap16 |
6417 | char *p = (char *) bswap16; | | 6472 | char *p = (char *) bswap16; |
6418 | #endif | | 6473 | #endif |
6419 | | | 6474 | |
6420 | ; | | 6475 | ; |
6421 | return 0; | | 6476 | return 0; |
6422 | } | | 6477 | } |
6423 | _ACEOF | | 6478 | _ACEOF |
6424 | rm -f conftest.$ac_objext | | 6479 | rm -f conftest.$ac_objext |
6425 | if { (eval echo "$as_me:6425: \"$ac_compile\"") >&5 | | 6480 | if { (eval echo "$as_me:6480: \"$ac_compile\"") >&5 |
6426 | (eval $ac_compile) 2>&5 | | 6481 | (eval $ac_compile) 2>&5 |
6427 | ac_status=$? | | 6482 | ac_status=$? |
6428 | echo "$as_me:6428: \$? = $ac_status" >&5 | | 6483 | echo "$as_me:6483: \$? = $ac_status" >&5 |
6429 | (exit $ac_status); } && | | 6484 | (exit $ac_status); } && |
6430 | { ac_try='test -s conftest.$ac_objext' | | 6485 | { ac_try='test -s conftest.$ac_objext' |
6431 | { (eval echo "$as_me:6431: \"$ac_try\"") >&5 | | 6486 | { (eval echo "$as_me:6486: \"$ac_try\"") >&5 |
6432 | (eval $ac_try) 2>&5 | | 6487 | (eval $ac_try) 2>&5 |
6433 | ac_status=$? | | 6488 | ac_status=$? |
6434 | echo "$as_me:6434: \$? = $ac_status" >&5 | | 6489 | echo "$as_me:6489: \$? = $ac_status" >&5 |
6435 | (exit $ac_status); }; }; then | | 6490 | (exit $ac_status); }; }; then |
6436 | ac_cv_have_decl_bswap16=yes | | 6491 | ac_cv_have_decl_bswap16=yes |
6437 | else | | 6492 | else |
6438 | echo "$as_me: failed program was:" >&5 | | 6493 | echo "$as_me: failed program was:" >&5 |
6439 | cat conftest.$ac_ext >&5 | | 6494 | cat conftest.$ac_ext >&5 |
6440 | ac_cv_have_decl_bswap16=no | | 6495 | ac_cv_have_decl_bswap16=no |
6441 | fi | | 6496 | fi |
6442 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6497 | rm -f conftest.$ac_objext conftest.$ac_ext |
6443 | fi | | 6498 | fi |
6444 | echo "$as_me:6444: result: $ac_cv_have_decl_bswap16" >&5 | | 6499 | echo "$as_me:6499: result: $ac_cv_have_decl_bswap16" >&5 |
6445 | echo "${ECHO_T}$ac_cv_have_decl_bswap16" >&6 | | 6500 | echo "${ECHO_T}$ac_cv_have_decl_bswap16" >&6 |
6446 | if test $ac_cv_have_decl_bswap16 = yes; then | | 6501 | if test $ac_cv_have_decl_bswap16 = yes; then |
6447 | | | 6502 | |
6448 | cat >>confdefs.h <<EOF | | 6503 | cat >>confdefs.h <<EOF |
6449 | #define HAVE_DECL_BSWAP16 1 | | 6504 | #define HAVE_DECL_BSWAP16 1 |
6450 | EOF | | 6505 | EOF |
6451 | | | 6506 | |
6452 | else | | 6507 | else |
6453 | cat >>confdefs.h <<EOF | | 6508 | cat >>confdefs.h <<EOF |
6454 | #define HAVE_DECL_BSWAP16 0 | | 6509 | #define HAVE_DECL_BSWAP16 0 |
6455 | EOF | | 6510 | EOF |
6456 | | | 6511 | |
6457 | fi | | 6512 | fi |
6458 | echo "$as_me:6458: checking whether bswap32 is declared" >&5 | | 6513 | echo "$as_me:6513: checking whether bswap32 is declared" >&5 |
6459 | echo $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6 | | 6514 | echo $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6 |
6460 | if test "${ac_cv_have_decl_bswap32+set}" = set; then | | 6515 | if test "${ac_cv_have_decl_bswap32+set}" = set; then |
6461 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6516 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6462 | else | | 6517 | else |
6463 | cat >conftest.$ac_ext <<_ACEOF | | 6518 | cat >conftest.$ac_ext <<_ACEOF |
6464 | #line 6464 "configure" | | 6519 | #line 6519 "configure" |
6465 | #include "confdefs.h" | | 6520 | #include "confdefs.h" |
6466 | #include <machine/bswap.h> | | 6521 | #include <machine/bswap.h> |
6467 | | | 6522 | |
6468 | int | | 6523 | int |
6469 | main () | | 6524 | main () |
6470 | { | | 6525 | { |
6471 | #ifndef bswap32 | | 6526 | #ifndef bswap32 |
6472 | char *p = (char *) bswap32; | | 6527 | char *p = (char *) bswap32; |
6473 | #endif | | 6528 | #endif |
6474 | | | 6529 | |
6475 | ; | | 6530 | ; |
6476 | return 0; | | 6531 | return 0; |
6477 | } | | 6532 | } |
6478 | _ACEOF | | 6533 | _ACEOF |
6479 | rm -f conftest.$ac_objext | | 6534 | rm -f conftest.$ac_objext |
6480 | if { (eval echo "$as_me:6480: \"$ac_compile\"") >&5 | | 6535 | if { (eval echo "$as_me:6535: \"$ac_compile\"") >&5 |
6481 | (eval $ac_compile) 2>&5 | | 6536 | (eval $ac_compile) 2>&5 |
6482 | ac_status=$? | | 6537 | ac_status=$? |
6483 | echo "$as_me:6483: \$? = $ac_status" >&5 | | 6538 | echo "$as_me:6538: \$? = $ac_status" >&5 |
6484 | (exit $ac_status); } && | | 6539 | (exit $ac_status); } && |
6485 | { ac_try='test -s conftest.$ac_objext' | | 6540 | { ac_try='test -s conftest.$ac_objext' |
6486 | { (eval echo "$as_me:6486: \"$ac_try\"") >&5 | | 6541 | { (eval echo "$as_me:6541: \"$ac_try\"") >&5 |
6487 | (eval $ac_try) 2>&5 | | 6542 | (eval $ac_try) 2>&5 |
6488 | ac_status=$? | | 6543 | ac_status=$? |
6489 | echo "$as_me:6489: \$? = $ac_status" >&5 | | 6544 | echo "$as_me:6544: \$? = $ac_status" >&5 |
6490 | (exit $ac_status); }; }; then | | 6545 | (exit $ac_status); }; }; then |
6491 | ac_cv_have_decl_bswap32=yes | | 6546 | ac_cv_have_decl_bswap32=yes |
6492 | else | | 6547 | else |
6493 | echo "$as_me: failed program was:" >&5 | | 6548 | echo "$as_me: failed program was:" >&5 |
6494 | cat conftest.$ac_ext >&5 | | 6549 | cat conftest.$ac_ext >&5 |
6495 | ac_cv_have_decl_bswap32=no | | 6550 | ac_cv_have_decl_bswap32=no |
6496 | fi | | 6551 | fi |
6497 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6552 | rm -f conftest.$ac_objext conftest.$ac_ext |
6498 | fi | | 6553 | fi |
6499 | echo "$as_me:6499: result: $ac_cv_have_decl_bswap32" >&5 | | 6554 | echo "$as_me:6554: result: $ac_cv_have_decl_bswap32" >&5 |
6500 | echo "${ECHO_T}$ac_cv_have_decl_bswap32" >&6 | | 6555 | echo "${ECHO_T}$ac_cv_have_decl_bswap32" >&6 |
6501 | if test $ac_cv_have_decl_bswap32 = yes; then | | 6556 | if test $ac_cv_have_decl_bswap32 = yes; then |
6502 | | | 6557 | |
6503 | cat >>confdefs.h <<EOF | | 6558 | cat >>confdefs.h <<EOF |
6504 | #define HAVE_DECL_BSWAP32 1 | | 6559 | #define HAVE_DECL_BSWAP32 1 |
6505 | EOF | | 6560 | EOF |
6506 | | | 6561 | |
6507 | else | | 6562 | else |
6508 | cat >>confdefs.h <<EOF | | 6563 | cat >>confdefs.h <<EOF |
6509 | #define HAVE_DECL_BSWAP32 0 | | 6564 | #define HAVE_DECL_BSWAP32 0 |
6510 | EOF | | 6565 | EOF |
6511 | | | 6566 | |
6512 | fi | | 6567 | fi |
6513 | echo "$as_me:6513: checking whether bswap64 is declared" >&5 | | 6568 | echo "$as_me:6568: checking whether bswap64 is declared" >&5 |
6514 | echo $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6 | | 6569 | echo $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6 |
6515 | if test "${ac_cv_have_decl_bswap64+set}" = set; then | | 6570 | if test "${ac_cv_have_decl_bswap64+set}" = set; then |
6516 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6571 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6517 | else | | 6572 | else |
6518 | cat >conftest.$ac_ext <<_ACEOF | | 6573 | cat >conftest.$ac_ext <<_ACEOF |
6519 | #line 6519 "configure" | | 6574 | #line 6574 "configure" |
6520 | #include "confdefs.h" | | 6575 | #include "confdefs.h" |
6521 | #include <machine/bswap.h> | | 6576 | #include <machine/bswap.h> |
6522 | | | 6577 | |
6523 | int | | 6578 | int |
6524 | main () | | 6579 | main () |
6525 | { | | 6580 | { |
6526 | #ifndef bswap64 | | 6581 | #ifndef bswap64 |
6527 | char *p = (char *) bswap64; | | 6582 | char *p = (char *) bswap64; |
6528 | #endif | | 6583 | #endif |
6529 | | | 6584 | |
6530 | ; | | 6585 | ; |
6531 | return 0; | | 6586 | return 0; |
6532 | } | | 6587 | } |
6533 | _ACEOF | | 6588 | _ACEOF |
6534 | rm -f conftest.$ac_objext | | 6589 | rm -f conftest.$ac_objext |
6535 | if { (eval echo "$as_me:6535: \"$ac_compile\"") >&5 | | 6590 | if { (eval echo "$as_me:6590: \"$ac_compile\"") >&5 |
6536 | (eval $ac_compile) 2>&5 | | 6591 | (eval $ac_compile) 2>&5 |
6537 | ac_status=$? | | 6592 | ac_status=$? |
6538 | echo "$as_me:6538: \$? = $ac_status" >&5 | | 6593 | echo "$as_me:6593: \$? = $ac_status" >&5 |
6539 | (exit $ac_status); } && | | 6594 | (exit $ac_status); } && |
6540 | { ac_try='test -s conftest.$ac_objext' | | 6595 | { ac_try='test -s conftest.$ac_objext' |
6541 | { (eval echo "$as_me:6541: \"$ac_try\"") >&5 | | 6596 | { (eval echo "$as_me:6596: \"$ac_try\"") >&5 |
6542 | (eval $ac_try) 2>&5 | | 6597 | (eval $ac_try) 2>&5 |
6543 | ac_status=$? | | 6598 | ac_status=$? |
6544 | echo "$as_me:6544: \$? = $ac_status" >&5 | | 6599 | echo "$as_me:6599: \$? = $ac_status" >&5 |
6545 | (exit $ac_status); }; }; then | | 6600 | (exit $ac_status); }; }; then |
6546 | ac_cv_have_decl_bswap64=yes | | 6601 | ac_cv_have_decl_bswap64=yes |
6547 | else | | 6602 | else |
6548 | echo "$as_me: failed program was:" >&5 | | 6603 | echo "$as_me: failed program was:" >&5 |
6549 | cat conftest.$ac_ext >&5 | | 6604 | cat conftest.$ac_ext >&5 |
6550 | ac_cv_have_decl_bswap64=no | | 6605 | ac_cv_have_decl_bswap64=no |
6551 | fi | | 6606 | fi |
6552 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6607 | rm -f conftest.$ac_objext conftest.$ac_ext |
6553 | fi | | 6608 | fi |
6554 | echo "$as_me:6554: result: $ac_cv_have_decl_bswap64" >&5 | | 6609 | echo "$as_me:6609: result: $ac_cv_have_decl_bswap64" >&5 |
6555 | echo "${ECHO_T}$ac_cv_have_decl_bswap64" >&6 | | 6610 | echo "${ECHO_T}$ac_cv_have_decl_bswap64" >&6 |
6556 | if test $ac_cv_have_decl_bswap64 = yes; then | | 6611 | if test $ac_cv_have_decl_bswap64 = yes; then |
6557 | | | 6612 | |
6558 | cat >>confdefs.h <<EOF | | 6613 | cat >>confdefs.h <<EOF |
6559 | #define HAVE_DECL_BSWAP64 1 | | 6614 | #define HAVE_DECL_BSWAP64 1 |
6560 | EOF | | 6615 | EOF |
6561 | | | 6616 | |
6562 | else | | 6617 | else |
6563 | cat >>confdefs.h <<EOF | | 6618 | cat >>confdefs.h <<EOF |
6564 | #define HAVE_DECL_BSWAP64 0 | | 6619 | #define HAVE_DECL_BSWAP64 0 |
6565 | EOF | | 6620 | EOF |
6566 | | | 6621 | |
6567 | fi | | 6622 | fi |
6568 | | | 6623 | |
6569 | echo "$as_me:6569: checking whether be16enc is declared" >&5 | | 6624 | echo "$as_me:6624: checking whether be16enc is declared" >&5 |
6570 | echo $ECHO_N "checking whether be16enc is declared... $ECHO_C" >&6 | | 6625 | echo $ECHO_N "checking whether be16enc is declared... $ECHO_C" >&6 |
6571 | if test "${ac_cv_have_decl_be16enc+set}" = set; then | | 6626 | if test "${ac_cv_have_decl_be16enc+set}" = set; then |
6572 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6627 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6573 | else | | 6628 | else |
6574 | cat >conftest.$ac_ext <<_ACEOF | | 6629 | cat >conftest.$ac_ext <<_ACEOF |
6575 | #line 6575 "configure" | | 6630 | #line 6630 "configure" |
6576 | #include "confdefs.h" | | 6631 | #include "confdefs.h" |
6577 | #include <sys/endian.h> | | 6632 | #include <sys/endian.h> |
6578 | | | 6633 | |
6579 | int | | 6634 | int |
6580 | main () | | 6635 | main () |
6581 | { | | 6636 | { |
6582 | #ifndef be16enc | | 6637 | #ifndef be16enc |
6583 | char *p = (char *) be16enc; | | 6638 | char *p = (char *) be16enc; |
6584 | #endif | | 6639 | #endif |
6585 | | | 6640 | |
6586 | ; | | 6641 | ; |
6587 | return 0; | | 6642 | return 0; |
6588 | } | | 6643 | } |
6589 | _ACEOF | | 6644 | _ACEOF |
6590 | rm -f conftest.$ac_objext | | 6645 | rm -f conftest.$ac_objext |
6591 | if { (eval echo "$as_me:6591: \"$ac_compile\"") >&5 | | 6646 | if { (eval echo "$as_me:6646: \"$ac_compile\"") >&5 |
6592 | (eval $ac_compile) 2>&5 | | 6647 | (eval $ac_compile) 2>&5 |
6593 | ac_status=$? | | 6648 | ac_status=$? |
6594 | echo "$as_me:6594: \$? = $ac_status" >&5 | | 6649 | echo "$as_me:6649: \$? = $ac_status" >&5 |
6595 | (exit $ac_status); } && | | 6650 | (exit $ac_status); } && |
6596 | { ac_try='test -s conftest.$ac_objext' | | 6651 | { ac_try='test -s conftest.$ac_objext' |
6597 | { (eval echo "$as_me:6597: \"$ac_try\"") >&5 | | 6652 | { (eval echo "$as_me:6652: \"$ac_try\"") >&5 |
6598 | (eval $ac_try) 2>&5 | | 6653 | (eval $ac_try) 2>&5 |
6599 | ac_status=$? | | 6654 | ac_status=$? |
6600 | echo "$as_me:6600: \$? = $ac_status" >&5 | | 6655 | echo "$as_me:6655: \$? = $ac_status" >&5 |
6601 | (exit $ac_status); }; }; then | | 6656 | (exit $ac_status); }; }; then |
6602 | ac_cv_have_decl_be16enc=yes | | 6657 | ac_cv_have_decl_be16enc=yes |
6603 | else | | 6658 | else |
6604 | echo "$as_me: failed program was:" >&5 | | 6659 | echo "$as_me: failed program was:" >&5 |
6605 | cat conftest.$ac_ext >&5 | | 6660 | cat conftest.$ac_ext >&5 |
6606 | ac_cv_have_decl_be16enc=no | | 6661 | ac_cv_have_decl_be16enc=no |
6607 | fi | | 6662 | fi |
6608 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6663 | rm -f conftest.$ac_objext conftest.$ac_ext |
6609 | fi | | 6664 | fi |
6610 | echo "$as_me:6610: result: $ac_cv_have_decl_be16enc" >&5 | | 6665 | echo "$as_me:6665: result: $ac_cv_have_decl_be16enc" >&5 |
6611 | echo "${ECHO_T}$ac_cv_have_decl_be16enc" >&6 | | 6666 | echo "${ECHO_T}$ac_cv_have_decl_be16enc" >&6 |
6612 | if test $ac_cv_have_decl_be16enc = yes; then | | 6667 | if test $ac_cv_have_decl_be16enc = yes; then |
6613 | | | 6668 | |
6614 | cat >>confdefs.h <<EOF | | 6669 | cat >>confdefs.h <<EOF |
6615 | #define HAVE_DECL_BE16ENC 1 | | 6670 | #define HAVE_DECL_BE16ENC 1 |
6616 | EOF | | 6671 | EOF |
6617 | | | 6672 | |
6618 | else | | 6673 | else |
6619 | cat >>confdefs.h <<EOF | | 6674 | cat >>confdefs.h <<EOF |
6620 | #define HAVE_DECL_BE16ENC 0 | | 6675 | #define HAVE_DECL_BE16ENC 0 |
6621 | EOF | | 6676 | EOF |
6622 | | | 6677 | |
6623 | fi | | 6678 | fi |
6624 | echo "$as_me:6624: checking whether le16enc is declared" >&5 | | 6679 | echo "$as_me:6679: checking whether le16enc is declared" >&5 |
6625 | echo $ECHO_N "checking whether le16enc is declared... $ECHO_C" >&6 | | 6680 | echo $ECHO_N "checking whether le16enc is declared... $ECHO_C" >&6 |
6626 | if test "${ac_cv_have_decl_le16enc+set}" = set; then | | 6681 | if test "${ac_cv_have_decl_le16enc+set}" = set; then |
6627 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6682 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6628 | else | | 6683 | else |
6629 | cat >conftest.$ac_ext <<_ACEOF | | 6684 | cat >conftest.$ac_ext <<_ACEOF |
6630 | #line 6630 "configure" | | 6685 | #line 6685 "configure" |
6631 | #include "confdefs.h" | | 6686 | #include "confdefs.h" |
6632 | #include <sys/endian.h> | | 6687 | #include <sys/endian.h> |
6633 | | | 6688 | |
6634 | int | | 6689 | int |
6635 | main () | | 6690 | main () |
6636 | { | | 6691 | { |
6637 | #ifndef le16enc | | 6692 | #ifndef le16enc |
6638 | char *p = (char *) le16enc; | | 6693 | char *p = (char *) le16enc; |
6639 | #endif | | 6694 | #endif |
6640 | | | 6695 | |
6641 | ; | | 6696 | ; |
6642 | return 0; | | 6697 | return 0; |
6643 | } | | 6698 | } |
6644 | _ACEOF | | 6699 | _ACEOF |
6645 | rm -f conftest.$ac_objext | | 6700 | rm -f conftest.$ac_objext |
6646 | if { (eval echo "$as_me:6646: \"$ac_compile\"") >&5 | | 6701 | if { (eval echo "$as_me:6701: \"$ac_compile\"") >&5 |
6647 | (eval $ac_compile) 2>&5 | | 6702 | (eval $ac_compile) 2>&5 |
6648 | ac_status=$? | | 6703 | ac_status=$? |
6649 | echo "$as_me:6649: \$? = $ac_status" >&5 | | 6704 | echo "$as_me:6704: \$? = $ac_status" >&5 |
6650 | (exit $ac_status); } && | | 6705 | (exit $ac_status); } && |
6651 | { ac_try='test -s conftest.$ac_objext' | | 6706 | { ac_try='test -s conftest.$ac_objext' |
6652 | { (eval echo "$as_me:6652: \"$ac_try\"") >&5 | | 6707 | { (eval echo "$as_me:6707: \"$ac_try\"") >&5 |
6653 | (eval $ac_try) 2>&5 | | 6708 | (eval $ac_try) 2>&5 |
6654 | ac_status=$? | | 6709 | ac_status=$? |
6655 | echo "$as_me:6655: \$? = $ac_status" >&5 | | 6710 | echo "$as_me:6710: \$? = $ac_status" >&5 |
6656 | (exit $ac_status); }; }; then | | 6711 | (exit $ac_status); }; }; then |
6657 | ac_cv_have_decl_le16enc=yes | | 6712 | ac_cv_have_decl_le16enc=yes |
6658 | else | | 6713 | else |
6659 | echo "$as_me: failed program was:" >&5 | | 6714 | echo "$as_me: failed program was:" >&5 |
6660 | cat conftest.$ac_ext >&5 | | 6715 | cat conftest.$ac_ext >&5 |
6661 | ac_cv_have_decl_le16enc=no | | 6716 | ac_cv_have_decl_le16enc=no |
6662 | fi | | 6717 | fi |
6663 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6718 | rm -f conftest.$ac_objext conftest.$ac_ext |
6664 | fi | | 6719 | fi |
6665 | echo "$as_me:6665: result: $ac_cv_have_decl_le16enc" >&5 | | 6720 | echo "$as_me:6720: result: $ac_cv_have_decl_le16enc" >&5 |
6666 | echo "${ECHO_T}$ac_cv_have_decl_le16enc" >&6 | | 6721 | echo "${ECHO_T}$ac_cv_have_decl_le16enc" >&6 |
6667 | if test $ac_cv_have_decl_le16enc = yes; then | | 6722 | if test $ac_cv_have_decl_le16enc = yes; then |
6668 | | | 6723 | |
6669 | cat >>confdefs.h <<EOF | | 6724 | cat >>confdefs.h <<EOF |
6670 | #define HAVE_DECL_LE16ENC 1 | | 6725 | #define HAVE_DECL_LE16ENC 1 |
6671 | EOF | | 6726 | EOF |
6672 | | | 6727 | |
6673 | else | | 6728 | else |
6674 | cat >>confdefs.h <<EOF | | 6729 | cat >>confdefs.h <<EOF |
6675 | #define HAVE_DECL_LE16ENC 0 | | 6730 | #define HAVE_DECL_LE16ENC 0 |
6676 | EOF | | 6731 | EOF |
6677 | | | 6732 | |
6678 | fi | | 6733 | fi |
6679 | echo "$as_me:6679: checking whether be16dec is declared" >&5 | | 6734 | echo "$as_me:6734: checking whether be16dec is declared" >&5 |
6680 | echo $ECHO_N "checking whether be16dec is declared... $ECHO_C" >&6 | | 6735 | echo $ECHO_N "checking whether be16dec is declared... $ECHO_C" >&6 |
6681 | if test "${ac_cv_have_decl_be16dec+set}" = set; then | | 6736 | if test "${ac_cv_have_decl_be16dec+set}" = set; then |
6682 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6737 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6683 | else | | 6738 | else |
6684 | cat >conftest.$ac_ext <<_ACEOF | | 6739 | cat >conftest.$ac_ext <<_ACEOF |
6685 | #line 6685 "configure" | | 6740 | #line 6740 "configure" |
6686 | #include "confdefs.h" | | 6741 | #include "confdefs.h" |
6687 | #include <sys/endian.h> | | 6742 | #include <sys/endian.h> |
6688 | | | 6743 | |
6689 | int | | 6744 | int |
6690 | main () | | 6745 | main () |
6691 | { | | 6746 | { |
6692 | #ifndef be16dec | | 6747 | #ifndef be16dec |
6693 | char *p = (char *) be16dec; | | 6748 | char *p = (char *) be16dec; |
6694 | #endif | | 6749 | #endif |
6695 | | | 6750 | |
6696 | ; | | 6751 | ; |
6697 | return 0; | | 6752 | return 0; |
6698 | } | | 6753 | } |
6699 | _ACEOF | | 6754 | _ACEOF |
6700 | rm -f conftest.$ac_objext | | 6755 | rm -f conftest.$ac_objext |
6701 | if { (eval echo "$as_me:6701: \"$ac_compile\"") >&5 | | 6756 | if { (eval echo "$as_me:6756: \"$ac_compile\"") >&5 |
6702 | (eval $ac_compile) 2>&5 | | 6757 | (eval $ac_compile) 2>&5 |
6703 | ac_status=$? | | 6758 | ac_status=$? |
6704 | echo "$as_me:6704: \$? = $ac_status" >&5 | | 6759 | echo "$as_me:6759: \$? = $ac_status" >&5 |
6705 | (exit $ac_status); } && | | 6760 | (exit $ac_status); } && |
6706 | { ac_try='test -s conftest.$ac_objext' | | 6761 | { ac_try='test -s conftest.$ac_objext' |
6707 | { (eval echo "$as_me:6707: \"$ac_try\"") >&5 | | 6762 | { (eval echo "$as_me:6762: \"$ac_try\"") >&5 |
6708 | (eval $ac_try) 2>&5 | | 6763 | (eval $ac_try) 2>&5 |
6709 | ac_status=$? | | 6764 | ac_status=$? |
6710 | echo "$as_me:6710: \$? = $ac_status" >&5 | | 6765 | echo "$as_me:6765: \$? = $ac_status" >&5 |
6711 | (exit $ac_status); }; }; then | | 6766 | (exit $ac_status); }; }; then |
6712 | ac_cv_have_decl_be16dec=yes | | 6767 | ac_cv_have_decl_be16dec=yes |
6713 | else | | 6768 | else |
6714 | echo "$as_me: failed program was:" >&5 | | 6769 | echo "$as_me: failed program was:" >&5 |
6715 | cat conftest.$ac_ext >&5 | | 6770 | cat conftest.$ac_ext >&5 |
6716 | ac_cv_have_decl_be16dec=no | | 6771 | ac_cv_have_decl_be16dec=no |
6717 | fi | | 6772 | fi |
6718 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6773 | rm -f conftest.$ac_objext conftest.$ac_ext |
6719 | fi | | 6774 | fi |
6720 | echo "$as_me:6720: result: $ac_cv_have_decl_be16dec" >&5 | | 6775 | echo "$as_me:6775: result: $ac_cv_have_decl_be16dec" >&5 |
6721 | echo "${ECHO_T}$ac_cv_have_decl_be16dec" >&6 | | 6776 | echo "${ECHO_T}$ac_cv_have_decl_be16dec" >&6 |
6722 | if test $ac_cv_have_decl_be16dec = yes; then | | 6777 | if test $ac_cv_have_decl_be16dec = yes; then |
6723 | | | 6778 | |
6724 | cat >>confdefs.h <<EOF | | 6779 | cat >>confdefs.h <<EOF |
6725 | #define HAVE_DECL_BE16DEC 1 | | 6780 | #define HAVE_DECL_BE16DEC 1 |
6726 | EOF | | 6781 | EOF |
6727 | | | 6782 | |
6728 | else | | 6783 | else |
6729 | cat >>confdefs.h <<EOF | | 6784 | cat >>confdefs.h <<EOF |
6730 | #define HAVE_DECL_BE16DEC 0 | | 6785 | #define HAVE_DECL_BE16DEC 0 |
6731 | EOF | | 6786 | EOF |
6732 | | | 6787 | |
6733 | fi | | 6788 | fi |
6734 | echo "$as_me:6734: checking whether le16dec is declared" >&5 | | 6789 | echo "$as_me:6789: checking whether le16dec is declared" >&5 |
6735 | echo $ECHO_N "checking whether le16dec is declared... $ECHO_C" >&6 | | 6790 | echo $ECHO_N "checking whether le16dec is declared... $ECHO_C" >&6 |
6736 | if test "${ac_cv_have_decl_le16dec+set}" = set; then | | 6791 | if test "${ac_cv_have_decl_le16dec+set}" = set; then |
6737 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6792 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6738 | else | | 6793 | else |
6739 | cat >conftest.$ac_ext <<_ACEOF | | 6794 | cat >conftest.$ac_ext <<_ACEOF |
6740 | #line 6740 "configure" | | 6795 | #line 6795 "configure" |
6741 | #include "confdefs.h" | | 6796 | #include "confdefs.h" |
6742 | #include <sys/endian.h> | | 6797 | #include <sys/endian.h> |
6743 | | | 6798 | |
6744 | int | | 6799 | int |
6745 | main () | | 6800 | main () |
6746 | { | | 6801 | { |
6747 | #ifndef le16dec | | 6802 | #ifndef le16dec |
6748 | char *p = (char *) le16dec; | | 6803 | char *p = (char *) le16dec; |
6749 | #endif | | 6804 | #endif |
6750 | | | 6805 | |
6751 | ; | | 6806 | ; |
6752 | return 0; | | 6807 | return 0; |
6753 | } | | 6808 | } |
6754 | _ACEOF | | 6809 | _ACEOF |
6755 | rm -f conftest.$ac_objext | | 6810 | rm -f conftest.$ac_objext |
6756 | if { (eval echo "$as_me:6756: \"$ac_compile\"") >&5 | | 6811 | if { (eval echo "$as_me:6811: \"$ac_compile\"") >&5 |
6757 | (eval $ac_compile) 2>&5 | | 6812 | (eval $ac_compile) 2>&5 |
6758 | ac_status=$? | | 6813 | ac_status=$? |
6759 | echo "$as_me:6759: \$? = $ac_status" >&5 | | 6814 | echo "$as_me:6814: \$? = $ac_status" >&5 |
6760 | (exit $ac_status); } && | | 6815 | (exit $ac_status); } && |
6761 | { ac_try='test -s conftest.$ac_objext' | | 6816 | { ac_try='test -s conftest.$ac_objext' |
6762 | { (eval echo "$as_me:6762: \"$ac_try\"") >&5 | | 6817 | { (eval echo "$as_me:6817: \"$ac_try\"") >&5 |
6763 | (eval $ac_try) 2>&5 | | 6818 | (eval $ac_try) 2>&5 |
6764 | ac_status=$? | | 6819 | ac_status=$? |
6765 | echo "$as_me:6765: \$? = $ac_status" >&5 | | 6820 | echo "$as_me:6820: \$? = $ac_status" >&5 |
6766 | (exit $ac_status); }; }; then | | 6821 | (exit $ac_status); }; }; then |
6767 | ac_cv_have_decl_le16dec=yes | | 6822 | ac_cv_have_decl_le16dec=yes |
6768 | else | | 6823 | else |
6769 | echo "$as_me: failed program was:" >&5 | | 6824 | echo "$as_me: failed program was:" >&5 |
6770 | cat conftest.$ac_ext >&5 | | 6825 | cat conftest.$ac_ext >&5 |
6771 | ac_cv_have_decl_le16dec=no | | 6826 | ac_cv_have_decl_le16dec=no |
6772 | fi | | 6827 | fi |
6773 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6828 | rm -f conftest.$ac_objext conftest.$ac_ext |
6774 | fi | | 6829 | fi |
6775 | echo "$as_me:6775: result: $ac_cv_have_decl_le16dec" >&5 | | 6830 | echo "$as_me:6830: result: $ac_cv_have_decl_le16dec" >&5 |
6776 | echo "${ECHO_T}$ac_cv_have_decl_le16dec" >&6 | | 6831 | echo "${ECHO_T}$ac_cv_have_decl_le16dec" >&6 |
6777 | if test $ac_cv_have_decl_le16dec = yes; then | | 6832 | if test $ac_cv_have_decl_le16dec = yes; then |
6778 | | | 6833 | |
6779 | cat >>confdefs.h <<EOF | | 6834 | cat >>confdefs.h <<EOF |
6780 | #define HAVE_DECL_LE16DEC 1 | | 6835 | #define HAVE_DECL_LE16DEC 1 |
6781 | EOF | | 6836 | EOF |
6782 | | | 6837 | |
6783 | else | | 6838 | else |
6784 | cat >>confdefs.h <<EOF | | 6839 | cat >>confdefs.h <<EOF |
6785 | #define HAVE_DECL_LE16DEC 0 | | 6840 | #define HAVE_DECL_LE16DEC 0 |
6786 | EOF | | 6841 | EOF |
6787 | | | 6842 | |
6788 | fi | | 6843 | fi |
6789 | echo "$as_me:6789: checking whether be32enc is declared" >&5 | | 6844 | echo "$as_me:6844: checking whether be32enc is declared" >&5 |
6790 | echo $ECHO_N "checking whether be32enc is declared... $ECHO_C" >&6 | | 6845 | echo $ECHO_N "checking whether be32enc is declared... $ECHO_C" >&6 |
6791 | if test "${ac_cv_have_decl_be32enc+set}" = set; then | | 6846 | if test "${ac_cv_have_decl_be32enc+set}" = set; then |
6792 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6847 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6793 | else | | 6848 | else |
6794 | cat >conftest.$ac_ext <<_ACEOF | | 6849 | cat >conftest.$ac_ext <<_ACEOF |
6795 | #line 6795 "configure" | | 6850 | #line 6850 "configure" |
6796 | #include "confdefs.h" | | 6851 | #include "confdefs.h" |
6797 | #include <sys/endian.h> | | 6852 | #include <sys/endian.h> |
6798 | | | 6853 | |
6799 | int | | 6854 | int |
6800 | main () | | 6855 | main () |
6801 | { | | 6856 | { |
6802 | #ifndef be32enc | | 6857 | #ifndef be32enc |
6803 | char *p = (char *) be32enc; | | 6858 | char *p = (char *) be32enc; |
6804 | #endif | | 6859 | #endif |
6805 | | | 6860 | |
6806 | ; | | 6861 | ; |
6807 | return 0; | | 6862 | return 0; |
6808 | } | | 6863 | } |
6809 | _ACEOF | | 6864 | _ACEOF |
6810 | rm -f conftest.$ac_objext | | 6865 | rm -f conftest.$ac_objext |
6811 | if { (eval echo "$as_me:6811: \"$ac_compile\"") >&5 | | 6866 | if { (eval echo "$as_me:6866: \"$ac_compile\"") >&5 |
6812 | (eval $ac_compile) 2>&5 | | 6867 | (eval $ac_compile) 2>&5 |
6813 | ac_status=$? | | 6868 | ac_status=$? |
6814 | echo "$as_me:6814: \$? = $ac_status" >&5 | | 6869 | echo "$as_me:6869: \$? = $ac_status" >&5 |
6815 | (exit $ac_status); } && | | 6870 | (exit $ac_status); } && |
6816 | { ac_try='test -s conftest.$ac_objext' | | 6871 | { ac_try='test -s conftest.$ac_objext' |
6817 | { (eval echo "$as_me:6817: \"$ac_try\"") >&5 | | 6872 | { (eval echo "$as_me:6872: \"$ac_try\"") >&5 |
6818 | (eval $ac_try) 2>&5 | | 6873 | (eval $ac_try) 2>&5 |
6819 | ac_status=$? | | 6874 | ac_status=$? |
6820 | echo "$as_me:6820: \$? = $ac_status" >&5 | | 6875 | echo "$as_me:6875: \$? = $ac_status" >&5 |
6821 | (exit $ac_status); }; }; then | | 6876 | (exit $ac_status); }; }; then |
6822 | ac_cv_have_decl_be32enc=yes | | 6877 | ac_cv_have_decl_be32enc=yes |
6823 | else | | 6878 | else |
6824 | echo "$as_me: failed program was:" >&5 | | 6879 | echo "$as_me: failed program was:" >&5 |
6825 | cat conftest.$ac_ext >&5 | | 6880 | cat conftest.$ac_ext >&5 |
6826 | ac_cv_have_decl_be32enc=no | | 6881 | ac_cv_have_decl_be32enc=no |
6827 | fi | | 6882 | fi |
6828 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6883 | rm -f conftest.$ac_objext conftest.$ac_ext |
6829 | fi | | 6884 | fi |
6830 | echo "$as_me:6830: result: $ac_cv_have_decl_be32enc" >&5 | | 6885 | echo "$as_me:6885: result: $ac_cv_have_decl_be32enc" >&5 |
6831 | echo "${ECHO_T}$ac_cv_have_decl_be32enc" >&6 | | 6886 | echo "${ECHO_T}$ac_cv_have_decl_be32enc" >&6 |
6832 | if test $ac_cv_have_decl_be32enc = yes; then | | 6887 | if test $ac_cv_have_decl_be32enc = yes; then |
6833 | | | 6888 | |
6834 | cat >>confdefs.h <<EOF | | 6889 | cat >>confdefs.h <<EOF |
6835 | #define HAVE_DECL_BE32ENC 1 | | 6890 | #define HAVE_DECL_BE32ENC 1 |
6836 | EOF | | 6891 | EOF |
6837 | | | 6892 | |
6838 | else | | 6893 | else |
6839 | cat >>confdefs.h <<EOF | | 6894 | cat >>confdefs.h <<EOF |
6840 | #define HAVE_DECL_BE32ENC 0 | | 6895 | #define HAVE_DECL_BE32ENC 0 |
6841 | EOF | | 6896 | EOF |
6842 | | | 6897 | |
6843 | fi | | 6898 | fi |
6844 | echo "$as_me:6844: checking whether le32enc is declared" >&5 | | 6899 | echo "$as_me:6899: checking whether le32enc is declared" >&5 |
6845 | echo $ECHO_N "checking whether le32enc is declared... $ECHO_C" >&6 | | 6900 | echo $ECHO_N "checking whether le32enc is declared... $ECHO_C" >&6 |
6846 | if test "${ac_cv_have_decl_le32enc+set}" = set; then | | 6901 | if test "${ac_cv_have_decl_le32enc+set}" = set; then |
6847 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6902 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6848 | else | | 6903 | else |
6849 | cat >conftest.$ac_ext <<_ACEOF | | 6904 | cat >conftest.$ac_ext <<_ACEOF |
6850 | #line 6850 "configure" | | 6905 | #line 6905 "configure" |
6851 | #include "confdefs.h" | | 6906 | #include "confdefs.h" |
6852 | #include <sys/endian.h> | | 6907 | #include <sys/endian.h> |
6853 | | | 6908 | |
6854 | int | | 6909 | int |
6855 | main () | | 6910 | main () |
6856 | { | | 6911 | { |
6857 | #ifndef le32enc | | 6912 | #ifndef le32enc |
6858 | char *p = (char *) le32enc; | | 6913 | char *p = (char *) le32enc; |
6859 | #endif | | 6914 | #endif |
6860 | | | 6915 | |
6861 | ; | | 6916 | ; |
6862 | return 0; | | 6917 | return 0; |
6863 | } | | 6918 | } |
6864 | _ACEOF | | 6919 | _ACEOF |
6865 | rm -f conftest.$ac_objext | | 6920 | rm -f conftest.$ac_objext |
6866 | if { (eval echo "$as_me:6866: \"$ac_compile\"") >&5 | | 6921 | if { (eval echo "$as_me:6921: \"$ac_compile\"") >&5 |
6867 | (eval $ac_compile) 2>&5 | | 6922 | (eval $ac_compile) 2>&5 |
6868 | ac_status=$? | | 6923 | ac_status=$? |
6869 | echo "$as_me:6869: \$? = $ac_status" >&5 | | 6924 | echo "$as_me:6924: \$? = $ac_status" >&5 |
6870 | (exit $ac_status); } && | | 6925 | (exit $ac_status); } && |
6871 | { ac_try='test -s conftest.$ac_objext' | | 6926 | { ac_try='test -s conftest.$ac_objext' |
6872 | { (eval echo "$as_me:6872: \"$ac_try\"") >&5 | | 6927 | { (eval echo "$as_me:6927: \"$ac_try\"") >&5 |
6873 | (eval $ac_try) 2>&5 | | 6928 | (eval $ac_try) 2>&5 |
6874 | ac_status=$? | | 6929 | ac_status=$? |
6875 | echo "$as_me:6875: \$? = $ac_status" >&5 | | 6930 | echo "$as_me:6930: \$? = $ac_status" >&5 |
6876 | (exit $ac_status); }; }; then | | 6931 | (exit $ac_status); }; }; then |
6877 | ac_cv_have_decl_le32enc=yes | | 6932 | ac_cv_have_decl_le32enc=yes |
6878 | else | | 6933 | else |
6879 | echo "$as_me: failed program was:" >&5 | | 6934 | echo "$as_me: failed program was:" >&5 |
6880 | cat conftest.$ac_ext >&5 | | 6935 | cat conftest.$ac_ext >&5 |
6881 | ac_cv_have_decl_le32enc=no | | 6936 | ac_cv_have_decl_le32enc=no |
6882 | fi | | 6937 | fi |
6883 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6938 | rm -f conftest.$ac_objext conftest.$ac_ext |
6884 | fi | | 6939 | fi |
6885 | echo "$as_me:6885: result: $ac_cv_have_decl_le32enc" >&5 | | 6940 | echo "$as_me:6940: result: $ac_cv_have_decl_le32enc" >&5 |
6886 | echo "${ECHO_T}$ac_cv_have_decl_le32enc" >&6 | | 6941 | echo "${ECHO_T}$ac_cv_have_decl_le32enc" >&6 |
6887 | if test $ac_cv_have_decl_le32enc = yes; then | | 6942 | if test $ac_cv_have_decl_le32enc = yes; then |
6888 | | | 6943 | |
6889 | cat >>confdefs.h <<EOF | | 6944 | cat >>confdefs.h <<EOF |
6890 | #define HAVE_DECL_LE32ENC 1 | | 6945 | #define HAVE_DECL_LE32ENC 1 |
6891 | EOF | | 6946 | EOF |
6892 | | | 6947 | |
6893 | else | | 6948 | else |
6894 | cat >>confdefs.h <<EOF | | 6949 | cat >>confdefs.h <<EOF |
6895 | #define HAVE_DECL_LE32ENC 0 | | 6950 | #define HAVE_DECL_LE32ENC 0 |
6896 | EOF | | 6951 | EOF |
6897 | | | 6952 | |
6898 | fi | | 6953 | fi |
6899 | echo "$as_me:6899: checking whether be32dec is declared" >&5 | | 6954 | echo "$as_me:6954: checking whether be32dec is declared" >&5 |
6900 | echo $ECHO_N "checking whether be32dec is declared... $ECHO_C" >&6 | | 6955 | echo $ECHO_N "checking whether be32dec is declared... $ECHO_C" >&6 |
6901 | if test "${ac_cv_have_decl_be32dec+set}" = set; then | | 6956 | if test "${ac_cv_have_decl_be32dec+set}" = set; then |
6902 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 6957 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6903 | else | | 6958 | else |
6904 | cat >conftest.$ac_ext <<_ACEOF | | 6959 | cat >conftest.$ac_ext <<_ACEOF |
6905 | #line 6905 "configure" | | 6960 | #line 6960 "configure" |
6906 | #include "confdefs.h" | | 6961 | #include "confdefs.h" |
6907 | #include <sys/endian.h> | | 6962 | #include <sys/endian.h> |
6908 | | | 6963 | |
6909 | int | | 6964 | int |
6910 | main () | | 6965 | main () |
6911 | { | | 6966 | { |
6912 | #ifndef be32dec | | 6967 | #ifndef be32dec |
6913 | char *p = (char *) be32dec; | | 6968 | char *p = (char *) be32dec; |
6914 | #endif | | 6969 | #endif |
6915 | | | 6970 | |
6916 | ; | | 6971 | ; |
6917 | return 0; | | 6972 | return 0; |
6918 | } | | 6973 | } |
6919 | _ACEOF | | 6974 | _ACEOF |
6920 | rm -f conftest.$ac_objext | | 6975 | rm -f conftest.$ac_objext |
6921 | if { (eval echo "$as_me:6921: \"$ac_compile\"") >&5 | | 6976 | if { (eval echo "$as_me:6976: \"$ac_compile\"") >&5 |
6922 | (eval $ac_compile) 2>&5 | | 6977 | (eval $ac_compile) 2>&5 |
6923 | ac_status=$? | | 6978 | ac_status=$? |
6924 | echo "$as_me:6924: \$? = $ac_status" >&5 | | 6979 | echo "$as_me:6979: \$? = $ac_status" >&5 |
6925 | (exit $ac_status); } && | | 6980 | (exit $ac_status); } && |
6926 | { ac_try='test -s conftest.$ac_objext' | | 6981 | { ac_try='test -s conftest.$ac_objext' |
6927 | { (eval echo "$as_me:6927: \"$ac_try\"") >&5 | | 6982 | { (eval echo "$as_me:6982: \"$ac_try\"") >&5 |
6928 | (eval $ac_try) 2>&5 | | 6983 | (eval $ac_try) 2>&5 |
6929 | ac_status=$? | | 6984 | ac_status=$? |
6930 | echo "$as_me:6930: \$? = $ac_status" >&5 | | 6985 | echo "$as_me:6985: \$? = $ac_status" >&5 |
6931 | (exit $ac_status); }; }; then | | 6986 | (exit $ac_status); }; }; then |
6932 | ac_cv_have_decl_be32dec=yes | | 6987 | ac_cv_have_decl_be32dec=yes |
6933 | else | | 6988 | else |
6934 | echo "$as_me: failed program was:" >&5 | | 6989 | echo "$as_me: failed program was:" >&5 |
6935 | cat conftest.$ac_ext >&5 | | 6990 | cat conftest.$ac_ext >&5 |
6936 | ac_cv_have_decl_be32dec=no | | 6991 | ac_cv_have_decl_be32dec=no |
6937 | fi | | 6992 | fi |
6938 | rm -f conftest.$ac_objext conftest.$ac_ext | | 6993 | rm -f conftest.$ac_objext conftest.$ac_ext |
6939 | fi | | 6994 | fi |
6940 | echo "$as_me:6940: result: $ac_cv_have_decl_be32dec" >&5 | | 6995 | echo "$as_me:6995: result: $ac_cv_have_decl_be32dec" >&5 |
6941 | echo "${ECHO_T}$ac_cv_have_decl_be32dec" >&6 | | 6996 | echo "${ECHO_T}$ac_cv_have_decl_be32dec" >&6 |
6942 | if test $ac_cv_have_decl_be32dec = yes; then | | 6997 | if test $ac_cv_have_decl_be32dec = yes; then |
6943 | | | 6998 | |
6944 | cat >>confdefs.h <<EOF | | 6999 | cat >>confdefs.h <<EOF |
6945 | #define HAVE_DECL_BE32DEC 1 | | 7000 | #define HAVE_DECL_BE32DEC 1 |
6946 | EOF | | 7001 | EOF |
6947 | | | 7002 | |
6948 | else | | 7003 | else |
6949 | cat >>confdefs.h <<EOF | | 7004 | cat >>confdefs.h <<EOF |
6950 | #define HAVE_DECL_BE32DEC 0 | | 7005 | #define HAVE_DECL_BE32DEC 0 |
6951 | EOF | | 7006 | EOF |
6952 | | | 7007 | |
6953 | fi | | 7008 | fi |
6954 | echo "$as_me:6954: checking whether le32dec is declared" >&5 | | 7009 | echo "$as_me:7009: checking whether le32dec is declared" >&5 |
6955 | echo $ECHO_N "checking whether le32dec is declared... $ECHO_C" >&6 | | 7010 | echo $ECHO_N "checking whether le32dec is declared... $ECHO_C" >&6 |
6956 | if test "${ac_cv_have_decl_le32dec+set}" = set; then | | 7011 | if test "${ac_cv_have_decl_le32dec+set}" = set; then |
6957 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 7012 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6958 | else | | 7013 | else |
6959 | cat >conftest.$ac_ext <<_ACEOF | | 7014 | cat >conftest.$ac_ext <<_ACEOF |
6960 | #line 6960 "configure" | | 7015 | #line 7015 "configure" |
6961 | #include "confdefs.h" | | 7016 | #include "confdefs.h" |
6962 | #include <sys/endian.h> | | 7017 | #include <sys/endian.h> |
6963 | | | 7018 | |
6964 | int | | 7019 | int |
6965 | main () | | 7020 | main () |
6966 | { | | 7021 | { |
6967 | #ifndef le32dec | | 7022 | #ifndef le32dec |
6968 | char *p = (char *) le32dec; | | 7023 | char *p = (char *) le32dec; |
6969 | #endif | | 7024 | #endif |
6970 | | | 7025 | |
6971 | ; | | 7026 | ; |
6972 | return 0; | | 7027 | return 0; |
6973 | } | | 7028 | } |
6974 | _ACEOF | | 7029 | _ACEOF |
6975 | rm -f conftest.$ac_objext | | 7030 | rm -f conftest.$ac_objext |
6976 | if { (eval echo "$as_me:6976: \"$ac_compile\"") >&5 | | 7031 | if { (eval echo "$as_me:7031: \"$ac_compile\"") >&5 |
6977 | (eval $ac_compile) 2>&5 | | 7032 | (eval $ac_compile) 2>&5 |
6978 | ac_status=$? | | 7033 | ac_status=$? |
6979 | echo "$as_me:6979: \$? = $ac_status" >&5 | | 7034 | echo "$as_me:7034: \$? = $ac_status" >&5 |
6980 | (exit $ac_status); } && | | 7035 | (exit $ac_status); } && |
6981 | { ac_try='test -s conftest.$ac_objext' | | 7036 | { ac_try='test -s conftest.$ac_objext' |
6982 | { (eval echo "$as_me:6982: \"$ac_try\"") >&5 | | 7037 | { (eval echo "$as_me:7037: \"$ac_try\"") >&5 |
6983 | (eval $ac_try) 2>&5 | | 7038 | (eval $ac_try) 2>&5 |
6984 | ac_status=$? | | 7039 | ac_status=$? |
6985 | echo "$as_me:6985: \$? = $ac_status" >&5 | | 7040 | echo "$as_me:7040: \$? = $ac_status" >&5 |
6986 | (exit $ac_status); }; }; then | | 7041 | (exit $ac_status); }; }; then |
6987 | ac_cv_have_decl_le32dec=yes | | 7042 | ac_cv_have_decl_le32dec=yes |
6988 | else | | 7043 | else |
6989 | echo "$as_me: failed program was:" >&5 | | 7044 | echo "$as_me: failed program was:" >&5 |
6990 | cat conftest.$ac_ext >&5 | | 7045 | cat conftest.$ac_ext >&5 |
6991 | ac_cv_have_decl_le32dec=no | | 7046 | ac_cv_have_decl_le32dec=no |
6992 | fi | | 7047 | fi |
6993 | rm -f conftest.$ac_objext conftest.$ac_ext | | 7048 | rm -f conftest.$ac_objext conftest.$ac_ext |
6994 | fi | | 7049 | fi |
6995 | echo "$as_me:6995: result: $ac_cv_have_decl_le32dec" >&5 | | 7050 | echo "$as_me:7050: result: $ac_cv_have_decl_le32dec" >&5 |
6996 | echo "${ECHO_T}$ac_cv_have_decl_le32dec" >&6 | | 7051 | echo "${ECHO_T}$ac_cv_have_decl_le32dec" >&6 |
6997 | if test $ac_cv_have_decl_le32dec = yes; then | | 7052 | if test $ac_cv_have_decl_le32dec = yes; then |
6998 | | | 7053 | |
6999 | cat >>confdefs.h <<EOF | | 7054 | cat >>confdefs.h <<EOF |
7000 | #define HAVE_DECL_LE32DEC 1 | | 7055 | #define HAVE_DECL_LE32DEC 1 |
7001 | EOF | | 7056 | EOF |
7002 | | | 7057 | |
7003 | else | | 7058 | else |
7004 | cat >>confdefs.h <<EOF | | 7059 | cat >>confdefs.h <<EOF |
7005 | #define HAVE_DECL_LE32DEC 0 | | 7060 | #define HAVE_DECL_LE32DEC 0 |
7006 | EOF | | 7061 | EOF |
7007 | | | 7062 | |
7008 | fi | | 7063 | fi |
7009 | echo "$as_me:7009: checking whether be64enc is declared" >&5 | | 7064 | echo "$as_me:7064: checking whether be64enc is declared" >&5 |
7010 | echo $ECHO_N "checking whether be64enc is declared... $ECHO_C" >&6 | | 7065 | echo $ECHO_N "checking whether be64enc is declared... $ECHO_C" >&6 |
7011 | if test "${ac_cv_have_decl_be64enc+set}" = set; then | | 7066 | if test "${ac_cv_have_decl_be64enc+set}" = set; then |
7012 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 7067 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7013 | else | | 7068 | else |
7014 | cat >conftest.$ac_ext <<_ACEOF | | 7069 | cat >conftest.$ac_ext <<_ACEOF |
7015 | #line 7015 "configure" | | 7070 | #line 7070 "configure" |
7016 | #include "confdefs.h" | | 7071 | #include "confdefs.h" |
7017 | #include <sys/endian.h> | | 7072 | #include <sys/endian.h> |
7018 | | | 7073 | |
7019 | int | | 7074 | int |
7020 | main () | | 7075 | main () |
7021 | { | | 7076 | { |
7022 | #ifndef be64enc | | 7077 | #ifndef be64enc |
7023 | char *p = (char *) be64enc; | | 7078 | char *p = (char *) be64enc; |
7024 | #endif | | 7079 | #endif |
7025 | | | 7080 | |
7026 | ; | | 7081 | ; |
7027 | return 0; | | 7082 | return 0; |
7028 | } | | 7083 | } |
7029 | _ACEOF | | 7084 | _ACEOF |
7030 | rm -f conftest.$ac_objext | | 7085 | rm -f conftest.$ac_objext |
7031 | if { (eval echo "$as_me:7031: \"$ac_compile\"") >&5 | | 7086 | if { (eval echo "$as_me:7086: \"$ac_compile\"") >&5 |
7032 | (eval $ac_compile) 2>&5 | | 7087 | (eval $ac_compile) 2>&5 |
7033 | ac_status=$? | | 7088 | ac_status=$? |
7034 | echo "$as_me:7034: \$? = $ac_status" >&5 | | 7089 | echo "$as_me:7089: \$? = $ac_status" >&5 |
7035 | (exit $ac_status); } && | | 7090 | (exit $ac_status); } && |
7036 | { ac_try='test -s conftest.$ac_objext' | | 7091 | { ac_try='test -s conftest.$ac_objext' |
7037 | { (eval echo "$as_me:7037: \"$ac_try\"") >&5 | | 7092 | { (eval echo "$as_me:7092: \"$ac_try\"") >&5 |
7038 | (eval $ac_try) 2>&5 | | 7093 | (eval $ac_try) 2>&5 |
7039 | ac_status=$? | | 7094 | ac_status=$? |
7040 | echo "$as_me:7040: \$? = $ac_status" >&5 | | 7095 | echo "$as_me:7095: \$? = $ac_status" >&5 |
7041 | (exit $ac_status); }; }; then | | 7096 | (exit $ac_status); }; }; then |
7042 | ac_cv_have_decl_be64enc=yes | | 7097 | ac_cv_have_decl_be64enc=yes |
7043 | else | | 7098 | else |
7044 | echo "$as_me: failed program was:" >&5 | | 7099 | echo "$as_me: failed program was:" >&5 |
7045 | cat conftest.$ac_ext >&5 | | 7100 | cat conftest.$ac_ext >&5 |
7046 | ac_cv_have_decl_be64enc=no | | 7101 | ac_cv_have_decl_be64enc=no |
7047 | fi | | 7102 | fi |
7048 | rm -f conftest.$ac_objext conftest.$ac_ext | | 7103 | rm -f conftest.$ac_objext conftest.$ac_ext |
7049 | fi | | 7104 | fi |
7050 | echo "$as_me:7050: result: $ac_cv_have_decl_be64enc" >&5 | | 7105 | echo "$as_me:7105: result: $ac_cv_have_decl_be64enc" >&5 |
7051 | echo "${ECHO_T}$ac_cv_have_decl_be64enc" >&6 | | 7106 | echo "${ECHO_T}$ac_cv_have_decl_be64enc" >&6 |
7052 | if test $ac_cv_have_decl_be64enc = yes; then | | 7107 | if test $ac_cv_have_decl_be64enc = yes; then |
7053 | | | 7108 | |
7054 | cat >>confdefs.h <<EOF | | 7109 | cat >>confdefs.h <<EOF |
7055 | #define HAVE_DECL_BE64ENC 1 | | 7110 | #define HAVE_DECL_BE64ENC 1 |
7056 | EOF | | 7111 | EOF |
7057 | | | 7112 | |
7058 | else | | 7113 | else |
7059 | cat >>confdefs.h <<EOF | | 7114 | cat >>confdefs.h <<EOF |
7060 | #define HAVE_DECL_BE64ENC 0 | | 7115 | #define HAVE_DECL_BE64ENC 0 |
7061 | EOF | | 7116 | EOF |
7062 | | | 7117 | |
7063 | fi | | 7118 | fi |
7064 | echo "$as_me:7064: checking whether le64enc is declared" >&5 | | 7119 | echo "$as_me:7119: checking whether le64enc is declared" >&5 |
7065 | echo $ECHO_N "checking whether le64enc is declared... $ECHO_C" >&6 | | 7120 | echo $ECHO_N "checking whether le64enc is declared... $ECHO_C" >&6 |
7066 | if test "${ac_cv_have_decl_le64enc+set}" = set; then | | 7121 | if test "${ac_cv_have_decl_le64enc+set}" = set; then |
7067 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 7122 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7068 | else | | 7123 | else |
7069 | cat >conftest.$ac_ext <<_ACEOF | | 7124 | cat >conftest.$ac_ext <<_ACEOF |
7070 | #line 7070 "configure" | | 7125 | #line 7125 "configure" |
7071 | #include "confdefs.h" | | 7126 | #include "confdefs.h" |
7072 | #include <sys/endian.h> | | 7127 | #include <sys/endian.h> |
7073 | | | 7128 | |
7074 | int | | 7129 | int |
7075 | main () | | 7130 | main () |
7076 | { | | 7131 | { |
7077 | #ifndef le64enc | | 7132 | #ifndef le64enc |
7078 | char *p = (char *) le64enc; | | 7133 | char *p = (char *) le64enc; |
7079 | #endif | | 7134 | #endif |
7080 | | | 7135 | |
7081 | ; | | 7136 | ; |
7082 | return 0; | | 7137 | return 0; |
7083 | } | | 7138 | } |
7084 | _ACEOF | | 7139 | _ACEOF |
7085 | rm -f conftest.$ac_objext | | 7140 | rm -f conftest.$ac_objext |
7086 | if { (eval echo "$as_me:7086: \"$ac_compile\"") >&5 | | 7141 | if { (eval echo "$as_me:7141: \"$ac_compile\"") >&5 |
7087 | (eval $ac_compile) 2>&5 | | 7142 | (eval $ac_compile) 2>&5 |
7088 | ac_status=$? | | 7143 | ac_status=$? |
7089 | echo "$as_me:7089: \$? = $ac_status" >&5 | | 7144 | echo "$as_me:7144: \$? = $ac_status" >&5 |
7090 | (exit $ac_status); } && | | 7145 | (exit $ac_status); } && |
7091 | { ac_try='test -s conftest.$ac_objext' | | 7146 | { ac_try='test -s conftest.$ac_objext' |
7092 | { (eval echo "$as_me:7092: \"$ac_try\"") >&5 | | 7147 | { (eval echo "$as_me:7147: \"$ac_try\"") >&5 |
7093 | (eval $ac_try) 2>&5 | | 7148 | (eval $ac_try) 2>&5 |
7094 | ac_status=$? | | 7149 | ac_status=$? |
7095 | echo "$as_me:7095: \$? = $ac_status" >&5 | | 7150 | echo "$as_me:7150: \$? = $ac_status" >&5 |
7096 | (exit $ac_status); }; }; then | | 7151 | (exit $ac_status); }; }; then |
7097 | ac_cv_have_decl_le64enc=yes | | 7152 | ac_cv_have_decl_le64enc=yes |
7098 | else | | 7153 | else |
7099 | echo "$as_me: failed program was:" >&5 | | 7154 | echo "$as_me: failed program was:" >&5 |
7100 | cat conftest.$ac_ext >&5 | | 7155 | cat conftest.$ac_ext >&5 |
7101 | ac_cv_have_decl_le64enc=no | | 7156 | ac_cv_have_decl_le64enc=no |
7102 | fi | | 7157 | fi |
7103 | rm -f conftest.$ac_objext conftest.$ac_ext | | 7158 | rm -f conftest.$ac_objext conftest.$ac_ext |
7104 | fi | | 7159 | fi |
7105 | echo "$as_me:7105: result: $ac_cv_have_decl_le64enc" >&5 | | 7160 | echo "$as_me:7160: result: $ac_cv_have_decl_le64enc" >&5 |
7106 | echo "${ECHO_T}$ac_cv_have_decl_le64enc" >&6 | | 7161 | echo "${ECHO_T}$ac_cv_have_decl_le64enc" >&6 |
7107 | if test $ac_cv_have_decl_le64enc = yes; then | | 7162 | if test $ac_cv_have_decl_le64enc = yes; then |
7108 | | | 7163 | |
7109 | cat >>confdefs.h <<EOF | | 7164 | cat >>confdefs.h <<EOF |
7110 | #define HAVE_DECL_LE64ENC 1 | | 7165 | #define HAVE_DECL_LE64ENC 1 |
7111 | EOF | | 7166 | EOF |
7112 | | | 7167 | |
7113 | else | | 7168 | else |
7114 | cat >>confdefs.h <<EOF | | 7169 | cat >>confdefs.h <<EOF |
7115 | #define HAVE_DECL_LE64ENC 0 | | 7170 | #define HAVE_DECL_LE64ENC 0 |
7116 | EOF | | 7171 | EOF |
7117 | | | 7172 | |
7118 | fi | | 7173 | fi |
7119 | echo "$as_me:7119: checking whether be64dec is declared" >&5 | | 7174 | echo "$as_me:7174: checking whether be64dec is declared" >&5 |
7120 | echo $ECHO_N "checking whether be64dec is declared... $ECHO_C" >&6 | | 7175 | echo $ECHO_N "checking whether be64dec is declared... $ECHO_C" >&6 |
7121 | if test "${ac_cv_have_decl_be64dec+set}" = set; then | | 7176 | if test "${ac_cv_have_decl_be64dec+set}" = set; then |
7122 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 7177 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7123 | else | | 7178 | else |
7124 | cat >conftest.$ac_ext <<_ACEOF | | 7179 | cat >conftest.$ac_ext <<_ACEOF |
7125 | #line 7125 "configure" | | 7180 | #line 7180 "configure" |
7126 | #include "confdefs.h" | | 7181 | #include "confdefs.h" |
7127 | #include <sys/endian.h> | | 7182 | #include <sys/endian.h> |
7128 | | | 7183 | |
7129 | int | | 7184 | int |
7130 | main () | | 7185 | main () |
7131 | { | | 7186 | { |
7132 | #ifndef be64dec | | 7187 | #ifndef be64dec |
7133 | char *p = (char *) be64dec; | | 7188 | char *p = (char *) be64dec; |
7134 | #endif | | 7189 | #endif |
7135 | | | 7190 | |
7136 | ; | | 7191 | ; |
7137 | return 0; | | 7192 | return 0; |
7138 | } | | 7193 | } |
7139 | _ACEOF | | 7194 | _ACEOF |
7140 | rm -f conftest.$ac_objext | | 7195 | rm -f conftest.$ac_objext |
7141 | if { (eval echo "$as_me:7141: \"$ac_compile\"") >&5 | | 7196 | if { (eval echo "$as_me:7196: \"$ac_compile\"") >&5 |
7142 | (eval $ac_compile) 2>&5 | | 7197 | (eval $ac_compile) 2>&5 |
7143 | ac_status=$? | | 7198 | ac_status=$? |
7144 | echo "$as_me:7144: \$? = $ac_status" >&5 | | 7199 | echo "$as_me:7199: \$? = $ac_status" >&5 |
7145 | (exit $ac_status); } && | | 7200 | (exit $ac_status); } && |
7146 | { ac_try='test -s conftest.$ac_objext' | | 7201 | { ac_try='test -s conftest.$ac_objext' |
7147 | { (eval echo "$as_me:7147: \"$ac_try\"") >&5 | | 7202 | { (eval echo "$as_me:7202: \"$ac_try\"") >&5 |
7148 | (eval $ac_try) 2>&5 | | 7203 | (eval $ac_try) 2>&5 |
7149 | ac_status=$? | | 7204 | ac_status=$? |
7150 | echo "$as_me:7150: \$? = $ac_status" >&5 | | 7205 | echo "$as_me:7205: \$? = $ac_status" >&5 |
7151 | (exit $ac_status); }; }; then | | 7206 | (exit $ac_status); }; }; then |
7152 | ac_cv_have_decl_be64dec=yes | | 7207 | ac_cv_have_decl_be64dec=yes |
7153 | else | | 7208 | else |
7154 | echo "$as_me: failed program was:" >&5 | | 7209 | echo "$as_me: failed program was:" >&5 |
7155 | cat conftest.$ac_ext >&5 | | 7210 | cat conftest.$ac_ext >&5 |
7156 | ac_cv_have_decl_be64dec=no | | 7211 | ac_cv_have_decl_be64dec=no |
7157 | fi | | 7212 | fi |
7158 | rm -f conftest.$ac_objext conftest.$ac_ext | | 7213 | rm -f conftest.$ac_objext conftest.$ac_ext |
7159 | fi | | 7214 | fi |
7160 | echo "$as_me:7160: result: $ac_cv_have_decl_be64dec" >&5 | | 7215 | echo "$as_me:7215: result: $ac_cv_have_decl_be64dec" >&5 |
7161 | echo "${ECHO_T}$ac_cv_have_decl_be64dec" >&6 | | 7216 | echo "${ECHO_T}$ac_cv_have_decl_be64dec" >&6 |
7162 | if test $ac_cv_have_decl_be64dec = yes; then | | 7217 | if test $ac_cv_have_decl_be64dec = yes; then |
7163 | | | 7218 | |
7164 | cat >>confdefs.h <<EOF | | 7219 | cat >>confdefs.h <<EOF |
7165 | #define HAVE_DECL_BE64DEC 1 | | 7220 | #define HAVE_DECL_BE64DEC 1 |
7166 | EOF | | 7221 | EOF |
7167 | | | 7222 | |
7168 | else | | 7223 | else |
7169 | cat >>confdefs.h <<EOF | | 7224 | cat >>confdefs.h <<EOF |
7170 | #define HAVE_DECL_BE64DEC 0 | | 7225 | #define HAVE_DECL_BE64DEC 0 |
7171 | EOF | | 7226 | EOF |
7172 | | | 7227 | |
7173 | fi | | 7228 | fi |
7174 | echo "$as_me:7174: checking whether le64dec is declared" >&5 | | 7229 | echo "$as_me:7229: checking whether le64dec is declared" >&5 |
7175 | echo $ECHO_N "checking whether le64dec is declared... $ECHO_C" >&6 | | 7230 | echo $ECHO_N "checking whether le64dec is declared... $ECHO_C" >&6 |
7176 | if test "${ac_cv_have_decl_le64dec+set}" = set; then | | 7231 | if test "${ac_cv_have_decl_le64dec+set}" = set; then |
7177 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 7232 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7178 | else | | 7233 | else |
7179 | cat >conftest.$ac_ext <<_ACEOF | | 7234 | cat >conftest.$ac_ext <<_ACEOF |
7180 | #line 7180 "configure" | | 7235 | #line 7235 "configure" |
7181 | #include "confdefs.h" | | 7236 | #include "confdefs.h" |
7182 | #include <sys/endian.h> | | 7237 | #include <sys/endian.h> |
7183 | | | 7238 | |
7184 | int | | 7239 | int |
7185 | main () | | 7240 | main () |
7186 | { | | 7241 | { |
7187 | #ifndef le64dec | | 7242 | #ifndef le64dec |
7188 | char *p = (char *) le64dec; | | 7243 | char *p = (char *) le64dec; |
7189 | #endif | | 7244 | #endif |
7190 | | | 7245 | |
7191 | ; | | 7246 | ; |
7192 | return 0; | | 7247 | return 0; |
7193 | } | | 7248 | } |
7194 | _ACEOF | | 7249 | _ACEOF |
7195 | rm -f conftest.$ac_objext | | 7250 | rm -f conftest.$ac_objext |
7196 | if { (eval echo "$as_me:7196: \"$ac_compile\"") >&5 | | 7251 | if { (eval echo "$as_me:7251: \"$ac_compile\"") >&5 |
7197 | (eval $ac_compile) 2>&5 | | 7252 | (eval $ac_compile) 2>&5 |
7198 | ac_status=$? | | 7253 | ac_status=$? |
7199 | echo "$as_me:7199: \$? = $ac_status" >&5 | | 7254 | echo "$as_me:7254: \$? = $ac_status" >&5 |
7200 | (exit $ac_status); } && | | 7255 | (exit $ac_status); } && |
7201 | { ac_try='test -s conftest.$ac_objext' | | 7256 | { ac_try='test -s conftest.$ac_objext' |
7202 | { (eval echo "$as_me:7202: \"$ac_try\"") >&5 | | 7257 | { (eval echo "$as_me:7257: \"$ac_try\"") >&5 |
7203 | (eval $ac_try) 2>&5 | | 7258 | (eval $ac_try) 2>&5 |
7204 | ac_status=$? | | 7259 | ac_status=$? |
7205 | echo "$as_me:7205: \$? = $ac_status" >&5 | | 7260 | echo "$as_me:7260: \$? = $ac_status" >&5 |
7206 | (exit $ac_status); }; }; then | | 7261 | (exit $ac_status); }; }; then |
7207 | ac_cv_have_decl_le64dec=yes | | 7262 | ac_cv_have_decl_le64dec=yes |
7208 | else | | 7263 | else |
7209 | echo "$as_me: failed program was:" >&5 | | 7264 | echo "$as_me: failed program was:" >&5 |
7210 | cat conftest.$ac_ext >&5 | | 7265 | cat conftest.$ac_ext >&5 |
7211 | ac_cv_have_decl_le64dec=no | | 7266 | ac_cv_have_decl_le64dec=no |
7212 | fi | | 7267 | fi |
7213 | rm -f conftest.$ac_objext conftest.$ac_ext | | 7268 | rm -f conftest.$ac_objext conftest.$ac_ext |
7214 | fi | | 7269 | fi |
7215 | echo "$as_me:7215: result: $ac_cv_have_decl_le64dec" >&5 | | 7270 | echo "$as_me:7270: result: $ac_cv_have_decl_le64dec" >&5 |
7216 | echo "${ECHO_T}$ac_cv_have_decl_le64dec" >&6 | | 7271 | echo "${ECHO_T}$ac_cv_have_decl_le64dec" >&6 |
7217 | if test $ac_cv_have_decl_le64dec = yes; then | | 7272 | if test $ac_cv_have_decl_le64dec = yes; then |
7218 | | | 7273 | |
7219 | cat >>confdefs.h <<EOF | | 7274 | cat >>confdefs.h <<EOF |
7220 | #define HAVE_DECL_LE64DEC 1 | | 7275 | #define HAVE_DECL_LE64DEC 1 |
7221 | EOF | | 7276 | EOF |
7222 | | | 7277 | |
7223 | else | | 7278 | else |
7224 | cat >>confdefs.h <<EOF | | 7279 | cat >>confdefs.h <<EOF |
7225 | #define HAVE_DECL_LE64DEC 0 | | 7280 | #define HAVE_DECL_LE64DEC 0 |
7226 | EOF | | 7281 | EOF |
7227 | | | 7282 | |
7228 | fi | | 7283 | fi |
7229 | | | 7284 | |
7230 | echo "$as_me:7230: checking whether fstatvfs is declared" >&5 | | 7285 | echo "$as_me:7285: checking whether fstatvfs is declared" >&5 |
7231 | echo $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6 | | 7286 | echo $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6 |
7232 | if test "${ac_cv_have_decl_fstatvfs+set}" = set; then | | 7287 | if test "${ac_cv_have_decl_fstatvfs+set}" = set; then |
7233 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 7288 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7234 | else | | 7289 | else |
7235 | cat >conftest.$ac_ext <<_ACEOF | | 7290 | cat >conftest.$ac_ext <<_ACEOF |
7236 | #line 7236 "configure" | | 7291 | #line 7291 "configure" |
7237 | #include "confdefs.h" | | 7292 | #include "confdefs.h" |
7238 | #include <sys/statvfs.h> | | 7293 | #include <sys/statvfs.h> |
7239 | | | 7294 | |
7240 | int | | 7295 | int |
7241 | main () | | 7296 | main () |
7242 | { | | 7297 | { |
7243 | #ifndef fstatvfs | | 7298 | #ifndef fstatvfs |
7244 | char *p = (char *) fstatvfs; | | 7299 | char *p = (char *) fstatvfs; |
7245 | #endif | | 7300 | #endif |
7246 | | | 7301 | |
7247 | ; | | 7302 | ; |
7248 | return 0; | | 7303 | return 0; |
7249 | } | | 7304 | } |
7250 | _ACEOF | | 7305 | _ACEOF |
7251 | rm -f conftest.$ac_objext | | 7306 | rm -f conftest.$ac_objext |
7252 | if { (eval echo "$as_me:7252: \"$ac_compile\"") >&5 | | 7307 | if { (eval echo "$as_me:7307: \"$ac_compile\"") >&5 |
7253 | (eval $ac_compile) 2>&5 | | 7308 | (eval $ac_compile) 2>&5 |
7254 | ac_status=$? | | 7309 | ac_status=$? |
7255 | echo "$as_me:7255: \$? = $ac_status" >&5 | | 7310 | echo "$as_me:7310: \$? = $ac_status" >&5 |
7256 | (exit $ac_status); } && | | 7311 | (exit $ac_status); } && |
7257 | { ac_try='test -s conftest.$ac_objext' | | 7312 | { ac_try='test -s conftest.$ac_objext' |
7258 | { (eval echo "$as_me:7258: \"$ac_try\"") >&5 | | 7313 | { (eval echo "$as_me:7313: \"$ac_try\"") >&5 |
7259 | (eval $ac_try) 2>&5 | | 7314 | (eval $ac_try) 2>&5 |
7260 | ac_status=$? | | 7315 | ac_status=$? |
7261 | echo "$as_me:7261: \$? = $ac_status" >&5 | | 7316 | echo "$as_me:7316: \$? = $ac_status" >&5 |
7262 | (exit $ac_status); }; }; then | | 7317 | (exit $ac_status); }; }; then |
7263 | ac_cv_have_decl_fstatvfs=yes | | 7318 | ac_cv_have_decl_fstatvfs=yes |
7264 | else | | 7319 | else |
7265 | echo "$as_me: failed program was:" >&5 | | 7320 | echo "$as_me: failed program was:" >&5 |
7266 | cat conftest.$ac_ext >&5 | | 7321 | cat conftest.$ac_ext >&5 |
7267 | ac_cv_have_decl_fstatvfs=no | | 7322 | ac_cv_have_decl_fstatvfs=no |
7268 | fi | | 7323 | fi |
7269 | rm -f conftest.$ac_objext conftest.$ac_ext | | 7324 | rm -f conftest.$ac_objext conftest.$ac_ext |
7270 | fi | | 7325 | fi |
7271 | echo "$as_me:7271: result: $ac_cv_have_decl_fstatvfs" >&5 | | 7326 | echo "$as_me:7326: result: $ac_cv_have_decl_fstatvfs" >&5 |
7272 | echo "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6 | | 7327 | echo "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6 |
7273 | if test $ac_cv_have_decl_fstatvfs = yes; then | | 7328 | if test $ac_cv_have_decl_fstatvfs = yes; then |
7274 | | | 7329 | |
7275 | cat >>confdefs.h <<EOF | | 7330 | cat >>confdefs.h <<EOF |
7276 | #define HAVE_DECL_FSTATVFS 1 | | 7331 | #define HAVE_DECL_FSTATVFS 1 |
7277 | EOF | | 7332 | EOF |
7278 | | | 7333 | |
7279 | else | | 7334 | else |
7280 | cat >>confdefs.h <<EOF | | 7335 | cat >>confdefs.h <<EOF |
7281 | #define HAVE_DECL_FSTATVFS 0 | | 7336 | #define HAVE_DECL_FSTATVFS 0 |
7282 | EOF | | 7337 | EOF |
7283 | | | 7338 | |
7284 | fi | | 7339 | fi |
7285 | | | 7340 | |
7286 | echo "$as_me:7286: checking whether setgroupent is declared" >&5 | | 7341 | echo "$as_me:7341: checking whether setgroupent is declared" >&5 |
7287 | echo $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6 | | 7342 | echo $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6 |
7288 | if test "${ac_cv_have_decl_setgroupent+set}" = set; then | | 7343 | if test "${ac_cv_have_decl_setgroupent+set}" = set; then |
7289 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 7344 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7290 | else | | 7345 | else |
7291 | cat >conftest.$ac_ext <<_ACEOF | | 7346 | cat >conftest.$ac_ext <<_ACEOF |
7292 | #line 7292 "configure" | | 7347 | #line 7347 "configure" |
7293 | #include "confdefs.h" | | 7348 | #include "confdefs.h" |
7294 | | | 7349 | |
7295 | #include <sys/types.h> | | 7350 | #include <sys/types.h> |
7296 | #include <grp.h> | | 7351 | #include <grp.h> |
7297 | #include <pwd.h> | | 7352 | #include <pwd.h> |
7298 | | | 7353 | |
7299 | int | | 7354 | int |
7300 | main () | | 7355 | main () |
7301 | { | | 7356 | { |
7302 | #ifndef setgroupent | | 7357 | #ifndef setgroupent |
7303 | char *p = (char *) setgroupent; | | 7358 | char *p = (char *) setgroupent; |
7304 | #endif | | 7359 | #endif |
7305 | | | 7360 | |
7306 | ; | | 7361 | ; |
7307 | return 0; | | 7362 | return 0; |
7308 | } | | 7363 | } |
7309 | _ACEOF | | 7364 | _ACEOF |
7310 | rm -f conftest.$ac_objext | | 7365 | rm -f conftest.$ac_objext |
7311 | if { (eval echo "$as_me:7311: \"$ac_compile\"") >&5 | | 7366 | if { (eval echo "$as_me:7366: \"$ac_compile\"") >&5 |
7312 | (eval $ac_compile) 2>&5 | | 7367 | (eval $ac_compile) 2>&5 |
7313 | ac_status=$? | | 7368 | ac_status=$? |
7314 | echo "$as_me:7314: \$? = $ac_status" >&5 | | 7369 | echo "$as_me:7369: \$? = $ac_status" >&5 |
7315 | (exit $ac_status); } && | | 7370 | (exit $ac_status); } && |
7316 | { ac_try='test -s conftest.$ac_objext' | | 7371 | { ac_try='test -s conftest.$ac_objext' |
7317 | { (eval echo "$as_me:7317: \"$ac_try\"") >&5 | | 7372 | { (eval echo "$as_me:7372: \"$ac_try\"") >&5 |
7318 | (eval $ac_try) 2>&5 | | 7373 | (eval $ac_try) 2>&5 |
7319 | ac_status=$? | | 7374 | ac_status=$? |
7320 | echo "$as_me:7320: \$? = $ac_status" >&5 | | 7375 | echo "$as_me:7375: \$? = $ac_status" >&5 |
7321 | (exit $ac_status); }; }; then | | 7376 | (exit $ac_status); }; }; then |
7322 | ac_cv_have_decl_setgroupent=yes | | 7377 | ac_cv_have_decl_setgroupent=yes |
7323 | else | | 7378 | else |
7324 | echo "$as_me: failed program was:" >&5 | | 7379 | echo "$as_me: failed program was:" >&5 |
7325 | cat conftest.$ac_ext >&5 | | 7380 | cat conftest.$ac_ext >&5 |
7326 | ac_cv_have_decl_setgroupent=no | | 7381 | ac_cv_have_decl_setgroupent=no |
7327 | fi | | 7382 | fi |
7328 | rm -f conftest.$ac_objext conftest.$ac_ext | | 7383 | rm -f conftest.$ac_objext conftest.$ac_ext |
7329 | fi | | 7384 | fi |
7330 | echo "$as_me:7330: result: $ac_cv_have_decl_setgroupent" >&5 | | 7385 | echo "$as_me:7385: result: $ac_cv_have_decl_setgroupent" >&5 |
7331 | echo "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6 | | 7386 | echo "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6 |
7332 | if test $ac_cv_have_decl_setgroupent = yes; then | | 7387 | if test $ac_cv_have_decl_setgroupent = yes; then |
7333 | | | 7388 | |
7334 | cat >>confdefs.h <<EOF | | 7389 | cat >>confdefs.h <<EOF |
7335 | #define HAVE_DECL_SETGROUPENT 1 | | 7390 | #define HAVE_DECL_SETGROUPENT 1 |
7336 | EOF | | 7391 | EOF |
7337 | | | 7392 | |
7338 | else | | 7393 | else |
7339 | cat >>confdefs.h <<EOF | | 7394 | cat >>confdefs.h <<EOF |
7340 | #define HAVE_DECL_SETGROUPENT 0 | | 7395 | #define HAVE_DECL_SETGROUPENT 0 |
7341 | EOF | | 7396 | EOF |
7342 | | | 7397 | |
7343 | fi | | 7398 | fi |
7344 | echo "$as_me:7344: checking whether setpassent is declared" >&5 | | 7399 | echo "$as_me:7399: checking whether setpassent is declared" >&5 |
7345 | echo $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6 | | 7400 | echo $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6 |
7346 | if test "${ac_cv_have_decl_setpassent+set}" = set; then | | 7401 | if test "${ac_cv_have_decl_setpassent+set}" = set; then |
7347 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 7402 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7348 | else | | 7403 | else |
7349 | cat >conftest.$ac_ext <<_ACEOF | | 7404 | cat >conftest.$ac_ext <<_ACEOF |
7350 | #line 7350 "configure" | | 7405 | #line 7405 "configure" |
7351 | #include "confdefs.h" | | 7406 | #include "confdefs.h" |
7352 | | | 7407 | |
7353 | #include <sys/types.h> | | 7408 | #include <sys/types.h> |
7354 | #include <grp.h> | | 7409 | #include <grp.h> |
7355 | #include <pwd.h> | | 7410 | #include <pwd.h> |
7356 | | | 7411 | |
7357 | int | | 7412 | int |
7358 | main () | | 7413 | main () |
7359 | { | | 7414 | { |
7360 | #ifndef setpassent | | 7415 | #ifndef setpassent |
7361 | char *p = (char *) setpassent; | | 7416 | char *p = (char *) setpassent; |
7362 | #endif | | 7417 | #endif |
7363 | | | 7418 | |
7364 | ; | | 7419 | ; |
7365 | return 0; | | 7420 | return 0; |
7366 | } | | 7421 | } |
7367 | _ACEOF | | 7422 | _ACEOF |
7368 | rm -f conftest.$ac_objext | | 7423 | rm -f conftest.$ac_objext |
7369 | if { (eval echo "$as_me:7369: \"$ac_compile\"") >&5 | | 7424 | if { (eval echo "$as_me:7424: \"$ac_compile\"") >&5 |
7370 | (eval $ac_compile) 2>&5 | | 7425 | (eval $ac_compile) 2>&5 |
7371 | ac_status=$? | | 7426 | ac_status=$? |
7372 | echo "$as_me:7372: \$? = $ac_status" >&5 | | 7427 | echo "$as_me:7427: \$? = $ac_status" >&5 |
7373 | (exit $ac_status); } && | | 7428 | (exit $ac_status); } && |
7374 | { ac_try='test -s conftest.$ac_objext' | | 7429 | { ac_try='test -s conftest.$ac_objext' |
7375 | { (eval echo "$as_me:7375: \"$ac_try\"") >&5 | | 7430 | { (eval echo "$as_me:7430: \"$ac_try\"") >&5 |
7376 | (eval $ac_try) 2>&5 | | 7431 | (eval $ac_try) 2>&5 |
7377 | ac_status=$? | | 7432 | ac_status=$? |
7378 | echo "$as_me:7378: \$? = $ac_status" >&5 | | 7433 | echo "$as_me:7433: \$? = $ac_status" >&5 |
7379 | (exit $ac_status); }; }; then | | 7434 | (exit $ac_status); }; }; then |
7380 | ac_cv_have_decl_setpassent=yes | | 7435 | ac_cv_have_decl_setpassent=yes |
7381 | else | | 7436 | else |
7382 | echo "$as_me: failed program was:" >&5 | | 7437 | echo "$as_me: failed program was:" >&5 |
7383 | cat conftest.$ac_ext >&5 | | 7438 | cat conftest.$ac_ext >&5 |
7384 | ac_cv_have_decl_setpassent=no | | 7439 | ac_cv_have_decl_setpassent=no |
7385 | fi | | 7440 | fi |
7386 | rm -f conftest.$ac_objext conftest.$ac_ext | | 7441 | rm -f conftest.$ac_objext conftest.$ac_ext |
7387 | fi | | 7442 | fi |
7388 | echo "$as_me:7388: result: $ac_cv_have_decl_setpassent" >&5 | | 7443 | echo "$as_me:7443: result: $ac_cv_have_decl_setpassent" >&5 |
7389 | echo "${ECHO_T}$ac_cv_have_decl_setpassent" >&6 | | 7444 | echo "${ECHO_T}$ac_cv_have_decl_setpassent" >&6 |
7390 | if test $ac_cv_have_decl_setpassent = yes; then | | 7445 | if test $ac_cv_have_decl_setpassent = yes; then |
7391 | | | 7446 | |
7392 | cat >>confdefs.h <<EOF | | 7447 | cat >>confdefs.h <<EOF |
7393 | #define HAVE_DECL_SETPASSENT 1 | | 7448 | #define HAVE_DECL_SETPASSENT 1 |
7394 | EOF | | 7449 | EOF |
7395 | | | 7450 | |
7396 | else | | 7451 | else |
7397 | cat >>confdefs.h <<EOF | | 7452 | cat >>confdefs.h <<EOF |
7398 | #define HAVE_DECL_SETPASSENT 0 | | 7453 | #define HAVE_DECL_SETPASSENT 0 |
7399 | EOF | | 7454 | EOF |
7400 | | | 7455 | |
7401 | fi | | 7456 | fi |
7402 | | | 7457 | |
7403 | # regcomp() and regexec() are also names of functions in the old V8 | | 7458 | # regcomp() and regexec() are also names of functions in the old V8 |
7404 | # regexp package. To avoid them, we need to find out who has regfree(). | | 7459 | # regexp package. To avoid them, we need to find out who has regfree(). |
7405 | | | 7460 | |
7406 | echo "$as_me:7406: checking for regfree in -lregex" >&5 | | 7461 | echo "$as_me:7461: checking for regfree in -lregex" >&5 |
7407 | echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6 | | 7462 | echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6 |
7408 | if test "${ac_cv_lib_regex_regfree+set}" = set; then | | 7463 | if test "${ac_cv_lib_regex_regfree+set}" = set; then |
7409 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 7464 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7410 | else | | 7465 | else |
7411 | ac_check_lib_save_LIBS=$LIBS | | 7466 | ac_check_lib_save_LIBS=$LIBS |
7412 | LIBS="-lregex $LIBS" | | 7467 | LIBS="-lregex $LIBS" |
7413 | cat >conftest.$ac_ext <<_ACEOF | | 7468 | cat >conftest.$ac_ext <<_ACEOF |
7414 | #line 7414 "configure" | | 7469 | #line 7469 "configure" |
7415 | #include "confdefs.h" | | 7470 | #include "confdefs.h" |
7416 | | | 7471 | |
7417 | /* Override any gcc2 internal prototype to avoid an error. */ | | 7472 | /* Override any gcc2 internal prototype to avoid an error. */ |
7418 | #ifdef __cplusplus | | 7473 | #ifdef __cplusplus |
7419 | extern "C" | | 7474 | extern "C" |
7420 | #endif | | 7475 | #endif |
7421 | /* We use char because int might match the return type of a gcc2 | | 7476 | /* We use char because int might match the return type of a gcc2 |
7422 | builtin and then its argument prototype would still apply. */ | | 7477 | builtin and then its argument prototype would still apply. */ |
7423 | char regfree (); | | 7478 | char regfree (); |
7424 | int | | 7479 | int |
7425 | main () | | 7480 | main () |
7426 | { | | 7481 | { |
7427 | regfree (); | | 7482 | regfree (); |
7428 | ; | | 7483 | ; |
7429 | return 0; | | 7484 | return 0; |
7430 | } | | 7485 | } |
7431 | _ACEOF | | 7486 | _ACEOF |
7432 | rm -f conftest.$ac_objext conftest$ac_exeext | | 7487 | rm -f conftest.$ac_objext conftest$ac_exeext |
7433 | if { (eval echo "$as_me:7433: \"$ac_link\"") >&5 | | 7488 | if { (eval echo "$as_me:7488: \"$ac_link\"") >&5 |
7434 | (eval $ac_link) 2>&5 | | 7489 | (eval $ac_link) 2>&5 |
7435 | ac_status=$? | | 7490 | ac_status=$? |
7436 | echo "$as_me:7436: \$? = $ac_status" >&5 | | 7491 | echo "$as_me:7491: \$? = $ac_status" >&5 |
7437 | (exit $ac_status); } && | | 7492 | (exit $ac_status); } && |
7438 | { ac_try='test -s conftest$ac_exeext' | | 7493 | { ac_try='test -s conftest$ac_exeext' |
7439 | { (eval echo "$as_me:7439: \"$ac_try\"") >&5 | | 7494 | { (eval echo "$as_me:7494: \"$ac_try\"") >&5 |
7440 | (eval $ac_try) 2>&5 | | 7495 | (eval $ac_try) 2>&5 |
7441 | ac_status=$? | | 7496 | ac_status=$? |
7442 | echo "$as_me:7442: \$? = $ac_status" >&5 | | 7497 | echo "$as_me:7497: \$? = $ac_status" >&5 |
7443 | (exit $ac_status); }; }; then | | 7498 | (exit $ac_status); }; }; then |
7444 | ac_cv_lib_regex_regfree=yes | | 7499 | ac_cv_lib_regex_regfree=yes |
7445 | else | | 7500 | else |
7446 | echo "$as_me: failed program was:" >&5 | | 7501 | echo "$as_me: failed program was:" >&5 |
7447 | cat conftest.$ac_ext >&5 | | 7502 | cat conftest.$ac_ext >&5 |
7448 | ac_cv_lib_regex_regfree=no | | 7503 | ac_cv_lib_regex_regfree=no |
7449 | fi | | 7504 | fi |
7450 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | 7505 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7451 | LIBS=$ac_check_lib_save_LIBS | | 7506 | LIBS=$ac_check_lib_save_LIBS |
7452 | fi | | 7507 | fi |
7453 | echo "$as_me:7453: result: $ac_cv_lib_regex_regfree" >&5 | | 7508 | echo "$as_me:7508: result: $ac_cv_lib_regex_regfree" >&5 |
7454 | echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6 | | 7509 | echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6 |
7455 | if test $ac_cv_lib_regex_regfree = yes; then | | 7510 | if test $ac_cv_lib_regex_regfree = yes; then |
7456 | cat >>confdefs.h <<EOF | | 7511 | cat >>confdefs.h <<EOF |
7457 | #define HAVE_LIBREGEX 1 | | 7512 | #define HAVE_LIBREGEX 1 |
7458 | EOF | | 7513 | EOF |
7459 | | | 7514 | |
7460 | LIBS="-lregex $LIBS" | | 7515 | LIBS="-lregex $LIBS" |
7461 | | | 7516 | |
7462 | fi | | 7517 | fi |
7463 | | | 7518 | |
7464 | echo "$as_me:7464: checking for library containing regfree" >&5 | | 7519 | echo "$as_me:7519: checking for library containing regfree" >&5 |
7465 | echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6 | | 7520 | echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6 |
7466 | if test "${ac_cv_search_regfree+set}" = set; then | | 7521 | if test "${ac_cv_search_regfree+set}" = set; then |
7467 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 7522 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7468 | else | | 7523 | else |
7469 | ac_func_search_save_LIBS=$LIBS | | 7524 | ac_func_search_save_LIBS=$LIBS |
7470 | ac_cv_search_regfree=no | | 7525 | ac_cv_search_regfree=no |
7471 | cat >conftest.$ac_ext <<_ACEOF | | 7526 | cat >conftest.$ac_ext <<_ACEOF |
7472 | #line 7472 "configure" | | 7527 | #line 7527 "configure" |
7473 | #include "confdefs.h" | | 7528 | #include "confdefs.h" |
7474 | | | 7529 | |
7475 | /* Override any gcc2 internal prototype to avoid an error. */ | | 7530 | /* Override any gcc2 internal prototype to avoid an error. */ |
7476 | #ifdef __cplusplus | | 7531 | #ifdef __cplusplus |
7477 | extern "C" | | 7532 | extern "C" |
7478 | #endif | | 7533 | #endif |
7479 | /* We use char because int might match the return type of a gcc2 | | 7534 | /* We use char because int might match the return type of a gcc2 |
7480 | builtin and then its argument prototype would still apply. */ | | 7535 | builtin and then its argument prototype would still apply. */ |
7481 | char regfree (); | | 7536 | char regfree (); |
7482 | int | | 7537 | int |
7483 | main () | | 7538 | main () |
7484 | { | | 7539 | { |
7485 | regfree (); | | 7540 | regfree (); |
7486 | ; | | 7541 | ; |
7487 | return 0; | | 7542 | return 0; |
7488 | } | | 7543 | } |
7489 | _ACEOF | | 7544 | _ACEOF |
7490 | rm -f conftest.$ac_objext conftest$ac_exeext | | 7545 | rm -f conftest.$ac_objext conftest$ac_exeext |
7491 | if { (eval echo "$as_me:7491: \"$ac_link\"") >&5 | | 7546 | if { (eval echo "$as_me:7546: \"$ac_link\"") >&5 |
7492 | (eval $ac_link) 2>&5 | | 7547 | (eval $ac_link) 2>&5 |
7493 | ac_status=$? | | 7548 | ac_status=$? |
7494 | echo "$as_me:7494: \$? = $ac_status" >&5 | | 7549 | echo "$as_me:7549: \$? = $ac_status" >&5 |
7495 | (exit $ac_status); } && | | 7550 | (exit $ac_status); } && |
7496 | { ac_try='test -s conftest$ac_exeext' | | 7551 | { ac_try='test -s conftest$ac_exeext' |
7497 | { (eval echo "$as_me:7497: \"$ac_try\"") >&5 | | 7552 | { (eval echo "$as_me:7552: \"$ac_try\"") >&5 |
7498 | (eval $ac_try) 2>&5 | | 7553 | (eval $ac_try) 2>&5 |
7499 | ac_status=$? | | 7554 | ac_status=$? |
7500 | echo "$as_me:7500: \$? = $ac_status" >&5 | | 7555 | echo "$as_me:7555: \$? = $ac_status" >&5 |
7501 | (exit $ac_status); }; }; then | | 7556 | (exit $ac_status); }; }; then |
7502 | ac_cv_search_regfree="none required" | | 7557 | ac_cv_search_regfree="none required" |
7503 | else | | 7558 | else |
7504 | echo "$as_me: failed program was:" >&5 | | 7559 | echo "$as_me: failed program was:" >&5 |
7505 | cat conftest.$ac_ext >&5 | | 7560 | cat conftest.$ac_ext >&5 |
7506 | fi | | 7561 | fi |
7507 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | 7562 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7508 | if test "$ac_cv_search_regfree" = no; then | | 7563 | if test "$ac_cv_search_regfree" = no; then |
7509 | for ac_lib in rx posix; do | | 7564 | for ac_lib in rx posix; do |
7510 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | | 7565 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
7511 | cat >conftest.$ac_ext <<_ACEOF | | 7566 | cat >conftest.$ac_ext <<_ACEOF |
7512 | #line 7512 "configure" | | 7567 | #line 7567 "configure" |
7513 | #include "confdefs.h" | | 7568 | #include "confdefs.h" |
7514 | | | 7569 | |
7515 | /* Override any gcc2 internal prototype to avoid an error. */ | | 7570 | /* Override any gcc2 internal prototype to avoid an error. */ |
7516 | #ifdef __cplusplus | | 7571 | #ifdef __cplusplus |
7517 | extern "C" | | 7572 | extern "C" |
7518 | #endif | | 7573 | #endif |
7519 | /* We use char because int might match the return type of a gcc2 | | 7574 | /* We use char because int might match the return type of a gcc2 |
7520 | builtin and then its argument prototype would still apply. */ | | 7575 | builtin and then its argument prototype would still apply. */ |
7521 | char regfree (); | | 7576 | char regfree (); |
7522 | int | | 7577 | int |
7523 | main () | | 7578 | main () |
7524 | { | | 7579 | { |
7525 | regfree (); | | 7580 | regfree (); |
7526 | ; | | 7581 | ; |
7527 | return 0; | | 7582 | return 0; |
7528 | } | | 7583 | } |
7529 | _ACEOF | | 7584 | _ACEOF |
7530 | rm -f conftest.$ac_objext conftest$ac_exeext | | 7585 | rm -f conftest.$ac_objext conftest$ac_exeext |
7531 | if { (eval echo "$as_me:7531: \"$ac_link\"") >&5 | | 7586 | if { (eval echo "$as_me:7586: \"$ac_link\"") >&5 |
7532 | (eval $ac_link) 2>&5 | | 7587 | (eval $ac_link) 2>&5 |
7533 | ac_status=$? | | 7588 | ac_status=$? |
7534 | echo "$as_me:7534: \$? = $ac_status" >&5 | | 7589 | echo "$as_me:7589: \$? = $ac_status" >&5 |
7535 | (exit $ac_status); } && | | 7590 | (exit $ac_status); } && |
7536 | { ac_try='test -s conftest$ac_exeext' | | 7591 | { ac_try='test -s conftest$ac_exeext' |
7537 | { (eval echo "$as_me:7537: \"$ac_try\"") >&5 | | 7592 | { (eval echo "$as_me:7592: \"$ac_try\"") >&5 |
7538 | (eval $ac_try) 2>&5 | | 7593 | (eval $ac_try) 2>&5 |
7539 | ac_status=$? | | 7594 | ac_status=$? |
7540 | echo "$as_me:7540: \$? = $ac_status" >&5 | | 7595 | echo "$as_me:7595: \$? = $ac_status" >&5 |
7541 | (exit $ac_status); }; }; then | | 7596 | (exit $ac_status); }; }; then |
7542 | ac_cv_search_regfree="-l$ac_lib" | | 7597 | ac_cv_search_regfree="-l$ac_lib" |
7543 | break | | 7598 | break |
7544 | else | | 7599 | else |
7545 | echo "$as_me: failed program was:" >&5 | | 7600 | echo "$as_me: failed program was:" >&5 |
7546 | cat conftest.$ac_ext >&5 | | 7601 | cat conftest.$ac_ext >&5 |
7547 | fi | | 7602 | fi |
7548 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | 7603 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7549 | done | | 7604 | done |
7550 | fi | | 7605 | fi |
7551 | LIBS=$ac_func_search_save_LIBS | | 7606 | LIBS=$ac_func_search_save_LIBS |
7552 | fi | | 7607 | fi |
7553 | echo "$as_me:7553: result: $ac_cv_search_regfree" >&5 | | 7608 | echo "$as_me:7608: result: $ac_cv_search_regfree" >&5 |
7554 | echo "${ECHO_T}$ac_cv_search_regfree" >&6 | | 7609 | echo "${ECHO_T}$ac_cv_search_regfree" >&6 |
7555 | if test "$ac_cv_search_regfree" != no; then | | 7610 | if test "$ac_cv_search_regfree" != no; then |
7556 | test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS" | | 7611 | test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS" |
7557 | | | 7612 | |
7558 | fi | | 7613 | fi |
7559 | | | 7614 | |
7560 | echo "$as_me:7560: checking for clock_gettime in -lrt" >&5 | | 7615 | echo "$as_me:7615: checking for clock_gettime in -lrt" >&5 |
7561 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6 | | 7616 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6 |
7562 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then | | 7617 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
7563 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 7618 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7564 | else | | 7619 | else |
7565 | ac_check_lib_save_LIBS=$LIBS | | 7620 | ac_check_lib_save_LIBS=$LIBS |
7566 | LIBS="-lrt $LIBS" | | 7621 | LIBS="-lrt $LIBS" |
7567 | cat >conftest.$ac_ext <<_ACEOF | | 7622 | cat >conftest.$ac_ext <<_ACEOF |
7568 | #line 7568 "configure" | | 7623 | #line 7623 "configure" |
7569 | #include "confdefs.h" | | 7624 | #include "confdefs.h" |
7570 | | | 7625 | |
7571 | /* Override any gcc2 internal prototype to avoid an error. */ | | 7626 | /* Override any gcc2 internal prototype to avoid an error. */ |
7572 | #ifdef __cplusplus | | 7627 | #ifdef __cplusplus |
7573 | extern "C" | | 7628 | extern "C" |
7574 | #endif | | 7629 | #endif |
7575 | /* We use char because int might match the return type of a gcc2 | | 7630 | /* We use char because int might match the return type of a gcc2 |
7576 | builtin and then its argument prototype would still apply. */ | | 7631 | builtin and then its argument prototype would still apply. */ |
7577 | char clock_gettime (); | | 7632 | char clock_gettime (); |
7578 | int | | 7633 | int |
7579 | main () | | 7634 | main () |
7580 | { | | 7635 | { |
7581 | clock_gettime (); | | 7636 | clock_gettime (); |
7582 | ; | | 7637 | ; |
7583 | return 0; | | 7638 | return 0; |
7584 | } | | 7639 | } |
7585 | _ACEOF | | 7640 | _ACEOF |
7586 | rm -f conftest.$ac_objext conftest$ac_exeext | | 7641 | rm -f conftest.$ac_objext conftest$ac_exeext |
7587 | if { (eval echo "$as_me:7587: \"$ac_link\"") >&5 | | 7642 | if { (eval echo "$as_me:7642: \"$ac_link\"") >&5 |
7588 | (eval $ac_link) 2>&5 | | 7643 | (eval $ac_link) 2>&5 |
7589 | ac_status=$? | | 7644 | ac_status=$? |
7590 | echo "$as_me:7590: \$? = $ac_status" >&5 | | 7645 | echo "$as_me:7645: \$? = $ac_status" >&5 |
7591 | (exit $ac_status); } && | | 7646 | (exit $ac_status); } && |
7592 | { ac_try='test -s conftest$ac_exeext' | | 7647 | { ac_try='test -s conftest$ac_exeext' |
7593 | { (eval echo "$as_me:7593: \"$ac_try\"") >&5 | | 7648 | { (eval echo "$as_me:7648: \"$ac_try\"") >&5 |
7594 | (eval $ac_try) 2>&5 | | 7649 | (eval $ac_try) 2>&5 |
7595 | ac_status=$? | | 7650 | ac_status=$? |
7596 | echo "$as_me:7596: \$? = $ac_status" >&5 | | 7651 | echo "$as_me:7651: \$? = $ac_status" >&5 |
7597 | (exit $ac_status); }; }; then | | 7652 | (exit $ac_status); }; }; then |
7598 | ac_cv_lib_rt_clock_gettime=yes | | 7653 | ac_cv_lib_rt_clock_gettime=yes |
7599 | else | | 7654 | else |
7600 | echo "$as_me: failed program was:" >&5 | | 7655 | echo "$as_me: failed program was:" >&5 |
7601 | cat conftest.$ac_ext >&5 | | 7656 | cat conftest.$ac_ext >&5 |
7602 | ac_cv_lib_rt_clock_gettime=no | | 7657 | ac_cv_lib_rt_clock_gettime=no |
7603 | fi | | 7658 | fi |
7604 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | 7659 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7605 | LIBS=$ac_check_lib_save_LIBS | | 7660 | LIBS=$ac_check_lib_save_LIBS |
7606 | fi | | 7661 | fi |
7607 | echo "$as_me:7607: result: $ac_cv_lib_rt_clock_gettime" >&5 | | 7662 | echo "$as_me:7662: result: $ac_cv_lib_rt_clock_gettime" >&5 |
7608 | echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6 | | 7663 | echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6 |
7609 | if test $ac_cv_lib_rt_clock_gettime = yes; then | | 7664 | if test $ac_cv_lib_rt_clock_gettime = yes; then |
7610 | cat >>confdefs.h <<EOF | | 7665 | cat >>confdefs.h <<EOF |
7611 | #define HAVE_LIBRT 1 | | 7666 | #define HAVE_LIBRT 1 |
7612 | EOF | | 7667 | EOF |
7613 | | | 7668 | |
7614 | LIBS="-lrt $LIBS" | | 7669 | LIBS="-lrt $LIBS" |
7615 | | | 7670 | |
7616 | fi | | 7671 | fi |
7617 | | | 7672 | |
7618 | for ac_func in fparseln | | 7673 | for ac_func in fparseln |
7619 | do | | 7674 | do |
7620 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | | 7675 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7621 | echo "$as_me:7621: checking for $ac_func" >&5 | | 7676 | echo "$as_me:7676: checking for $ac_func" >&5 |
7622 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | | 7677 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7623 | if eval "test \"\${$as_ac_var+set}\" = set"; then | | 7678 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7624 | echo $ECHO_N "(cached) $ECHO_C" >&6 | | 7679 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7625 | else | | 7680 | else |
7626 | cat >conftest.$ac_ext <<_ACEOF | | 7681 | cat >conftest.$ac_ext <<_ACEOF |
7627 | #line 7627 "configure" | | 7682 | #line 7682 "configure" |
7628 | #include "confdefs.h" | | 7683 | #include "confdefs.h" |
7629 | /* System header to define __stub macros and hopefully few prototypes, | | 7684 | /* System header to define __stub macros and hopefully few prototypes, |
7630 | which can conflict with char $ac_func (); below. */ | | 7685 | which can conflict with char $ac_func (); below. */ |
7631 | #include <assert.h> | | 7686 | #include <assert.h> |
7632 | /* Override any gcc2 internal prototype to avoid an error. */ | | 7687 | /* Override any gcc2 internal prototype to avoid an error. */ |
7633 | #ifdef __cplusplus | | 7688 | #ifdef __cplusplus |
7634 | extern "C" | | 7689 | extern "C" |
7635 | #endif | | 7690 | #endif |
7636 | /* We use char because int might match the return type of a gcc2 | | 7691 | /* We use char because int might match the return type of a gcc2 |
7637 | builtin and then its argument prototype would still apply. */ | | 7692 | builtin and then its argument prototype would still apply. */ |
7638 | char $ac_func (); | | 7693 | char $ac_func (); |
7639 | char (*f) (); | | 7694 | char (*f) (); |
7640 | | | 7695 | |
| @@ -7645,61 +7700,61 @@ main () | | | @@ -7645,61 +7700,61 @@ main () |
7645 | to always fail with ENOSYS. Some functions are actually named | | 7700 | to always fail with ENOSYS. Some functions are actually named |
7646 | something starting with __ and the normal name is an alias. */ | | 7701 | something starting with __ and the normal name is an alias. */ |
7647 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | | 7702 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
7648 | choke me | | 7703 | choke me |
7649 | #else | | 7704 | #else |
7650 | f = $ac_func; | | 7705 | f = $ac_func; |
7651 | #endif | | 7706 | #endif |
7652 | | | 7707 | |
7653 | ; | | 7708 | ; |
7654 | return 0; | | 7709 | return 0; |
7655 | } | | 7710 | } |
7656 | _ACEOF | | 7711 | _ACEOF |
7657 | rm -f conftest.$ac_objext conftest$ac_exeext | | 7712 | rm -f conftest.$ac_objext conftest$ac_exeext |
7658 | if { (eval echo "$as_me:7658: \"$ac_link\"") >&5 | | 7713 | if { (eval echo "$as_me:7713: \"$ac_link\"") >&5 |
7659 | (eval $ac_link) 2>&5 | | 7714 | (eval $ac_link) 2>&5 |
7660 | ac_status=$? | | 7715 | ac_status=$? |
7661 | echo "$as_me:7661: \$? = $ac_status" >&5 | | 7716 | echo "$as_me:7716: \$? = $ac_status" >&5 |
7662 | (exit $ac_status); } && | | 7717 | (exit $ac_status); } && |
7663 | { ac_try='test -s conftest$ac_exeext' | | 7718 | { ac_try='test -s conftest$ac_exeext' |
7664 | { (eval echo "$as_me:7664: \"$ac_try\"") >&5 | | 7719 | { (eval echo "$as_me:7719: \"$ac_try\"") >&5 |
7665 | (eval $ac_try) 2>&5 | | 7720 | (eval $ac_try) 2>&5 |
7666 | ac_status=$? | | 7721 | ac_status=$? |
7667 | echo "$as_me:7667: \$? = $ac_status" >&5 | | 7722 | echo "$as_me:7722: \$? = $ac_status" >&5 |
7668 | (exit $ac_status); }; }; then | | 7723 | (exit $ac_status); }; }; then |
7669 | eval "$as_ac_var=yes" | | 7724 | eval "$as_ac_var=yes" |
7670 | else | | 7725 | else |
7671 | echo "$as_me: failed program was:" >&5 | | 7726 | echo "$as_me: failed program was:" >&5 |
7672 | cat conftest.$ac_ext >&5 | | 7727 | cat conftest.$ac_ext >&5 |
7673 | eval "$as_ac_var=no" | | 7728 | eval "$as_ac_var=no" |
7674 | fi | | 7729 | fi |
7675 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | | 7730 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7676 | fi | | 7731 | fi |
7677 | echo "$as_me:7677: result: `eval echo '${'$as_ac_var'}'`" >&5 | | 7732 | echo "$as_me:7732: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7678 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | | 7733 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7679 | if test `eval echo '${'$as_ac_var'}'` = yes; then | | 7734 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
7680 | cat >>confdefs.h <<EOF | | 7735 | cat >>confdefs.h <<EOF |
7681 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | | 7736 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7682 | EOF | | 7737 | EOF |
7683 | | | 7738 | |
7684 | echo "$as_me:7684: checking if fparseln seems to work" >&5 | | 7739 | echo "$as_me:7739: checking if fparseln seems to work" >&5 |
7685 | echo $ECHO_N "checking if fparseln seems to work... $ECHO_C" >&6 | | 7740 | echo $ECHO_N "checking if fparseln seems to work... $ECHO_C" >&6 |
7686 | if test "$cross_compiling" = yes; then | | 7741 | if test "$cross_compiling" = yes; then |
7687 | { echo "$as_me:7687: WARNING: cross compiling: not checking farseln" >&5 | | 7742 | { echo "$as_me:7742: WARNING: cross compiling: not checking farseln" >&5 |
7688 | echo "$as_me: WARNING: cross compiling: not checking farseln" >&2;} | | 7743 | echo "$as_me: WARNING: cross compiling: not checking farseln" >&2;} |
7689 | | | 7744 | |
7690 | else | | 7745 | else |
7691 | cat >conftest.$ac_ext <<_ACEOF | | 7746 | cat >conftest.$ac_ext <<_ACEOF |
7692 | #line 7692 "configure" | | 7747 | #line 7747 "configure" |
7693 | #include "confdefs.h" | | 7748 | #include "confdefs.h" |
7694 | | | 7749 | |
7695 | #define _NETBSD_SOURCE | | 7750 | #define _NETBSD_SOURCE |
7696 | #include <stdio.h> | | 7751 | #include <stdio.h> |
7697 | #include <stdlib.h> | | 7752 | #include <stdlib.h> |
7698 | #define CONFTEST "conftest.fparseln" | | 7753 | #define CONFTEST "conftest.fparseln" |
7699 | #define COMMENT '#' | | 7754 | #define COMMENT '#' |
7700 | int | | 7755 | int |
7701 | main(void) | | 7756 | main(void) |
7702 | { | | 7757 | { |
7703 | static const char delim[3] = { '\0', '\0', COMMENT }; | | 7758 | static const char delim[3] = { '\0', '\0', COMMENT }; |
7704 | FILE *fp; | | 7759 | FILE *fp; |
7705 | char *ptr; | | 7760 | char *ptr; |
| @@ -7708,43 +7763,43 @@ main(void) | | | @@ -7708,43 +7763,43 @@ main(void) |
7708 | unlink(CONFTEST); | | 7763 | unlink(CONFTEST); |
7709 | ungetc(COMMENT, fp); | | 7764 | ungetc(COMMENT, fp); |
7710 | ptr = fparseln(fp, NULL, NULL, delim, | | 7765 | ptr = fparseln(fp, NULL, NULL, delim, |
7711 | FPARSELN_UNESCALL); | | 7766 | FPARSELN_UNESCALL); |
7712 | fclose(fp); | | 7767 | fclose(fp); |
7713 | if (ptr == NULL) | | 7768 | if (ptr == NULL) |
7714 | exit(0); | | 7769 | exit(0); |
7715 | } | | 7770 | } |
7716 | exit(1); | | 7771 | exit(1); |
7717 | } | | 7772 | } |
7718 | | | 7773 | |
7719 | _ACEOF | | 7774 | _ACEOF |
7720 | rm -f conftest$ac_exeext | | 7775 | rm -f conftest$ac_exeext |
7721 | if { (eval echo "$as_me:7721: \"$ac_link\"") >&5 | | 7776 | if { (eval echo "$as_me:7776: \"$ac_link\"") >&5 |
7722 | (eval $ac_link) 2>&5 | | 7777 | (eval $ac_link) 2>&5 |
7723 | ac_status=$? | | 7778 | ac_status=$? |
7724 | echo "$as_me:7724: \$? = $ac_status" >&5 | | 7779 | echo "$as_me:7779: \$? = $ac_status" >&5 |
7725 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | | 7780 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7726 | { (eval echo "$as_me:7726: \"$ac_try\"") >&5 | | 7781 | { (eval echo "$as_me:7781: \"$ac_try\"") >&5 |
7727 | (eval $ac_try) 2>&5 | | 7782 | (eval $ac_try) 2>&5 |
7728 | ac_status=$? | | 7783 | ac_status=$? |
7729 | echo "$as_me:7729: \$? = $ac_status" >&5 | | 7784 | echo "$as_me:7784: \$? = $ac_status" >&5 |
7730 | (exit $ac_status); }; }; then | | 7785 | (exit $ac_status); }; }; then |
7731 | echo "$as_me:7731: result: yes" >&5 | | 7786 | echo "$as_me:7786: result: yes" >&5 |
7732 | echo "${ECHO_T}yes" >&6 | | 7787 | echo "${ECHO_T}yes" >&6 |
7733 | else | | 7788 | else |
7734 | echo "$as_me: program exited with status $ac_status" >&5 | | 7789 | echo "$as_me: program exited with status $ac_status" >&5 |
7735 | echo "$as_me: failed program was:" >&5 | | 7790 | echo "$as_me: failed program was:" >&5 |
7736 | cat conftest.$ac_ext >&5 | | 7791 | cat conftest.$ac_ext >&5 |
7737 | echo "$as_me:7737: result: no" >&5 | | 7792 | echo "$as_me:7792: result: no" >&5 |
7738 | echo "${ECHO_T}no" >&6 | | 7793 | echo "${ECHO_T}no" >&6 |
7739 | | | 7794 | |
7740 | cat >>confdefs.h <<\EOF | | 7795 | cat >>confdefs.h <<\EOF |
7741 | #define BROKEN_FPARSELN 1 | | 7796 | #define BROKEN_FPARSELN 1 |
7742 | EOF | | 7797 | EOF |
7743 | | | 7798 | |
7744 | fi | | 7799 | fi |
7745 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | | 7800 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7746 | fi | | 7801 | fi |
7747 | | | 7802 | |
7748 | fi | | 7803 | fi |
7749 | done | | 7804 | done |
7750 | | | 7805 | |
| @@ -7820,27 +7875,27 @@ s/:*\$(srcdir):*/:/; | | | @@ -7820,27 +7875,27 @@ s/:*\$(srcdir):*/:/; |
7820 | s/:*\${srcdir}:*/:/; | | 7875 | s/:*\${srcdir}:*/:/; |
7821 | s/:*@srcdir@:*/:/; | | 7876 | s/:*@srcdir@:*/:/; |
7822 | s/^\([^=]*=[ ]*\):*/\1/; | | 7877 | s/^\([^=]*=[ ]*\):*/\1/; |
7823 | s/:*$//; | | 7878 | s/:*$//; |
7824 | s/^[^=]*=[ ]*$//; | | 7879 | s/^[^=]*=[ ]*$//; |
7825 | }' | | 7880 | }' |
7826 | fi | | 7881 | fi |
7827 | | | 7882 | |
7828 | DEFS=-DHAVE_CONFIG_H | | 7883 | DEFS=-DHAVE_CONFIG_H |
7829 | | | 7884 | |
7830 | : ${CONFIG_STATUS=./config.status} | | 7885 | : ${CONFIG_STATUS=./config.status} |
7831 | ac_clean_files_save=$ac_clean_files | | 7886 | ac_clean_files_save=$ac_clean_files |
7832 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | | 7887 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
7833 | { echo "$as_me:7833: creating $CONFIG_STATUS" >&5 | | 7888 | { echo "$as_me:7888: creating $CONFIG_STATUS" >&5 |
7834 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | | 7889 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
7835 | cat >$CONFIG_STATUS <<_ACEOF | | 7890 | cat >$CONFIG_STATUS <<_ACEOF |
7836 | #! $SHELL | | 7891 | #! $SHELL |
7837 | # Generated automatically by configure. | | 7892 | # Generated automatically by configure. |
7838 | # Run this file to recreate the current configuration. | | 7893 | # Run this file to recreate the current configuration. |
7839 | # Compiler output produced by configure, useful for debugging | | 7894 | # Compiler output produced by configure, useful for debugging |
7840 | # configure, is in config.log if it exists. | | 7895 | # configure, is in config.log if it exists. |
7841 | | | 7896 | |
7842 | debug=false | | 7897 | debug=false |
7843 | SHELL=\${CONFIG_SHELL-$SHELL} | | 7898 | SHELL=\${CONFIG_SHELL-$SHELL} |
7844 | ac_cs_invocation="\$0 \$@" | | 7899 | ac_cs_invocation="\$0 \$@" |
7845 | | | 7900 | |
7846 | _ACEOF | | 7901 | _ACEOF |
| @@ -7992,46 +8047,46 @@ do | | | @@ -7992,46 +8047,46 @@ do |
7992 | case $1 in | | 8047 | case $1 in |
7993 | # Handling of the options. | | 8048 | # Handling of the options. |
7994 | EOF | | 8049 | EOF |
7995 | cat >>$CONFIG_STATUS <<EOF | | 8050 | cat >>$CONFIG_STATUS <<EOF |
7996 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | | 8051 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
7997 | echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | | 8052 | echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
7998 | exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | | 8053 | exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; |
7999 | EOF | | 8054 | EOF |
8000 | cat >>$CONFIG_STATUS <<\EOF | | 8055 | cat >>$CONFIG_STATUS <<\EOF |
8001 | --version | --vers* | -V ) | | 8056 | --version | --vers* | -V ) |
8002 | echo "$ac_cs_version"; exit 0 ;; | | 8057 | echo "$ac_cs_version"; exit 0 ;; |
8003 | --he | --h) | | 8058 | --he | --h) |
8004 | # Conflict between --help and --header | | 8059 | # Conflict between --help and --header |
8005 | { { echo "$as_me:8005: error: ambiguous option: $1 | | 8060 | { { echo "$as_me:8060: error: ambiguous option: $1 |
8006 | Try \`$0 --help' for more information." >&5 | | 8061 | Try \`$0 --help' for more information." >&5 |
8007 | echo "$as_me: error: ambiguous option: $1 | | 8062 | echo "$as_me: error: ambiguous option: $1 |
8008 | Try \`$0 --help' for more information." >&2;} | | 8063 | Try \`$0 --help' for more information." >&2;} |
8009 | { (exit 1); exit 1; }; };; | | 8064 | { (exit 1); exit 1; }; };; |
8010 | --help | --hel | -h ) | | 8065 | --help | --hel | -h ) |
8011 | echo "$ac_cs_usage"; exit 0 ;; | | 8066 | echo "$ac_cs_usage"; exit 0 ;; |
8012 | --debug | --d* | -d ) | | 8067 | --debug | --d* | -d ) |
8013 | debug=: ;; | | 8068 | debug=: ;; |
8014 | --file | --fil | --fi | --f ) | | 8069 | --file | --fil | --fi | --f ) |
8015 | shift | | 8070 | shift |
8016 | CONFIG_FILES="$CONFIG_FILES $1" | | 8071 | CONFIG_FILES="$CONFIG_FILES $1" |
8017 | ac_need_defaults=false;; | | 8072 | ac_need_defaults=false;; |
8018 | --header | --heade | --head | --hea ) | | 8073 | --header | --heade | --head | --hea ) |
8019 | shift | | 8074 | shift |
8020 | CONFIG_HEADERS="$CONFIG_HEADERS $1" | | 8075 | CONFIG_HEADERS="$CONFIG_HEADERS $1" |
8021 | ac_need_defaults=false;; | | 8076 | ac_need_defaults=false;; |
8022 | | | 8077 | |
8023 | # This is an error. | | 8078 | # This is an error. |
8024 | -*) { { echo "$as_me:8024: error: unrecognized option: $1 | | 8079 | -*) { { echo "$as_me:8079: error: unrecognized option: $1 |
8025 | Try \`$0 --help' for more information." >&5 | | 8080 | Try \`$0 --help' for more information." >&5 |
8026 | echo "$as_me: error: unrecognized option: $1 | | 8081 | echo "$as_me: error: unrecognized option: $1 |
8027 | Try \`$0 --help' for more information." >&2;} | | 8082 | Try \`$0 --help' for more information." >&2;} |
8028 | { (exit 1); exit 1; }; } ;; | | 8083 | { (exit 1); exit 1; }; } ;; |
8029 | | | 8084 | |
8030 | *) ac_config_targets="$ac_config_targets $1" ;; | | 8085 | *) ac_config_targets="$ac_config_targets $1" ;; |
8031 | | | 8086 | |
8032 | esac | | 8087 | esac |
8033 | shift | | 8088 | shift |
8034 | done | | 8089 | done |
8035 | | | 8090 | |
8036 | exec 5>>config.log | | 8091 | exec 5>>config.log |
8037 | cat >&5 << _ACEOF | | 8092 | cat >&5 << _ACEOF |
| @@ -8048,27 +8103,27 @@ This file was extended by $as_me (libnbc | | | @@ -8048,27 +8103,27 @@ This file was extended by $as_me (libnbc |
8048 | > $ac_cs_invocation | | 8103 | > $ac_cs_invocation |
8049 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | | 8104 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
8050 | | | 8105 | |
8051 | _ACEOF | | 8106 | _ACEOF |
8052 | EOF | | 8107 | EOF |
8053 | | | 8108 | |
8054 | cat >>$CONFIG_STATUS <<\EOF | | 8109 | cat >>$CONFIG_STATUS <<\EOF |
8055 | for ac_config_target in $ac_config_targets | | 8110 | for ac_config_target in $ac_config_targets |
8056 | do | | 8111 | do |
8057 | case "$ac_config_target" in | | 8112 | case "$ac_config_target" in |
8058 | # Handling of arguments. | | 8113 | # Handling of arguments. |
8059 | "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;; | | 8114 | "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;; |
8060 | "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;; | | 8115 | "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;; |
8061 | *) { { echo "$as_me:8061: error: invalid argument: $ac_config_target" >&5 | | 8116 | *) { { echo "$as_me:8116: error: invalid argument: $ac_config_target" >&5 |
8062 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | | 8117 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
8063 | { (exit 1); exit 1; }; };; | | 8118 | { (exit 1); exit 1; }; };; |
8064 | esac | | 8119 | esac |
8065 | done | | 8120 | done |
8066 | | | 8121 | |
8067 | # If the user did not use the arguments to specify the items to instantiate, | | 8122 | # If the user did not use the arguments to specify the items to instantiate, |
8068 | # then the envvar interface is used. Set only those that are not. | | 8123 | # then the envvar interface is used. Set only those that are not. |
8069 | # We use the long form for the default assignment because of an extremely | | 8124 | # We use the long form for the default assignment because of an extremely |
8070 | # bizarre bug on SunOS 4.1.3. | | 8125 | # bizarre bug on SunOS 4.1.3. |
8071 | if $ac_need_defaults; then | | 8126 | if $ac_need_defaults; then |
8072 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | | 8127 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
8073 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | | 8128 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
8074 | fi | | 8129 | fi |
| @@ -8249,58 +8304,58 @@ done; } | | | @@ -8249,58 +8304,58 @@ done; } |
8249 | ac_top_srcdir=. | | 8304 | ac_top_srcdir=. |
8250 | else | | 8305 | else |
8251 | ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` | | 8306 | ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` |
8252 | fi ;; | | 8307 | fi ;; |
8253 | [\\/]* | ?:[\\/]* ) | | 8308 | [\\/]* | ?:[\\/]* ) |
8254 | ac_srcdir=$srcdir$ac_dir_suffix; | | 8309 | ac_srcdir=$srcdir$ac_dir_suffix; |
8255 | ac_top_srcdir=$srcdir ;; | | 8310 | ac_top_srcdir=$srcdir ;; |
8256 | *) # Relative path. | | 8311 | *) # Relative path. |
8257 | ac_srcdir=$ac_dots$srcdir$ac_dir_suffix | | 8312 | ac_srcdir=$ac_dots$srcdir$ac_dir_suffix |
8258 | ac_top_srcdir=$ac_dots$srcdir ;; | | 8313 | ac_top_srcdir=$ac_dots$srcdir ;; |
8259 | esac | | 8314 | esac |
8260 | | | 8315 | |
8261 | if test x"$ac_file" != x-; then | | 8316 | if test x"$ac_file" != x-; then |
8262 | { echo "$as_me:8262: creating $ac_file" >&5 | | 8317 | { echo "$as_me:8317: creating $ac_file" >&5 |
8263 | echo "$as_me: creating $ac_file" >&6;} | | 8318 | echo "$as_me: creating $ac_file" >&6;} |
8264 | rm -f "$ac_file" | | 8319 | rm -f "$ac_file" |
8265 | fi | | 8320 | fi |
8266 | # Let's still pretend it is `configure' which instantiates (i.e., don't | | 8321 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
8267 | # use $as_me), people would be surprised to read: | | 8322 | # use $as_me), people would be surprised to read: |
8268 | # /* config.h. Generated automatically by config.status. */ | | 8323 | # /* config.h. Generated automatically by config.status. */ |
8269 | configure_input="Generated automatically from `echo $ac_file_in | | | 8324 | configure_input="Generated automatically from `echo $ac_file_in | |
8270 | sed 's,.*/,,'` by configure." | | 8325 | sed 's,.*/,,'` by configure." |
8271 | | | 8326 | |
8272 | # First look for the input files in the build tree, otherwise in the | | 8327 | # First look for the input files in the build tree, otherwise in the |
8273 | # src tree. | | 8328 | # src tree. |
8274 | ac_file_inputs=`IFS=: | | 8329 | ac_file_inputs=`IFS=: |
8275 | for f in $ac_file_in; do | | 8330 | for f in $ac_file_in; do |
8276 | case $f in | | 8331 | case $f in |
8277 | -) echo $tmp/stdin ;; | | 8332 | -) echo $tmp/stdin ;; |
8278 | [\\/$]*) | | 8333 | [\\/$]*) |
8279 | # Absolute (can't be DOS-style, as IFS=:) | | 8334 | # Absolute (can't be DOS-style, as IFS=:) |
8280 | test -f "$f" || { { echo "$as_me:8280: error: cannot find input file: $f" >&5 | | 8335 | test -f "$f" || { { echo "$as_me:8335: error: cannot find input file: $f" >&5 |
8281 | echo "$as_me: error: cannot find input file: $f" >&2;} | | 8336 | echo "$as_me: error: cannot find input file: $f" >&2;} |
8282 | { (exit 1); exit 1; }; } | | 8337 | { (exit 1); exit 1; }; } |
8283 | echo $f;; | | 8338 | echo $f;; |
8284 | *) # Relative | | 8339 | *) # Relative |
8285 | if test -f "$f"; then | | 8340 | if test -f "$f"; then |
8286 | # Build tree | | 8341 | # Build tree |
8287 | echo $f | | 8342 | echo $f |
8288 | elif test -f "$srcdir/$f"; then | | 8343 | elif test -f "$srcdir/$f"; then |
8289 | # Source tree | | 8344 | # Source tree |
8290 | echo $srcdir/$f | | 8345 | echo $srcdir/$f |
8291 | else | | 8346 | else |
8292 | # /dev/null tree | | 8347 | # /dev/null tree |
8293 | { { echo "$as_me:8293: error: cannot find input file: $f" >&5 | | 8348 | { { echo "$as_me:8348: error: cannot find input file: $f" >&5 |
8294 | echo "$as_me: error: cannot find input file: $f" >&2;} | | 8349 | echo "$as_me: error: cannot find input file: $f" >&2;} |
8295 | { (exit 1); exit 1; }; } | | 8350 | { (exit 1); exit 1; }; } |
8296 | fi;; | | 8351 | fi;; |
8297 | esac | | 8352 | esac |
8298 | done` || { (exit 1); exit 1; } | | 8353 | done` || { (exit 1); exit 1; } |
8299 | EOF | | 8354 | EOF |
8300 | cat >>$CONFIG_STATUS <<EOF | | 8355 | cat >>$CONFIG_STATUS <<EOF |
8301 | sed "$ac_vpsub | | 8356 | sed "$ac_vpsub |
8302 | $extrasub | | 8357 | $extrasub |
8303 | EOF | | 8358 | EOF |
8304 | cat >>$CONFIG_STATUS <<\EOF | | 8359 | cat >>$CONFIG_STATUS <<\EOF |
8305 | :t | | 8360 | :t |
8306 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | | 8361 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| @@ -8340,51 +8395,51 @@ ac_uD=',;t' | | | @@ -8340,51 +8395,51 @@ ac_uD=',;t' |
8340 | | | 8395 | |
8341 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | | 8396 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
8342 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | | 8397 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
8343 | case $ac_file in | | 8398 | case $ac_file in |
8344 | - | *:- | *:-:* ) # input from stdin | | 8399 | - | *:- | *:-:* ) # input from stdin |
8345 | cat >$tmp/stdin | | 8400 | cat >$tmp/stdin |
8346 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | | 8401 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8347 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | | 8402 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8348 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | | 8403 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
8349 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | | 8404 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
8350 | * ) ac_file_in=$ac_file.in ;; | | 8405 | * ) ac_file_in=$ac_file.in ;; |
8351 | esac | | 8406 | esac |
8352 | | | 8407 | |
8353 | test x"$ac_file" != x- && { echo "$as_me:8353: creating $ac_file" >&5 | | 8408 | test x"$ac_file" != x- && { echo "$as_me:8408: creating $ac_file" >&5 |
8354 | echo "$as_me: creating $ac_file" >&6;} | | 8409 | echo "$as_me: creating $ac_file" >&6;} |
8355 | | | 8410 | |
8356 | # First look for the input files in the build tree, otherwise in the | | 8411 | # First look for the input files in the build tree, otherwise in the |
8357 | # src tree. | | 8412 | # src tree. |
8358 | ac_file_inputs=`IFS=: | | 8413 | ac_file_inputs=`IFS=: |
8359 | for f in $ac_file_in; do | | 8414 | for f in $ac_file_in; do |
8360 | case $f in | | 8415 | case $f in |
8361 | -) echo $tmp/stdin ;; | | 8416 | -) echo $tmp/stdin ;; |
8362 | [\\/$]*) | | 8417 | [\\/$]*) |
8363 | # Absolute (can't be DOS-style, as IFS=:) | | 8418 | # Absolute (can't be DOS-style, as IFS=:) |
8364 | test -f "$f" || { { echo "$as_me:8364: error: cannot find input file: $f" >&5 | | 8419 | test -f "$f" || { { echo "$as_me:8419: error: cannot find input file: $f" >&5 |
8365 | echo "$as_me: error: cannot find input file: $f" >&2;} | | 8420 | echo "$as_me: error: cannot find input file: $f" >&2;} |
8366 | { (exit 1); exit 1; }; } | | 8421 | { (exit 1); exit 1; }; } |
8367 | echo $f;; | | 8422 | echo $f;; |
8368 | *) # Relative | | 8423 | *) # Relative |
8369 | if test -f "$f"; then | | 8424 | if test -f "$f"; then |
8370 | # Build tree | | 8425 | # Build tree |
8371 | echo $f | | 8426 | echo $f |
8372 | elif test -f "$srcdir/$f"; then | | 8427 | elif test -f "$srcdir/$f"; then |
8373 | # Source tree | | 8428 | # Source tree |
8374 | echo $srcdir/$f | | 8429 | echo $srcdir/$f |
8375 | else | | 8430 | else |
8376 | # /dev/null tree | | 8431 | # /dev/null tree |
8377 | { { echo "$as_me:8377: error: cannot find input file: $f" >&5 | | 8432 | { { echo "$as_me:8432: error: cannot find input file: $f" >&5 |
8378 | echo "$as_me: error: cannot find input file: $f" >&2;} | | 8433 | echo "$as_me: error: cannot find input file: $f" >&2;} |
8379 | { (exit 1); exit 1; }; } | | 8434 | { (exit 1); exit 1; }; } |
8380 | fi;; | | 8435 | fi;; |
8381 | esac | | 8436 | esac |
8382 | done` || { (exit 1); exit 1; } | | 8437 | done` || { (exit 1); exit 1; } |
8383 | # Remove the trailing spaces. | | 8438 | # Remove the trailing spaces. |
8384 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | | 8439 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
8385 | | | 8440 | |
8386 | EOF | | 8441 | EOF |
8387 | | | 8442 | |
8388 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | | 8443 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
8389 | # `conftest.undefs', that substitutes the proper values into | | 8444 | # `conftest.undefs', that substitutes the proper values into |
8390 | # config.h.in to produce config.h. The first handles `#define' | | 8445 | # config.h.in to produce config.h. The first handles `#define' |
| @@ -8481,27 +8536,27 @@ rm -f conftest.undefs | | | @@ -8481,27 +8536,27 @@ rm -f conftest.undefs |
8481 | cat >>$CONFIG_STATUS <<\EOF | | 8536 | cat >>$CONFIG_STATUS <<\EOF |
8482 | # Let's still pretend it is `configure' which instantiates (i.e., don't | | 8537 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
8483 | # use $as_me), people would be surprised to read: | | 8538 | # use $as_me), people would be surprised to read: |
8484 | # /* config.h. Generated automatically by config.status. */ | | 8539 | # /* config.h. Generated automatically by config.status. */ |
8485 | if test x"$ac_file" = x-; then | | 8540 | if test x"$ac_file" = x-; then |
8486 | echo "/* Generated automatically by configure. */" >$tmp/config.h | | 8541 | echo "/* Generated automatically by configure. */" >$tmp/config.h |
8487 | else | | 8542 | else |
8488 | echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h | | 8543 | echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h |
8489 | fi | | 8544 | fi |
8490 | cat $tmp/in >>$tmp/config.h | | 8545 | cat $tmp/in >>$tmp/config.h |
8491 | rm -f $tmp/in | | 8546 | rm -f $tmp/in |
8492 | if test x"$ac_file" != x-; then | | 8547 | if test x"$ac_file" != x-; then |
8493 | if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | | 8548 | if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
8494 | { echo "$as_me:8494: $ac_file is unchanged" >&5 | | 8549 | { echo "$as_me:8549: $ac_file is unchanged" >&5 |
8495 | echo "$as_me: $ac_file is unchanged" >&6;} | | 8550 | echo "$as_me: $ac_file is unchanged" >&6;} |
8496 | else | | 8551 | else |
8497 | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | | 8552 | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8498 | X"$ac_file" : 'X\(//\)[^/]' \| \ | | 8553 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
8499 | X"$ac_file" : 'X\(//\)$' \| \ | | 8554 | X"$ac_file" : 'X\(//\)$' \| \ |
8500 | X"$ac_file" : 'X\(/\)' \| \ | | 8555 | X"$ac_file" : 'X\(/\)' \| \ |
8501 | . : '\(.\)' 2>/dev/null || | | 8556 | . : '\(.\)' 2>/dev/null || |
8502 | echo X"$ac_file" | | | 8557 | echo X"$ac_file" | |
8503 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | | 8558 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
8504 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | | 8559 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
8505 | /^X\(\/\/\)$/{ s//\1/; q; } | | 8560 | /^X\(\/\/\)$/{ s//\1/; q; } |
8506 | /^X\(\/\).*/{ s//\1/; q; } | | 8561 | /^X\(\/\).*/{ s//\1/; q; } |
8507 | s/.*/./; q'` | | 8562 | s/.*/./; q'` |