mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-13 15:46:55 +08:00
this has a negative side-effect of causing automake to add MATHLIB to every single Makefile. Let's use plain AC_CHECK_LIB, so that LIBS get set, until we find a better alternative * *demo/Makefile.am: remove $(MATHLIB)
This is depdemo, an example package that uses GNU libtool with an Automake-generated environment to build many interdependent libraries and a test program. There are four libraries: l1, l2, l3 and l4. l1 depends on nothing. l2 depends on l1. l3 depends on l1 and l2. l4 depends on l3 and libm. The test program uses l1, l2 and l4.