Anonymous avatar Anonymous committed 3a02552

config cleanup

Comments (0)

Files changed (3)

 # BREAK = change breaks existing code
 # BUG   = fixed a bug that was crashing
 
-Mar 22, 2002
+Mar 29, 2002
 	fixed key.set_mods() (thanks rubysdl)
 	rework setup scripts for 1.0 release
+	relaxed sdl version checking
 
 Mar 21, 2001
 	initial support for compiling on mac
                 data_files.append(p)
 
 
-#clean up the list of extensions
-for e in extensions[:]:
-    if e.name.startswith('COPYLIB_'):
-        extensions.remove(e) #don't compile the COPYLIBs, just clean them
-    else:
-        e.name = 'pygame.' + e.name #prepend package name on modules
-
-
 #we can detect the presence of python dependencies, remove any unfound
 pythondeps = {'surfarray': ['Numeric']}
 for e in extensions[:]:
             extensions.remove(e)
 
 
+#clean up the list of extensions
+for e in extensions[:]:
+    if e.name.startswith('COPYLIB_'):
+        extensions.remove(e) #don't compile the COPYLIBs, just clean them
+    else:
+        e.name = 'pygame.' + e.name #prepend package name on modules
+
+
 
 #data installer with improved intelligence over distutils
 #data files are copied into the project directory instead
 	SDL_VERSION(&compiled);
 	linked = SDL_Linked_Version();
 
+	/*only check the major and minor version numbers.
+	  we will relax any differences in 'patch' version.*/
+	 
 	if(compiled.major != linked->major ||
-				compiled.minor != linked->minor ||
-				compiled.patch != linked->patch)
+				compiled.minor != linked->minor)
 	{
 		char err[1024];
 		sprintf(err, "SDL compiled with version %d.%d.%d, linked to %d.%d.%d",
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.