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 /configure.ac | |
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 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index aedbb32..8db281d 100644 --- a/configure.ac +++ b/configure.ac @@ -164,7 +164,7 @@ if test "x$need_cmocka" = "xyes"; then PKG_CHECK_MODULES(CMOCKA, [cmocka], [], [cmocka_missing="yes"]) fi -AC_CHECK_HEADERS([execinfo.h], [execinfo_found=yes]) +AC_CHECK_HEADERS([execinfo.h]) ##### produce summary on dependencies ##### @@ -223,7 +223,6 @@ fi AM_CONDITIONAL([WITHOUT_LZO], [test "x$need_lzo" != "xyes"]) AM_CONDITIONAL([WITHOUT_XATTR], [test "x$need_xattr" != "xyes"]) -AM_CONDITIONAL([HAVE_EXECINFO], [test "x$execinfo_found" == "xyes"]) AC_CHECK_SIZEOF([off_t]) AC_CHECK_SIZEOF([loff_t]) |