[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libs.am/AR = ar
From: |
Ralf Corsepius |
Subject: |
libs.am/AR = ar |
Date: |
08 May 2002 19:04:52 +0200 |
Simple question:
Why is AR = ar hard-coded into libs.am?
if %?FIRST%
AR = ar
## For now this is detected when we see AC_PROG_RANLIB
## RANLIB = @RANLIB@
endif %?FIRST%
This assumes the archiver always to be called "ar", which is just not
correct.
For example
This causes cross-compiled packages which apply
AC_CHECK_TOOL(AR,ar)
to silently use "ar" instead of the desired @address@hidden
Not worth mentioning toolchains where the "archiver" has a completely
different name.
At least I have found myself having to explicitly put
AR = @AR@
into all Makefile.ams to get the correct ar for cross-toolchains.
Ralf
- libs.am/AR = ar,
Ralf Corsepius <=