configure.ac: quote CXXFLAGS

CXXCLAGS needs to be quote, as otherwise the test could fail on some
CXXFLAGS like '-mfpmath=sse,387'

test: syntax error: `-mfpmath=sse,387' unexpected

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2024-01-13 21:33:28 +01:00
parent 47d2a3aa00
commit 6c2d102544
+1 -1
View File
@@ -8,7 +8,7 @@ AC_CONFIG_AUX_DIR([build])
AC_CONFIG_MACRO_DIR([m4])
AC_GNU_SOURCE
if test -z $CXXFLAGS; then
if test -z "${CXXFLAGS}"; then
CXXFLAGS="-fpic -Wall -Wno-unused-function -Wextra -g -O2"
fi
AC_PROG_CXX([g++-6 g++-5 g++-4.9 g++-4.8 g++])