mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-26 19:40:24 +00:00
autogen.sh : Check for Python.
This commit is contained in:
parent
542b5493db
commit
dca9fcde82
12
autogen.sh
12
autogen.sh
@ -130,6 +130,18 @@ result="yes"
|
||||
echo $result
|
||||
|
||||
|
||||
echo -n "checking for python ... "
|
||||
result="yes"
|
||||
(python --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "You must have Python installed to compile $package."
|
||||
echo "Download the appropriate package for your distribution,"
|
||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
||||
result="no"
|
||||
DIE=1
|
||||
}
|
||||
echo $result
|
||||
|
||||
if test "$DIE" -eq 1; then
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user