]> git.proxmox.com Git - mirror_frr.git/commit
build: improve backtrace support/detection
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 1 Aug 2013 07:43:36 +0000 (07:43 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 1 Apr 2014 15:20:44 +0000 (17:20 +0200)
commit8c99b4c11e69e4cf0ac03c551764cccc0a3fe35a
tree930f0e123c239adf23553dfb3d5b5e4f83ab0e5e
parentaf514777f4327932a3e84f83d79e941967503e15
build: improve backtrace support/detection

libexecinfo is used to provide backtrace() on *BSD.  The API is
compatible with glibc's, so this is a "free" improvement.

To improve configure behaviour, the following configure options are
modified/introduced:

* --enable-gcc-rdynamic now defaults to "on" if the compiler is gcc.
  (I sadly wasn't able to find any documentation on the availability of
  this option for llvm, even though at least the version I have
  installed does support it)

* --enable-backtrace has been added.  This behaves as off/auto/on
  switch, i.e. giving either {dis,en}able will result in the requested
  behaviour (or an error if support wasn't found)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
INSTALL.quagga.txt
configure.ac
doc/install.texi