aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2011-03-07 17:09:22 -0500
committerOmair Majid <[email protected]>2011-03-07 17:09:22 -0500
commit622e6cdd632cba0fbf1a523a32d6641eec0c6639 (patch)
treea1fb7142ed956eaa3edad89428fa04084655ecb8 /acinclude.m4
parent3626af6c2e36aa74e5347ada4f99e9fca40ccaeb (diff)
Use autoconf to generate build.properties and jrunscript
2011-03-07 Omair Majid <[email protected]> * acinclude.m4 (IT_FIND_RHINO_JAR): Set RHINO_AVAILABLE to true or false appropriately. * build.properties.in: New file. * jrunscript.in: New file. * configure.ac: Add build.properties and jrunscript to AC_CONFIG_FILES. * Makefile.am (.PHONY): Remove clean-jrunscript. (build.properties): Remove target. (stamps/netx.stamp): Remove dependency on build.properties. (clean-netx): Do not delete build.properties. (jrunscript): Remove target. (check-pac-functions): Remove dependency on jrunscript. (clean-tests): Remove dependency on clean-jrunscript. (clean-jrunscript): Remove target.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index a964ab2..1af5040 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -297,7 +297,13 @@ dnl Clear RHINO_JAR if it doesn't contain a valid filename
if test x"${RHINO_JAR}" = "xno"; then
RHINO_JAR=
fi
+ if test -n ${RHINO_JAR} ; then
+ RHINO_AVAILABLE=true
+ else
+ RHINO_AVAILABLE=false
+ fi
AC_SUBST(RHINO_JAR)
+ AC_SUBST(RHINO_AVAILABLE)
])
AC_DEFUN_ONCE([IT_CHECK_PLUGIN],