1 # This file contains everything that autoconf guessed for your system.
2 # if you want you can edit it, just don't re-run configure.
5 PACKAGE_VERSION = @PACKAGE_VERSION@
6 PACKAGE_MAIL = @PACKAGE_MAIL@
10 CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT -D_FORTIFY_SOURCE=2
12 CXXFLAGS+= @CXXFLAGS@ -std=c++11 -Wall -Wextra
13 CXXFLAGS+= -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations
14 CXXFLAGS+= -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef
15 # suggests methods which already have such an attribute
16 #CXXFLAGS+= -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=noreturn
17 # gcc reports currently lots of them at the end of file - unknown reason
18 CXXFLAGS+= -Wno-deprecated-declarations
19 # sanitize options to be enabled for testing
20 #CXXFLAGS+= -fsanitize=address -fsanitize=undefined -fno-sanitize=vptr
21 # a bit too pedantic to be run by default
22 #CXXFLAGS+= -Wpedantic -Wno-long-long -Wno-vla -Wno-variadic-macros
23 NUM_PROCS = @NUM_PROCS@
26 PICFLAGS+= -fPIC -DPIC
29 SOCKETLIBS:= @SOCKETLIBS@
33 # Dep generation - this only works for gnu stuff
40 # xsltproc for the man pages and documentation
41 XSLTPROC := @XSLTPROC@
44 DOCBOOK = $(XSLTPROC) --nonet --novalid --xinclude
45 DOCBOOK2TEXT = $(W3M) -o display_charset=UTF-8 -no-graph -T text/html \
48 # po4a for the man pages
54 MSGCOMM:=$(dir $(XGETTEXT))/msgcomm
55 MSGMERGE:=$(dir $(XGETTEXT))/msgmerge
58 # Various library checks
59 PTHREADLIB = @PTHREADLIB@
60 PYTHONLIB = @PYTHONLIB@
61 PYTHONVER = @PYTHONVER@
62 PYTHONPREFIX = @PYTHONPREFIX@
63 PYTHONEXECPREFIX = @PYTHONEXECPREFIX@
64 PYTHONINCLUDE = @PYTHONINCLUDE@
68 # Shim Headerfile control
69 HAVE_STATVFS = @HAVE_STATVFS@
70 HAVE_ZLIB = @HAVE_ZLIB@
72 HAVE_LZMA = @HAVE_LZMA@
73 NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
75 # Shared library things
77 ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu,$(HOST_OS))),0)
78 SONAME_MAGIC=-Wl,-soname -Wl,
81 # Do not know how to create shared libraries here.