summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-04-17 13:24:35 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2013-04-17 13:24:35 +0200
commit56ff6800618b855260b6b72b84d692eac2fa7db8 (patch)
tree571de785e776a56070dc2654ddb49ac3fb9787f1
parent50ca07ab673b10d7d4605d64f56988f6110c5729 (diff)
build: Make sure $(PYTHON) is set when building xpi
Python is needed to generate nsISpicec.h and nsISpicec.xpt from nsISpicec.idl.
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 39a1f7e..4a79626 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,6 +50,7 @@ AC_ARG_ENABLE([xpi],
[Enable compilation of an xpi package])],
[], [enable_xpi=no])
if test x"$enable_xpi" != xno; then
+AM_PATH_PYTHON
PKG_CHECK_MODULES(XUL, libxul-embedding >= 10)
AC_SUBST(XUL_CFLAGS)
AC_SUBST(XUL_LIBS)