summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9200974)
I discovered these problems when I tried to build from a git clone
(which has no config.h in the source directory).
CC = @CC@
CFLAGS = @CFLAGS@
DEFS = @DEFS@
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)"'
CONFIGDEFS = -DNMHETCDIR='"$(etcdir)"' \
-DSENDMAILPATH='"$(sendmailpath)"' \
-DMAILSPOOL='"$(mailspool)"'
CC = @CC@
CFLAGS = @CFLAGS@
DEFS = @DEFS@
CC = @CC@
CFLAGS = @CFLAGS@
DEFS = @DEFS@
-# add include dir . for sigmsg.h when building in different directory
-INCLUDES = -I$(top_srcdir) -I. @CPPFLAGS@
+# add include dir . for sigmsg.h and .. for config.h when building
+# in different directory
+INCLUDES = -I$(top_srcdir) -I. -I.. @CPPFLAGS@
CC = @CC@
CFLAGS = @CFLAGS@
DEFS = @DEFS@
CC = @CC@
CFLAGS = @CFLAGS@
DEFS = @DEFS@
-INCLUDES = -I$(srcdir) -I$(top_srcdir) @CPPFLAGS@
+# add include dir .. for config.h when building in different directory
+INCLUDES = -I$(srcdir) -I$(top_srcdir) -I.. @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@