ncurses compiled without libtool produces shared libraries with version
*.so.5.7. Compiled with libtool, shared libraries have version *.so.5.0.7.
libtool --mode-link -version-info 5:7 makes this.
Existing projects, especially when libtool is optionally, should use
-version-number instead of -version-info (see libtool documentation).
So, when replacing all occurences of version-info by version-number, shared
libraries get version *.so.5.7.0, wich is compatible with same version
compiled without libtool.
Patch sources with the following sed:
sed -i s/version-info/version-number/ aclocal.m4 c++/Makefile.in configure
mk-1st.awk