mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-02-03 11:22:39 +00:00
build-sys: Make sure python is installed for test cases
Some test cases need either python 2 or 3. Make sure it is installed. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
parent
5cd844d09e
commit
dbb399de05
@ -311,6 +311,11 @@ if test "x$SOCAT" == "x"; then
|
||||
AC_MSG_ERROR([socat is required: socat package])
|
||||
fi
|
||||
|
||||
AC_PATH_PROG([PYTHON], python)
|
||||
if test "x$PYTHON" == "x"; then
|
||||
AC_MSG_ERROR([python is required: python2 or python3 package])
|
||||
fi
|
||||
|
||||
TMP="$($CC -fstack-protector-strong 2>&1)"
|
||||
if echo $TMP | $GREP 'unrecognized command line option' >/dev/null; then
|
||||
HARDENING_CFLAGS="-fstack-protector -Wstack-protector "
|
||||
|
||||
Loading…
Reference in New Issue
Block a user