apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr/build apr_common.m4
Date Sat, 20 Jul 2002 07:58:41 GMT
jerenkrantz    2002/07/20 00:58:41

  Modified:    build    apr_common.m4
  Log:
  Add optional description field to APR_CHECK_DEFINE that gets passed to
  AC_DEFINE, so that we can avoid having to create an acconfig.h if we use
  this macro.
  
  Revision  Changes    Path
  1.35      +2 -2      apr/build/apr_common.m4
  
  Index: apr_common.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_common.m4,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- apr_common.m4	19 Jul 2002 13:02:13 -0000	1.34
  +++ apr_common.m4	20 Jul 2002 07:58:41 -0000	1.35
  @@ -248,7 +248,7 @@
   
   
   dnl
  -dnl APR_CHECK_DEFINE( symbol, header_file )
  +dnl APR_CHECK_DEFINE( symbol, header_file [, description ])
   dnl
   AC_DEFUN(APR_CHECK_DEFINE,[
     AC_CACHE_CHECK([for $1 in $2],ac_cv_define_$1,[
  @@ -260,7 +260,7 @@
       ], ac_cv_define_$1=yes, ac_cv_define_$1=no)
     ])
     if test "$ac_cv_define_$1" = "yes"; then
  -    AC_DEFINE(HAVE_$1)
  +    AC_DEFINE(HAVE_$1, 1, [$3])
     fi
   ])
   
  
  
  

Mime
View raw message