]> git.ipfire.org Git - thirdparty/lldpd.git/commit - configure.ac
When running on valgrind, don't chroot or drop privileges
authorVincent Bernat <bernat@luffy.cx>
Mon, 30 Apr 2012 23:50:03 +0000 (01:50 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 1 May 2012 00:38:30 +0000 (02:38 +0200)
commit396cfdfee8b3c5f5207b488d159b8677605a453f
tree7a71f2816ec33caf7dacf7c12e0e0d35b69e4ecd
parentce05de5422c899b4729c8ac8f1024ae36c716cd1
When running on valgrind, don't chroot or drop privileges

Valgrind documentation says:

  You are encouraged to copy the valgrind/*.h headers into your
  project's include directory, so your program doesn't have a
  compile-time dependency on Valgrind being installed. The Valgrind
  headers, unlike most of the rest of the code, are under a BSD-style
  license so you may include them without worrying about license
  incompatibility.

I don't like copying headers around. Therefore, there is an autoconf
check for valgrind headers.
configure.ac
src/lldpd.h
src/priv.c