summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--src/Makefile.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 778d34d..81880a1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,6 +86,7 @@ fi
DAMAGEEXT_VERSION=[`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`]
PKG_CHECK_MODULES(XDAMAGE, [damageproto >= $DAMAGEEXT_VERSION] xfixes)
+AC_SUBST(XDAMAGE_CFLAGS)
AC_OUTPUT([Makefile
src/Makefile
diff --git a/src/Makefile.am b/src/Makefile.am
index 43751e2..8fab099 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,7 +5,7 @@ libXdamage_la_SOURCES = \
Xdamage.c
libXdamage_la_LIBADD = $(XDAMAGE_LIBS) $(X_LIBS)
-AM__CFLAGS = $(XDAMAGE_CFLAGS) $(X_CFLAGS)
+AM_CFLAGS = $(XDAMAGE_CFLAGS) $(X_CFLAGS)
INCLUDES = -I$(top_srcdir)/include/X11/extensions