1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

configure.ac: removed unnecessary pushdef/popdef

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-02-06 08:00:17 +00:00
parent 422cf1095f
commit 427b2ac250

View file

@ -1263,13 +1263,11 @@ AC_CACHE_CHECK([appropriate way to simulate va_copy], rb_cv_va_copy, [dnl
RUBY_CHECK_VA_COPY([va_copy via memcpy],
[memcpy(&(dst), &(src), sizeof(va_list))])
])
if test "x$rb_cv_va_copy" = x; then
AS_IF([test "x$rb_cv_va_copy" = x], [
AC_ERROR([no way to simulate va_copy])
else
m4_pushdef([macro], AS_TR_CPP(HAVE_$1))
AC_DEFINE_UNQUOTED(macro($rb_cv_va_copy))
m4_popdef([macro])
fi
], [
AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$rb_cv_va_copy))
])
AC_CACHE_CHECK([for alignas() syntax], rb_cv_have_alignas, [
rb_cv_have_alignas=no