* libtool.m4: ... here.
2000-07-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
+ * configure.in (AM_PROG_GCJ): Moved definition...
+ * libtool.m4: ... here.
+
* ltmain.in (tagname): Use `case' instead of `grep' to infer it.
Match even when there are changes in white-space.
(link): Accumulate base_compile so that -L flags that are part of
AM_CONDITIONAL(HAVE_CXX, [test "x$CXX" != xno])
pushdef([AC_MSG_ERROR], [GCJ=no])
-ifdef([AC_PROG_GCJ],[AC_PROG_GCJ],
- [ifdef([AM_PROG_GCJ],[],[
- # Stolen from automake
- AC_DEFUN([AM_PROG_GCJ],[
- AC_CHECK_PROGS(GCJ, gcj, gcj)
- if test "x${GCJFLAGS+set}" = xset; then
- GCJFLAGS="-g -O2"
- fi
- AC_SUBST(GCJFLAGS)
- ])])
- AM_PROG_GCJ])
+ifdef([AC_PROG_GCJ],[AC_PROG_GCJ],[AM_PROG_GCJ])
popdef([AC_MSG_ERROR])
AM_CONDITIONAL(HAVE_GCJ, [test "x$GCJ" != xno])
dnl This is just to silence aclocal about the macro not being used
ifelse([AC_DISABLE_FAST_INSTALL])dnl
+
+ifdef([AM_PROG_GCJ],,[
+# Stolen from automake
+AC_DEFUN([AM_PROG_GCJ],[
+ AC_CHECK_PROGS(GCJ, gcj, gcj)
+ dnl Automake uses ``='' in the test below, it seems wrong
+ if test "x${GCJFLAGS+set}" != xset; then
+ GCJFLAGS="-g -O2"
+ fi
+ AC_SUBST(GCJFLAGS)
+])])