| Revision 532,
708 bytes
checked in by dcarter, 4 years ago
(diff) |
|
merge of 0.8 beta2
|
| Line | |
|---|
| 1 | # Copyright (c) 2005-2008 David Carter <dcarter@arm4.org> and others. |
|---|
| 2 | # All rights reserved. This program and the accompanying materials |
|---|
| 3 | # are made available under the terms of the Eclipse Public License v1.0 |
|---|
| 4 | # which accompanies this distribution, and is available at |
|---|
| 5 | # http://www.eclipse.org/legal/epl-v10.html |
|---|
| 6 | |
|---|
| 7 | AC_DEFUN([ARM4_CHECK_JAVA], |
|---|
| 8 | [ |
|---|
| 9 | AC_ARG_ENABLE(java, |
|---|
| 10 | [ --disable-java disable java language bindings], |
|---|
| 11 | [case "${enableval}" in |
|---|
| 12 | yes) java=true ;; |
|---|
| 13 | no) java=false ;; |
|---|
| 14 | *) AC_MSG_ERROR([bad value ${enableval} for --enable-java]) ;; |
|---|
| 15 | esac], |
|---|
| 16 | [java=true]) |
|---|
| 17 | ENABLE_JAVA="$java" |
|---|
| 18 | AC_SUBST(ENABLE_JAVA) |
|---|
| 19 | AM_CONDITIONAL([BUILD_JAVA], [test "$ENABLE_JAVA" = "true" ]) |
|---|
| 20 | ]) |
|---|
Note: See
TracBrowser
for help on using the repository browser.