Thrift-2922: TRIAL is used with Python tests but not tested accordingly
Client: py
Patch: jfarrell

Updated configure.ac to require trial for py.twisted tests
diff --git a/configure.ac b/configure.ac
index 83189c3..bc257a3 100755
--- a/configure.ac
+++ b/configure.ac
@@ -260,15 +260,14 @@
 
 AX_THRIFT_LIB(python, [Python], yes)
 if test "$with_python" = "yes";  then
+  AC_PATH_PROG([TRIAL], [trial])
   AM_PATH_PYTHON(2.4,, :)
-  if test "x$PYTHON" != "x" && test "x$PYTHON" != "x:" ; then
+  if test -n "$TRIAL" && test "x$PYTHON" != "x" && test "x$PYTHON" != "x:" ; then
     have_python="yes"
   fi
 fi
 AM_CONDITIONAL(WITH_PYTHON, [test "$have_python" = "yes"])
 
-AC_PATH_PROG([TRIAL], [trial])
-
 AX_THRIFT_LIB(perl, [Perl], yes)
 if test "$with_perl" = "yes"; then
   AC_PATH_PROG([PERL], [perl])