Hello Steve, and sorry for the delay, * Ralf Wildenhues wrote on Fri, Mar 16, 2007 at 06:34:34PM CET: > * Steve Ellcey wrote on Fri, Mar 16, 2007 at 06:30:38PM CET: > > > > 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 > > > > ]) > [...] > > > Does changing the line to > > > AC_SUBST(GCJFLAGS)])])[]dnl > > > > > > work?
Applied to HEAD. I put you in THANKS, too. Cheers, Ralf 2007-03-18 Ralf Wildenhues <[EMAIL PROTECTED]> * libltdl/m4/libtool.m4 (LT_PROG_GCJ): Avoid M4 expansion error that caused `dnl' to be merged to the previous word. * THANKS: Update. Report by Steve Ellcey. Index: libltdl/m4/libtool.m4 =================================================================== RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v retrieving revision 1.98 diff -u -r1.98 libtool.m4 --- libltdl/m4/libtool.m4 26 Feb 2007 07:44:23 -0000 1.98 +++ libltdl/m4/libtool.m4 18 Mar 2007 17:36:03 -0000 @@ -6844,7 +6844,7 @@ [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 + AC_SUBST(GCJFLAGS)])])[]dnl ]) # Old name: _______________________________________________ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool