environment.mak.in 2.3 KB

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