httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From field...@apache.org
Subject cvs commit: httpd-2.0 configure.in
Date Sat, 12 May 2001 01:37:28 GMT
fielding    01/05/11 18:37:28

  Modified:    .        configure.in
  Log:
  It is easier to re-run configure's test and pick up the cached values
  than it is to replicate them in our own macros.  This isn't too expensive
  because CC and CPP have already been set by APR.  Too bad it generates
  a lot of output.
  
  Also, we don't need to repeat command-line options that are already being
  handled by APR now that we use APR's generated flags.  The switches are
  still usable on the command-line.
  
  Revision  Changes    Path
  1.151     +4 -11     httpd-2.0/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/configure.in,v
  retrieving revision 1.150
  retrieving revision 1.151
  diff -u -r1.150 -r1.151
  --- configure.in	2001/05/11 15:33:06	1.150
  +++ configure.in	2001/05/12 01:37:27	1.151
  @@ -148,6 +148,8 @@
   
   AC_PATH_PROG(RM, rm)
   AC_PROG_AWK
  +AC_PROG_CC
  +AC_PROG_CPP
   AC_PROG_INSTALL
   AC_PROG_LN_S
   AC_CHECK_TOOL(RANLIB, ranlib, true)
  @@ -155,6 +157,7 @@
   
   dnl various OS checks that apparently set required flags
   AC_AIX
  +AC_ISC_POSIX
   AC_MINIX
   
   dnl ## Check for libraries
  @@ -201,18 +204,8 @@
           [if test "$withval" = "yes"; then AC_MSG_ERROR('option --with-port requires a value
(the TCP port number)'); else PORT="$withval"; fi],
   	[PORT=80])
   
  -AC_ARG_ENABLE(debug,[  --enable-debug            Turn on debugging and compile time warnings],
  -  [APR_ADDTO(CFLAGS,-g)
  -   if test $ac_cv_prog_gcc = yes; then
  -     APR_ADDTO(CFLAGS,-Wall)
  -   fi
  -])dnl
  -
   AC_ARG_ENABLE(maintainer-mode,[  --enable-maintainer-mode  Turn on debugging and compile
time warnings],
  -  [APR_ADDTO(CFLAGS,-g)
  -   if test $ac_cv_prog_gcc = yes; then
  -     APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-DAP_DEBUG])
  -   fi
  +  [APR_ADDTO(CPPFLAGS,-DAP_DEBUG)
   ])dnl
   
   APACHE_ENABLE_LAYOUT
  
  
  

Mime
View raw message