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