# HG changeset patch # User Nathan Phillip Brink # Date 2010-07-29 21:31:53 # Node ID 713403c81c85f83c193c94d976b49e368fb8d206 # Parent 00afcd810c9bd73432605babe536a13df87f7160 ``make distcheck'' works. diff --git a/Makefile.am b/Makefile.am --- a/Makefile.am +++ b/Makefile.am @@ -1,9 +1,10 @@ ACLOCAL_AMFLAGS = -I m4 - +# both srcdir and builddir are needed because config.h ends up in builddir AM_CPPFLAGS = -DSYSCONFDIR='"$(sysconfdir)"' \ -DLOCALSTATEDIR='"$(localstatedir)"' \ - -I$(top_srcdir)/src + -I$(top_srcdir)/src \ + -I$(top_builddir)/src AM_CFLAGS = $(DISTLIBS_CFLAGS) LIBS = $(DISTLIBS_LIBS)