@@ -66,7 +66,6 @@ AC_PATH_TOOL(RANLIB, ranlib)
6666AC_PATH_TOOL ( STRIP , strip )
6767AC_PATH_TOOL ( GCOV , gcov )
6868AC_PATH_PROG ( LCOV , lcov )
69- AC_PATH_PROG ( JAVA , java )
7069AC_PATH_PROGS ( [ PYTHON] , [ python3 python2.7 python2 python] )
7170AC_PATH_PROG ( GENHTML , genhtml )
7271AC_PATH_PROG ( [ GIT] , [ git] )
@@ -113,16 +112,6 @@ AC_ARG_ENABLE(bench,
113112 [ use_bench=$enableval] ,
114113 [ use_bench=yes] )
115114
116- AC_ARG_WITH ( [ comparison-tool] ,
117- AS_HELP_STRING ( [ --with-comparison-tool] ,[ path to java comparison tool (requires --enable-tests)] ) ,
118- [ use_comparison_tool=$withval] ,
119- [ use_comparison_tool=no] )
120-
121- AC_ARG_ENABLE ( [ comparison-tool-reorg-tests] ,
122- AS_HELP_STRING ( [ --enable-comparison-tool-reorg-tests] ,[ enable expensive reorg tests in the comparison tool (default no)] ) ,
123- [ use_comparison_tool_reorg_tests=$enableval] ,
124- [ use_comparison_tool_reorg_tests=no] )
125-
126115AC_ARG_ENABLE ( [ extended-rpc-tests] ,
127116 AS_HELP_STRING ( [ --enable-extended-rpc-tests] ,[ enable expensive RPC tests when using lcov (default no)] ) ,
128117 [ use_extended_rpc_tests=$enableval] ,
@@ -382,19 +371,6 @@ if test x$use_pkgconfig = xyes; then
382371 ] )
383372fi
384373
385- if test x$use_comparison_tool != xno; then
386- AC_SUBST ( JAVA_COMPARISON_TOOL , $use_comparison_tool )
387- fi
388-
389- if test x$use_comparison_tool_reorg_tests != xno; then
390- if test x$use_comparison_tool = x; then
391- AC_MSG_ERROR ( "comparison tool reorg tests but comparison tool was not specified" )
392- fi
393- AC_SUBST ( COMPARISON_TOOL_REORG_TESTS , 1 )
394- else
395- AC_SUBST ( COMPARISON_TOOL_REORG_TESTS , 0 )
396- fi
397-
398374if test x$use_extended_rpc_tests != xno; then
399375 AC_SUBST ( EXTENDED_RPC_TESTS , - extended )
400376fi
@@ -406,18 +382,12 @@ if test x$use_lcov = xyes; then
406382 if test x$GCOV = x; then
407383 AC_MSG_ERROR ( "lcov testing requested but gcov not found" )
408384 fi
409- if test x$JAVA = x; then
410- AC_MSG_ERROR ( "lcov testing requested but java not found" )
411- fi
412385 if test x$PYTHON = x; then
413386 AC_MSG_ERROR ( "lcov testing requested but python not found" )
414387 fi
415388 if test x$GENHTML = x; then
416389 AC_MSG_ERROR ( "lcov testing requested but genhtml not found" )
417390 fi
418- if test x$use_comparison_tool = x; then
419- AC_MSG_ERROR ( "lcov testing requested but comparison tool was not specified" )
420- fi
421391 LCOV="$LCOV --gcov-tool=$GCOV"
422392 AX_CHECK_COMPILE_FLAG ( [ --coverage] ,[ CXXFLAGS="$CXXFLAGS --coverage"] ,
423393 [ AC_MSG_ERROR ( "lcov testing requested but -- coverage flag does not work" ) ] )
@@ -1036,8 +1006,6 @@ AM_CONDITIONAL([ENABLE_QT_TESTS],[test x$BUILD_TEST_QT = xyes])
10361006AM_CONDITIONAL([ ENABLE_BENCH] ,[ test x$use_bench = xyes] )
10371007AM_CONDITIONAL([ USE_QRCODE] , [ test x$use_qr = xyes] )
10381008AM_CONDITIONAL([ USE_LCOV] ,[ test x$use_lcov = xyes] )
1039- AM_CONDITIONAL([ USE_COMPARISON_TOOL] ,[ test x$use_comparison_tool != xno] )
1040- AM_CONDITIONAL([ USE_COMPARISON_TOOL_REORG_TESTS] ,[ test x$use_comparison_tool_reorg_test != xno] )
10411009AM_CONDITIONAL([ GLIBC_BACK_COMPAT] ,[ test x$use_glibc_compat = xyes] )
10421010AM_CONDITIONAL([ HARDEN] ,[ test x$use_hardening = xyes] )
10431011
0 commit comments