diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 69: Rename --gl, --glesv2 configuration options to --enable-gl, --enable-glesv2.

Message ID 20110721123634.17019.21640.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

alexandros.frantzis@linaro.org July 21, 2011, 12:36 p.m. UTC
------------------------------------------------------------
revno: 69
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
timestamp: Tue 2011-01-25 02:43:15 +0200
message:
  Rename --gl,--glesv2 configuration options to --enable-gl, --enable-glesv2.
modified:
  wscript


--
lp:glmark2
https://code.launchpad.net/~glmark2-dev/glmark2/trunk

You are subscribed to branch lp:glmark2.
To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'wscript'
--- wscript	2010-07-28 15:02:36 +0000
+++ wscript	2011-01-25 00:43:15 +0000
@@ -21,15 +21,15 @@ 
 	opt.tool_options('compiler_cc')
 	opt.tool_options('compiler_cxx')
 
-	opt.add_option('--gl', action='store_true', dest = 'gl', default = False, help='build using OpenGL 2.0')
-	opt.add_option('--glesv2', action='store_true', dest = 'glesv2', default = False, help='build using OpenGL ES 2.0')
+	opt.add_option('--enable-gl', action='store_true', dest = 'gl', default = False, help='build using OpenGL 2.0')
+	opt.add_option('--enable-glesv2', action='store_true', dest = 'glesv2', default = False, help='build using OpenGL ES 2.0')
 	opt.add_option('--no-debug', action='store_false', dest = 'debug', default = True, help='disable compiler debug information')
 	opt.add_option('--no-opt', action='store_false', dest = 'opt', default = True, help='disable compiler optimizations')
 	opt.add_option('--data-path', action='store', dest = 'data_path', help='the path to install the data to')
 
 def configure(conf):
 	if not Options.options.gl and not Options.options.glesv2:
-		conf.fatal("You must configure using at least one of --gl, --glesv2")
+		conf.fatal("You must configure using at least one of --enable-gl, --enable-glesv2")
 
 	conf.check_tool('compiler_cc')
 	conf.check_tool('compiler_cxx')