mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-27 15:45:54 +00:00
Use found python binary to check for pyparsing
This matches what we do in client/Makefile.am to actually run the python scripts, which is to use the python binary we find first, preferring 'python2' over 'python'. This makes the compile work on odd systems such as Arch Linux where the python binary is actually python3. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
This commit is contained in:
parent
90d6126869
commit
07b8d85cb6
@ -217,7 +217,7 @@ SPICE_REQUIRES+=" celt051 >= 0.5.1.1"
|
||||
|
||||
if test ! -e client/generated_marshallers.cpp; then
|
||||
AC_MSG_CHECKING([for pyparsing python module])
|
||||
echo "import pyparsing" | python - >/dev/null 2>&1
|
||||
echo "import pyparsing" | ${PYTHON} - >/dev/null 2>&1
|
||||
if test $? -ne 0 ; then
|
||||
AC_MSG_RESULT([not found])
|
||||
AC_MSG_ERROR([pyparsing python module is required to compile this package])
|
||||
@ -531,6 +531,7 @@ echo "
|
||||
prefix: ${prefix}
|
||||
c compiler: ${CC}
|
||||
c++ compiler: ${CXX}
|
||||
python: ${PYTHON}
|
||||
|
||||
Build Spice client: ${enable_client}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user