Silence deprecation warnings.

Required because libdbi-0.9 emits them when using libdbi-0.8 API.
This commit is contained in:
John Ralls 2015-12-01 16:40:31 -08:00
parent 039a4336e2
commit 29138bc793

View File

@ -1558,6 +1558,9 @@ AC_LANG([C++])
AX_CHECK_COMPILE_FLAG([-Wno-deprecated-register], AX_CHECK_COMPILE_FLAG([-Wno-deprecated-register],
[AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-unused -Wno-deprecated-register"], [AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-unused -Wno-deprecated-register"],
[AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-unused"], [-Werror]) [AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-unused"], [-Werror])
AX_CHECK_COMPILE_FLAG([-Wno-deprecated-declarations],
[AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-deprecated-declarations"],
[AM_CXXFLAGS="${AM_CXXFLAGS}"], [-Werror])
AC_LANG([C]) AC_LANG([C])
AC_MSG_CHECKING(what extra warning flags to pass to the C compiler) AC_MSG_CHECKING(what extra warning flags to pass to the C compiler)