tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native configure.in
Date Wed, 27 Apr 2005 09:24:51 GMT
mturk       2005/04/27 02:24:51

  Modified:    jk/native configure.in
  Log:
  Skip presuming that the libsocket is present.
  
  Revision  Changes    Path
  1.44      +4 -4      jakarta-tomcat-connectors/jk/native/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/configure.in,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- configure.in	18 Mar 2005 08:17:59 -0000	1.43
  +++ configure.in	27 Apr 2005 09:24:51 -0000	1.44
  @@ -55,11 +55,12 @@
   AC_CHECK_FUNC(vsnprintf, AC_DEFINE(HAVE_VSNPRINTF,1,[Have vsnprintf()]))
   dnl check for flock function.
   AC_CHECK_FUNC(flock, AC_DEFINE(HAVE_FLOCK,1,[Have flock()]))
  +dnl check for -lsocket library
  +AC_CHECK_LIB(socket, socket)
  +AC_CHECK_LIB(setsockopt, socket)
   
   AC_DEFUN([JK_CHECK_SETSOCKOPT], [
   AC_MSG_CHECKING(whether to use $1 with setsockopt())
  -saved_LIBS="$LIBS"
  -LIBS="$saved_LIBS -lsocket"
   AC_TRY_RUN([
   #include <sys/types.h>
   #include <sys/socket.h>
  @@ -90,7 +91,6 @@
   , [ AC_MSG_RESULT([yes]) AC_DEFINE(USE_$1, 1, [Define to use $1 with setsockopt()]) ]
   , [ AC_MSG_RESULT([no]) ]
   )
  -LIBS="$saved_LIBS"
   ])dnl
   
   dnl check for SO_RCVTIMEO and SO_SNDTIMEO
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message