check if CC compiler works

This commit is contained in:
Radim Kolar 2009-09-15 17:52:58 +02:00
parent e9c22df0fd
commit a453dbe5e1
2 changed files with 5 additions and 2 deletions

View File

@ -34,6 +34,8 @@ Version NEXT
from .fspsites files.
fpwd command from setup.sh now prints site name instead of ip
address if possible.
SCons now check if CC compiler works. We need SCons 1.1 or greater
for building FSP now.
Version 2.8.1b25 - 10 Sep 2009
GNU autotools build system was entirely replaced by SCons

View File

@ -2,7 +2,7 @@
import os
# init Scons
EnsureSConsVersion(1,0)
EnsureSConsVersion(1,1)
EnsurePythonVersion(2,2)
# set defaults
@ -80,6 +80,7 @@ conf = Configure(env,{'checkForCCOption':checkForCCOption,
'checkForBuildingClients':checkForBuildingClients,
'checkForSGMLFMT':checkForSGMLFMT
})
if not conf.CheckCC(): Exit(1)
# check for CC options
for option in Split("""
-Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow