WRaster: Fix incorrect use of macro USE_XSHM in installed header
commit0e274dc979c6f22970dfca1eec6574e473d14b31
authorChristophe CURIS <christophe.curis@free.fr>
Tue, 18 May 2021 16:13:19 +0000 (18 18:13 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 18 May 2021 16:50:43 +0000 (18 17:50 +0100)
tree28d5c4fccb087ddd4af7de7f915cd65662bac224
parent4dfb0dd05909594e0d1e0f5281fd92d6a69a872c
WRaster: Fix incorrect use of macro USE_XSHM in installed header

The header "wraster.h" needs different behaviour depending on whether the
support for X Shared Memory extension was enabled or not; but the related
macro USE_XSHM is defined by WindowMaker's configure. After this header
have been installed, the macro is no more useable.

This patch makes the "wraster.h" a generated file, so it will be different
depending on USE_XSHM, but will not make use of the macro itself.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
WINGs/Makefile.am
WPrefs.app/Makefile.am
src/Makefile.am
util/Makefile.am
wrlib/Makefile.am
wrlib/wraster.h.in [moved from wrlib/wraster.h with 99% similarity]