apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: apr configure.in
Date Tue, 29 Jun 2004 14:10:48 GMT
martin      2004/06/29 07:10:48

  Modified:    .        configure.in
  Log:
  Use libbind/libresolv when available. Check <sys/types.h> before checking other special
headers; Substitute INCLUDES
  
  Revision  Changes    Path
  1.590     +4 -1      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.589
  retrieving revision 1.590
  diff -u -u -r1.589 -r1.590
  --- configure.in	14 Jun 2004 21:16:40 -0000	1.589
  +++ configure.in	29 Jun 2004 14:10:48 -0000	1.590
  @@ -522,6 +522,8 @@
   AC_SEARCH_LIBS(gethostbyname, nsl)
   AC_SEARCH_LIBS(gethostname, nsl)
   AC_SEARCH_LIBS(socket, socket)
  +dnl Search for -lbind / -lresolv only after having added -lsocket and -lnsl
  +AC_SEARCH_LIBS(res_init, bind resolv)
   AC_SEARCH_LIBS(crypt, crypt ufc)
   AC_CHECK_LIB(truerand, main)
   AC_SEARCH_LIBS(modf, m)
  @@ -656,7 +658,7 @@
   #endif";;
   esac
   
  -AC_CHECK_HEADERS([sys/mman.h sys/ipc.h sys/mutex.h sys/shm.h sys/file.h kernel/OS.h os2.h])
  +AC_CHECK_HEADERS([sys/types.h sys/mman.h sys/ipc.h sys/mutex.h sys/shm.h sys/file.h kernel/OS.h
os2.h])
   AC_CHECK_FUNCS([mmap munmap shm_open shm_unlink shmget shmat shmdt shmctl \
                   create_area])
   APR_CHECK_DEFINE(MAP_ANON, sys/mman.h)
  @@ -1944,6 +1946,7 @@
   dnl ----------------------------- Construct the files
   
   AC_SUBST(LDLIBS)
  +AC_SUBST(INCLUDES)
   AC_SUBST(AR)
   AC_SUBST(RM)
   AC_SUBST(OSDIR)
  
  
  

Mime
View raw message