Commit 35a4ed33 authored by Geoff Simmons's avatar Geoff Simmons

Revert "Workaround: build for Varnish >=5.2.0, when _Static_assert is defined."

This reverts commit 35e21c5f.

No longer needed since the fix for Varnish issue 2449.
parent 35e21c5f
...@@ -130,24 +130,6 @@ if test "x$enable_debugging" != "xno"; then ...@@ -130,24 +130,6 @@ if test "x$enable_debugging" != "xno"; then
AC_LANG_POP() AC_LANG_POP()
fi fi
# Varnish since 5.2.0 depends on AC_DEFINE(STATIC_ASSERT)
save_LIBS="${LIBS}"
LIBS=""
AC_CACHE_CHECK([for _Static_assert],
[ac_cv_static_assert],
[AC_RUN_IFELSE(
[AC_LANG_PROGRAM([[
_Static_assert(1 == sizeof(char), "didn't work");
]],[[
]])],
[ac_cv_static_assert=yes],
[ac_cv_static_assert=no])
])
if test "$ac_cv_static_assert" = yes; then
AC_DEFINE([STATIC_ASSERT], [1], [Define if _Static_assert is availabel])
fi
LIBS="${save_LIBS}"
AC_CONFIG_FILES([ AC_CONFIG_FILES([
Makefile Makefile
src/Makefile src/Makefile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment