RUBY_CHECK_HEADER didn't define HAVE_{header-file} (#10876)
--with-gmp is not working at all because HAVE_GMP_H was missing since 18eaf0be90. [Bug #20515] bug: https://bugs.ruby-lang.org/issues/20515 follow-up: https://bugs.ruby-lang.org/issues/20494 follow-up: 18eaf0be905e3e251423b42d6f4e56b7cae1bc3b follow-up: https://github.com/ruby/ruby/pull/10805
This commit is contained in:
parent
22e4eeda65
commit
1ab7c412d2
@ -3,6 +3,6 @@ AC_DEFUN([RUBY_CHECK_HEADER],
|
|||||||
[# RUBY_CHECK_HEADER($@)
|
[# RUBY_CHECK_HEADER($@)
|
||||||
save_CPPFLAGS="$CPPFLAGS"
|
save_CPPFLAGS="$CPPFLAGS"
|
||||||
CPPFLAGS="$CPPFLAGS m4_if([$5], [], [$INCFLAGS], [$5])"
|
CPPFLAGS="$CPPFLAGS m4_if([$5], [], [$INCFLAGS], [$5])"
|
||||||
AC_CHECK_HEADER([$1], [$2], [$3], [$4])
|
AC_CHECK_HEADERS([$1], [$2], [$3], [$4])
|
||||||
CPPFLAGS="$save_CPPFLAGS"
|
CPPFLAGS="$save_CPPFLAGS"
|
||||||
unset save_CPPFLAGS])
|
unset save_CPPFLAGS])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user