check if CC compiler works
This commit is contained in:
parent
e9c22df0fd
commit
a453dbe5e1
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user