Guile 2: drop custom kvtable in favour of standard hashtable

The kvtable code is causing segfaults in guile 2 and I don't see any
obvious advantages to using this custom code of the standard hash-table
functions

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22654 57a11ea4-9604-0410-9ed3-97b8803252fd
Drop obsolete custom hash-fold definition.

hash-fold has been a built-in function at least since guile 1.6.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22665 57a11ea4-9604-0410-9ed3-97b8803252fd

Conflicts:
	src/scm/main.scm
Drop obsolete custom string-join definition.

string-join has been a built-in function at least since guile 1.8.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22666 57a11ea4-9604-0410-9ed3-97b8803252fd
[PATCH 4/4] Bug #615168: N_ in the root module

* src/app-utils/app-utils.scm:
* src/app-utils/c-interface.scm: Make N_ available to all of Gnucash. A
  hack, but a correct hack that permits the Scheme code to be compiled.

Patch by Andy Wingo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20438 57a11ea4-9604-0410-9ed3-97b8803252fd
Drop unused custom gettext macro

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22667 57a11ea4-9604-0410-9ed3-97b8803252fd
Drop syntax export of N_ and move related bits together

N_ gets defined in the root module, so it's automatically available
everywhere. Exporting it generated a a warning in guile 2.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22668 57a11ea4-9604-0410-9ed3-97b8803252fd
Fix double definition of gnc-build-dotgnucash-path

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22669 57a11ea4-9604-0410-9ed3-97b8803252fd
[PATCH 1/4] Bug #615168: Remove spurious (require 'hash-table) instances

Patch by Andy Wingo.

There is nothing that the slib hash-table module provides that was used
in any of these files; they all used Guile's stock hash tables.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20435 57a11ea4-9604-0410-9ed3-97b8803252fd
[PATCH 2/4] Bug #615168: Remove instances of (use-modules (ice-9 slib))

There are no more instances of (require ...), so Guile's slib support is
no longer needed.

Patch by Andy Wingo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20436 57a11ea4-9604-0410-9ed3-97b8803252fd
[PATCH 3/4] Bug #615168: Remove configure.in check for slib

Gnucash no longer requires slib.

Patch by Andy Wingo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20437 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug #615168: N_ in the root module

Fix variable not found crasher.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20440 57a11ea4-9604-0410-9ed3-97b8803252fd
Require guile 1.8.5 and remove all 1.6.x specific conditions

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20441 57a11ea4-9604-0410-9ed3-97b8803252fd
Replace guile configure check by PKG_CHECK_MODULE so that it also works in cross-compiling.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20585 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug #655901 - Fix build with guile 2.0
Patch by Petr Gajdos
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21108 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug #655901 - Fix build with guile 2.0

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21464 57a11ea4-9604-0410-9ed3-97b8803252fd
Check for guile-2.0 as well as guile-1.8.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21534 57a11ea4-9604-0410-9ed3-97b8803252fd
Set GUILE_INCS as an output variable.
Patch by Bill Nottingham

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21535 57a11ea4-9604-0410-9ed3-97b8803252fd
Set maxdepth debug option only in guile 1.8 and before
This parameter no longer exists in guile 2.0

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21538 57a11ea4-9604-0410-9ed3-97b8803252fd
[Testing] Suppress the useless Guile deprecated warning.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21671 57a11ea4-9604-0410-9ed3-97b8803252fd
Prefer guile 2.0 over guile 1.8