source: trunk/essentials/sys-devel/automake-1.10/m4/gcj.m4

Last change on this file was 3147, checked in by bird, 18 years ago

automake 1.10

File size: 655 bytes
Line 
1# Check for Java compiler. -*- Autoconf -*-
2# For now we only handle the GNU compiler.
3
4# Copyright (C) 1999, 2000, 2003, 2005 Free Software Foundation, Inc.
5#
6# This file is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10AC_DEFUN([AM_PROG_GCJ],[
11AC_CHECK_PROGS(GCJ, gcj, gcj)
12test -z "$GCJ" && AC_MSG_ERROR([no acceptable gcj found in \$PATH])
13if test "x${GCJFLAGS-unset}" = xunset; then
14 GCJFLAGS="-g -O2"
15fi
16AC_SUBST(GCJFLAGS)
17_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES(GCJ)])
18])
Note: See TracBrowser for help on using the repository browser.