summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)