]>
Commit | Line | Data |
---|---|---|
d7bccc73 AL |
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. | |
3 | ||
80948457 | 4 | PACKAGE = @PACKAGE@ |
9179f697 | 5 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
1c46aec4 | 6 | PACKAGE_MAIL = @PACKAGE_MAIL@ |
80948457 | 7 | |
d7bccc73 AL |
8 | # C++ compiler options |
9 | CC = @CC@ | |
9d9d5e81 | 10 | CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT -D_FORTIFY_SOURCE=2 |
c3c77d09 DK |
11 | CXX = @CXX@ |
12 | CXXSTD = -std=c++11 | |
aa91826f | 13 | CXXFLAGS+= @CXXFLAGS@ -Wall -Wextra |
9d9d5e81 | 14 | CXXFLAGS+= -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations |
c3392a9f DK |
15 | CXXFLAGS+= -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef |
16 | # suggests methods which already have such an attribute | |
17 | #CXXFLAGS+= -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=noreturn | |
3d8232bf DK |
18 | # sanitize options to be enabled for testing |
19 | #CXXFLAGS+= -fsanitize=address -fsanitize=undefined -fno-sanitize=vptr | |
9d9d5e81 DK |
20 | # a bit too pedantic to be run by default |
21 | #CXXFLAGS+= -Wpedantic -Wno-long-long -Wno-vla -Wno-variadic-macros | |
f43579d1 | 22 | NUM_PROCS = @NUM_PROCS@ |
d7bccc73 AL |
23 | |
24 | # Linker stuff | |
25 | PICFLAGS+= -fPIC -DPIC | |
880e9be4 | 26 | LFLAGS+= @LDFLAGS@ |
a9975068 | 27 | LEFLAGS+= |
abb9b874 | 28 | SOCKETLIBS:= @SOCKETLIBS@ |
b819effd AL |
29 | AR:=@AR@ |
30 | RANLIB:=@RANLIB@ | |
d7bccc73 AL |
31 | |
32 | # Dep generation - this only works for gnu stuff | |
62c96834 | 33 | GCC3DEP = @GCC3DEP@ |
d7bccc73 AL |
34 | INLINEDEPFLAG = -MD |
35 | ||
3174e150 | 36 | DOXYGEN = @DOXYGEN@ |
a034d852 | 37 | W3M = @W3M@ |
3174e150 | 38 | |
a034d852 | 39 | # xsltproc for the man pages and documentation |
b01390ea DK |
40 | XSLTPROC := @XSLTPROC@ |
41 | ||
a034d852 GJ |
42 | # DocBook XML |
43 | DOCBOOK = $(XSLTPROC) --nonet --novalid --xinclude | |
44 | DOCBOOK2TEXT = $(W3M) -o display_charset=UTF-8 -no-graph -T text/html \ | |
45 | -cols 78 -dump | |
46 | ||
b01390ea DK |
47 | # po4a for the man pages |
48 | PO4A := @PO4A@ | |
b3d44315 | 49 | |
80948457 AL |
50 | # Gettext settings |
51 | GMSGFMT = @GMSGFMT@ | |
52 | XGETTEXT = @XGETTEXT@ | |
53 | MSGCOMM:=$(dir $(XGETTEXT))/msgcomm | |
54 | MSGMERGE:=$(dir $(XGETTEXT))/msgmerge | |
80948457 AL |
55 | BASH = @BASH@ |
56 | ||
d7bccc73 | 57 | # Various library checks |
e1b74f61 | 58 | PTHREADLIB = @PTHREADLIB@ |
b2e465d6 AL |
59 | PYTHONLIB = @PYTHONLIB@ |
60 | PYTHONVER = @PYTHONVER@ | |
61 | PYTHONPREFIX = @PYTHONPREFIX@ | |
62 | PYTHONEXECPREFIX = @PYTHONEXECPREFIX@ | |
63 | PYTHONINCLUDE = @PYTHONINCLUDE@ | |
c9569a1e | 64 | BDBLIB = @BDBLIB@ |
97af521f | 65 | INTLLIBS = @INTLLIBS@ |
51761e5e | 66 | |
101030ab | 67 | # Shim Headerfile control |
101030ab | 68 | HAVE_STATVFS = @HAVE_STATVFS@ |
c4997486 DK |
69 | HAVE_ZLIB = @HAVE_ZLIB@ |
70 | HAVE_BZ2 = @HAVE_BZ2@ | |
7f350a37 | 71 | HAVE_LZMA = @HAVE_LZMA@ |
e3fbd54c | 72 | HAVE_LZ4 = @HAVE_LZ4@ |
1cecba4d | 73 | NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@ |
70fbac25 AL |
74 | |
75 | # Shared library things | |
76 | HOST_OS = @host_os@ | |
0fbb494b | 77 | ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu,$(HOST_OS))),0) |
70fbac25 AL |
78 | SONAME_MAGIC=-Wl,-soname -Wl, |
79 | LFLAGS_SO= | |
b2e465d6 AL |
80 | else |
81 | # Do not know how to create shared libraries here. | |
f58a97d3 | 82 | ONLYSTATICLIBS = yes |
70fbac25 | 83 | endif |