--- glob2-0.9.1/SConstruct.orig	2007-09-10 00:17:39.000000000 +0200
+++ glob2-0.9.1/SConstruct	2007-09-12 14:43:50.000000000 +0200
@@ -3,6 +3,7 @@
     opts.Add("CXXFLAGS", "Manually add to the CXXFLAGS", "-g")
     opts.Add("LINKFLAGS", "Manually add to the LINKFLAGS", "")
     opts.Add("INSTALLDIR", "Installation Directory", "/usr/local/share")
+    opts.Add("DATA_DIR", "Data Directory", "/sw/share")
     opts.Add("BINDIR", "Binary Installation Directory", "/usr/local/bin")
     opts.Add(BoolOption("release", "Build for release", 0))
     opts.Add(BoolOption("mingw", "Build with mingw enabled if not auto-detected", 0))
@@ -29,7 +30,7 @@
     configfile = Configuration()
     configfile.add("PACKAGE", "Name of package", "\"glob2\"")
     configfile.add("PACKAGE_BUGREPORT", "Define to the address where bug reports for this package should be sent.", "\"glob2-devel@nongnu.org\"")
-    configfile.add("PACKAGE_DATA_DIR", "data directory", "\"" + env["INSTALLDIR"] + "\"")
+    configfile.add("PACKAGE_DATA_DIR", "data directory", "\"" + env["DATA_DIR"] + "\"")
     configfile.add("PACKAGE_SOURCE_DIR", "source directory", "\"" +env.Dir("#").abspath.replace("\\", "\\\\") + "\"")
     configfile.add("PACKAGE_NAME", "Define to the full name of this package.", "\"Globulation 2\"")
     configfile.add("PACKAGE_TARNAME", "Define to the one symbol short name of this package.", "\"glob2\"")
@@ -51,7 +52,7 @@
         Exit(1)
     if not conf.CheckLib('speex') or not conf.CheckCHeader('speex/speex.h'):
         print "Could not find libspeex or could not find 'speex/speex.h'"
-        Exit(1)
+        #Exit(1)
     if not conf.CheckLib('vorbisfile'):
         print "Could not find libvorbisfile to link against"
         Exit(1)
@@ -108,7 +109,7 @@
         gl_libraries.append("glu32")
     else:
         print "Could not find libGLU or glu32, or could not find GL/glu.h or OpenGL/glu.h"
-        Exit(1)
+        #Exit(1)
     
     if gl_libraries:
         configfile.add("HAVE_OPENGL ", "Defined when OpenGL support is present and compiled")
