Clean up library linking
commitf38aa69e40cdb872fa01073df6472cc72af1fe32
authorBrad Jorsch <anomie@users.sourceforge.net>
Fri, 24 Sep 2010 20:08:12 +0000 (24 16:08 -0400)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 7 Oct 2010 10:04:29 +0000 (7 12:04 +0200)
tree25eff4cd92cec047dbb3889320c80a85df35b2fe
parent8ca05fd4bec46610c67c0ac88b60eba6d50460c2
Clean up library linking

On the one hand, libWINGs wasn't linking against -lX11 when it should
have been. And on the other, only libWINGs needs Xft, only wmaker needs
Xrandr, only wmaker and wmsetbg need Xinerama, only libwraster needs
Xmu, and -lpng may not need -lz.

Cleaning this up can help distributions get their dependencies correct,
and might even avoid loading the unused libraries at runtime, so we may
as well do it.

Signed-off-by: Brad Jorsch <anomie@users.sourceforge.net>
WINGs/Makefile.am
WPrefs.app/Makefile.am
configure.ac
src/Makefile.am
util/Makefile.am
wrlib/Makefile.am