Added more include directories to fix building in another directory.
[mmh] / config / Makefile.in
index 80eb409..4bdad8e 100644 (file)
@@ -23,7 +23,8 @@ mailspool      = @mailspool@
 CC         = @CC@
 CFLAGS     = @CFLAGS@
 DEFS       = @DEFS@
-INCLUDES   = -I$(top_srcdir) @CPPFLAGS@
+# add include dir .. for config.h when building in different directory
+INCLUDES   = -I$(top_srcdir) -I.. @CPPFLAGS@
 CONFIGDEFS = -DNMHETCDIR='"$(etcdir)"' \
                -DSENDMAILPATH='"$(sendmailpath)"' \
                -DMAILSPOOL='"$(mailspool)"'