summaryrefslogtreecommitdiff
path: root/m4/as-python.m4
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2003-01-20 14:13:47 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2003-01-20 14:13:47 +0000
commit96e98a2af37538920074256c679dfa5e3277b6b7 (patch)
treed8774471447fa938ec58dc14758bc5d1cbb934d8 /m4/as-python.m4
parent7cb2039e2b299bed4ea1dcd7acca3a9b6ea88347 (diff)
downloadgstreamer-common-96e98a2af37538920074256c679dfa5e3277b6b7.tar.gz
python isn't life or death
Original commit message from CVS: python isn't life or death
Diffstat (limited to 'm4/as-python.m4')
-rw-r--r--m4/as-python.m48
1 files changed, 6 insertions, 2 deletions
diff --git a/m4/as-python.m4 b/m4/as-python.m4
index e7c5a80..0e447cd 100644
--- a/m4/as-python.m4
+++ b/m4/as-python.m4
@@ -30,6 +30,7 @@
# Updated to loop over all possible python binaries by Andy Wingo
# <wingo@pobox.com>
+# Updated to only warn and unset PYTHON if no good one is found
AC_DEFUN([AS_PATH_PYTHON],
[
@@ -78,8 +79,9 @@ else:
])
if test "$python_good" != "true"; then
- AC_MSG_ERROR([No suitable version of python found])
- fi
+ AC_MSG_WARNING([No suitable version of python found])
+ PYTHON=
+ else
AC_MSG_CHECKING([local Python configuration])
@@ -145,4 +147,6 @@ else:
pkgpyexecdir=\${pyexecdir}/$PACKAGE
AC_MSG_RESULT([looks good])
+
+ fi
])