tests: increase coverage for depcomp tests
authorPeter Rosin <peda@lysator.liu.se>
Mon, 13 Feb 2012 20:21:48 +0000 (21:21 +0100)
committerPeter Rosin <peda@lysator.liu.se>
Mon, 13 Feb 2012 20:21:48 +0000 (21:21 +0100)
commitb3f34caa4a4b9ff6862f3b4f1d45560ea4ffee5f
tree98a8964157e475e424c2c906058d84b42c80de32
parentdae8578ed1fbdff7e60e4bb069700182d5ede6a5
tests: increase coverage for depcomp tests

On platforms requiring that no undefined symbols exist in order
to build shared libraries (e.g. Windows DLLs), you have to
explicitly declare that the libtool library you are building
does not actually have any undefined symbols, for libtool to
even try to build it as a shared library.  Without that
explicit declaration, libtool falls back to a static library
only, regardless of any --enable-shared flags etc.

tests/depcomp.sh (Makefile.am): Add -no-undefined if a libtool
library (.la) is built.
(src/Makefile.am): Likewise.
tests/depcomp.sh