diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2004-02-05 14:12:17 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2004-02-05 14:12:17 +0000 |
commit | 9ea0e080369c3cd0e0cab1af164b1caaa11d8a58 (patch) | |
tree | 192b3cd471dd064700c42b940ea6585c9f881bf3 /build/buildcheck.sh | |
parent | 55d54ea045b0586471b44c4a01f409b99e0a105a (diff) | |
download | libapr-9ea0e080369c3cd0e0cab1af164b1caaa11d8a58.tar.gz |
gotta have python to build APR
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64896 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/buildcheck.sh')
-rwxr-xr-x | build/buildcheck.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/buildcheck.sh b/build/buildcheck.sh index 5670c0f6a..0f56d9af0 100755 --- a/build/buildcheck.sh +++ b/build/buildcheck.sh @@ -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 |