diff --git a/ChangeLog b/ChangeLog index 64548af..34c0f55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/SConstruct b/SConstruct index ecaf855..1fd962b 100644 --- a/SConstruct +++ b/SConstruct @@ -2,7 +2,7 @@ import os # init Scons -EnsureSConsVersion(1,0) +EnsureSConsVersion(1,1) EnsurePythonVersion(2,2) # set defaults @@ -79,7 +79,8 @@ conf = Configure(env,{'checkForCCOption':checkForCCOption, 'checkForUserSysconfdir':checkForUserSysconfdir, '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