Log the arguments passed to ./configure
And show them in the output of pdns_server --version:
configure:
configure: Configuration summary
configure: =====================
configure:
configure: Configured with: --enable-unit-tests --with-modules=bind gsqlite3 --with-dynmodules=lmdb --with-system-polarssl --disable-dependency-tracking --enable-tsan CXXFLAGS=-O0 -Wall -ggdb
configure:
configure: Modules: bind gsqlite3
configure: Dynamic Modules: lmdb
configure:
configure: With ZeroMQ connector for remotebackend: no
configure:
configure: CC: gcc
configure: CXX: g++
configure: LD: /usr/bin/ld -m elf_x86_64
configure: CFLAGS: -fPIE -DPIE --param ssp-buffer-size=4
-fstack-protector -Wall -g -O2
configure: CPPFLAGS:
configure: CXXFLAGS: -fsanitize=thread -fPIE -DPIE --param
ssp-buffer-size=4 -fstack-protector -O0 -Wall -ggdb -std=gnu++11
configure: LDFLAGS: -Wl,-z -Wl,relro -Wl,-z -Wl,now
configure:
configure: BOOST_CPPFLAGS:
configure:
configure: SQLite3 support: no
configure: Lua support: yes
configure: C++2011 support: yes
configure:
Feb 25 18:07:34 PowerDNS Authoritative Server
git-rec-3.7.0-180-g06ae3174df69+ (ruben@wodan) (C) 2001-2015 PowerDNS.COM BV
Feb 25 18:07:34 Using 64-bits mode. Built on
20150225173213 by ruben@wodan, gcc 5.0.0
20150217 (Red Hat 5.0.0-0.15).
Feb 25 18:07:34 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
Feb 25 18:07:34 Features: lua
Feb 25 18:07:34 Built-in modules: bind gsqlite3
Feb 25 18:07:34 Configured with: --enable-unit-tests --with-modules=bind gsqlite3 --with-dynmodules=lmdb --with-system-polarssl --disable-dependency-tracking --enable-tsan CXXFLAGS=-O0 -Wall -ggdb