From 022ce62b9f6706749feed3939335e46bb0146978 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 21 Jun 2017 10:27:47 +0200 Subject: 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 --- tests/fs-tests/Makemodule.am | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tests/fs-tests') 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 -- cgit v1.2.3