mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-28 09:22:27 +01:00
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>
This commit is contained in:
committed by
Carlos R. Mafra
parent
4dfb0dd059
commit
0e274dc979
@@ -12,7 +12,7 @@ bin_SCRIPTS = wmaker.inst wm-oldmenu2new wkdemenu.pl
|
||||
EXTRA_DIST = wmaker.inst.in bughint wm-oldmenu2new wkdemenu.pl
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(DFLAGS) -I$(top_srcdir)/WINGs -I$(top_srcdir)/wrlib \
|
||||
$(DFLAGS) -I$(top_srcdir)/WINGs -I$(top_builddir)/wrlib \
|
||||
@HEADER_SEARCH_PATH@ \
|
||||
-DETCDIR=\"sysconfdir\" -DDATADIR=\"pkgdatadir\"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user