Fix trailing whitespace
Move extra libtool options into configure

This should allow to keep the libtool options all in one place and at
the same time define different options depending on the host.

Made sure that -no-undefined is set only on Win32. Although no side
effects on Linux and OSX have been observed so far, it's probably better
to play it safe; it does not seem to be needed/does not seem to matter on *nix,
only required for Win32.
Merge pull request #533 from jin-eld/separate-lt-options

Move libtool options to configure script in order to allow per system settings
Tune automake options to avoid problems with newer versions

Automake >1.14 complains if makefiles are used in subdirs but
the subdir-objects option is not set.
Merge pull request #534 from jin-eld/automake-compatibility

Tune automake options to avoid problems with newer versions
Merge remote-tracking branch 'irungentoo/master'