Configuring jwm svn version 562 with "./configure --disable-shape" leads to the following error in the make stage:
gcc -c -g -O2 -I/usr/include/libpng15 -I/usr/include/freetype2 -DLOCALEDIR=\"/usr/share/locale\" status.c
status.c: In function 'DrawMoveResizeWindow':
status.c:120:25: error: 'CORNER_RADIUS' undeclared (first use in this function)
status.c:120:25: note: each undeclared identifier is reported only once for each function it appears in
make: *** [status.o] Error 1
The problem is the definition of CORNER_RADIUS (in jwm.h). The definition is conditional upon the shape extension being used:
/** Fixed radius of 4x4 */
# define CORNER_RADIUS 4
The easiest solution out is to define CORNER_RADIUS unconditionally. That is, in jwm.h, replace the above lines by:
#define CORNER_RADIUS 4
After that, jwm svn 562 compiles.
Log in to post a comment.