summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2021-02-25 09:24:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2021-03-10 09:39:44 +0000
commit242578ac6ef807bf20125f0fdd14c5e4cb17e176 (patch)
treea993809c6819e74014e8cb10768c72783fbb23ef /configure.ac
parent388aa4870a5344505297a18e8fea233f40f12693 (diff)
Integrate the keysym verifier into make check
autotools can't pass arguments, so let's default to 'verify' in the script itself and for distcheck to succeed, we need to set an environment variable to search for the header (it's an out-of-tree build). And due to the very faint chance of there being no python during the xorgproto build, let's make that conditional too. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e84642b..523f711 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,6 +37,9 @@ XORG_WITH_FOP
XORG_WITH_XSLTPROC
XORG_CHECK_SGML_DOCTOOLS(1.8)
+AM_PATH_PYTHON([3.6], , [:])
+AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :])
+
AC_CANONICAL_HOST
AC_ARG_ENABLE(legacy,