Changeset 4052

Show
Ignore:
Timestamp:
04/06/06 19:17:46 (3 years ago)
Author:
morris
Message:

Remove unneeded

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wire/trunk/config.h.in

    r4029 r4052  
    8080/* Application version */ 
    8181#undef WR_VERSION 
    82  
    83 /* Number of bits in a file offset, on hosts where this is settable. */ 
    84 #undef _FILE_OFFSET_BITS 
    85  
    86 /* Define for large files, on AIX-style hosts. */ 
    87 #undef _LARGE_FILES 
  • wire/trunk/configure

    r4049 r4052  
    853853  --enable-maintainer-mode 
    854854                          enable maintainer mode 
    855   --disable-largefile     omit support for large files 
    856855 
    857856Some influential environment variables: 
     
    61376136 
    61386137done 
    6139  
    6140  
    6141  
    6142 ####################################################################### 
    6143 # Checks for typedefs, structures, and compiler characteristics 
    6144  
    6145 # Check whether --enable-largefile or --disable-largefile was given. 
    6146 if test "${enable_largefile+set}" = set; then 
    6147   enableval="$enable_largefile" 
    6148  
    6149 fi; 
    6150 if test "$enable_largefile" != no; then 
    6151  
    6152   echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 
    6153 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 
    6154 if test "${ac_cv_sys_largefile_CC+set}" = set; then 
    6155   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6156 else 
    6157   ac_cv_sys_largefile_CC=no 
    6158      if test "$GCC" != yes; then 
    6159        ac_save_CC=$CC 
    6160        while :; do 
    6161          # IRIX 6.2 and later do not support large files by default, 
    6162          # so use the C compiler's -n32 option if that helps. 
    6163          cat >conftest.$ac_ext <<_ACEOF 
    6164 /* confdefs.h.  */ 
    6165 _ACEOF 
    6166 cat confdefs.h >>conftest.$ac_ext 
    6167 cat >>conftest.$ac_ext <<_ACEOF 
    6168 /* end confdefs.h.  */ 
    6169 #include <sys/types.h> 
    6170  /* Check that off_t can represent 2**63 - 1 correctly. 
    6171     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
    6172     since some C++ compilers masquerading as C compilers 
    6173     incorrectly reject 9223372036854775807.  */ 
    6174 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
    6175   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
    6176                        && LARGE_OFF_T % 2147483647 == 1) 
    6177                       ? 1 : -1]; 
    6178 int 
    6179 main () 
    6180 { 
    6181  
    6182   ; 
    6183   return 0; 
    6184 } 
    6185 _ACEOF 
    6186          rm -f conftest.$ac_objext 
    6187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6188   (eval $ac_compile) 2>conftest.er1 
    6189   ac_status=$? 
    6190   grep -v '^ *+' conftest.er1 >conftest.err 
    6191   rm -f conftest.er1 
    6192   cat conftest.err >&5 
    6193   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6194   (exit $ac_status); } && 
    6195          { ac_try='test -z "$ac_c_werror_flag" 
    6196                          || test ! -s conftest.err' 
    6197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6198   (eval $ac_try) 2>&5 
    6199   ac_status=$? 
    6200   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6201   (exit $ac_status); }; } && 
    6202          { ac_try='test -s conftest.$ac_objext' 
    6203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6204   (eval $ac_try) 2>&5 
    6205   ac_status=$? 
    6206   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6207   (exit $ac_status); }; }; then 
    6208   break 
    6209 else 
    6210   echo "$as_me: failed program was:" >&5 
    6211 sed 's/^/| /' conftest.$ac_ext >&5 
    6212  
    6213 fi 
    6214 rm -f conftest.err conftest.$ac_objext 
    6215          CC="$CC -n32" 
    6216          rm -f conftest.$ac_objext 
    6217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6218   (eval $ac_compile) 2>conftest.er1 
    6219   ac_status=$? 
    6220   grep -v '^ *+' conftest.er1 >conftest.err 
    6221   rm -f conftest.er1 
    6222   cat conftest.err >&5 
    6223   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6224   (exit $ac_status); } && 
    6225          { ac_try='test -z "$ac_c_werror_flag" 
    6226                          || test ! -s conftest.err' 
    6227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6228   (eval $ac_try) 2>&5 
    6229   ac_status=$? 
    6230   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6231   (exit $ac_status); }; } && 
    6232          { ac_try='test -s conftest.$ac_objext' 
    6233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6234   (eval $ac_try) 2>&5 
    6235   ac_status=$? 
    6236   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6237   (exit $ac_status); }; }; then 
    6238   ac_cv_sys_largefile_CC=' -n32'; break 
    6239 else 
    6240   echo "$as_me: failed program was:" >&5 
    6241 sed 's/^/| /' conftest.$ac_ext >&5 
    6242  
    6243 fi 
    6244 rm -f conftest.err conftest.$ac_objext 
    6245          break 
    6246        done 
    6247        CC=$ac_save_CC 
    6248        rm -f conftest.$ac_ext 
    6249     fi 
    6250 fi 
    6251 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 
    6252 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 
    6253   if test "$ac_cv_sys_largefile_CC" != no; then 
    6254     CC=$CC$ac_cv_sys_largefile_CC 
    6255   fi 
    6256  
    6257   echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 
    6258 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 
    6259 if test "${ac_cv_sys_file_offset_bits+set}" = set; then 
    6260   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6261 else 
    6262   while :; do 
    6263   ac_cv_sys_file_offset_bits=no 
    6264   cat >conftest.$ac_ext <<_ACEOF 
    6265 /* confdefs.h.  */ 
    6266 _ACEOF 
    6267 cat confdefs.h >>conftest.$ac_ext 
    6268 cat >>conftest.$ac_ext <<_ACEOF 
    6269 /* end confdefs.h.  */ 
    6270 #include <sys/types.h> 
    6271  /* Check that off_t can represent 2**63 - 1 correctly. 
    6272     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
    6273     since some C++ compilers masquerading as C compilers 
    6274     incorrectly reject 9223372036854775807.  */ 
    6275 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
    6276   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
    6277                        && LARGE_OFF_T % 2147483647 == 1) 
    6278                       ? 1 : -1]; 
    6279 int 
    6280 main () 
    6281 { 
    6282  
    6283   ; 
    6284   return 0; 
    6285 } 
    6286 _ACEOF 
    6287 rm -f conftest.$ac_objext 
    6288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6289   (eval $ac_compile) 2>conftest.er1 
    6290   ac_status=$? 
    6291   grep -v '^ *+' conftest.er1 >conftest.err 
    6292   rm -f conftest.er1 
    6293   cat conftest.err >&5 
    6294   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6295   (exit $ac_status); } && 
    6296          { ac_try='test -z "$ac_c_werror_flag" 
    6297                          || test ! -s conftest.err' 
    6298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6299   (eval $ac_try) 2>&5 
    6300   ac_status=$? 
    6301   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6302   (exit $ac_status); }; } && 
    6303          { ac_try='test -s conftest.$ac_objext' 
    6304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6305   (eval $ac_try) 2>&5 
    6306   ac_status=$? 
    6307   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6308   (exit $ac_status); }; }; then 
    6309   break 
    6310 else 
    6311   echo "$as_me: failed program was:" >&5 
    6312 sed 's/^/| /' conftest.$ac_ext >&5 
    6313  
    6314 fi 
    6315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6316   cat >conftest.$ac_ext <<_ACEOF 
    6317 /* confdefs.h.  */ 
    6318 _ACEOF 
    6319 cat confdefs.h >>conftest.$ac_ext 
    6320 cat >>conftest.$ac_ext <<_ACEOF 
    6321 /* end confdefs.h.  */ 
    6322 #define _FILE_OFFSET_BITS 64 
    6323 #include <sys/types.h> 
    6324  /* Check that off_t can represent 2**63 - 1 correctly. 
    6325     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
    6326     since some C++ compilers masquerading as C compilers 
    6327     incorrectly reject 9223372036854775807.  */ 
    6328 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
    6329   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
    6330                        && LARGE_OFF_T % 2147483647 == 1) 
    6331                       ? 1 : -1]; 
    6332 int 
    6333 main () 
    6334 { 
    6335  
    6336   ; 
    6337   return 0; 
    6338 } 
    6339 _ACEOF 
    6340 rm -f conftest.$ac_objext 
    6341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6342   (eval $ac_compile) 2>conftest.er1 
    6343   ac_status=$? 
    6344   grep -v '^ *+' conftest.er1 >conftest.err 
    6345   rm -f conftest.er1 
    6346   cat conftest.err >&5 
    6347   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6348   (exit $ac_status); } && 
    6349          { ac_try='test -z "$ac_c_werror_flag" 
    6350                          || test ! -s conftest.err' 
    6351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6352   (eval $ac_try) 2>&5 
    6353   ac_status=$? 
    6354   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6355   (exit $ac_status); }; } && 
    6356          { ac_try='test -s conftest.$ac_objext' 
    6357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6358   (eval $ac_try) 2>&5 
    6359   ac_status=$? 
    6360   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6361   (exit $ac_status); }; }; then 
    6362   ac_cv_sys_file_offset_bits=64; break 
    6363 else 
    6364   echo "$as_me: failed program was:" >&5 
    6365 sed 's/^/| /' conftest.$ac_ext >&5 
    6366  
    6367 fi 
    6368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6369   break 
    6370 done 
    6371 fi 
    6372 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 
    6373 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 
    6374 if test "$ac_cv_sys_file_offset_bits" != no; then 
    6375  
    6376 cat >>confdefs.h <<_ACEOF 
    6377 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 
    6378 _ACEOF 
    6379  
    6380 fi 
    6381 rm -f conftest* 
    6382   echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 
    6383 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 
    6384 if test "${ac_cv_sys_large_files+set}" = set; then 
    6385   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6386 else 
    6387   while :; do 
    6388   ac_cv_sys_large_files=no 
    6389   cat >conftest.$ac_ext <<_ACEOF 
    6390 /* confdefs.h.  */ 
    6391 _ACEOF 
    6392 cat confdefs.h >>conftest.$ac_ext 
    6393 cat >>conftest.$ac_ext <<_ACEOF 
    6394 /* end confdefs.h.  */ 
    6395 #include <sys/types.h> 
    6396  /* Check that off_t can represent 2**63 - 1 correctly. 
    6397     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
    6398     since some C++ compilers masquerading as C compilers 
    6399     incorrectly reject 9223372036854775807.  */ 
    6400 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
    6401   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
    6402                        && LARGE_OFF_T % 2147483647 == 1) 
    6403                       ? 1 : -1]; 
    6404 int 
    6405 main () 
    6406 { 
    6407  
    6408   ; 
    6409   return 0; 
    6410 } 
    6411 _ACEOF 
    6412 rm -f conftest.$ac_objext 
    6413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6414   (eval $ac_compile) 2>conftest.er1 
    6415   ac_status=$? 
    6416   grep -v '^ *+' conftest.er1 >conftest.err 
    6417   rm -f conftest.er1 
    6418   cat conftest.err >&5 
    6419   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6420   (exit $ac_status); } && 
    6421          { ac_try='test -z "$ac_c_werror_flag" 
    6422                          || test ! -s conftest.err' 
    6423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6424   (eval $ac_try) 2>&5 
    6425   ac_status=$? 
    6426   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6427   (exit $ac_status); }; } && 
    6428          { ac_try='test -s conftest.$ac_objext' 
    6429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6430   (eval $ac_try) 2>&5 
    6431   ac_status=$? 
    6432   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6433   (exit $ac_status); }; }; then 
    6434   break 
    6435 else 
    6436   echo "$as_me: failed program was:" >&5 
    6437 sed 's/^/| /' conftest.$ac_ext >&5 
    6438  
    6439 fi 
    6440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6441   cat >conftest.$ac_ext <<_ACEOF 
    6442 /* confdefs.h.  */ 
    6443 _ACEOF 
    6444 cat confdefs.h >>conftest.$ac_ext 
    6445 cat >>conftest.$ac_ext <<_ACEOF 
    6446 /* end confdefs.h.  */ 
    6447 #define _LARGE_FILES 1 
    6448 #include <sys/types.h> 
    6449  /* Check that off_t can represent 2**63 - 1 correctly. 
    6450     We can't simply define LARGE_OFF_T to be 9223372036854775807, 
    6451     since some C++ compilers masquerading as C compilers 
    6452     incorrectly reject 9223372036854775807.  */ 
    6453 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 
    6454   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 
    6455                        && LARGE_OFF_T % 2147483647 == 1) 
    6456                       ? 1 : -1]; 
    6457 int 
    6458 main () 
    6459 { 
    6460  
    6461   ; 
    6462   return 0; 
    6463 } 
    6464 _ACEOF 
    6465 rm -f conftest.$ac_objext 
    6466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6467   (eval $ac_compile) 2>conftest.er1 
    6468   ac_status=$? 
    6469   grep -v '^ *+' conftest.er1 >conftest.err 
    6470   rm -f conftest.er1 
    6471   cat conftest.err >&5 
    6472   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6473   (exit $ac_status); } && 
    6474          { ac_try='test -z "$ac_c_werror_flag" 
    6475                          || test ! -s conftest.err' 
    6476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6477   (eval $ac_try) 2>&5 
    6478   ac_status=$? 
    6479   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6480   (exit $ac_status); }; } && 
    6481          { ac_try='test -s conftest.$ac_objext' 
    6482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6483   (eval $ac_try) 2>&5 
    6484   ac_status=$? 
    6485   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6486   (exit $ac_status); }; }; then 
    6487   ac_cv_sys_large_files=1; break 
    6488 else 
    6489   echo "$as_me: failed program was:" >&5 
    6490 sed 's/^/| /' conftest.$ac_ext >&5 
    6491  
    6492 fi 
    6493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6494   break 
    6495 done 
    6496 fi 
    6497 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 
    6498 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 
    6499 if test "$ac_cv_sys_large_files" != no; then 
    6500  
    6501 cat >>confdefs.h <<_ACEOF 
    6502 #define _LARGE_FILES $ac_cv_sys_large_files 
    6503 _ACEOF 
    6504  
    6505 fi 
    6506 rm -f conftest* 
    6507 fi 
    65086138 
    65096139 
  • wire/trunk/configure.in

    r4029 r4052  
    279279 
    280280####################################################################### 
    281 # Checks for typedefs, structures, and compiler characteristics 
    282  
    283 AC_SYS_LARGEFILE 
    284  
    285  
    286 ####################################################################### 
    287281# Output 
    288282