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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Thu Oct 15 17:08:51 EDT 2009


Author: matju
Date: Thu Oct 15 17:08:50 2009
New Revision: 4215

Log:
test for mescalinum

Modified:
    trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Thu Oct 15 17:08:50 2009
@@ -565,9 +565,6 @@
 	uses_o ["optional/gem.o"]
 	options ["HAVE_GEM","HAVE_HOLDNAME"]
 	test proc {
-		# hack
-		$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,9 +576,6 @@
 	uses_o ["optional/gem.o"]
 	options ["HAVE_GEM"]
 	test proc {
-		# hack
-		$C_INCLUDE_PATH.unshift $conf[:DEFINES][ :GEM_INCLUDE]
-		$CFLAGS += " -I"+$conf[:DEFINES][ :GEM_INCLUDE]
 		c_test %`
 			#include "Base/GemBase.h"
 			int main () {return 0;}`}}
@@ -653,7 +647,9 @@
 	when "--help"
 		usage; exit 0
 	when "--gem-include"
-		 $conf[:DEFINES][ :GEM_INCLUDE]=ARGV.shift
+		$conf[:DEFINES][ :GEM_INCLUDE]=ARGV.shift
+		$C_INCLUDE_PATH.unshift $conf[:DEFINES][ :GEM_INCLUDE]
+		$CFLAGS += " -I"+$conf[:DEFINES][ :GEM_INCLUDE]
 	when "--use-compiler"
 		$conf[:CC] = ARGV.shift
 	when "--use-compiler-option"



More information about the Gridflow-cvs mailing list