autoconf: detect ctf-tools and add ctf to libafs 80/12680/8
authorMarcio Barbosa <mbarbosa@sinenomine.net>
Mon, 5 Feb 2018 21:16:17 +0000 (21:16 +0000)
committerBenjamin Kaduk <kaduk@mit.edu>
Tue, 6 Feb 2018 04:31:18 +0000 (23:31 -0500)
commit88cb536f99dc58fdbeb9fa6c47c26774241a0cb6
treeaa0eb748c4347932816cb7a2c9ee60271ffe49e2
parentc7c71d2429cf685f3ffad6b2e6d102d900edc197
autoconf: detect ctf-tools and add ctf to libafs

CTF is a reduced form of debug information similar to DWARF and stab. It
describes types and function prototypes. The principal objective of the
format is to shrink the data size as much as possible so that it could
be included in a production environment. MDB, DTrace, and other tools
use CTF debug information to read and display structures correctly.

This commit introduces a new configure option called --with-ctf-tools.
This option can be used to specify an alternative path where the tools
can be found. If the path is not provided, the tools will be searched
in a set of default directories (including $PATH). The CTF debugging
information will only be included if the corresponding --enable-debug /
--enable-debug-kernel is specified.

Note: at the moment, the Solaris kernel module is the only module
benefited by this commit.

Change-Id: If0a584377652a573dd1846eae30d42697af398d0
Reviewed-on: https://gerrit.openafs.org/12680
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
INSTALL
acinclude.m4
src/cf/ctf-tools.m4 [new file with mode: 0644]
src/cf/summary.m4
src/config/Makefile.config.in
src/libafs/MakefileProto.SOLARIS.in