Commit 097a376e authored by Bernhard Reutner-Fischer's avatar Bernhard Reutner-Fischer Committed by Michal 'vorner' Vaner
Browse files

configure: tweak quoting in CXX_TRY_FLAG



Add proper quotes to be on the safe side.
Remove superfluous whitespace in AC_LINK_IFELSE clause while at it.
Signed-off-by: default avatarBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
parent c8739afa
......@@ -270,7 +270,7 @@ AC_DEFUN([BIND10_CXX_TRY_FLAG], [
bind10_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS $1"
AC_LINK_IFELSE([int main(void){ return 0;} ],
AC_LINK_IFELSE([int main(void){ return 0;}],
[bind10_cxx_flag=yes], [bind10_cxx_flag=no])
CXXFLAGS="$bind10_save_CXXFLAGS"
......@@ -292,7 +292,7 @@ CXXFLAGS="$CXXFLAGS -library=stlport4 -features=tmplife -features=tmplrefstatic"
MULTITHREADING_FLAG="-mt"
fi
BIND10_CXX_TRY_FLAG(-Wno-missing-field-initializers,
BIND10_CXX_TRY_FLAG([-Wno-missing-field-initializers],
[WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG="-Wno-missing-field-initializers"])
AC_SUBST(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment