You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by je...@apache.org on 2001/08/27 06:47:17 UTC

cvs commit: httpd-2.0/server config.m4

jerenkrantz    01/08/26 21:47:17

  Modified:    .        configure.in
               server   config.m4
  Log:
  Remove some unneeded autoconf checks.  We now have no duplicate libraries
  in the generated EXTRA_LIBS in config_vars.mk (at least on Linux 2.4).
  
  APR already determines if we need nsl, socket - checking for it in httpd
  is merely redundant.
  
  None of the code in httpd-2.0 seems to deal with HAVE_GMTOFF as all of
  that code was moved to APR a long time ago.
  
  Revision  Changes    Path
  1.174     +0 -4      httpd-2.0/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/configure.in,v
  retrieving revision 1.173
  retrieving revision 1.174
  diff -u -r1.173 -r1.174
  --- configure.in	2001/08/22 13:37:26	1.173
  +++ configure.in	2001/08/27 04:47:17	1.174
  @@ -225,10 +225,6 @@
   bindprocessor \
   )
   
  -AC_CHECK_LIB(nsl, gethostbyname)
  -AC_CHECK_LIB(nsl, gethostname)
  -AC_CHECK_LIB(socket, socket)
  -
   AC_ARG_WITH(port,[  --with-port=PORT        Port on which to listen (default is 80)],
           [if test "$withval" = "yes"; then AC_MSG_ERROR('option --with-port requires a value (the TCP port number)'); else PORT="$withval"; fi],
   	[PORT=80])
  
  
  
  1.11      +0 -14     httpd-2.0/server/config.m4
  
  Index: config.m4
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/config.m4,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- config.m4	2001/04/29 05:24:11	1.10
  +++ config.m4	2001/08/27 04:47:17	1.11
  @@ -1,24 +1,10 @@
   dnl ## Check for libraries
   
  -AC_CHECK_LIB(nsl, gethostname, APR_ADDTO(LIBS,-lnsl))
  -AC_CHECK_LIB(socket, socket, APR_ADDTO(LIBS,-lsocket))
  -AC_CHECK_LIB(nsl, gethostbyaddr, APR_ADDTO(LIBS,-lnsl))
  -
   dnl ## Check for header files
   
   AC_CHECK_HEADERS(bstring.h unistd.h)
   
   dnl ## Check for typedefs, structures, and compiler characteristics.
  -
  -AC_CACHE_CHECK([for tm_gmtoff in struct tm], ac_cv_struct_tm_gmtoff,
  -[AC_TRY_COMPILE([#include <sys/types.h>
  -#include <$ac_cv_struct_tm>], [struct tm tm; tm.tm_gmtoff;],
  -  ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)])
  -
  -if test "$ac_cv_struct_tm_gmtoff" = "yes"; then
  -    AC_DEFINE(HAVE_GMTOFF,,
  -        [Define if struct tm has a tm_gmtoff member])
  -fi
   
   dnl ## Check for library functions