diff options
| author | Remko Tronçon <git@el-tramo.be> | 2009-08-11 17:07:26 (GMT) | 
|---|---|---|
| committer | Remko Tronçon <git@el-tramo.be> | 2009-08-11 17:07:26 (GMT) | 
| commit | c1dd2a64376ee4e7828ca4cb34c3a9a38034073e (patch) | |
| tree | d06b3cdad5eb11205661e03d0b60da89ec7cc392 | |
| parent | d721b7a3d6314731c120cf77722572cb28570992 (diff) | |
| download | swift-c1dd2a64376ee4e7828ca4cb34c3a9a38034073e.zip swift-c1dd2a64376ee4e7828ca4cb34c3a9a38034073e.tar.bz2 | |
Make OpenSSL required for Swift.
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | 3rdParty/Expat/SConscript | 4 | ||||
| -rw-r--r-- | 3rdParty/LibIDN/SConscript | 4 | ||||
| -rw-r--r-- | BuildTools/SCons/Tools/.gitignore | 1 | ||||
| -rw-r--r-- | Swift/SConscript | 6 | 
5 files changed, 11 insertions, 5 deletions
| @@ -1,4 +1,5 @@  .DS_Store +*.pyc  *.dep  *.gcov  *.gcda diff --git a/3rdParty/Expat/SConscript b/3rdParty/Expat/SConscript index cf7b684..8220f01 100644 --- a/3rdParty/Expat/SConscript +++ b/3rdParty/Expat/SConscript @@ -1,4 +1,4 @@ -Import("env") +Import(["env", "conf_env")  env["EXPAT_FLAGS"] = {  		"CPPDEFINES": ["XML_STATIC"], @@ -11,7 +11,7 @@ myenv = env.Clone()  myenv.Append(CPPDEFINES = ["XML_STATIC", "HAVE_EXPAT_CONFIG_H"])  myenv.Append(CPPPATH = [".", "src"]) -conf = Configure(myenv) +conf = Configure(conf_env)  if conf.CheckFunc('memmove') :  	myenv.Append(CPPDEFINES = ["HAVE_MEMMOVE"])  conf.Finish() diff --git a/3rdParty/LibIDN/SConscript b/3rdParty/LibIDN/SConscript index 5853a85..fa8f870 100644 --- a/3rdParty/LibIDN/SConscript +++ b/3rdParty/LibIDN/SConscript @@ -18,13 +18,13 @@ if not conf.CheckFunc('strcasecmp') :  	if conf.CheckFunc("stricmp") :  		myenv.Append(CPPDEFINES = [("strcasecmp", "stricmp")])  	else : -		print "Cannot find strcasecmp() or stricmp()" +		print "Error: Cannot find strcasecmp() or stricmp()"  		Exit(1)  if not conf.CheckFunc('strncasecmp') :  	if conf.CheckFunc("strnicmp") :  		myenv.Append(CPPDEFINES = [("strncasecmp", "strnicmp")])  	else : -		print "Cannot find strncasecmp() or strnicmp()" +		print "Error: Cannot find strncasecmp() or strnicmp()"  		Exit(1)  conf.Finish() diff --git a/BuildTools/SCons/Tools/.gitignore b/BuildTools/SCons/Tools/.gitignore deleted file mode 100644 index 0d20b64..0000000 --- a/BuildTools/SCons/Tools/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.pyc diff --git a/Swift/SConscript b/Swift/SConscript index d563e09..c0b14bf 100644 --- a/Swift/SConscript +++ b/Swift/SConscript @@ -1,2 +1,8 @@ +Import("env") + +if not env.get("HAVE_OPENSSL", 0) : +  print "Error: Swift requires OpenSSL support, and OpenSSL was not found." +  Exit(1) +  SConscript("Controllers/SConscript")  SConscript("QtUI/SConscript") | 
 Swift
 Swift