From f17433cc4d1054dbae8002a1995e0b632e26124a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Fri, 7 Oct 2011 21:02:06 +0200
Subject: Remove system natpmp and libminiupnp checking completely.


diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 448bdbd..a7b3c78 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -313,25 +313,25 @@ conf.Finish()
 
 # LibMiniUPnPc
 if env["experimental"] :
-	libminiupnpc_conf_env = conf_env.Clone()
-	conf = Configure(libminiupnpc_conf_env)
-	if conf.CheckCHeader("miniupnpc.h") and conf.CheckLib(env["libminiupnpc_libname"]) :
-		print "NOT IMPLEMENTED YET"
-	else :
-		env["LIBMINIUPNPC_BUNDLED"] = 1
-	conf.Finish()
+	#libminiupnpc_conf_env = conf_env.Clone()
+	#conf = Configure(libminiupnpc_conf_env)
+	#if conf.CheckCHeader("miniupnpc.h") and conf.CheckLib(env["libminiupnpc_libname"]) :
+	#	print "NOT IMPLEMENTED YET"
+	#else :
+	env["LIBMINIUPNPC_BUNDLED"] = 1
+	#conf.Finish()
 else :
 	env["LIBMINIUPNPC_FLAGS"] = {}
 
 # LibNATPMP
 if env["experimental"] :
-	libnatpmp_conf_env = conf_env.Clone()
-	conf = Configure(libnatpmp_conf_env)
-	if conf.CheckCHeader("natpmp.h") and conf.CheckLib(env["libnatpmp_libname"]) :
-		print "NOT IMPLEMENTED YET"
-	else :
-		env["LIBNATPMP_BUNDLED"] = 1
-	conf.Finish()
+	#libnatpmp_conf_env = conf_env.Clone()
+	#conf = Configure(libnatpmp_conf_env)
+	#if conf.CheckCHeader("natpmp.h") and conf.CheckLib(env["libnatpmp_libname"]) :
+	#	print "NOT IMPLEMENTED YET"
+	#else :
+	env["LIBNATPMP_BUNDLED"] = 1
+	#conf.Finish()
 else :
 	env["LIBNATPMP_FLAGS"] = {}
 
-- 
cgit v0.10.2-6-g49f6