apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr/build buildcheck.sh
Date Tue, 20 Jan 2004 16:28:55 GMT
jorton      2004/01/20 08:28:55

  Modified:    build    buildcheck.sh
  Log:
  * build/buildcheck.sh: Fold the head -1 into the sed command; fix
  build in environments which strictly conform to the latest POSIX
  standard.
  
  PR: 26283
  
  Revision  Changes    Path
  1.9       +1 -1      apr/build/buildcheck.sh
  
  Index: buildcheck.sh
  ===================================================================
  RCS file: /home/cvs/apr/build/buildcheck.sh,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -b -d -u -r1.8 -r1.9
  --- buildcheck.sh	4 Jan 2004 11:26:22 -0000	1.8
  +++ buildcheck.sh	20 Jan 2004 16:28:55 -0000	1.9
  @@ -3,7 +3,7 @@
   echo "buildconf: checking installation..."
   
   # autoconf 2.13 or newer
  -ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//'
-e 's/[a-z]* *$//'`
  +ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]*
*$//;q'`
   if test -z "$ac_version"; then
   echo "buildconf: autoconf not found."
   echo "           You need autoconf version 2.13 or newer installed"
  
  
  

Mime
View raw message