diff options
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 12 |
2 files changed, 2 insertions, 12 deletions
diff --git a/Makefile.am b/Makefile.am index 26b8a83..98ca998 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ bin_PROGRAMS = xfd -xfd_CFLAGS = $(XFD_CFLAGS) -DXRENDER -D_BSD_SOURCE +AM_CFLAGS = $(XFD_CFLAGS) $(CWARNFLAGS) -DXRENDER -D_BSD_SOURCE xfd_LDADD = $(XFD_LIBS) xfd_SOURCES = \ diff --git a/configure.ac b/configure.ac index 173d881..86f2a99 100644 --- a/configure.ac +++ b/configure.ac @@ -35,7 +35,6 @@ XORG_DEFAULT_OPTIONS AM_CONFIG_HEADER(config.h) AC_PROG_CC -AM_PROG_CC_C_O AC_PROG_INSTALL # Internationalization & localization support @@ -59,16 +58,7 @@ fi AM_CONDITIONAL(USE_GETTEXT, test "x$USE_GETTEXT" = "xyes") # Checks for pkg-config packages -PKG_CHECK_MODULES(XAW, xaw7) - -PKG_CHECK_MODULES(ADDITIONAL, freetype2 fontconfig xft) - -XFD_CFLAGS="$XAW_CFLAGS $ADDITIONAL_CFLAGS" -XFD_LIBS="$XAW_LIBS $ADDITIONAL_LIBS" -XFD_CFLAGS="$CWARNFLAGS $XFD_CFLAGS" -AC_SUBST(XFD_CFLAGS) -AC_SUBST(XFD_LIBS) - +PKG_CHECK_MODULES(XFD, xaw7 freetype2 fontconfig xft xrender xmu) PKG_CHECK_MODULES(APPDEFS, xt) xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` |