apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/build buildcheck.sh
Date Thu, 05 Feb 2004 14:12:17 GMT
trawick     2004/02/05 06:12:17

  Modified:    build    buildcheck.sh
  Log:
  gotta have python to build APR
  
  Revision  Changes    Path
  1.10      +11 -0     apr/build/buildcheck.sh
  
  Index: buildcheck.sh
  ===================================================================
  RCS file: /home/cvs/apr/build/buildcheck.sh,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- buildcheck.sh	20 Jan 2004 16:28:55 -0000	1.9
  +++ buildcheck.sh	5 Feb 2004 14:12:17 -0000	1.10
  @@ -2,6 +2,17 @@
   
   echo "buildconf: checking installation..."
   
  +# any python
  +py_version=`python -V 2>&1|sed -e 's/^[^0-9]*//'`
  +if test -z "$py_version"; then
  +echo "buildconf: python not found."
  +echo "           You need python installed"
  +echo "           to build APR from CVS."
  +exit 1
  +else
  +echo "buildconf: python version $py_version (ok)"
  +fi
  +
   # autoconf 2.13 or newer
   ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]*
*$//;q'`
   if test -z "$ac_version"; then
  
  
  

Mime
View raw message