Ralph, Typically we define things to ":" when they are not found. If we change your patch to AC_CHECK_TOOL(AR, ar, :), does it still work to fix the problem you ran into?
Robert "Schleicher Ralph (LLI)" wrote: > > Hi, > > libtool does not explicitly check for 'ar'. If no other Autoconf > command checks for 'ar' before AC_PROG_LIBTOOL is processed, then > libtool uses AR=ar which fails when cross compiling. Here is a > patch against libtool CVS together with a ChangeLog entry. > > 2003-02-20 Ralph Schleicher <[EMAIL PROTECTED]> > > * libtool.m4 (AC_LIBTOOL_SETUP): Check for ar. > > diff -u libtool-20030219/libtool.m4.orig libtool-20030219/libtool.m4 > --- libtool-20030219/libtool.m4.orig Tue Feb 18 18:12:39 2003 > +++ libtool-20030219/libtool.m4 Thu Feb 20 16:27:55 2003 > @@ -159,6 +159,7 @@ > ofile="$default_ofile" > with_gnu_ld="$lt_cv_prog_gnu_ld" > > +AC_CHECK_TOOL(AR, ar, false) > AC_CHECK_TOOL(RANLIB, ranlib, :) > AC_CHECK_TOOL(STRIP, strip, :) > > > -- > Ralph > > _______________________________________________ > Libtool-patches mailing list > [EMAIL PROTECTED] > http://mail.gnu.org/mailman/listinfo/libtool-patches _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool
