|
Re: Check for ar (libtool bug): msg#00133gnu.libtool.general
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 <rs@xxxxxxxxxxxxxxxxxxx> > > * 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 > Libtool-patches@xxxxxxx > http://mail.gnu.org/mailman/listinfo/libtool-patches |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: MacOSX module linking with static archive libtool problem: 00133, Bob Friesenhahn |
|---|---|
| Next by Date: | Producing libname.so on AIX: 00133, Jani Taskinen |
| Previous by Thread: | Check for ar (libtool bug)i: 00133, Schleicher Ralph (LLI) |
| Next by Thread: | Re: Check for ar (libtool bug): 00133, Schleicher Ralph (LLI) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |