dungeon_crawler

diff prototype/configure @ 30:938a6a155c94

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 27 Aug 2012 04:03:22 +0300
parents f5fb04fe12cd
children 508540dae114
line diff
     1.1 --- a/prototype/configure	Sun Aug 26 03:39:32 2012 +0300
     1.2 +++ b/prototype/configure	Mon Aug 27 04:03:22 2012 +0300
     1.3 @@ -34,14 +34,14 @@
     1.4  
     1.5  verstr=`$CXX --version`
     1.6  if echo "$verstr" | grep LLVM; then
     1.7 -	if echo | $CXX -c -x c++ -std=c++11 - >/dev/null 2>&1; then
     1.8 +	if echo | $CXX -c -x c++ -o /dev/null -std=c++11 - >/dev/null 2>&1; then
     1.9  		cxxflags11='-std=c++11 -stdlib=libc++'
    1.10  		ldflags11='-stdlib=libc++'
    1.11  	fi
    1.12  else
    1.13 -	if echo | $CXX -c -x c++ -std=c++11 - >/dev/null 2>&1; then
    1.14 +	if echo | $CXX -c -x c++ -o /dev/null -std=c++11 - >/dev/null 2>&1; then
    1.15  		cxxflags11='-std=c++11'
    1.16 -	elif echo | $CXX -c -x c++ -std=c++0x - >/dev/null 2>&1; then
    1.17 +	elif echo | $CXX -c -x c++ -o /dev/null -std=c++0x - >/dev/null 2>&1; then
    1.18  		cxxflags11='-std=c++0x'
    1.19  	fi
    1.20  fi