mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Autotools: restore deprecation warning
-Wno-deprecated-declarations was added at 314a121c
.
This commit is contained in:
parent
557975a8de
commit
a73f2e6eb6
@ -373,12 +373,7 @@ if test x$GXX = xyes; then
|
||||
fi
|
||||
|
||||
LYX_CXX_CXX11
|
||||
if test $lyx_use_cxx11 = yes; then
|
||||
if test x$GXX = xyes; then
|
||||
dnl We still use auto_ptr, which is obsoleted. Shut off the warnings.
|
||||
AM_CXXFLAGS="$AM_CXXFLAGS -Wno-deprecated-declarations"
|
||||
fi
|
||||
else
|
||||
if test $lyx_use_cxx11 = no; then
|
||||
AC_ERROR([A C++11 compatible compiler is required])
|
||||
fi
|
||||
LYX_CXX_USE_REGEX([$cxx11_flags])
|
||||
|
Loading…
Reference in New Issue
Block a user