[Gridflow-cvs] [svn] commit: r3780 - /trunk/configure

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Jun 4 13:26:39 EDT 2008


Author: matju
Date: Wed Jun  4 13:26:39 2008
New Revision: 3780

Log:
rename --gem-source to --gem-include

Modified:
    trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Wed Jun  4 13:26:39 2008
@@ -77,7 +77,7 @@
 	:OPTIONS => [],
 	:DEFINES => {
 		:CPU => nil,
-		:GEM_SOURCE => "../Gem/src",
+		:GEM_INCLUDE => "../Gem/src",
 	},
 	:CC => "g++",
 	:OBJS => [],
@@ -565,8 +565,8 @@
 	options ["HAVE_GEM","HAVE_HOLDNAME"]
 	test proc {
 		# hack
-		$C_INCLUDE_PATH.unshift $conf[:DEFINES][ :GEM_SOURCE]
-		$CFLAGS += " -I"+$conf[:DEFINES][ :GEM_SOURCE]
+		$C_INCLUDE_PATH.unshift $conf[:DEFINES][ :GEM_INCLUDE]
+		$CFLAGS += " -I"+$conf[:DEFINES][ :GEM_INCLUDE]
 		c_test %`
 			#include "Base/GemBase.h"
 			int main () {CPPExtern::m_holdname; return 0;}`}}
@@ -579,8 +579,8 @@
 	options ["HAVE_GEM"]
 	test proc {
 		# hack
-		$C_INCLUDE_PATH.unshift $conf[:DEFINES][ :GEM_SOURCE]
-		$CFLAGS += " -I"+$conf[:DEFINES][ :GEM_SOURCE]
+		$C_INCLUDE_PATH.unshift $conf[:DEFINES][ :GEM_INCLUDE]
+		$CFLAGS += " -I"+$conf[:DEFINES][ :GEM_INCLUDE]
 		c_test %`
 			#include "Base/GemBase.h"
 			int main () {return 0;}`}}
@@ -615,7 +615,7 @@
 	log << "usage: ./configure "
 	log << "[--use-compiler compiler] [--use-compiler-option option]* "
 	log << "[--use-cpu cpu] [--lite] [--debug]"
-	log << "[--gem-source directory]"
+	log << "[--gem-include directory]"
 	$features_h.keys.map {|k| k.to_s }.sort.each {|k| log << "[--no-#{k}] " }
 	$features_h.keys.map {|k| k.to_s }.sort.each {|k| log << "[--force-#{k}] " }
 	puts
@@ -651,8 +651,8 @@
 		$conf[:OPTIONS].push :HAVE_LITE
 	when "--help"
 		usage; exit 0
-	when "--gem-source"
-		 $conf[:DEFINES][ :GEM_SOURCE]=ARGV.shift
+	when "--gem-include"
+		 $conf[:DEFINES][ :GEM_INCLUDE]=ARGV.shift
 	when "--use-compiler"
 		$conf[:CC] = ARGV.shift
 	when "--use-compiler-option"



More information about the Gridflow-cvs mailing list