diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2018-04-27 21:30:41 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-04-27 21:30:41 +0300 |
commit | b76c7a02ab8393d2602351ef61908aa5d32d44d9 (patch) | |
tree | 6a5211527afd48f89717e4962f65a189f241feda /configure.ac | |
parent | fee6fea7b4bc48061d4509afdfcb15b6f7ce11ce (diff) | |
download | bdwgc-b76c7a02ab8393d2602351ef61908aa5d32d44d9.tar.gz |
Remove unused HAVE_EXECINFO_H macro definition in configure
(fix of commit 978c9b90d)
* configure.ac (AC_CHECK_HEADERS(execinfo.h)): Replace with
AC_CHECK_HEADER.
* configure.ac [!ac_cv_header_execinfo_h] (GC_MISSING_EXECINFO_H): Move
AC_DEFINE to action-if-not-found argument of AC_CHECK_HEADER.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 0112e0c0..fb7e7935 100644 --- a/configure.ac +++ b/configure.ac @@ -464,10 +464,8 @@ esac AM_CONDITIONAL(AVOID_CPP_LIB,test $avoid_cpp_lib = yes) # Check for various headers. -AC_CHECK_HEADERS([execinfo.h]) -if test "$ac_cv_header_execinfo_h" != "yes"; then - AC_DEFINE([GC_MISSING_EXECINFO_H], [1], [Missing execinfo.h header]) -fi +AC_CHECK_HEADER([execinfo.h], [], + [ AC_DEFINE([GC_MISSING_EXECINFO_H], [1], [Missing execinfo.h header]) ]) # extra LD Flags which are required for targets case "${host}" in |