m4/ is used by auto* tools to store (mostly libtool)
generated files. Without it being present, autoreconf&Co
does not work, and with it present, git mentions untracked
files. Fix both.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commits replaces the handwritten makefile with automake+libtool.
There is some hackery needed for the LD_PRELOAD shared library,
but apart from that there is nothing special and it is a large gain in
portability and standardization.
The spec file is modified as little as is needed to properly build
the RPMs.