check if CC compiler works
This commit is contained in:
parent
e9c22df0fd
commit
a453dbe5e1
|
|
@ -34,6 +34,8 @@ Version NEXT
|
||||||
from .fspsites files.
|
from .fspsites files.
|
||||||
fpwd command from setup.sh now prints site name instead of ip
|
fpwd command from setup.sh now prints site name instead of ip
|
||||||
address if possible.
|
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
|
Version 2.8.1b25 - 10 Sep 2009
|
||||||
GNU autotools build system was entirely replaced by SCons
|
GNU autotools build system was entirely replaced by SCons
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
import os
|
import os
|
||||||
# init Scons
|
# init Scons
|
||||||
EnsureSConsVersion(1,0)
|
EnsureSConsVersion(1,1)
|
||||||
EnsurePythonVersion(2,2)
|
EnsurePythonVersion(2,2)
|
||||||
|
|
||||||
# set defaults
|
# set defaults
|
||||||
|
|
@ -79,7 +79,8 @@ conf = Configure(env,{'checkForCCOption':checkForCCOption,
|
||||||
'checkForUserSysconfdir':checkForUserSysconfdir,
|
'checkForUserSysconfdir':checkForUserSysconfdir,
|
||||||
'checkForBuildingClients':checkForBuildingClients,
|
'checkForBuildingClients':checkForBuildingClients,
|
||||||
'checkForSGMLFMT':checkForSGMLFMT
|
'checkForSGMLFMT':checkForSGMLFMT
|
||||||
})
|
})
|
||||||
|
if not conf.CheckCC(): Exit(1)
|
||||||
# check for CC options
|
# check for CC options
|
||||||
for option in Split("""
|
for option in Split("""
|
||||||
-Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow
|
-Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user