added quadmath.h check to configure.ac

This commit is contained in:
2020-11-15 10:32:34 +00:00
parent 656e0150a9
commit 6b094588d5
3 changed files with 9 additions and 5 deletions

9
configure vendored
View File

@ -14323,12 +14323,13 @@ fi
done
for ac_header in libunwind.h
for ac_header in libunwind.h quadmath.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
if test "x$ac_cv_header_libunwind_h" = xyes; then :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBUNWIND_H 1
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi