I am currently expirementing with using the latest (ToT) libtool in the GCC and binutils builds. I ran into a problem when trying to run aclocal and autoconf in the GCC libjava directory, I was getting:
$ aclocal -I . -I .. -I ../config $ autoconf configure:15448: error: possibly undefined macro: AM_PROG_GCJdnl If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. I think I tracked this down to the expansion of LT_PROG_GCJ from libtool.m4. In libltdl/m4/libtool.m4 there is: # LT_PROG_GCJ # ----------- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj,) test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])dnl ]) I think the 'dnl' at the end of the AC_SUBST line is the problem. Does this seem right? The problem went away after I removed the 'dnl'. If this looks right can someone check this change into libtool. Steve Ellcey [EMAIL PROTECTED] _______________________________________________ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool