summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac3
2 files changed, 1 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 7fd732d..781318c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
lib_LTLIBRARIES = libXau.la
-AM_CFLAGS = $(XAU_CFLAGS)
+AM_CFLAGS = $(XAU_CFLAGS) $(CWARNFLAGS)
INCLUDES = -I${top_srcdir}/include
diff --git a/configure.ac b/configure.ac
index a786656..9fa1c68 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,9 +44,6 @@ AM_PROG_LIBTOOL
AC_PROG_MAKE_SET
PKG_CHECK_MODULES(XAU, xproto)
-XAU_CFLAGS="$CWARNFLAGS $XAU_CFLAGS"
-AC_SUBST(XAU_CFLAGS)
-AC_SUBST(XAU_LIBS)
AC_ARG_ENABLE(xthreads,
AC_HELP_STRING([--disable-xthreads],