From 5bed8fd5578c5269f84e491e2bb9a7f8ac58e34a Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 30 Oct 2010 13:23:45 -0700 Subject: config: Remove unnecessary calls from configure.ac PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables Signed-off-by: Alan Coopersmith --- Makefile.am | 1 + configure.ac | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 839a8b3..0fcccb1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,6 +24,7 @@ bin_PROGRAMS = proxymngr CONFIG_DIR = $(libdir)/X11/proxymngr AM_CFLAGS = \ + $(CWARNFLAGS) \ $(PROXYMNGR_CFLAGS) \ -DXVENDORNAME=\"The\ X\.Org\ Foundation\" \ -DXORG_RELEASE=\"Release\ $(VERSION)\" \ diff --git a/configure.ac b/configure.ac index cf257a5..c4f982c 100644 --- a/configure.ac +++ b/configure.ac @@ -45,9 +45,6 @@ fi # Checks for pkg-config packages PKG_CHECK_MODULES(PROXYMNGR, ice xt x11 xproxymngproto) -PROXYMNGR_CFLAGS="$CWARNFLAGS $PROXYMNGR_CFLAGS" -AC_SUBST(PROXYMNGR_CFLAGS) -AC_SUBST(PROXYMNGR_LIBS) AC_CHECK_FUNC(strcasecmp, [], AC_DEFINE([NEED_STRCASECMP],1, -- cgit v1.2.3