mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 20:40:09 +01:00
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 <emil.velikov@collabora.com>
This commit is contained in:
parent
a155cdaace
commit
2cd687ce97
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue