summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2010-01-15 22:44:04 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2010-01-15 22:44:04 -0800
commit4b073704dd69e47f68f61dba1b389f29379709f6 (patch)
treefe58b22ed1aee537c9f79bac15deda0134fd189f
parentcb9c3a5ddad517f9386b195b7d710e6207618aeb (diff)
Move CWARNFLAGS addition from configure.ac to Makefile.am
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
2 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index d8ed7da..7e61309 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,7 +22,7 @@
bin_PROGRAMS = xvidtune
-AM_CFLAGS = $(XVIDTUNE_CFLAGS)
+AM_CFLAGS = $(CWARNFLAGS) $(XVIDTUNE_CFLAGS)
xvidtune_LDADD = $(XVIDTUNE_LIBS)
xvidtune_SOURCES = \
diff --git a/configure.ac b/configure.ac
index cf3b9a3..65a0115 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,8 +43,6 @@ AC_ARG_WITH(appdefaultdir,
AC_HELP_STRING([--with-appdefaultdir=<pathname>],
[specify directory for app-defaults files (default is autodetected)]),
[appdefaultdir="$withval"], [appdefaultdir="${xt_appdefaultdir}"])
-XVIDTUNE_CFLAGS="$CWARNFLAGS $XVIDTUNE_CFLAGS"
-XVIDTUNE_LIBS="$XVIDTUNE_LIBS"
AC_SUBST(XVIDTUNE_CFLAGS)
AC_SUBST(XVIDTUNE_LIBS)
AC_SUBST(appdefaultdir)