[ ! -f src/third_party/zstd/Makefile ] || $(MAKE) -C src/third_party/zstd/lib clean
[ ! -f src/third_party/libb2/Makefile ] || $(MAKE) -C src/third_party/libb2 clean
-src/third_party/snprintf.o: CFLAGS += @no_implicit_fallthrough_warning@
libzstd_options = \
ZSTD_LEGACY_SUPPORT=0 \
AC_SUBST(extra_sources)
AC_SUBST(include_dev_mk)
AC_SUBST(more_warnings)
-AC_SUBST(no_implicit_fallthrough_warning)
m4_include(m4/feature_macros.m4)
m4_include(m4/ax_cxx_compile_stdcxx.m4)
echo "extern const char CCACHE_VERSION@<:@@:>@; const char CCACHE_VERSION@<:@@:>@ = \"unknown\";" >src/version.cpp
fi
-dnl Check for -Wno-implicit-fallthrough
-AC_MSG_CHECKING([whether C compiler supports -Wno-implicit-fallthrough])
-saved_cflags=$CFLAGS
-CFLAGS=-Wno-implicit-fallthrough
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
- [AC_MSG_RESULT([yes])]
- [no_implicit_fallthrough_warning="-Wno-implicit-fallthrough"],
- [AC_MSG_RESULT([no])]
-)
-CFLAGS=$saved_cflags
-
AC_CONFIG_FILES([Makefile])
AC_OUTPUT