if configured with '--enable-lgpl' see COPYING.LGPL
else read COPYING.MIT and the README
