From da05a290e6a66cca3bd84e7c3b22bb56c7247de5 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Fri, 11 Oct 2013 22:17:40 +0400 Subject: [PATCH] Force including zncconfig.h at the beginning of every .cpp Otherwise it's easy to have STL compiled with different options in different .cpp's, which leads to very weird crashes. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 7cd4a58e..1ee83b6e 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,7 @@ appendLD () { } appendCXX "-D_FORTIFY_SOURCE=2" +appendCXX "-include znc/zncconfig.h" case "${host_os}" in freebsd*)