tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/webapp configure.in
Date Sun, 16 Sep 2001 00:30:10 GMT
pier        01/09/15 17:30:10

  Modified:    webapp   configure.in
  Log:
  Parse APRVARS during configure
  
  Revision  Changes    Path
  1.35      +22 -1     jakarta-tomcat-connectors/webapp/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/configure.in,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- configure.in	2001/09/16 00:02:59	1.34
  +++ configure.in	2001/09/16 00:30:10	1.35
  @@ -58,7 +58,7 @@
   dnl --------------------------------------------------------------------------
   dnl Author Pier Fumagalli <mailto:pier.fumagalli@eng.sun.com>
   dnl Author Jon S. Stevens <mailto:jon@latchkey.com>
  -dnl Version $Id: configure.in,v 1.34 2001/09/16 00:02:59 pier Exp $
  +dnl Version $Id: configure.in,v 1.35 2001/09/16 00:30:10 pier Exp $
   dnl --------------------------------------------------------------------------
   
   dnl --------------------------------------------------------------------------
  @@ -406,6 +406,27 @@
     APR_LIBDIR="${APR_SRCDIR}/lib"
     APR_VARFIL="${APR_SRCDIR}/APRVARS"
   fi
  +
  +dnl --------------------------------------------------------------------------
  +dnl Parse APRVARS and discover what values we need
  +dnl
  +dnl New vars: APR_CFLAGS APR_CPPFLAGS APR_LDFLAGS APR_LIBS APR_INCLUDES
  +dnl Upd vars: N/A
  +dnl --------------------------------------------------------------------------
  +LOCAL_HEADER([Finishing up])
  +AC_MSG_CHECKING([for APR compilation flags])
  +if ${TEST} ! -f "${APR_VARFIL}"
  +then
  +  AC_MSG_RESULT([error])
  +  AC_MSG_ERROR([Cannot find required APRVARS file])
  +fi
  +AC_MSG_RESULT([ok])
  +eval `${CAT} ${APR_VARFIL} | ${GREP} "EXTRA_" | ${SED} "s/EXTRA_/APR_/g"`
  +AC_SUBST(APR_CFLAGS)
  +AC_SUBST(APR_CPPFLAGS)
  +AC_SUBST(APR_INCLUDES)
  +AC_SUBST(APR_LDFLAGS)
  +AC_SUBST(APR_LIBS)
   
   dnl --------------------------------------------------------------------------
   dnl Finish up
  
  
  

Mime
View raw message