Enforce C++ 2003 standard (with GNU extensions), to silence deprecation warnings

issue#70
Sébastien Villemot 2018-05-09 17:31:30 +02:00
parent 912261e5fc
commit 4fce93eea9
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ esac
# Use C++ for testing headers
AC_LANG([C++])
CXXFLAGS="$CXXFLAGS -Wall -Wno-parentheses"
CXXFLAGS="$CXXFLAGS -std=gnu++03 -Wall -Wno-parentheses"
# If default 'ar' is not available, try to find one with a host prefix (see ticket #145)
AC_CHECK_PROGS([AR], [ar ${host_alias}-ar])