------------------------------------------------------------ revno: 12642 revision-id: squid3@treenet.co.nz-20131024153919-mt4av4aihdfgwlc0 parent: squid3@treenet.co.nz-20131024153623-eg6r3fkvv5tttmlc fixes bug(s): http://bugs.squid-cache.org/show_bug.cgi?id=3836 author: Francesco Chemolli committer: Amos Jeffries branch nick: 3.3 timestamp: Thu 2013-10-24 09:39:19 -0600 message: Bug 3836: Fix issues with automake 1.13 and later and make check ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20131024153919-mt4av4aihdfgwlc0 # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # testament_sha1: ed69ce823891e47989311402c257fc88af491a5a # timestamp: 2013-10-24 15:47:01 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # base_revision_id: squid3@treenet.co.nz-20131024153623-\ # eg6r3fkvv5tttmlc # # Begin patch === modified file 'configure.ac' --- configure.ac 2013-09-11 01:39:13 +0000 +++ configure.ac 2013-10-24 15:39:19 +0000 @@ -820,13 +820,16 @@ "x$squid_disk_module_candidates_Blocking" != "xyes"; then AC_MSG_ERROR([Storage module Rock requires IpcIo or Blocking DiskIO module]) fi - STORE_TESTS="$STORE_TESTS tests/testRock$EXEEXT" + squid_do_build_rock=true ;; ufs) - STORE_TESTS="$STORE_TESTS tests/testUfs$EXEEXT" + squid_do_build_ufs=true + ;; esac done - + +AM_CONDITIONAL(HAVE_FS_UFS,[test "x$squid_do_build_ufs" = "xtrue" ]) +AM_CONDITIONAL(HAVE_FS_ROCK,[test "x$squid_do_build_rock" = "xtrue" ]) dnl hack: need to define those even if not used in the build system to dnl make sure that global FS objects are linked to the squid binary. AH_TEMPLATE(HAVE_FS_UFS, "Define to 1 if ufs filesystem module is build") === modified file 'src/Makefile.am' --- src/Makefile.am 2013-05-19 03:17:59 +0000 +++ src/Makefile.am 2013-10-24 15:39:19 +0000 @@ -1089,6 +1089,10 @@ tests/testStatHist \ $(STORE_TESTS) +if HAVE_FS_UFS +check_PROGRAMS += tests/testUfs +endif + ## NP: required to run the above list. check_PROGRAMS only builds the binaries... TESTS += $(check_PROGRAMS)