diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-06-21 10:27:47 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2017-06-28 10:27:19 +0200 |
commit | 022ce62b9f6706749feed3939335e46bb0146978 (patch) | |
tree | f26c6bc8e936810aa5b47f0420a9868b94d4867b /lib | |
parent | 1a3e3af3216348559320ec1039480278b2f3a582 (diff) |
Use autoconf header detection correctly for libmissing
AC_CHECK_HEADERS already makes sure our config header contains a
HAVE_$FOO_H macro if a header was found. There is no need to
awkwardly set our own Automake conditionals and check for it all
over the place in the Automake files.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/execinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/execinfo.c b/lib/execinfo.c index a39df83..a59f6a9 100644 --- a/lib/execinfo.c +++ b/lib/execinfo.c @@ -1,6 +1,6 @@ #include "libmissing.h" -#ifndef HAVE_EXECINFO +#ifndef HAVE_EXECINFO_H #define PROGRAM_NAME "libmissing" #include "common.h" @@ -22,4 +22,4 @@ void backtrace_symbols_fd(void *const *buffer, int size, int fd) { errmsg("backtrace_symbols_fd() is not implemented"); } -#endif /* !HAVE_EXECINFO */ +#endif /* !HAVE_EXECINFO_H */ |