[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Check for ar (libtool bug)
From: |
Schleicher Ralph (LLI) |
Subject: |
Check for ar (libtool bug) |
Date: |
Thu, 20 Feb 2003 16:39:50 +0100 |
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
- Check for ar (libtool bug),
Schleicher Ralph (LLI) <=