apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/build apr_common.m4
Date Fri, 07 Mar 2003 12:41:26 GMT
trawick     2003/03/07 04:41:26

  Modified:    build    apr_common.m4
  Log:
  don't compile for a test when preprocessing is sufficient
  
  Submitted by:	Joe Orton
  
  Revision  Changes    Path
  1.54      +6 -4      apr/build/apr_common.m4
  
  Index: apr_common.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_common.m4,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- apr_common.m4	7 Mar 2003 12:12:40 -0000	1.53
  +++ apr_common.m4	7 Mar 2003 12:41:26 -0000	1.54
  @@ -276,10 +276,12 @@
   AC_DEFUN(APR_CHECK_APR_DEFINE,[
   apr_old_cppflags=$CPPFLAGS
   CPPFLAGS="$CPPFLAGS $INCLUDES"
  -AC_TRY_COMPILE([#include <apr.h>], [
  -#if !$1
  -#error APR does not have $1
  -#endif], ac_cv_define_$1=yes, ac_cv_define_$1=no)
  +AC_EGREP_CPP(YES_IS_DEFINED, [
  +#include <apr.h>
  +#if $1
  +YES_IS_DEFINED
  +#endif
  +], ac_cv_define_$1=yes, ac_cv_define_$1=no)
   CPPFLAGS=$apr_old_cppflags
   ])
   
  
  
  

Mime
View raw message