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

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Thu Mar 20 20:27:10 EDT 2008


Author: matju
Date: Thu Mar 20 20:27:09 2008
New Revision: 3268

Log:
added libnetpbm detection

Modified:
    trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Thu Mar 20 20:27:09 2008
@@ -245,7 +245,6 @@
 $CFLAGS += " -I."
 $C_INCLUDE_PATH.unshift "."
 
-
 for var in [:$C_INCLUDE_PATH, :$LIBRARY_PATH, :$LD_LIBRARY_PATH] do
 	LOG.puts "#{var}: #{eval(var.to_s).inspect}"
 end
@@ -504,6 +503,19 @@
 		"
 	}
 	uses_o ["format/aalib.o"]
+}
+Feature.add {
+	tag :netpbm
+	name "NetPBM 10 Library"
+	uses_so ["-lnetpbm"]
+	uses_h ["pam.h"]
+	test proc {
+		c_test "
+		#include#
+		int main () {return pm_init==0;}
+		"
+	}
+	uses_o ["format/netpbm.o"]
 }
 Feature.add {
 	tag :jpeg



More information about the Gridflow-cvs mailing list