Add libroken as its own library
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 29 Oct 2010 11:10:16 +0000 (12:10 +0100)
committerDerrick Brashear <shadow@dementia.org>
Mon, 1 Nov 2010 02:00:23 +0000 (19:00 -0700)
commit5e47d03ed37b87da72f4c1f8fca7a5efff6b0bb3
tree43b46e28dc5168429e6423a56c4eb87698263bef
parentb5d0c34fcdff6bde79cf0e498044e8a200052084
Add libroken as its own library

Include libroken as a library in its own right, so that the whole
of the code can benefit from it. This change purely adds libroken
for the Unix build system. It doesn't replace those pieces of
libroken in hcrypto or util, or enable it for Windows.

There is also the option of using a system-install libroken, if one is
found at configure time.
  *) If --with-libroken=yes, or is not supplied than a system library
     will be used if suitable. Otherwise, we'll use the internal
     libroken
  *) If --with-libroken=/path/to/installation then the libroken at
     that path will be used. If there is no libroken there, or it
     is not suitable, an error will be returned
  *) If --with-libroken=internal then the internal libroken is used,
     regardless of what is present on the system.

We deliberately do not provide installed headers for the internal
libroken. If other applications wish to make use of libroken, then
they should use the Heimdal one, rather than piggybacking on ours.

Change-Id: Iff01e1e17090404cc8e4783108ae8a8784170918
Reviewed-on: http://gerrit.openafs.org/3191
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
12 files changed:
Makefile.in
acinclude.m4
configure.ac
src/cf/c-attribute.m4 [new file with mode: 0644]
src/cf/roken.m4 [new file with mode: 0644]
src/config/Makefile.config.in
src/crypto/hcrypto/Makefile.in
src/crypto/hcrypto/roken.h
src/roken/.gitignore [new file with mode: 0644]
src/roken/Makefile.in [new file with mode: 0644]
src/roken/config.h [new file with mode: 0644]
src/roken/librokenafs.map [new file with mode: 0644]