summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorGuilhem Lavaux <guilhem@kaffe.org>2006-01-21 20:57:09 +0000
committerGuilhem Lavaux <guilhem@kaffe.org>2006-01-21 20:57:09 +0000
commit389128ad9e78d61b272a1c47d1fd48846aabe7ef (patch)
treec406c40a549577d27175f90c86cdf6153392e190 /m4
parent6fe91fe63ab392f2047342a37bb40013718a630a (diff)
downloadclasspath-389128ad9e78d61b272a1c47d1fd48846aabe7ef.tar.gz
2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
* m4/acinclude.m4 (CLASSPATH_WITH_GLIBJ): Add support for fastjar. * lib/Makefile.am: Likewise.
Diffstat (limited to 'm4')
-rw-r--r--m4/acinclude.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/m4/acinclude.m4 b/m4/acinclude.m4
index 4317844aa..1c5f9c70f 100644
--- a/m4/acinclude.m4
+++ b/m4/acinclude.m4
@@ -304,6 +304,19 @@ dnl -----------------------------------------------------------
AC_DEFUN([CLASSPATH_WITH_GLIBJ],
[
AC_PATH_PROG(ZIP, zip)
+ AC_ARG_WITH([fastjar],
+ [AS_HELP_STRING([--with-fastjar=PATH], [define to use a fastjar style tool])],
+ [
+ AC_MSG_CHECKING([for user supplied fastjar])
+ FASTJAR=${withval}
+ AC_MSG_RESULT([${FASTJAR}])
+ ],
+ [AC_PATH_PROG(FASTJAR, fastjar)])
+dnl We disable ZIP by default if we find fastjar.
+ if test x"${FASTJAR}" != x; then
+ ZIP=""
+ fi
+
AC_ARG_WITH([glibj],
[AS_HELP_STRING([--with-glibj],[define what to install (zip|flat|both|none|build) [default=zip]])],
[