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 /tests | |
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 'tests')
-rw-r--r-- | tests/fs-tests/Makemodule.am | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/fs-tests/Makemodule.am b/tests/fs-tests/Makemodule.am index d3acaa5..2eae860 100644 --- a/tests/fs-tests/Makemodule.am +++ b/tests/fs-tests/Makemodule.am @@ -1,12 +1,7 @@ integck_SOURCES = tests/fs-tests/integrity/integck.c -integck_LDADD = libubi.a +integck_LDADD = libubi.a libmissing.a integck_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/ubi-utils/include -if HAVE_EXECINFO -else -integck_LDADD += libmissing.a -endif - test_1_SOURCES = tests/fs-tests/simple/test_1.c tests/fs-tests/lib/tests.c test_1_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/tests/fs-tests/lib |