aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2012-01-05 17:33:06 +0100
committerJiri Vanek <[email protected]>2012-01-05 17:33:06 +0100
commit42ebca4eabae80b09799690c318967d7485f9c0e (patch)
treee9c20a342ff79cec5838f5ced0ddf8b00b3966e5 /configure.ac
parent25dbb545beabe08570ea17c461e218864c242627 (diff)
Added check for xsltproc tool
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ba61917..2ed3cfc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,6 +87,8 @@ IT_CHECK_XULRUNNER_API_VERSION
# Find optional depedencies
#
+AC_CHECK_PROGS([XSLTPROC],[xsltproc],[], [])
+AM_CONDITIONAL([WITH_XSLTPROC], [test x"$XSLTPROC" != x ])
IT_FIND_OPTIONAL_JAR([rhino], RHINO,
[/usr/share/java/js.jar /usr/share/rhino-1.6/lib/js.jar])
IT_FIND_OPTIONAL_JAR([junit], JUNIT,