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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sat Nov 7 22:31:24 EST 2009


Author: matju
Date: Sat Nov  7 22:31:24 2009
New Revision: 4771

Log:
remove silly amounts of redundant -L/opt/gnome/lib and so on

Modified:
    trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sat Nov  7 22:31:24 2009
@@ -150,7 +150,7 @@
 		command = ["/usr/bin/env", $conf[:CC]] +
 			$CFLAGS.split(/ /).reject{|x| x.length==0 }
 		if not launch2 log,*(command+options+[sourcename,
-			 "-o", binname, *link])
+			 "-o", binname, *link.uniq])
 			pat = Regexp.new("^"+Regexp.quote(sourcename)+":\\d+: ")
 			errs = log.split("\n").find_all {|l| pat =~ l }
 			raise "gcc compilation error" if not errs or
@@ -710,7 +710,7 @@
 	end
 	feature.action.call if feature.action
 	$conf[:FEATURES][feature.tag] = feature
-	$conf[:LDSOFLAGS].concat(feature.uses_so||[])
+	$conf[:LDSOFLAGS].concat(feature.uses_so||[]).uniq!
 	$conf[:OBJS].concat(feature.uses_o||[])
 	$conf[:OPTIONS].concat(feature.options||[])
 	for k,v in feature.defines||{} do



More information about the Gridflow-cvs mailing list