gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11904: don't look for wget or netca


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11904: don't look for wget or netcat unless testing is enabled.
Date: Thu, 04 Feb 2010 18:24:10 -0700
User-agent: Bazaar (2.0.2)

------------------------------------------------------------
revno: 11904
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Thu 2010-02-04 18:24:10 -0700
message:
  don't look for wget or netcat unless testing is enabled.
modified:
  configure.ac
=== modified file 'configure.ac'
--- a/configure.ac      2010-02-04 21:51:38 +0000
+++ b/configure.ac      2010-02-05 01:24:10 +0000
@@ -1795,15 +1795,17 @@
 AM_CONDITIONAL(ENABLE_RED5_TESTING, [ test x"$RED5_HOST" != x ])
 
 dnl The name might differ between systems.
+if test x"$testsuite" = x"yes"; then
 AC_PATH_PROGS(NETCAT, [nc netcat])
+AC_PATH_PROG(WGET, wget)
+fi
 AM_CONDITIONAL(HAS_NETCAT, [ test x"$NETCAT" != x ])
-AC_PATH_PROG(WGET, wget)
 AM_CONDITIONAL(HAS_WGET, [ test x"$WGET" != x ])
 
 dnl
 dnl See if we can use the swfmill, mtasc, swfc and haxe based testsuites 
 dnl
-if test x$cross_compiling = xno; then
+if test x"$testsuite" = x"yes" -a x$cross_compiling = xno; then
   AC_PATH_PROG(AS3COMPILE, as3compile)
   AC_PATH_PROG(SWFC, swfc)
   AC_PATH_SWFMILL
@@ -3434,15 +3436,17 @@
   echo "     ${classlist}"
 fi
 
-if test x"$NETCAT" != x; then
+if test x"$testsuite" = x"yes"; then
+  if test x"$NETCAT" != x; then
     echo "        You have netcat installed, which is only used for testing"
-else
+  else
     echo "        Install netcat for networking test support"
-fi
-if test x"$WGET" != x; then
+  fi
+  if test x"$WGET" != x; then
     echo "        You have wget installed, which is only used for testing"
-else
+  else
     echo "        Install wget for networking test support"
+  fi
 fi
 
 if test x$cross_compiling = xyes; then


reply via email to

[Prev in Thread] Current Thread [Next in Thread]