Thu Jan 9 11:27:31 2014 UTC ()
regen


(apb)
diff -r1.79 -r1.80 src/tools/compat/configure

cvs diff -r1.79 -r1.80 src/tools/compat/configure (expand / switch to unified diff)

--- src/tools/compat/configure 2013/08/14 10:15:14 1.79
+++ src/tools/compat/configure 2014/01/09 11:27:31 1.80
@@ -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
5038EOF 5038EOF
5039 5039
5040fi 5040fi
5041 5041
5042for ac_func in atoll asprintf asnprintf basename devname dirfd dirname \ 5042for 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
5052do 5052do
5053as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5053as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5054echo "$as_me:5054: checking for $ac_func" >&5 5054echo "$as_me:5054: checking for $ac_func" >&5
5055echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5055echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5056if eval "test \"\${$as_ac_var+set}\" = set"; then 5056if eval "test \"\${$as_ac_var+set}\" = set"; then
5057 echo $ECHO_N "(cached) $ECHO_C" >&6 5057 echo $ECHO_N "(cached) $ECHO_C" >&6
5058else 5058else
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
5500echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6 5500echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
5501if test $ac_cv_have_decl_strndup = yes; then 5501if test $ac_cv_have_decl_strndup = yes; then
5502 5502
5503cat >>confdefs.h <<EOF 5503cat >>confdefs.h <<EOF
5504#define HAVE_DECL_STRNDUP 1 5504#define HAVE_DECL_STRNDUP 1
5505EOF 5505EOF
5506 5506
5507else 5507else
5508 cat >>confdefs.h <<EOF 5508 cat >>confdefs.h <<EOF
5509#define HAVE_DECL_STRNDUP 0 5509#define HAVE_DECL_STRNDUP 0
5510EOF 5510EOF
5511 5511
5512fi 5512fi
 5513echo "$as_me:5513: checking whether strnlen is declared" >&5
 5514echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
 5515if test "${ac_cv_have_decl_strnlen+set}" = set; then
 5516 echo $ECHO_N "(cached) $ECHO_C" >&6
 5517else
 5518 cat >conftest.$ac_ext <<_ACEOF
 5519#line 5519 "configure"
 5520#include "confdefs.h"
 5521#include <string.h>
 5522
 5523int
 5524main ()
 5525{
 5526#ifndef strnlen
 5527 char *p = (char *) strnlen;
 5528#endif
 5529
 5530 ;
 5531 return 0;
 5532}
 5533_ACEOF
 5534rm -f conftest.$ac_objext
 5535if { (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
 5547else
 5548 echo "$as_me: failed program was:" >&5
 5549cat conftest.$ac_ext >&5
 5550ac_cv_have_decl_strnlen=no
 5551fi
 5552rm -f conftest.$ac_objext conftest.$ac_ext
 5553fi
 5554echo "$as_me:5554: result: $ac_cv_have_decl_strnlen" >&5
 5555echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
 5556if test $ac_cv_have_decl_strnlen = yes; then
 5557
 5558cat >>confdefs.h <<EOF
 5559#define HAVE_DECL_STRNLEN 1
 5560EOF
 5561
 5562else
 5563 cat >>confdefs.h <<EOF
 5564#define HAVE_DECL_STRNLEN 0
 5565EOF
 5566
 5567fi
5513 5568
5514echo "$as_me:5514: checking whether strsuftoll is declared" >&5 5569echo "$as_me:5569: checking whether strsuftoll is declared" >&5
5515echo $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6 5570echo $ECHO_N "checking whether strsuftoll is declared... $ECHO_C" >&6
5516if test "${ac_cv_have_decl_strsuftoll+set}" = set; then 5571if 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
5518else 5573else
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
5524int 5579int
5525main () 5580main ()
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
5535rm -f conftest.$ac_objext 5590rm -f conftest.$ac_objext
5536if { (eval echo "$as_me:5536: \"$ac_compile\"") >&5 5591if { (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
5548else 5603else
5549 echo "$as_me: failed program was:" >&5 5604 echo "$as_me: failed program was:" >&5
5550cat conftest.$ac_ext >&5 5605cat conftest.$ac_ext >&5
5551ac_cv_have_decl_strsuftoll=no 5606ac_cv_have_decl_strsuftoll=no
5552fi 5607fi
5553rm -f conftest.$ac_objext conftest.$ac_ext 5608rm -f conftest.$ac_objext conftest.$ac_ext
5554fi 5609fi
5555echo "$as_me:5555: result: $ac_cv_have_decl_strsuftoll" >&5 5610echo "$as_me:5610: result: $ac_cv_have_decl_strsuftoll" >&5
5556echo "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6 5611echo "${ECHO_T}$ac_cv_have_decl_strsuftoll" >&6
5557if test $ac_cv_have_decl_strsuftoll = yes; then 5612if test $ac_cv_have_decl_strsuftoll = yes; then
5558 5613
5559cat >>confdefs.h <<EOF 5614cat >>confdefs.h <<EOF
5560#define HAVE_DECL_STRSUFTOLL 1 5615#define HAVE_DECL_STRSUFTOLL 1
5561EOF 5616EOF
5562 5617
5563else 5618else
5564 cat >>confdefs.h <<EOF 5619 cat >>confdefs.h <<EOF
5565#define HAVE_DECL_STRSUFTOLL 0 5620#define HAVE_DECL_STRSUFTOLL 0
5566EOF 5621EOF
5567 5622
5568fi 5623fi
5569 5624
5570echo "$as_me:5570: checking whether lchflags is declared" >&5 5625echo "$as_me:5625: checking whether lchflags is declared" >&5
5571echo $ECHO_N "checking whether lchflags is declared... $ECHO_C" >&6 5626echo $ECHO_N "checking whether lchflags is declared... $ECHO_C" >&6
5572if test "${ac_cv_have_decl_lchflags+set}" = set; then 5627if 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
5574else 5629else
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
5582int 5637int
5583main () 5638main ()
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
5593rm -f conftest.$ac_objext 5648rm -f conftest.$ac_objext
5594if { (eval echo "$as_me:5594: \"$ac_compile\"") >&5 5649if { (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
5606else 5661else
5607 echo "$as_me: failed program was:" >&5 5662 echo "$as_me: failed program was:" >&5
5608cat conftest.$ac_ext >&5 5663cat conftest.$ac_ext >&5
5609ac_cv_have_decl_lchflags=no 5664ac_cv_have_decl_lchflags=no
5610fi 5665fi
5611rm -f conftest.$ac_objext conftest.$ac_ext 5666rm -f conftest.$ac_objext conftest.$ac_ext
5612fi 5667fi
5613echo "$as_me:5613: result: $ac_cv_have_decl_lchflags" >&5 5668echo "$as_me:5668: result: $ac_cv_have_decl_lchflags" >&5
5614echo "${ECHO_T}$ac_cv_have_decl_lchflags" >&6 5669echo "${ECHO_T}$ac_cv_have_decl_lchflags" >&6
5615if test $ac_cv_have_decl_lchflags = yes; then 5670if test $ac_cv_have_decl_lchflags = yes; then
5616 5671
5617cat >>confdefs.h <<EOF 5672cat >>confdefs.h <<EOF
5618#define HAVE_DECL_LCHFLAGS 1 5673#define HAVE_DECL_LCHFLAGS 1
5619EOF 5674EOF
5620 5675
5621else 5676else
5622 cat >>confdefs.h <<EOF 5677 cat >>confdefs.h <<EOF
5623#define HAVE_DECL_LCHFLAGS 0 5678#define HAVE_DECL_LCHFLAGS 0
5624EOF 5679EOF
5625 5680
5626fi 5681fi
5627echo "$as_me:5627: checking whether lchmod is declared" >&5 5682echo "$as_me:5682: checking whether lchmod is declared" >&5
5628echo $ECHO_N "checking whether lchmod is declared... $ECHO_C" >&6 5683echo $ECHO_N "checking whether lchmod is declared... $ECHO_C" >&6
5629if test "${ac_cv_have_decl_lchmod+set}" = set; then 5684if 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
5631else 5686else
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
5639int 5694int
5640main () 5695main ()
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
5650rm -f conftest.$ac_objext 5705rm -f conftest.$ac_objext
5651if { (eval echo "$as_me:5651: \"$ac_compile\"") >&5 5706if { (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
5663else 5718else
5664 echo "$as_me: failed program was:" >&5 5719 echo "$as_me: failed program was:" >&5
5665cat conftest.$ac_ext >&5 5720cat conftest.$ac_ext >&5
5666ac_cv_have_decl_lchmod=no 5721ac_cv_have_decl_lchmod=no
5667fi 5722fi
5668rm -f conftest.$ac_objext conftest.$ac_ext 5723rm -f conftest.$ac_objext conftest.$ac_ext
5669fi 5724fi
5670echo "$as_me:5670: result: $ac_cv_have_decl_lchmod" >&5 5725echo "$as_me:5725: result: $ac_cv_have_decl_lchmod" >&5
5671echo "${ECHO_T}$ac_cv_have_decl_lchmod" >&6 5726echo "${ECHO_T}$ac_cv_have_decl_lchmod" >&6
5672if test $ac_cv_have_decl_lchmod = yes; then 5727if test $ac_cv_have_decl_lchmod = yes; then
5673 5728
5674cat >>confdefs.h <<EOF 5729cat >>confdefs.h <<EOF
5675#define HAVE_DECL_LCHMOD 1 5730#define HAVE_DECL_LCHMOD 1
5676EOF 5731EOF
5677 5732
5678else 5733else
5679 cat >>confdefs.h <<EOF 5734 cat >>confdefs.h <<EOF
5680#define HAVE_DECL_LCHMOD 0 5735#define HAVE_DECL_LCHMOD 0
5681EOF 5736EOF
5682 5737
5683fi 5738fi
5684echo "$as_me:5684: checking whether lchown is declared" >&5 5739echo "$as_me:5739: checking whether lchown is declared" >&5
5685echo $ECHO_N "checking whether lchown is declared... $ECHO_C" >&6 5740echo $ECHO_N "checking whether lchown is declared... $ECHO_C" >&6
5686if test "${ac_cv_have_decl_lchown+set}" = set; then 5741if 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
5688else 5743else
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
5696int 5751int
5697main () 5752main ()
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
5707rm -f conftest.$ac_objext 5762rm -f conftest.$ac_objext
5708if { (eval echo "$as_me:5708: \"$ac_compile\"") >&5 5763if { (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
5720else 5775else
5721 echo "$as_me: failed program was:" >&5 5776 echo "$as_me: failed program was:" >&5
5722cat conftest.$ac_ext >&5 5777cat conftest.$ac_ext >&5
5723ac_cv_have_decl_lchown=no 5778ac_cv_have_decl_lchown=no
5724fi 5779fi
5725rm -f conftest.$ac_objext conftest.$ac_ext 5780rm -f conftest.$ac_objext conftest.$ac_ext
5726fi 5781fi
5727echo "$as_me:5727: result: $ac_cv_have_decl_lchown" >&5 5782echo "$as_me:5782: result: $ac_cv_have_decl_lchown" >&5
5728echo "${ECHO_T}$ac_cv_have_decl_lchown" >&6 5783echo "${ECHO_T}$ac_cv_have_decl_lchown" >&6
5729if test $ac_cv_have_decl_lchown = yes; then 5784if test $ac_cv_have_decl_lchown = yes; then
5730 5785
5731cat >>confdefs.h <<EOF 5786cat >>confdefs.h <<EOF
5732#define HAVE_DECL_LCHOWN 1 5787#define HAVE_DECL_LCHOWN 1
5733EOF 5788EOF
5734 5789
5735else 5790else
5736 cat >>confdefs.h <<EOF 5791 cat >>confdefs.h <<EOF
5737#define HAVE_DECL_LCHOWN 0 5792#define HAVE_DECL_LCHOWN 0
5738EOF 5793EOF
5739 5794
5740fi 5795fi
5741 5796
5742echo "$as_me:5742: checking whether htobe16 is declared" >&5 5797echo "$as_me:5797: checking whether htobe16 is declared" >&5
5743echo $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6 5798echo $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6
5744if test "${ac_cv_have_decl_htobe16+set}" = set; then 5799if 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
5746else 5801else
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
5752int 5807int
5753main () 5808main ()
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
5763rm -f conftest.$ac_objext 5818rm -f conftest.$ac_objext
5764if { (eval echo "$as_me:5764: \"$ac_compile\"") >&5 5819if { (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
5776else 5831else
5777 echo "$as_me: failed program was:" >&5 5832 echo "$as_me: failed program was:" >&5
5778cat conftest.$ac_ext >&5 5833cat conftest.$ac_ext >&5
5779ac_cv_have_decl_htobe16=no 5834ac_cv_have_decl_htobe16=no
5780fi 5835fi
5781rm -f conftest.$ac_objext conftest.$ac_ext 5836rm -f conftest.$ac_objext conftest.$ac_ext
5782fi 5837fi
5783echo "$as_me:5783: result: $ac_cv_have_decl_htobe16" >&5 5838echo "$as_me:5838: result: $ac_cv_have_decl_htobe16" >&5
5784echo "${ECHO_T}$ac_cv_have_decl_htobe16" >&6 5839echo "${ECHO_T}$ac_cv_have_decl_htobe16" >&6
5785if test $ac_cv_have_decl_htobe16 = yes; then 5840if test $ac_cv_have_decl_htobe16 = yes; then
5786 5841
5787cat >>confdefs.h <<EOF 5842cat >>confdefs.h <<EOF
5788#define HAVE_DECL_HTOBE16 1 5843#define HAVE_DECL_HTOBE16 1
5789EOF 5844EOF
5790 5845
5791else 5846else
5792 cat >>confdefs.h <<EOF 5847 cat >>confdefs.h <<EOF
5793#define HAVE_DECL_HTOBE16 0 5848#define HAVE_DECL_HTOBE16 0
5794EOF 5849EOF
5795 5850
5796fi 5851fi
5797echo "$as_me:5797: checking whether htobe32 is declared" >&5 5852echo "$as_me:5852: checking whether htobe32 is declared" >&5
5798echo $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6 5853echo $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6
5799if test "${ac_cv_have_decl_htobe32+set}" = set; then 5854if 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
5801else 5856else
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
5807int 5862int
5808main () 5863main ()
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
5818rm -f conftest.$ac_objext 5873rm -f conftest.$ac_objext
5819if { (eval echo "$as_me:5819: \"$ac_compile\"") >&5 5874if { (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
5831else 5886else
5832 echo "$as_me: failed program was:" >&5 5887 echo "$as_me: failed program was:" >&5
5833cat conftest.$ac_ext >&5 5888cat conftest.$ac_ext >&5
5834ac_cv_have_decl_htobe32=no 5889ac_cv_have_decl_htobe32=no
5835fi 5890fi
5836rm -f conftest.$ac_objext conftest.$ac_ext 5891rm -f conftest.$ac_objext conftest.$ac_ext
5837fi 5892fi
5838echo "$as_me:5838: result: $ac_cv_have_decl_htobe32" >&5 5893echo "$as_me:5893: result: $ac_cv_have_decl_htobe32" >&5
5839echo "${ECHO_T}$ac_cv_have_decl_htobe32" >&6 5894echo "${ECHO_T}$ac_cv_have_decl_htobe32" >&6
5840if test $ac_cv_have_decl_htobe32 = yes; then 5895if test $ac_cv_have_decl_htobe32 = yes; then
5841 5896
5842cat >>confdefs.h <<EOF 5897cat >>confdefs.h <<EOF
5843#define HAVE_DECL_HTOBE32 1 5898#define HAVE_DECL_HTOBE32 1
5844EOF 5899EOF
5845 5900
5846else 5901else
5847 cat >>confdefs.h <<EOF 5902 cat >>confdefs.h <<EOF
5848#define HAVE_DECL_HTOBE32 0 5903#define HAVE_DECL_HTOBE32 0
5849EOF 5904EOF
5850 5905
5851fi 5906fi
5852echo "$as_me:5852: checking whether htobe64 is declared" >&5 5907echo "$as_me:5907: checking whether htobe64 is declared" >&5
5853echo $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6 5908echo $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6
5854if test "${ac_cv_have_decl_htobe64+set}" = set; then 5909if 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
5856else 5911else
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
5862int 5917int
5863main () 5918main ()
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
5873rm -f conftest.$ac_objext 5928rm -f conftest.$ac_objext
5874if { (eval echo "$as_me:5874: \"$ac_compile\"") >&5 5929if { (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
5886else 5941else
5887 echo "$as_me: failed program was:" >&5 5942 echo "$as_me: failed program was:" >&5
5888cat conftest.$ac_ext >&5 5943cat conftest.$ac_ext >&5
5889ac_cv_have_decl_htobe64=no 5944ac_cv_have_decl_htobe64=no
5890fi 5945fi
5891rm -f conftest.$ac_objext conftest.$ac_ext 5946rm -f conftest.$ac_objext conftest.$ac_ext
5892fi 5947fi
5893echo "$as_me:5893: result: $ac_cv_have_decl_htobe64" >&5 5948echo "$as_me:5948: result: $ac_cv_have_decl_htobe64" >&5
5894echo "${ECHO_T}$ac_cv_have_decl_htobe64" >&6 5949echo "${ECHO_T}$ac_cv_have_decl_htobe64" >&6
5895if test $ac_cv_have_decl_htobe64 = yes; then 5950if test $ac_cv_have_decl_htobe64 = yes; then
5896 5951
5897cat >>confdefs.h <<EOF 5952cat >>confdefs.h <<EOF
5898#define HAVE_DECL_HTOBE64 1 5953#define HAVE_DECL_HTOBE64 1
5899EOF 5954EOF
5900 5955
5901else 5956else
5902 cat >>confdefs.h <<EOF 5957 cat >>confdefs.h <<EOF
5903#define HAVE_DECL_HTOBE64 0 5958#define HAVE_DECL_HTOBE64 0
5904EOF 5959EOF
5905 5960
5906fi 5961fi
5907echo "$as_me:5907: checking whether htole16 is declared" >&5 5962echo "$as_me:5962: checking whether htole16 is declared" >&5
5908echo $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6 5963echo $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6
5909if test "${ac_cv_have_decl_htole16+set}" = set; then 5964if 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
5911else 5966else
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
5917int 5972int
5918main () 5973main ()
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
5928rm -f conftest.$ac_objext 5983rm -f conftest.$ac_objext
5929if { (eval echo "$as_me:5929: \"$ac_compile\"") >&5 5984if { (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
5941else 5996else
5942 echo "$as_me: failed program was:" >&5 5997 echo "$as_me: failed program was:" >&5
5943cat conftest.$ac_ext >&5 5998cat conftest.$ac_ext >&5
5944ac_cv_have_decl_htole16=no 5999ac_cv_have_decl_htole16=no
5945fi 6000fi
5946rm -f conftest.$ac_objext conftest.$ac_ext 6001rm -f conftest.$ac_objext conftest.$ac_ext
5947fi 6002fi
5948echo "$as_me:5948: result: $ac_cv_have_decl_htole16" >&5 6003echo "$as_me:6003: result: $ac_cv_have_decl_htole16" >&5
5949echo "${ECHO_T}$ac_cv_have_decl_htole16" >&6 6004echo "${ECHO_T}$ac_cv_have_decl_htole16" >&6
5950if test $ac_cv_have_decl_htole16 = yes; then 6005if test $ac_cv_have_decl_htole16 = yes; then
5951 6006
5952cat >>confdefs.h <<EOF 6007cat >>confdefs.h <<EOF
5953#define HAVE_DECL_HTOLE16 1 6008#define HAVE_DECL_HTOLE16 1
5954EOF 6009EOF
5955 6010
5956else 6011else
5957 cat >>confdefs.h <<EOF 6012 cat >>confdefs.h <<EOF
5958#define HAVE_DECL_HTOLE16 0 6013#define HAVE_DECL_HTOLE16 0
5959EOF 6014EOF
5960 6015
5961fi 6016fi
5962echo "$as_me:5962: checking whether htole32 is declared" >&5 6017echo "$as_me:6017: checking whether htole32 is declared" >&5
5963echo $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6 6018echo $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6
5964if test "${ac_cv_have_decl_htole32+set}" = set; then 6019if 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
5966else 6021else
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
5972int 6027int
5973main () 6028main ()
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
5983rm -f conftest.$ac_objext 6038rm -f conftest.$ac_objext
5984if { (eval echo "$as_me:5984: \"$ac_compile\"") >&5 6039if { (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
5996else 6051else
5997 echo "$as_me: failed program was:" >&5 6052 echo "$as_me: failed program was:" >&5
5998cat conftest.$ac_ext >&5 6053cat conftest.$ac_ext >&5
5999ac_cv_have_decl_htole32=no 6054ac_cv_have_decl_htole32=no
6000fi 6055fi
6001rm -f conftest.$ac_objext conftest.$ac_ext 6056rm -f conftest.$ac_objext conftest.$ac_ext
6002fi 6057fi
6003echo "$as_me:6003: result: $ac_cv_have_decl_htole32" >&5 6058echo "$as_me:6058: result: $ac_cv_have_decl_htole32" >&5
6004echo "${ECHO_T}$ac_cv_have_decl_htole32" >&6 6059echo "${ECHO_T}$ac_cv_have_decl_htole32" >&6
6005if test $ac_cv_have_decl_htole32 = yes; then 6060if test $ac_cv_have_decl_htole32 = yes; then
6006 6061
6007cat >>confdefs.h <<EOF 6062cat >>confdefs.h <<EOF
6008#define HAVE_DECL_HTOLE32 1 6063#define HAVE_DECL_HTOLE32 1
6009EOF 6064EOF
6010 6065
6011else 6066else
6012 cat >>confdefs.h <<EOF 6067 cat >>confdefs.h <<EOF
6013#define HAVE_DECL_HTOLE32 0 6068#define HAVE_DECL_HTOLE32 0
6014EOF 6069EOF
6015 6070
6016fi 6071fi
6017echo "$as_me:6017: checking whether htole64 is declared" >&5 6072echo "$as_me:6072: checking whether htole64 is declared" >&5
6018echo $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6 6073echo $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6
6019if test "${ac_cv_have_decl_htole64+set}" = set; then 6074if 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
6021else 6076else
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
6027int 6082int
6028main () 6083main ()
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
6038rm -f conftest.$ac_objext 6093rm -f conftest.$ac_objext
6039if { (eval echo "$as_me:6039: \"$ac_compile\"") >&5 6094if { (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
6051else 6106else
6052 echo "$as_me: failed program was:" >&5 6107 echo "$as_me: failed program was:" >&5
6053cat conftest.$ac_ext >&5 6108cat conftest.$ac_ext >&5
6054ac_cv_have_decl_htole64=no 6109ac_cv_have_decl_htole64=no
6055fi 6110fi
6056rm -f conftest.$ac_objext conftest.$ac_ext 6111rm -f conftest.$ac_objext conftest.$ac_ext
6057fi 6112fi
6058echo "$as_me:6058: result: $ac_cv_have_decl_htole64" >&5 6113echo "$as_me:6113: result: $ac_cv_have_decl_htole64" >&5
6059echo "${ECHO_T}$ac_cv_have_decl_htole64" >&6 6114echo "${ECHO_T}$ac_cv_have_decl_htole64" >&6
6060if test $ac_cv_have_decl_htole64 = yes; then 6115if test $ac_cv_have_decl_htole64 = yes; then
6061 6116
6062cat >>confdefs.h <<EOF 6117cat >>confdefs.h <<EOF
6063#define HAVE_DECL_HTOLE64 1 6118#define HAVE_DECL_HTOLE64 1
6064EOF 6119EOF
6065 6120
6066else 6121else
6067 cat >>confdefs.h <<EOF 6122 cat >>confdefs.h <<EOF
6068#define HAVE_DECL_HTOLE64 0 6123#define HAVE_DECL_HTOLE64 0
6069EOF 6124EOF
6070 6125
6071fi 6126fi
6072echo "$as_me:6072: checking whether be16toh is declared" >&5 6127echo "$as_me:6127: checking whether be16toh is declared" >&5
6073echo $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6 6128echo $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6
6074if test "${ac_cv_have_decl_be16toh+set}" = set; then 6129if 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
6076else 6131else
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
6082int 6137int
6083main () 6138main ()
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
6093rm -f conftest.$ac_objext 6148rm -f conftest.$ac_objext
6094if { (eval echo "$as_me:6094: \"$ac_compile\"") >&5 6149if { (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
6106else 6161else
6107 echo "$as_me: failed program was:" >&5 6162 echo "$as_me: failed program was:" >&5
6108cat conftest.$ac_ext >&5 6163cat conftest.$ac_ext >&5
6109ac_cv_have_decl_be16toh=no 6164ac_cv_have_decl_be16toh=no
6110fi 6165fi
6111rm -f conftest.$ac_objext conftest.$ac_ext 6166rm -f conftest.$ac_objext conftest.$ac_ext
6112fi 6167fi
6113echo "$as_me:6113: result: $ac_cv_have_decl_be16toh" >&5 6168echo "$as_me:6168: result: $ac_cv_have_decl_be16toh" >&5
6114echo "${ECHO_T}$ac_cv_have_decl_be16toh" >&6 6169echo "${ECHO_T}$ac_cv_have_decl_be16toh" >&6
6115if test $ac_cv_have_decl_be16toh = yes; then 6170if test $ac_cv_have_decl_be16toh = yes; then
6116 6171
6117cat >>confdefs.h <<EOF 6172cat >>confdefs.h <<EOF
6118#define HAVE_DECL_BE16TOH 1 6173#define HAVE_DECL_BE16TOH 1
6119EOF 6174EOF
6120 6175
6121else 6176else
6122 cat >>confdefs.h <<EOF 6177 cat >>confdefs.h <<EOF
6123#define HAVE_DECL_BE16TOH 0 6178#define HAVE_DECL_BE16TOH 0
6124EOF 6179EOF
6125 6180
6126fi 6181fi
6127echo "$as_me:6127: checking whether be32toh is declared" >&5 6182echo "$as_me:6182: checking whether be32toh is declared" >&5
6128echo $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6 6183echo $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6
6129if test "${ac_cv_have_decl_be32toh+set}" = set; then 6184if 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
6131else 6186else
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
6137int 6192int
6138main () 6193main ()
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
6148rm -f conftest.$ac_objext 6203rm -f conftest.$ac_objext
6149if { (eval echo "$as_me:6149: \"$ac_compile\"") >&5 6204if { (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
6161else 6216else
6162 echo "$as_me: failed program was:" >&5 6217 echo "$as_me: failed program was:" >&5
6163cat conftest.$ac_ext >&5 6218cat conftest.$ac_ext >&5
6164ac_cv_have_decl_be32toh=no 6219ac_cv_have_decl_be32toh=no
6165fi 6220fi
6166rm -f conftest.$ac_objext conftest.$ac_ext 6221rm -f conftest.$ac_objext conftest.$ac_ext
6167fi 6222fi
6168echo "$as_me:6168: result: $ac_cv_have_decl_be32toh" >&5 6223echo "$as_me:6223: result: $ac_cv_have_decl_be32toh" >&5
6169echo "${ECHO_T}$ac_cv_have_decl_be32toh" >&6 6224echo "${ECHO_T}$ac_cv_have_decl_be32toh" >&6
6170if test $ac_cv_have_decl_be32toh = yes; then 6225if test $ac_cv_have_decl_be32toh = yes; then
6171 6226
6172cat >>confdefs.h <<EOF 6227cat >>confdefs.h <<EOF
6173#define HAVE_DECL_BE32TOH 1 6228#define HAVE_DECL_BE32TOH 1
6174EOF 6229EOF
6175 6230
6176else 6231else
6177 cat >>confdefs.h <<EOF 6232 cat >>confdefs.h <<EOF
6178#define HAVE_DECL_BE32TOH 0 6233#define HAVE_DECL_BE32TOH 0
6179EOF 6234EOF
6180 6235
6181fi 6236fi
6182echo "$as_me:6182: checking whether be64toh is declared" >&5 6237echo "$as_me:6237: checking whether be64toh is declared" >&5
6183echo $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6 6238echo $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6
6184if test "${ac_cv_have_decl_be64toh+set}" = set; then 6239if 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
6186else 6241else
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
6192int 6247int
6193main () 6248main ()
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
6203rm -f conftest.$ac_objext 6258rm -f conftest.$ac_objext
6204if { (eval echo "$as_me:6204: \"$ac_compile\"") >&5 6259if { (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
6216else 6271else
6217 echo "$as_me: failed program was:" >&5 6272 echo "$as_me: failed program was:" >&5
6218cat conftest.$ac_ext >&5 6273cat conftest.$ac_ext >&5
6219ac_cv_have_decl_be64toh=no 6274ac_cv_have_decl_be64toh=no
6220fi 6275fi
6221rm -f conftest.$ac_objext conftest.$ac_ext 6276rm -f conftest.$ac_objext conftest.$ac_ext
6222fi 6277fi
6223echo "$as_me:6223: result: $ac_cv_have_decl_be64toh" >&5 6278echo "$as_me:6278: result: $ac_cv_have_decl_be64toh" >&5
6224echo "${ECHO_T}$ac_cv_have_decl_be64toh" >&6 6279echo "${ECHO_T}$ac_cv_have_decl_be64toh" >&6
6225if test $ac_cv_have_decl_be64toh = yes; then 6280if test $ac_cv_have_decl_be64toh = yes; then
6226 6281
6227cat >>confdefs.h <<EOF 6282cat >>confdefs.h <<EOF
6228#define HAVE_DECL_BE64TOH 1 6283#define HAVE_DECL_BE64TOH 1
6229EOF 6284EOF
6230 6285
6231else 6286else
6232 cat >>confdefs.h <<EOF 6287 cat >>confdefs.h <<EOF
6233#define HAVE_DECL_BE64TOH 0 6288#define HAVE_DECL_BE64TOH 0
6234EOF 6289EOF
6235 6290
6236fi 6291fi
6237echo "$as_me:6237: checking whether le16toh is declared" >&5 6292echo "$as_me:6292: checking whether le16toh is declared" >&5
6238echo $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6 6293echo $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6
6239if test "${ac_cv_have_decl_le16toh+set}" = set; then 6294if 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
6241else 6296else
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
6247int 6302int
6248main () 6303main ()
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
6258rm -f conftest.$ac_objext 6313rm -f conftest.$ac_objext
6259if { (eval echo "$as_me:6259: \"$ac_compile\"") >&5 6314if { (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
6271else 6326else
6272 echo "$as_me: failed program was:" >&5 6327 echo "$as_me: failed program was:" >&5
6273cat conftest.$ac_ext >&5 6328cat conftest.$ac_ext >&5
6274ac_cv_have_decl_le16toh=no 6329ac_cv_have_decl_le16toh=no
6275fi 6330fi
6276rm -f conftest.$ac_objext conftest.$ac_ext 6331rm -f conftest.$ac_objext conftest.$ac_ext
6277fi 6332fi
6278echo "$as_me:6278: result: $ac_cv_have_decl_le16toh" >&5 6333echo "$as_me:6333: result: $ac_cv_have_decl_le16toh" >&5
6279echo "${ECHO_T}$ac_cv_have_decl_le16toh" >&6 6334echo "${ECHO_T}$ac_cv_have_decl_le16toh" >&6
6280if test $ac_cv_have_decl_le16toh = yes; then 6335if test $ac_cv_have_decl_le16toh = yes; then
6281 6336
6282cat >>confdefs.h <<EOF 6337cat >>confdefs.h <<EOF
6283#define HAVE_DECL_LE16TOH 1 6338#define HAVE_DECL_LE16TOH 1
6284EOF 6339EOF
6285 6340
6286else 6341else
6287 cat >>confdefs.h <<EOF 6342 cat >>confdefs.h <<EOF
6288#define HAVE_DECL_LE16TOH 0 6343#define HAVE_DECL_LE16TOH 0
6289EOF 6344EOF
6290 6345
6291fi 6346fi
6292echo "$as_me:6292: checking whether le32toh is declared" >&5 6347echo "$as_me:6347: checking whether le32toh is declared" >&5
6293echo $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6 6348echo $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6
6294if test "${ac_cv_have_decl_le32toh+set}" = set; then 6349if 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
6296else 6351else
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
6302int 6357int
6303main () 6358main ()
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
6313rm -f conftest.$ac_objext 6368rm -f conftest.$ac_objext
6314if { (eval echo "$as_me:6314: \"$ac_compile\"") >&5 6369if { (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
6326else 6381else
6327 echo "$as_me: failed program was:" >&5 6382 echo "$as_me: failed program was:" >&5
6328cat conftest.$ac_ext >&5 6383cat conftest.$ac_ext >&5
6329ac_cv_have_decl_le32toh=no 6384ac_cv_have_decl_le32toh=no
6330fi 6385fi
6331rm -f conftest.$ac_objext conftest.$ac_ext 6386rm -f conftest.$ac_objext conftest.$ac_ext
6332fi 6387fi
6333echo "$as_me:6333: result: $ac_cv_have_decl_le32toh" >&5 6388echo "$as_me:6388: result: $ac_cv_have_decl_le32toh" >&5
6334echo "${ECHO_T}$ac_cv_have_decl_le32toh" >&6 6389echo "${ECHO_T}$ac_cv_have_decl_le32toh" >&6
6335if test $ac_cv_have_decl_le32toh = yes; then 6390if test $ac_cv_have_decl_le32toh = yes; then
6336 6391
6337cat >>confdefs.h <<EOF 6392cat >>confdefs.h <<EOF
6338#define HAVE_DECL_LE32TOH 1 6393#define HAVE_DECL_LE32TOH 1
6339EOF 6394EOF
6340 6395
6341else 6396else
6342 cat >>confdefs.h <<EOF 6397 cat >>confdefs.h <<EOF
6343#define HAVE_DECL_LE32TOH 0 6398#define HAVE_DECL_LE32TOH 0
6344EOF 6399EOF
6345 6400
6346fi 6401fi
6347echo "$as_me:6347: checking whether le64toh is declared" >&5 6402echo "$as_me:6402: checking whether le64toh is declared" >&5
6348echo $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6 6403echo $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6
6349if test "${ac_cv_have_decl_le64toh+set}" = set; then 6404if 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
6351else 6406else
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
6357int 6412int
6358main () 6413main ()
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
6368rm -f conftest.$ac_objext 6423rm -f conftest.$ac_objext
6369if { (eval echo "$as_me:6369: \"$ac_compile\"") >&5 6424if { (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
6381else 6436else
6382 echo "$as_me: failed program was:" >&5 6437 echo "$as_me: failed program was:" >&5
6383cat conftest.$ac_ext >&5 6438cat conftest.$ac_ext >&5
6384ac_cv_have_decl_le64toh=no 6439ac_cv_have_decl_le64toh=no
6385fi 6440fi
6386rm -f conftest.$ac_objext conftest.$ac_ext 6441rm -f conftest.$ac_objext conftest.$ac_ext
6387fi 6442fi
6388echo "$as_me:6388: result: $ac_cv_have_decl_le64toh" >&5 6443echo "$as_me:6443: result: $ac_cv_have_decl_le64toh" >&5
6389echo "${ECHO_T}$ac_cv_have_decl_le64toh" >&6 6444echo "${ECHO_T}$ac_cv_have_decl_le64toh" >&6
6390if test $ac_cv_have_decl_le64toh = yes; then 6445if test $ac_cv_have_decl_le64toh = yes; then
6391 6446
6392cat >>confdefs.h <<EOF 6447cat >>confdefs.h <<EOF
6393#define HAVE_DECL_LE64TOH 1 6448#define HAVE_DECL_LE64TOH 1
6394EOF 6449EOF
6395 6450
6396else 6451else
6397 cat >>confdefs.h <<EOF 6452 cat >>confdefs.h <<EOF
6398#define HAVE_DECL_LE64TOH 0 6453#define HAVE_DECL_LE64TOH 0
6399EOF 6454EOF
6400 6455
6401fi 6456fi
6402 6457
6403echo "$as_me:6403: checking whether bswap16 is declared" >&5 6458echo "$as_me:6458: checking whether bswap16 is declared" >&5
6404echo $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6 6459echo $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6
6405if test "${ac_cv_have_decl_bswap16+set}" = set; then 6460if 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
6407else 6462else
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
6413int 6468int
6414main () 6469main ()
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
6424rm -f conftest.$ac_objext 6479rm -f conftest.$ac_objext
6425if { (eval echo "$as_me:6425: \"$ac_compile\"") >&5 6480if { (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
6437else 6492else
6438 echo "$as_me: failed program was:" >&5 6493 echo "$as_me: failed program was:" >&5
6439cat conftest.$ac_ext >&5 6494cat conftest.$ac_ext >&5
6440ac_cv_have_decl_bswap16=no 6495ac_cv_have_decl_bswap16=no
6441fi 6496fi
6442rm -f conftest.$ac_objext conftest.$ac_ext 6497rm -f conftest.$ac_objext conftest.$ac_ext
6443fi 6498fi
6444echo "$as_me:6444: result: $ac_cv_have_decl_bswap16" >&5 6499echo "$as_me:6499: result: $ac_cv_have_decl_bswap16" >&5
6445echo "${ECHO_T}$ac_cv_have_decl_bswap16" >&6 6500echo "${ECHO_T}$ac_cv_have_decl_bswap16" >&6
6446if test $ac_cv_have_decl_bswap16 = yes; then 6501if test $ac_cv_have_decl_bswap16 = yes; then
6447 6502
6448cat >>confdefs.h <<EOF 6503cat >>confdefs.h <<EOF
6449#define HAVE_DECL_BSWAP16 1 6504#define HAVE_DECL_BSWAP16 1
6450EOF 6505EOF
6451 6506
6452else 6507else
6453 cat >>confdefs.h <<EOF 6508 cat >>confdefs.h <<EOF
6454#define HAVE_DECL_BSWAP16 0 6509#define HAVE_DECL_BSWAP16 0
6455EOF 6510EOF
6456 6511
6457fi 6512fi
6458echo "$as_me:6458: checking whether bswap32 is declared" >&5 6513echo "$as_me:6513: checking whether bswap32 is declared" >&5
6459echo $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6 6514echo $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6
6460if test "${ac_cv_have_decl_bswap32+set}" = set; then 6515if 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
6462else 6517else
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
6468int 6523int
6469main () 6524main ()
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
6479rm -f conftest.$ac_objext 6534rm -f conftest.$ac_objext
6480if { (eval echo "$as_me:6480: \"$ac_compile\"") >&5 6535if { (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
6492else 6547else
6493 echo "$as_me: failed program was:" >&5 6548 echo "$as_me: failed program was:" >&5
6494cat conftest.$ac_ext >&5 6549cat conftest.$ac_ext >&5
6495ac_cv_have_decl_bswap32=no 6550ac_cv_have_decl_bswap32=no
6496fi 6551fi
6497rm -f conftest.$ac_objext conftest.$ac_ext 6552rm -f conftest.$ac_objext conftest.$ac_ext
6498fi 6553fi
6499echo "$as_me:6499: result: $ac_cv_have_decl_bswap32" >&5 6554echo "$as_me:6554: result: $ac_cv_have_decl_bswap32" >&5
6500echo "${ECHO_T}$ac_cv_have_decl_bswap32" >&6 6555echo "${ECHO_T}$ac_cv_have_decl_bswap32" >&6
6501if test $ac_cv_have_decl_bswap32 = yes; then 6556if test $ac_cv_have_decl_bswap32 = yes; then
6502 6557
6503cat >>confdefs.h <<EOF 6558cat >>confdefs.h <<EOF
6504#define HAVE_DECL_BSWAP32 1 6559#define HAVE_DECL_BSWAP32 1
6505EOF 6560EOF
6506 6561
6507else 6562else
6508 cat >>confdefs.h <<EOF 6563 cat >>confdefs.h <<EOF
6509#define HAVE_DECL_BSWAP32 0 6564#define HAVE_DECL_BSWAP32 0
6510EOF 6565EOF
6511 6566
6512fi 6567fi
6513echo "$as_me:6513: checking whether bswap64 is declared" >&5 6568echo "$as_me:6568: checking whether bswap64 is declared" >&5
6514echo $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6 6569echo $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6
6515if test "${ac_cv_have_decl_bswap64+set}" = set; then 6570if 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
6517else 6572else
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
6523int 6578int
6524main () 6579main ()
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
6534rm -f conftest.$ac_objext 6589rm -f conftest.$ac_objext
6535if { (eval echo "$as_me:6535: \"$ac_compile\"") >&5 6590if { (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
6547else 6602else
6548 echo "$as_me: failed program was:" >&5 6603 echo "$as_me: failed program was:" >&5
6549cat conftest.$ac_ext >&5 6604cat conftest.$ac_ext >&5
6550ac_cv_have_decl_bswap64=no 6605ac_cv_have_decl_bswap64=no
6551fi 6606fi
6552rm -f conftest.$ac_objext conftest.$ac_ext 6607rm -f conftest.$ac_objext conftest.$ac_ext
6553fi 6608fi
6554echo "$as_me:6554: result: $ac_cv_have_decl_bswap64" >&5 6609echo "$as_me:6609: result: $ac_cv_have_decl_bswap64" >&5
6555echo "${ECHO_T}$ac_cv_have_decl_bswap64" >&6 6610echo "${ECHO_T}$ac_cv_have_decl_bswap64" >&6
6556if test $ac_cv_have_decl_bswap64 = yes; then 6611if test $ac_cv_have_decl_bswap64 = yes; then
6557 6612
6558cat >>confdefs.h <<EOF 6613cat >>confdefs.h <<EOF
6559#define HAVE_DECL_BSWAP64 1 6614#define HAVE_DECL_BSWAP64 1
6560EOF 6615EOF
6561 6616
6562else 6617else
6563 cat >>confdefs.h <<EOF 6618 cat >>confdefs.h <<EOF
6564#define HAVE_DECL_BSWAP64 0 6619#define HAVE_DECL_BSWAP64 0
6565EOF 6620EOF
6566 6621
6567fi 6622fi
6568 6623
6569echo "$as_me:6569: checking whether be16enc is declared" >&5 6624echo "$as_me:6624: checking whether be16enc is declared" >&5
6570echo $ECHO_N "checking whether be16enc is declared... $ECHO_C" >&6 6625echo $ECHO_N "checking whether be16enc is declared... $ECHO_C" >&6
6571if test "${ac_cv_have_decl_be16enc+set}" = set; then 6626if 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
6573else 6628else
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
6579int 6634int
6580main () 6635main ()
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
6590rm -f conftest.$ac_objext 6645rm -f conftest.$ac_objext
6591if { (eval echo "$as_me:6591: \"$ac_compile\"") >&5 6646if { (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
6603else 6658else
6604 echo "$as_me: failed program was:" >&5 6659 echo "$as_me: failed program was:" >&5
6605cat conftest.$ac_ext >&5 6660cat conftest.$ac_ext >&5
6606ac_cv_have_decl_be16enc=no 6661ac_cv_have_decl_be16enc=no
6607fi 6662fi
6608rm -f conftest.$ac_objext conftest.$ac_ext 6663rm -f conftest.$ac_objext conftest.$ac_ext
6609fi 6664fi
6610echo "$as_me:6610: result: $ac_cv_have_decl_be16enc" >&5 6665echo "$as_me:6665: result: $ac_cv_have_decl_be16enc" >&5
6611echo "${ECHO_T}$ac_cv_have_decl_be16enc" >&6 6666echo "${ECHO_T}$ac_cv_have_decl_be16enc" >&6
6612if test $ac_cv_have_decl_be16enc = yes; then 6667if test $ac_cv_have_decl_be16enc = yes; then
6613 6668
6614cat >>confdefs.h <<EOF 6669cat >>confdefs.h <<EOF
6615#define HAVE_DECL_BE16ENC 1 6670#define HAVE_DECL_BE16ENC 1
6616EOF 6671EOF
6617 6672
6618else 6673else
6619 cat >>confdefs.h <<EOF 6674 cat >>confdefs.h <<EOF
6620#define HAVE_DECL_BE16ENC 0 6675#define HAVE_DECL_BE16ENC 0
6621EOF 6676EOF
6622 6677
6623fi 6678fi
6624echo "$as_me:6624: checking whether le16enc is declared" >&5 6679echo "$as_me:6679: checking whether le16enc is declared" >&5
6625echo $ECHO_N "checking whether le16enc is declared... $ECHO_C" >&6 6680echo $ECHO_N "checking whether le16enc is declared... $ECHO_C" >&6
6626if test "${ac_cv_have_decl_le16enc+set}" = set; then 6681if 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
6628else 6683else
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
6634int 6689int
6635main () 6690main ()
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
6645rm -f conftest.$ac_objext 6700rm -f conftest.$ac_objext
6646if { (eval echo "$as_me:6646: \"$ac_compile\"") >&5 6701if { (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
6658else 6713else
6659 echo "$as_me: failed program was:" >&5 6714 echo "$as_me: failed program was:" >&5
6660cat conftest.$ac_ext >&5 6715cat conftest.$ac_ext >&5
6661ac_cv_have_decl_le16enc=no 6716ac_cv_have_decl_le16enc=no
6662fi 6717fi
6663rm -f conftest.$ac_objext conftest.$ac_ext 6718rm -f conftest.$ac_objext conftest.$ac_ext
6664fi 6719fi
6665echo "$as_me:6665: result: $ac_cv_have_decl_le16enc" >&5 6720echo "$as_me:6720: result: $ac_cv_have_decl_le16enc" >&5
6666echo "${ECHO_T}$ac_cv_have_decl_le16enc" >&6 6721echo "${ECHO_T}$ac_cv_have_decl_le16enc" >&6
6667if test $ac_cv_have_decl_le16enc = yes; then 6722if test $ac_cv_have_decl_le16enc = yes; then
6668 6723
6669cat >>confdefs.h <<EOF 6724cat >>confdefs.h <<EOF
6670#define HAVE_DECL_LE16ENC 1 6725#define HAVE_DECL_LE16ENC 1
6671EOF 6726EOF
6672 6727
6673else 6728else
6674 cat >>confdefs.h <<EOF 6729 cat >>confdefs.h <<EOF
6675#define HAVE_DECL_LE16ENC 0 6730#define HAVE_DECL_LE16ENC 0
6676EOF 6731EOF
6677 6732
6678fi 6733fi
6679echo "$as_me:6679: checking whether be16dec is declared" >&5 6734echo "$as_me:6734: checking whether be16dec is declared" >&5
6680echo $ECHO_N "checking whether be16dec is declared... $ECHO_C" >&6 6735echo $ECHO_N "checking whether be16dec is declared... $ECHO_C" >&6
6681if test "${ac_cv_have_decl_be16dec+set}" = set; then 6736if 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
6683else 6738else
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
6689int 6744int
6690main () 6745main ()
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
6700rm -f conftest.$ac_objext 6755rm -f conftest.$ac_objext
6701if { (eval echo "$as_me:6701: \"$ac_compile\"") >&5 6756if { (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
6713else 6768else
6714 echo "$as_me: failed program was:" >&5 6769 echo "$as_me: failed program was:" >&5
6715cat conftest.$ac_ext >&5 6770cat conftest.$ac_ext >&5
6716ac_cv_have_decl_be16dec=no 6771ac_cv_have_decl_be16dec=no
6717fi 6772fi
6718rm -f conftest.$ac_objext conftest.$ac_ext 6773rm -f conftest.$ac_objext conftest.$ac_ext
6719fi 6774fi
6720echo "$as_me:6720: result: $ac_cv_have_decl_be16dec" >&5 6775echo "$as_me:6775: result: $ac_cv_have_decl_be16dec" >&5
6721echo "${ECHO_T}$ac_cv_have_decl_be16dec" >&6 6776echo "${ECHO_T}$ac_cv_have_decl_be16dec" >&6
6722if test $ac_cv_have_decl_be16dec = yes; then 6777if test $ac_cv_have_decl_be16dec = yes; then
6723 6778
6724cat >>confdefs.h <<EOF 6779cat >>confdefs.h <<EOF
6725#define HAVE_DECL_BE16DEC 1 6780#define HAVE_DECL_BE16DEC 1
6726EOF 6781EOF
6727 6782
6728else 6783else
6729 cat >>confdefs.h <<EOF 6784 cat >>confdefs.h <<EOF
6730#define HAVE_DECL_BE16DEC 0 6785#define HAVE_DECL_BE16DEC 0
6731EOF 6786EOF
6732 6787
6733fi 6788fi
6734echo "$as_me:6734: checking whether le16dec is declared" >&5 6789echo "$as_me:6789: checking whether le16dec is declared" >&5
6735echo $ECHO_N "checking whether le16dec is declared... $ECHO_C" >&6 6790echo $ECHO_N "checking whether le16dec is declared... $ECHO_C" >&6
6736if test "${ac_cv_have_decl_le16dec+set}" = set; then 6791if 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
6738else 6793else
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
6744int 6799int
6745main () 6800main ()
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
6755rm -f conftest.$ac_objext 6810rm -f conftest.$ac_objext
6756if { (eval echo "$as_me:6756: \"$ac_compile\"") >&5 6811if { (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
6768else 6823else
6769 echo "$as_me: failed program was:" >&5 6824 echo "$as_me: failed program was:" >&5
6770cat conftest.$ac_ext >&5 6825cat conftest.$ac_ext >&5
6771ac_cv_have_decl_le16dec=no 6826ac_cv_have_decl_le16dec=no
6772fi 6827fi
6773rm -f conftest.$ac_objext conftest.$ac_ext 6828rm -f conftest.$ac_objext conftest.$ac_ext
6774fi 6829fi
6775echo "$as_me:6775: result: $ac_cv_have_decl_le16dec" >&5 6830echo "$as_me:6830: result: $ac_cv_have_decl_le16dec" >&5
6776echo "${ECHO_T}$ac_cv_have_decl_le16dec" >&6 6831echo "${ECHO_T}$ac_cv_have_decl_le16dec" >&6
6777if test $ac_cv_have_decl_le16dec = yes; then 6832if test $ac_cv_have_decl_le16dec = yes; then
6778 6833
6779cat >>confdefs.h <<EOF 6834cat >>confdefs.h <<EOF
6780#define HAVE_DECL_LE16DEC 1 6835#define HAVE_DECL_LE16DEC 1
6781EOF 6836EOF
6782 6837
6783else 6838else
6784 cat >>confdefs.h <<EOF 6839 cat >>confdefs.h <<EOF
6785#define HAVE_DECL_LE16DEC 0 6840#define HAVE_DECL_LE16DEC 0
6786EOF 6841EOF
6787 6842
6788fi 6843fi
6789echo "$as_me:6789: checking whether be32enc is declared" >&5 6844echo "$as_me:6844: checking whether be32enc is declared" >&5
6790echo $ECHO_N "checking whether be32enc is declared... $ECHO_C" >&6 6845echo $ECHO_N "checking whether be32enc is declared... $ECHO_C" >&6
6791if test "${ac_cv_have_decl_be32enc+set}" = set; then 6846if 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
6793else 6848else
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
6799int 6854int
6800main () 6855main ()
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
6810rm -f conftest.$ac_objext 6865rm -f conftest.$ac_objext
6811if { (eval echo "$as_me:6811: \"$ac_compile\"") >&5 6866if { (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
6823else 6878else
6824 echo "$as_me: failed program was:" >&5 6879 echo "$as_me: failed program was:" >&5
6825cat conftest.$ac_ext >&5 6880cat conftest.$ac_ext >&5
6826ac_cv_have_decl_be32enc=no 6881ac_cv_have_decl_be32enc=no
6827fi 6882fi
6828rm -f conftest.$ac_objext conftest.$ac_ext 6883rm -f conftest.$ac_objext conftest.$ac_ext
6829fi 6884fi
6830echo "$as_me:6830: result: $ac_cv_have_decl_be32enc" >&5 6885echo "$as_me:6885: result: $ac_cv_have_decl_be32enc" >&5
6831echo "${ECHO_T}$ac_cv_have_decl_be32enc" >&6 6886echo "${ECHO_T}$ac_cv_have_decl_be32enc" >&6
6832if test $ac_cv_have_decl_be32enc = yes; then 6887if test $ac_cv_have_decl_be32enc = yes; then
6833 6888
6834cat >>confdefs.h <<EOF 6889cat >>confdefs.h <<EOF
6835#define HAVE_DECL_BE32ENC 1 6890#define HAVE_DECL_BE32ENC 1
6836EOF 6891EOF
6837 6892
6838else 6893else
6839 cat >>confdefs.h <<EOF 6894 cat >>confdefs.h <<EOF
6840#define HAVE_DECL_BE32ENC 0 6895#define HAVE_DECL_BE32ENC 0
6841EOF 6896EOF
6842 6897
6843fi 6898fi
6844echo "$as_me:6844: checking whether le32enc is declared" >&5 6899echo "$as_me:6899: checking whether le32enc is declared" >&5
6845echo $ECHO_N "checking whether le32enc is declared... $ECHO_C" >&6 6900echo $ECHO_N "checking whether le32enc is declared... $ECHO_C" >&6
6846if test "${ac_cv_have_decl_le32enc+set}" = set; then 6901if 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
6848else 6903else
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
6854int 6909int
6855main () 6910main ()
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
6865rm -f conftest.$ac_objext 6920rm -f conftest.$ac_objext
6866if { (eval echo "$as_me:6866: \"$ac_compile\"") >&5 6921if { (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
6878else 6933else
6879 echo "$as_me: failed program was:" >&5 6934 echo "$as_me: failed program was:" >&5
6880cat conftest.$ac_ext >&5 6935cat conftest.$ac_ext >&5
6881ac_cv_have_decl_le32enc=no 6936ac_cv_have_decl_le32enc=no
6882fi 6937fi
6883rm -f conftest.$ac_objext conftest.$ac_ext 6938rm -f conftest.$ac_objext conftest.$ac_ext
6884fi 6939fi
6885echo "$as_me:6885: result: $ac_cv_have_decl_le32enc" >&5 6940echo "$as_me:6940: result: $ac_cv_have_decl_le32enc" >&5
6886echo "${ECHO_T}$ac_cv_have_decl_le32enc" >&6 6941echo "${ECHO_T}$ac_cv_have_decl_le32enc" >&6
6887if test $ac_cv_have_decl_le32enc = yes; then 6942if test $ac_cv_have_decl_le32enc = yes; then
6888 6943
6889cat >>confdefs.h <<EOF 6944cat >>confdefs.h <<EOF
6890#define HAVE_DECL_LE32ENC 1 6945#define HAVE_DECL_LE32ENC 1
6891EOF 6946EOF
6892 6947
6893else 6948else
6894 cat >>confdefs.h <<EOF 6949 cat >>confdefs.h <<EOF
6895#define HAVE_DECL_LE32ENC 0 6950#define HAVE_DECL_LE32ENC 0
6896EOF 6951EOF
6897 6952
6898fi 6953fi
6899echo "$as_me:6899: checking whether be32dec is declared" >&5 6954echo "$as_me:6954: checking whether be32dec is declared" >&5
6900echo $ECHO_N "checking whether be32dec is declared... $ECHO_C" >&6 6955echo $ECHO_N "checking whether be32dec is declared... $ECHO_C" >&6
6901if test "${ac_cv_have_decl_be32dec+set}" = set; then 6956if 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
6903else 6958else
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
6909int 6964int
6910main () 6965main ()
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
6920rm -f conftest.$ac_objext 6975rm -f conftest.$ac_objext
6921if { (eval echo "$as_me:6921: \"$ac_compile\"") >&5 6976if { (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
6933else 6988else
6934 echo "$as_me: failed program was:" >&5 6989 echo "$as_me: failed program was:" >&5
6935cat conftest.$ac_ext >&5 6990cat conftest.$ac_ext >&5
6936ac_cv_have_decl_be32dec=no 6991ac_cv_have_decl_be32dec=no
6937fi 6992fi
6938rm -f conftest.$ac_objext conftest.$ac_ext 6993rm -f conftest.$ac_objext conftest.$ac_ext
6939fi 6994fi
6940echo "$as_me:6940: result: $ac_cv_have_decl_be32dec" >&5 6995echo "$as_me:6995: result: $ac_cv_have_decl_be32dec" >&5
6941echo "${ECHO_T}$ac_cv_have_decl_be32dec" >&6 6996echo "${ECHO_T}$ac_cv_have_decl_be32dec" >&6
6942if test $ac_cv_have_decl_be32dec = yes; then 6997if test $ac_cv_have_decl_be32dec = yes; then
6943 6998
6944cat >>confdefs.h <<EOF 6999cat >>confdefs.h <<EOF
6945#define HAVE_DECL_BE32DEC 1 7000#define HAVE_DECL_BE32DEC 1
6946EOF 7001EOF
6947 7002
6948else 7003else
6949 cat >>confdefs.h <<EOF 7004 cat >>confdefs.h <<EOF
6950#define HAVE_DECL_BE32DEC 0 7005#define HAVE_DECL_BE32DEC 0
6951EOF 7006EOF
6952 7007
6953fi 7008fi
6954echo "$as_me:6954: checking whether le32dec is declared" >&5 7009echo "$as_me:7009: checking whether le32dec is declared" >&5
6955echo $ECHO_N "checking whether le32dec is declared... $ECHO_C" >&6 7010echo $ECHO_N "checking whether le32dec is declared... $ECHO_C" >&6
6956if test "${ac_cv_have_decl_le32dec+set}" = set; then 7011if 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
6958else 7013else
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
6964int 7019int
6965main () 7020main ()
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
6975rm -f conftest.$ac_objext 7030rm -f conftest.$ac_objext
6976if { (eval echo "$as_me:6976: \"$ac_compile\"") >&5 7031if { (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
6988else 7043else
6989 echo "$as_me: failed program was:" >&5 7044 echo "$as_me: failed program was:" >&5
6990cat conftest.$ac_ext >&5 7045cat conftest.$ac_ext >&5
6991ac_cv_have_decl_le32dec=no 7046ac_cv_have_decl_le32dec=no
6992fi 7047fi
6993rm -f conftest.$ac_objext conftest.$ac_ext 7048rm -f conftest.$ac_objext conftest.$ac_ext
6994fi 7049fi
6995echo "$as_me:6995: result: $ac_cv_have_decl_le32dec" >&5 7050echo "$as_me:7050: result: $ac_cv_have_decl_le32dec" >&5
6996echo "${ECHO_T}$ac_cv_have_decl_le32dec" >&6 7051echo "${ECHO_T}$ac_cv_have_decl_le32dec" >&6
6997if test $ac_cv_have_decl_le32dec = yes; then 7052if test $ac_cv_have_decl_le32dec = yes; then
6998 7053
6999cat >>confdefs.h <<EOF 7054cat >>confdefs.h <<EOF
7000#define HAVE_DECL_LE32DEC 1 7055#define HAVE_DECL_LE32DEC 1
7001EOF 7056EOF
7002 7057
7003else 7058else
7004 cat >>confdefs.h <<EOF 7059 cat >>confdefs.h <<EOF
7005#define HAVE_DECL_LE32DEC 0 7060#define HAVE_DECL_LE32DEC 0
7006EOF 7061EOF
7007 7062
7008fi 7063fi
7009echo "$as_me:7009: checking whether be64enc is declared" >&5 7064echo "$as_me:7064: checking whether be64enc is declared" >&5
7010echo $ECHO_N "checking whether be64enc is declared... $ECHO_C" >&6 7065echo $ECHO_N "checking whether be64enc is declared... $ECHO_C" >&6
7011if test "${ac_cv_have_decl_be64enc+set}" = set; then 7066if 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
7013else 7068else
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
7019int 7074int
7020main () 7075main ()
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
7030rm -f conftest.$ac_objext 7085rm -f conftest.$ac_objext
7031if { (eval echo "$as_me:7031: \"$ac_compile\"") >&5 7086if { (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
7043else 7098else
7044 echo "$as_me: failed program was:" >&5 7099 echo "$as_me: failed program was:" >&5
7045cat conftest.$ac_ext >&5 7100cat conftest.$ac_ext >&5
7046ac_cv_have_decl_be64enc=no 7101ac_cv_have_decl_be64enc=no
7047fi 7102fi
7048rm -f conftest.$ac_objext conftest.$ac_ext 7103rm -f conftest.$ac_objext conftest.$ac_ext
7049fi 7104fi
7050echo "$as_me:7050: result: $ac_cv_have_decl_be64enc" >&5 7105echo "$as_me:7105: result: $ac_cv_have_decl_be64enc" >&5
7051echo "${ECHO_T}$ac_cv_have_decl_be64enc" >&6 7106echo "${ECHO_T}$ac_cv_have_decl_be64enc" >&6
7052if test $ac_cv_have_decl_be64enc = yes; then 7107if test $ac_cv_have_decl_be64enc = yes; then
7053 7108
7054cat >>confdefs.h <<EOF 7109cat >>confdefs.h <<EOF
7055#define HAVE_DECL_BE64ENC 1 7110#define HAVE_DECL_BE64ENC 1
7056EOF 7111EOF
7057 7112
7058else 7113else
7059 cat >>confdefs.h <<EOF 7114 cat >>confdefs.h <<EOF
7060#define HAVE_DECL_BE64ENC 0 7115#define HAVE_DECL_BE64ENC 0
7061EOF 7116EOF
7062 7117
7063fi 7118fi
7064echo "$as_me:7064: checking whether le64enc is declared" >&5 7119echo "$as_me:7119: checking whether le64enc is declared" >&5
7065echo $ECHO_N "checking whether le64enc is declared... $ECHO_C" >&6 7120echo $ECHO_N "checking whether le64enc is declared... $ECHO_C" >&6
7066if test "${ac_cv_have_decl_le64enc+set}" = set; then 7121if 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
7068else 7123else
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
7074int 7129int
7075main () 7130main ()
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
7085rm -f conftest.$ac_objext 7140rm -f conftest.$ac_objext
7086if { (eval echo "$as_me:7086: \"$ac_compile\"") >&5 7141if { (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
7098else 7153else
7099 echo "$as_me: failed program was:" >&5 7154 echo "$as_me: failed program was:" >&5
7100cat conftest.$ac_ext >&5 7155cat conftest.$ac_ext >&5
7101ac_cv_have_decl_le64enc=no 7156ac_cv_have_decl_le64enc=no
7102fi 7157fi
7103rm -f conftest.$ac_objext conftest.$ac_ext 7158rm -f conftest.$ac_objext conftest.$ac_ext
7104fi 7159fi
7105echo "$as_me:7105: result: $ac_cv_have_decl_le64enc" >&5 7160echo "$as_me:7160: result: $ac_cv_have_decl_le64enc" >&5
7106echo "${ECHO_T}$ac_cv_have_decl_le64enc" >&6 7161echo "${ECHO_T}$ac_cv_have_decl_le64enc" >&6
7107if test $ac_cv_have_decl_le64enc = yes; then 7162if test $ac_cv_have_decl_le64enc = yes; then
7108 7163
7109cat >>confdefs.h <<EOF 7164cat >>confdefs.h <<EOF
7110#define HAVE_DECL_LE64ENC 1 7165#define HAVE_DECL_LE64ENC 1
7111EOF 7166EOF
7112 7167
7113else 7168else
7114 cat >>confdefs.h <<EOF 7169 cat >>confdefs.h <<EOF
7115#define HAVE_DECL_LE64ENC 0 7170#define HAVE_DECL_LE64ENC 0
7116EOF 7171EOF
7117 7172
7118fi 7173fi
7119echo "$as_me:7119: checking whether be64dec is declared" >&5 7174echo "$as_me:7174: checking whether be64dec is declared" >&5
7120echo $ECHO_N "checking whether be64dec is declared... $ECHO_C" >&6 7175echo $ECHO_N "checking whether be64dec is declared... $ECHO_C" >&6
7121if test "${ac_cv_have_decl_be64dec+set}" = set; then 7176if 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
7123else 7178else
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
7129int 7184int
7130main () 7185main ()
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
7140rm -f conftest.$ac_objext 7195rm -f conftest.$ac_objext
7141if { (eval echo "$as_me:7141: \"$ac_compile\"") >&5 7196if { (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
7153else 7208else
7154 echo "$as_me: failed program was:" >&5 7209 echo "$as_me: failed program was:" >&5
7155cat conftest.$ac_ext >&5 7210cat conftest.$ac_ext >&5
7156ac_cv_have_decl_be64dec=no 7211ac_cv_have_decl_be64dec=no
7157fi 7212fi
7158rm -f conftest.$ac_objext conftest.$ac_ext 7213rm -f conftest.$ac_objext conftest.$ac_ext
7159fi 7214fi
7160echo "$as_me:7160: result: $ac_cv_have_decl_be64dec" >&5 7215echo "$as_me:7215: result: $ac_cv_have_decl_be64dec" >&5
7161echo "${ECHO_T}$ac_cv_have_decl_be64dec" >&6 7216echo "${ECHO_T}$ac_cv_have_decl_be64dec" >&6
7162if test $ac_cv_have_decl_be64dec = yes; then 7217if test $ac_cv_have_decl_be64dec = yes; then
7163 7218
7164cat >>confdefs.h <<EOF 7219cat >>confdefs.h <<EOF
7165#define HAVE_DECL_BE64DEC 1 7220#define HAVE_DECL_BE64DEC 1
7166EOF 7221EOF
7167 7222
7168else 7223else
7169 cat >>confdefs.h <<EOF 7224 cat >>confdefs.h <<EOF
7170#define HAVE_DECL_BE64DEC 0 7225#define HAVE_DECL_BE64DEC 0
7171EOF 7226EOF
7172 7227
7173fi 7228fi
7174echo "$as_me:7174: checking whether le64dec is declared" >&5 7229echo "$as_me:7229: checking whether le64dec is declared" >&5
7175echo $ECHO_N "checking whether le64dec is declared... $ECHO_C" >&6 7230echo $ECHO_N "checking whether le64dec is declared... $ECHO_C" >&6
7176if test "${ac_cv_have_decl_le64dec+set}" = set; then 7231if 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
7178else 7233else
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
7184int 7239int
7185main () 7240main ()
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
7195rm -f conftest.$ac_objext 7250rm -f conftest.$ac_objext
7196if { (eval echo "$as_me:7196: \"$ac_compile\"") >&5 7251if { (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
7208else 7263else
7209 echo "$as_me: failed program was:" >&5 7264 echo "$as_me: failed program was:" >&5
7210cat conftest.$ac_ext >&5 7265cat conftest.$ac_ext >&5
7211ac_cv_have_decl_le64dec=no 7266ac_cv_have_decl_le64dec=no
7212fi 7267fi
7213rm -f conftest.$ac_objext conftest.$ac_ext 7268rm -f conftest.$ac_objext conftest.$ac_ext
7214fi 7269fi
7215echo "$as_me:7215: result: $ac_cv_have_decl_le64dec" >&5 7270echo "$as_me:7270: result: $ac_cv_have_decl_le64dec" >&5
7216echo "${ECHO_T}$ac_cv_have_decl_le64dec" >&6 7271echo "${ECHO_T}$ac_cv_have_decl_le64dec" >&6
7217if test $ac_cv_have_decl_le64dec = yes; then 7272if test $ac_cv_have_decl_le64dec = yes; then
7218 7273
7219cat >>confdefs.h <<EOF 7274cat >>confdefs.h <<EOF
7220#define HAVE_DECL_LE64DEC 1 7275#define HAVE_DECL_LE64DEC 1
7221EOF 7276EOF
7222 7277
7223else 7278else
7224 cat >>confdefs.h <<EOF 7279 cat >>confdefs.h <<EOF
7225#define HAVE_DECL_LE64DEC 0 7280#define HAVE_DECL_LE64DEC 0
7226EOF 7281EOF
7227 7282
7228fi 7283fi
7229 7284
7230echo "$as_me:7230: checking whether fstatvfs is declared" >&5 7285echo "$as_me:7285: checking whether fstatvfs is declared" >&5
7231echo $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6 7286echo $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6
7232if test "${ac_cv_have_decl_fstatvfs+set}" = set; then 7287if 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
7234else 7289else
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
7240int 7295int
7241main () 7296main ()
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
7251rm -f conftest.$ac_objext 7306rm -f conftest.$ac_objext
7252if { (eval echo "$as_me:7252: \"$ac_compile\"") >&5 7307if { (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
7264else 7319else
7265 echo "$as_me: failed program was:" >&5 7320 echo "$as_me: failed program was:" >&5
7266cat conftest.$ac_ext >&5 7321cat conftest.$ac_ext >&5
7267ac_cv_have_decl_fstatvfs=no 7322ac_cv_have_decl_fstatvfs=no
7268fi 7323fi
7269rm -f conftest.$ac_objext conftest.$ac_ext 7324rm -f conftest.$ac_objext conftest.$ac_ext
7270fi 7325fi
7271echo "$as_me:7271: result: $ac_cv_have_decl_fstatvfs" >&5 7326echo "$as_me:7326: result: $ac_cv_have_decl_fstatvfs" >&5
7272echo "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6 7327echo "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6
7273if test $ac_cv_have_decl_fstatvfs = yes; then 7328if test $ac_cv_have_decl_fstatvfs = yes; then
7274 7329
7275cat >>confdefs.h <<EOF 7330cat >>confdefs.h <<EOF
7276#define HAVE_DECL_FSTATVFS 1 7331#define HAVE_DECL_FSTATVFS 1
7277EOF 7332EOF
7278 7333
7279else 7334else
7280 cat >>confdefs.h <<EOF 7335 cat >>confdefs.h <<EOF
7281#define HAVE_DECL_FSTATVFS 0 7336#define HAVE_DECL_FSTATVFS 0
7282EOF 7337EOF
7283 7338
7284fi 7339fi
7285 7340
7286echo "$as_me:7286: checking whether setgroupent is declared" >&5 7341echo "$as_me:7341: checking whether setgroupent is declared" >&5
7287echo $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6 7342echo $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
7288if test "${ac_cv_have_decl_setgroupent+set}" = set; then 7343if 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
7290else 7345else
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
7299int 7354int
7300main () 7355main ()
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
7310rm -f conftest.$ac_objext 7365rm -f conftest.$ac_objext
7311if { (eval echo "$as_me:7311: \"$ac_compile\"") >&5 7366if { (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
7323else 7378else
7324 echo "$as_me: failed program was:" >&5 7379 echo "$as_me: failed program was:" >&5
7325cat conftest.$ac_ext >&5 7380cat conftest.$ac_ext >&5
7326ac_cv_have_decl_setgroupent=no 7381ac_cv_have_decl_setgroupent=no
7327fi 7382fi
7328rm -f conftest.$ac_objext conftest.$ac_ext 7383rm -f conftest.$ac_objext conftest.$ac_ext
7329fi 7384fi
7330echo "$as_me:7330: result: $ac_cv_have_decl_setgroupent" >&5 7385echo "$as_me:7385: result: $ac_cv_have_decl_setgroupent" >&5
7331echo "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6 7386echo "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
7332if test $ac_cv_have_decl_setgroupent = yes; then 7387if test $ac_cv_have_decl_setgroupent = yes; then
7333 7388
7334cat >>confdefs.h <<EOF 7389cat >>confdefs.h <<EOF
7335#define HAVE_DECL_SETGROUPENT 1 7390#define HAVE_DECL_SETGROUPENT 1
7336EOF 7391EOF
7337 7392
7338else 7393else
7339 cat >>confdefs.h <<EOF 7394 cat >>confdefs.h <<EOF
7340#define HAVE_DECL_SETGROUPENT 0 7395#define HAVE_DECL_SETGROUPENT 0
7341EOF 7396EOF
7342 7397
7343fi 7398fi
7344echo "$as_me:7344: checking whether setpassent is declared" >&5 7399echo "$as_me:7399: checking whether setpassent is declared" >&5
7345echo $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6 7400echo $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
7346if test "${ac_cv_have_decl_setpassent+set}" = set; then 7401if 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
7348else 7403else
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
7357int 7412int
7358main () 7413main ()
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
7368rm -f conftest.$ac_objext 7423rm -f conftest.$ac_objext
7369if { (eval echo "$as_me:7369: \"$ac_compile\"") >&5 7424if { (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
7381else 7436else
7382 echo "$as_me: failed program was:" >&5 7437 echo "$as_me: failed program was:" >&5
7383cat conftest.$ac_ext >&5 7438cat conftest.$ac_ext >&5
7384ac_cv_have_decl_setpassent=no 7439ac_cv_have_decl_setpassent=no
7385fi 7440fi
7386rm -f conftest.$ac_objext conftest.$ac_ext 7441rm -f conftest.$ac_objext conftest.$ac_ext
7387fi 7442fi
7388echo "$as_me:7388: result: $ac_cv_have_decl_setpassent" >&5 7443echo "$as_me:7443: result: $ac_cv_have_decl_setpassent" >&5
7389echo "${ECHO_T}$ac_cv_have_decl_setpassent" >&6 7444echo "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
7390if test $ac_cv_have_decl_setpassent = yes; then 7445if test $ac_cv_have_decl_setpassent = yes; then
7391 7446
7392cat >>confdefs.h <<EOF 7447cat >>confdefs.h <<EOF
7393#define HAVE_DECL_SETPASSENT 1 7448#define HAVE_DECL_SETPASSENT 1
7394EOF 7449EOF
7395 7450
7396else 7451else
7397 cat >>confdefs.h <<EOF 7452 cat >>confdefs.h <<EOF
7398#define HAVE_DECL_SETPASSENT 0 7453#define HAVE_DECL_SETPASSENT 0
7399EOF 7454EOF
7400 7455
7401fi 7456fi
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
7406echo "$as_me:7406: checking for regfree in -lregex" >&5 7461echo "$as_me:7461: checking for regfree in -lregex" >&5
7407echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6 7462echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
7408if test "${ac_cv_lib_regex_regfree+set}" = set; then 7463if 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
7410else 7465else
7411 ac_check_lib_save_LIBS=$LIBS 7466 ac_check_lib_save_LIBS=$LIBS
7412LIBS="-lregex $LIBS" 7467LIBS="-lregex $LIBS"
7413cat >conftest.$ac_ext <<_ACEOF 7468cat >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
7419extern "C" 7474extern "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. */
7423char regfree (); 7478char regfree ();
7424int 7479int
7425main () 7480main ()
7426{ 7481{
7427regfree (); 7482regfree ();
7428 ; 7483 ;
7429 return 0; 7484 return 0;
7430} 7485}
7431_ACEOF 7486_ACEOF
7432rm -f conftest.$ac_objext conftest$ac_exeext 7487rm -f conftest.$ac_objext conftest$ac_exeext
7433if { (eval echo "$as_me:7433: \"$ac_link\"") >&5 7488if { (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
7445else 7500else
7446 echo "$as_me: failed program was:" >&5 7501 echo "$as_me: failed program was:" >&5
7447cat conftest.$ac_ext >&5 7502cat conftest.$ac_ext >&5
7448ac_cv_lib_regex_regfree=no 7503ac_cv_lib_regex_regfree=no
7449fi 7504fi
7450rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7505rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7451LIBS=$ac_check_lib_save_LIBS 7506LIBS=$ac_check_lib_save_LIBS
7452fi 7507fi
7453echo "$as_me:7453: result: $ac_cv_lib_regex_regfree" >&5 7508echo "$as_me:7508: result: $ac_cv_lib_regex_regfree" >&5
7454echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6 7509echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
7455if test $ac_cv_lib_regex_regfree = yes; then 7510if 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
7458EOF 7513EOF
7459 7514
7460 LIBS="-lregex $LIBS" 7515 LIBS="-lregex $LIBS"
7461 7516
7462fi 7517fi
7463 7518
7464echo "$as_me:7464: checking for library containing regfree" >&5 7519echo "$as_me:7519: checking for library containing regfree" >&5
7465echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6 7520echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
7466if test "${ac_cv_search_regfree+set}" = set; then 7521if test "${ac_cv_search_regfree+set}" = set; then
7467 echo $ECHO_N "(cached) $ECHO_C" >&6 7522 echo $ECHO_N "(cached) $ECHO_C" >&6
7468else 7523else
7469 ac_func_search_save_LIBS=$LIBS 7524 ac_func_search_save_LIBS=$LIBS
7470ac_cv_search_regfree=no 7525ac_cv_search_regfree=no
7471cat >conftest.$ac_ext <<_ACEOF 7526cat >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
7477extern "C" 7532extern "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. */
7481char regfree (); 7536char regfree ();
7482int 7537int
7483main () 7538main ()
7484{ 7539{
7485regfree (); 7540regfree ();
7486 ; 7541 ;
7487 return 0; 7542 return 0;
7488} 7543}
7489_ACEOF 7544_ACEOF
7490rm -f conftest.$ac_objext conftest$ac_exeext 7545rm -f conftest.$ac_objext conftest$ac_exeext
7491if { (eval echo "$as_me:7491: \"$ac_link\"") >&5 7546if { (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"
7503else 7558else
7504 echo "$as_me: failed program was:" >&5 7559 echo "$as_me: failed program was:" >&5
7505cat conftest.$ac_ext >&5 7560cat conftest.$ac_ext >&5
7506fi 7561fi
7507rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7562rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7508if test "$ac_cv_search_regfree" = no; then 7563if 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
7517extern "C" 7572extern "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. */
7521char regfree (); 7576char regfree ();
7522int 7577int
7523main () 7578main ()
7524{ 7579{
7525regfree (); 7580regfree ();
7526 ; 7581 ;
7527 return 0; 7582 return 0;
7528} 7583}
7529_ACEOF 7584_ACEOF
7530rm -f conftest.$ac_objext conftest$ac_exeext 7585rm -f conftest.$ac_objext conftest$ac_exeext
7531if { (eval echo "$as_me:7531: \"$ac_link\"") >&5 7586if { (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"
7543break 7598break
7544else 7599else
7545 echo "$as_me: failed program was:" >&5 7600 echo "$as_me: failed program was:" >&5
7546cat conftest.$ac_ext >&5 7601cat conftest.$ac_ext >&5
7547fi 7602fi
7548rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7603rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7549 done 7604 done
7550fi 7605fi
7551LIBS=$ac_func_search_save_LIBS 7606LIBS=$ac_func_search_save_LIBS
7552fi 7607fi
7553echo "$as_me:7553: result: $ac_cv_search_regfree" >&5 7608echo "$as_me:7608: result: $ac_cv_search_regfree" >&5
7554echo "${ECHO_T}$ac_cv_search_regfree" >&6 7609echo "${ECHO_T}$ac_cv_search_regfree" >&6
7555if test "$ac_cv_search_regfree" != no; then 7610if 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
7558fi 7613fi
7559 7614
7560echo "$as_me:7560: checking for clock_gettime in -lrt" >&5 7615echo "$as_me:7615: checking for clock_gettime in -lrt" >&5
7561echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6 7616echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
7562if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then 7617if 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
7564else 7619else
7565 ac_check_lib_save_LIBS=$LIBS 7620 ac_check_lib_save_LIBS=$LIBS
7566LIBS="-lrt $LIBS" 7621LIBS="-lrt $LIBS"
7567cat >conftest.$ac_ext <<_ACEOF 7622cat >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
7573extern "C" 7628extern "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. */
7577char clock_gettime (); 7632char clock_gettime ();
7578int 7633int
7579main () 7634main ()
7580{ 7635{
7581clock_gettime (); 7636clock_gettime ();
7582 ; 7637 ;
7583 return 0; 7638 return 0;
7584} 7639}
7585_ACEOF 7640_ACEOF
7586rm -f conftest.$ac_objext conftest$ac_exeext 7641rm -f conftest.$ac_objext conftest$ac_exeext
7587if { (eval echo "$as_me:7587: \"$ac_link\"") >&5 7642if { (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
7599else 7654else
7600 echo "$as_me: failed program was:" >&5 7655 echo "$as_me: failed program was:" >&5
7601cat conftest.$ac_ext >&5 7656cat conftest.$ac_ext >&5
7602ac_cv_lib_rt_clock_gettime=no 7657ac_cv_lib_rt_clock_gettime=no
7603fi 7658fi
7604rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7659rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7605LIBS=$ac_check_lib_save_LIBS 7660LIBS=$ac_check_lib_save_LIBS
7606fi 7661fi
7607echo "$as_me:7607: result: $ac_cv_lib_rt_clock_gettime" >&5 7662echo "$as_me:7662: result: $ac_cv_lib_rt_clock_gettime" >&5
7608echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6 7663echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
7609if test $ac_cv_lib_rt_clock_gettime = yes; then 7664if 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
7612EOF 7667EOF
7613 7668
7614 LIBS="-lrt $LIBS" 7669 LIBS="-lrt $LIBS"
7615 7670
7616fi 7671fi
7617 7672
7618for ac_func in fparseln 7673for ac_func in fparseln
7619do 7674do
7620as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7675as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7621echo "$as_me:7621: checking for $ac_func" >&5 7676echo "$as_me:7676: checking for $ac_func" >&5
7622echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7677echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7623if eval "test \"\${$as_ac_var+set}\" = set"; then 7678if eval "test \"\${$as_ac_var+set}\" = set"; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6 7679 echo $ECHO_N "(cached) $ECHO_C" >&6
7625else 7680else
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
7634extern "C" 7689extern "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. */
7638char $ac_func (); 7693char $ac_func ();
7639char (*f) (); 7694char (*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)
7648choke me 7703choke me
7649#else 7704#else
7650f = $ac_func; 7705f = $ac_func;
7651#endif 7706#endif
7652 7707
7653 ; 7708 ;
7654 return 0; 7709 return 0;
7655} 7710}
7656_ACEOF 7711_ACEOF
7657rm -f conftest.$ac_objext conftest$ac_exeext 7712rm -f conftest.$ac_objext conftest$ac_exeext
7658if { (eval echo "$as_me:7658: \"$ac_link\"") >&5 7713if { (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"
7670else 7725else
7671 echo "$as_me: failed program was:" >&5 7726 echo "$as_me: failed program was:" >&5
7672cat conftest.$ac_ext >&5 7727cat conftest.$ac_ext >&5
7673eval "$as_ac_var=no" 7728eval "$as_ac_var=no"
7674fi 7729fi
7675rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7730rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7676fi 7731fi
7677echo "$as_me:7677: result: `eval echo '${'$as_ac_var'}'`" >&5 7732echo "$as_me:7732: result: `eval echo '${'$as_ac_var'}'`" >&5
7678echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7733echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7679if test `eval echo '${'$as_ac_var'}'` = yes; then 7734if 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
7682EOF 7737EOF
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
7685echo $ECHO_N "checking if fparseln seems to work... $ECHO_C" >&6 7740echo $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
7688echo "$as_me: WARNING: cross compiling: not checking farseln" >&2;} 7743echo "$as_me: WARNING: cross compiling: not checking farseln" >&2;}
7689 7744
7690else 7745else
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 '#'
7700int 7755int
7701main(void) 7756main(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
7720rm -f conftest$ac_exeext 7775rm -f conftest$ac_exeext
7721if { (eval echo "$as_me:7721: \"$ac_link\"") >&5 7776if { (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
7732echo "${ECHO_T}yes" >&6 7787echo "${ECHO_T}yes" >&6
7733else 7788else
7734 echo "$as_me: program exited with status $ac_status" >&5 7789 echo "$as_me: program exited with status $ac_status" >&5
7735echo "$as_me: failed program was:" >&5 7790echo "$as_me: failed program was:" >&5
7736cat conftest.$ac_ext >&5 7791cat conftest.$ac_ext >&5
7737echo "$as_me:7737: result: no" >&5 7792echo "$as_me:7792: result: no" >&5
7738echo "${ECHO_T}no" >&6 7793echo "${ECHO_T}no" >&6
7739 7794
7740cat >>confdefs.h <<\EOF 7795cat >>confdefs.h <<\EOF
7741#define BROKEN_FPARSELN 1 7796#define BROKEN_FPARSELN 1
7742EOF 7797EOF
7743 7798
7744fi 7799fi
7745rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7800rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7746fi 7801fi
7747 7802
7748fi 7803fi
7749done 7804done
7750 7805
@@ -7820,27 +7875,27 @@ s/:*\$(srcdir):*/:/; @@ -7820,27 +7875,27 @@ s/:*\$(srcdir):*/:/;
7820s/:*\${srcdir}:*/:/; 7875s/:*\${srcdir}:*/:/;
7821s/:*@srcdir@:*/:/; 7876s/:*@srcdir@:*/:/;
7822s/^\([^=]*=[ ]*\):*/\1/; 7877s/^\([^=]*=[ ]*\):*/\1/;
7823s/:*$//; 7878s/:*$//;
7824s/^[^=]*=[ ]*$//; 7879s/^[^=]*=[ ]*$//;
7825}' 7880}'
7826fi 7881fi
7827 7882
7828DEFS=-DHAVE_CONFIG_H 7883DEFS=-DHAVE_CONFIG_H
7829 7884
7830: ${CONFIG_STATUS=./config.status} 7885: ${CONFIG_STATUS=./config.status}
7831ac_clean_files_save=$ac_clean_files 7886ac_clean_files_save=$ac_clean_files
7832ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7887ac_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
7834echo "$as_me: creating $CONFIG_STATUS" >&6;} 7889echo "$as_me: creating $CONFIG_STATUS" >&6;}
7835cat >$CONFIG_STATUS <<_ACEOF 7890cat >$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
7842debug=false 7897debug=false
7843SHELL=\${CONFIG_SHELL-$SHELL} 7898SHELL=\${CONFIG_SHELL-$SHELL}
7844ac_cs_invocation="\$0 \$@" 7899ac_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.
7994EOF 8049EOF
7995cat >>$CONFIG_STATUS <<EOF 8050cat >>$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 ;;
7999EOF 8054EOF
8000cat >>$CONFIG_STATUS <<\EOF 8055cat >>$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
8006Try \`$0 --help' for more information." >&5 8061Try \`$0 --help' for more information." >&5
8007echo "$as_me: error: ambiguous option: $1 8062echo "$as_me: error: ambiguous option: $1
8008Try \`$0 --help' for more information." >&2;} 8063Try \`$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
8025Try \`$0 --help' for more information." >&5 8080Try \`$0 --help' for more information." >&5
8026echo "$as_me: error: unrecognized option: $1 8081echo "$as_me: error: unrecognized option: $1
8027Try \`$0 --help' for more information." >&2;} 8082Try \`$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
8034done 8089done
8035 8090
8036exec 5>>config.log 8091exec 5>>config.log
8037cat >&5 << _ACEOF 8092cat >&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
8049on `(hostname || uname -n) 2>/dev/null | sed 1q` 8104on `(hostname || uname -n) 2>/dev/null | sed 1q`
8050 8105
8051_ACEOF 8106_ACEOF
8052EOF 8107EOF
8053 8108
8054cat >>$CONFIG_STATUS <<\EOF 8109cat >>$CONFIG_STATUS <<\EOF
8055for ac_config_target in $ac_config_targets 8110for ac_config_target in $ac_config_targets
8056do 8111do
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
8062echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8117echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8063 { (exit 1); exit 1; }; };; 8118 { (exit 1); exit 1; }; };;
8064 esac 8119 esac
8065done 8120done
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.
8071if $ac_need_defaults; then 8126if $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
8074fi 8129fi
@@ -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
8263echo "$as_me: creating $ac_file" >&6;} 8318echo "$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
8281echo "$as_me: error: cannot find input file: $f" >&2;} 8336echo "$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
8294echo "$as_me: error: cannot find input file: $f" >&2;} 8349echo "$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; }
8299EOF 8354EOF
8300cat >>$CONFIG_STATUS <<EOF 8355cat >>$CONFIG_STATUS <<EOF
8301 sed "$ac_vpsub 8356 sed "$ac_vpsub
8302$extrasub 8357$extrasub
8303EOF 8358EOF
8304cat >>$CONFIG_STATUS <<\EOF 8359cat >>$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
8341for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8396for 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
8354echo "$as_me: creating $ac_file" >&6;} 8409echo "$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
8365echo "$as_me: error: cannot find input file: $f" >&2;} 8420echo "$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
8378echo "$as_me: error: cannot find input file: $f" >&2;} 8433echo "$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
8386EOF 8441EOF
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
8481cat >>$CONFIG_STATUS <<\EOF 8536cat >>$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
8495echo "$as_me: $ac_file is unchanged" >&6;} 8550echo "$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 ||
8502echo X"$ac_file" | 8557echo 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'`