When building annobin and annocheck from the sources there are a few configure options available to customise the build:
--with-debuginfoddebuginfod is a web service that indexes ELF/DWARF debugging resources by build-id and serves them over HTTP.
By default the annocheck program will be built and linked
with the debuginfod client library libdebuginfod if it is
present at build time. The --with-debuginfod configure
option can be used to force the linking against the library even if
the run-time debuginfod program cannot be found.
Alternatively the --without debuginfod can be used to force
annobin to be built without libdebuginfod support, even if it
is present on the build system.
debuginfod is packaged with elfutils, starting with version 0.178. You can get the latest version from ’https://sourceware.org/elfutils/’.
--with-gmp=PATHThe --with-gmp=PATH option can be used to specify an alternative path to the gmp libraries, if necessary.
--without-libelfThe annocheck program uses libelf to read ELF binaries. By
default the configure system will detect if the library is installed
and if not, then it will disable the building of annocheck
and the running of the tests. (Since they use annocheck).
This behaviour can be overridden by the --without-libelf
option which forces the build to assume that libelf is absent even if
it would normally be detected.
--without-testsDisable running the testsuite after building the various binaries.
--with-clang-plugin=noDisable the building of the annobin plugin for the Clang compiler.
--without-clang-pluginAn alias for --with-clang-plugin=no
--with-clang-plugin=yesEnable the building of the annobin plugin for the Clang compiler. Fails if this is not possible.
--with-clang-plugin=autoEnable the building of the annobin plugin for the Clang compiler. Does not fail if this is not possible, instead the plugin is just not built. This is the default setting for the --with-clang-plugin option.
--with-llvm-plugin=noDisable the building of the annobin plugin for the LLVM compiler backend.
--without-llvm-pluginAn alias for --with-llvm-plugin=no
--with-llvm-plugin=yesEnable the building of the annobin plugin for the LLVM compiler backend. Fails if this is not possible.
The LLVM plugin is separate from the Clang plugin and can be used with any language that uses LLVM as a backend compiler.
--with-llvm-plugin=autoEnable the building of the annobin plugin for the LLVM compiler backend. Does not fail if this is not possible, instead the plugin is just not built. This is the default setting for the --with-llvm-plugin option.
--without-gcc-pluginDo not build the gcc plugin.
--without-docsDo not build the documentation.
--without-annocheckDo not build the annocheck tool.
--enable-maintainer-modeThis enables the regeneration of the Makefile and
configure files when building the annobin sources.
Also note that there is a script in the top level source directory called regenerate-configure-and-makefiles.sh which can be used to rebuild the configure and Makefile.in files, should something change.