apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsanc...@apache.org
Subject cvs commit: apr/build apr_common.m4
Date Sat, 07 Apr 2001 18:32:12 GMT
wsanchez    01/04/07 11:32:12

  Modified:    build    apr_common.m4
  Log:
  APR_FLAG_HEADERS: Don't try to set variable with '-' in its name; do the same as we do with
'.': drop it.
  
  Revision  Changes    Path
  1.16      +2 -2      apr/build/apr_common.m4
  
  Index: apr_common.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_common.m4,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- apr_common.m4	2001/04/03 18:20:48	1.15
  +++ apr_common.m4	2001/04/07 18:32:11	1.16
  @@ -393,7 +393,7 @@
   dnl  we set FLAG-TO-SET to 1 if we find HEADER-FILE, otherwise we set to 0
   dnl  if FLAG-TO-SET is null, we automagically determine it's name
   dnl  by changing all "/" to "_" in the HEADER-FILE and dropping
  -dnl  all "." chars. If the 3rd parameter is "yes" then instead of
  +dnl  all "." and "-" chars. If the 3rd parameter is "yes" then instead of
   dnl  setting to 1 or 0, we set FLAG-TO-SET to yes or no.
   dnl  
   AC_DEFUN(APR_FLAG_HEADERS,[
  @@ -401,7 +401,7 @@
   for aprt_i in $1
   do
       ac_safe=`echo "$aprt_i" | sed 'y%./+-%__p_%'`
  -    aprt_2=`echo "$aprt_i" | sed -e 's%/%_%g' -e 's/\.//g'`
  +    aprt_2=`echo "$aprt_i" | sed -e 's%/%_%g' -e 's/\.//g' -e 's/-//g'`
       if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
          eval "ifelse($2,,$aprt_2,$2)=ifelse($3,yes,yes,1)"
       else
  
  
  

Mime
View raw message