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@ -Wall -Wextra
13 CXXFLAGS+= -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations
14 CXXFLAGS+= -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=noreturn
15 # a bit too pedantic to be run by default
16 #CXXFLAGS+= -Wpedantic -Wno-long-long -Wno-vla -Wno-variadic-macros
17 NUM_PROCS = @NUM_PROCS@
20 PICFLAGS+= -fPIC -DPIC
23 SOCKETLIBS:= @SOCKETLIBS@
27 # Dep generation - this only works for gnu stuff
34 # xsltproc for the man pages and documentation
35 XSLTPROC := @XSLTPROC@
38 DOCBOOK = $(XSLTPROC) --nonet --novalid --xinclude
39 DOCBOOK2TEXT = $(W3M) -o display_charset=UTF-8 -no-graph -T text/html \
42 # po4a for the man pages
48 MSGCOMM:=$(dir $(XGETTEXT))/msgcomm
49 MSGMERGE:=$(dir $(XGETTEXT))/msgmerge
52 # Various library checks
53 PTHREADLIB = @PTHREADLIB@
54 PYTHONLIB = @PYTHONLIB@
55 PYTHONVER = @PYTHONVER@
56 PYTHONPREFIX = @PYTHONPREFIX@
57 PYTHONEXECPREFIX = @PYTHONEXECPREFIX@
58 PYTHONINCLUDE = @PYTHONINCLUDE@
62 # Shim Headerfile control
63 HAVE_STATVFS = @HAVE_STATVFS@
64 HAVE_ZLIB = @HAVE_ZLIB@
66 HAVE_LZMA = @HAVE_LZMA@
67 NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
69 # Shared library things
71 ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu,$(HOST_OS))),0)
72 SONAME_MAGIC=-Wl,-soname -Wl,
75 # Do not know how to create shared libraries here.