Changeset 4034

Show
Ignore:
Timestamp:
04/03/06 21:10:09 (3 years ago)
Author:
morris
Message:

Remove unneeded

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wired/trunk/configure

    r4033 r4034  
    853853  --enable-maintainer-mode 
    854854                          enable maintainer mode 
    855   --disable-largefile     omit support for large files 
    856855 
    857856Optional Packages: 
     
    24942493        wd_user="$with_user" 
    24952494else 
    2496         wd_user="wired2
     2495        wd_user="wired
    24972496fi 
    24982497 
     
    55415540 
    55425541done 
    5543  
    5544  
    5545  
    5546 ####################################################################### 
    5547 # Checks for typedefs, structures, and compiler characteristics 
    5548  
    5549 # Check whether --enable-largefile or --disable-largefile was given. 
    5550 if test "${enable_largefile+set}" = set; then 
    5551   enableval="$enable_largefile" 
    5552  
    5553 fi; 
    5554 if test "$enable_largefile" != no; then 
    5555  
    5556   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 
    5557 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 
    5558 if test "${ac_cv_sys_largefile_CC+set}" = set; then 
    5559   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5560 else 
    5561   ac_cv_sys_largefile_CC=no 
    5562      if test "$GCC" != yes; then 
    5563        ac_save_CC=$CC 
    5564        while :; do 
    5565          # IRIX 6.2 and later do not support large files by default, 
    5566          # so use the C compiler's -n32 option if that helps. 
    5567          cat >conftest.$ac_ext <<_ACEOF 
    5568 /* confdefs.h.  */ 
    5569 _ACEOF 
    5570 cat confdefs.h >>conftest.$ac_ext 
    5571 cat >>conftest.$ac_ext <<_ACEOF 
    5572 /* end confdefs.h.  */ 
    5573 #include <sys/types.h> 
    5574  /* Check that off_t can represent 2**63 - 1 correctly. 
    5575     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
    5576     since some C++ compilers masquerading as C compilers 
    5577     incorrectly reject 9223372036854775807.  */ 
    5578 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
    5579   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
    5580                        && LARGE_OFF_T % 2147483647 == 1) 
    5581                       ? 1 : -1]; 
    5582 int 
    5583 main () 
    5584 { 
    5585  
    5586   ; 
    5587   return 0; 
    5588 } 
    5589 _ACEOF 
    5590          rm -f conftest.$ac_objext 
    5591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5592   (eval $ac_compile) 2>conftest.er1 
    5593   ac_status=$? 
    5594   grep -v '^ *+' conftest.er1 >conftest.err 
    5595   rm -f conftest.er1 
    5596   cat conftest.err >&5 
    5597   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5598   (exit $ac_status); } && 
    5599          { ac_try='test -z "$ac_c_werror_flag" 
    5600                          || test ! -s conftest.err' 
    5601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5602   (eval $ac_try) 2>&5 
    5603   ac_status=$? 
    5604   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5605   (exit $ac_status); }; } && 
    5606          { ac_try='test -s conftest.$ac_objext' 
    5607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5608   (eval $ac_try) 2>&5 
    5609   ac_status=$? 
    5610   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5611   (exit $ac_status); }; }; then 
    5612   break 
    5613 else 
    5614   echo "$as_me: failed program was:" >&5 
    5615 sed 's/^/| /' conftest.$ac_ext >&5 
    5616  
    5617 fi 
    5618 rm -f conftest.err conftest.$ac_objext 
    5619          CC="$CC -n32" 
    5620          rm -f conftest.$ac_objext 
    5621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5622   (eval $ac_compile) 2>conftest.er1 
    5623   ac_status=$? 
    5624   grep -v '^ *+' conftest.er1 >conftest.err 
    5625   rm -f conftest.er1 
    5626   cat conftest.err >&5 
    5627   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5628   (exit $ac_status); } && 
    5629          { ac_try='test -z "$ac_c_werror_flag" 
    5630                          || test ! -s conftest.err' 
    5631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5632   (eval $ac_try) 2>&5 
    5633   ac_status=$? 
    5634   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5635   (exit $ac_status); }; } && 
    5636          { ac_try='test -s conftest.$ac_objext' 
    5637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5638   (eval $ac_try) 2>&5 
    5639   ac_status=$? 
    5640   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5641   (exit $ac_status); }; }; then 
    5642   ac_cv_sys_largefile_CC=' -n32'; break 
    5643 else 
    5644   echo "$as_me: failed program was:" >&5 
    5645 sed 's/^/| /' conftest.$ac_ext >&5 
    5646  
    5647 fi 
    5648 rm -f conftest.err conftest.$ac_objext 
    5649          break 
    5650        done 
    5651        CC=$ac_save_CC 
    5652        rm -f conftest.$ac_ext 
    5653     fi 
    5654 fi 
    5655 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 
    5656 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 
    5657   if test "$ac_cv_sys_largefile_CC" != no; then 
    5658     CC=$CC$ac_cv_sys_largefile_CC 
    5659   fi 
    5660  
    5661   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 
    5662 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 
    5663 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 
    5664   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5665 else 
    5666   while :; do 
    5667   ac_cv_sys_file_offset_bits=no 
    5668   cat >conftest.$ac_ext <<_ACEOF 
    5669 /* confdefs.h.  */ 
    5670 _ACEOF 
    5671 cat confdefs.h >>conftest.$ac_ext 
    5672 cat >>conftest.$ac_ext <<_ACEOF 
    5673 /* end confdefs.h.  */ 
    5674 #include <sys/types.h> 
    5675  /* Check that off_t can represent 2**63 - 1 correctly. 
    5676     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
    5677     since some C++ compilers masquerading as C compilers 
    5678     incorrectly reject 9223372036854775807.  */ 
    5679 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
    5680   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
    5681                        && LARGE_OFF_T % 2147483647 == 1) 
    5682                       ? 1 : -1]; 
    5683 int 
    5684 main () 
    5685 { 
    5686  
    5687   ; 
    5688   return 0; 
    5689 } 
    5690 _ACEOF 
    5691 rm -f conftest.$ac_objext 
    5692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5693   (eval $ac_compile) 2>conftest.er1 
    5694   ac_status=$? 
    5695   grep -v '^ *+' conftest.er1 >conftest.err 
    5696   rm -f conftest.er1 
    5697   cat conftest.err >&5 
    5698   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5699   (exit $ac_status); } && 
    5700          { ac_try='test -z "$ac_c_werror_flag" 
    5701                          || test ! -s conftest.err' 
    5702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5703   (eval $ac_try) 2>&5 
    5704   ac_status=$? 
    5705   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5706   (exit $ac_status); }; } && 
    5707          { ac_try='test -s conftest.$ac_objext' 
    5708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5709   (eval $ac_try) 2>&5 
    5710   ac_status=$? 
    5711   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5712   (exit $ac_status); }; }; then 
    5713   break 
    5714 else 
    5715   echo "$as_me: failed program was:" >&5 
    5716 sed 's/^/| /' conftest.$ac_ext >&5 
    5717  
    5718 fi 
    5719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5720   cat >conftest.$ac_ext <<_ACEOF 
    5721 /* confdefs.h.  */ 
    5722 _ACEOF 
    5723 cat confdefs.h >>conftest.$ac_ext 
    5724 cat >>conftest.$ac_ext <<_ACEOF 
    5725 /* end confdefs.h.  */ 
    5726 #define _FILE_OFFSET_BITS 64 
    5727 #include <sys/types.h> 
    5728  /* Check that off_t can represent 2**63 - 1 correctly. 
    5729     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
    5730     since some C++ compilers masquerading as C compilers 
    5731     incorrectly reject 9223372036854775807.  */ 
    5732 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
    5733   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
    5734                        && LARGE_OFF_T % 2147483647 == 1) 
    5735                       ? 1 : -1]; 
    5736 int 
    5737 main () 
    5738 { 
    5739  
    5740   ; 
    5741   return 0; 
    5742 } 
    5743 _ACEOF 
    5744 rm -f conftest.$ac_objext 
    5745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5746   (eval $ac_compile) 2>conftest.er1 
    5747   ac_status=$? 
    5748   grep -v '^ *+' conftest.er1 >conftest.err 
    5749   rm -f conftest.er1 
    5750   cat conftest.err >&5 
    5751   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5752   (exit $ac_status); } && 
    5753          { ac_try='test -z "$ac_c_werror_flag" 
    5754                          || test ! -s conftest.err' 
    5755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5756   (eval $ac_try) 2>&5 
    5757   ac_status=$? 
    5758   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5759   (exit $ac_status); }; } && 
    5760          { ac_try='test -s conftest.$ac_objext' 
    5761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5762   (eval $ac_try) 2>&5 
    5763   ac_status=$? 
    5764   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5765   (exit $ac_status); }; }; then 
    5766   ac_cv_sys_file_offset_bits=64; break 
    5767 else 
    5768   echo "$as_me: failed program was:" >&5 
    5769 sed 's/^/| /' conftest.$ac_ext >&5 
    5770  
    5771 fi 
    5772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5773   break 
    5774 done 
    5775 fi 
    5776 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 
    5777 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 
    5778 if test "$ac_cv_sys_file_offset_bits" != no; then 
    5779  
    5780 cat >>confdefs.h <<_ACEOF 
    5781 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 
    5782 _ACEOF 
    5783  
    5784 fi 
    5785 rm -f conftest* 
    5786   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 
    5787 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 
    5788 if test "${ac_cv_sys_large_files+set}" = set; then 
    5789   echo $ECHO_N "(cached) $ECHO_C" >&6 
    5790 else 
    5791   while :; do 
    5792   ac_cv_sys_large_files=no 
    5793   cat >conftest.$ac_ext <<_ACEOF 
    5794 /* confdefs.h.  */ 
    5795 _ACEOF 
    5796 cat confdefs.h >>conftest.$ac_ext 
    5797 cat >>conftest.$ac_ext <<_ACEOF 
    5798 /* end confdefs.h.  */ 
    5799 #include <sys/types.h> 
    5800  /* Check that off_t can represent 2**63 - 1 correctly. 
    5801     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
    5802     since some C++ compilers masquerading as C compilers 
    5803     incorrectly reject 9223372036854775807.  */ 
    5804 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
    5805   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
    5806                        && LARGE_OFF_T % 2147483647 == 1) 
    5807                       ? 1 : -1]; 
    5808 int 
    5809 main () 
    5810 { 
    5811  
    5812   ; 
    5813   return 0; 
    5814 } 
    5815 _ACEOF 
    5816 rm -f conftest.$ac_objext 
    5817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5818   (eval $ac_compile) 2>conftest.er1 
    5819   ac_status=$? 
    5820   grep -v '^ *+' conftest.er1 >conftest.err 
    5821   rm -f conftest.er1 
    5822   cat conftest.err >&5 
    5823   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5824   (exit $ac_status); } && 
    5825          { ac_try='test -z "$ac_c_werror_flag" 
    5826                          || test ! -s conftest.err' 
    5827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5828   (eval $ac_try) 2>&5 
    5829   ac_status=$? 
    5830   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5831   (exit $ac_status); }; } && 
    5832          { ac_try='test -s conftest.$ac_objext' 
    5833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5834   (eval $ac_try) 2>&5 
    5835   ac_status=$? 
    5836   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5837   (exit $ac_status); }; }; then 
    5838   break 
    5839 else 
    5840   echo "$as_me: failed program was:" >&5 
    5841 sed 's/^/| /' conftest.$ac_ext >&5 
    5842  
    5843 fi 
    5844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5845   cat >conftest.$ac_ext <<_ACEOF 
    5846 /* confdefs.h.  */ 
    5847 _ACEOF 
    5848 cat confdefs.h >>conftest.$ac_ext 
    5849 cat >>conftest.$ac_ext <<_ACEOF 
    5850 /* end confdefs.h.  */ 
    5851 #define _LARGE_FILES 1 
    5852 #include <sys/types.h> 
    5853  /* Check that off_t can represent 2**63 - 1 correctly. 
    5854     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
    5855     since some C++ compilers masquerading as C compilers 
    5856     incorrectly reject 9223372036854775807.  */ 
    5857 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
    5858   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
    5859                        && LARGE_OFF_T % 2147483647 == 1) 
    5860                       ? 1 : -1]; 
    5861 int 
    5862 main () 
    5863 { 
    5864  
    5865   ; 
    5866   return 0; 
    5867 } 
    5868 _ACEOF 
    5869 rm -f conftest.$ac_objext 
    5870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    5871   (eval $ac_compile) 2>conftest.er1 
    5872   ac_status=$? 
    5873   grep -v '^ *+' conftest.er1 >conftest.err 
    5874   rm -f conftest.er1 
    5875   cat conftest.err >&5 
    5876   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5877   (exit $ac_status); } && 
    5878          { ac_try='test -z "$ac_c_werror_flag" 
    5879                          || test ! -s conftest.err' 
    5880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5881   (eval $ac_try) 2>&5 
    5882   ac_status=$? 
    5883   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5884   (exit $ac_status); }; } && 
    5885          { ac_try='test -s conftest.$ac_objext' 
    5886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    5887   (eval $ac_try) 2>&5 
    5888   ac_status=$? 
    5889   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    5890   (exit $ac_status); }; }; then 
    5891   ac_cv_sys_large_files=1; break 
    5892 else 
    5893   echo "$as_me: failed program was:" >&5 
    5894 sed 's/^/| /' conftest.$ac_ext >&5 
    5895  
    5896 fi 
    5897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    5898   break 
    5899 done 
    5900 fi 
    5901 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 
    5902 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 
    5903 if test "$ac_cv_sys_large_files" != no; then 
    5904  
    5905 cat >>confdefs.h <<_ACEOF 
    5906 #define _LARGE_FILES $ac_cv_sys_large_files 
    5907 _ACEOF 
    5908  
    5909 fi 
    5910 rm -f conftest* 
    5911 fi 
    59125542 
    59135543 
  • wired/trunk/configure.in

    r4033 r4034  
    351351 
    352352####################################################################### 
    353 # Checks for typedefs, structures, and compiler characteristics 
    354  
    355 AC_SYS_LARGEFILE 
    356  
    357  
    358 ####################################################################### 
    359353# Output 
    360354