summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-11-15 15:15:18 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-11-15 15:15:18 +0000
commit9ee6ed64731376565c0f489408a08b6c0f88d97f (patch)
treec352711fb69a846a3610f05cdb9f22c5ca6f36c9
parentc84f558112e217448b90b04b2a549dc941c34038 (diff)
downloadmailutils-9ee6ed64731376565c0f489408a08b6c0f88d97f.tar.gz
mailutils-9ee6ed64731376565c0f489408a08b6c0f88d97f.tar.bz2
(AM_CPPFLAGS): Add -D_GNU_SOURCE=1, needed for compiling lex sources
-rw-r--r--mh/Makefile.am2
-rw-r--r--mimeview/Makefile.am1
2 files changed, 2 insertions, 1 deletions
diff --git a/mh/Makefile.am b/mh/Makefile.am
index 245b4fa48..b5b0765e4 100644
--- a/mh/Makefile.am
+++ b/mh/Makefile.am
@@ -123,7 +123,7 @@ mailutils-mh.el: mailutils-mh.eli
sed "s,BINDIR,$(bindir),g;s,MHLIBDIR,$(mhlibdir),g" $< > $@
INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib -I${top_builddir}/include/mailutils/gnu -I${top_srcdir}/mailbox @INTLINCS@
-AM_CPPFLAGS = -DMHLIBDIR=\"$(mhlibdir)\" -DMHBINDIR=\"$(bindir)\"
+AM_CPPFLAGS = -D_GNU_SOURCE -DMHLIBDIR=\"$(mhlibdir)\" -DMHBINDIR=\"$(bindir)\"
mh_LIBS = \
./libmh.a\
../lib/libmuaux.la\
diff --git a/mimeview/Makefile.am b/mimeview/Makefile.am
index 0b2756e6d..3d776334c 100644
--- a/mimeview/Makefile.am
+++ b/mimeview/Makefile.am
@@ -33,6 +33,7 @@ mimeview_SOURCES = \
YLWRAP = $(SHELL) $(top_srcdir)/scripts/ylwrap
AM_YFLAGS=-vt
AM_LEXFLAGS=-d
+AM_CPPFLAGS=-D_GNU_SOURCE=1
EXTRA_DIST = mimetypes.y mimetypes.l
mimetypes-gram.c mimetypes-decl.h: $(srcdir)/mimetypes.y

Return to:

Send suggestions and report system problems to the System administrator.