summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2010-01-29 23:14:24 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2010-01-29 23:14:24 -0800
commitac722e899333482e96de163eadfed1a540209dce (patch)
tree89b6b2f273dd4ceff8673f1520d0b4bfa507609b
parent529f0f2125a1f5e7d6382f918af955616a35d657 (diff)
Rely on PKG_CHECK_MODULES to AC_SUBST XMESSAGE_CFLAGS & _LIBS
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-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 65273b0..8ce9c63 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = xmessage
-AM_CFLAGS = $(XMESSAGE_CFLAGS)
+AM_CFLAGS = $(CWARNFLAGS) $(XMESSAGE_CFLAGS)
xmessage_LDADD = $(XMESSAGE_LIBS)
xmessage_SOURCES = \
diff --git a/configure.ac b/configure.ac
index b74b685..727f1d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,9 +40,6 @@ AC_PROG_INSTALL
# Checks for pkg-config packages
PKG_CHECK_MODULES(XMESSAGE, xaw7)
-XMESSAGE_CFLAGS="$CWARNFLAGS $XMESSAGE_CFLAGS"
-AC_SUBST(XMESSAGE_CFLAGS)
-AC_SUBST(XMESSAGE_LIBS)
PKG_CHECK_MODULES(APPDEFS, xt)
xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`