summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3499e99f5e4..070bae20dc2 100644
--- 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