libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Check for ar (libtool bug)


From: Robert Boehne
Subject: Re: Check for ar (libtool bug)
Date: Sun, 23 Feb 2003 13:18:25 -0600

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  <address@hidden>
> 
>         * 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
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool-patches




reply via email to

[Prev in Thread] Current Thread [Next in Thread]