wrlib: Use a Conditional for XPM in the makefile instead of #if in source
commit3b2362662eaf90c31e6fd2d7dcc801118c7784ee
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 8 Nov 2013 17:50:01 +0000 (8 18:50 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 30 Dec 2013 18:11:03 +0000 (30 18:11 +0000)
tree7c666aeef55220154bea34798d47f3b9ea259eea
parentaa99207ab4f36615ce9467c6062462db6cc07b65
wrlib: Use a Conditional for XPM in the makefile instead of #if in source

Now that the builtin XPM loading is separated from the saving code, the
use of the conditionals provided by autotools provides a better result
as it avoids unnecessary compilation.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
wrlib/Makefile.am
wrlib/nxpm.c