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

Re: ./configure in debian/rules



Frank Küster <frank@debian.org> writes:
> Pjotr Kourzanov <peter.kourzanov@xs4all.nl> wrote:

>>    In a number of packages (e.g., busybox, dash and many more) the
>> debian/rules Makefile calls ./configure without --host argument. This
>> makes the life quite difficult for cross-compilation - for every
>> such package I need to add --host=$(DEB_HOST_GNU_TYPE) to every
>> configure invocation in debian/rules.

> Were can I read up on how and why I should do this?  AFAIR, the policy
> mentions this variable in the section about debian/rules, but does not
> make their use mandatory.

Hm, I've only been doing this in packages that use AC_CANONICAL_HOST.  Is
there benefit to doing this even with packages that don't care at all
about the system type and don't even include config.guess and config.sub
in the source package?

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: