File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 81
81
82
82
-include .config
83
83
84
+ ifeq ($(wildcard .config) ,)
85
+ $(info .config file not yet created)
86
+ endif
87
+
84
88
ifeq ($(freestanding-pass ) ,1)
85
89
TINYCBOR_SOURCES = $(TINYCBOR_FREESTANDING_SOURCES )
86
90
else
@@ -96,7 +100,9 @@ TINYCBOR_SOURCES = \
96
100
ifeq ($(open_memstream-pass ) ,)
97
101
ifeq ($(funopen-pass)$(fopencookie-pass),)
98
102
CFLAGS += -DWITHOUT_OPEN_MEMSTREAM
99
- $(warning warning : funopen and fopencookie unavailable, open_memstream can not be implemented and conversion to JSON will not work properly!)
103
+ ifeq ($(wildcard .config),.config)
104
+ $(warning warning : funopen and fopencookie unavailable, open_memstream can not be implemented and conversion to JSON will not work properly!)
105
+ endif
100
106
else
101
107
TINYCBOR_SOURCES += src/open_memstream.c
102
108
endif
You can’t perform that action at this time.
0 commit comments