* include/cln/version.h.in, src/base/verion.cc: New files.
* configure.in: Generate include/cln/version.h.
* cln.m4: Rewrote it. Check result of cln-config without compiling.
Do cross-check library version and header version information.
* configure.in: ...used here.
* include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
* include/cln/types.h: ...used here.
* autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
I am too lazy for a detailed discussion of all the changes.
Many identifiers got their `cl_' stripped off. Ok, this is a
clumpsy CVS log-entry. Promise: more will soon go into the
file ChangeLog. I apologize for the inconvenience. :-(
New macros.
- configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
CL_VERSION_PATCHLEVEL): New definitions.
- autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
- src/Makefile.in, configure.in: release-variables renamed from
CLN_* to CL_*.
- configure.in: default to build both shared and static library
(i.e. default to the most common behaviour).
- Wrote a check to see if libgmp can be used.
- Added libtool interface versioning (-version-info) for the library.
- Added libtool inter-library dependency for -lgmp. (Libtool should care
if this works on the current platform.)