From: Stepan Kasal Date: Tue, 15 May 2007 18:46:02 +0000 (+0200) Subject: build-sys: do not play with DEFS, use AM_CPPFLAGS X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30564097bfb026c0eb877af9dbe3ec963cbd5cc5;p=util-linux build-sys: do not play with DEFS, use AM_CPPFLAGS If a -D flag is needed, it belongs to AM_CPPFLAGS. Signed-off-by: Stepan Kasal --- diff --git a/config/include-Makefile.am b/config/include-Makefile.am index 61d45cd2..18f8474d 100644 --- a/config/include-Makefile.am +++ b/config/include-Makefile.am @@ -4,8 +4,6 @@ datadir = $(prefix)/usr/share infodir = $(datadir)/info mandir = $(datadir)/man -AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include +AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include \ + -DLOCALEDIR=\"$(localedir)\" AM_CFLAGS = -fsigned-char -fomit-frame-pointer - -DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ -