configury: create installation dir before writing to it.

* Makefile.am (install-scripts-local): Don't forget to make the
installation target directory before writing to it.
* NO-THANKS: Update.
Reported by Allan McRae

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
libtool: don't eliminate duplications in $postdeps and $predeps on OS/2

* build-aux/ltmain.h (libtool_validate_options): Add *os2* to the list.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
libtool: support to link against static libraries on OS/2.

* m4/libtool.m4 (_LT_COMPILER_PIC): Set lt_prog_compiler_static to
$wl-static.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
ltdl: OS/2 uses other APIs to load a DLL than LoadLibrary() on Windows.

* m4/ltdl.m4: Remove os2* from a list for loadlibrary.la.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
libtool: there is no need to relink DLLs on OS/2.

* build-aux/ltmain.in (func_mode_link) <*-os2*>: need_relink=no.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
libtool: set lt_cv_deplibs_check_method to pass_all on OS/2.

* m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Same as the title.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
libtool: support -Zxxx options used on OS/2.

* build-aux/ltmain.in (func_mode_link): Add -Z* case, treating
them specially on os2 only.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
libtool: fix DLL creation/installation/uninstallation on OS/2.

OS/2 can only load a DLL with a base name of 8 characters or
less. Also, on OS/2 don't install or uninstall using a link.
* build-aux/ltmain.in: Do not strip an import lib.
* m4/libtool.m4: Set variables to fix DLL creation, installation
and uninstallation.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
libtool: add -os2dllname option.

On OS/2, if there are many DLLs whose prefix is the same and
very long, the resulting DLLs are overwritten. Provide a new
option to force a DLL name.
* build-aux/ltmain.in (func_mode_help): Add a description for
-os2dllname.
(func_mode_link): Add -os2dllname.
* doc/libtool.texi: Document it.
* NEWS: Update.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
libtool: support -export-symbols and -export-symbols-regex on OS/2.

* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
<*-os2*>: Set archive_expsym_cmds.
* NEWS: Update.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
libtool: support versioning on OS/2.

* build-aux/ltmain.in (func_mode_link) <*-os2*>: Set major and
versuffix.
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <*-os2*>: Set
version_type to windows. Add a version information to soname_spec.
* NEWS: Update.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
bootstrap: sync with upsteram.

* gl/build-aux/bootstrap.in: Sync with upstream.
* bootstrap: Regenerate.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>