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
11 CXX = @CXX@ -std=c++11
12 CXXFLAGS+= @CXXFLAGS@ -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 # sanitize options to be enabled for testing
18 #CXXFLAGS+= -fsanitize=address -fsanitize=undefined -fno-sanitize=vptr
19 # a bit too pedantic to be run by default
20 #CXXFLAGS+= -Wpedantic -Wno-long-long -Wno-vla -Wno-variadic-macros
21 NUM_PROCS = @NUM_PROCS@
24 PICFLAGS+= -fPIC -DPIC
27 SOCKETLIBS:= @SOCKETLIBS@
31 # Dep generation - this only works for gnu stuff
38 # xsltproc for the man pages and documentation
39 XSLTPROC := @XSLTPROC@
42 DOCBOOK = $(XSLTPROC) --nonet --novalid --xinclude
43 DOCBOOK2TEXT = $(W3M) -o display_charset=UTF-8 -no-graph -T text/html \
46 # po4a for the man pages
52 MSGCOMM:=$(dir $(XGETTEXT))/msgcomm
53 MSGMERGE:=$(dir $(XGETTEXT))/msgmerge
56 # Various library checks
57 PTHREADLIB = @PTHREADLIB@
58 PYTHONLIB = @PYTHONLIB@
59 PYTHONVER = @PYTHONVER@
60 PYTHONPREFIX = @PYTHONPREFIX@
61 PYTHONEXECPREFIX = @PYTHONEXECPREFIX@
62 PYTHONINCLUDE = @PYTHONINCLUDE@
66 # Shim Headerfile control
67 HAVE_STATVFS = @HAVE_STATVFS@
68 HAVE_ZLIB = @HAVE_ZLIB@
70 HAVE_LZMA = @HAVE_LZMA@
71 NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
73 # Shared library things
75 ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu,$(HOST_OS))),0)
76 SONAME_MAGIC=-Wl,-soname -Wl,
79 # Do not know how to create shared libraries here.