~c-icap/c-icap/trunk

Viewing all changes in revision 908.

  • Committer: chtsanti
  • Date: 2018-01-05 17:16:20 UTC
  • Revision ID: svn-v4:950cb5d8-81e4-40ab-8cb8-c719d5138fe1:c-icap-server/trunk:1320
Refactor autoconf/automake build system

Fixes to:
  - Allow build on different directory than the sources directory. eg
       # mkdir /tmp/c-icap-build
       # cd /tmp/c-icap-build
       # /path/to/c-icap/sources/configure
       # make
  - Add the -enable-rpath option to configure script to allow build c-icap
    using the -rpath option for the libraries does not exist to standard
    directories.
    The c-icap itself always uses the -rpath option for the location where     
    the icapapi library is installed. The libtool adds the rpath in this case,
    and looks that there is not any option to disable it.
  - Fix BerkeleyDB detection
  - It should fix build problems reported for the cases where one or 
    more libraries are not installed under the standard directories.

Still maybe there are problems with external libraries and their depedencies,
but looks impossible to find a way to safelly cover all of the cases.
In the worst case the users can always use the LD_LIBRARY_PATH with
configure and make.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: