summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2018-06-02 20:50:36 +0200
committerLuboš Luňák <l.lunak@collabora.com>2018-06-02 20:51:51 +0200
commit7e83b2d3b52fda5c1535e85f76c096c3ee627b1e (patch)
tree8b4d76e5cc294e435aacca482bfe43a2bd3bc6e2 /configure.ac
parentbe13ca094dac91545a879905a34adb5fdb23afe9 (diff)
avoid configure warning about <codecvt> not usable by preprocessor
Change-Id: I710579f343eab38f576311bd15d931e5521105b2
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 09cadec75714..b52bba7332c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9689,8 +9689,8 @@ else
else
SYSTEM_LIBNUMBERTEXT=
AC_LANG_PUSH([C++])
- save_CXXFLAGS=$CXXFLAGS
- CXXFLAGS="$CXXFLAGS $CXXFLAGS_CXX11"
+ save_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $CXXFLAGS_CXX11"
AC_CHECK_HEADERS([codecvt regex])
AS_IF([test "x$ac_cv_header_codecvt" != xyes -o "x$ac_cv_header_regex" != xyes],
[ ENABLE_LIBNUMBERTEXT=''
@@ -9698,7 +9698,7 @@ else
AC_MSG_WARN([No system-provided libnumbertext or codecvt/regex C++11 headers (min. libstdc++ 4.9).
Enable libnumbertext fallback (missing number to number name conversion).])
])
- CXXFLAGS=$save_CXXFLAGS
+ CPPFLAGS=$save_CPPFLAGS
AC_LANG_POP([C++])
fi
if test "$ENABLE_LIBNUMBERTEXT" = TRUE; then