ac-archive-maintainers
[Top][All Lists]
Advanced

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

fwd: Fix for a flaw in ac_create_generic_config ...


From: Guido Draheim
Subject: fwd: Fix for a flaw in ac_create_generic_config ...
Date: Thu, 23 Jan 2003 22:39:25 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.1) Gecko/20020826

aaaaahm, here's the current example of `changes the behaviour slightly`.
IYAM, it will do the right thing and it is hard to hit some projects
badly with the change, so I am going to accept it....(as the author of
the original macro).... -- cheers, guido

Martijn Ras schrieb:
Heya Guido,

I think i hit a flaw when adding the ac_create_generic_config macro to the configuration of a couple of library projects.

These libraries were brilliantly named following the lib<whatever> naming convention ...

Which resulted in the ac_create_generic_config macro setting up libs as -llib<whatever> ... this obviously confuses the linker when trying to compile another package using the library.

As the linker searches for lib<library> it will fail to find liblib<whatever> as there's no such file ...

So, attached you'll find a fixed version of the ac_create_generic_config macro that strips the starting 'lib' from the packagename if necessary.

Mazzel,

Martijn.






reply via email to

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