Index: build.xml
===================================================================
--- build.xml	(revision 333079)
+++ build.xml	(working copy)
@@ -732,7 +732,7 @@
     <echo message="${hyphenation.message}"/>
   </target>
 
-  <target name="junit-layout-standard" depends="junit-compile" description="Runs FOP's standard JUnit layout tests">
+  <target name="junit-layout-standard" depends="junit-compile" description="Runs FOP's standard JUnit layout tests" if="junit.present">
     <echo message="Running standard layout engine tests"/>
     <mkdir dir="${build.dir}/test-reports/fop"/>
     <junit haltonerror="no" fork="${junit.fork}" errorproperty="fop.junit.error" failureproperty="fop.junit.failure">
