fix configure bug that showed up on OS X (couldn't find X11/Dialog.h)
authorArun Persaud <arun@nubati.net>
Sat, 19 Jan 2013 16:35:52 +0000 (08:35 -0800)
committerArun Persaud <arun@nubati.net>
Sat, 19 Jan 2013 16:35:52 +0000 (08:35 -0800)
X_CFLAGS (set by AC_PATH_XTRA) was not used in Makefile.am. It was used in tests for X11/Dialog.h, etc. so configure worked, but make didn't.

Makefile.am

index c388b7e..aa34dbc 100644 (file)
@@ -67,7 +67,7 @@ EXTRA_DIST = pixmaps shogi png sounds winboard \
 
 DISTCLEANFILES = stamp-h
 
-AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @CAIRO_CFLAGS@ @FRONTEND_CFLAGS@  -DSYSCONFDIR='"$(sysconfdir)"' \
+AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @X_CFLAGS@ @CAIRO_CFLAGS@ @FRONTEND_CFLAGS@  -DSYSCONFDIR='"$(sysconfdir)"' \
            -DLOCALEDIR='"$(localedir)"' -DSVGDIR='"$(svgdir)"' $(headers)
 
 ACLOCAL_AMFLAGS = -I m4