I must fix libtool script and easiest way for me is just call "autoreconf -fiv" before execute configure.
I found that when I'm doing that configure script reports at the end unknown version like below
libgpg-error v1.37-unknown has been configured as follows: Revision: 0000000 (0) Platform: x86_64-redhat-linux-gnu
What needs to be done to not introduce that unknown sufix in version?