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 Sun, 21 Jul 2002 10:51:33 GMT
jerenkrantz    2002/07/21 03:51:33

  Modified:    build    apr_common.m4
  Log:
  Add APR_HELP_STRING macro based on httpd-2.0's APACHE_HELP_STRING macro.
  
  Obtained from: httpd-2.0
  
  Revision  Changes    Path
  1.36      +7 -0      apr/build/apr_common.m4
  
  Index: apr_common.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_common.m4,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- apr_common.m4	20 Jul 2002 07:58:41 -0000	1.35
  +++ apr_common.m4	21 Jul 2002 10:51:33 -0000	1.36
  @@ -645,3 +645,10 @@
   fi
   ])
   
  +dnl APR_HELP_STRING(LHS, RHS)
  +dnl Autoconf 2.50 can not handle substr correctly.  It does have 
  +dnl AC_HELP_STRING, so let's try to call it if we can.
  +dnl Note: this define must be on one line so that it can be properly returned
  +dnl as the help string.  When using this macro with a multi-line RHS, ensure
  +dnl that you surround the macro invocation with []s
  +AC_DEFUN(APR_HELP_STRING,[ifelse(regexp(AC_ACVERSION, 2\.1), -1, AC_HELP_STRING([$1],[$2]),[
 ][$1] substr([                       ],len($1))[$2])])
  
  
  

Mime
View raw message