apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject cvs commit: apr/build apr_network.m4
Date Mon, 11 Mar 2002 17:33:40 GMT
ianh        02/03/11 09:33:40

  Modified:    build    apr_network.m4
  Log:
  make it work on linux
  
  Revision  Changes    Path
  1.13      +4 -1      apr/build/apr_network.m4
  
  Index: apr_network.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_network.m4,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- apr_network.m4	11 Mar 2002 17:22:32 -0000	1.12
  +++ apr_network.m4	11 Mar 2002 17:33:39 -0000	1.13
  @@ -146,13 +146,16 @@
     AC_CACHE_CHECK(for presence of retrans/retry fields in res_state/resolv.h , ac_cv_retransretry,[
     AC_TRY_RUN( [
   #include <sys/types.h>
  +#if defined(__sun__)
   #include <inet/ip.h>
  +#endif
   #include <resolv.h>
   /* _res is a global defined in resolv.h */
  -void main(void) {
  +int main(void) {
       _res.retrans = 2;
       _res.retry = 1;
       exit(0);
  +    return 0;
   }
   ],[
     ac_cv_retransretry="yes"
  
  
  

Mime
View raw message