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 find_apr.m4
Date Mon, 09 Aug 2004 06:31:59 GMT
jerenkrantz    2004/08/08 23:31:59

  Modified:    build    find_apr.m4
  Log:
  Ditch autoconf-2.5x+ syntax (m4_*) and only print the warning on ac-2.5x+
  
  (apr-util now configures correctly on autoconf-2.13)
  
  Revision  Changes    Path
  1.16      +4 -5      apr/build/find_apr.m4
  
  Index: find_apr.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/find_apr.m4,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -u -r1.15 -r1.16
  --- find_apr.m4	1 Aug 2004 00:52:20 -0000	1.15
  +++ find_apr.m4	9 Aug 2004 06:31:59 -0000	1.16
  @@ -53,11 +53,10 @@
       TEST_X="test -x"
     fi
   
  -  m4_if([$4], [],
  -  [
  -    AC_WARNING([$0: missing argument 4 (acceptable-majors): Defaulting to APR 0.x then
APR 1.x])
  -    acceptable_majors="0 1"
  -  ], [acceptable_majors="$4"])
  +  ifelse([$4], [], [
  +         ifdef(AC_WARNING,AC_WARNING([$0: missing argument 4 (acceptable-majors): Defaulting
to APR 0.x then APR 1.x]))
  +         acceptable_majors="0 1"],
  +         [acceptable_majors="$4"])
   
     apr_temp_acceptable_apr_config=""
     for apr_temp_major in $acceptable_majors
  
  
  

Mime
View raw message