Changeset 1796

Show
Ignore:
Timestamp:
03/09/05 21:25:23 (4 years ago)
Author:
morris
Message:

Sync with trackerd.

Files:

Legend:

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

    r1752 r1796  
    33/* Define to 1 if you have the <CoreServices/CoreServices.h> header file. */ 
    44#undef HAVE_CORESERVICES_CORESERVICES_H 
    5  
    6 /* Define to 1 if you have the `daemon' function. */ 
    7 #undef HAVE_DAEMON 
    85 
    96/* Define to 1 if you have the declaration of 
     
    1411#undef HAVE_FSEEKO 
    1512 
    16 /* Define to 1 if you have the `getifaddrs' function. */ 
    17 #undef HAVE_GETIFADDRS 
    18  
    19 /* Define to 1 if you have the <getopt.h> header file. */ 
    20 #undef HAVE_GETOPT_H 
    21  
    22 /* Define to 1 if you have the `getpagesize' function. */ 
    23 #undef HAVE_GETPAGESIZE 
    24  
    2513/* Define to 1 if you have glibc. */ 
    2614#undef HAVE_GLIBC 
     
    2816/* Define to 1 if you have the <iconv.h> header file. */ 
    2917#undef HAVE_ICONV_H 
    30  
    31 /* Define to 1 if you have the <ifaddrs.h> header file. */ 
    32 #undef HAVE_IFADDRS_H 
    3318 
    3419/* Define to 1 if you have the <inttypes.h> header file. */ 
     
    4328/* Define to 1 if you have the <openssl/ssl.h> header file. */ 
    4429#undef HAVE_OPENSSL_SSL_H 
    45  
    46 /* Define to 1 if you have the <paths.h> header file. */ 
    47 #undef HAVE_PATHS_H 
    4830 
    4931/* Define to 1 if you have the <readline/readline.h> header file. */ 
     
    6042#undef HAVE_STDLIB_H 
    6143 
    62 /* Define to 1 if you have the `strcasestr' function. */ 
    63 #undef HAVE_STRCASESTR 
    64  
    6544/* Define to 1 if you have the <strings.h> header file. */ 
    6645#undef HAVE_STRINGS_H 
     
    6847/* Define to 1 if you have the <string.h> header file. */ 
    6948#undef HAVE_STRING_H 
    70  
    71 /* Define to 1 if you have the `strlcat' function. */ 
    72 #undef HAVE_STRLCAT 
    73  
    74 /* Define to 1 if you have the `strlcpy' function. */ 
    75 #undef HAVE_STRLCPY 
    76  
    77 /* Define to 1 if you have the `strsep' function. */ 
    78 #undef HAVE_STRSEP 
    7949 
    8050/* Define to 1 if `sin6_len' is member of `struct sockaddr_in6'. */ 
     
    8656/* Define to 1 if `sa_len' is member of `struct sockaddr'. */ 
    8757#undef HAVE_STRUCT_SOCKADDR_SA_LEN 
    88  
    89 /* Define to 1 if you have the <sys/sockio.h> header file. */ 
    90 #undef HAVE_SYS_SOCKIO_H 
    9158 
    9259/* Define to 1 if you have the <sys/stat.h> header file. */ 
     
    10774/* Define to 1 if you have the <unistd.h> header file. */ 
    10875#undef HAVE_UNISTD_H 
    109  
    110 /* Define to 1 if you have the `vasprintf' function. */ 
    111 #undef HAVE_VASPRINTF 
    112  
    113 /* Define to 1 if you have the `vfprintf' function. */ 
    114 #undef HAVE_VFPRINTF 
    11576 
    11677/* Define to the address where bug reports for this package should be sent. */ 
  • wire/trunk/configure

    r1752 r1796  
    55925592 
    55935593 
    5594  
    5595  
    5596  
    5597  
    55985594for ac_header in  \ 
    5599         sys/sockio.h \ 
    5600         getopt.h \ 
    5601         ifaddrs.h \ 
    5602         paths.h \ 
    56035595        termcap.h \ 
    56045596        termios.h \ 
     
    62096201 
    62106202fi 
    6211  
    6212  
    6213  
    6214  
    6215  
    6216  
    6217  
    6218  
    6219  
    6220  
    6221 for ac_func in  \ 
    6222         daemon \ 
    6223         getifaddrs \ 
    6224         getpagesize \ 
    6225         strcasestr \ 
    6226         strlcat \ 
    6227         strlcpy \ 
    6228         strsep \ 
    6229         vasprintf \ 
    6230         vfprintf \ 
    6231  
    6232 do 
    6233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 
    6234 echo "$as_me:$LINENO: checking for $ac_func" >&5 
    6235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 
    6236 if eval "test \"\${$as_ac_var+set}\" = set"; then 
    6237   echo $ECHO_N "(cached) $ECHO_C" >&6 
    6238 else 
    6239   cat >conftest.$ac_ext <<_ACEOF 
    6240 #line $LINENO "configure" 
    6241 /* confdefs.h.  */ 
    6242 _ACEOF 
    6243 cat confdefs.h >>conftest.$ac_ext 
    6244 cat >>conftest.$ac_ext <<_ACEOF 
    6245 /* end confdefs.h.  */ 
    6246 /* System header to define __stub macros and hopefully few prototypes, 
    6247     which can conflict with char $ac_func (); below. 
    6248     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
    6249     <limits.h> exists even on freestanding compilers.  */ 
    6250 #ifdef __STDC__ 
    6251 # include <limits.h> 
    6252 #else 
    6253 # include <assert.h> 
    6254 #endif 
    6255 /* Override any gcc2 internal prototype to avoid an error.  */ 
    6256 #ifdef __cplusplus 
    6257 extern "C" 
    6258 { 
    6259 #endif 
    6260 /* We use char because int might match the return type of a gcc2 
    6261    builtin and then its argument prototype would still apply.  */ 
    6262 char $ac_func (); 
    6263 /* The GNU C library defines this for functions which it implements 
    6264     to always fail with ENOSYS.  Some functions are actually named 
    6265     something starting with __ and the normal name is an alias.  */ 
    6266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 
    6267 choke me 
    6268 #else 
    6269 char (*f) () = $ac_func; 
    6270 #endif 
    6271 #ifdef __cplusplus 
    6272 } 
    6273 #endif 
    6274  
    6275 int 
    6276 main () 
    6277 { 
    6278 return f != $ac_func; 
    6279   ; 
    6280   return 0; 
    6281 } 
    6282 _ACEOF 
    6283 rm -f conftest.$ac_objext conftest$ac_exeext 
    6284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    6285   (eval $ac_link) 2>&5 
    6286   ac_status=$? 
    6287   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6288   (exit $ac_status); } && 
    6289          { ac_try='test -s conftest$ac_exeext' 
    6290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
    6291   (eval $ac_try) 2>&5 
    6292   ac_status=$? 
    6293   echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    6294   (exit $ac_status); }; }; then 
    6295   eval "$as_ac_var=yes" 
    6296 else 
    6297   echo "$as_me: failed program was:" >&5 
    6298 sed 's/^/| /' conftest.$ac_ext >&5 
    6299  
    6300 eval "$as_ac_var=no" 
    6301 fi 
    6302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    6303 fi 
    6304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 
    6305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 
    6306 if test `eval echo '${'$as_ac_var'}'` = yes; then 
    6307   cat >>confdefs.h <<_ACEOF 
    6308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 
    6309 _ACEOF 
    6310  
    6311 fi 
    6312 done 
    63136203 
    63146204 
  • wire/trunk/configure.in

    r1752 r1796  
    263263 
    264264AC_CHECK_HEADERS([ \ 
    265         sys/sockio.h \ 
    266         getopt.h \ 
    267         ifaddrs.h \ 
    268         paths.h \ 
    269265        termcap.h \ 
    270266        termios.h \ 
     
    282278 
    283279AC_FUNC_FSEEKO 
    284 AC_CHECK_FUNCS([ \ 
    285         daemon \ 
    286         getifaddrs \ 
    287         getpagesize \ 
    288         strcasestr \ 
    289         strlcat \ 
    290         strlcpy \ 
    291         strsep \ 
    292         vasprintf \ 
    293         vfprintf \ 
    294 ]) 
    295280 
    296281