rbb         01/04/03 11:20:48

  Modified:    build    apr_common.m4
  Log:
  Add a simple configuration macro to determine how APR itself was built.
  
  Revision  Changes    Path
  1.15      +11 -0     apr/build/apr_common.m4
  
  Index: apr_common.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_common.m4,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -d -b -w -u -r1.14 -r1.15
  --- apr_common.m4     2001/04/03 01:19:46     1.14
  +++ apr_common.m4     2001/04/03 18:20:48     1.15
  @@ -168,6 +168,17 @@
     fi
   ])
   
  +dnl
  +dnl APR_CHECK_APR_DEFINE( symbol, path_to_apr )
  +dnl
  +AC_DEFUN(APR_CHECK_APR_DEFINE,[
  +    AC_EGREP_CPP(YES_IS_DEFINED, [
  +    #include "$2/include/apr.h"
  +    #if $1
  +    YES_IS_DEFINED
  +    #endif
  +    ], ac_cv_define_$1=yes, ac_cv_define_$1=no)
  +])
   
   define(APR_IFALLYES,[dnl
   ac_rc=yes
  
  
  

Reply via email to