Changeset 4014

Show
Ignore:
Timestamp:
04/02/06 17:30:35 (2 years ago)
Author:
morris
Message:

Remove unneeded

Files:

Legend:

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

    r3237 r4014  
    77   `rl_completion_display_matches_hook', and to 0 if you don't. */ 
    88#undef HAVE_DECL_RL_COMPLETION_DISPLAY_MATCHES_HOOK 
    9  
    10 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ 
    11 #undef HAVE_FSEEKO 
    129 
    1310/* Define to 1 if you have glibc. */ 
     
    4845#undef HAVE_STRING_H 
    4946 
    50 /* Define to 1 if `sin6_len' is member of `struct sockaddr_in6'. */ 
    51 #undef HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN 
    52  
    53 /* Define to 1 if `sin_len' is member of `struct sockaddr_in'. */ 
    54 #undef HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 
    55  
    56 /* Define to 1 if `sa_len' is member of `struct sockaddr'. */ 
    57 #undef HAVE_STRUCT_SOCKADDR_SA_LEN 
    58  
    5947/* Define to 1 if you have the <sys/stat.h> header file. */ 
    6048#undef HAVE_SYS_STAT_H 
     
    6553/* Define to 1 if you have the <sys/vfs.h> header file. */ 
    6654#undef HAVE_SYS_VFS_H 
    67  
    68 /* Define to 1 if you have the <termcap.h> header file. */ 
    69 #undef HAVE_TERMCAP_H 
    70  
    71 /* Define to 1 if you have the <termios.h> header file. */ 
    72 #undef HAVE_TERMIOS_H 
    7355 
    7456/* Define to 1 if you have the <term.h> header file. */ 
     
    11496#undef _GNU_SOURCE 
    11597 
    116 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ 
    117 #undef _LARGEFILE_SOURCE 
    118  
    11998/* Define for large files, on AIX-style hosts. */ 
    12099#undef _LARGE_FILES 
  • wire/trunk/configure

    r4008 r4014  
    61206120 
    61216121 
    6122 # Check if the sockaddr structs have length members 
    6123 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5 
    6124 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6 
    6125 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then 
    6126   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6127 else 
    6128   cat >conftest.$ac_ext <<_ACEOF 
    6129 /* confdefs.h.  */ 
    6130 _ACEOF 
    6131 cat confdefs.h >>conftest.$ac_ext 
    6132 cat >>conftest.$ac_ext <<_ACEOF 
    6133 /* end confdefs.h.  */ 
    6134  
    6135     #include <sys/types.h> 
    6136         #include <sys/socket.h> 
    6137         #include <netinet/in.h> 
    6138         #include <netdb.h> 
    6139  
    6140  
    6141 int 
    6142 main () 
    6143 { 
    6144 static struct sockaddr ac_aggr; 
    6145 if (ac_aggr.sa_len) 
    6146 return 0; 
    6147   ; 
    6148   return 0; 
    6149 } 
    6150 _ACEOF 
    6151 rm -f conftest.$ac_objext 
    6152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6153   (eval $ac_compile) 2>conftest.er1 
    6154   ac_status=$? 
    6155   grep -v '^ *+' conftest.er1 >conftest.err 
    6156   rm -f conftest.er1 
    6157   cat conftest.err >&5 
    6158   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6159   (exit $ac_status); } && 
    6160          { ac_try='test -z "$ac_c_werror_flag" 
    6161                          || test ! -s conftest.err' 
    6162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6163   (eval $ac_try) 2>&5 
    6164   ac_status=$? 
    6165   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6166   (exit $ac_status); }; } && 
    6167          { ac_try='test -s conftest.$ac_objext' 
    6168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6169   (eval $ac_try) 2>&5 
    6170   ac_status=$? 
    6171   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6172   (exit $ac_status); }; }; then 
    6173   ac_cv_member_struct_sockaddr_sa_len=yes 
    6174 else 
    6175   echo "$as_me: failed program was:" >&5 
    6176 sed 's/^/| /' conftest.$ac_ext >&5 
    6177  
    6178 cat >conftest.$ac_ext <<_ACEOF 
    6179 /* confdefs.h.  */ 
    6180 _ACEOF 
    6181 cat confdefs.h >>conftest.$ac_ext 
    6182 cat >>conftest.$ac_ext <<_ACEOF 
    6183 /* end confdefs.h.  */ 
    6184  
    6185     #include <sys/types.h> 
    6186         #include <sys/socket.h> 
    6187         #include <netinet/in.h> 
    6188         #include <netdb.h> 
    6189  
    6190  
    6191 int 
    6192 main () 
    6193 { 
    6194 static struct sockaddr ac_aggr; 
    6195 if (sizeof ac_aggr.sa_len) 
    6196 return 0; 
    6197   ; 
    6198   return 0; 
    6199 } 
    6200 _ACEOF 
    6201 rm -f conftest.$ac_objext 
    6202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6203   (eval $ac_compile) 2>conftest.er1 
    6204   ac_status=$? 
    6205   grep -v '^ *+' conftest.er1 >conftest.err 
    6206   rm -f conftest.er1 
    6207   cat conftest.err >&5 
    6208   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6209   (exit $ac_status); } && 
    6210          { ac_try='test -z "$ac_c_werror_flag" 
    6211                          || test ! -s conftest.err' 
    6212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6213   (eval $ac_try) 2>&5 
    6214   ac_status=$? 
    6215   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6216   (exit $ac_status); }; } && 
    6217          { ac_try='test -s conftest.$ac_objext' 
    6218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6219   (eval $ac_try) 2>&5 
    6220   ac_status=$? 
    6221   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6222   (exit $ac_status); }; }; then 
    6223   ac_cv_member_struct_sockaddr_sa_len=yes 
    6224 else 
    6225   echo "$as_me: failed program was:" >&5 
    6226 sed 's/^/| /' conftest.$ac_ext >&5 
    6227  
    6228 ac_cv_member_struct_sockaddr_sa_len=no 
    6229 fi 
    6230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6231 fi 
    6232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6233 fi 
    6234 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5 
    6235 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6 
    6236 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then 
    6237  
    6238 cat >>confdefs.h <<_ACEOF 
    6239 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1 
    6240 _ACEOF 
    6241  
    6242  
    6243 fi 
    6244 echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5 
    6245 echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6 
    6246 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then 
    6247   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6248 else 
    6249   cat >conftest.$ac_ext <<_ACEOF 
    6250 /* confdefs.h.  */ 
    6251 _ACEOF 
    6252 cat confdefs.h >>conftest.$ac_ext 
    6253 cat >>conftest.$ac_ext <<_ACEOF 
    6254 /* end confdefs.h.  */ 
    6255  
    6256     #include <sys/types.h> 
    6257         #include <sys/socket.h> 
    6258         #include <netinet/in.h> 
    6259         #include <netdb.h> 
    6260  
    6261  
    6262 int 
    6263 main () 
    6264 { 
    6265 static struct sockaddr_in ac_aggr; 
    6266 if (ac_aggr.sin_len) 
    6267 return 0; 
    6268   ; 
    6269   return 0; 
    6270 } 
    6271 _ACEOF 
    6272 rm -f conftest.$ac_objext 
    6273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6274   (eval $ac_compile) 2>conftest.er1 
    6275   ac_status=$? 
    6276   grep -v '^ *+' conftest.er1 >conftest.err 
    6277   rm -f conftest.er1 
    6278   cat conftest.err >&5 
    6279   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6280   (exit $ac_status); } && 
    6281          { ac_try='test -z "$ac_c_werror_flag" 
    6282                          || test ! -s conftest.err' 
    6283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6284   (eval $ac_try) 2>&5 
    6285   ac_status=$? 
    6286   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6287   (exit $ac_status); }; } && 
    6288          { ac_try='test -s conftest.$ac_objext' 
    6289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6290   (eval $ac_try) 2>&5 
    6291   ac_status=$? 
    6292   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6293   (exit $ac_status); }; }; then 
    6294   ac_cv_member_struct_sockaddr_in_sin_len=yes 
    6295 else 
    6296   echo "$as_me: failed program was:" >&5 
    6297 sed 's/^/| /' conftest.$ac_ext >&5 
    6298  
    6299 cat >conftest.$ac_ext <<_ACEOF 
    6300 /* confdefs.h.  */ 
    6301 _ACEOF 
    6302 cat confdefs.h >>conftest.$ac_ext 
    6303 cat >>conftest.$ac_ext <<_ACEOF 
    6304 /* end confdefs.h.  */ 
    6305  
    6306     #include <sys/types.h> 
    6307         #include <sys/socket.h> 
    6308         #include <netinet/in.h> 
    6309         #include <netdb.h> 
    6310  
    6311  
    6312 int 
    6313 main () 
    6314 { 
    6315 static struct sockaddr_in ac_aggr; 
    6316 if (sizeof ac_aggr.sin_len) 
    6317 return 0; 
    6318   ; 
    6319   return 0; 
    6320 } 
    6321 _ACEOF 
    6322 rm -f conftest.$ac_objext 
    6323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6324   (eval $ac_compile) 2>conftest.er1 
    6325   ac_status=$? 
    6326   grep -v '^ *+' conftest.er1 >conftest.err 
    6327   rm -f conftest.er1 
    6328   cat conftest.err >&5 
    6329   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6330   (exit $ac_status); } && 
    6331          { ac_try='test -z "$ac_c_werror_flag" 
    6332                          || test ! -s conftest.err' 
    6333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6334   (eval $ac_try) 2>&5 
    6335   ac_status=$? 
    6336   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6337   (exit $ac_status); }; } && 
    6338          { ac_try='test -s conftest.$ac_objext' 
    6339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6340   (eval $ac_try) 2>&5 
    6341   ac_status=$? 
    6342   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6343   (exit $ac_status); }; }; then 
    6344   ac_cv_member_struct_sockaddr_in_sin_len=yes 
    6345 else 
    6346   echo "$as_me: failed program was:" >&5 
    6347 sed 's/^/| /' conftest.$ac_ext >&5 
    6348  
    6349 ac_cv_member_struct_sockaddr_in_sin_len=no 
    6350 fi 
    6351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6352 fi 
    6353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6354 fi 
    6355 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5 
    6356 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6 
    6357 if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then 
    6358  
    6359 cat >>confdefs.h <<_ACEOF 
    6360 #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1 
    6361 _ACEOF 
    6362  
    6363  
    6364 fi 
    6365 echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_len" >&5 
    6366 echo $ECHO_N "checking for struct sockaddr_in6.sin6_len... $ECHO_C" >&6 
    6367 if test "${ac_cv_member_struct_sockaddr_in6_sin6_len+set}" = set; then 
    6368   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6369 else 
    6370   cat >conftest.$ac_ext <<_ACEOF 
    6371 /* confdefs.h.  */ 
    6372 _ACEOF 
    6373 cat confdefs.h >>conftest.$ac_ext 
    6374 cat >>conftest.$ac_ext <<_ACEOF 
    6375 /* end confdefs.h.  */ 
    6376  
    6377     #include <sys/types.h> 
    6378         #include <sys/socket.h> 
    6379         #include <netinet/in.h> 
    6380         #include <netdb.h> 
    6381  
    6382  
    6383 int 
    6384 main () 
    6385 { 
    6386 static struct sockaddr_in6 ac_aggr; 
    6387 if (ac_aggr.sin6_len) 
    6388 return 0; 
    6389   ; 
    6390   return 0; 
    6391 } 
    6392 _ACEOF 
    6393 rm -f conftest.$ac_objext 
    6394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6395   (eval $ac_compile) 2>conftest.er1 
    6396   ac_status=$? 
    6397   grep -v '^ *+' conftest.er1 >conftest.err 
    6398   rm -f conftest.er1 
    6399   cat conftest.err >&5 
    6400   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6401   (exit $ac_status); } && 
    6402          { ac_try='test -z "$ac_c_werror_flag" 
    6403                          || test ! -s conftest.err' 
    6404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6405   (eval $ac_try) 2>&5 
    6406   ac_status=$? 
    6407   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6408   (exit $ac_status); }; } && 
    6409          { ac_try='test -s conftest.$ac_objext' 
    6410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6411   (eval $ac_try) 2>&5 
    6412   ac_status=$? 
    6413   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6414   (exit $ac_status); }; }; then 
    6415   ac_cv_member_struct_sockaddr_in6_sin6_len=yes 
    6416 else 
    6417   echo "$as_me: failed program was:" >&5 
    6418 sed 's/^/| /' conftest.$ac_ext >&5 
    6419  
    6420 cat >conftest.$ac_ext <<_ACEOF 
    6421 /* confdefs.h.  */ 
    6422 _ACEOF 
    6423 cat confdefs.h >>conftest.$ac_ext 
    6424 cat >>conftest.$ac_ext <<_ACEOF 
    6425 /* end confdefs.h.  */ 
    6426  
    6427     #include <sys/types.h> 
    6428         #include <sys/socket.h> 
    6429         #include <netinet/in.h> 
    6430         #include <netdb.h> 
    6431  
    6432  
    6433 int 
    6434 main () 
    6435 { 
    6436 static struct sockaddr_in6 ac_aggr; 
    6437 if (sizeof ac_aggr.sin6_len) 
    6438 return 0; 
    6439   ; 
    6440   return 0; 
    6441 } 
    6442 _ACEOF 
    6443 rm -f conftest.$ac_objext 
    6444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    6445   (eval $ac_compile) 2>conftest.er1 
    6446   ac_status=$? 
    6447   grep -v '^ *+' conftest.er1 >conftest.err 
    6448   rm -f conftest.er1 
    6449   cat conftest.err >&5 
    6450   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6451   (exit $ac_status); } && 
    6452          { ac_try='test -z "$ac_c_werror_flag" 
    6453                          || test ! -s conftest.err' 
    6454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6455   (eval $ac_try) 2>&5 
    6456   ac_status=$? 
    6457   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6458   (exit $ac_status); }; } && 
    6459          { ac_try='test -s conftest.$ac_objext' 
    6460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6461   (eval $ac_try) 2>&5 
    6462   ac_status=$? 
    6463   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6464   (exit $ac_status); }; }; then 
    6465   ac_cv_member_struct_sockaddr_in6_sin6_len=yes 
    6466 else 
    6467   echo "$as_me: failed program was:" >&5 
    6468 sed 's/^/| /' conftest.$ac_ext >&5 
    6469  
    6470 ac_cv_member_struct_sockaddr_in6_sin6_len=no 
    6471 fi 
    6472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6473 fi 
    6474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    6475 fi 
    6476 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_len" >&5 
    6477 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_len" >&6 
    6478 if test $ac_cv_member_struct_sockaddr_in6_sin6_len = yes; then 
    6479  
    6480 cat >>confdefs.h <<_ACEOF 
    6481 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_LEN 1 
    6482 _ACEOF 
    6483  
    6484  
    6485 fi 
    6486  
    6487  
    6488  
    6489  
    64906122####################################################################### 
    64916123# Checks for header files 
    64926124 
    64936125 
    6494  
    6495  
    64966126for ac_header in  \ 
    64976127        sys/vfs.h \ 
    6498         termcap.h \ 
    6499         termios.h \ 
    65006128 
    65016129do 
     
    70146642fi 
    70156643rm -f conftest* 
    7016 fi 
    7017  
    7018  
    7019  
    7020 ####################################################################### 
    7021 # Checks for library functions 
    7022  
    7023 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 
    7024 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 
    7025 if test "${ac_cv_sys_largefile_source+set}" = set; then 
    7026   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7027 else 
    7028   while :; do 
    7029   ac_cv_sys_largefile_source=no 
    7030   cat >conftest.$ac_ext <<_ACEOF 
    7031 /* confdefs.h.  */ 
    7032 _ACEOF 
    7033 cat confdefs.h >>conftest.$ac_ext 
    7034 cat >>conftest.$ac_ext <<_ACEOF 
    7035 /* end confdefs.h.  */ 
    7036 #include <stdio.h> 
    7037 int 
    7038 main () 
    7039 { 
    7040 return !fseeko; 
    7041   ; 
    7042   return 0; 
    7043 } 
    7044 _ACEOF 
    7045 rm -f conftest.$ac_objext 
    7046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    7047   (eval $ac_compile) 2>conftest.er1 
    7048   ac_status=$? 
    7049   grep -v '^ *+' conftest.er1 >conftest.err 
    7050   rm -f conftest.er1 
    7051   cat conftest.err >&5 
    7052   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7053   (exit $ac_status); } && 
    7054          { ac_try='test -z "$ac_c_werror_flag" 
    7055                          || test ! -s conftest.err' 
    7056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7057   (eval $ac_try) 2>&5 
    7058   ac_status=$? 
    7059   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7060   (exit $ac_status); }; } && 
    7061          { ac_try='test -s conftest.$ac_objext' 
    7062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7063   (eval $ac_try) 2>&5 
    7064   ac_status=$? 
    7065   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7066   (exit $ac_status); }; }; then 
    7067   break 
    7068 else 
    7069   echo "$as_me: failed program was:" >&5 
    7070 sed 's/^/| /' conftest.$ac_ext >&5 
    7071  
    7072 fi 
    7073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    7074   cat >conftest.$ac_ext <<_ACEOF 
    7075 /* confdefs.h.  */ 
    7076 _ACEOF 
    7077 cat confdefs.h >>conftest.$ac_ext 
    7078 cat >>conftest.$ac_ext <<_ACEOF 
    7079 /* end confdefs.h.  */ 
    7080 #define _LARGEFILE_SOURCE 1 
    7081 #include <stdio.h> 
    7082 int 
    7083 main () 
    7084 { 
    7085 return !fseeko; 
    7086   ; 
    7087   return 0; 
    7088 } 
    7089 _ACEOF 
    7090 rm -f conftest.$ac_objext 
    7091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    7092   (eval $ac_compile) 2>conftest.er1 
    7093   ac_status=$? 
    7094   grep -v '^ *+' conftest.er1 >conftest.err 
    7095   rm -f conftest.er1 
    7096   cat conftest.err >&5 
    7097   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7098   (exit $ac_status); } && 
    7099          { ac_try='test -z "$ac_c_werror_flag" 
    7100                          || test ! -s conftest.err' 
    7101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7102   (eval $ac_try) 2>&5 
    7103   ac_status=$? 
    7104   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7105   (exit $ac_status); }; } && 
    7106          { ac_try='test -s conftest.$ac_objext' 
    7107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7108   (eval $ac_try) 2>&5 
    7109   ac_status=$? 
    7110   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7111   (exit $ac_status); }; }; then 
    7112   ac_cv_sys_largefile_source=1; break 
    7113 else 
    7114   echo "$as_me: failed program was:" >&5 
    7115 sed 's/^/| /' conftest.$ac_ext >&5 
    7116  
    7117 fi 
    7118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 
    7119   break 
    7120 done 
    7121 fi 
    7122 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 
    7123 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 
    7124 if test "$ac_cv_sys_largefile_source" != no; then 
    7125  
    7126 cat >>confdefs.h <<_ACEOF 
    7127 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 
    7128 _ACEOF 
    7129  
    7130 fi 
    7131 rm -f conftest* 
    7132  
    7133 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 
    7134 # in glibc 2.1.3, but that breaks too many other things. 
    7135 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 
    7136 echo "$as_me:$LINENO: checking for fseeko" >&5 
    7137 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 
    7138 if test "${ac_cv_func_fseeko+set}" = set; then 
    7139   echo $ECHO_N "(cached) $ECHO_C" >&6 
    7140 else 
    7141   cat >conftest.$ac_ext <<_ACEOF 
    7142 /* confdefs.h.  */ 
    7143 _ACEOF 
    7144 cat confdefs.h >>conftest.$ac_ext 
    7145 cat >>conftest.$ac_ext <<_ACEOF 
    7146 /* end confdefs.h.  */ 
    7147 #include <stdio.h> 
    7148 int 
    7149 main () 
    7150 { 
    7151 return fseeko && fseeko (stdin, 0, 0); 
    7152   ; 
    7153   return 0; 
    7154 } 
    7155 _ACEOF 
    7156 rm -f conftest.$ac_objext conftest$ac_exeext 
    7157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    7158   (eval $ac_link) 2>conftest.er1 
    7159   ac_status=$? 
    7160   grep -v '^ *+' conftest.er1 >conftest.err 
    7161   rm -f conftest.er1 
    7162   cat conftest.err >&5 
    7163   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7164   (exit $ac_status); } && 
    7165          { ac_try='test -z "$ac_c_werror_flag" 
    7166                          || test ! -s conftest.err' 
    7167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7168   (eval $ac_try) 2>&5 
    7169   ac_status=$? 
    7170   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7171   (exit $ac_status); }; } && 
    7172          { ac_try='test -s conftest$ac_exeext' 
    7173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    7174   (eval $ac_try) 2>&5 
    7175   ac_status=$? 
    7176   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    7177   (exit $ac_status); }; }; then 
    7178   ac_cv_func_fseeko=yes 
    7179 else 
    7180   echo "$as_me: failed program was:" >&5 
    7181 sed 's/^/| /' conftest.$ac_ext >&5 
    7182  
    7183 ac_cv_func_fseeko=no 
    7184 fi 
    7185 rm -f conftest.err conftest.$ac_objext \ 
    7186       conftest$ac_exeext conftest.$ac_ext 
    7187 fi 
    7188 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5 
    7189 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 
    7190 if test $ac_cv_func_fseeko = yes; then 
    7191  
    7192 cat >>confdefs.h <<\_ACEOF 
    7193 #define HAVE_FSEEKO 1 
    7194 _ACEOF 
    7195  
    71966644fi 
    71976645 
  • wire/trunk/configure.in

    r4008 r4014  
    287287 
    288288 
    289 # Check if the sockaddr structs have length members 
    290 AC_CHECK_MEMBERS([struct sockaddr.sa_len, struct sockaddr_in.sin_len, struct sockaddr_in6.sin6_len], [], [], [ 
    291     #include <sys/types.h> 
    292         #include <sys/socket.h> 
    293         #include <netinet/in.h> 
    294         #include <netdb.h> 
    295 ]) 
    296  
    297  
    298  
    299289####################################################################### 
    300290# Checks for header files 
     
    302292AC_CHECK_HEADERS([ \ 
    303293        sys/vfs.h \ 
    304         termcap.h \ 
    305         termios.h \ 
    306294]) 
    307295 
     
    311299 
    312300AC_SYS_LARGEFILE 
    313  
    314  
    315 ####################################################################### 
    316 # Checks for library functions 
    317  
    318 AC_FUNC_FSEEKO 
    319301 
    320302