diff options
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 7 |
2 files changed, 2 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am index f0b0fa5..bbca4ca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ bin_PROGRAMS = listres -AM_CFLAGS = $(LISTRES_CFLAGS) -D_BSD_SOURCE +AM_CFLAGS = $(CWARNFLAGS) $(LISTRES_CFLAGS) -D_BSD_SOURCE listres_LDADD = $(LISTRES_LIBS) listres_SOURCES = \ diff --git a/configure.ac b/configure.ac index 71e6bc2..96f2a26 100644 --- a/configure.ac +++ b/configure.ac @@ -38,14 +38,9 @@ AC_PROG_CC AC_PROG_INSTALL -PKG_CHECK_MODULES(XAW, xaw7) - # Checks for pkg-config packages -PKG_CHECK_MODULES(LISTRES, x11 xt xmu) -LISTRES_CFLAGS="$CWARNFLAGS $LISTRES_CFLAGS $XAW_CFLAGS" -LISTRES_LIBS="$LISTRES_LIBS $XAW_LIBS" +PKG_CHECK_MODULES(LISTRES, xaw7 x11 xt xmu) AC_SUBST(LISTRES_CFLAGS) AC_SUBST(LISTRES_LIBS) - AC_OUTPUT([Makefile]) |