build: Remove execinfo.h check
authorDaniel Stone <daniels@collabora.com>
Sat, 21 Jul 2018 10:58:41 +0000 (11:58 +0100)
committerDaniel Stone <daniels@collabora.com>
Thu, 26 Jul 2018 15:21:46 +0000 (16:21 +0100)
The check for the execinfo.h header is only advisory; the build will not
fail if it is not present, and set HAVE_EXECINFO_H if it is. The check
was added in commit bc3e020475e ("build: Add declaration checks to check for
required syscall flags") with no obvious use or reasoning.

Remove the no-op check.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
configure.ac

index 81cf407..8c2fb82 100644 (file)
@@ -109,7 +109,6 @@ if test "x$enable_libraries" = "xyes"; then
        AC_CHECK_DECL(CLOCK_MONOTONIC,[],
                      [AC_MSG_ERROR("CLOCK_MONOTONIC is needed to compile wayland libraries")],
                      [[#include <time.h>]])
-       AC_CHECK_HEADERS([execinfo.h])
 fi
 
 PKG_CHECK_MODULES(EXPAT, [expat], [],