configure.ac: Rename AM_LDFLAGS to LTLDFLAGS and actually use them
authorPeter Stuge <peter@stuge.se>
Mon, 15 Nov 2010 18:58:51 +0000 (19:58 +0100)
committerPeter Stuge <peter@stuge.se>
Mon, 13 Jun 2011 20:01:43 +0000 (22:01 +0200)
commit717f47621d18de16b87e237f3740299f43e4ca1c
treea2b3b53cb2a89e57a873f2ed2b34f8b9501b992a
parent3cbe5736469c1c52049752c137ae11387e9b079d
configure.ac: Rename AM_LDFLAGS to LTLDFLAGS and actually use them

The new variable name tries to clarify that libtool is being used.
Linker flags must thus always be specified with -Wl.

Factor out the libtool flag -no-undefined from host specific cases.
The flag is required to build a Windows DLL, but is correct also for
the other supported systems.

Also, start actually using LTLDFLAGS in libusb/Makefile.am, so that
libtool will see the options set by configure.
configure.ac
libusb/Makefile.am