From 67b8eba82dba74f12f1ee4fac6f5ee8968b1f14c Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 15 Jan 2010 21:20:50 -0800 Subject: Move CWARNFLAGS addition from configure.ac to Makefile.am Signed-off-by: Alan Coopersmith --- Makefile.am | 2 +- configure.ac | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 062aefd..5781039 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ bin_PROGRAMS = xload -AM_CFLAGS = $(XLOAD_CFLAGS) +AM_CFLAGS = $(CWARNFLAGS) $(XLOAD_CFLAGS) xload_LDADD = $(XLOAD_LIBS) xload_SOURCES = \ diff --git a/configure.ac b/configure.ac index 955676b..77482c6 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,6 @@ AC_CHECK_LIB([kstat], [kstat_open]) # Checks for pkg-config packages PKG_CHECK_MODULES(XLOAD, xaw7) -XLOAD_CFLAGS="$CWARNFLAGS $XLOAD_CFLAGS" AC_SUBST(XLOAD_CFLAGS) AC_SUBST(XLOAD_LIBS) -- cgit v1.2.3