Commit 2cd687ce authored by Emil Velikov's avatar Emil Velikov Committed by Emil Velikov

configure.ac: error out when building from git without python3

Bail early, as opposed to later on during the build.
Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.velikov@collabora.com>
parent a155cdaa
......@@ -142,6 +142,12 @@ else
fi
fi
if test -z "$PYTHON3"; then
if test ! -f "$srcdir/src/intel/genxml/gen9_pack.h"; then
AC_MSG_ERROR([Python3 not found - unable to generate sources])
fi
fi
AC_PROG_INSTALL
dnl We need a POSIX shell for parts of the build. Assume we have one
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment