Following up on r1637826, make autogen.sh find helper files where
newer libtool versions put them by default; and make the whole
helper copying more robust and easier to debug.

* autogen.sh: Check the default locations for Libtool and Autoconf
   helper macros and scripts. Log copying of config.guess and config.sub.
   Make error messages somewhat more useful.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1640862 13f79535-47bb-0310-9956-ffa450edef68
* autogen.sh: Fix typo; remove double slash from constructed path.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1640873 13f79535-47bb-0310-9956-ffa450edef68
Add FS config option to control log-addressing feature for created
repository.

* subversion/include/svn_fs.h
  (SVN_FS_CONFIG_FSFS_LOG_ADDRESSING): New.
* subversion/libsvn_fs_fs/fs_fs.c
  (svn_fs_fs__create): Handle SVN_FS_CONFIG_FSFS_LOG_ADDRESSING option.

* subversion/tests/libsvn_fs/fs-test.c
  (test_fsfs_config_opts): New. Test creating FSFS repositories with default
   and custom settings.
  (test_funcs): Add test_fsfs_config_opts test to test list.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1640915 13f79535-47bb-0310-9956-ffa450edef68
Regression test for txdelta fix r1640832.

* subversion/tests/cmdline/svnadmin_tests.py
  (load_txdelta): New test.
  (test_list): Add new test.

* subversion/tests/cmdline/svnadmin_tests_data/load_txdelta.dump.gz: New.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1640920 13f79535-47bb-0310-9956-ffa450edef68
Add a cast to avoid a warning and potential bug and/or crash.

This is a temporary, minimal change; will solve this properly
in a follow-up commit.

* subversion/libsvn_fs_fs/verify.c (compare_p2l_to_l2p_index):
   Cast entry->item.number to long to match the printf format,
   like other similar cases in this file.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1640966 13f79535-47bb-0310-9956-ffa450edef68
Following up on r1637184, simplify a couple of functions and their calling
sites.  As we now do not support mixed-mode addressing for FSFS7 revisions,
the svn_fs_fs__use_log_addressing() function no longer needs to know a
revision number.  That, however, is just a part of the story, because this
function had a certain number of callers.  Some of the callers only required
a revision number in order to pass it to the svn_fs_fs__use_log_addressing()
function, and these revision number arguments can be safely dropped.

So we walk up the stack, remove the unused arguments and update the function
callers.

* subversion/libsvn_fs_fs/cached_data.c
  (use_block_read): Drop the unused REVISION argument.
  (get_node_revision_body, create_rep_state_body, read_delta_window,
   svn_fs_fs__get_changes): Update the use_block_read() function callers.

* subversion/libsvn_fs_fs/pack.h
  (svn_fs_fs__order_dir_entries): Drop the unused REVISION argument.

* subversion/libsvn_fs_fs/pack.c
  (svn_fs_fs__order_dir_entries): Same here.

* subversion/libsvn_fs_fs/transaction.c
  (write_final_changed_path_info): Drop the unused NEW_REV argument.
  (commit_body): Update the call to write_final_changed_path_info().
  (allocate_item_index): Drop the unused FINAL_REVISION argument.
  (rep_write_contents_close): Update the call to allocate_item_index().
  (write_container_rep, write_container_delta_rep): Update the calls to the
   allocate_item_index() function.  Drop the FINAL_REVISION arguments
   as they are no longer being used anywhere within these functions.
  (write_final_rev): Update the calls to write_container_delta_rep(),
   write_container_rep() and allocate_item_index() functions.

* subversion/libsvn_fs_fs/tree.c
  (fs_dir_optimal_order): Update the svn_fs_fs__order_dir_entries() caller.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1641013 13f79535-47bb-0310-9956-ffa450edef68
Fix the macosx slave to make tests work on the 1.8 branch.

* tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh:
   Add --disable-optimize to configure options when building 1.8.x.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1641159 13f79535-47bb-0310-9956-ffa450edef68
On second thoughts, just don't use --enable-optimize with 1.8.x builds
on the macosx build slave. Without the option, we still get the
default -O2; with that option, we get -O0, which I consider horrible.

* tools/buildbot/slaves/svn-x64-macosx/svnbuild.sh:
   Only tell configure to --enable-optimize when we're building
   branches newer than 1.8.x.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1641161 13f79535-47bb-0310-9956-ffa450edef68
Replicate r1641161 for the svn-sparc-solaris buildslave.

* tools/buildbot/slaves/svn-sparc-solaris/svnbuild.sh:
   Only tell configure to --enable-optimize when building
   branches newer than 1.8.x.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1641163 13f79535-47bb-0310-9956-ffa450edef68