]> err.no Git - util-linux/commitdiff
build-sys: do not play with DEFS, use AM_CPPFLAGS
authorStepan Kasal <skasal@redhat.com>
Tue, 15 May 2007 18:46:02 +0000 (20:46 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 16 May 2007 09:43:29 +0000 (11:43 +0200)
If a -D flag is needed, it belongs to AM_CPPFLAGS.

Signed-off-by: Stepan Kasal <skasal@redhat.com>
config/include-Makefile.am

index 61d45cd20fe887241b2412c5deeffb998f7b1b58..18f8474dc7c4fe660eefa2ca60349b6375339ebf 100644 (file)
@@ -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@
-