Skip to content
Snippets Groups Projects
Commit 73498b53 authored by Christian Engwer's avatar Christian Engwer
Browse files

actually include a c++0x headers during AC_TRY_COMPILE

[[Imported from SVN: r6212]]
parent cb737d1b
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,8 @@ AC_DEFUN([GXX0X],[
ac_save_CXX="$CXX"
CXX="$CXX -std=c++0x"
HAVE_CXX0X=no
AC_TRY_COMPILE([],[],[HAVE_CXX0X=yes],[])
AC_TRY_COMPILE([#include <iostream>
#include <array>],[],[HAVE_CXX0X=yes],[])
if test "x$HAVE_CXX0X" == "xyes" ; then
CXXCPP="$CXXCPP -std=c++0x"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment