summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-20 22:11:10 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-20 22:12:47 +0100
commit54b434b1b5055f934230fe04fad35b01642b8488 (patch)
treeadfaa55b25f34b24170b4f979290202a5b0a8271 /configure.ac
parent420c7379fb96a188459690a634d0fede55721183 (diff)
valgrind: make running PID 1 in valgrind useful
Since valgrind only generates useful output on exit() (rather than exec()) we need to explicitly exit when valgrind is detected.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index bb196f5414..7794541964 100644
--- a/configure.ac
+++ b/configure.ac
@@ -838,7 +838,7 @@ AC_DEFINE_UNQUOTED(TELINIT, ["$TELINIT"], [Path to telinit])
AC_SUBST(TELINIT)
-AC_CHECK_HEADERS_ONCE([valgrind/memcheck.h])
+AC_CHECK_HEADERS_ONCE([valgrind/memcheck.h valgrind/valgrind.h])
# ------------------------------------------------------------------------------
have_myhostname=no