[PATCH 4/9] do not include config.h for test code

Michael Haubenwallner michael.haubenwallner at ssi-schaefer.com
Mon Apr 10 11:10:41 UTC 2017


While our test code _does_ not, the installed header files _must_ not
rely on config.h being included.  Omitting config.h from test code can
help testing that requirement.
---
 test/Makefile.am | 1 -
 1 file changed, 1 deletion(-)

diff --git a/test/Makefile.am b/test/Makefile.am
index 8a4512e..136debc 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,7 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
 AM_CPPFLAGS = \
-	-include $(top_builddir)/config.h \
 	-I$(top_builddir) \
 	-I$(top_srcdir)/include \
 	$(nil)
-- 
2.10.2



More information about the libbsd mailing list