projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a155cda
)
configure.ac: error out when building from git without python3
author
Emil Velikov
<emil.velikov@collabora.com>
Wed, 4 May 2016 10:47:14 +0000
(11:47 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Mon, 23 May 2016 11:07:47 +0000
(12:07 +0100)
Bail early, as opposed to later on during the build.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 3499e99f5e43e1fe2e5844cdde6ddad5c06f2433..070bae20dc272449947589b013a64050cce9ce2a 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-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