The elfutils configure script doesn't provide support for the standard GNU --{enable,disable}-{static,shared} options.
I found the makefile variable BUILD_STATIC, but it doesn't seem possible to build only static libraries; for example, in libelf there's no way to avoid building libelf.so. Also, in debuginfo/Makefile.am it never installs the libdebuginfod.a static library. I would really like to be able to build GDB with debuginfo support, but WITHOUT using a shared library for it and instead linking it statically. I can do this with a lot of hacking around to extract the uninstalled libdebuginfod.a and copying it into the right place, but it would be nice if elfutils provided first-class support for disabling shared libraries! Thanks for considering...