Imported Upstream version 2.4.4 upstream/2.4.4
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 23 Dec 2021 06:48:30 +0000 (15:48 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 23 Dec 2021 06:48:30 +0000 (15:48 +0900)
64 files changed:
.serial
.tarball-version
.version
AUTHORS
ChangeLog
Makefile.am
Makefile.in
NEWS
README
THANKS
aclocal.m4
bootstrap
bootstrap.conf
build-aux/config.guess
build-aux/config.sub
build-aux/ltmain.in
build-aux/ltmain.sh
build-aux/texinfo.tex
cfg.mk
config-h.in
configure
configure.ac
doc/libtool.1
doc/libtool.info
doc/libtool.info-1
doc/libtool.info-2
doc/libtool.texi
doc/libtoolize.1
doc/notes.txt
doc/stamp-vti
doc/version.texi
libltdl/Makefile.am
libltdl/Makefile.in
libltdl/aclocal.m4
libltdl/config-h.in
libltdl/configure
libltdl/libltdl/lt__argz_.h [moved from libltdl/argz_.h with 100% similarity]
libltdl/libltdl/lt__glibc.h
libltdl/loaders/dlopen.c
libltdl/lt__argz.c [moved from libltdl/argz.c with 98% similarity]
libltdl/ltdl.mk
libtoolize.in
m4/libtool.m4
m4/ltargz.m4 [moved from m4/argz.m4 with 88% similarity]
m4/ltdl.m4
m4/ltoptions.m4
m4/ltversion.m4
tests/cmdline_wrap.at
tests/darwin.at
tests/demo.at
tests/depdemo.at
tests/deplibs-ident.at
tests/libtool.at
tests/libtoolize.at
tests/ltdl-api.at
tests/mdemo.at
tests/nonrecursive.at
tests/old-ltdl-iface.at
tests/package.m4
tests/tagdemo.at
tests/template.at
tests/testsuite
tests/testsuite.at
tests/versioning.at

diff --git a/.serial b/.serial
index 9cf7910..cf4f87a 100644 (file)
--- a/.serial
+++ b/.serial
@@ -1 +1 @@
-4105
+4151
index 35cee72..79a6144 100644 (file)
@@ -1 +1 @@
-2.4.3
+2.4.4
index 35cee72..79a6144 100644 (file)
--- a/.version
+++ b/.version
@@ -1 +1 @@
-2.4.3
+2.4.4
diff --git a/AUTHORS b/AUTHORS
index 91bdc36..55805ab 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
     Ossama Othman              ossama@debian.org
     Robert Boehne              rboehne@ricardo-us.com
     Scott James Remnant                scott@netsplit.com
+    Peter O'Gorman             peter@pogma.com
+    Ralf Wildenhues            Ralf.Wildenhues@gmx.de
 
 * GNU Libtool and libltdl are currently being cajoled, bullied,
   rewritten and otherwise dragged into the future by:
 
     Gary V. Vaughan            gary@gnu.org
     Bob Friesenhahn            bfriesen@simple.dallas.tx.us
-    Peter O'Gorman             peter@pogma.com
-    Ralf Wildenhues            Ralf.Wildenhues@gmx.de
 
 * The following people also enjoy write access under the given rules:
 
index 817ecdf..998bcda 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,345 @@
+2014-11-29  Gary V. Vaughan  <gary@gnu.org>
+
+       version 2.4.4
+       * NEWS: Record release date.
+
+       gnulib: sync with upstream.
+       * gnulib: sync with upstream.
+
+2014-11-29  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
+
+       libtool: optional filename-based shlib versioning on aix.
+       Support filename-based shared library versioning on AIX with the
+       lib.so library filename extension, which is used with runtime
+       linking only. Runtime linking is enabled by the -brtl linker
+       flag for executables and the -G linker flag for Shared Objects.
+       The behaviour is similar to Linux/SVR4 DT_SONAME, hence the name
+       "aix-soname=svr4".
+       * Makefile.am (TESTS_ENVIRONMENT): Pass with_aix_soname value
+       via lt_cv_with_aix_soname into testsuite.
+       * configure.ac: AC_SUBST with_aix_soname for testsuite.
+       * libltdl/loaders/dlopen.c (vm_open): Use RTLD_MEMBER flag for
+       dlopen when the filename does specify an archive member between
+       "()". Otherways, retry with appending LT_SHARED_LIB_MEMBER when
+       loading fails without but archive file seems to exist.
+       * m4/libtool.m4 (dynamic_linker): Describe configured shared
+       library versioning variant according to with_aix_soname and
+       runtime linking.
+       (soname_spec, library_names_spec, shlibpath_overrides_runpath)
+       (postinstall_cmds, postuninstall_cmds, hardcode_direct)
+       (hardcode_direct_absolute, no_undefined_flag)
+       (allow_undefined_flag): Set according to with_aix_soname and
+       runtime linking configuration.
+       (export_symbols_cmds): Decorate symbols with the weak keyword.
+       (archive_expsym_cmds): Create both shared libraries according to
+       with_aix_soname and runtime linking configuration. Filter -brtl
+       linker flag from compiler_flags for shared libraries due to its
+       side effects.
+       (enable_static): Respect with_aix_soname for disabling as well.
+       * m4/ltdl.m4 (LT_SHARED_LIB_MEMBER): Define, set based on the
+       value of the shared_archive_member_spec libtool variable.
+       * m4/ltoptions.m4 (_LT_WITH_AIX_SONAME): New. Provides
+       commandline option --with-aix-soname=aix|svr4|both. Declares
+       $shared_archive_member_spec as libtool variable.
+       (_LT_SET_OPTIONS): Define LT_INIT options "aix-soname=aix",
+       "aix-soname=svr4", "aix-soname=both". Default is
+       "aix-soname=aix".
+       * doc/libtool.texi (LT_INIT): Document new options.
+       * tests/deplibs-ident.at: To define whether this test should
+       XFAIL, use hardcode_action, hardcode_direct,
+       hardcode_direct_absolute configuration settings instead of
+       platforms aix, bitrig, hppa-hpux, interix or openbsd.
+       * tests/versioning.at: When shared_archive_member_spec is defined
+       and LDFLAGS contain -brtl, we can run the versioning check.
+       * NEWS: Update.
+
+2014-11-28  Tijl Coosemans  <tijl@FreeBSD.org>
+
+       libtoolize: no need for umask 0 now that copying does not use tar.
+       The umask calls seem to be left over as a workaround for several
+       releases ago when libtoolize copied libltdl sources with the help
+       of tar.  Now that we use cp or ln -s exclusively, this just
+       needlessly makes the files world writable; we should just respect
+       the users' own umask setting.
+       * libtoolize.in (func_copy): Remove umask 0 calls and simplify.
+
+2014-11-28  Gary V. Vaughan  <gary@gnu.org>
+
+       maint: syntax-checks don't like ${ even in comments!
+       * m4/ltdl.m4: Fix a comment to appease syntax-check rules.
+
+2014-11-28  Tijl Coosemans  <tijl@FreeBSD.org>
+
+       libtool: use a modern library version scheme for freebsd-elf.
+       * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Adopt downstream patch
+       used by FreeBSD for versioned library filenames.
+       * build-aux/ltmain.in (func_mode_link): Replace conflicting
+       freebsd-elf version_type case branches with a single calculation
+       setting major and versuffix to match downstream FreeBSD.
+
+       libtool: split sco version into its own type.
+       * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Set version type to
+       "sco" for sco based hosts.
+       * build-aux/ltmain.in (func_mode_link): Accept new "sco"
+       version_type as equivalent to freebsd-elf.
+
+2014-11-28  Gary V. Vaughan  <gary@gnu.org>
+
+       configury: detect dlsym underscore prefix without dlopen self.
+       * m4/ltdl.m4 (LT_FUNC_DLSYM_USCORE): Compile, load and get the
+       address of a symbol from a separate loadable module, rather than
+       assuming dlopen self works.
+       * NEWS: Update.
+       Reported by KO Myung-Hun
+
+2014-11-26  Gary V. Vaughan  <gary@gnu.org>
+
+       ltdl: fix a long standing duplicate `-ldl' bug in the link line.
+       * m4/ltdl.m4 (LT_LIB_DLLOAD): Save contents of LIBS before
+       calling AC_SEARCH_LIBS, which prepends to LIBS by default, and
+       restore afterwards.  We set LIBADD_DLOPEN and LIBADD_SHL_LOAD
+       so that dynamic loader libraries can be added selectively only
+       where they are needed.
+       * NEWS: Update.
+
+2014-11-21  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
+
+       tests: do not test undef symbols across shlibs on AIX.
+       On AIX, undefined symbols across shared libraries can work only
+       when the main program explicitly exports those symbols. As this
+       is bad practice anyway and -no-undefined should be preferred, we
+       skip this.
+       * tests/template.at: Skip test with undef syms across libraries
+       on AIX.
+
+       tests: question mark is extended regex for non-GNU grep.
+       Accepting \? for at-most-once in basic regex is a GNU grep
+       extension, not accepted by AIX grep for example.
+       * tests/libtool.at: Use \{0,1\} instead of ? with GREP.
+
+2014-11-18  Gary V. Vaughan  <gary@gnu.org>
+
+       maint: Fox a resent smelling mystique.
+       * build-aux/git-log-fix: ChangeLog edit.
+       Reported by Eric Blake
+
+       bootstrap: make sure gnulib file droppings are removed.
+       * bootstrap.conf (libtool_cleanup_empty_dirs): Recent bootstrap
+       updates set source_base to null, so we need to use ${x:-y} to
+       override the null.  Autoconf Shellology says that ancient BSD
+       /bin/sh chokes on :- defaults, but bootstrap is a developer tool,
+       and so we can reasonably expect a developer to have a working
+       /bin/sh to run the bootstrap script.
+
+       bootstrap: add missing debug preambles.
+       * bootstrap.conf (libtool_prep, func_require_ltdl_dir)
+       (libtool_require_package_url): Add missing $debug_cmd calls.
+
+2014-11-18  Vincent Lefevre  <vincent@vinc17.net>
+
+       NEWS: Fix an ancient spelling mistake.
+       * NEWS: s/propogate/propagate/.
+       * cfg.mk (old_NEWS_hash): Update.
+
+2014-11-17  Vincent Lefevre  <vincent@vinc17.net>
+
+       libtool: fix comment typo.
+       * m4/libtool.m4: Fix -fvisbility=hidden typo in a comment.
+
+2014-11-04  Gary V. Vaughan  <gary@gnu.org>
+
+       maint: fix a syntax-check failure.
+       * tests/cmdline_wrap.at (fail_list): quote test arguments to
+       satisfy failing syntax-checks.
+
+       libtool: fix universal library building on darwin.
+       * build-aux/ltmain.in (func_extract_archives): $basename is now
+       spelled $sed_basename.
+       * NO-THANKS: Update.
+       Reported by Misty De Meo
+
+       tests: update fat binary test case for modern darwin.
+       * tests/darwin.at: Use "-arch x86_64", which works on modern
+       Apple hardware, rather than "-arch ppc", which generally does not.
+
+       tests: fix false positive in failed test check for cmdline_wrap.at.
+       * tests/cmdline_wrap.at (fail_list): non-matching globs return as
+       a plain unexpanded string, so we also need to test for file
+       existence before expanding into fail_list.
+
+       bootstrap: sync with upsteram.
+       * gl/build-aux/bootstrap.in: Sync with upstream.
+       * bootstrap: Regenerate.
+
+2014-11-04  KO Myung-Hun  <komh@chollian.net>
+
+       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.
+
+       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.
+
+       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.
+
+       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.
+
+       libtool: support -Zxxx options used on OS/2.
+       * build-aux/ltmain.in (func_mode_link): Add -Z* case, treating
+       them specially on os2 only.
+
+       libtool: set lt_cv_deplibs_check_method to pass_all on OS/2.
+       * m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Same as the title.
+
+       libtool: there is no need to relink DLLs on OS/2.
+       * build-aux/ltmain.in (func_mode_link) <*-os2*>: need_relink=no.
+
+       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.
+
+       libtool: support to link against static libraries on OS/2.
+       * m4/libtool.m4 (_LT_COMPILER_PIC): Set lt_prog_compiler_static to
+       $wl-static.
+
+       libtool: don't eliminate duplications in $postdeps and $predeps on OS/2
+       * build-aux/ltmain.h (libtool_validate_options): Add *os2* to the list.
+
+2014-11-03  Gary V. Vaughan  <gary@gnu.org>
+
+       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
+
+       maint: .PHONY rules to protect gmake from pathological file names.
+       * Makefile.am (.PHONY): Add install-scripts-local,
+       check-interactive, check-noninteractive-old,
+       check-noninteractive-new and check-noninteractive.
+
+2014-11-02  Arkadiusz Miśkiewicz  <arekm@maven.pl>
+
+       tests: fix typo in cmdline_wrap skip check.
+       * tests/cmdline_wrap.at (fail_list): fix a typo in loop script
+       text.
+
+2014-11-02  Gary V. Vaughan  <gary@gnu.org>
+
+       libtoolize: don't forget to remove old non-gnulib argz files.
+       * libtoolize.in (all_pkgltdl_files): Add back argz.c and argz_.h,
+       as installed by previous libtool releases.
+
+       libltdl: move libltdl argz module into LT namespace.
+       To avoid clashes with gnulib argz module in ltdl client projects,
+       move ours into its own namespace.
+       * libltdl/argz_.h, libltdl/argz.c, m4/argz.m4: Move from here...
+       * libltdl/libltdl/lt__argz_.h, libltdl/lt__argz.c, m4/ltargz.m4:
+       ...to here.
+       * Makefile.am, libltdl/libltdl/lt__glibc.h, libltdl/ltdl.mk,
+       libtoolize.in, m4/ltdl.m4: Adjust accordingly.
+       * tests/libtoolize.at, tests/ltdl-api.at, tests/nonrecursive.at,
+       tests/old-ltdl-iface.at: Adjust for different libtoolize output.
+       * libltdl/.gitignore: Adjust accordingly.
+       * NEWS: Update.
+       Reported by Pavel Raiskup
+
+       maint: whitespace cleanup.
+       * Makefile.am ($(thanks)): Fix several whitespace syntax-check
+       failures.
+
+2014-11-02  Pavel Raiskup  <praiskup@redhat.com>
+
+       libtoolize: do not remove gnulib files with --force.
+       * libtoolize.in (func_require_seen_libtool): Do not remove
+       snippet/* files which are from Gnulib.
+
+2014-10-30  Gary V. Vaughan  <gary@gnu.org>
+
+       tests: set bindir and libdir at configure time.
+       In particular, openSuSE on x86_64 uses CONFIG_SITE to set libdir
+       to "${exec_prefix}/lib64", which confuses testcases that check
+       the contents of "${prefix}/lib".  In general, tests that expect
+       to find installed files in specific directories should explicitly
+       set those directories at configure time.
+       * tests/testsuite.at (LT_AT_CONFIGURE): Make sure exec_prefix,
+       bindir and libdir point to known subdirectories we can check the
+       contents of later on in a test case.
+       (prefixdir): Rename from this...
+       (prefix): ...to this.  All test cases that set or use the config
+       prefix directory must now refer to `prefixdir` for the helper
+       macros in this file to work in hostile build environments such
+       as CONFIG_SITE setting openSuSE.
+       * tests/demo.at, tests/depdemo.at, tests/mdemo.at,
+       tests/tagdemo.at: Adjust accordingly.
+       Reported by Peter Breitenlohner.
+
+2014-10-29  Reuben Thomas  <rrt@sc3d.org>
+
+       libtool: -rdynamic support for tcc.
+       * m4/libtool.m4 (_LT_LINKER_SHLIBS) <linux*>: Set
+       export_dynamic_flag_spec appropriately when using tcc.
+
+       libtool: preliminary support for tcc on linux*.
+       * m4/libtool.m4 (_LT_LINKER_SHLIBS) <linux*>: Set archive_cmds and
+       ld_shlibs appropriately when using tcc.
+       * NEWS: Update.
+
+2014-10-29  Gary V. Vaughan  <gary@gnu.org>
+
+       maint: fix README-alpha version match.
+       With simplified release version numbering (thank you, git!), be
+       careful to recognize four part alpha versions, or short git
+       revision suffixed alpha versions correctly.
+       * Makefile.am (re_odd_version): Remove.
+       (re_alpha_version): Recognize alpha version numbers.
+       ($(readme)): Adjust accordingly.
+
+       maint: autogenerate THANKS.
+       More automation == less time wasted on menial tasks.
+       * build-aux/thanks-gen: script inspired by coreutils.
+       * Makefile.am (THANKS): Based on rule from coreutils/Makefile.am.
+       * NO-THANKS: New file.  Configure thanks-gen output.
+       * THANKS: Remove.
+
+       maint: fix prefix and suffix installs for libtoolize.
+       * Makefile.am (install-data-local): Depend on new
+       install-scripts-local, and move libtoolize install from here...
+       (install-scripts-local): ...to here.
+       Pass libtoolize destination through program transform expression.
+       (uninstall-hook): Likewise, prior to removal.
+       * NEWS: Update.
+       * THANKS: Update.
+       Reported by Václav Zeman
+
 2014-10-27  Gary V. Vaughan  <gary@gnu.org>
 
+       maint: move Peter O'Gorman and Ralf Wildenhues to past maintainers.
+       * AUTHORS: Move Peter O'Gorman and Ralf Wildenhues from current
+       to past maintainers list.
+
+       maint: post-release administrivia
+       * NEWS: Add header line for next release.
+       * .prev-version: Record previous version.
+       * cfg.mk (old_NEWS_hash): Auto-update.
+
        version 2.4.3
        * NEWS: Record release date.
 
index 77561e1..60a067e 100644 (file)
@@ -352,10 +352,10 @@ lt_aclocal_m4_deps = \
        $(lt_obsolete_m4) \
        $(ltversion_m4) \
        $(libtool_m4) \
-       $(srcdir)/$(macro_dir)/ltoptions.m4 \
+       $(srcdir)/$(macro_dir)/ltargz.m4 \
        $(srcdir)/$(macro_dir)/ltdl.m4 \
+       $(srcdir)/$(macro_dir)/ltoptions.m4 \
        $(srcdir)/$(macro_dir)/ltsugar.m4 \
-       $(srcdir)/$(macro_dir)/argz.m4 \
        $(srcdir)/$(ltdl_dir)/configure.ac
 
 lt_configure_deps = $(lt_aclocal_m4) $(lt_aclocal_m4_deps)
@@ -435,7 +435,7 @@ pkgaux_data_files   = $(pkgaux_parent_files)
 
 # Everything that gets picked up by aclocal is automatically distributed,
 # this is the list of macro files we install on the user's system.
-pkgmacro_files = argz.m4 libtool.m4 ltdl.m4 ltoptions.m4 ltsugar.m4 \
+pkgmacro_files = libtool.m4 ltargz.m4 ltdl.m4 ltoptions.m4 ltsugar.m4 \
                  ltversion.m4 lt~obsolete.m4
 
 ## These are installed as a subdirectory of pkgdatadir so that
@@ -446,11 +446,10 @@ pkgltdl_files     = COPYING.LIB \
                  README \
                  configure.ac \
                  aclocal.m4 \
-                 argz_.h \
-                 argz.c \
                  config-h.in \
                  configure \
                  libltdl/lt__alloc.h \
+                 libltdl/lt__argz_.h \
                  libltdl/lt__dirent.h \
                  libltdl/lt__glibc.h \
                  libltdl/lt__private.h \
@@ -467,6 +466,7 @@ pkgltdl_files       = COPYING.LIB \
                  loaders/preopen.c \
                  loaders/shl_load.c \
                  lt__alloc.c \
+                 lt__argz.c \
                  lt__dirent.c \
                  lt__strl.c \
                  lt_dlloader.c \
@@ -476,7 +476,7 @@ pkgltdl_files       = COPYING.LIB \
                  ltdl.mk \
                  slist.c
 
-install-data-local: $(lt_Makefile_in)
+install-data-local: $(lt_Makefile_in) install-scripts-local
        @$(NORMAL_INSTALL)
 ## Don't install over the top of an old pkgdatadir
        -rm -rf '$(DESTDIR)$(pkgdatadir)'/*
@@ -508,9 +508,17 @@ install-data-local: $(lt_Makefile_in)
          echo " $(INSTALL_DATA) '$(ltdldir)/$$p' '$(DESTDIR)$(pkgdatadir)/$$p'"; \
          $(INSTALL_DATA) "$(ltdldir)/$$p" "$(DESTDIR)$(pkgdatadir)/$$p"; \
        done
+       chmod a+x '$(DESTDIR)$(pkgdatadir)/configure'
+
+.PHONY: install-scripts-local
+install-scripts-local: $(lt_Makefile_in)
 ## Inline helper-scripts for installed libtoolize script
-       $(SCRIPT_ENV) '$(inline_source)' libtoolize > '$(DESTDIR)$(bindir)/libtoolize';
-       -chmod a+x '$(DESTDIR)$(pkgdatadir)/configure' '$(DESTDIR)$(bindir)/libtoolize'
+       @p=`echo libtoolize |sed -e '$(transform)'`; \
+       echo " $(SCRIPT_ENV) '$(inline_source)' libtoolize > '$(DESTDIR)$(bindir)/$$p'"; \
+       d=`echo "$(DESTDIR)$(bindir)/$$p" |$(SED) 's|[^/]*$$||'`; \
+       test -d "$$d" || $(mkinstalldirs) "$$d"; \
+       $(SCRIPT_ENV) '$(inline_source)' libtoolize > "$(DESTDIR)$(bindir)/$$p"; \
+       chmod a+x "$(DESTDIR)$(bindir)/$$p"
 
 
 ## ------------- ##
@@ -520,6 +528,7 @@ install-data-local: $(lt_Makefile_in)
 edit_readme_alpha      = $(srcdir)/$(aux_dir)/edit-readme-alpha
 gitlog_to_changelog    = $(srcdir)/$(aux_dir)/gitlog-to-changelog
 git_log_fix            = $(srcdir)/$(aux_dir)/git-log-fix
+thanks_gen             = $(srcdir)/$(aux_dir)/thanks-gen
 
 dotserial              = $(distdir)/.serial
 dotversion             = $(srcdir)/.version
@@ -527,6 +536,8 @@ tarball_version             = $(distdir)/.tarball-version
 readme                 = $(distdir)/README
 changelog              = $(distdir)/ChangeLog
 changelog_old          = $(srcdir)/ChangeLog.old
+thanks                 = $(distdir)/THANKS
+no_thanks              = $(srcdir)/NO-THANKS
 
 # Generate ChangeLog using git log entries for as far back as
 # they are in good shape, appending manual records from earlier.
@@ -539,7 +550,35 @@ $(changelog): FORCE
          cat '$(changelog_old)' >> '$@'; \
        fi
 
-## Arrange so that .tarball-version appears only in the distribution
+# Sort in traditional ASCII order, regardless of the current locale;
+# otherwise we may get into trouble with distinct strings that the
+# current locale considers to be equal.
+ASSORT = LC_ALL=C sort
+
+# Extract all lines up to the first one starting with "##".
+prologue = perl -ne '/^\#\#/ and exit; print' $(no_thanks)
+
+# Generate THANKS using git log entries as far as possible, fixing
+# up ommisions and errors from NO-THANKS configuration.
+$(thanks): FORCE
+       $(AM_V_GEN)if test -d '$(srcdir)/.git'; then \
+         { \
+           $(prologue); echo; \
+           { perl -ne '/^$$/.../^$$/ and print' $(no_thanks) \
+             | grep -v '^$$' | perl -pe 's/  +/\0/'; \
+             {  sed -e '1,/\#\# /d' -e '/^\#\# /d' \
+                   -e 's|[     ][       ]*|    |' < $(no_thanks) \
+                 | tr '\t' '\0'; \
+               git log --pretty=format:'%aN%x00%aE'; \
+             } | $(ASSORT) -u; \
+           } | $(thanks_gen) \
+             | LC_ALL=en_US.UTF-8 sort -f; \
+           echo; \
+           printf ';; %s\n' 'Local Variables:' 'coding: utf-8' End:; \
+         } > '$@'; \
+       fi
+
+## Arrange so that .version appears only in the distribution
 ## tarball, and never in a checked-out repository.
 EXTRA_DIST += $(dotversion)
 BUILT_SOURCES += $(dotversion)
@@ -548,9 +587,9 @@ $(dotversion):
 
 ## Edit the README file for alpha releases.
 EXTRA_DIST += $(edit_readme_alpha)
-re_odd_version = '\([0-9][0-9]*.[0-9][0-9]*.[0-9]*[13579]\)'
+re_alpha_version = '\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*[-\.][-\.0-9a-z]*\)'
 $(readme): FORCE
-       @if test -n `expr $(VERSION) : $(re_odd_version)`; then \
+       @if test -n `expr $(VERSION) : $(re_alpha_version)`; then \
          if test 0 = '$(AM_DEFAULT_VERBOSITY)' && test 1 != '$(V)'; \
            then echo "  GEN     " $@; \
          else echo "$(SHELL) $(edit_readme_alpha) $@"; fi; \
@@ -559,7 +598,7 @@ $(readme): FORCE
 
 git_commit_count = git log --pretty=oneline |wc -l |$(SED) 's|[         ]||g'
 
-dist-hook: $(changelog) $(dotversion) $(readme)
+dist-hook: $(changelog) $(thanks) $(dotversion) $(readme)
 ## Arrange so that .tarball-version appears only in the distribution
 ## tarball, and never in a checked-out repository.
        echo '$(VERSION)' > $(tarball_version)
@@ -592,8 +631,9 @@ uninstall-hook:
          echo " rm -f '$(DESTDIR)$(aclocaldir)/$$f'"; \
          rm -f "$(DESTDIR)$(aclocaldir)/$$f"; \
        done
-       @echo " rm -f '$(DESTDIR)$(bindir)/libtoolize'"; \
-       rm -f '$(DESTDIR)$(bindir)/libtoolize'
+       @p=`echo libtoolize |sed -e '$(transform)'`; \
+       echo " rm -f '$(DESTDIR)$(bindir)/$$p'"; \
+       rm -f "$(DESTDIR)$(bindir)/$$p"
 
 
 ## ----------- ##
@@ -700,6 +740,7 @@ TESTS_ENVIRONMENT = MAKE="$(MAKE)" CC="$(CC)" CFLAGS="$(CFLAGS)" \
        F77="$(F77)" FFLAGS="$(FFLAGS)" \
        FC="$(FC)" FCFLAGS="$(FCFLAGS)" \
        GCJ="$(GCJ)" GCJFLAGS="$(GCJFLAGS)" \
+       lt_cv_with_aix_soname="$(with_aix_soname)" \
        lt_cv_to_host_file_cmd="$(to_host_file_cmd)" \
        lt_cv_to_tool_file_cmd="$(to_tool_file_cmd)"
 
@@ -753,10 +794,12 @@ installcheck-local: $(testsuite_deps)
          $(TESTS_ENVIRONMENT) $(INSTALLCHECK_ENVIRONMENT) $(TESTSUITEFLAGS) \
          AUTOTEST_PATH='$(exec_prefix)/bin'
 
+.PHONY: check-noninteractive-old
 check-noninteractive-old:
        $(AM_V_at)'$(MAKE)' $(AM_MAKEFLAGS) check-TESTS TESTS='$(TESTS)'
 
 # Run only noninteractive parts of the new testsuite.
+.PHONY: check-noninteractive-new
 check-noninteractive-new: $(testsuite_deps_uninstalled)
        $(AM_V_at)$(CD_TESTDIR); \
        CONFIG_SHELL='$(SHELL)' '$(SHELL)' "$$abs_srcdir/$(TESTSUITE)" \
@@ -765,6 +808,7 @@ check-noninteractive-new: $(testsuite_deps_uninstalled)
          $(TESTSUITEFLAGS)
 
 # Run only interactive parts of the new testsuite.
+.PHONY: check-interactive
 check-interactive: $(testsuite_deps_uninstalled)
        $(AM_V_at)$(CD_TESTDIR); \
        CONFIG_SHELL='$(SHELL)' '$(SHELL)' "$$abs_srcdir/$(TESTSUITE)" \
@@ -772,6 +816,7 @@ check-interactive: $(testsuite_deps_uninstalled)
          -k interactive -k recursive INNER_TESTSUITEFLAGS=',interactive' \
          $(TESTSUITEFLAGS)
 
+.PHONY: check-noninteractive
 check-noninteractive: check-noninteractive-old check-noninteractive-new
 
 # We need to remove any file droppings left behind by testsuite
index d49abac..4832284 100644 (file)
@@ -86,16 +86,17 @@ host_triplet = @host@
 DIST_COMMON = $(srcdir)/libltdl/ltdl.mk INSTALL NEWS README AUTHORS \
        ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
        $(top_srcdir)/configure $(am__configure_deps) \
-       $(srcdir)/config-h.in $(top_srcdir)/libltdl/lt__dirent.c \
-       $(top_srcdir)/libltdl/lt__strl.c $(top_srcdir)/libltdl/argz.c \
+       $(srcdir)/config-h.in $(top_srcdir)/libltdl/lt__argz.c \
+       $(top_srcdir)/libltdl/lt__dirent.c \
+       $(top_srcdir)/libltdl/lt__strl.c \
        $(top_srcdir)/build-aux/depcomp $(doc_libtool_TEXINFOS) \
        $(top_srcdir)/build-aux/mdate-sh $(srcdir)/doc/version.texi \
        $(srcdir)/doc/stamp-vti $(top_srcdir)/build-aux/texinfo.tex \
        $(dist_man1_MANS) $(am__include_HEADERS_DIST) \
-       $(am__ltdlinclude_HEADERS_DIST) COPYING THANKS TODO \
-       build-aux/compile build-aux/config.guess build-aux/config.sub \
-       build-aux/depcomp build-aux/install-sh build-aux/mdate-sh \
-       build-aux/missing build-aux/texinfo.tex build-aux/ltmain.sh \
+       $(am__ltdlinclude_HEADERS_DIST) COPYING TODO build-aux/compile \
+       build-aux/config.guess build-aux/config.sub build-aux/depcomp \
+       build-aux/install-sh build-aux/mdate-sh build-aux/missing \
+       build-aux/texinfo.tex build-aux/ltmain.sh \
        $(top_srcdir)/build-aux/compile \
        $(top_srcdir)/build-aux/config.guess \
        $(top_srcdir)/build-aux/config.sub \
@@ -108,12 +109,13 @@ DIST_COMMON = $(srcdir)/libltdl/ltdl.mk INSTALL NEWS README AUTHORS \
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
-       $(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/autobuild.m4 \
+       $(top_srcdir)/m4/autobuild.m4 \
        $(top_srcdir)/m4/gnulib-common.m4 \
        $(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/libtool.m4 \
-       $(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
-       $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
-       $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
+       $(top_srcdir)/m4/ltargz.m4 $(top_srcdir)/m4/ltdl.m4 \
+       $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
+       $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
+       $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
@@ -413,7 +415,6 @@ AMTAR = @AMTAR@
 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
 AR = @AR@
 ARFLAGS = @ARFLAGS@
-ARGZ_H = @ARGZ_H@
 AS = @AS@
 AUTOCONF = @AUTOCONF@
 AUTOHEADER = @AUTOHEADER@
@@ -476,6 +477,7 @@ LIPO = @LIPO@
 LN_S = @LN_S@
 LTDLOPEN = @LTDLOPEN@
 LTLIBOBJS = @LTLIBOBJS@
+LT_ARGZ_H = @LT_ARGZ_H@
 LT_CONFIG_H = @LT_CONFIG_H@
 LT_DLLOADERS = @LT_DLLOADERS@
 LT_DLPREOPEN = @LT_DLPREOPEN@
@@ -567,12 +569,14 @@ to_tool_file_cmd = @to_tool_file_cmd@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
+with_aix_soname = @with_aix_soname@
 ACLOCAL_AMFLAGS = -I m4
 
 # -I$(srcdir) is needed for user that built libltdl with a sub-Automake
 # (not as a sub-package!) using 'nostdinc':
 AM_CPPFLAGS = -DLT_CONFIG_H='<$(LT_CONFIG_H)>' -DLTDL -I. -I$(srcdir) \
-       -Ilibltdl -I$(srcdir)/libltdl -I$(srcdir)/libltdl/libltdl
+       -Ilibltdl -I$(srcdir)/libltdl -Ilibltdl/libltdl \
+       -I$(srcdir)/libltdl/libltdl
 AM_LDFLAGS = -no-undefined
 SUBDIRS = .
 DIST_SUBDIRS = $(SUBDIRS)
@@ -581,16 +585,18 @@ EXTRA_DIST = bootstrap bootstrap.conf $(build_scripts) cfg.mk maint.mk \
        $(libtoolize_in) $(ltmain_in) $(ltmain_sh) $(ltversion_in) \
        $(ltversion_m4) $(options_parser) libltdl/lt__dirent.c \
        libltdl/lt__strl.c libltdl/COPYING.LIB libltdl/README \
-       libltdl/argz_.h libltdl/argz.c $(lt_aclocal_m4) \
-       $(lt_configure) $(lt_configure_ac) $(lt_config_h_in) \
-       $(lt_Makefile_am) $(lt_Makefile_in) $(lt_obsolete_m4) \
-       $(stamp_mk) $(doc_dir)/gendocs_template $(notes_txt) \
-       $(dotversion) $(edit_readme_alpha) $(testsuite) \
+       libltdl/libltdl/lt__argz_.h libltdl/lt__argz.c \
+       $(lt_aclocal_m4) $(lt_configure) $(lt_configure_ac) \
+       $(lt_config_h_in) $(lt_Makefile_am) $(lt_Makefile_in) \
+       $(lt_obsolete_m4) $(stamp_mk) $(doc_dir)/gendocs_template \
+       $(notes_txt) $(dotversion) $(edit_readme_alpha) $(testsuite) \
        $(TESTSUITE_AT) $(package_m4)
-BUILT_SOURCES = libtool libtoolize libltdl/$(ARGZ_H) $(dotversion)
+BUILT_SOURCES = libtool libtoolize libltdl/libltdl/$(LT_ARGZ_H) \
+       $(dotversion)
 CLEANFILES = libtool libtoolize libltdl/libltdl.la libltdl/libltdlc.la \
        libltdl/libdlloader.la $(LIBOBJS) $(LTLIBOBJS)
-MOSTLYCLEANFILES = libltdl/argz.h libltdl/argz.h-t
+MOSTLYCLEANFILES = libltdl/libltdl/lt__argz.h \
+       libltdl/libltdl/lt__argz.h-t
 DISTCLEANFILES = libtool.dvi tests/atconfig
 MAINTAINERCLEANFILES = $(dist_man1_MANS)
 include_HEADERS = $(am__append_1)
@@ -743,10 +749,10 @@ lt_aclocal_m4_deps = \
        $(lt_obsolete_m4) \
        $(ltversion_m4) \
        $(libtool_m4) \
-       $(srcdir)/$(macro_dir)/ltoptions.m4 \
+       $(srcdir)/$(macro_dir)/ltargz.m4 \
        $(srcdir)/$(macro_dir)/ltdl.m4 \
+       $(srcdir)/$(macro_dir)/ltoptions.m4 \
        $(srcdir)/$(macro_dir)/ltsugar.m4 \
-       $(srcdir)/$(macro_dir)/argz.m4 \
        $(srcdir)/$(ltdl_dir)/configure.ac
 
 lt_configure_deps = $(lt_aclocal_m4) $(lt_aclocal_m4_deps)
@@ -782,7 +788,7 @@ pkgaux_data_files = $(pkgaux_parent_files)
 
 # Everything that gets picked up by aclocal is automatically distributed,
 # this is the list of macro files we install on the user's system.
-pkgmacro_files = argz.m4 libtool.m4 ltdl.m4 ltoptions.m4 ltsugar.m4 \
+pkgmacro_files = libtool.m4 ltargz.m4 ltdl.m4 ltoptions.m4 ltsugar.m4 \
                  ltversion.m4 lt~obsolete.m4
 
 pkgltdl_files = COPYING.LIB \
@@ -791,11 +797,10 @@ pkgltdl_files = COPYING.LIB \
                  README \
                  configure.ac \
                  aclocal.m4 \
-                 argz_.h \
-                 argz.c \
                  config-h.in \
                  configure \
                  libltdl/lt__alloc.h \
+                 libltdl/lt__argz_.h \
                  libltdl/lt__dirent.h \
                  libltdl/lt__glibc.h \
                  libltdl/lt__private.h \
@@ -812,6 +817,7 @@ pkgltdl_files = COPYING.LIB \
                  loaders/preopen.c \
                  loaders/shl_load.c \
                  lt__alloc.c \
+                 lt__argz.c \
                  lt__dirent.c \
                  lt__strl.c \
                  lt_dlloader.c \
@@ -824,17 +830,28 @@ pkgltdl_files = COPYING.LIB \
 edit_readme_alpha = $(srcdir)/$(aux_dir)/edit-readme-alpha
 gitlog_to_changelog = $(srcdir)/$(aux_dir)/gitlog-to-changelog
 git_log_fix = $(srcdir)/$(aux_dir)/git-log-fix
+thanks_gen = $(srcdir)/$(aux_dir)/thanks-gen
 dotserial = $(distdir)/.serial
 dotversion = $(srcdir)/.version
 tarball_version = $(distdir)/.tarball-version
 readme = $(distdir)/README
 changelog = $(distdir)/ChangeLog
 changelog_old = $(srcdir)/ChangeLog.old
+thanks = $(distdir)/THANKS
+no_thanks = $(srcdir)/NO-THANKS
 
 # Generate ChangeLog using git log entries for as far back as
 # they are in good shape, appending manual records from earlier.
 changelog_start_date = 2011-01-01
-re_odd_version = '\([0-9][0-9]*.[0-9][0-9]*.[0-9]*[13579]\)'
+
+# Sort in traditional ASCII order, regardless of the current locale;
+# otherwise we may get into trouble with distinct strings that the
+# current locale considers to be equal.
+ASSORT = LC_ALL=C sort
+
+# Extract all lines up to the first one starting with "##".
+prologue = perl -ne '/^\#\#/ and exit; print' $(no_thanks)
+re_alpha_version = '\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*[-\.][-\.0-9a-z]*\)'
 git_commit_count = git log --pretty=oneline |wc -l |$(SED) 's|[         ]||g'
 tests_dir = $(top_srcdir)/tests
 package_m4 = $(tests_dir)/package.m4
@@ -935,6 +952,7 @@ TESTS_ENVIRONMENT = MAKE="$(MAKE)" CC="$(CC)" CFLAGS="$(CFLAGS)" \
        F77="$(F77)" FFLAGS="$(FFLAGS)" \
        FC="$(FC)" FCFLAGS="$(FCFLAGS)" \
        GCJ="$(GCJ)" GCJFLAGS="$(GCJFLAGS)" \
+       lt_cv_with_aix_soname="$(with_aix_soname)" \
        lt_cv_to_host_file_cmd="$(to_host_file_cmd)" \
        lt_cv_to_tool_file_cmd="$(to_tool_file_cmd)"
 
@@ -1176,7 +1194,6 @@ mostlyclean-compile:
 distclean-compile:
        -rm -f *.tab.c
 
-@AMDEP_TRUE@@am__include@ @am__quote@libltdl/$(DEPDIR)/argz.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@libltdl/$(DEPDIR)/libltdl_libltdl_la-lt__alloc.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@libltdl/$(DEPDIR)/libltdl_libltdl_la-lt_dlloader.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@libltdl/$(DEPDIR)/libltdl_libltdl_la-lt_error.Plo@am__quote@
@@ -1187,6 +1204,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@libltdl/$(DEPDIR)/libltdl_libltdlc_la-lt_error.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@libltdl/$(DEPDIR)/libltdl_libltdlc_la-ltdl.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@libltdl/$(DEPDIR)/libltdl_libltdlc_la-slist.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@libltdl/$(DEPDIR)/lt__argz.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@libltdl/$(DEPDIR)/lt__dirent.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@libltdl/$(DEPDIR)/lt__strl.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@libltdl/loaders/$(DEPDIR)/dld_link.Plo@am__quote@
@@ -2238,10 +2256,10 @@ libtool: $(ltmain_sh) $(config_status) $(dotversion)
 
 # We need the following in order to create an <argz.h> when the system
 # doesn't have one that works with the given compiler.
-all-local $(lib_OBJECTS): libltdl/$(ARGZ_H)
-libltdl/argz.h: libltdl/argz_.h
-       $(AM_V_at)$(mkinstalldirs) . libltdl/
-       $(AM_V_GEN)cp $(srcdir)/libltdl/argz_.h $@-t
+all-local $(lib_OBJECTS): libltdl/libltdl/$(LT_ARGZ_H)
+libltdl/libltdl/lt__argz.h: libltdl/libltdl/lt__argz_.h
+       $(AM_V_at)$(mkinstalldirs) . libltdl/libltdl
+       $(AM_V_GEN)cp $(srcdir)/libltdl/libltdl/lt__argz_.h $@-t
        $(AM_V_at)mv $@-t $@
 
 $(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4)
@@ -2290,7 +2308,7 @@ $(libtool_1): $(ltmain_sh)
 $(libtoolize_1): $(libtoolize_in)
        $(AM_V_GEN)$(update_mans) libtoolize
 
-install-data-local: $(lt_Makefile_in)
+install-data-local: $(lt_Makefile_in) install-scripts-local
        @$(NORMAL_INSTALL)
        -rm -rf '$(DESTDIR)$(pkgdatadir)'/*
        @list='$(pkgmacro_files)'; for p in $$list; do \
@@ -2318,8 +2336,16 @@ install-data-local: $(lt_Makefile_in)
          echo " $(INSTALL_DATA) '$(ltdldir)/$$p' '$(DESTDIR)$(pkgdatadir)/$$p'"; \
          $(INSTALL_DATA) "$(ltdldir)/$$p" "$(DESTDIR)$(pkgdatadir)/$$p"; \
        done
-       $(SCRIPT_ENV) '$(inline_source)' libtoolize > '$(DESTDIR)$(bindir)/libtoolize';
-       -chmod a+x '$(DESTDIR)$(pkgdatadir)/configure' '$(DESTDIR)$(bindir)/libtoolize'
+       chmod a+x '$(DESTDIR)$(pkgdatadir)/configure'
+
+.PHONY: install-scripts-local
+install-scripts-local: $(lt_Makefile_in)
+       @p=`echo libtoolize |sed -e '$(transform)'`; \
+       echo " $(SCRIPT_ENV) '$(inline_source)' libtoolize > '$(DESTDIR)$(bindir)/$$p'"; \
+       d=`echo "$(DESTDIR)$(bindir)/$$p" |$(SED) 's|[^/]*$$||'`; \
+       test -d "$$d" || $(mkinstalldirs) "$$d"; \
+       $(SCRIPT_ENV) '$(inline_source)' libtoolize > "$(DESTDIR)$(bindir)/$$p"; \
+       chmod a+x "$(DESTDIR)$(bindir)/$$p"
 $(changelog): FORCE
        $(AM_V_GEN)if test -d '$(srcdir)/.git'; then \
          $(gitlog_to_changelog) --amend=$(git_log_fix) \
@@ -2327,17 +2353,37 @@ $(changelog): FORCE
          rm -f '$@'; mv '$@T' '$@'; \
          cat '$(changelog_old)' >> '$@'; \
        fi
+
+# Generate THANKS using git log entries as far as possible, fixing
+# up ommisions and errors from NO-THANKS configuration.
+$(thanks): FORCE
+       $(AM_V_GEN)if test -d '$(srcdir)/.git'; then \
+         { \
+           $(prologue); echo; \
+           { perl -ne '/^$$/.../^$$/ and print' $(no_thanks) \
+             | grep -v '^$$' | perl -pe 's/  +/\0/'; \
+             {  sed -e '1,/\#\# /d' -e '/^\#\# /d' \
+                   -e 's|[     ][       ]*|    |' < $(no_thanks) \
+                 | tr '\t' '\0'; \
+               git log --pretty=format:'%aN%x00%aE'; \
+             } | $(ASSORT) -u; \
+           } | $(thanks_gen) \
+             | LC_ALL=en_US.UTF-8 sort -f; \
+           echo; \
+           printf ';; %s\n' 'Local Variables:' 'coding: utf-8' End:; \
+         } > '$@'; \
+       fi
 $(dotversion):
        $(AM_V_GEN)echo '$(VERSION)' > '$@T' && mv '$@T' '$@'
 $(readme): FORCE
-       @if test -n `expr $(VERSION) : $(re_odd_version)`; then \
+       @if test -n `expr $(VERSION) : $(re_alpha_version)`; then \
          if test 0 = '$(AM_DEFAULT_VERBOSITY)' && test 1 != '$(V)'; \
            then echo "  GEN     " $@; \
          else echo "$(SHELL) $(edit_readme_alpha) $@"; fi; \
          $(SHELL) $(edit_readme_alpha) '$@'; \
        fi
 
-dist-hook: $(changelog) $(dotversion) $(readme)
+dist-hook: $(changelog) $(thanks) $(dotversion) $(readme)
        echo '$(VERSION)' > $(tarball_version)
        $(git_commit_count) > $(dotserial)
        @for macro in LT_INIT AC_PROG_LIBTOOL AM_PROG_LIBTOOL; do \
@@ -2366,8 +2412,9 @@ uninstall-hook:
          echo " rm -f '$(DESTDIR)$(aclocaldir)/$$f'"; \
          rm -f "$(DESTDIR)$(aclocaldir)/$$f"; \
        done
-       @echo " rm -f '$(DESTDIR)$(bindir)/libtoolize'"; \
-       rm -f '$(DESTDIR)$(bindir)/libtoolize'
+       @p=`echo libtoolize |sed -e '$(transform)'`; \
+       echo " rm -f '$(DESTDIR)$(bindir)/$$p'"; \
+       rm -f "$(DESTDIR)$(bindir)/$$p"
 
 $(testsuite): $(package_m4) $(TESTSUITE_AT) Makefile.am
        $(AM_V_GEN)$(AUTOTEST) -I '$(srcdir)' -I '$(srcdir)/tests' $(TESTSUITE_AT) -o '$@'
@@ -2399,10 +2446,12 @@ installcheck-local: $(testsuite_deps)
          $(TESTS_ENVIRONMENT) $(INSTALLCHECK_ENVIRONMENT) $(TESTSUITEFLAGS) \
          AUTOTEST_PATH='$(exec_prefix)/bin'
 
+.PHONY: check-noninteractive-old
 check-noninteractive-old:
        $(AM_V_at)'$(MAKE)' $(AM_MAKEFLAGS) check-TESTS TESTS='$(TESTS)'
 
 # Run only noninteractive parts of the new testsuite.
+.PHONY: check-noninteractive-new
 check-noninteractive-new: $(testsuite_deps_uninstalled)
        $(AM_V_at)$(CD_TESTDIR); \
        CONFIG_SHELL='$(SHELL)' '$(SHELL)' "$$abs_srcdir/$(TESTSUITE)" \
@@ -2411,6 +2460,7 @@ check-noninteractive-new: $(testsuite_deps_uninstalled)
          $(TESTSUITEFLAGS)
 
 # Run only interactive parts of the new testsuite.
+.PHONY: check-interactive
 check-interactive: $(testsuite_deps_uninstalled)
        $(AM_V_at)$(CD_TESTDIR); \
        CONFIG_SHELL='$(SHELL)' '$(SHELL)' "$$abs_srcdir/$(TESTSUITE)" \
@@ -2418,6 +2468,7 @@ check-interactive: $(testsuite_deps_uninstalled)
          -k interactive -k recursive INNER_TESTSUITEFLAGS=',interactive' \
          $(TESTSUITEFLAGS)
 
+.PHONY: check-noninteractive
 check-noninteractive: check-noninteractive-old check-noninteractive-new
 
 # We need to remove any file droppings left behind by testsuite
diff --git a/NEWS b/NEWS
index d373ef3..b37b94c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,53 @@
 NEWS - list of user-visible changes between releases of GNU Libtool
 
+* Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
+
+** New features:
+
+  - Libltdl maintains its own fork of argz, with macros and files in
+    the LT_ and lt__ namespaces (resp.) where they cannot clash with
+    client projects' use of gnulib argz.
+
+** Bug fixes:
+
+  - Installation of 'libtoolize' once again obeys '--program-prefix',
+    '--program-suffix' and '--program-transform-name' configure options.
+
+  - `libtoolize` doesn't remove any files that it can't reinstall,
+    including old versions of the snippet directory, and gnulib's
+    version of the argz module and supporting files.
+
+  - LT_FUNC_DLYSM_USCORE now works correctly on systems that don't
+    support self dlopen()ing.
+
+** Important incompatible changes:
+
+  - LT_LIB_DLLOAD no longer prepends -ldl or -ldld to LIBS, causing
+    duplicate occurrences in libltdl link lines.  If you need to
+    add a library for dlopen() or shl_load() in your Makefile, then
+    use $(LIBADD_DLOPEN) or $(LIBADD_SHL_LOAD) respectively.  If you
+    are using libltdl, this all happens automatically, and the only
+    difference you'll see is no more duplicated library names in the
+    verbose link line.
+
+** Changes in supported systems or compilers:
+
+  - Preliminary support for tcc on linux*.  Although it already worked
+    sometimes in previous releases, making sure to set LD correctly now
+    avoids mis-matching GNU ld with tcc:
+
+       ./configure CC=tcc LD=tcc
+
+  - Added -os2dllname option to work around 8 character base name
+    limit on OS/2.  The option has no effect on other systems.
+
+  - Support for DLL versioning, -export-symbols and -export-symbols-regex
+    on OS/2.
+
+  - Support filename-based shared library versioning on AIX. See manual
+    for details.
+
+
 * Noteworthy changes in release 2.4.3 (2014-10-27) [stable]
 
 ** New features:
@@ -573,7 +621,7 @@ New in 1.9b: 2004-08-29; CVS version 1.5a, Libtool team:
 * If you configure libtool with --disable-shared (or if libtool does not
   support shared libraries on your platform) trying to build a library using
   '-shared' is a fatal error.
-* New link mode option '-weak' tells libtool when not to propogate dependency
+* New link mode option '-weak' tells libtool when not to propagate dependency
   libraries from dlpreopened modules.
 * libtoolize installs libtool.m4, (ltdl.m4 if used,) and various supporting
   m4 definitions to AC_CONFIG_MACRO_DIR.
diff --git a/README b/README
index cfad71c..92b9ade 100644 (file)
--- a/README
+++ b/README
@@ -1,3 +1,3 @@
 This is an alpha testing release of [GNU Libtool][libtool], a generic
 library support script.  [Libtool][] hides the complexity of using shared
-libraries behind a consistent, portable interface.
\ No newline at end of file
+libraries behind a consistent, portable interface.
diff --git a/THANKS b/THANKS
index 671f7c1..6e15ff3 100644 (file)
--- a/THANKS
+++ b/THANKS
-* GNU Libtool could not be what it is today without the invaluable help of
-  the people named in this file.
+These people have contributed to GNU Libtool.  Some have reported problems,
+others have contributed improvements to the documentation and actual code.
+The particular contributions are described in the version control logs and
+ChangeLog files.  If your name has been left out, if you'd rather not be
+listed, or if you'd prefer a different address be used, please send a
+note to the bug-report mailing list (as seen at end of e.g., libtool --help).
 
+##                                  
+Akim Demaille                       akim@epita.fr
+Alan Hourihane                      alanh@fairlite.co.uk
+Alan Modra                          amodra@bigpond.net.au
+Alan W. Irwin                       irwin@beluga.phys.uvic.ca
+Albert Cheng                        acheng@ncsa.uiuc.edu
+Albert Chin-A-Young                 china@thewrittenword.com
+Alexandre Duret-Lutz                adl@gnu.org
+Alexei Sheplyakov                   varg@theor.jinr.ru
+Alfred M. Szmidt                    ams@kemisten.nu
+Allan McRae                         allan@archlinux.org
+Allan Sandfeld Jensen               snowwolf@one2one-networks.com
+Alon Bar-Lev                        alon.barlev@gmail.com
+Andreas Jaeger                      aj@suse.de
+Andreas Schiffler                   aschiffler@ferzkopp.net
+Andreas Schwab                      schwab@linux-m68k.org
+Andrew C. Feren                     aferen@CetaceanNetworks.com
+Andrew Suffield                     asuffield@debian.org
+Andrey Slepuhin                     pooh@msu.ru
+Aneesh Kumar K.V                    kvaneesh@hotmail.com
+Anthony Green                       green@redhat.com
+Archie Cobbs                        archie@whistle.com
+Arkadiusz Miśkiewicz                arekm@maven.pl
+Arne Woerner                        woerner@mediabase-gmbh.de
+Assar Westerlund                    assar@sics.se
+Bart Van Assche                     bvanassche@acm.org
+Benjamin Reed                       ranger@befunk.com
+Bernhard Fischer                    spam.protected
+Bernhard Rosenkraenzer              bero@redhat.de
+Bernhard Voelker                    mail@bernhard-voelker.de
+Bert Driehuis                       bert_driehuis@compuware.com
+Bob McElrath                        bob+libtool@mcelrath.org
+Boyd Lynn Gerber                    gerberb@zenez.com
+Brad                                brad@comstyle.com
+Brad Smith                          brad@comstyle.com
+Brent Leback                        brent.leback@st.com
+Brian Barrett                       brbarret@osl.iu.edu
+Brian W. Barrett                    bbarrett@lanl.gov
+Brice De Bruyne                     bricedb@gmail.com
+Brook Moses                         bmoses@google.com
+Brooks Moses                        bmoses@google.com
+Bruce Korb                          bkorb@gnu.org
+Bruno Haible                        bruno@clisp.org
+Camilo La Rota                      camilo.larota@ens-lyon.fr
+Carl D. Roth                        roth@cse.ucsc.edu
+Chad Cunningham                     ccunning@math.ohio-state.edu
+Chris Demetriou                     cgd@google.com
+Chris Lattner                       sabre@skylab.org
+Chris P. Ross                       cross@eng.us.uu.net
+Christiaan Welvaart                 cjw@daneel.dyndns.org
+Christian Biesinger                 cbiesinger@web.de
+Christian Cornelssen                ccorn@cs.tu-berlin.de
+Christian Rössel                    christian.roessel@gmx.de
+Christoph Egger                     Christoph_Egger@gmx.de
+Christoph Pfisterer                 cp@chrisp.de
+Christopher A. Knight               chriskn@crt.com
+Christopher Hulbert                 cchgroupmail@gmail.com
+Christopher Pfisterer               cp@chrisp.de
+Craig Dooley                        xlnxminusx@gmail.com
+Craig Tierney                       Craig.Tierney@noaa.gov
+Cristophe Jarry                     christophe.jarry@ouvaton.org
+Dalibor Topic                       robilad@kaffe.org
+Dan McMahill                        mcmahill@mtl.mit.edu
+Dan McNichol                        mcnichol@austin.ibm.com
+Daniel Harvey                       daniel@amristar.com.au
+Daniel Kobras                       kobras@linux.de
+Daniel Reed                         djr@redhat.com
+Daniel Richard G.                   skunk@iSKUNK.ORG
+Dave Brolley                        brolley@redhat.com
+Dave Korn                           dave.korn.cygwin@googlemail.com
+Dave Vasilevsky                     thevas@mac.com
+Dave Yost                           Dave@Yost.com
+David 'Digit' Turner                digit@google.com
+David Edelsohn                      dje.gcc@gmail.com
+David Heine                         dlheine@truffle.Stanford.EDU
+David Jones                         jones@mosaid.com
+Derek R. Price                      derek@ximbiot.com
+Dirk Mueller                        dmueller@suse.de
+DJ Delorie                          dj@delorie.com
+Donald Anderson                     dda@world.std.com
+Donald D. Anderson                  dda@sleepycat.com
+Donn Washburn                       n5xwb@comcast.net
+Doug Evans                          devans@casey.cygnus.com
+Edouard G. Parmelan                 Edouard.Parmelan@France.NCR.COM
+Edward M. Lee                       tailbert@yahoo.com
+Elizabeth Barham                    soggytrousers@yahoo.com
+Erez Zadok                          ezk@cs.columbia.edu
+Eric Blake                          ebb9@byu.net
+Eric Estievenart                    eric@via.ecp.fr
+Eric Lindahl                        erik@theophys.kth.se
+Erik van Pienbroek                  erik-gnu@vanpienbroek.nl
+Ethan Mallove                       ethan.mallove@sun.com
+Fabian Groffen                      grobian@gentoo.org
+Frank Ch. Eigler                    fche@cygnus.com
+Fred Cox                            sailorfred@yahoo.com
+Fred Fish                           fnf@be.com
+Fredrik Estreen                     estreen@algonet.se
+Fritz Elfert                        felfert@to.com
+Gary Kumfert                        kumfert@llnl.gov
+Geoffrey Keating                    geoffk@apple.com
+George Bosilca                      bosilca@cs.utk.edu
+Gerald Pfeifer                      gerald@pfeifer.com
+Greg Eisenhauer                     eisen@cc.gatech.edu
+Guido Draheim                       guidod-2001q3@gmx.de
+H.J. Lu                             hjl@gnu.org
+Henning Nielsen Lund                hnl_dk@amigaos.dk
+Howard Chu                          hyc@highlandsun.com
+Ian Lance Taylor                    ian@cygnus.com
+Ingo Weinhold                       ingo_weinhold@gmx.de
+Jacob Meuser                        jakemsr@jakemsr.com
+Jakub Bogusz                        qboosh@pld-linux.org
+Jakub Jelinek                       jakub@redhat.com
+James E Wilson                      wilson@specifixinc.com
+James Su                            james.su@gmail.com
+Jan Engelhardt                      jengelh@inai.de
+Jan Kratochvil                      project-libtool@jankratochvil.net
+Jay Krell                           jay.krell@cornell.edu
+Jean-Frederic Clere                 jfrederic.clere@fujitsu-siemens.com
+Jeff Squyres                        jsquyres@cisco.com
+Jens Petersen                       petersen@redhat.com
+Jeremie LE HEN                      tataz@sitadelle.com
+Jeremy C. Reed                      reed@reedmedia.net
+Jim Meyering                        jim@meyering.net
+Jim Pick                            jim@kaffe.org
+Jim Tison                           jtison@us.ibm.com
+Jiro Takabatake                     jiro@din.or.jp
+Joakim Tjernlund                    joakim.tjernlund@transmode.se
+Joe Orton                           joe@manyfish.co.uk
+Joel N. Weber II                    devnull@gnu.org
+Joerg Sonnenberger                  joerg@netbsd.org
+John Bowler                         jbowler@acm.org
+John David Anglin                   dave.anglin@nrc-cnrc.gc.ca
+John R. Cary                        cary@txcorp.com
+John Wehle                          john@feith.com
+John Wolfe                          jlw@sco.com
+Jon Meredith                        jonm@alchemetrics.co.uk
+Joseph Beckenbach III               jrb3@best.com
+Joseph Prostko                      joe.prostko@gmail.com
+Juergen Reuter                      reuter@t00pcx17094.desy.de
+Justin Lecher                       jlec@gentoo.org
+Jürgen Reuter                       juergen.reuter@physik.uni-freiburg.de
+Karl Berry                          karl@freefriends.org
+Kean Johnston                       jkj@sco.com
+Keith Packard                       keithp@keithp.com
+Ken Block                           block@zk3.dec.com
+Kenneth Albanowski                  kjahds@kjahds.com
+Kevin P. Fleming                    kpfleming@backtobasicsmgmt.com
+Kevin Ryde                          user42@zip.com.au
+Khem Raj                            raj.khem@gmail.com
+KO Myung-Hun                        komh@chollian.net
+Kurt D. Zeilenga                    Kurt@OpenLDAP.Org
+Kurt Roeckx                         kurt@roeckx.be
+Lawrence Velázquez                  larryv@macports.org
+Leif Ekblad                         leif@rdos.net
+Lennart Poettering                  lennart@poettering.net
+Lionel Landwerlin                   llandwerlin@gmail.com
+Loren James Rittle                  rittle@latour.rsch.comm.mot.com
+Maciej Helminiak                    dion2@wp.pl
+Maciej W. Rozycki                   macro@ds2.pg.gda.pl
+Mahesh Narayanamurthi               mahesh.mach@gmail.com
+Makoto Ishisone                     ishisone@sra.co.jp
+Manfred Weichel                     Manfred.Weichel@pdb.siemens.de
+Manish Singh                        yosh@gimp.org
+Marc Espie                          espie@nerim.net
+Marc J. Fraioli                     fraioli@dg-rtp.dg.com
+Marcel Loose                        loose@astron.nl
+Marcus Comstedt                     marcus@mc.pp.se
+Marius Vollmer                      mvo@zagadka.de
+Mark Kettenis                       kettenis@gnu.org
+Markus Duft                         markus.duft@salomon.at
+Markus F.X.J. Oberhumer             markus@oberhumer.com
+Martin Doucha                       doucha@integri.cz
+Masahiro Nobori                     nobori@ss.titech.ac.jp
+Mats Rynge                          rynge@isi.edu
+Matthieu Herrb                      matthieu.herrb@laas.fr
+Matthijs Kooijman                   matthijs@stdin.nl
+Max Bowsher                         maxb@ukf.net
+Michael Forster                     email@michael-forster.de
+Michael Haubenwallner               michael.haubenwallner@salomon.at
+Michael Matz                        matz@ifh.de
+Michael Pruett                      michael@68k.org
+Michael Schmitz                     mschmitz@iname.com
+Michael Tiemann                     tiemann@cygnus.com
+Micheal E. Faenza                   mfaenza@mitre.org
+Mike Frysinger                      vapier@gentoo.org
+Mike Gorchak                        lestat@i.com.ua
+Mike Miller                         mtmiller@ieee.org
+Mike Stump                          mrs@apple.com
+Mikhail Zabaluev                    mikhail.zabaluev@gmail.com
+Misty De Meo                        misty@brew.sh
+Mo DeJong                           mdejong@redhat.com
+Mocha                               netbsd_alpha@yahoo.com
+Morten Eriksen                      mortene@sim.no
+Mumit Khan                          khan@xraylith.wisc.edu
+Naofumi Yasufuku                    naofumi@yasufuku.net
+Nick Bowler                         nbowler@draconx.ca
+Nick Hudson                         nick@nthcliff.demon.co.uk
+Nick Rasmussen                      nick@jive.org
+NIIBE Yutaka                        gniibe@m17n.org
+Nix                                 nix@esperi.org.uk
+Noah Misch                          noah@cs.caltech.edu
+Olaf Lenz                           olenz@fias.uni-frankfurt.de
+Olivier Blin                        olivier.blin@softathome.com
+Ollie Wild                          aaw@google.com
+Olly Betts                          olly@muscat.co.uk
+Ondřej Bílka                        neleai@seznam.cz
+Ozkan Sezer                         sezeroz@gmail.com
+Paolo Bonzini                       bonzini@gnu.org
+Patrice Fromy                       patrice.fromy@u-psud.fr
+Patrick Welche                      prlw1@newn.cam.ac.uk
+Paul Berrevoets                     paul@swi.com
+Paul Biggar                         paul.biggar@gmail.com
+Paul Eggert                         eggert@cs.ucla.edu
+Paul Laight                         plaight@quantxautomation.co.uk
+Paul Seidler                        sepek@lavabit.com
+Paul Sokolovsky                     Paul.Sokolovsky@technologist.com
+Pavel (Pasha) Shamis                shamisp@ornl.gov
+Pavel Raiskup                       praiskup@redhat.com
+Pavel Roskin                        pavel_roskin@geocities.com
+Paweł Daniluk                       pawel@bioexploratorium.pl
+Per Bothner                         per@bothner.com
+Peter Breitenlohner                 peb@mppmu.mpg.de
+Peter Eisentraut                    peter_e@gmx.net
+Peter Ekberg                        peda@axentia.se
+Peter Fritzsche                     peter.fritzsche@gmx.de
+Peter Jeremy                        peterjeremy@optushome.com.au
+Peter Johansson                     trojkan@gmail.com
+Peter Kjellerstedt                  peter.kjellerstedt@axis.com
+Peter Rosin                         peda@lysator.liu.se
+Philip Allison                      philip.allison@smoothwall.net
+Pierre Ossman                       ossman@ossman.lkpg.cendio.se
+Pádraig Brady                       P@draigBrady.com
+Rainer Emrich                       r.emrich@de.tecosim.com
+Rainer Orth                         ro@CeBiTec.Uni-Bielefeld.DE
+Rainer Tammer                       tammer@tammer.net
+Raja R Harinath                     harinath@cs.umn.edu
+Ralf Menzel                         menzel@ls6.cs.uni-dortmund.de
+Ralph Schleicher                    rs@nunatak.allgaeu.org
+Reid Spencer                        reid@x10sys.com
+Reuben Thomas                       rrt@sc3d.org
+Richard B. Kreckel                  kreckel@ginac.de
+Richard Dawe                        rich@phekda.freeserve.co.uk
+Richard Moseley                     dickie.moseley@virgin.net
+Richard Palo                        richard.palo@baou.fr
+Richard Purdie                      rpurdie@rpsys.net
+Richard Sandiford                   richards@transitive.com
+Robert Garron                       Robert.Garron@Access3000.net
+Robert Millan                       rmh@aybabtu.com
+Robert Ögren                        lists@roboros.com
+Roberto Bagnara                     bagnara@cs.unipr.it
+Roger Cornelius                     rac@tenzing.org
+Roland Mainz                        roland.mainz@nrubsig.org
+Roumen Petrov                       bugtrack@roumenpetrov.info
+Rudolf Leitgeb                      r.leitgeb@x-pin.com
+Ryan Hill                           dirtyepic@gentoo.org
+Sam Thursfield                      ssssam@gmail.com
+Samuel Meder                        meder@mcs.anl.gov
+Samuel Thibault                     samuel.thibault@ens-lyon.org
+Sascha Schumann                     sascha@schumann.cx
+Scott McCreary                      scottmc2@gmail.com
+Sebastian Wilhelmi                  wilhelmi@ira.uka.de
+Simon Josefsson                     jas@extundo.com
+Stas Maximov                        smaximov@ieee.org
+Stefan Nordhausen                   nordhaus@informatik.hu-berlin.de
+Stefan Sperling                     stsp@elego.de
+Stepan Kasal                        kasal@ucw.cz
+Stephan Kulow                       coolo@kde.org
+Stephane Conversy                   Stephane.Conversy@lri.fr
+Steve Ellcey                        sellcey@mips.com
+Steve Price                         sprice@hiwaay.net
+Steven M. Schultz                   sms@moe.2bsd.com
+Svante Signell                      srs@kth.se
+Sven Verdoolaege                    skimo@liacs.nl
+Syd Polk                            spolk@redhat.com
+Terry D. Dontje                     Terry.Dontje@Sun.COM
+Thorsten Glaser                     tg@66h.42h.de
+Tijl Coosemans                      tijl@FreeBSD.org
+Tilman Koschnick                    til@subnetz.org
+Tim Mooney                          mooney@dogbert.cc.ndsu.NoDak.edu
+Tim Rice                            tim@multitalents.net
+Tim Van Holder                      tim.van.holder@pandora.be
+Timothy Wall                        twall@oculustech.com
+Titus von Boxberg                   titus@v9g.de
+Tod Milam                           tmilam@traclabs.com
+Todd C. Miller                      Todd.Miller@courtesan.com
+Todd Vierling                       tv@duh.org
+Tom Kacvinsky                       tjk@ams.org
+Tom Tromey                          tromey@cygnus.com
+Tony Wyatt                          wyattaw@optushome.com.au
+Tor Lillqvist                       tml@iki.fi
+Toshio Kuratomi                     badger@prtr-13.ucsc.edu
+Török Edwin                         edwintorok@gmail.com
+Ulrich Drepper                      drepper@ipd.info.uni-karlsruhe.de
+Utz-Uwe Haus                        haus@mail.math.uni-magdeburg.de
+Vadim                               vadim@olly.ru
+Vadim Zeitlin                       vz-libtool@zeitlins.org
+Vincent Lefevre                     vincent@vinc17.net
+Vincent Torri                       doursse@users.sf.net
+Vladimir Kushnir                    kushn@mail.kar.net
+Volker Christian                    voc@soft.uni-linz.ac.at
+Václav Zeman                        vhaisman@gmail.com
+Warren Dodge                        warren.l.dodge@Tektronix.com
+Wesley W. Terpstra                  terpstra@ito.tu-darmstadt.de
+Wilfredo Sanchez                    wsanchez@apple.com
+William M. Perry                    wmperry@aventail.com
+Xavier Pianet                       xavier@xingo.com
+Xin LI                              d@delphij.net
+Yaakov Selkowitz                    yselkowitz@users.sourceforge.net
+Юрий Андреевич Пухальский           pooh@cryptopro.ru
 
-* The following people have made sufficiently significant code contributions
-  to Libtool that an exchange of legal papers with the FSF was warranted:
-
-  Gord Matzigkeit              gord@gnu.org                      1996-07-11
-  Kean Johnston                        jkj@sco.com                       1997-08-26
-  Gary V. Vaughan              gary@gnu.org                      1998-11-24
-  Alexandre Oliva              oliva@dcc.unicamp.br              1999-03-26
-  Thomas Tanner                        tanner@ffii.org                   1999-06-23
-  Pavel Roskin                 pavel_roskin@geocities.com        1999-07-20
-  Ossama Othman                        ossama@debian.org                 1999-12-06
-  Lars J. Aas                  lars@sim.no                       2000-07-07
-  Morten Eriksen               morten@sim.no                     2000-07-07
-  Robert Boehne                        rboehne@gnu.org                   2000-09-25
-  Stepan Kasal                 kasal@ucw.cz                      2000-04-12
-  Paul Sokolovsky              Paul.Sokolovsky@technologist.com  2000-05-06
-  Daniel P. McNichol           mcnichol@austin.ibm.com           2000-12-08
-  Bruce Korb                   bkorb@gnu.org                     2000-10-11
-  Tim Van Holder               tim.van.holder@pandora.be         2001-02-20
-  Derek R. Price               dprice@collab.net                 2001-03-12
-  Edward M. Lee                        tailbert@yahoo.com                2001-03-22
-  Erik Lindahl                 erik@theophys.kth.se              2001-08-22
-  Carsten Griwodz              griff@ifi.uio.no                  2001-08-29
-  Hans-Peter Nilsson           hp@bitrange.com                   2001-10-24
-  Akim Demaille                        akim@freefriends.org              2001-11-01
-  Francis James Franklin       fjf@alinameridon.com              2001-11-15
-  Robert Collins               rbtcollins@hotmail.com            2001-12-27
-  Michael Elizabeth Chastain   mec@shout.net                     2001-12-27
-  Nishio Futoshi               fut_nis@d3.dion.ne.jp             2002-01-23
-  Trevor Forbes                        trevorf@idl.com.au                2002-04-26
-  Charles S. Wilson            cwilson@ece.gatech.edu            2002-05-23
-  Federico G. Schwindt         fgsch@openbsd.org                 2002-05-21
-  Greg McGary                  greg@mcgary.org                   2002-06-05
-  Robert J. Friesenhahn                bfriesen@simple.dallas.tx.us      2002-06-27
-  Assar Westerlund             assar@kth.se                      2002-09-13
-  Allan Sandfeld Jensen                snowwolf@one2one-networks.com     2002-10-07
-  Ross Douglas Alexander       ross.alexander@uk.neceur.com      2002-10-29
-  Alexandre Duret-Lutz         duret_g@lrde.epita.fr             2002-11-06
-  Christian Cornelssen         ccorn@cs.tu-berlin.de             2002-11-05
-  Jan Kratochvil               project-libtool@jankratochvil.net 2003-01-28
-  Raja R. Harinath             harinath@acm.org                  2003-02-25
-  Paolo Bonzini                        bonzini@gnu.org                   2003-03-01
-  Richard Nicholas Somer Dawe  rich@phekda.freeserve.co.uk       2003-03-12
-  Peter O'Gorman               peter@pogma.com                   2003-03-14
-  Ralph Schleicher             rs@nunatak.allgaeu.org            2003-03-13
-  Keith Packard                        keithp@keithp.com                 2003-03-12
-  Felix Lee                    felix.1@canids.net                2003-03-31
-  Bernardo Innocenti           bernie@develer.com                2003-07-31
-  Albert Chin-A-Young          china@thewrittenword.com          2003-08-02
-  Scott Remnant                        scott@netsplit.com                2003-10-04
-  Robert Millan Hernandez      robertmh@gnu.org                  2003-10-16
-  Kevin Fleming                        kpfleming@backtobasicsmgmt.com    2003-11-17
-  Benjamin Reed                        ranger@befunk.com                 2004-02-08
-  Ralf Wildenhues              Ralf.Wildenhues@gmx.de            2004-02-12
-  Nick Hudson                  skrll@netbsd.org                  2004-03-29
-  Noah Jeffrey Misch           noah@cs.caltech.edu               2004-07-05
-  Thorsten Glaser              tg@66h.42h.de                     2004-10-11
-  Peter Rosin                  peda@lysator.liu.se               2005-04-12
-  Tim Rice                     tim@multitalents.net              2005-11-10
-  Eric Blake                   ebb9@byu.net                      2006-01-18
-  Yaakov Selkowitz             yselkowitz@users.sourceforge.net  2009-07-30
-
-
-* The following additional people made especially gracious contributions of
-  their time and energy in helping to track down bugs, port to new systems,
-  and generally assist in the libtool maintainership process:
-
-  Alan Hourihane               alanh@fairlite.co.uk
-  Alexei Sheplyakov            varg@theor.jinr.ru
-  Alon Bar-Lev                 alon.barlev@gmail.com
-  Andreas Schiffler            aschiffler@ferzkopp.net
-  Andreas Schwab               schwab@suse.de
-  Andrey Slepuhin              pooh@msu.ru
-  Aneesh Kumar K.V             kvaneesh@hotmail.com
-  Brad Smith                   brad@comstyle.com
-  Brent Leback                 brent.leback@st.com
-  Brian Barrett                        brbarret@osl.iu.edu
-  Bruno Haible                 haible@ilog.fr
-  Brice De Bruyne              bricedb@gmail.com
-  Camilo La Rota               camilo.larota@ens-lyon.fr
-  Carl D. Roth                 roth@cse.ucsc.edu
-  Chris Demetriou              cgd@google.com
-  Chris P. Ross                        cross@eng.us.uu.net
-  Christian Biesinger          cbiesinger@web.de
-  Christian Rössel            christian.roessel@gmx.de
-  Christoph Egger              Christoph_Egger@gmx.de
-  Christopher Hulbert          cchgroupmail@gmail.com
-  Craig Tierney                        Craig.Tierney@noaa.gov
-  Dalibor Topic                        robilad@kaffe.org
-  Dan McMahill                 mcmahill@mtl.mit.edu
-  Daniel Reed                  n@ml.org
-  Daniel Richard G.            skunk@iSKUNK.ORG
-  Dave Korn                    dave.korn.cygwin@googlemail.com
-  Dave Yost                    Dave@Yost.com
-  DJ Delorie                   dj@delorie.com
-  Donn Washburn                        n5xwb@comcast.net
-  Edouard G. Parmelan          Edouard.Parmelan@France.NCR.COM
-  Erez Zadok                   ezk@shekel.mcl.cs.columbia.edu
-  Eric Estievenart             eric@via.ecp.fr
-  Erik van Pienbroek           erik-gnu@vanpienbroek.nl
-  Ethan Mallove                        ethan.mallove@sun.com
-  Frank Ch. Eigler             fche@cygnus.com
-  Fred Cox                     sailorfred@yahoo.com
-  Gerald Pfeifer               gerald@pfeifer.com
-  H.J. Lu                      hjl@gnu.org
-  Henning Nielsen Lund         hnl_dk@amigaos.dk
-  Howard Chu                   hyc@highlandsun.com
-  Ian Lance Taylor             ian@cygnus.com
-  Ingo Weinhold                        ingo_weinhold@gmx.de
-  Jakub Bogusz                 qboosh@pld-linux.org
-  Jacob Meuser                 jakemsr@jakemsr.com
-  James Su                     james.su@gmail.com
-  Jan Engelhardt               jengelh@inai.de
-  Jay Krell                    jay.krell@cornell.edu
-  Jeff Squyres                 jsquyres@lam-mpi.org
-  Jeremy C. Reed               reed@reedmedia.net
-  Jim Meyering                 jim@meyering.net
-  Joakim Tjernlund             joakim.tjernlund@transmode.se
-  Joel N. Weber II             devnull@gnu.org
-  Joerg Sonnenberger           joerg@netbsd.org
-  John Bowler                  jbowler@acm.org
-  John R. Cary                 cary@txcorp.com
-  John Wolfe                   jlw@sco.com
-  Josh Hursey                  jjhursey@open-mpi.org
-  Joseph Beckenbach III                jrb3@best.com
-  Karl Berry                   karl@freefriends.org
-  Kenneth Albanowski           kjahds@kjahds.com
-  Kevin Ryde                   user42@zip.com.au
-  Khem Raj                      raj.khem@gmail.com
-  KO Myung-Hun                 komh@chollian.net
-  Kurt D. Zeilenga             Kurt@OpenLDAP.Org
-  Lawrence Velázquez          larryv@macports.org
-  Lennart Poettering           lennart@poettering.net
-  Lionel Landwerlin             llandwerlin@gmail.com
-  Maciej Helminiak             dion2@wp.pl
-  Maciej W. Rozycki            macro@linux-mips.org
-  Mahesh Narayanamurthi                mahesh.mach@gmail.com
-  Manfred Weichel              Manfred.Weichel@pdb.siemens.de
-  Marc Espie                   espie@nerim.net
-  Marc J. Fraioli              fraioli@dg-rtp.dg.com
-  Marcel Loose                 loose@astron.nl
-  Mark Kettenis                        kettenis@phys.uva.nl
-  Markus Duft                  markus.duft@salomon.at
-  Martin Doucha                        doucha@integri.cz
-  Matthijs Kooijman            matthijs@stdin.nl
-  Micheal E. Faenza            mfaenza@mitre.org
-  Michael Haubenwallner                michael.haubenwallner@salomon.at
-  Mike Gorchak                 mike@malva.ua
-  Mike Frysinger               vapier@gentoo.org
-  Mike Miller                  mtmiller@ieee.org
-  Nick Bowler                  nbowler@draconx.ca
-  Nix                          nix@esperi.org.uk
-  Olaf Lenz                    olenz@fias.uni-frankfurt.de
-  Olly Betts                   olly@muscat.co.uk
-  Ozkan Sezer                  sezeroz@gmail.com
-  Pádraig Brady                       P@draigBrady.com
-  Patrice Fromy                        patrice.fromy@u-psud.fr
-  Patrick Welche               prlw1@newn.cam.ac.uk
-  Paul Biggar                  paul.biggar@gmail.com
-  Paul Eggert                  eggert@twinsun.com
-  Paul Laight                  plaight@quantxautomation.co.uk
-  Paul Seidler                 sepek@lavabit.com
-  Pavel Raiskup                        praiskup@redhat.com
-  Paweł Daniluk                       pawel@bioexploratorium.pl
-  Peter Eisentraut             peter_e@gmx.net
-  Peter Fritzsche              peter.fritzsche@gmx.de
-  Peter Jeremy                 peterjeremy@optushome.com.au
-  Peter Kjellerstedt           peter.kjellerstedt@axis.com
-  Philip Allison               philip.allison@smoothwall.net
-  Rainer Emrich                        r.emrich@de.tecosim.com
-  Rainer Orth                  ro@TechFak.Uni-Bielefeld.DE
-  Rainer Tammer                        tammer@tammer.net
-  Ralf Menzel                  menzel@ls6.cs.uni-dortmund.de
-  Reuben Thomas                        rrt@sc3d.org
-  Richard B. Kreckel           kreckel@ginac.de
-  Richard Palo                 richard.palo@baou.fr
-  Richard Purdie               rpurdie@rpsys.net
-  Richard Sandiford            richards@transitive.com
-  Robert Garron                        Robert.Garron@Access3000.net
-  Robert Millan                        rmh@aybabtu.com
-  Robert Ögren                        lists@roboros.com
-  Roberto Bagnara              bagnara@cs.unipr.it
-  Roland Mainz                 roland.mainz@nrubsig.org
-  Roumen Petrov                        bugtrack@roumenpetrov.info
-  Rudolf Leitgeb               r.leitgeb@x-pin.com
-  Ryan Hill                    dirtyepic@gentoo.org
-  Sam Thursfield               ssssam@gmail.com
-  Scott McCreary               scottmc2@gmail.com
-  Sebastian Wilhelmi           wilhelmi@ira.uka.de
-  Simon Josefsson              jas@extundo.com
-  Stephan Kulow                        coolo@kde.org
-  Steve Ellcey                 sje@cup.hp.com
-  Steven M. Schultz            sms@wlv.iipo.gtegsc.com
-  Svante Signell               srs@kth.se
-  Sven Verdoolaege             skimo@liacs.nl
-  Terry D. Dontje              Terry.Dontje@Sun.COM
-  Tim Mooney                   mooney@dogbert.cc.ndsu.NoDak.edu
-  Todd C. Miller               Todd.Miller@courtesan.com
-  Todd Vierling                        tv@pobox.com
-  Tom Tromey                   tromey@cygnus.com
-  Tor Lillqvist                        tml@iki.fi
-  Ulrich Drepper               drepper@ipd.info.uni-karlsruhe.de
-  Warren Dodge                 warren.l.dodge@Tektronix.com
-  Vadim Zeitlin                        vz-libtool@zeitlins.org
-  Vincent Lefevre              vincent@vinc17.org
-  Vincent Torri                        vtorri@univ-evry.fr
-  Xavier Pianet                        xavier@xingo.com
-  Юрий Андреевич Пухальский     pooh@cryptopro.ru
-
-
-* And, not forgetting everyone that was kind enough to spend time testing
-  libtool, use it in their packages and report bugs, all of whom are too
-  numerous to mention here.  Many people who have kindly submitted bug reports
-  and small patches are credited for their contributions in the ChangeLogs.
-
--- 
-  Copyright (C) 1996, 1998-1999, 2001-2014 Free Software Foundation,
-  Inc.
-  Written by Gord Matzigkeit, 1996
-
-  This file is part of GNU Libtool.
-
-GNU Libtool is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License as
-published by the Free Software Foundation; either version 2 of
-the License, or (at your option) any later version.
-
-GNU Libtool is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Libtool; see the file COPYING.  If not, a copy
-can be downloaded from  http://www.gnu.org/licenses/gpl.html,
-or obtained by writing to the Free Software Foundation, Inc.,
-51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+;; Local Variables:
+;; coding: utf-8
+;; End:
index 99e4d58..beaa21e 100644 (file)
@@ -1148,11 +1148,11 @@ AC_SUBST([am__untar])
 ]) # _AM_PROG_TAR
 
 m4_include([m4/00gnulib.m4])
-m4_include([m4/argz.m4])
 m4_include([m4/autobuild.m4])
 m4_include([m4/gnulib-common.m4])
 m4_include([m4/gnulib-comp.m4])
 m4_include([m4/libtool.m4])
+m4_include([m4/ltargz.m4])
 m4_include([m4/ltdl.m4])
 m4_include([m4/ltoptions.m4])
 m4_include([m4/ltsugar.m4])
index 0d9b152..45d41ec 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -2563,7 +2563,7 @@ test extract-trace = "$progname" && func_main "$@"
 # End:
 
 # Set a version string for *this* script.
-scriptversion=2014-10-19.23; # UTC
+scriptversion=2014-11-04.13; # UTC
 
 
 ## ------------------- ##
@@ -3546,7 +3546,7 @@ func_require_buildreq_patch ()
       # The ugly find invocation is necessary to exit with non-zero
       # status for old find binaries that don't support -exec fully.
       if test ! -d "$local_gl_dir" \
-          || find "$local_gl_dir" -name *.diff -exec false {} \; ; then :
+          || find "$local_gl_dir" -name "*.diff" -exec false {} \; ; then :
       else
           func_append buildreq 'patch - http://www.gnu.org/s/patch
 '
@@ -4021,6 +4021,9 @@ func_require_libtoolize ()
       func_find_tool LIBTOOLIZE libtoolize glibtoolize
     }
 
+    test -n "$LIBTOOLIZE" || func_fatal_error "\
+Please install GNU Libtool, or 'export LIBTOOLIZE=/path/to/libtoolize'."
+
     func_verbose "export LIBTOOLIZE='$LIBTOOLIZE'"
 
     # Make sure the search result is visible to subshells
@@ -4258,6 +4261,9 @@ func_require_patch ()
       func_find_tool PATCH gpatch patch
     }
 
+    test -n "$PATCH" || func_fatal_error "\
+Please install GNU Patch, or 'export PATCH=/path/to/gnu/patch'."
+
     func_verbose "export PATCH='$PATCH'"
 
     # Make sure the search result is visible to subshells
@@ -4895,6 +4901,9 @@ func_update_po_files ()
     # Find sha1sum, named gsha1sum on MacPorts, and shasum on MacOS 10.6+.
     func_find_tool SHA1SUM sha1sum gsha1sum shasum sha1
 
+    test -n "$SHA1SUM" || func_fatal_error "\
+Please install GNU Coreutils, or 'export SHA1SUM=/path/to/sha1sum'."
+
     _G_langs=`cd $_G_ref_po_dir && echo *.po|$SED 's|\.po||g'`
     test '*' = "$_G_langs" && _G_langs=x
     for _G_po in $_G_langs; do
index c8614cb..9606e64 100644 (file)
@@ -1,4 +1,4 @@
-# bootstrap.conf (GNU Libtool) version 2011-11-24
+# bootstrap.conf (GNU Libtool) version 2014-11-18
 #
 # Copyright (C) 2010-2014 Free Software Foundation, Inc.
 # Written by Gary V. Vaughan, 2010
@@ -138,6 +138,8 @@ func_libtoolize ()
 # validation.
 libtool_prep ()
 {
+    $debug_cmd
+
     # initial clean-up of checked out tree
     find . -depth \( -name autom4te.cache -o -name libtool \) -print \
       | grep -v '{arch}' \
@@ -307,7 +309,8 @@ libtool_cleanup_empty_dirs ()
 {
     $debug_cmd
 
-    my_gnulib_source=${source_base-'lib'}
+    my_gnulib_source=${source_base:-'lib'}
+
     if test -d "$my_gnulib_source"; then
       rm -f "$my_gnulib_source/.gitignore" "$my_gnulib_source/Makefile.am" || exit 1
       rmdir "$my_gnulib_source" || exit 1
@@ -327,6 +330,8 @@ func_add_hook func_fini libtool_cleanup_empty_dirs
 require_ltdl_dir=func_require_ltdl_dir
 func_require_ltdl_dir ()
 {
+    $debug_cmd
+
     $require_configure_ac
 
     func_extract_trace LT_CONFIG_LTDL_DIR
@@ -353,6 +358,8 @@ func_require_ltdl_dir ()
 require_package_url=libtool_require_package_url
 libtool_require_package_url ()
 {
+    $debug_cmd
+
     $require_configure_ac
 
     func_extract_trace AC_INIT
index 1f5c50c..6c32c86 100755 (executable)
@@ -2,7 +2,7 @@
 # Attempt to guess a canonical system name.
 #   Copyright 1992-2014 Free Software Foundation, Inc.
 
-timestamp='2014-03-23'
+timestamp='2014-11-04'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -24,12 +24,12 @@ timestamp='2014-03-23'
 # program.  This Exception is an additional permission under section 7
 # of the GNU General Public License, version 3 ("GPLv3").
 #
-# Originally written by Per Bothner.
+# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
 #
 # You can get the latest version of this script from:
 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
 #
-# Please send patches with a ChangeLog entry to config-patches@gnu.org.
+# Please send patches to <config-patches@gnu.org>.
 
 
 me=`echo "$0" | sed -e 's,.*/,,'`
@@ -579,8 +579,9 @@ EOF
        else
                IBM_ARCH=powerpc
        fi
-       if [ -x /usr/bin/oslevel ] ; then
-               IBM_REV=`/usr/bin/oslevel`
+       if [ -x /usr/bin/lslpp ] ; then
+               IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
+                          awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
        else
                IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
        fi
index d4c8338..7cc68ba 100755 (executable)
@@ -25,7 +25,7 @@ timestamp='2014-09-26'
 # of the GNU General Public License, version 3 ("GPLv3").
 
 
-# Please send patches with a ChangeLog entry to config-patches@gnu.org.
+# Please send patches to <config-patches@gnu.org>.
 #
 # Configuration subroutine to validate and canonicalize a configuration type.
 # Supply the specified configuration type as an argument.
index 8b5945b..a72c007 100644 (file)
@@ -499,7 +499,7 @@ libtool_validate_options ()
     case $host in
       # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
       # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
-      *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2*)
+      *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
         # don't eliminate duplications in $postdeps and $predeps
         opt_duplicate_compiler_generated_deps=:
         ;;
@@ -1818,7 +1818,8 @@ The following components of LINK-COMMAND are treated specially:
   -no-install       link a not-installable executable
   -no-undefined     declare that a library does not refer to external symbols
   -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
-  -objectlist FILE  Use a list of object files found in FILE to specify objects
+  -objectlist FILE  use a list of object files found in FILE to specify objects
+  -os2dllname NAME  force a short DLL name on OS/2 (no effect on other OSes)
   -precious-files-regex REGEX
                     don't remove output files matching REGEX
   -release RELEASE  specify package release information
@@ -2400,6 +2401,13 @@ func_mode_install ()
              ;;
            esac
            ;;
+         os2*)
+           case $realname in
+           *_dll.a)
+             tstripme=
+             ;;
+           esac
+           ;;
          esac
          if test -n "$tstripme" && test -n "$striplib"; then
            func_show_eval "$striplib $destdir/$realname" 'exit $?'
@@ -3241,7 +3249,7 @@ func_extract_archives ()
              $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive"
            done # $darwin_arches
             ## Okay now we've a bunch of thin objects, gotta fatten them up :)
-           darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
+           darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u`
            darwin_file=
            darwin_files=
            for darwin_file in $darwin_filelist; do
@@ -4599,6 +4607,7 @@ func_mode_link ()
     module=no
     no_install=no
     objs=
+    os2dllname=
     non_pic_objects=
     precious_files_regex=
     prefer_static_libs=no
@@ -4856,6 +4865,11 @@ func_mode_link ()
          prev=
          continue
          ;;
+       os2dllname)
+         os2dllname=$arg
+         prev=
+         continue
+         ;;
        precious_regex)
          precious_files_regex=$arg
          prev=
@@ -5165,6 +5179,11 @@ func_mode_link ()
        continue
        ;;
 
+      -os2dllname)
+       prev=os2dllname
+       continue
+       ;;
+
       -o) prev=output ;;
 
       -precious-files-regex)
@@ -5328,6 +5347,25 @@ func_mode_link ()
         continue
         ;;
 
+      -Z*)
+        if test os2 = "`expr $host : '.*\(os2\)'`"; then
+          # OS/2 uses -Zxxx to specify OS/2-specific options
+         compiler_flags="$compiler_flags $arg"
+         func_append compile_command " $arg"
+         func_append finalize_command " $arg"
+         case $arg in
+         -Zlinker | -Zstack)
+           prev=xcompiler
+           ;;
+         esac
+         continue
+        else
+         # Otherwise treat like 'Some other compiler flag' below
+         func_quote_for_eval "$arg"
+         arg=$func_quote_for_eval_result
+        fi
+       ;;
+
       # Some other compiler flag.
       -* | +*)
         func_quote_for_eval "$arg"
@@ -6154,7 +6192,7 @@ func_mode_link ()
        if test -n "$library_names" &&
           { test no = "$use_static_libs" || test -z "$old_library"; }; then
          case $host in
-         *cygwin* | *mingw* | *cegcc*)
+         *cygwin* | *mingw* | *cegcc* | *os2*)
              # No point in relinking DLLs because paths are not encoded
              func_append notinst_deplibs " $lib"
              need_relink=no
@@ -6224,7 +6262,7 @@ func_mode_link ()
            elif test -n "$soname_spec"; then
              # bleh windows
              case $host in
-             *cygwin* | mingw* | *cegcc*)
+             *cygwin* | mingw* | *cegcc* | *os2*)
                func_arith $current - $age
                major=$func_arith_result
                versuffix=-$major
@@ -6796,13 +6834,13 @@ func_mode_link ()
          #
          case $version_type in
          # correct linux to gnu/linux during the next big refactor
-         darwin|linux|osf|windows|none)
+         darwin|freebsd-elf|linux|osf|windows|none)
            func_arith $number_major + $number_minor
            current=$func_arith_result
            age=$number_minor
            revision=$number_revision
            ;;
-         freebsd-aout|freebsd-elf|qnx|sunos)
+         freebsd-aout|qnx|sunos)
            current=$number_major
            revision=$number_minor
            age=0
@@ -6888,8 +6926,9 @@ func_mode_link ()
          ;;
 
        freebsd-elf)
-         major=.$current
-         versuffix=.$current
+         func_arith $current - $age
+         major=.$func_arith_result
+         versuffix=$major.$age.$revision
          ;;
 
        irix | nonstopux)
@@ -6952,6 +6991,11 @@ func_mode_link ()
          versuffix=.$current
          ;;
 
+       sco)
+         major=.$current
+         versuffix=.$current
+         ;;
+
        sunos)
          major=.$current
          versuffix=.$current.$revision
index 555b763..5eca4ae 100644 (file)
@@ -2,7 +2,7 @@
 ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
 ##               by inline-source v2014-01-03.01
 
-# libtool (GNU libtool) 2.4.3
+# libtool (GNU libtool) 2.4.4
 # Provide generalized library-building support services.
 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 
@@ -31,8 +31,8 @@
 
 PROGRAM=libtool
 PACKAGE=libtool
-VERSION=2.4.3
-package_revision=2.4.3
+VERSION=2.4.4
+package_revision=2.4.4
 
 
 ## ------ ##
@@ -1977,7 +1977,7 @@ func_version ()
 # End:
 
 # Set a version string.
-scriptversion='(GNU libtool) 2.4.3'
+scriptversion='(GNU libtool) 2.4.4'
 
 
 # func_echo ARG...
@@ -2063,7 +2063,7 @@ include the following information:
        compiler:       $LTCC
        compiler flags: $LTCFLAGS
        linker:         $LD (gnu? $with_gnu_ld)
-       version:        $progname (GNU libtool) 2.4.3
+       version:        $progname (GNU libtool) 2.4.4
        automake:       `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
        autoconf:       `($AUTOCONF --version) 2>/dev/null |$SED 1q`
 
@@ -2411,7 +2411,7 @@ libtool_validate_options ()
     case $host in
       # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
       # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
-      *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2*)
+      *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
         # don't eliminate duplications in $postdeps and $predeps
         opt_duplicate_compiler_generated_deps=:
         ;;
@@ -3730,7 +3730,8 @@ The following components of LINK-COMMAND are treated specially:
   -no-install       link a not-installable executable
   -no-undefined     declare that a library does not refer to external symbols
   -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
-  -objectlist FILE  Use a list of object files found in FILE to specify objects
+  -objectlist FILE  use a list of object files found in FILE to specify objects
+  -os2dllname NAME  force a short DLL name on OS/2 (no effect on other OSes)
   -precious-files-regex REGEX
                     don't remove output files matching REGEX
   -release RELEASE  specify package release information
@@ -4312,6 +4313,13 @@ func_mode_install ()
              ;;
            esac
            ;;
+         os2*)
+           case $realname in
+           *_dll.a)
+             tstripme=
+             ;;
+           esac
+           ;;
          esac
          if test -n "$tstripme" && test -n "$striplib"; then
            func_show_eval "$striplib $destdir/$realname" 'exit $?'
@@ -5153,7 +5161,7 @@ func_extract_archives ()
              $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive"
            done # $darwin_arches
             ## Okay now we've a bunch of thin objects, gotta fatten them up :)
-           darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
+           darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u`
            darwin_file=
            darwin_files=
            for darwin_file in $darwin_filelist; do
@@ -6511,6 +6519,7 @@ func_mode_link ()
     module=no
     no_install=no
     objs=
+    os2dllname=
     non_pic_objects=
     precious_files_regex=
     prefer_static_libs=no
@@ -6768,6 +6777,11 @@ func_mode_link ()
          prev=
          continue
          ;;
+       os2dllname)
+         os2dllname=$arg
+         prev=
+         continue
+         ;;
        precious_regex)
          precious_files_regex=$arg
          prev=
@@ -7077,6 +7091,11 @@ func_mode_link ()
        continue
        ;;
 
+      -os2dllname)
+       prev=os2dllname
+       continue
+       ;;
+
       -o) prev=output ;;
 
       -precious-files-regex)
@@ -7240,6 +7259,25 @@ func_mode_link ()
         continue
         ;;
 
+      -Z*)
+        if test os2 = "`expr $host : '.*\(os2\)'`"; then
+          # OS/2 uses -Zxxx to specify OS/2-specific options
+         compiler_flags="$compiler_flags $arg"
+         func_append compile_command " $arg"
+         func_append finalize_command " $arg"
+         case $arg in
+         -Zlinker | -Zstack)
+           prev=xcompiler
+           ;;
+         esac
+         continue
+        else
+         # Otherwise treat like 'Some other compiler flag' below
+         func_quote_for_eval "$arg"
+         arg=$func_quote_for_eval_result
+        fi
+       ;;
+
       # Some other compiler flag.
       -* | +*)
         func_quote_for_eval "$arg"
@@ -8066,7 +8104,7 @@ func_mode_link ()
        if test -n "$library_names" &&
           { test no = "$use_static_libs" || test -z "$old_library"; }; then
          case $host in
-         *cygwin* | *mingw* | *cegcc*)
+         *cygwin* | *mingw* | *cegcc* | *os2*)
              # No point in relinking DLLs because paths are not encoded
              func_append notinst_deplibs " $lib"
              need_relink=no
@@ -8136,7 +8174,7 @@ func_mode_link ()
            elif test -n "$soname_spec"; then
              # bleh windows
              case $host in
-             *cygwin* | mingw* | *cegcc*)
+             *cygwin* | mingw* | *cegcc* | *os2*)
                func_arith $current - $age
                major=$func_arith_result
                versuffix=-$major
@@ -8708,13 +8746,13 @@ func_mode_link ()
          #
          case $version_type in
          # correct linux to gnu/linux during the next big refactor
-         darwin|linux|osf|windows|none)
+         darwin|freebsd-elf|linux|osf|windows|none)
            func_arith $number_major + $number_minor
            current=$func_arith_result
            age=$number_minor
            revision=$number_revision
            ;;
-         freebsd-aout|freebsd-elf|qnx|sunos)
+         freebsd-aout|qnx|sunos)
            current=$number_major
            revision=$number_minor
            age=0
@@ -8800,8 +8838,9 @@ func_mode_link ()
          ;;
 
        freebsd-elf)
-         major=.$current
-         versuffix=.$current
+         func_arith $current - $age
+         major=.$func_arith_result
+         versuffix=$major.$age.$revision
          ;;
 
        irix | nonstopux)
@@ -8864,6 +8903,11 @@ func_mode_link ()
          versuffix=.$current
          ;;
 
+       sco)
+         major=.$current
+         versuffix=.$current
+         ;;
+
        sunos)
          major=.$current
          versuffix=.$current.$revision
index 6312dad..54cf667 100644 (file)
@@ -3,7 +3,7 @@
 % Load plain if necessary, i.e., if running under initex.
 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
 %
-\def\texinfoversion{2014-05-20.16}
+\def\texinfoversion{2014-11-14.07}
 %
 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -1010,24 +1010,15 @@ where each line of input produces a line of output.}
 % paragraph.
 %
 \gdef\dosuppressfirstparagraphindent{%
-  \gdef\indent{%
-    \restorefirstparagraphindent
-    \indent
-  }%
-  \gdef\noindent{%
-    \restorefirstparagraphindent
-    \noindent
-  }%
-  \global\everypar = {%
-    \kern -\parindent
-    \restorefirstparagraphindent
-  }%
+  \gdef\indent  {\restorefirstparagraphindent \indent}%
+  \gdef\noindent{\restorefirstparagraphindent \noindent}%
+  \global\everypar = {\kern -\parindent \restorefirstparagraphindent}%
 }
-
+%
 \gdef\restorefirstparagraphindent{%
-  \global \let \indent = \ptexindent
-  \global \let \noindent = \ptexnoindent
-  \global \everypar = {}%
+  \global\let\indent = \ptexindent
+  \global\let\noindent = \ptexnoindent
+  \global\everypar = {}%
 }
 
 
@@ -5739,13 +5730,16 @@ end
 %
 % #1 is the text, #2 is the section type (Ynumbered, Ynothing,
 % Yappendix, Yomitfromtoc), #3 the chapter number.
+% Not used for @heading series.
 %
 % To test against our argument.
 \def\Ynothingkeyword{Ynothing}
-\def\Yomitfromtockeyword{Yomitfromtoc}
 \def\Yappendixkeyword{Yappendix}
+\def\Yomitfromtockeyword{Yomitfromtoc}
 %
 \def\chapmacro#1#2#3{%
+  \checkenv{}% chapters, etc., should not start inside an environment.
+  %
   % Insert the first mark before the heading break (see notes for \domark).
   \let\prevchapterdefs=\lastchapterdefs
   \let\prevsectiondefs=\lastsectiondefs
@@ -5798,6 +5792,7 @@ end
   %
   {%
     \chapfonts \rmisbold
+    \let\footnote=\errfootnoteheading % give better error message
     %
     % Have to define \lastsection before calling \donoderef, because the
     % xref code eventually uses it.  On the other hand, it has to be called
@@ -5891,22 +5886,29 @@ end
 
 % Print any size, any type, section title.
 %
-% #1 is the text, #2 is the section level (sec/subsec/subsubsec), #3 is
-% the section type for xrefs (Ynumbered, Ynothing, Yappendix), #4 is the
-% section number.
+% #1 is the text of the title,
+% #2 is the section level (sec/subsec/subsubsec),
+% #3 is the section type (Ynumbered, Ynothing, Yappendix, Yomitfromtoc),
+% #4 is the section number.
 %
 \def\seckeyword{sec}
 %
 \def\sectionheading#1#2#3#4{%
   {%
-    \checkenv{}% should not be in an environment.
+    \def\sectionlevel{#2}%
+    \def\temptype{#3}%
+    %
+    % It is ok for the @heading series commands to appear inside an
+    % environment (it's been historically allowed, though the logic is
+    % dubious), but not the others.
+    \ifx\temptype\Yomitfromtockeyword\else
+      \checkenv{}% non-@*heading should not be in an environment.
+    \fi
+    \let\footnote=\errfootnoteheading
     %
     % Switch to the right set of fonts.
     \csname #2fonts\endcsname \rmisbold
     %
-    \def\sectionlevel{#2}%
-    \def\temptype{#3}%
-    %
     % Insert first mark before the heading break (see notes for \domark).
     \let\prevsectiondefs=\lastsectiondefs
     \ifx\temptype\Ynothingkeyword
@@ -8359,9 +8361,6 @@ end
 %
 % Auto-number footnotes.  Otherwise like plain.
 \gdef\footnote{%
-  \let\indent=\ptexindent
-  \let\noindent=\ptexnoindent
-  %
   \global\advance\footnoteno by \@ne
   \edef\thisfootno{$^{\the\footnoteno}$}%
   %
@@ -8388,7 +8387,7 @@ end
   %
   % Nested footnotes are not supported in TeX, that would take a lot
   % more work.  (\startsavinginserts does not suffice.)
-  \let\footnote=\errfootnote
+  \let\footnote=\errfootnotenest
   %
   % We want to typeset this text as a normal paragraph, even if the
   % footnote reference occurs in (for example) a display environment.
@@ -8427,12 +8426,17 @@ end
 }
 }%end \catcode `\@=11
 
-\def\errfootnote{%
+\def\errfootnotenest{%
   \errhelp=\EMsimple
   \errmessage{Nested footnotes not supported in texinfo.tex,
     even though they work in makeinfo; sorry}
 }
 
+\def\errfootnoteheading{%
+  \errhelp=\EMsimple
+  \errmessage{Footnotes in chapters, sections, etc., are not supported}
+}
+
 % In case a @footnote appears in a vbox, save the footnote text and create
 % the real \insert just after the vbox finished.  Otherwise, the insertion
 % would be lost.
diff --git a/cfg.mk b/cfg.mk
index de3aef3..497e53e 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -24,7 +24,7 @@
 update-copyright-env := UPDATE_COPYRIGHT_FORCE=1 UPDATE_COPYRIGHT_USE_INTERVALS=1
 
 # Set format of NEWS
-old_NEWS_hash := d41d8cd98f00b204e9800998ecf8427e
+old_NEWS_hash := e524180c3db06628ad97e3fcb35f6a4b
 
 manual_title = Portable Dynamic Shared Object Management
 
index e87f460..65d7268 100644 (file)
 /* Define to the shared library suffix, say, ".dylib". */
 #undef LT_SHARED_EXT
 
+/* Define to the shared archive member specification, say "(shr.o)". */
+#undef LT_SHARED_LIB_MEMBER
+
 /* Define if dlsym() requires a leading underscore in symbol names. */
 #undef NEED_USCORE
 
index b02bd08..d924b48 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for GNU Libtool 2.4.3.
+# Generated by GNU Autoconf 2.69 for GNU Libtool 2.4.4.
 #
 # Report bugs to <bug-libtool@gnu.org>.
 #
@@ -594,8 +594,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='GNU Libtool'
 PACKAGE_TARNAME='libtool'
-PACKAGE_VERSION='2.4.3'
-PACKAGE_STRING='GNU Libtool 2.4.3'
+PACKAGE_VERSION='2.4.4'
+PACKAGE_STRING='GNU Libtool 2.4.4'
 PACKAGE_BUGREPORT='bug-libtool@gnu.org'
 PACKAGE_URL='http://www.gnu.org/software/libtool/'
 
@@ -649,6 +649,7 @@ HELP2MAN
 GLtests_WITNESS
 GL_COND_LIBTOOL_FALSE
 GL_COND_LIBTOOL_TRUE
+with_aix_soname
 to_tool_file_cmd
 to_host_file_cmd
 RC
@@ -674,7 +675,7 @@ CONVENIENCE_LTDL_FALSE
 CONVENIENCE_LTDL_TRUE
 INSTALL_LTDL_FALSE
 INSTALL_LTDL_TRUE
-ARGZ_H
+LT_ARGZ_H
 LIBOBJS
 sys_symbol_underscore
 LIBADD_DL
@@ -817,6 +818,7 @@ enable_shared
 enable_static
 with_pic
 enable_fast_install
+with_aix_soname
 with_gnu_ld
 with_sysroot
 enable_libtool_lock
@@ -1378,7 +1380,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures GNU Libtool 2.4.3 to adapt to many kinds of systems.
+\`configure' configures GNU Libtool 2.4.4 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1448,7 +1450,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of GNU Libtool 2.4.3:";;
+     short | recursive ) echo "Configuration of GNU Libtool 2.4.4:";;
    esac
   cat <<\_ACEOF
 
@@ -1475,6 +1477,9 @@ Optional Packages:
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
                           both]
+  --with-aix-soname=aix|svr4|both
+                          shared library versioning (aka "SONAME") variant to
+                          provide on AIX, [default=aix].
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
                           compiler's sysroot if not specified).
@@ -1564,7 +1569,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-GNU Libtool configure 2.4.3
+GNU Libtool configure 2.4.4
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2231,7 +2236,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by GNU Libtool $as_me 2.4.3, which was
+It was created by GNU Libtool $as_me 2.4.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2659,7 +2664,7 @@ AUTOTEST='$(AUTOM4TE) --language=autotest'
 
 # This is a sanity check so we can see what version is used in bug reports.
 $as_echo "## ------------------------- ##
-## Configuring libtool 2.4.3 ##
+## Configuring libtool 2.4.4 ##
 ## ------------------------- ##"
 echo
 
@@ -3154,7 +3159,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='libtool'
- VERSION='2.4.3'
+ VERSION='2.4.4'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3294,7 +3299,7 @@ AM_BACKSLASH='\'
 # You can set autobuild_mode at configure time to specify a "unique"
 # string for this build.
 : ${autobuild_mode=default}
-AB_VERSION='2.4.3'
+AB_VERSION='2.4.4'
 # Make sure we can run config.sub.
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
@@ -5155,8 +5160,8 @@ esac
 
 
 
-macro_version='2.4.2.458.26-92994'
-macro_revision='2.4.3'
+macro_version='2.4.4'
+macro_revision='2.4.4'
 
 
 
@@ -6324,6 +6329,9 @@ sysv4 | sysv4.3*)
 tpf*)
   lt_cv_deplibs_check_method=pass_all
   ;;
+os2*)
+  lt_cv_deplibs_check_method=pass_all
+  ;;
 esac
 
 fi
@@ -8950,6 +8958,58 @@ fi
 
 
 
+  shared_archive_member_spec=
+case $host,$enable_shared in
+power*-*-aix[5-9]*,yes)
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
+$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
+
+# Check whether --with-aix-soname was given.
+if test "${with_aix_soname+set}" = set; then :
+  withval=$with_aix_soname; case $withval in
+    aix|svr4|both)
+      ;;
+    *)
+      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
+      ;;
+    esac
+    lt_cv_with_aix_soname=$with_aix_soname
+else
+  if ${lt_cv_with_aix_soname+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_with_aix_soname=aix
+fi
+
+    with_aix_soname=$lt_cv_with_aix_soname
+fi
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
+$as_echo "$with_aix_soname" >&6; }
+  if test aix != "$with_aix_soname"; then
+    # For the AIX way of multilib, we name the shared archive member
+    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
+    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
+    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
+    # the AIX toolchain works better with OBJECT_MODE set (default 32).
+    if test 64 = "${OBJECT_MODE-32}"; then
+      shared_archive_member_spec=shr_64
+    else
+      shared_archive_member_spec=shr
+    fi
+  fi
+  ;;
+*)
+  with_aix_soname=aix
+  ;;
+esac
+
+
+
+
+
+
+
 
 
 
@@ -9388,6 +9448,11 @@ lt_prog_compiler_static=
       # Although the cygwin gcc ignores -fPIC, still need this for old-style
       # (--disable-auto-import) libraries
       lt_prog_compiler_pic='-DDLL_EXPORT'
+      case $host_os in
+      os2*)
+       lt_prog_compiler_static='$wl-static'
+       ;;
+      esac
       ;;
 
     darwin* | rhapsody*)
@@ -9484,6 +9549,11 @@ lt_prog_compiler_static=
       # This hack is so that the source file can tell whether it is being
       # built for inclusion in a dll (and should export symbols for example).
       lt_prog_compiler_pic='-DDLL_EXPORT'
+      case $host_os in
+      os2*)
+       lt_prog_compiler_static='$wl-static'
+       ;;
+      esac
       ;;
 
     hpux9* | hpux10* | hpux11*)
@@ -10124,6 +10194,34 @@ _LT_EOF
       link_all_deplibs=yes
       ;;
 
+    os2*)
+      hardcode_libdir_flag_spec='-L$libdir'
+      hardcode_minus_L=yes
+      allow_undefined_flag=unsupported
+      shrext_cmds=.dll
+      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      enable_shared_with_static_runtimes=yes
+      ;;
+
     interix[3-9]*)
       hardcode_direct=no
       hardcode_shlibpath_var=no
@@ -10197,6 +10295,9 @@ _LT_EOF
         fi
 
        case $cc_basename in
+       tcc*)
+         export_dynamic_flag_spec='-rdynamic'
+         ;;
        xlf* | bgf* | bgxlf* | mpixlf*)
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
@@ -10326,19 +10427,35 @@ _LT_EOF
        no_entry_flag=
       else
        # If we're using GNU nm, then we don't want the "-C" option.
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
-       # Also, AIX nm treats weak defined symbols like other global
-       # defined symbols, whereas GNU nm marks them as "W".
+       # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+       # Without the "-l" option, or with the "-B" option, AIX nm treats
+       # weak defined symbols like other global defined symbols, whereas
+       # GNU nm marks them as "W".
+       # While the 'weak' keyword is ignored in the Export File, we need
+       # it in the Import File for the 'aix-soname' feature, so we have
+       # to replace the "-B" option with "-P" for AIX nm.
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-         export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
        else
-         export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
        fi
        aix_use_runtimelinking=no
 
        # Test if we are trying to use run time linking or normal
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
-       # need to do runtime linking.
+       # have runtime linking enabled, and use it for executables.
+       # For shared libraries, we enable/disable runtime linking
+       # depending on the kind of the shared library created -
+       # when "with_aix_soname,aix_use_runtimelinking" is:
+       # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "aix,yes"  lib.so          shared, rtl:yes, for executables
+       #            lib.a           static archive
+       # "both,no"  lib.so.V(shr.o) shared, rtl:yes
+       #            lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a(lib.so.V) shared, rtl:no
+       # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a           static archive
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
          for ld_flag in $LDFLAGS; do
          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
@@ -10346,6 +10463,13 @@ _LT_EOF
            break
          fi
          done
+         if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+           # With aix-soname=svr4, we create the lib.so.V shared archives only,
+           # so we don't have lib.a shared libs to link our executables.
+           # We have to force runtime linking in this case.
+           aix_use_runtimelinking=yes
+           LDFLAGS="$LDFLAGS -Wl,-brtl"
+         fi
          ;;
        esac
 
@@ -10365,6 +10489,14 @@ _LT_EOF
       hardcode_libdir_separator=':'
       link_all_deplibs=yes
       file_list_spec='$wl-f,'
+      case $with_aix_soname,$aix_use_runtimelinking in
+      aix,*) ;; # traditional, no import file
+      svr4,* | *,yes) # use import file
+       # The Import File defines what to hardcode.
+       hardcode_direct=no
+       hardcode_direct_absolute=no
+       ;;
+      esac
 
       if test yes = "$GCC"; then
        case $host_os in aix4.[012]|aix4.[012].*)
@@ -10392,6 +10524,11 @@ _LT_EOF
        if test yes = "$aix_use_runtimelinking"; then
          shared_flag="$shared_flag "'$wl-G'
        fi
+       # Need to ensure runtime linking is disabled for the traditional
+       # shared library, or the linker may eventually find shared libraries
+       # /with/ Import File - we do not want to mix them.
+       shared_flag_aix='-shared'
+       shared_flag_svr4='-shared $wl-G'
       else
        # not using gcc
        if test ia64 = "$host_cpu"; then
@@ -10404,6 +10541,8 @@ _LT_EOF
          else
            shared_flag='$wl-bM:SRE'
          fi
+         shared_flag_aix='$wl-bM:SRE'
+         shared_flag_svr4='$wl-G'
        fi
       fi
 
@@ -10411,7 +10550,7 @@ _LT_EOF
       # It seems that -bexpall does not export symbols beginning with
       # underscore (_), so it is better to generate a list of symbols to export.
       always_export_symbols=yes
-      if test yes = "$aix_use_runtimelinking"; then
+      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
        # Warning - without using the other runtime loading flags (-brtl),
        # -berok will link without error, but may produce a broken library.
        allow_undefined_flag='-berok'
            whole_archive_flag_spec='$convenience'
          fi
          archive_cmds_need_lc=yes
-         # This is similar to how AIX traditionally builds its shared libraries.
-         archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+         archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+         # -brtl affects multiple linker settings, -berok does not and is overridden later
+         compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+         if test svr4 != "$with_aix_soname"; then
+           # This is similar to how AIX traditionally builds its shared libraries.
+           archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+         fi
+         if test aix != "$with_aix_soname"; then
+           archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+         else
+           # used by -dlpreopen to get the symbols
+           archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
+         fi
+         archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
        fi
       fi
       ;;
@@ -10846,6 +10997,16 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       link_all_deplibs=yes
       ;;
 
+    linux*)
+      case $cc_basename in
+      tcc*)
+       # Fabrice Bellard et al's Tiny C Compiler
+       ld_shlibs=yes
+       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+       ;;
+      esac
+      ;;
+
     netbsd*)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
@@ -10891,8 +11052,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       hardcode_libdir_flag_spec='-L$libdir'
       hardcode_minus_L=yes
       allow_undefined_flag=unsupported
-      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
-      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+      shrext_cmds=.dll
+      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      enable_shared_with_static_runtimes=yes
       ;;
 
     osf3*)
@@ -11451,20 +11632,70 @@ aix[4-9]*)
       fi
       ;;
     esac
+    # Using Import Files as archive members, it is possible to support
+    # filename-based versioning of shared library archives on AIX. While
+    # this would work for both with and without runtime linking, it will
+    # prevent static linking of such archives. So we do filename-based
+    # shared library versioning with .so extension only, which is used
+    # when both runtime linking and shared linking is enabled.
+    # Unfortunately, runtime linking may impact performance, so we do
+    # not want this to be the default eventually. Also, we use the
+    # versioned .so libs for executables only if there is the -brtl
+    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+    # To allow for filename-based versioning support, we need to create
+    # libNAME.so.V as an archive file, containing:
+    # *) an Import File, referring to the versioned filename of the
+    #    archive as well as the shared archive member, telling the
+    #    bitwidth (32 or 64) of that shared object, and providing the
+    #    list of exported symbols of that shared object, eventually
+    #    decorated with the 'weak' keyword
+    # *) the shared object with the F_LOADONLY flag set, to really avoid
+    #    it being seen by the linker.
+    # At run time we better use the real file rather than another symlink,
+    # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+    case $with_aix_soname,$aix_use_runtimelinking in
     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
     # soname into executable. Probably we can add versioning support to
     # collect2, so additional links can be useful in future.
-    if test yes = "$aix_use_runtimelinking"; then
+    aix,yes) # traditional libtool
+      dynamic_linker='AIX unversionable lib.so'
       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       # instead of lib<name>.a to let people know that these are not
       # typical AIX shared libraries.
       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
-    else
+      ;;
+    aix,no) # traditional AIX only
+      dynamic_linker='AIX lib.a(lib.so.V)'
       # We preserve .a as extension for shared libraries through AIX4.2
       # and later when we are not doing run time linking.
       library_names_spec='$libname$release.a $libname.a'
       soname_spec='$libname$release$shared_ext$major'
-    fi
+      ;;
+    svr4,*) # full svr4 only
+      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+      # We do not specify a path in Import Files, so LIBPATH fires.
+      shlibpath_overrides_runpath=yes
+      ;;
+    *,yes) # both, prefer svr4
+      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+      # unpreferred sharedlib libNAME.a needs extra handling
+      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+      # We do not specify a path in Import Files, so LIBPATH fires.
+      shlibpath_overrides_runpath=yes
+      ;;
+    *,no) # both, prefer aix
+      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+      library_names_spec='$libname$release.a $libname.a'
+      soname_spec='$libname$release$shared_ext$major'
+      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+      ;;
+    esac
     shlibpath_var=LIBPATH
   fi
   ;;
@@ -11652,7 +11883,7 @@ freebsd* | dragonfly*)
   version_type=freebsd-$objformat
   case $version_type in
     freebsd-elf*)
-      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
       need_version=no
       need_lib_prefix=no
       ;;
@@ -11936,11 +12167,32 @@ openbsd* | bitrig*)
 
 os2*)
   libname_spec='$name'
+  version_type=windows
   shrext_cmds=.dll
+  need_version=no
   need_lib_prefix=no
-  library_names_spec='$libname$shared_ext $libname.a'
+  # OS/2 can only load a DLL with a base name of 8 characters or less.
+  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+    v=$($ECHO $release$versuffix | tr -d .-);
+    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+    $ECHO $n$v`$shared_ext'
+  library_names_spec='${libname}_dll.$libext'
   dynamic_linker='OS/2 ld.exe'
-  shlibpath_var=LIBPATH
+  shlibpath_var=BEGINLIBPATH
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+  postinstall_cmds='base_file=`basename \$file`~
+    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+    dldir=$destdir/`dirname \$dlpath`~
+    test -d \$dldir || mkdir -p \$dldir~
+    $install_prog $dir/$dlname \$dldir/$dlname~
+    chmod a+x \$dldir/$dlname~
+    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+    fi'
+  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+    dlpath=$dir/\$dldll~
+    $RM \$dlpath'
   ;;
 
 osf3* | osf4* | osf5*)
@@ -12016,7 +12268,7 @@ sysv4*MP*)
   ;;
 
 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
-  version_type=freebsd-elf
+  version_type=sco
   need_lib_prefix=no
   need_version=no
   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
@@ -12545,7 +12797,7 @@ else
 #  endif
 #endif
 
-/* When -fvisbility=hidden is used, assume the code has been annotated
+/* When -fvisibility=hidden is used, assume the code has been annotated
    correspondingly for the symbols needed.  */
 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 int fnord () __attribute__((visibility("default")));
@@ -12651,7 +12903,7 @@ else
 #  endif
 #endif
 
-/* When -fvisbility=hidden is used, assume the code has been annotated
+/* When -fvisibility=hidden is used, assume the code has been annotated
    correspondingly for the symbols needed.  */
 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 int fnord () __attribute__((visibility("default")));
@@ -12800,8 +13052,12 @@ $as_echo_n "checking whether to build shared libraries... " >&6; }
     ;;
 
   aix[4-9]*)
-    if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
-      test yes = "$enable_shared" && enable_static=no
+    if test ia64 != "$host_cpu"; then
+      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+      yes,aix,yes) ;;                  # shared object as lib.so file only
+      yes,svr4,*) ;;                   # shared object as lib.so archive member only
+      yes,*) enable_static=no ;;       # shared object in lib.a archive as well
+      esac
     fi
     ;;
   esac
@@ -12878,6 +13134,13 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 
 fi
+if test -n "$shared_archive_member_spec"; then
+
+cat >>confdefs.h <<_ACEOF
+#define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
+_ACEOF
+
+fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
 $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
@@ -12931,6 +13194,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+lt_dlload_save_LIBS=$LIBS
 
 LIBADD_DLOPEN=
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
@@ -13155,7 +13419,7 @@ fi
 beos*)
   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
   ;;
-cygwin* | mingw* | os2* | pw32*)
+cygwin* | mingw* | pw32*)
   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
 "
 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
@@ -13233,6 +13497,7 @@ fi
 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
 
 
+LIBS=$lt_dlload_save_LIBS
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -13288,111 +13553,104 @@ $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
 
 
 if test yes = "$lt_cv_sys_symbol_underscore"; then
-  if test yes = "$libltdl_cv_func_dlopen" ||
-     test yes = "$libltdl_cv_lib_dl_dlopen"; then
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
+  if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
 if ${libltdl_cv_need_uscore+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   libltdl_cv_need_uscore=unknown
-          save_LIBS=$LIBS
-          LIBS="$LIBS $LIBADD_DLOPEN"
-         if test yes = "$cross_compiling"; then :
-  libltdl_cv_need_uscore=cross
-else
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
-  lt_status=$lt_dlunknown
-  cat > conftest.$ac_ext <<_LT_EOF
+      dlsym_uscore_save_LIBS=$LIBS
+      LIBS="$LIBS $LIBADD_DLOPEN"
+      libname=conftmod # stay within 8.3 filename limits!
+      cat >$libname.$ac_ext <<_LT_EOF
 #line $LINENO "configure"
 #include "confdefs.h"
+/* When -fvisibility=hidden is used, assume the code has been annotated
+   correspondingly for the symbols needed.  */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+int fnord () { return 42; }
+_LT_EOF
 
+      # ltfn_module_cmds module_cmds
+      # Execute tilde-delimited MODULE_CMDS with environment primed for
+      # $module_cmds or $archive_cmds type content.
+      ltfn_module_cmds ()
+      {( # subshell avoids polluting parent global environment
+          module_cmds_save_ifs=$IFS; IFS='~'
+          for cmd in $1; do
+            IFS=$module_cmds_save_ifs
+            libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
+            rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
+            major=; versuffix=; verstring=; deplibs=
+            ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
+            eval $cmd
+          done
+          IFS=$module_cmds_save_ifs
+      )}
+
+      # Compile a loadable module using libtool macro expansion results.
+      $CC $pic_flag -c $libname.$ac_ext
+      ltfn_module_cmds "${module_cmds:-$archive_cmds}"
+
+      # Try to fetch fnord with dlsym().
+      libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
+      cat >conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
 #if HAVE_DLFCN_H
 #include <dlfcn.h>
 #endif
-
 #include <stdio.h>
-
-#ifdef RTLD_GLOBAL
-#  define LT_DLGLOBAL          RTLD_GLOBAL
-#else
+#ifndef RTLD_GLOBAL
 #  ifdef DL_GLOBAL
-#    define LT_DLGLOBAL                DL_GLOBAL
+#    define RTLD_GLOBAL DL_GLOBAL
 #  else
-#    define LT_DLGLOBAL                0
+#    define RTLD_GLOBAL 0
 #  endif
 #endif
-
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
-   find out it does not work in some platform. */
-#ifndef LT_DLLAZY_OR_NOW
-#  ifdef RTLD_LAZY
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
+#ifndef RTLD_NOW
+#  ifdef DL_NOW
+#    define RTLD_NOW DL_NOW
 #  else
-#    ifdef DL_LAZY
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
-#    else
-#      ifdef RTLD_NOW
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
-#      else
-#        ifdef DL_NOW
-#          define LT_DLLAZY_OR_NOW     DL_NOW
-#        else
-#          define LT_DLLAZY_OR_NOW     0
-#        endif
-#      endif
-#    endif
+#    define RTLD_NOW 0
 #  endif
 #endif
-
-/* When -fvisbility=hidden is used, assume the code has been annotated
-   correspondingly for the symbols needed.  */
-#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
-int fnord () __attribute__((visibility("default")));
-#endif
-
-int fnord () { return 42; }
-int main ()
-{
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-  int status = $lt_dlunknown;
-
-  if (self)
-    {
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
+int main () {
+  void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
+  int status = $libltdl_dlunknown;
+  if (handle) {
+    if (dlsym (handle, "fnord"))
+      status = $libltdl_dlnouscore;
+    else {
+      if (dlsym (handle, "_fnord"))
+        status = $libltdl_dluscore;
       else
-        {
-         if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
-          else puts (dlerror ());
-       }
-      /* dlclose (self); */
+       puts (dlerror ());
     }
-  else
+    dlclose (handle);
+  } else
     puts (dlerror ());
-
   return status;
 }
 _LT_EOF
-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   (eval $ac_link) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
-    (./conftest; exit; ) >&5 2>/dev/null
-    lt_status=$?
-    case x$lt_status in
-      x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
-      x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
-      x$lt_dlunknown|x*)  ;;
-    esac
-  else :
-    # compilation failed
-
-  fi
-fi
-rm -fr conftest*
-
-         LIBS=$save_LIBS
+        (./conftest; exit; ) >&5 2>/dev/null
+        libltdl_status=$?
+        case x$libltdl_status in
+          x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
+         x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
+         x*) libltdl_cv_need_uscore=unknown ;;
+        esac
+      fi
+      rm -rf conftest* $libname*
+      LIBS=$dlsym_uscore_save_LIBS
 
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
@@ -13511,7 +13769,6 @@ $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
 
 fi
 
-:
 
 for ac_header in argz.h
 do :
@@ -13548,7 +13805,7 @@ $as_echo "#define __error_t_defined 1" >>confdefs.h
 fi
 
 
-ARGZ_H=
+LT_ARGZ_H=
 for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
        argz_next argz_stringify
 do :
@@ -13560,9 +13817,9 @@ if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 _ACEOF
 
 else
-  ARGZ_H=argz.h; case " $LIBOBJS " in
-  *" argz.$ac_objext "* ) ;;
-  *) LIBOBJS="$LIBOBJS argz.$ac_objext"
+  LT_ARGZ_H=lt__argz.h; case " $LIBOBJS " in
+  *" lt__argz.$ac_objext "* ) ;;
+  *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
  ;;
 esac
 
@@ -13570,7 +13827,7 @@ fi
 done
 
 
-if test -z "$ARGZ_H"; then :
+if test -z "$LT_ARGZ_H"; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
 $as_echo_n "checking if argz actually works... " >&6; }
 if ${lt_cv_sys_argz_works+:} false; then :
@@ -13609,10 +13866,10 @@ $as_echo "$lt_cv_sys_argz_works" >&6; }
 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
 
 else
-  ARGZ_H=argz.h
+  LT_ARGZ_H=lt__argz.h
         case " $LIBOBJS " in
-  *" argz.$ac_objext "* ) ;;
-  *) LIBOBJS="$LIBOBJS argz.$ac_objext"
+  *" lt__argz.$ac_objext "* ) ;;
+  *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
  ;;
 esac
 
@@ -14594,7 +14851,19 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
 
           # Test if we are trying to use run time linking or normal
           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
-          # need to do runtime linking.
+          # have runtime linking enabled, and use it for executables.
+          # For shared libraries, we enable/disable runtime linking
+          # depending on the kind of the shared library created -
+          # when "with_aix_soname,aix_use_runtimelinking" is:
+          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
+          # "aix,yes"  lib.so          shared, rtl:yes, for executables
+          #            lib.a           static archive
+          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
+          #            lib.a(lib.so.V) shared, rtl:no,  for executables
+          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+          #            lib.a(lib.so.V) shared, rtl:no
+          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
+          #            lib.a           static archive
           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
            for ld_flag in $LDFLAGS; do
              case $ld_flag in
@@ -14604,6 +14873,13 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
                ;;
              esac
            done
+           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+             # With aix-soname=svr4, we create the lib.so.V shared archives only,
+             # so we don't have lib.a shared libs to link our executables.
+             # We have to force runtime linking in this case.
+             aix_use_runtimelinking=yes
+             LDFLAGS="$LDFLAGS -Wl,-brtl"
+           fi
            ;;
           esac
 
@@ -14623,6 +14899,14 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
         hardcode_libdir_separator_CXX=':'
         link_all_deplibs_CXX=yes
         file_list_spec_CXX='$wl-f,'
+        case $with_aix_soname,$aix_use_runtimelinking in
+        aix,*) ;;      # no import file
+        svr4,* | *,yes) # use import file
+          # The Import File defines what to hardcode.
+          hardcode_direct_CXX=no
+          hardcode_direct_absolute_CXX=no
+          ;;
+        esac
 
         if test yes = "$GXX"; then
           case $host_os in aix4.[012]|aix4.[012].*)
@@ -14649,6 +14933,11 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
          if test yes = "$aix_use_runtimelinking"; then
            shared_flag=$shared_flag' $wl-G'
          fi
+         # Need to ensure runtime linking is disabled for the traditional
+         # shared library, or the linker may eventually find shared libraries
+         # /with/ Import File - we do not want to mix them.
+         shared_flag_aix='-shared'
+         shared_flag_svr4='-shared $wl-G'
         else
           # not using gcc
           if test ia64 = "$host_cpu"; then
@@ -14661,6 +14950,8 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
            else
              shared_flag='$wl-bM:SRE'
            fi
+           shared_flag_aix='$wl-bM:SRE'
+           shared_flag_svr4='$wl-G'
           fi
         fi
 
@@ -14669,10 +14960,11 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
         # underscore (_), so it is better to generate a list of symbols to
        # export.
         always_export_symbols_CXX=yes
-        if test yes = "$aix_use_runtimelinking"; then
+       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
           # Warning - without using the other runtime loading flags (-brtl),
           # -berok will link without error, but may produce a broken library.
-          allow_undefined_flag_CXX='-berok'
+          # The "-G" linker flag allows undefined symbols.
+          no_undefined_flag_CXX='-bernotok'
           # Determine the default libpath from the value encoded in an empty
           # executable.
           if test set = "${lt_cv_aix_libpath+set}"; then
              whole_archive_flag_spec_CXX='$convenience'
            fi
            archive_cmds_need_lc_CXX=yes
-           # This is similar to how AIX traditionally builds its shared
-           # libraries.
-           archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+           archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+           # -brtl affects multiple linker settings, -berok does not and is overridden later
+           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+           if test svr4 != "$with_aix_soname"; then
+             # This is similar to how AIX traditionally builds its shared
+             # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
+             archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+           fi
+           if test aix != "$with_aix_soname"; then
+             archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+           else
+             # used by -dlpreopen to get the symbols
+             archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
+           fi
+           archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
           fi
         fi
         ;;
 
        ;;
 
+      os2*)
+       hardcode_libdir_flag_spec_CXX='-L$libdir'
+       hardcode_minus_L_CXX=yes
+       allow_undefined_flag_CXX=unsupported
+       shrext_cmds=.dll
+       archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+         $ECHO EXPORTS >> $output_objdir/$libname.def~
+         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+         emximp -o $lib $output_objdir/$libname.def'
+       archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+         $ECHO EXPORTS >> $output_objdir/$libname.def~
+         prefix_cmds="$SED"~
+         if test EXPORTS = "`$SED 1q $export_symbols`"; then
+           prefix_cmds="$prefix_cmds -e 1d";
+         fi~
+         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+         emximp -o $lib $output_objdir/$libname.def'
+       old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+       enable_shared_with_static_runtimes_CXX=yes
+       ;;
+
       dgux*)
         case $cc_basename in
           ec++*)
@@ -15845,6 +16177,11 @@ lt_prog_compiler_static_CXX=
       # Although the cygwin gcc ignores -fPIC, still need this for old-style
       # (--disable-auto-import) libraries
       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+      case $host_os in
+      os2*)
+       lt_prog_compiler_static_CXX='$wl-static'
+       ;;
+      esac
       ;;
     darwin* | rhapsody*)
       # PIC is the default on this platform
@@ -16382,13 +16719,17 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
   case $host_os in
   aix[4-9]*)
     # If we're using GNU nm, then we don't want the "-C" option.
-    # -C means demangle to AIX nm, but means don't demangle with GNU nm
-    # Also, AIX nm treats weak defined symbols like other global defined
-    # symbols, whereas GNU nm marks them as "W".
+    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+    # Without the "-l" option, or with the "-B" option, AIX nm treats
+    # weak defined symbols like other global defined symbols, whereas
+    # GNU nm marks them as "W".
+    # While the 'weak' keyword is ignored in the Export File, we need
+    # it in the Import File for the 'aix-soname' feature, so we have
+    # to replace the "-B" option with "-P" for AIX nm.
     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
     else
-      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+      export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
     fi
     ;;
   pw32*)
@@ -16610,20 +16951,70 @@ aix[4-9]*)
       fi
       ;;
     esac
+    # Using Import Files as archive members, it is possible to support
+    # filename-based versioning of shared library archives on AIX. While
+    # this would work for both with and without runtime linking, it will
+    # prevent static linking of such archives. So we do filename-based
+    # shared library versioning with .so extension only, which is used
+    # when both runtime linking and shared linking is enabled.
+    # Unfortunately, runtime linking may impact performance, so we do
+    # not want this to be the default eventually. Also, we use the
+    # versioned .so libs for executables only if there is the -brtl
+    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+    # To allow for filename-based versioning support, we need to create
+    # libNAME.so.V as an archive file, containing:
+    # *) an Import File, referring to the versioned filename of the
+    #    archive as well as the shared archive member, telling the
+    #    bitwidth (32 or 64) of that shared object, and providing the
+    #    list of exported symbols of that shared object, eventually
+    #    decorated with the 'weak' keyword
+    # *) the shared object with the F_LOADONLY flag set, to really avoid
+    #    it being seen by the linker.
+    # At run time we better use the real file rather than another symlink,
+    # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+    case $with_aix_soname,$aix_use_runtimelinking in
     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
     # soname into executable. Probably we can add versioning support to
     # collect2, so additional links can be useful in future.
-    if test yes = "$aix_use_runtimelinking"; then
+    aix,yes) # traditional libtool
+      dynamic_linker='AIX unversionable lib.so'
       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       # instead of lib<name>.a to let people know that these are not
       # typical AIX shared libraries.
       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
-    else
+      ;;
+    aix,no) # traditional AIX only
+      dynamic_linker='AIX lib.a(lib.so.V)'
       # We preserve .a as extension for shared libraries through AIX4.2
       # and later when we are not doing run time linking.
       library_names_spec='$libname$release.a $libname.a'
       soname_spec='$libname$release$shared_ext$major'
-    fi
+      ;;
+    svr4,*) # full svr4 only
+      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+      # We do not specify a path in Import Files, so LIBPATH fires.
+      shlibpath_overrides_runpath=yes
+      ;;
+    *,yes) # both, prefer svr4
+      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+      # unpreferred sharedlib libNAME.a needs extra handling
+      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+      # We do not specify a path in Import Files, so LIBPATH fires.
+      shlibpath_overrides_runpath=yes
+      ;;
+    *,no) # both, prefer aix
+      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+      library_names_spec='$libname$release.a $libname.a'
+      soname_spec='$libname$release$shared_ext$major'
+      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+      ;;
+    esac
     shlibpath_var=LIBPATH
   fi
   ;;
@@ -16809,7 +17200,7 @@ freebsd* | dragonfly*)
   version_type=freebsd-$objformat
   case $version_type in
     freebsd-elf*)
-      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
       need_version=no
       need_lib_prefix=no
       ;;
@@ -17093,11 +17484,32 @@ openbsd* | bitrig*)
 
 os2*)
   libname_spec='$name'
+  version_type=windows
   shrext_cmds=.dll
+  need_version=no
   need_lib_prefix=no
-  library_names_spec='$libname$shared_ext $libname.a'
+  # OS/2 can only load a DLL with a base name of 8 characters or less.
+  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+    v=$($ECHO $release$versuffix | tr -d .-);
+    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+    $ECHO $n$v`$shared_ext'
+  library_names_spec='${libname}_dll.$libext'
   dynamic_linker='OS/2 ld.exe'
-  shlibpath_var=LIBPATH
+  shlibpath_var=BEGINLIBPATH
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+  postinstall_cmds='base_file=`basename \$file`~
+    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+    dldir=$destdir/`dirname \$dlpath`~
+    test -d \$dldir || mkdir -p \$dldir~
+    $install_prog $dir/$dlname \$dldir/$dlname~
+    chmod a+x \$dldir/$dlname~
+    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+    fi'
+  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+    dlpath=$dir/\$dldll~
+    $RM \$dlpath'
   ;;
 
 osf3* | osf4* | osf5*)
@@ -17173,7 +17585,7 @@ sysv4*MP*)
   ;;
 
 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
-  version_type=freebsd-elf
+  version_type=sco
   need_lib_prefix=no
   need_version=no
   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
@@ -17672,8 +18084,12 @@ $as_echo_n "checking whether to build shared libraries... " >&6; }
         fi
         ;;
       aix[4-9]*)
-       if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
-         test yes = "$enable_shared" && enable_static=no
+       if test ia64 != "$host_cpu"; then
+         case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+         yes,aix,yes) ;;               # shared object as lib.so file only
+         yes,svr4,*) ;;                # shared object as lib.so archive member only
+         yes,*) enable_static=no ;;    # shared object in lib.a archive as well
+         esac
        fi
         ;;
     esac
@@ -17738,6 +18154,11 @@ lt_prog_compiler_static_F77=
       # Although the cygwin gcc ignores -fPIC, still need this for old-style
       # (--disable-auto-import) libraries
       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
+      case $host_os in
+      os2*)
+       lt_prog_compiler_static_F77='$wl-static'
+       ;;
+      esac
       ;;
 
     darwin* | rhapsody*)
@@ -17834,6 +18255,11 @@ lt_prog_compiler_static_F77=
       # This hack is so that the source file can tell whether it is being
       # built for inclusion in a dll (and should export symbols for example).
       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
+      case $host_os in
+      os2*)
+       lt_prog_compiler_static_F77='$wl-static'
+       ;;
+      esac
       ;;
 
     hpux9* | hpux10* | hpux11*)
@@ -18459,6 +18885,34 @@ _LT_EOF
       link_all_deplibs_F77=yes
       ;;
 
+    os2*)
+      hardcode_libdir_flag_spec_F77='-L$libdir'
+      hardcode_minus_L_F77=yes
+      allow_undefined_flag_F77=unsupported
+      shrext_cmds=.dll
+      archive_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      archive_expsym_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      old_archive_From_new_cmds_F77='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      enable_shared_with_static_runtimes_F77=yes
+      ;;
+
     interix[3-9]*)
       hardcode_direct_F77=no
       hardcode_shlibpath_var_F77=no
@@ -18532,6 +18986,9 @@ _LT_EOF
         fi
 
        case $cc_basename in
+       tcc*)
+         export_dynamic_flag_spec_F77='-rdynamic'
+         ;;
        xlf* | bgf* | bgxlf* | mpixlf*)
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
          whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive'
@@ -18661,19 +19118,35 @@ _LT_EOF
        no_entry_flag=
       else
        # If we're using GNU nm, then we don't want the "-C" option.
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
-       # Also, AIX nm treats weak defined symbols like other global
-       # defined symbols, whereas GNU nm marks them as "W".
+       # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+       # Without the "-l" option, or with the "-B" option, AIX nm treats
+       # weak defined symbols like other global defined symbols, whereas
+       # GNU nm marks them as "W".
+       # While the 'weak' keyword is ignored in the Export File, we need
+       # it in the Import File for the 'aix-soname' feature, so we have
+       # to replace the "-B" option with "-P" for AIX nm.
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-         export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
        else
-         export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds_F77='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
        fi
        aix_use_runtimelinking=no
 
        # Test if we are trying to use run time linking or normal
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
-       # need to do runtime linking.
+       # have runtime linking enabled, and use it for executables.
+       # For shared libraries, we enable/disable runtime linking
+       # depending on the kind of the shared library created -
+       # when "with_aix_soname,aix_use_runtimelinking" is:
+       # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "aix,yes"  lib.so          shared, rtl:yes, for executables
+       #            lib.a           static archive
+       # "both,no"  lib.so.V(shr.o) shared, rtl:yes
+       #            lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a(lib.so.V) shared, rtl:no
+       # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a           static archive
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
          for ld_flag in $LDFLAGS; do
          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
@@ -18681,6 +19154,13 @@ _LT_EOF
            break
          fi
          done
+         if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+           # With aix-soname=svr4, we create the lib.so.V shared archives only,
+           # so we don't have lib.a shared libs to link our executables.
+           # We have to force runtime linking in this case.
+           aix_use_runtimelinking=yes
+           LDFLAGS="$LDFLAGS -Wl,-brtl"
+         fi
          ;;
        esac
 
@@ -18700,6 +19180,14 @@ _LT_EOF
       hardcode_libdir_separator_F77=':'
       link_all_deplibs_F77=yes
       file_list_spec_F77='$wl-f,'
+      case $with_aix_soname,$aix_use_runtimelinking in
+      aix,*) ;; # traditional, no import file
+      svr4,* | *,yes) # use import file
+       # The Import File defines what to hardcode.
+       hardcode_direct_F77=no
+       hardcode_direct_absolute_F77=no
+       ;;
+      esac
 
       if test yes = "$GCC"; then
        case $host_os in aix4.[012]|aix4.[012].*)
@@ -18727,6 +19215,11 @@ _LT_EOF
        if test yes = "$aix_use_runtimelinking"; then
          shared_flag="$shared_flag "'$wl-G'
        fi
+       # Need to ensure runtime linking is disabled for the traditional
+       # shared library, or the linker may eventually find shared libraries
+       # /with/ Import File - we do not want to mix them.
+       shared_flag_aix='-shared'
+       shared_flag_svr4='-shared $wl-G'
       else
        # not using gcc
        if test ia64 = "$host_cpu"; then
@@ -18739,6 +19232,8 @@ _LT_EOF
          else
            shared_flag='$wl-bM:SRE'
          fi
+         shared_flag_aix='$wl-bM:SRE'
+         shared_flag_svr4='$wl-G'
        fi
       fi
 
@@ -18746,7 +19241,7 @@ _LT_EOF
       # It seems that -bexpall does not export symbols beginning with
       # underscore (_), so it is better to generate a list of symbols to export.
       always_export_symbols_F77=yes
-      if test yes = "$aix_use_runtimelinking"; then
+      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
        # Warning - without using the other runtime loading flags (-brtl),
        # -berok will link without error, but may produce a broken library.
        allow_undefined_flag_F77='-berok'
            whole_archive_flag_spec_F77='$convenience'
          fi
          archive_cmds_need_lc_F77=yes
-         # This is similar to how AIX traditionally builds its shared libraries.
-         archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+         archive_expsym_cmds_F77='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+         # -brtl affects multiple linker settings, -berok does not and is overridden later
+         compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+         if test svr4 != "$with_aix_soname"; then
+           # This is similar to how AIX traditionally builds its shared libraries.
+           archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+         fi
+         if test aix != "$with_aix_soname"; then
+           archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+         else
+           # used by -dlpreopen to get the symbols
+           archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
+         fi
+         archive_expsym_cmds_F77="$archive_expsym_cmds_F77"'~$RM -r $output_objdir/$realname.d'
        fi
       fi
       ;;
@@ -19131,6 +19638,16 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       link_all_deplibs_F77=yes
       ;;
 
+    linux*)
+      case $cc_basename in
+      tcc*)
+       # Fabrice Bellard et al's Tiny C Compiler
+       ld_shlibs_F77=yes
+       archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+       ;;
+      esac
+      ;;
+
     netbsd*)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
@@ -19176,8 +19693,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       hardcode_libdir_flag_spec_F77='-L$libdir'
       hardcode_minus_L_F77=yes
       allow_undefined_flag_F77=unsupported
-      archive_cmds_F77='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
-      old_archive_from_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+      shrext_cmds=.dll
+      archive_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      archive_expsym_cmds_F77='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      old_archive_From_new_cmds_F77='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      enable_shared_with_static_runtimes_F77=yes
       ;;
 
     osf3*)
@@ -19566,20 +20103,70 @@ aix[4-9]*)
       fi
       ;;
     esac
+    # Using Import Files as archive members, it is possible to support
+    # filename-based versioning of shared library archives on AIX. While
+    # this would work for both with and without runtime linking, it will
+    # prevent static linking of such archives. So we do filename-based
+    # shared library versioning with .so extension only, which is used
+    # when both runtime linking and shared linking is enabled.
+    # Unfortunately, runtime linking may impact performance, so we do
+    # not want this to be the default eventually. Also, we use the
+    # versioned .so libs for executables only if there is the -brtl
+    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+    # To allow for filename-based versioning support, we need to create
+    # libNAME.so.V as an archive file, containing:
+    # *) an Import File, referring to the versioned filename of the
+    #    archive as well as the shared archive member, telling the
+    #    bitwidth (32 or 64) of that shared object, and providing the
+    #    list of exported symbols of that shared object, eventually
+    #    decorated with the 'weak' keyword
+    # *) the shared object with the F_LOADONLY flag set, to really avoid
+    #    it being seen by the linker.
+    # At run time we better use the real file rather than another symlink,
+    # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+    case $with_aix_soname,$aix_use_runtimelinking in
     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
     # soname into executable. Probably we can add versioning support to
     # collect2, so additional links can be useful in future.
-    if test yes = "$aix_use_runtimelinking"; then
+    aix,yes) # traditional libtool
+      dynamic_linker='AIX unversionable lib.so'
       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       # instead of lib<name>.a to let people know that these are not
       # typical AIX shared libraries.
       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
-    else
+      ;;
+    aix,no) # traditional AIX only
+      dynamic_linker='AIX lib.a(lib.so.V)'
       # We preserve .a as extension for shared libraries through AIX4.2
       # and later when we are not doing run time linking.
       library_names_spec='$libname$release.a $libname.a'
       soname_spec='$libname$release$shared_ext$major'
-    fi
+      ;;
+    svr4,*) # full svr4 only
+      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+      # We do not specify a path in Import Files, so LIBPATH fires.
+      shlibpath_overrides_runpath=yes
+      ;;
+    *,yes) # both, prefer svr4
+      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+      # unpreferred sharedlib libNAME.a needs extra handling
+      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+      # We do not specify a path in Import Files, so LIBPATH fires.
+      shlibpath_overrides_runpath=yes
+      ;;
+    *,no) # both, prefer aix
+      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+      library_names_spec='$libname$release.a $libname.a'
+      soname_spec='$libname$release$shared_ext$major'
+      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+      ;;
+    esac
     shlibpath_var=LIBPATH
   fi
   ;;
@@ -19765,7 +20352,7 @@ freebsd* | dragonfly*)
   version_type=freebsd-$objformat
   case $version_type in
     freebsd-elf*)
-      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
       need_version=no
       need_lib_prefix=no
       ;;
@@ -20043,11 +20630,32 @@ openbsd* | bitrig*)
 
 os2*)
   libname_spec='$name'
+  version_type=windows
   shrext_cmds=.dll
+  need_version=no
   need_lib_prefix=no
-  library_names_spec='$libname$shared_ext $libname.a'
+  # OS/2 can only load a DLL with a base name of 8 characters or less.
+  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+    v=$($ECHO $release$versuffix | tr -d .-);
+    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+    $ECHO $n$v`$shared_ext'
+  library_names_spec='${libname}_dll.$libext'
   dynamic_linker='OS/2 ld.exe'
-  shlibpath_var=LIBPATH
+  shlibpath_var=BEGINLIBPATH
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+  postinstall_cmds='base_file=`basename \$file`~
+    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+    dldir=$destdir/`dirname \$dlpath`~
+    test -d \$dldir || mkdir -p \$dldir~
+    $install_prog $dir/$dlname \$dldir/$dlname~
+    chmod a+x \$dldir/$dlname~
+    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+    fi'
+  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+    dlpath=$dir/\$dldll~
+    $RM \$dlpath'
   ;;
 
 osf3* | osf4* | osf5*)
@@ -20123,7 +20731,7 @@ sysv4*MP*)
   ;;
 
 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
-  version_type=freebsd-elf
+  version_type=sco
   need_lib_prefix=no
   need_version=no
   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
@@ -20618,8 +21226,12 @@ $as_echo_n "checking whether to build shared libraries... " >&6; }
         fi
         ;;
       aix[4-9]*)
-       if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
-         test yes = "$enable_shared" && enable_static=no
+       if test ia64 != "$host_cpu"; then
+         case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+         yes,aix,yes) ;;               # shared object as lib.so file only
+         yes,svr4,*) ;;                # shared object as lib.so archive member only
+         yes,*) enable_static=no ;;    # shared object in lib.a archive as well
+         esac
        fi
         ;;
     esac
@@ -20829,6 +21441,11 @@ lt_prog_compiler_static_FC=
       # Although the cygwin gcc ignores -fPIC, still need this for old-style
       # (--disable-auto-import) libraries
       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
+      case $host_os in
+      os2*)
+       lt_prog_compiler_static_FC='$wl-static'
+       ;;
+      esac
       ;;
 
     darwin* | rhapsody*)
@@ -20925,6 +21542,11 @@ lt_prog_compiler_static_FC=
       # This hack is so that the source file can tell whether it is being
       # built for inclusion in a dll (and should export symbols for example).
       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
+      case $host_os in
+      os2*)
+       lt_prog_compiler_static_FC='$wl-static'
+       ;;
+      esac
       ;;
 
     hpux9* | hpux10* | hpux11*)
@@ -21550,6 +22172,34 @@ _LT_EOF
       link_all_deplibs_FC=yes
       ;;
 
+    os2*)
+      hardcode_libdir_flag_spec_FC='-L$libdir'
+      hardcode_minus_L_FC=yes
+      allow_undefined_flag_FC=unsupported
+      shrext_cmds=.dll
+      archive_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      archive_expsym_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      old_archive_From_new_cmds_FC='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      enable_shared_with_static_runtimes_FC=yes
+      ;;
+
     interix[3-9]*)
       hardcode_direct_FC=no
       hardcode_shlibpath_var_FC=no
@@ -21623,6 +22273,9 @@ _LT_EOF
         fi
 
        case $cc_basename in
+       tcc*)
+         export_dynamic_flag_spec_FC='-rdynamic'
+         ;;
        xlf* | bgf* | bgxlf* | mpixlf*)
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
          whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
@@ -21752,19 +22405,35 @@ _LT_EOF
        no_entry_flag=
       else
        # If we're using GNU nm, then we don't want the "-C" option.
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
-       # Also, AIX nm treats weak defined symbols like other global
-       # defined symbols, whereas GNU nm marks them as "W".
+       # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+       # Without the "-l" option, or with the "-B" option, AIX nm treats
+       # weak defined symbols like other global defined symbols, whereas
+       # GNU nm marks them as "W".
+       # While the 'weak' keyword is ignored in the Export File, we need
+       # it in the Import File for the 'aix-soname' feature, so we have
+       # to replace the "-B" option with "-P" for AIX nm.
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-         export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
        else
-         export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds_FC='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
        fi
        aix_use_runtimelinking=no
 
        # Test if we are trying to use run time linking or normal
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
-       # need to do runtime linking.
+       # have runtime linking enabled, and use it for executables.
+       # For shared libraries, we enable/disable runtime linking
+       # depending on the kind of the shared library created -
+       # when "with_aix_soname,aix_use_runtimelinking" is:
+       # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "aix,yes"  lib.so          shared, rtl:yes, for executables
+       #            lib.a           static archive
+       # "both,no"  lib.so.V(shr.o) shared, rtl:yes
+       #            lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a(lib.so.V) shared, rtl:no
+       # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a           static archive
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
          for ld_flag in $LDFLAGS; do
          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
@@ -21772,6 +22441,13 @@ _LT_EOF
            break
          fi
          done
+         if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+           # With aix-soname=svr4, we create the lib.so.V shared archives only,
+           # so we don't have lib.a shared libs to link our executables.
+           # We have to force runtime linking in this case.
+           aix_use_runtimelinking=yes
+           LDFLAGS="$LDFLAGS -Wl,-brtl"
+         fi
          ;;
        esac
 
@@ -21791,6 +22467,14 @@ _LT_EOF
       hardcode_libdir_separator_FC=':'
       link_all_deplibs_FC=yes
       file_list_spec_FC='$wl-f,'
+      case $with_aix_soname,$aix_use_runtimelinking in
+      aix,*) ;; # traditional, no import file
+      svr4,* | *,yes) # use import file
+       # The Import File defines what to hardcode.
+       hardcode_direct_FC=no
+       hardcode_direct_absolute_FC=no
+       ;;
+      esac
 
       if test yes = "$GCC"; then
        case $host_os in aix4.[012]|aix4.[012].*)
@@ -21818,6 +22502,11 @@ _LT_EOF
        if test yes = "$aix_use_runtimelinking"; then
          shared_flag="$shared_flag "'$wl-G'
        fi
+       # Need to ensure runtime linking is disabled for the traditional
+       # shared library, or the linker may eventually find shared libraries
+       # /with/ Import File - we do not want to mix them.
+       shared_flag_aix='-shared'
+       shared_flag_svr4='-shared $wl-G'
       else
        # not using gcc
        if test ia64 = "$host_cpu"; then
@@ -21830,6 +22519,8 @@ _LT_EOF
          else
            shared_flag='$wl-bM:SRE'
          fi
+         shared_flag_aix='$wl-bM:SRE'
+         shared_flag_svr4='$wl-G'
        fi
       fi
 
@@ -21837,7 +22528,7 @@ _LT_EOF
       # It seems that -bexpall does not export symbols beginning with
       # underscore (_), so it is better to generate a list of symbols to export.
       always_export_symbols_FC=yes
-      if test yes = "$aix_use_runtimelinking"; then
+      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
        # Warning - without using the other runtime loading flags (-brtl),
        # -berok will link without error, but may produce a broken library.
        allow_undefined_flag_FC='-berok'
            whole_archive_flag_spec_FC='$convenience'
          fi
          archive_cmds_need_lc_FC=yes
-         # This is similar to how AIX traditionally builds its shared libraries.
-         archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+         archive_expsym_cmds_FC='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+         # -brtl affects multiple linker settings, -berok does not and is overridden later
+         compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+         if test svr4 != "$with_aix_soname"; then
+           # This is similar to how AIX traditionally builds its shared libraries.
+           archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+         fi
+         if test aix != "$with_aix_soname"; then
+           archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+         else
+           # used by -dlpreopen to get the symbols
+           archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
+         fi
+         archive_expsym_cmds_FC="$archive_expsym_cmds_FC"'~$RM -r $output_objdir/$realname.d'
        fi
       fi
       ;;
@@ -22222,6 +22925,16 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       link_all_deplibs_FC=yes
       ;;
 
+    linux*)
+      case $cc_basename in
+      tcc*)
+       # Fabrice Bellard et al's Tiny C Compiler
+       ld_shlibs_FC=yes
+       archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+       ;;
+      esac
+      ;;
+
     netbsd*)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
@@ -22267,8 +22980,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       hardcode_libdir_flag_spec_FC='-L$libdir'
       hardcode_minus_L_FC=yes
       allow_undefined_flag_FC=unsupported
-      archive_cmds_FC='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
-      old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+      shrext_cmds=.dll
+      archive_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      archive_expsym_cmds_FC='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      old_archive_From_new_cmds_FC='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      enable_shared_with_static_runtimes_FC=yes
       ;;
 
     osf3*)
@@ -22657,20 +23390,70 @@ aix[4-9]*)
       fi
       ;;
     esac
+    # Using Import Files as archive members, it is possible to support
+    # filename-based versioning of shared library archives on AIX. While
+    # this would work for both with and without runtime linking, it will
+    # prevent static linking of such archives. So we do filename-based
+    # shared library versioning with .so extension only, which is used
+    # when both runtime linking and shared linking is enabled.
+    # Unfortunately, runtime linking may impact performance, so we do
+    # not want this to be the default eventually. Also, we use the
+    # versioned .so libs for executables only if there is the -brtl
+    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+    # To allow for filename-based versioning support, we need to create
+    # libNAME.so.V as an archive file, containing:
+    # *) an Import File, referring to the versioned filename of the
+    #    archive as well as the shared archive member, telling the
+    #    bitwidth (32 or 64) of that shared object, and providing the
+    #    list of exported symbols of that shared object, eventually
+    #    decorated with the 'weak' keyword
+    # *) the shared object with the F_LOADONLY flag set, to really avoid
+    #    it being seen by the linker.
+    # At run time we better use the real file rather than another symlink,
+    # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+    case $with_aix_soname,$aix_use_runtimelinking in
     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
     # soname into executable. Probably we can add versioning support to
     # collect2, so additional links can be useful in future.
-    if test yes = "$aix_use_runtimelinking"; then
+    aix,yes) # traditional libtool
+      dynamic_linker='AIX unversionable lib.so'
       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       # instead of lib<name>.a to let people know that these are not
       # typical AIX shared libraries.
       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
-    else
+      ;;
+    aix,no) # traditional AIX only
+      dynamic_linker='AIX lib.a(lib.so.V)'
       # We preserve .a as extension for shared libraries through AIX4.2
       # and later when we are not doing run time linking.
       library_names_spec='$libname$release.a $libname.a'
       soname_spec='$libname$release$shared_ext$major'
-    fi
+      ;;
+    svr4,*) # full svr4 only
+      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+      # We do not specify a path in Import Files, so LIBPATH fires.
+      shlibpath_overrides_runpath=yes
+      ;;
+    *,yes) # both, prefer svr4
+      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+      # unpreferred sharedlib libNAME.a needs extra handling
+      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+      # We do not specify a path in Import Files, so LIBPATH fires.
+      shlibpath_overrides_runpath=yes
+      ;;
+    *,no) # both, prefer aix
+      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+      library_names_spec='$libname$release.a $libname.a'
+      soname_spec='$libname$release$shared_ext$major'
+      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+      ;;
+    esac
     shlibpath_var=LIBPATH
   fi
   ;;
@@ -22856,7 +23639,7 @@ freebsd* | dragonfly*)
   version_type=freebsd-$objformat
   case $version_type in
     freebsd-elf*)
-      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
       need_version=no
       need_lib_prefix=no
       ;;
@@ -23134,11 +23917,32 @@ openbsd* | bitrig*)
 
 os2*)
   libname_spec='$name'
+  version_type=windows
   shrext_cmds=.dll
+  need_version=no
   need_lib_prefix=no
-  library_names_spec='$libname$shared_ext $libname.a'
+  # OS/2 can only load a DLL with a base name of 8 characters or less.
+  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+    v=$($ECHO $release$versuffix | tr -d .-);
+    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+    $ECHO $n$v`$shared_ext'
+  library_names_spec='${libname}_dll.$libext'
   dynamic_linker='OS/2 ld.exe'
-  shlibpath_var=LIBPATH
+  shlibpath_var=BEGINLIBPATH
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+  postinstall_cmds='base_file=`basename \$file`~
+    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+    dldir=$destdir/`dirname \$dlpath`~
+    test -d \$dldir || mkdir -p \$dldir~
+    $install_prog $dir/$dlname \$dldir/$dlname~
+    chmod a+x \$dldir/$dlname~
+    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+    fi'
+  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+    dlpath=$dir/\$dldll~
+    $RM \$dlpath'
   ;;
 
 osf3* | osf4* | osf5*)
@@ -23214,7 +24018,7 @@ sysv4*MP*)
   ;;
 
 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
-  version_type=freebsd-elf
+  version_type=sco
   need_lib_prefix=no
   need_version=no
   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
@@ -23643,6 +24447,11 @@ lt_prog_compiler_static_GO=
       # Although the cygwin gcc ignores -fPIC, still need this for old-style
       # (--disable-auto-import) libraries
       lt_prog_compiler_pic_GO='-DDLL_EXPORT'
+      case $host_os in
+      os2*)
+       lt_prog_compiler_static_GO='$wl-static'
+       ;;
+      esac
       ;;
 
     darwin* | rhapsody*)
@@ -23739,6 +24548,11 @@ lt_prog_compiler_static_GO=
       # This hack is so that the source file can tell whether it is being
       # built for inclusion in a dll (and should export symbols for example).
       lt_prog_compiler_pic_GO='-DDLL_EXPORT'
+      case $host_os in
+      os2*)
+       lt_prog_compiler_static_GO='$wl-static'
+       ;;
+      esac
       ;;
 
     hpux9* | hpux10* | hpux11*)
@@ -24364,6 +25178,34 @@ _LT_EOF
       link_all_deplibs_GO=yes
       ;;
 
+    os2*)
+      hardcode_libdir_flag_spec_GO='-L$libdir'
+      hardcode_minus_L_GO=yes
+      allow_undefined_flag_GO=unsupported
+      shrext_cmds=.dll
+      archive_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      archive_expsym_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      old_archive_From_new_cmds_GO='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      enable_shared_with_static_runtimes_GO=yes
+      ;;
+
     interix[3-9]*)
       hardcode_direct_GO=no
       hardcode_shlibpath_var_GO=no
@@ -24437,6 +25279,9 @@ _LT_EOF
         fi
 
        case $cc_basename in
+       tcc*)
+         export_dynamic_flag_spec_GO='-rdynamic'
+         ;;
        xlf* | bgf* | bgxlf* | mpixlf*)
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
          whole_archive_flag_spec_GO='--whole-archive$convenience --no-whole-archive'
@@ -24566,19 +25411,35 @@ _LT_EOF
        no_entry_flag=
       else
        # If we're using GNU nm, then we don't want the "-C" option.
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
-       # Also, AIX nm treats weak defined symbols like other global
-       # defined symbols, whereas GNU nm marks them as "W".
+       # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+       # Without the "-l" option, or with the "-B" option, AIX nm treats
+       # weak defined symbols like other global defined symbols, whereas
+       # GNU nm marks them as "W".
+       # While the 'weak' keyword is ignored in the Export File, we need
+       # it in the Import File for the 'aix-soname' feature, so we have
+       # to replace the "-B" option with "-P" for AIX nm.
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-         export_symbols_cmds_GO='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds_GO='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
        else
-         export_symbols_cmds_GO='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds_GO='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
        fi
        aix_use_runtimelinking=no
 
        # Test if we are trying to use run time linking or normal
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
-       # need to do runtime linking.
+       # have runtime linking enabled, and use it for executables.
+       # For shared libraries, we enable/disable runtime linking
+       # depending on the kind of the shared library created -
+       # when "with_aix_soname,aix_use_runtimelinking" is:
+       # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "aix,yes"  lib.so          shared, rtl:yes, for executables
+       #            lib.a           static archive
+       # "both,no"  lib.so.V(shr.o) shared, rtl:yes
+       #            lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a(lib.so.V) shared, rtl:no
+       # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a           static archive
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
          for ld_flag in $LDFLAGS; do
          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
@@ -24586,6 +25447,13 @@ _LT_EOF
            break
          fi
          done
+         if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+           # With aix-soname=svr4, we create the lib.so.V shared archives only,
+           # so we don't have lib.a shared libs to link our executables.
+           # We have to force runtime linking in this case.
+           aix_use_runtimelinking=yes
+           LDFLAGS="$LDFLAGS -Wl,-brtl"
+         fi
          ;;
        esac
 
@@ -24605,6 +25473,14 @@ _LT_EOF
       hardcode_libdir_separator_GO=':'
       link_all_deplibs_GO=yes
       file_list_spec_GO='$wl-f,'
+      case $with_aix_soname,$aix_use_runtimelinking in
+      aix,*) ;; # traditional, no import file
+      svr4,* | *,yes) # use import file
+       # The Import File defines what to hardcode.
+       hardcode_direct_GO=no
+       hardcode_direct_absolute_GO=no
+       ;;
+      esac
 
       if test yes = "$GCC"; then
        case $host_os in aix4.[012]|aix4.[012].*)
@@ -24632,6 +25508,11 @@ _LT_EOF
        if test yes = "$aix_use_runtimelinking"; then
          shared_flag="$shared_flag "'$wl-G'
        fi
+       # Need to ensure runtime linking is disabled for the traditional
+       # shared library, or the linker may eventually find shared libraries
+       # /with/ Import File - we do not want to mix them.
+       shared_flag_aix='-shared'
+       shared_flag_svr4='-shared $wl-G'
       else
        # not using gcc
        if test ia64 = "$host_cpu"; then
@@ -24644,6 +25525,8 @@ _LT_EOF
          else
            shared_flag='$wl-bM:SRE'
          fi
+         shared_flag_aix='$wl-bM:SRE'
+         shared_flag_svr4='$wl-G'
        fi
       fi
 
@@ -24651,7 +25534,7 @@ _LT_EOF
       # It seems that -bexpall does not export symbols beginning with
       # underscore (_), so it is better to generate a list of symbols to export.
       always_export_symbols_GO=yes
-      if test yes = "$aix_use_runtimelinking"; then
+      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
        # Warning - without using the other runtime loading flags (-brtl),
        # -berok will link without error, but may produce a broken library.
        allow_undefined_flag_GO='-berok'
            whole_archive_flag_spec_GO='$convenience'
          fi
          archive_cmds_need_lc_GO=yes
-         # This is similar to how AIX traditionally builds its shared libraries.
-         archive_expsym_cmds_GO="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+         archive_expsym_cmds_GO='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+         # -brtl affects multiple linker settings, -berok does not and is overridden later
+         compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+         if test svr4 != "$with_aix_soname"; then
+           # This is similar to how AIX traditionally builds its shared libraries.
+           archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+         fi
+         if test aix != "$with_aix_soname"; then
+           archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+         else
+           # used by -dlpreopen to get the symbols
+           archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
+         fi
+         archive_expsym_cmds_GO="$archive_expsym_cmds_GO"'~$RM -r $output_objdir/$realname.d'
        fi
       fi
       ;;
@@ -25047,6 +25942,16 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       link_all_deplibs_GO=yes
       ;;
 
+    linux*)
+      case $cc_basename in
+      tcc*)
+       # Fabrice Bellard et al's Tiny C Compiler
+       ld_shlibs_GO=yes
+       archive_cmds_GO='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+       ;;
+      esac
+      ;;
+
     netbsd*)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        archive_cmds_GO='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
@@ -25092,8 +25997,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       hardcode_libdir_flag_spec_GO='-L$libdir'
       hardcode_minus_L_GO=yes
       allow_undefined_flag_GO=unsupported
-      archive_cmds_GO='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
-      old_archive_from_new_cmds_GO='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+      shrext_cmds=.dll
+      archive_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      archive_expsym_cmds_GO='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      old_archive_From_new_cmds_GO='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      enable_shared_with_static_runtimes_GO=yes
       ;;
 
     osf3*)
@@ -25756,6 +26681,11 @@ lt_prog_compiler_static_GCJ=
       # Although the cygwin gcc ignores -fPIC, still need this for old-style
       # (--disable-auto-import) libraries
 
+      case $host_os in
+      os2*)
+       lt_prog_compiler_static_GCJ='$wl-static'
+       ;;
+      esac
       ;;
 
     darwin* | rhapsody*)
@@ -25852,6 +26782,11 @@ lt_prog_compiler_static_GCJ=
       # This hack is so that the source file can tell whether it is being
       # built for inclusion in a dll (and should export symbols for example).
 
+      case $host_os in
+      os2*)
+       lt_prog_compiler_static_GCJ='$wl-static'
+       ;;
+      esac
       ;;
 
     hpux9* | hpux10* | hpux11*)
@@ -26477,6 +27412,34 @@ _LT_EOF
       link_all_deplibs_GCJ=yes
       ;;
 
+    os2*)
+      hardcode_libdir_flag_spec_GCJ='-L$libdir'
+      hardcode_minus_L_GCJ=yes
+      allow_undefined_flag_GCJ=unsupported
+      shrext_cmds=.dll
+      archive_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      archive_expsym_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      enable_shared_with_static_runtimes_GCJ=yes
+      ;;
+
     interix[3-9]*)
       hardcode_direct_GCJ=no
       hardcode_shlibpath_var_GCJ=no
@@ -26550,6 +27513,9 @@ _LT_EOF
         fi
 
        case $cc_basename in
+       tcc*)
+         export_dynamic_flag_spec_GCJ='-rdynamic'
+         ;;
        xlf* | bgf* | bgxlf* | mpixlf*)
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
          whole_archive_flag_spec_GCJ='--whole-archive$convenience --no-whole-archive'
@@ -26679,19 +27645,35 @@ _LT_EOF
        no_entry_flag=
       else
        # If we're using GNU nm, then we don't want the "-C" option.
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
-       # Also, AIX nm treats weak defined symbols like other global
-       # defined symbols, whereas GNU nm marks them as "W".
+       # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+       # Without the "-l" option, or with the "-B" option, AIX nm treats
+       # weak defined symbols like other global defined symbols, whereas
+       # GNU nm marks them as "W".
+       # While the 'weak' keyword is ignored in the Export File, we need
+       # it in the Import File for the 'aix-soname' feature, so we have
+       # to replace the "-B" option with "-P" for AIX nm.
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-         export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
        else
-         export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds_GCJ='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
        fi
        aix_use_runtimelinking=no
 
        # Test if we are trying to use run time linking or normal
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
-       # need to do runtime linking.
+       # have runtime linking enabled, and use it for executables.
+       # For shared libraries, we enable/disable runtime linking
+       # depending on the kind of the shared library created -
+       # when "with_aix_soname,aix_use_runtimelinking" is:
+       # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "aix,yes"  lib.so          shared, rtl:yes, for executables
+       #            lib.a           static archive
+       # "both,no"  lib.so.V(shr.o) shared, rtl:yes
+       #            lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a(lib.so.V) shared, rtl:no
+       # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a           static archive
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
          for ld_flag in $LDFLAGS; do
          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
@@ -26699,6 +27681,13 @@ _LT_EOF
            break
          fi
          done
+         if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+           # With aix-soname=svr4, we create the lib.so.V shared archives only,
+           # so we don't have lib.a shared libs to link our executables.
+           # We have to force runtime linking in this case.
+           aix_use_runtimelinking=yes
+           LDFLAGS="$LDFLAGS -Wl,-brtl"
+         fi
          ;;
        esac
 
@@ -26718,6 +27707,14 @@ _LT_EOF
       hardcode_libdir_separator_GCJ=':'
       link_all_deplibs_GCJ=yes
       file_list_spec_GCJ='$wl-f,'
+      case $with_aix_soname,$aix_use_runtimelinking in
+      aix,*) ;; # traditional, no import file
+      svr4,* | *,yes) # use import file
+       # The Import File defines what to hardcode.
+       hardcode_direct_GCJ=no
+       hardcode_direct_absolute_GCJ=no
+       ;;
+      esac
 
       if test yes = "$GCC"; then
        case $host_os in aix4.[012]|aix4.[012].*)
@@ -26745,6 +27742,11 @@ _LT_EOF
        if test yes = "$aix_use_runtimelinking"; then
          shared_flag="$shared_flag "'$wl-G'
        fi
+       # Need to ensure runtime linking is disabled for the traditional
+       # shared library, or the linker may eventually find shared libraries
+       # /with/ Import File - we do not want to mix them.
+       shared_flag_aix='-shared'
+       shared_flag_svr4='-shared $wl-G'
       else
        # not using gcc
        if test ia64 = "$host_cpu"; then
@@ -26757,6 +27759,8 @@ _LT_EOF
          else
            shared_flag='$wl-bM:SRE'
          fi
+         shared_flag_aix='$wl-bM:SRE'
+         shared_flag_svr4='$wl-G'
        fi
       fi
 
@@ -26764,7 +27768,7 @@ _LT_EOF
       # It seems that -bexpall does not export symbols beginning with
       # underscore (_), so it is better to generate a list of symbols to export.
       always_export_symbols_GCJ=yes
-      if test yes = "$aix_use_runtimelinking"; then
+      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
        # Warning - without using the other runtime loading flags (-brtl),
        # -berok will link without error, but may produce a broken library.
        allow_undefined_flag_GCJ='-berok'
            whole_archive_flag_spec_GCJ='$convenience'
          fi
          archive_cmds_need_lc_GCJ=yes
-         # This is similar to how AIX traditionally builds its shared libraries.
-         archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+         archive_expsym_cmds_GCJ='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+         # -brtl affects multiple linker settings, -berok does not and is overridden later
+         compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+         if test svr4 != "$with_aix_soname"; then
+           # This is similar to how AIX traditionally builds its shared libraries.
+           archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+         fi
+         if test aix != "$with_aix_soname"; then
+           archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+         else
+           # used by -dlpreopen to get the symbols
+           archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
+         fi
+         archive_expsym_cmds_GCJ="$archive_expsym_cmds_GCJ"'~$RM -r $output_objdir/$realname.d'
        fi
       fi
       ;;
@@ -27160,6 +28176,16 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       link_all_deplibs_GCJ=yes
       ;;
 
+    linux*)
+      case $cc_basename in
+      tcc*)
+       # Fabrice Bellard et al's Tiny C Compiler
+       ld_shlibs_GCJ=yes
+       archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+       ;;
+      esac
+      ;;
+
     netbsd*)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
@@ -27205,8 +28231,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       hardcode_libdir_flag_spec_GCJ='-L$libdir'
       hardcode_minus_L_GCJ=yes
       allow_undefined_flag_GCJ=unsupported
-      archive_cmds_GCJ='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
-      old_archive_from_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+      shrext_cmds=.dll
+      archive_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      archive_expsym_cmds_GCJ='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      enable_shared_with_static_runtimes_GCJ=yes
       ;;
 
     osf3*)
@@ -27774,6 +28820,8 @@ CFLAGS=$lt_save_CFLAGS
 # Ensure the correct file name (and path) conversion function
 # is available to the test suite.
 
+# Propagate --with-aix-soname option to the testsuite.
+
 ## ---------------------- ##
 ## Gnulib initialisation. ##
 ## ---------------------- ##
@@ -28443,7 +29491,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by GNU Libtool $as_me 2.4.3, which was
+This file was extended by GNU Libtool $as_me 2.4.4, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -28515,7 +29563,7 @@ _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-GNU Libtool config.status 2.4.3
+GNU Libtool config.status 2.4.4
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
@@ -28654,6 +29702,7 @@ enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
+shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
@@ -30279,6 +31328,9 @@ pic_mode=$pic_mode
 # Whether or not to optimize for fast installation.
 fast_install=$enable_fast_install
 
+# Shared archive member basename,for filename based shared library versioning on AIX.
+shared_archive_member_spec=$shared_archive_member_spec
+
 # Shell to use when invoking shell scripts.
 SHELL=$lt_SHELL
 
index c4dbe9f..77a0f66 100644 (file)
@@ -159,6 +159,9 @@ LT_LANG(Windows Resource)
 AC_SUBST([to_host_file_cmd])dnl
 AC_SUBST([to_tool_file_cmd])dnl
 
+# Propagate --with-aix-soname option to the testsuite.
+AC_SUBST([with_aix_soname])dnl
+
 ## ---------------------- ##
 ## Gnulib initialisation. ##
 ## ---------------------- ##
index f4950a3..a53d3d9 100644 (file)
@@ -1,7 +1,7 @@
-.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.46.3.
-.TH LIBTOOL "1" "October 2014" "libtool 2.4.2.458.26-92994" "User Commands"
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.46.4.
+.TH LIBTOOL "1" "November 2014" "libtool 2.4.3.45-b9966" "User Commands"
 .SH NAME
-libtool \- manual page for libtool 2.4.2.458.26-92994
+libtool \- manual page for libtool 2.4.3.45-b9966
 .SH SYNOPSIS
 .B libtool
 [\fI\,OPTION\/\fR]... [\fI\,MODE-ARG\/\fR]...
@@ -100,7 +100,7 @@ gcc
 .IP
 compiler flags: \fB\-g\fR \fB\-O2\fR
 linker:         \fI\,/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld\/\fP (gnu? no)
-version:        libtool (GNU libtool) 2.4.2.458.26\-92994
+version:        libtool (GNU libtool) 2.4.3.45\-b9966
 automake:       automake (GNU automake) 1.14.1
 autoconf:       autoconf (GNU Autoconf) 2.69
 .SH AUTHOR
index 6132fec..bb01333 100644 (file)
@@ -1,7 +1,7 @@
 This is libtool.info, produced by makeinfo version 5.2 from
 libtool.texi.
 
-This manual is for GNU Libtool (version 2.4.3, 27 October 2014).
+This manual is for GNU Libtool (version 2.4.4, 29 November 2014).
 
    Copyright (C) 1996-2014 Free Software Foundation, Inc.
 
@@ -24,115 +24,115 @@ END-INFO-DIR-ENTRY
 
 \1f
 Indirect:
-libtool.info-1: 963
-libtool.info-2: 310414
+libtool.info-1: 964
+libtool.info-2: 312229
 \1f
 Tag Table:
 (Indirect)
-Node: Top\7f963
-Node: Introduction\7f8156
-Node: Motivation\7f9962
-Node: Issues\7f11282
-Node: Other implementations\7f12760
-Node: Postmortem\7f13303
-Node: Libtool paradigm\7f14923
-Node: Using libtool\7f15868
-Node: Creating object files\7f17971
-Node: Linking libraries\7f21707
-Ref: Linking libraries-Footnote-1\7f25520
-Node: Linking executables\7f25661
-Ref: Linking executables-Footnote-1\7f30912
-Ref: Linking executables-Footnote-2\7f31205
-Node: Wrapper executables\7f31286
-Node: Debugging executables\7f33514
-Node: Installing libraries\7f36328
-Ref: Installing libraries-Footnote-1\7f39490
-Node: Installing executables\7f39561
-Node: Static libraries\7f40397
-Node: Invoking libtool\7f43675
-Node: Compile mode\7f49331
-Node: Link mode\7f52292
-Node: Execute mode\7f61668
-Node: Install mode\7f62448
-Node: Finish mode\7f64819
-Node: Uninstall mode\7f65681
-Node: Clean mode\7f66122
-Node: Integrating libtool\7f66581
-Node: Autoconf macros\7f69411
-Node: Makefile rules\7f73254
-Node: Using Automake\7f74357
-Ref: Using Automake-Footnote-1\7f75938
-Node: Configuring\7f76338
-Node: LT_INIT\7f77572
-Ref: LT_INIT-Footnote-1\7f92501
-Node: Configure notes\7f92754
-Node: Distributing\7f95927
-Node: Invoking libtoolize\7f96844
-Node: Autoconf and LTLIBOBJS\7f103025
-Node: Static-only libraries\7f103769
-Ref: Static-only libraries-Footnote-1\7f105083
-Node: Other languages\7f105192
-Node: C++ libraries\7f105891
-Node: Tags\7f107314
-Node: Versioning\7f108727
-Node: Interfaces\7f110095
-Node: Libtool versioning\7f110728
-Node: Updating version info\7f112941
-Node: Release numbers\7f115972
-Node: Library tips\7f117809
-Node: C header files\7f120614
-Ref: C header files-Footnote-1\7f124269
-Node: Inter-library dependencies\7f124478
-Node: Dlopened modules\7f127179
-Node: Building modules\7f129066
-Node: Dlpreopening\7f130267
-Node: Linking with dlopened modules\7f135896
-Node: Finding the dlname\7f140826
-Ref: Finding the dlname-Footnote-1\7f142142
-Node: Dlopen issues\7f142195
-Node: Using libltdl\7f143236
-Node: Libltdl interface\7f145068
-Ref: Libltdl interface-Footnote-1\7f158669
-Node: Modules for libltdl\7f158963
-Node: Thread Safety in libltdl\7f161489
-Node: User defined module data\7f162502
-Node: Module loaders for libltdl\7f169988
-Ref: Module loaders for libltdl-Footnote-1\7f179254
-Node: Distributing libltdl\7f179360
-Ref: Distributing libltdl-Footnote-1\7f193129
-Ref: Distributing libltdl-Footnote-2\7f193425
-Node: Trace interface\7f193575
-Node: FAQ\7f194410
-Node: Stripped link flags\7f194748
-Node: Troubleshooting\7f196193
-Node: Libtool test suite\7f196716
-Node: Test descriptions\7f197485
-Node: When tests fail\7f209866
-Node: Reporting bugs\7f210869
-Node: Maintaining\7f212487
-Node: New ports\7f213230
-Node: Information sources\7f213923
-Node: Porting inter-library dependencies\7f216380
-Node: Tested platforms\7f219096
-Node: Platform quirks\7f227526
-Node: References\7f228707
-Node: Compilers\7f229557
-Ref: Compilers-Footnote-1\7f231135
-Node: Reloadable objects\7f231451
-Node: Multiple dependencies\7f231810
-Node: Archivers\7f232704
-Node: Cross compiling\7f233294
-Node: File name conversion\7f239278
-Node: File Name Conversion Failure\7f242311
-Node: Native MinGW File Name Conversion\7f243560
-Node: Cygwin/Windows File Name Conversion\7f245121
-Node: Unix/Windows File Name Conversion\7f246492
-Node: LT_CYGPATH\7f247258
-Node: Cygwin to MinGW Cross\7f250501
-Node: Windows DLLs\7f254798
-Node: libtool script contents\7f262073
-Node: Cheap tricks\7f282433
-Node: GNU Free Documentation License\7f284296
-Node: Combined Index\7f310414
+Node: Top\7f964
+Node: Introduction\7f8157
+Node: Motivation\7f9963
+Node: Issues\7f11283
+Node: Other implementations\7f12761
+Node: Postmortem\7f13304
+Node: Libtool paradigm\7f14924
+Node: Using libtool\7f15869
+Node: Creating object files\7f17972
+Node: Linking libraries\7f21708
+Ref: Linking libraries-Footnote-1\7f25521
+Node: Linking executables\7f25662
+Ref: Linking executables-Footnote-1\7f30913
+Ref: Linking executables-Footnote-2\7f31206
+Node: Wrapper executables\7f31287
+Node: Debugging executables\7f33515
+Node: Installing libraries\7f36329
+Ref: Installing libraries-Footnote-1\7f39491
+Node: Installing executables\7f39562
+Node: Static libraries\7f40398
+Node: Invoking libtool\7f43676
+Node: Compile mode\7f49332
+Node: Link mode\7f52293
+Node: Execute mode\7f61816
+Node: Install mode\7f62596
+Node: Finish mode\7f64967
+Node: Uninstall mode\7f65829
+Node: Clean mode\7f66270
+Node: Integrating libtool\7f66729
+Node: Autoconf macros\7f69559
+Node: Makefile rules\7f73402
+Node: Using Automake\7f74505
+Ref: Using Automake-Footnote-1\7f76086
+Node: Configuring\7f76486
+Node: LT_INIT\7f77720
+Ref: LT_INIT-Footnote-1\7f94315
+Node: Configure notes\7f94568
+Node: Distributing\7f97741
+Node: Invoking libtoolize\7f98658
+Node: Autoconf and LTLIBOBJS\7f104839
+Node: Static-only libraries\7f105583
+Ref: Static-only libraries-Footnote-1\7f106897
+Node: Other languages\7f107006
+Node: C++ libraries\7f107705
+Node: Tags\7f109128
+Node: Versioning\7f110541
+Node: Interfaces\7f111909
+Node: Libtool versioning\7f112542
+Node: Updating version info\7f114755
+Node: Release numbers\7f117786
+Node: Library tips\7f119623
+Node: C header files\7f122428
+Ref: C header files-Footnote-1\7f126083
+Node: Inter-library dependencies\7f126292
+Node: Dlopened modules\7f128993
+Node: Building modules\7f130880
+Node: Dlpreopening\7f132081
+Node: Linking with dlopened modules\7f137710
+Node: Finding the dlname\7f142640
+Ref: Finding the dlname-Footnote-1\7f143956
+Node: Dlopen issues\7f144009
+Node: Using libltdl\7f145050
+Node: Libltdl interface\7f146882
+Ref: Libltdl interface-Footnote-1\7f160483
+Node: Modules for libltdl\7f160777
+Node: Thread Safety in libltdl\7f163303
+Node: User defined module data\7f164316
+Node: Module loaders for libltdl\7f171802
+Ref: Module loaders for libltdl-Footnote-1\7f181068
+Node: Distributing libltdl\7f181174
+Ref: Distributing libltdl-Footnote-1\7f194943
+Ref: Distributing libltdl-Footnote-2\7f195239
+Node: Trace interface\7f195389
+Node: FAQ\7f196224
+Node: Stripped link flags\7f196562
+Node: Troubleshooting\7f198007
+Node: Libtool test suite\7f198530
+Node: Test descriptions\7f199299
+Node: When tests fail\7f211680
+Node: Reporting bugs\7f212683
+Node: Maintaining\7f214301
+Node: New ports\7f215044
+Node: Information sources\7f215737
+Node: Porting inter-library dependencies\7f218194
+Node: Tested platforms\7f220910
+Node: Platform quirks\7f229340
+Node: References\7f230521
+Node: Compilers\7f231371
+Ref: Compilers-Footnote-1\7f232949
+Node: Reloadable objects\7f233265
+Node: Multiple dependencies\7f233624
+Node: Archivers\7f234518
+Node: Cross compiling\7f235108
+Node: File name conversion\7f241092
+Node: File Name Conversion Failure\7f244125
+Node: Native MinGW File Name Conversion\7f245374
+Node: Cygwin/Windows File Name Conversion\7f246935
+Node: Unix/Windows File Name Conversion\7f248306
+Node: LT_CYGPATH\7f249072
+Node: Cygwin to MinGW Cross\7f252315
+Node: Windows DLLs\7f256612
+Node: libtool script contents\7f263887
+Node: Cheap tricks\7f284247
+Node: GNU Free Documentation License\7f286110
+Node: Combined Index\7f312229
 \1f
 End Tag Table
index ab6941b..5a1f872 100644 (file)
@@ -1,7 +1,7 @@
 This is libtool.info, produced by makeinfo version 5.2 from
 libtool.texi.
 
-This manual is for GNU Libtool (version 2.4.3, 27 October 2014).
+This manual is for GNU Libtool (version 2.4.4, 29 November 2014).
 
    Copyright (C) 1996-2014 Free Software Foundation, Inc.
 
@@ -30,7 +30,7 @@ Shared library support for GNU
 
 This file documents GNU Libtool, a script that allows package developers
 to provide generic shared library support.  This edition documents
-version 2.4.3.
+version 2.4.4.
 
    *Note Reporting bugs::, for information on how to report problems
 with GNU Libtool.
@@ -474,7 +474,7 @@ library.  On 'a23', only static libraries are supported so the library
 objects look like this:
 
      # foo.lo - a libtool object file
-     # Generated by ltmain.sh (GNU libtool) 2.4.3
+     # Generated by ltmain.sh (GNU libtool) 2.4.4
      #
      # Please DO NOT delete this file!
      # It is necessary for linking the library.
@@ -503,7 +503,7 @@ build them, Libtool has compiled a PIC object this time, and made a note
 of it in the libtool object:
 
      # foo.lo - a libtool object file
-     # Generated by ltmain.sh (GNU libtool) 2.4.3
+     # Generated by ltmain.sh (GNU libtool) 2.4.4
      #
      # Please DO NOT delete this file!
      # It is necessary for linking the library.
@@ -1388,6 +1388,10 @@ output file (with the '-o' flag) from several object files.
 '-objectlist FILE'
      Use a list of object files found in FILE to specify objects.
 
+'-os2dllname NAME'
+     Use this to change the DLL base name on OS/2 to NAME, to keep
+     within the 8 character base name limit on this system.
+
 '-precious-files-regex REGEX'
      Prevents removal of files from the temporary output directory whose
      names match this regular expression.  You might specify '\.bbg?$'
@@ -1900,7 +1904,7 @@ a number of macros defined by Libtool:
      print an error message to the standard error output and exit with
      failure (exit status is 63).  For example:
 
-          LT_PREREQ([2.4.3])
+          LT_PREREQ([2.4.4])
 
  -- Macro: LT_INIT (OPTIONS)
  -- Macro: AC_PROG_LIBTOOL
@@ -1993,6 +1997,37 @@ a number of macros defined by Libtool:
           '-no-undefined', you must ensure that all the library symbols
           *really are* defined at link time!
 
+     'aix-soname=aix'
+     'aix-soname=svr4'
+     'aix-soname=both'
+          Enable the '--with-aix-soname' to 'configure', which the user
+          can pass to override the given default.
+
+          By default (and *always* in releases prior to 2.4.4), Libtool
+          always behaves as if 'aix-soname=aix' is given, with no
+          'configure' option for the user to override.  Specifically,
+          when the '-brtl' linker flag is seen in 'LDFLAGS' at
+          build-time, static archives are built from static objects
+          only, otherwise, traditional AIX shared library archives of
+          shared objects using in-archive versioning are built (with the
+          '.a' file extension!).  Similarly, with '-brtl' in 'LDFLAGS',
+          libtool shared archives are built from shared objects, without
+          any filename-based versioning; and without '-brtl' no shared
+          archives are built at all.
+
+          When 'aix-soname=svr4' option is given, or the
+          '--with-aix-soname=svr4' 'configure' option is passed, static
+          archives are always created from static objects, even without
+          '-brtl' in 'LDFLAGS'.  Shared archives are made from shared
+          objects, and filename based versioning is enabled.
+
+          When 'aix-soname=both' option is given, or the
+          '--with-aix-soname=svr4' 'configure' option is passed, static
+          archives are built traditionally (as 'aix-soname=aix'), and
+          both kinds of shared archives are built.  The '.la'
+          pseudo-archive specifies one or the other depending on whether
+          '-brtl' is specified in 'LDFLAGS' when the library is built.
+
      'disable-fast-install'
           Change the default behaviour for 'LT_INIT' to disable
           optimization for fast installation.  The user may still
index feccbb5..36b2a8f 100644 (file)
Binary files a/doc/libtool.info-2 and b/doc/libtool.info-2 differ
index 89c5d1a..90aeb8f 100644 (file)
@@ -1531,6 +1531,10 @@ Create @var{output-file} from the specified objects and libraries.
 @item -objectlist @var{file}
 Use a list of object files found in @var{file} to specify objects.
 
+@item -os2dllname @var{name}
+Use this to change the DLL base name on OS/2 to @var{name}, to keep
+within the 8 character base name limit on this system.
+
 @item -precious-files-regex @var{regex}
 Prevents removal of files from the temporary output directory whose
 names match this regular expression.  You might specify @samp{\.bbg?$}
@@ -2185,6 +2189,35 @@ in link mode from the package @code{Makefile}.  Naturally, if you pass
 @option{-no-undefined}, you must ensure that all the library symbols
 @strong{really are} defined at link time!
 
+@item aix-soname=aix
+@itemx aix-soname=svr4
+@itemx aix-soname=both
+Enable the @option{--with-aix-soname} to @command{configure}, which the
+user can pass to override the given default.
+
+By default (and @strong{always} in releases prior to 2.4.4), Libtool always
+behaves as if @code{aix-soname=aix} is given, with no @command{configure}
+option for the user to override. Specifically, when the @option{-brtl} linker
+flag is seen in @code{LDFLAGS} at build-time, static archives are built from
+static objects only, otherwise, traditional AIX shared library archives of
+shared objects using in-archive versioning are built (with the @code{.a} file
+extension!). Similarly, with @option{-brtl} in @code{LDFLAGS}, libtool
+shared archives are built from shared objects, without any filename-based
+versioning; and without @option{-brtl} no shared archives are built at all.
+
+When @code{aix-soname=svr4} option is given, or the
+@option{--with-aix-soname=svr4} @command{configure} option is passed, static
+archives are always created from static objects, even without @option{-brtl}
+in @code{LDFLAGS}. Shared archives are made from shared objects, and filename
+based versioning is enabled.
+
+When @code{aix-soname=both} option is given, or the
+@option{--with-aix-soname=svr4} @command{configure} option is passed, static
+archives are built traditionally (as @option{aix-soname=aix}), and both
+kinds of shared archives are built. The @code{.la} pseudo-archive specifies
+one or the other depending on whether @option{-brtl} is specified in
+@code{LDFLAGS} when the library is built.
+
 @item disable-fast-install
 Change the default behaviour for @code{LT_INIT} to disable
 optimization for fast installation.  The user may still override this
index d415443..e2b71e3 100644 (file)
@@ -1,7 +1,7 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.46.3.
-.TH LIBTOOLIZE "1" "October 2014" "libtoolize 2.4.2.458.25-a2ca3" "User Commands"
+.TH LIBTOOLIZE "1" "November 2014" "libtoolize 2.4.3.44-9b01" "User Commands"
 .SH NAME
-libtoolize \- manual page for libtoolize 2.4.2.458.25-a2ca3
+libtoolize \- manual page for libtoolize 2.4.3.44-9b01
 .SH SYNOPSIS
 .B libtoolize
 [\fI\,OPTION\/\fR]...
@@ -96,7 +96,7 @@ host\-triplet:
 x86_64\-apple\-darwin14.0.0
 .TP
 version:
-libtoolize (GNU libtool) 2.4.2.458.25\-a2ca3
+libtoolize (GNU libtool) 2.4.3.44\-9b01
 .TP
 automake:
 automake (GNU automake) 1.14.1
index a9df3b0..45cf61c 100644 (file)
@@ -3,57 +3,58 @@
    * On AIX there are two different styles of shared linking, one where
      symbols are bound at link-time and one where symbols are bound at
      runtime only, similar to ELF.  In case of doubt use
-     'LDFLAGS=-Wl,-brtl' for the latter style.
+     `LDFLAGS=-Wl,-brtl' for the latter style.
 
    * On AIX, native tools are to be preferred over binutils; especially
      for C++ code, if using the AIX Toolbox GCC 4.0 and binutils,
-     configure with 'AR=/usr/bin/ar LD=/usr/bin/ld NM='/usr/bin/nm -B''.
+     configure with `AR=/usr/bin/ar LD=/usr/bin/ld NM='/usr/bin/nm -B''.
 
-   * On AIX, the '/bin/sh' is very slow due to its inefficient handling
+   * On AIX, the `/bin/sh' is very slow due to its inefficient handling
      of here-documents.  A modern shell is preferable:
           CONFIG_SHELL=/bin/bash; export $CONFIG_SHELL
           $CONFIG_SHELL ./configure [...]
 
-   * For C++ code with templates, it may be necessary to specify the way
-     the compiler will generate the instantiations.  For Portland pgCC
-     version5, use 'CXX='pgCC --one_instantiation_per_object'' and avoid
-     parallel 'make'.
+   * For C++ code with templates, it may be necessary to specify the
+     way the compiler will generate the instantiations.  For Portland
+     pgCC version5, use `CXX='pgCC --one_instantiation_per_object'' and
+     avoid parallel `make'.
 
    * On Darwin, for C++ code with templates you need two level shared
      libraries.  Libtool builds these by default if
-     'MACOSX_DEPLOYMENT_TARGET' is set to 10.3 or later at 'configure'
-     time.  See <rdar://problem/4135857> for more information on this
+     `MACOSX_DEPLOYMENT_TARGET' is set to 10.3 or later at `configure'
+     time.  See `rdar://problem/4135857' for more information on this
      issue.
 
    * The default shell on UNICOS 9, a ksh 88e variant, is too buggy to
-     correctly execute the libtool script.  Users are advised to install
-     a modern shell such as GNU bash.
+     correctly execute the libtool script.  Users are advised to
+     install a modern shell such as GNU bash.
 
-   * Some HP-UX 'sed' programs are horribly broken, and cannot handle
+   * Some HP-UX `sed' programs are horribly broken, and cannot handle
      libtool's requirements, so users may report unusual problems.
-     There is no workaround except to install a working 'sed' (such as
+     There is no workaround except to install a working `sed' (such as
      GNU sed) on these systems.
 
-   * The vendor-distributed NCR MP-RAS 'cc' programs emits copyright on
-     standard error that confuse tests on size of 'conftest.err'.  The
-     workaround is to specify 'CC' when run configure with 'CC='cc
+   * The vendor-distributed NCR MP-RAS `cc' programs emits copyright on
+     standard error that confuse tests on size of `conftest.err'.  The
+     workaround is to specify `CC' when run configure with `CC='cc
      -Hnocopyr''.
 
    * Any earlier DG/UX system with ELF executables, such as R3.10 or
      R4.10, is also likely to work, but hasn't been explicitly tested.
 
    * On Reliant Unix libtool has only been tested with the Siemens
-     C-compiler and an old version of 'gcc' provided by Marco Walther.
+     C-compiler and an old version of `gcc' provided by Marco Walther.
 
-   * 'libtool.m4', 'ltdl.m4' and the 'configure.ac' files are marked to
-     use autoconf-mode, which is distributed with GNU Emacs 21, Autoconf
-     itself, and all recent releases of XEmacs.
+   * `libtool.m4', `ltdl.m4' and the `configure.ac' files are marked to
+     use autoconf-mode, which is distributed with GNU Emacs 21,
+     Autoconf itself, and all recent releases of XEmacs.
 
    * When building on some GNU/Linux systems for multilib targets
-     'libtool' sometimes guesses the wrong paths that the linker and
-     dynamic linker search by default.  If this occurs, you may override
-     libtool's guesses at 'configure' time by setting the 'autoconf'
-     cache variables 'lt_cv_sys_lib_search_path_spec' and
-     'lt_cv_sys_lib_dlsearch_path_spec' respectively to the correct
+     `libtool' sometimes guesses the wrong paths that the linker and
+     dynamic linker search by default. If this occurs, you may override
+     libtool's guesses at `configure' time by setting the `autoconf'
+     cache variables `lt_cv_sys_lib_search_path_spec' and
+     `lt_cv_sys_lib_dlsearch_path_spec' respectively to the correct
      search paths.
 
+
index 8d121e6..53d93ef 100644 (file)
@@ -1,4 +1,4 @@
-@set UPDATED 27 October 2014
-@set UPDATED-MONTH October 2014
-@set EDITION 2.4.3
-@set VERSION 2.4.3
+@set UPDATED 29 November 2014
+@set UPDATED-MONTH November 2014
+@set EDITION 2.4.4
+@set VERSION 2.4.4
index 8d121e6..53d93ef 100644 (file)
@@ -1,4 +1,4 @@
-@set UPDATED 27 October 2014
-@set UPDATED-MONTH October 2014
-@set EDITION 2.4.3
-@set VERSION 2.4.3
+@set UPDATED 29 November 2014
+@set UPDATED-MONTH November 2014
+@set EDITION 2.4.4
+@set VERSION 2.4.4
index 6c4350d..ba01b97 100644 (file)
@@ -45,8 +45,9 @@ MOSTLYCLEANFILES =
 # -I$(srcdir) is needed for user that built libltdl with a sub-Automake
 # (not as a sub-package!) using 'nostdinc':
 AM_CPPFLAGS           += -DLT_CONFIG_H='<$(LT_CONFIG_H)>' \
-                         -DLTDL -I. -I$(srcdir) -Ilibltdl \
-                         -I$(srcdir)/libltdl -I$(srcdir)/libltdl
+                         -DLTDL -I. -I$(srcdir) \
+                         -Ilibltdl  -I$(srcdir)/libltdl \
+                         -Ilibltdl -I$(srcdir)/libltdl/libltdl
 AM_LDFLAGS            += -no-undefined
 LTDL_VERSION_INFO      = -version-info 10:1:3
 
@@ -144,16 +145,16 @@ EXTRA_DIST               += COPYING.LIB \
 ## Gnulib Makefile.am snippets ##
 ## --------------------------- ##
 
-BUILT_SOURCES  += $(ARGZ_H)
-EXTRA_DIST     += argz_.h \
-                  argz.c
+BUILT_SOURCES  += libltdl/$(LT_ARGZ_H)
+EXTRA_DIST     += libltdl/lt__argz_.h \
+                  lt__argz.c
 
 # We need the following in order to create an <argz.h> when the system
 # doesn't have one that works with the given compiler.
-all-local $(lib_OBJECTS): $(ARGZ_H)
-argz.h: argz_.h
-       $(AM_V_at)$(mkinstalldirs) . 
-       $(AM_V_GEN)cp $(srcdir)/argz_.h $@-t
+all-local $(lib_OBJECTS): $(LT_ARGZ_H)
+libltdl/lt__argz.h: libltdl/lt__argz_.h
+       $(AM_V_at)$(mkinstalldirs) . libltdl
+       $(AM_V_GEN)cp $(srcdir)/libltdl/lt__argz_.h $@-t
        $(AM_V_at)mv $@-t $@
-MOSTLYCLEANFILES += argz.h \
-                   argz.h-t
+MOSTLYCLEANFILES += libltdl/lt__argz.h \
+                   libltdl/lt__argz.h-t
index 0239f9b..3b54df4 100644 (file)
@@ -87,7 +87,7 @@ host_triplet = @host@
 subdir = .
 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
        $(top_srcdir)/configure $(am__configure_deps) \
-       $(srcdir)/config-h.in lt__strl.c lt__dirent.c argz.c \
+       $(srcdir)/config-h.in lt__strl.c lt__argz.c lt__dirent.c \
        $(top_srcdir)/../build-aux/depcomp $(am__include_HEADERS_DIST) \
        $(am__ltdlinclude_HEADERS_DIST) COPYING.LIB README \
        ../build-aux/compile ../build-aux/config.guess \
@@ -101,8 +101,8 @@ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
        $(top_srcdir)/../build-aux/ltmain.sh \
        $(top_srcdir)/../build-aux/missing
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/../m4/argz.m4 \
-       $(top_srcdir)/../m4/libtool.m4 $(top_srcdir)/../m4/ltdl.m4 \
+am__aclocal_m4_deps = $(top_srcdir)/../m4/libtool.m4 \
+       $(top_srcdir)/../m4/ltargz.m4 $(top_srcdir)/../m4/ltdl.m4 \
        $(top_srcdir)/../m4/ltoptions.m4 \
        $(top_srcdir)/../m4/ltsugar.m4 \
        $(top_srcdir)/../m4/ltversion.m4 \
@@ -301,7 +301,6 @@ ACLOCAL = @ACLOCAL@
 AMTAR = @AMTAR@
 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
 AR = @AR@
-ARGZ_H = @ARGZ_H@
 AS = @AS@
 AUTOCONF = @AUTOCONF@
 AUTOHEADER = @AUTOHEADER@
@@ -343,6 +342,7 @@ LIPO = @LIPO@
 LN_S = @LN_S@
 LTDLOPEN = @LTDLOPEN@
 LTLIBOBJS = @LTLIBOBJS@
+LT_ARGZ_H = @LT_ARGZ_H@
 LT_CONFIG_H = @LT_CONFIG_H@
 LT_DLLOADERS = @LT_DLLOADERS@
 LT_DLPREOPEN = @LT_DLPREOPEN@
@@ -428,18 +428,20 @@ AUTOMAKE_OPTIONS = foreign
 # -I$(srcdir) is needed for user that built libltdl with a sub-Automake
 # (not as a sub-package!) using 'nostdinc':
 AM_CPPFLAGS = -DLT_CONFIG_H='<$(LT_CONFIG_H)>' -DLTDL -I. -I$(srcdir) \
-       -Ilibltdl -I$(srcdir)/libltdl -I$(srcdir)/libltdl
+       -Ilibltdl -I$(srcdir)/libltdl -Ilibltdl \
+       -I$(srcdir)/libltdl/libltdl
 AM_LDFLAGS = -no-undefined
-BUILT_SOURCES = $(ARGZ_H)
+BUILT_SOURCES = libltdl/$(LT_ARGZ_H)
 include_HEADERS = $(am__append_1)
 noinst_LTLIBRARIES = $(LT_DLLOADERS) $(am__append_3)
 lib_LTLIBRARIES = $(am__append_2)
 EXTRA_LTLIBRARIES = dlopen.la dld_link.la dyld.la load_add_on.la \
        loadlibrary.la shl_load.la
-EXTRA_DIST = lt__dirent.c lt__strl.c COPYING.LIB README argz_.h argz.c
+EXTRA_DIST = lt__dirent.c lt__strl.c COPYING.LIB README \
+       libltdl/lt__argz_.h lt__argz.c
 CLEANFILES = libltdl.la libltdlc.la libdlloader.la $(LIBOBJS) \
        $(LTLIBOBJS)
-MOSTLYCLEANFILES = argz.h argz.h-t
+MOSTLYCLEANFILES = libltdl/lt__argz.h libltdl/lt__argz.h-t
 LTDL_VERSION_INFO = -version-info 10:1:3
 @INSTALL_LTDL_TRUE@ltdlincludedir = $(includedir)/libltdl
 @INSTALL_LTDL_TRUE@ltdlinclude_HEADERS = libltdl/lt_system.h \
@@ -642,7 +644,7 @@ mostlyclean-compile:
 distclean-compile:
        -rm -f *.tab.c
 
-@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/argz.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/lt__argz.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/lt__dirent.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/lt__strl.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libltdl_la-lt__alloc.Plo@am__quote@
@@ -1190,10 +1192,10 @@ uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES \
 
 # We need the following in order to create an <argz.h> when the system
 # doesn't have one that works with the given compiler.
-all-local $(lib_OBJECTS): $(ARGZ_H)
-argz.h: argz_.h
-       $(AM_V_at)$(mkinstalldirs) . 
-       $(AM_V_GEN)cp $(srcdir)/argz_.h $@-t
+all-local $(lib_OBJECTS): $(LT_ARGZ_H)
+libltdl/lt__argz.h: libltdl/lt__argz_.h
+       $(AM_V_at)$(mkinstalldirs) . libltdl
+       $(AM_V_GEN)cp $(srcdir)/libltdl/lt__argz_.h $@-t
        $(AM_V_at)mv $@-t $@
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
index 1f4906c..86586e6 100644 (file)
@@ -1147,8 +1147,8 @@ AC_SUBST([am__tar])
 AC_SUBST([am__untar])
 ]) # _AM_PROG_TAR
 
-m4_include([../m4/argz.m4])
 m4_include([../m4/libtool.m4])
+m4_include([../m4/ltargz.m4])
 m4_include([../m4/ltdl.m4])
 m4_include([../m4/ltoptions.m4])
 m4_include([../m4/ltsugar.m4])
index d8e1d58..3061cbe 100644 (file)
 /* Define to the shared library suffix, say, ".dylib". */
 #undef LT_SHARED_EXT
 
+/* Define to the shared archive member specification, say "(shr.o)". */
+#undef LT_SHARED_LIB_MEMBER
+
 /* Define if dlsym() requires a leading underscore in symbol names. */
 #undef NEED_USCORE
 
index 0ba052f..17a46b1 100755 (executable)
@@ -641,7 +641,7 @@ CONVENIENCE_LTDL_FALSE
 CONVENIENCE_LTDL_TRUE
 INSTALL_LTDL_FALSE
 INSTALL_LTDL_TRUE
-ARGZ_H
+LT_ARGZ_H
 LIBOBJS
 sys_symbol_underscore
 LIBADD_DL
@@ -771,6 +771,7 @@ enable_shared
 enable_static
 with_pic
 enable_fast_install
+with_aix_soname
 enable_dependency_tracking
 with_gnu_ld
 with_sysroot
@@ -1422,6 +1423,9 @@ Optional Packages:
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
                           both]
+  --with-aix-soname=aix|svr4|both
+                          shared library versioning (aka "SONAME") variant to
+                          provide on AIX, [default=aix].
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
                           compiler's sysroot if not specified).
@@ -2908,8 +2912,8 @@ esac
 
 
 
-macro_version='2.4.2.458.26-92994'
-macro_revision='2.4.3'
+macro_version='2.4.4'
+macro_revision='2.4.4'
 
 
 
@@ -5317,6 +5321,9 @@ sysv4 | sysv4.3*)
 tpf*)
   lt_cv_deplibs_check_method=pass_all
   ;;
+os2*)
+  lt_cv_deplibs_check_method=pass_all
+  ;;
 esac
 
 fi
@@ -8082,6 +8089,58 @@ fi
 
 
 
+  shared_archive_member_spec=
+case $host,$enable_shared in
+power*-*-aix[5-9]*,yes)
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
+$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
+
+# Check whether --with-aix-soname was given.
+if test "${with_aix_soname+set}" = set; then :
+  withval=$with_aix_soname; case $withval in
+    aix|svr4|both)
+      ;;
+    *)
+      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
+      ;;
+    esac
+    lt_cv_with_aix_soname=$with_aix_soname
+else
+  if ${lt_cv_with_aix_soname+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  lt_cv_with_aix_soname=aix
+fi
+
+    with_aix_soname=$lt_cv_with_aix_soname
+fi
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
+$as_echo "$with_aix_soname" >&6; }
+  if test aix != "$with_aix_soname"; then
+    # For the AIX way of multilib, we name the shared archive member
+    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
+    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
+    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
+    # the AIX toolchain works better with OBJECT_MODE set (default 32).
+    if test 64 = "${OBJECT_MODE-32}"; then
+      shared_archive_member_spec=shr_64
+    else
+      shared_archive_member_spec=shr
+    fi
+  fi
+  ;;
+*)
+  with_aix_soname=aix
+  ;;
+esac
+
+
+
+
+
+
+
 
 
 
@@ -8520,6 +8579,11 @@ lt_prog_compiler_static=
       # Although the cygwin gcc ignores -fPIC, still need this for old-style
       # (--disable-auto-import) libraries
       lt_prog_compiler_pic='-DDLL_EXPORT'
+      case $host_os in
+      os2*)
+       lt_prog_compiler_static='$wl-static'
+       ;;
+      esac
       ;;
 
     darwin* | rhapsody*)
@@ -8616,6 +8680,11 @@ lt_prog_compiler_static=
       # This hack is so that the source file can tell whether it is being
       # built for inclusion in a dll (and should export symbols for example).
       lt_prog_compiler_pic='-DDLL_EXPORT'
+      case $host_os in
+      os2*)
+       lt_prog_compiler_static='$wl-static'
+       ;;
+      esac
       ;;
 
     hpux9* | hpux10* | hpux11*)
@@ -9256,6 +9325,34 @@ _LT_EOF
       link_all_deplibs=yes
       ;;
 
+    os2*)
+      hardcode_libdir_flag_spec='-L$libdir'
+      hardcode_minus_L=yes
+      allow_undefined_flag=unsupported
+      shrext_cmds=.dll
+      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      enable_shared_with_static_runtimes=yes
+      ;;
+
     interix[3-9]*)
       hardcode_direct=no
       hardcode_shlibpath_var=no
@@ -9329,6 +9426,9 @@ _LT_EOF
         fi
 
        case $cc_basename in
+       tcc*)
+         export_dynamic_flag_spec='-rdynamic'
+         ;;
        xlf* | bgf* | bgxlf* | mpixlf*)
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
@@ -9458,19 +9558,35 @@ _LT_EOF
        no_entry_flag=
       else
        # If we're using GNU nm, then we don't want the "-C" option.
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
-       # Also, AIX nm treats weak defined symbols like other global
-       # defined symbols, whereas GNU nm marks them as "W".
+       # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+       # Without the "-l" option, or with the "-B" option, AIX nm treats
+       # weak defined symbols like other global defined symbols, whereas
+       # GNU nm marks them as "W".
+       # While the 'weak' keyword is ignored in the Export File, we need
+       # it in the Import File for the 'aix-soname' feature, so we have
+       # to replace the "-B" option with "-P" for AIX nm.
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-         export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
        else
-         export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
        fi
        aix_use_runtimelinking=no
 
        # Test if we are trying to use run time linking or normal
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
-       # need to do runtime linking.
+       # have runtime linking enabled, and use it for executables.
+       # For shared libraries, we enable/disable runtime linking
+       # depending on the kind of the shared library created -
+       # when "with_aix_soname,aix_use_runtimelinking" is:
+       # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "aix,yes"  lib.so          shared, rtl:yes, for executables
+       #            lib.a           static archive
+       # "both,no"  lib.so.V(shr.o) shared, rtl:yes
+       #            lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a(lib.so.V) shared, rtl:no
+       # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a           static archive
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
          for ld_flag in $LDFLAGS; do
          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
@@ -9478,6 +9594,13 @@ _LT_EOF
            break
          fi
          done
+         if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+           # With aix-soname=svr4, we create the lib.so.V shared archives only,
+           # so we don't have lib.a shared libs to link our executables.
+           # We have to force runtime linking in this case.
+           aix_use_runtimelinking=yes
+           LDFLAGS="$LDFLAGS -Wl,-brtl"
+         fi
          ;;
        esac
 
@@ -9497,6 +9620,14 @@ _LT_EOF
       hardcode_libdir_separator=':'
       link_all_deplibs=yes
       file_list_spec='$wl-f,'
+      case $with_aix_soname,$aix_use_runtimelinking in
+      aix,*) ;; # traditional, no import file
+      svr4,* | *,yes) # use import file
+       # The Import File defines what to hardcode.
+       hardcode_direct=no
+       hardcode_direct_absolute=no
+       ;;
+      esac
 
       if test yes = "$GCC"; then
        case $host_os in aix4.[012]|aix4.[012].*)
@@ -9524,6 +9655,11 @@ _LT_EOF
        if test yes = "$aix_use_runtimelinking"; then
          shared_flag="$shared_flag "'$wl-G'
        fi
+       # Need to ensure runtime linking is disabled for the traditional
+       # shared library, or the linker may eventually find shared libraries
+       # /with/ Import File - we do not want to mix them.
+       shared_flag_aix='-shared'
+       shared_flag_svr4='-shared $wl-G'
       else
        # not using gcc
        if test ia64 = "$host_cpu"; then
@@ -9536,6 +9672,8 @@ _LT_EOF
          else
            shared_flag='$wl-bM:SRE'
          fi
+         shared_flag_aix='$wl-bM:SRE'
+         shared_flag_svr4='$wl-G'
        fi
       fi
 
@@ -9543,7 +9681,7 @@ _LT_EOF
       # It seems that -bexpall does not export symbols beginning with
       # underscore (_), so it is better to generate a list of symbols to export.
       always_export_symbols=yes
-      if test yes = "$aix_use_runtimelinking"; then
+      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
        # Warning - without using the other runtime loading flags (-brtl),
        # -berok will link without error, but may produce a broken library.
        allow_undefined_flag='-berok'
@@ -9658,8 +9796,20 @@ fi
            whole_archive_flag_spec='$convenience'
          fi
          archive_cmds_need_lc=yes
-         # This is similar to how AIX traditionally builds its shared libraries.
-         archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+         archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+         # -brtl affects multiple linker settings, -berok does not and is overridden later
+         compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
+         if test svr4 != "$with_aix_soname"; then
+           # This is similar to how AIX traditionally builds its shared libraries.
+           archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+         fi
+         if test aix != "$with_aix_soname"; then
+           archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+         else
+           # used by -dlpreopen to get the symbols
+           archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
+         fi
+         archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
        fi
       fi
       ;;
@@ -9978,6 +10128,16 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       link_all_deplibs=yes
       ;;
 
+    linux*)
+      case $cc_basename in
+      tcc*)
+       # Fabrice Bellard et al's Tiny C Compiler
+       ld_shlibs=yes
+       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+       ;;
+      esac
+      ;;
+
     netbsd*)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
@@ -10023,8 +10183,28 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
       hardcode_libdir_flag_spec='-L$libdir'
       hardcode_minus_L=yes
       allow_undefined_flag=unsupported
-      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
-      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+      shrext_cmds=.dll
+      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      enable_shared_with_static_runtimes=yes
       ;;
 
     osf3*)
@@ -10583,20 +10763,70 @@ aix[4-9]*)
       fi
       ;;
     esac
+    # Using Import Files as archive members, it is possible to support
+    # filename-based versioning of shared library archives on AIX. While
+    # this would work for both with and without runtime linking, it will
+    # prevent static linking of such archives. So we do filename-based
+    # shared library versioning with .so extension only, which is used
+    # when both runtime linking and shared linking is enabled.
+    # Unfortunately, runtime linking may impact performance, so we do
+    # not want this to be the default eventually. Also, we use the
+    # versioned .so libs for executables only if there is the -brtl
+    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+    # To allow for filename-based versioning support, we need to create
+    # libNAME.so.V as an archive file, containing:
+    # *) an Import File, referring to the versioned filename of the
+    #    archive as well as the shared archive member, telling the
+    #    bitwidth (32 or 64) of that shared object, and providing the
+    #    list of exported symbols of that shared object, eventually
+    #    decorated with the 'weak' keyword
+    # *) the shared object with the F_LOADONLY flag set, to really avoid
+    #    it being seen by the linker.
+    # At run time we better use the real file rather than another symlink,
+    # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+    case $with_aix_soname,$aix_use_runtimelinking in
     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
     # soname into executable. Probably we can add versioning support to
     # collect2, so additional links can be useful in future.
-    if test yes = "$aix_use_runtimelinking"; then
+    aix,yes) # traditional libtool
+      dynamic_linker='AIX unversionable lib.so'
       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       # instead of lib<name>.a to let people know that these are not
       # typical AIX shared libraries.
       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
-    else
+      ;;
+    aix,no) # traditional AIX only
+      dynamic_linker='AIX lib.a(lib.so.V)'
       # We preserve .a as extension for shared libraries through AIX4.2
       # and later when we are not doing run time linking.
       library_names_spec='$libname$release.a $libname.a'
       soname_spec='$libname$release$shared_ext$major'
-    fi
+      ;;
+    svr4,*) # full svr4 only
+      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
+      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+      # We do not specify a path in Import Files, so LIBPATH fires.
+      shlibpath_overrides_runpath=yes
+      ;;
+    *,yes) # both, prefer svr4
+      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
+      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+      # unpreferred sharedlib libNAME.a needs extra handling
+      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+      # We do not specify a path in Import Files, so LIBPATH fires.
+      shlibpath_overrides_runpath=yes
+      ;;
+    *,no) # both, prefer aix
+      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
+      library_names_spec='$libname$release.a $libname.a'
+      soname_spec='$libname$release$shared_ext$major'
+      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+      ;;
+    esac
     shlibpath_var=LIBPATH
   fi
   ;;
@@ -10784,7 +11014,7 @@ freebsd* | dragonfly*)
   version_type=freebsd-$objformat
   case $version_type in
     freebsd-elf*)
-      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
       need_version=no
       need_lib_prefix=no
       ;;
@@ -11068,11 +11298,32 @@ openbsd* | bitrig*)
 
 os2*)
   libname_spec='$name'
+  version_type=windows
   shrext_cmds=.dll
+  need_version=no
   need_lib_prefix=no
-  library_names_spec='$libname$shared_ext $libname.a'
+  # OS/2 can only load a DLL with a base name of 8 characters or less.
+  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+    v=$($ECHO $release$versuffix | tr -d .-);
+    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+    $ECHO $n$v`$shared_ext'
+  library_names_spec='${libname}_dll.$libext'
   dynamic_linker='OS/2 ld.exe'
-  shlibpath_var=LIBPATH
+  shlibpath_var=BEGINLIBPATH
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+  postinstall_cmds='base_file=`basename \$file`~
+    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+    dldir=$destdir/`dirname \$dlpath`~
+    test -d \$dldir || mkdir -p \$dldir~
+    $install_prog $dir/$dlname \$dldir/$dlname~
+    chmod a+x \$dldir/$dlname~
+    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+    fi'
+  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+    dlpath=$dir/\$dldll~
+    $RM \$dlpath'
   ;;
 
 osf3* | osf4* | osf5*)
@@ -11148,7 +11399,7 @@ sysv4*MP*)
   ;;
 
 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
-  version_type=freebsd-elf
+  version_type=sco
   need_lib_prefix=no
   need_version=no
   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
@@ -11677,7 +11928,7 @@ else
 #  endif
 #endif
 
-/* When -fvisbility=hidden is used, assume the code has been annotated
+/* When -fvisibility=hidden is used, assume the code has been annotated
    correspondingly for the symbols needed.  */
 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 int fnord () __attribute__((visibility("default")));
@@ -11783,7 +12034,7 @@ else
 #  endif
 #endif
 
-/* When -fvisbility=hidden is used, assume the code has been annotated
+/* When -fvisibility=hidden is used, assume the code has been annotated
    correspondingly for the symbols needed.  */
 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 int fnord () __attribute__((visibility("default")));
@@ -11932,8 +12183,12 @@ $as_echo_n "checking whether to build shared libraries... " >&6; }
     ;;
 
   aix[4-9]*)
-    if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
-      test yes = "$enable_shared" && enable_static=no
+    if test ia64 != "$host_cpu"; then
+      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+      yes,aix,yes) ;;                  # shared object as lib.so file only
+      yes,svr4,*) ;;                   # shared object as lib.so archive member only
+      yes,*) enable_static=no ;;       # shared object in lib.a archive as well
+      esac
     fi
     ;;
   esac
@@ -12009,6 +12264,13 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 
 fi
+if test -n "$shared_archive_member_spec"; then
+
+cat >>confdefs.h <<_ACEOF
+#define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
+_ACEOF
+
+fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
 $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
@@ -12062,6 +12324,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+lt_dlload_save_LIBS=$LIBS
 
 LIBADD_DLOPEN=
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
@@ -12286,7 +12549,7 @@ fi
 beos*)
   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
   ;;
-cygwin* | mingw* | os2* | pw32*)
+cygwin* | mingw* | pw32*)
   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
 "
 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
@@ -12364,6 +12627,7 @@ fi
 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
 
 
+LIBS=$lt_dlload_save_LIBS
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -12419,111 +12683,104 @@ $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
 
 
 if test yes = "$lt_cv_sys_symbol_underscore"; then
-  if test yes = "$libltdl_cv_func_dlopen" ||
-     test yes = "$libltdl_cv_lib_dl_dlopen"; then
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
+  if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
 if ${libltdl_cv_need_uscore+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   libltdl_cv_need_uscore=unknown
-          save_LIBS=$LIBS
-          LIBS="$LIBS $LIBADD_DLOPEN"
-         if test yes = "$cross_compiling"; then :
-  libltdl_cv_need_uscore=cross
-else
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
-  lt_status=$lt_dlunknown
-  cat > conftest.$ac_ext <<_LT_EOF
+      dlsym_uscore_save_LIBS=$LIBS
+      LIBS="$LIBS $LIBADD_DLOPEN"
+      libname=conftmod # stay within 8.3 filename limits!
+      cat >$libname.$ac_ext <<_LT_EOF
 #line $LINENO "configure"
 #include "confdefs.h"
+/* When -fvisibility=hidden is used, assume the code has been annotated
+   correspondingly for the symbols needed.  */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+int fnord () { return 42; }
+_LT_EOF
 
+      # ltfn_module_cmds module_cmds
+      # Execute tilde-delimited MODULE_CMDS with environment primed for
+      # $module_cmds or $archive_cmds type content.
+      ltfn_module_cmds ()
+      {( # subshell avoids polluting parent global environment
+          module_cmds_save_ifs=$IFS; IFS='~'
+          for cmd in $1; do
+            IFS=$module_cmds_save_ifs
+            libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
+            rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
+            major=; versuffix=; verstring=; deplibs=
+            ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
+            eval $cmd
+          done
+          IFS=$module_cmds_save_ifs
+      )}
+
+      # Compile a loadable module using libtool macro expansion results.
+      $CC $pic_flag -c $libname.$ac_ext
+      ltfn_module_cmds "${module_cmds:-$archive_cmds}"
+
+      # Try to fetch fnord with dlsym().
+      libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
+      cat >conftest.$ac_ext <<_LT_EOF
+#line $LINENO "configure"
+#include "confdefs.h"
 #if HAVE_DLFCN_H
 #include <dlfcn.h>
 #endif
-
 #include <stdio.h>
-
-#ifdef RTLD_GLOBAL
-#  define LT_DLGLOBAL          RTLD_GLOBAL
-#else
+#ifndef RTLD_GLOBAL
 #  ifdef DL_GLOBAL
-#    define LT_DLGLOBAL                DL_GLOBAL
+#    define RTLD_GLOBAL DL_GLOBAL
 #  else
-#    define LT_DLGLOBAL                0
+#    define RTLD_GLOBAL 0
 #  endif
 #endif
-
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
-   find out it does not work in some platform. */
-#ifndef LT_DLLAZY_OR_NOW
-#  ifdef RTLD_LAZY
-#    define LT_DLLAZY_OR_NOW           RTLD_LAZY
+#ifndef RTLD_NOW
+#  ifdef DL_NOW
+#    define RTLD_NOW DL_NOW
 #  else
-#    ifdef DL_LAZY
-#      define LT_DLLAZY_OR_NOW         DL_LAZY
-#    else
-#      ifdef RTLD_NOW
-#        define LT_DLLAZY_OR_NOW       RTLD_NOW
-#      else
-#        ifdef DL_NOW
-#          define LT_DLLAZY_OR_NOW     DL_NOW
-#        else
-#          define LT_DLLAZY_OR_NOW     0
-#        endif
-#      endif
-#    endif
+#    define RTLD_NOW 0
 #  endif
 #endif
-
-/* When -fvisbility=hidden is used, assume the code has been annotated
-   correspondingly for the symbols needed.  */
-#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
-int fnord () __attribute__((visibility("default")));
-#endif
-
-int fnord () { return 42; }
-int main ()
-{
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-  int status = $lt_dlunknown;
-
-  if (self)
-    {
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
+int main () {
+  void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
+  int status = $libltdl_dlunknown;
+  if (handle) {
+    if (dlsym (handle, "fnord"))
+      status = $libltdl_dlnouscore;
+    else {
+      if (dlsym (handle, "_fnord"))
+        status = $libltdl_dluscore;
       else
-        {
-         if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
-          else puts (dlerror ());
-       }
-      /* dlclose (self); */
+       puts (dlerror ());
     }
-  else
+    dlclose (handle);
+  } else
     puts (dlerror ());
-
   return status;
 }
 _LT_EOF
-  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
+      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   (eval $ac_link) 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
-    (./conftest; exit; ) >&5 2>/dev/null
-    lt_status=$?
-    case x$lt_status in
-      x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
-      x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
-      x$lt_dlunknown|x*)  ;;
-    esac
-  else :
-    # compilation failed
-
-  fi
-fi
-rm -fr conftest*
-
-         LIBS=$save_LIBS
+        (./conftest; exit; ) >&5 2>/dev/null
+        libltdl_status=$?
+        case x$libltdl_status in
+          x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
+         x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
+         x*) libltdl_cv_need_uscore=unknown ;;
+        esac
+      fi
+      rm -rf conftest* $libname*
+      LIBS=$dlsym_uscore_save_LIBS
 
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
@@ -12642,7 +12899,6 @@ $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
 
 fi
 
-:
 
 for ac_header in argz.h
 do :
@@ -12679,7 +12935,7 @@ $as_echo "#define __error_t_defined 1" >>confdefs.h
 fi
 
 
-ARGZ_H=
+LT_ARGZ_H=
 for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
        argz_next argz_stringify
 do :
@@ -12691,9 +12947,9 @@ if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 _ACEOF
 
 else
-  ARGZ_H=argz.h; case " $LIBOBJS " in
-  *" argz.$ac_objext "* ) ;;
-  *) LIBOBJS="$LIBOBJS argz.$ac_objext"
+  LT_ARGZ_H=lt__argz.h; case " $LIBOBJS " in
+  *" lt__argz.$ac_objext "* ) ;;
+  *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
  ;;
 esac
 
@@ -12701,7 +12957,7 @@ fi
 done
 
 
-if test -z "$ARGZ_H"; then :
+if test -z "$LT_ARGZ_H"; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
 $as_echo_n "checking if argz actually works... " >&6; }
 if ${lt_cv_sys_argz_works+:} false; then :
@@ -12740,10 +12996,10 @@ $as_echo "$lt_cv_sys_argz_works" >&6; }
 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
 
 else
-  ARGZ_H=argz.h
+  LT_ARGZ_H=lt__argz.h
         case " $LIBOBJS " in
-  *" argz.$ac_objext "* ) ;;
-  *) LIBOBJS="$LIBOBJS argz.$ac_objext"
+  *" lt__argz.$ac_objext "* ) ;;
+  *) LIBOBJS="$LIBOBJS lt__argz.$ac_objext"
  ;;
 esac
 
@@ -13636,6 +13892,7 @@ enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
+shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
@@ -14675,6 +14932,9 @@ pic_mode=$pic_mode
 # Whether or not to optimize for fast installation.
 fast_install=$enable_fast_install
 
+# Shared archive member basename,for filename based shared library versioning on AIX.
+shared_archive_member_spec=$shared_archive_member_spec
+
 # Shell to use when invoking shell scripts.
 SHELL=$lt_SHELL
 
similarity index 100%
rename from libltdl/argz_.h
rename to libltdl/libltdl/lt__argz_.h
index 8b96c89..48bc1ff 100644 (file)
@@ -53,7 +53,10 @@ or obtained by writing to the Free Software Foundation, Inc.,
 #  define argz_next            lt__argz_next
 #  undef  argz_stringify
 #  define argz_stringify       lt__argz_stringify
-#endif
+
+#  include <lt__argz.h>
+
+#else
 
 #ifdef __cplusplus
 extern "C" {
@@ -65,6 +68,8 @@ extern "C" {
 }
 #endif
 
+#endif /*!defined HAVE_ARGZ_H || !defined HAVE_WORKING_ARGZ*/
+
 # define slist_concat  lt__slist_concat
 # define slist_cons    lt__slist_cons
 # define slist_delete  lt__slist_delete
index 758d7f4..b79df3e 100644 (file)
@@ -168,6 +168,9 @@ vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
 {
   int          module_flags = LT_LAZY_OR_NOW;
   lt_module    module;
+#ifdef RTLD_MEMBER
+  int          len = LT_STRLEN (filename);
+#endif
 
   if (advise)
     {
@@ -191,8 +194,45 @@ vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
 #endif
     }
 
+#ifdef RTLD_MEMBER /* AIX */
+  if (len >= 4) /* at least "l(m)" */
+    {
+      /* Advise loading an archive member only if the filename really
+        contains both the opening and closing parent, and a member. */
+      if (filename[len-1] == ')')
+       {
+         const char *opening = strrchr(filename, '(');
+         if (opening && opening < (filename+len-2) && strchr(opening+1, '/') == NULL)
+           module_flags |= RTLD_MEMBER;
+       }
+    }
+#endif
+
   module = dlopen (filename, module_flags);
 
+#if defined RTLD_MEMBER && defined LT_SHARED_LIB_MEMBER
+  if (!module && len && !(module_flags & RTLD_MEMBER) && errno == ENOEXEC)
+    {
+      /* Loading without a member specified failed with "Exec format error".
+        So the file is there, but either has wrong bitwidth, or is an
+        archive eventually containing the default shared archive member.
+        Retry with default member, getting same error in worst case. */
+      const char *member = LT_SHARED_LIB_MEMBER;
+
+      char *attempt = MALLOC (char, len + strlen (member) + 1);
+      if (!attempt)
+       {
+         LT__SETERROR (NO_MEMORY);
+         return module;
+       }
+
+      sprintf (attempt, "%s%s", filename, member);
+      module = vm_open (loader_data, attempt, advise);
+      FREE (attempt);
+      return module;
+    }
+#endif
+
   if (!module)
     {
       DL__SETERROR (CANNOT_OPEN);
similarity index 98%
rename from libltdl/argz.c
rename to libltdl/lt__argz.c
index 2fcb90c..de8539d 100644 (file)
@@ -1,4 +1,4 @@
-/* argz.c -- argz implementation for non-glibc systems
+/* lt__argz.c -- argz implementation for non-glibc systems
 
    Copyright (C) 2004, 2006-2008, 2011-2014 Free Software Foundation,
    Inc.
@@ -35,7 +35,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
 #  include <config.h>
 #endif
 
-#include <argz.h>
+#include <lt__argz.h>
 
 #include <assert.h>
 #include <stdlib.h>
index 2e9a437..4d32de9 100644 (file)
@@ -34,8 +34,9 @@
 # -I$(srcdir) is needed for user that built libltdl with a sub-Automake
 # (not as a sub-package!) using 'nostdinc':
 AM_CPPFLAGS           += -DLT_CONFIG_H='<$(LT_CONFIG_H)>' \
-                         -DLTDL -I. -I$(srcdir) -Ilibltdl \
-                         -I$(srcdir)/libltdl -I$(srcdir)/libltdl/libltdl
+                         -DLTDL -I. -I$(srcdir) \
+                         -Ilibltdl  -I$(srcdir)/libltdl \
+                         -Ilibltdl/libltdl -I$(srcdir)/libltdl/libltdl
 AM_LDFLAGS            += -no-undefined
 LTDL_VERSION_INFO      = -version-info 10:1:3
 
@@ -133,16 +134,16 @@ EXTRA_DIST               += libltdl/COPYING.LIB \
 ## Gnulib Makefile.am snippets ##
 ## --------------------------- ##
 
-BUILT_SOURCES  += libltdl/$(ARGZ_H)
-EXTRA_DIST     += libltdl/argz_.h \
-                  libltdl/argz.c
+BUILT_SOURCES  += libltdl/libltdl/$(LT_ARGZ_H)
+EXTRA_DIST     += libltdl/libltdl/lt__argz_.h \
+                  libltdl/lt__argz.c
 
 # We need the following in order to create an <argz.h> when the system
 # doesn't have one that works with the given compiler.
-all-local $(lib_OBJECTS): libltdl/$(ARGZ_H)
-libltdl/argz.h: libltdl/argz_.h
-       $(AM_V_at)$(mkinstalldirs) . libltdl/
-       $(AM_V_GEN)cp $(srcdir)/libltdl/argz_.h $@-t
+all-local $(lib_OBJECTS): libltdl/libltdl/$(LT_ARGZ_H)
+libltdl/libltdl/lt__argz.h: libltdl/libltdl/lt__argz_.h
+       $(AM_V_at)$(mkinstalldirs) . libltdl/libltdl
+       $(AM_V_GEN)cp $(srcdir)/libltdl/libltdl/lt__argz_.h $@-t
        $(AM_V_at)mv $@-t $@
-MOSTLYCLEANFILES += libltdl/argz.h \
-                   libltdl/argz.h-t
+MOSTLYCLEANFILES += libltdl/libltdl/lt__argz.h \
+                   libltdl/libltdl/lt__argz.h-t
index d819470..6e5eaca 100644 (file)
@@ -392,11 +392,7 @@ func_copy ()
 
     # Filters always take priority.
     if test -n "$my_filter"; then
-      if $opt_dry_run || {
-          ( umask 0
-            $SED -e "$my_filter" "$my_srcfile" > "$my_destfile"
-          ) >/dev/null 2>&1
-        }
+      if $opt_dry_run || $SED -e "$my_filter" "$my_srcfile" > "$my_destfile" 2>/dev/null
       then
         func_notquiet_once "$my_msg_var"
         if $opt_verbose; then
@@ -422,11 +418,7 @@ func_copy ()
     my_copy_msg="$my_copy_type file '$my_destfile'"
     $opt_verbose && my_copy_msg="$my_copycmd $my_srcfile $my_destdir"
 
-    if $opt_dry_run || {
-        ( umask 0
-          $my_copycmd "$my_srcfile" "$my_destfile"
-        ) >/dev/null 2>&1
-      }
+    if $opt_dry_run || $my_copycmd "$my_srcfile" "$my_destfile" 2>/dev/null
     then
       func_notquiet_hdr "$my_msg_var" "$my_copy_msg"
     else
@@ -1114,7 +1106,7 @@ func_check_macros ()
       my_missing=
       for file in $pkgmacro_files; do
         case $file in
-          argz.m4|ltdl.m4) $opt_ltdl || continue ;;
+          ltargz.m4|ltdl.m4) $opt_ltdl || continue ;;
         esac
         if test -f "aclocal.m4"; then
           func_aclocal_update_check $file
@@ -1896,10 +1888,10 @@ func_require_seen_libtool ()
   # ensure a clean upgrade.
   # Do not remove config.guess, config.sub or install-sh, we don't
   # install them without --install, and the project may not be using
-  # Automake.
-  all_pkgaux_files="compile depcomp missing ltmain.sh snippet/_Noreturn.h snippet/arg-nonnull.h snippet/c++defs.h snippet/warn-on-use.h"
-  all_pkgmacro_files="argz.m4 libtool.m4 ltdl.m4 ltoptions.m4 ltsugar.m4 ltversion.in ltversion.m4 lt~obsolete.m4"
-  all_pkgltdl_files="COPYING.LIB Makefile Makefile.in Makefile.inc Makefile.am README acinclude.m4 aclocal.m4 argz_.h argz.c config.h.in config-h.in configure configure.ac configure.in libltdl/lt__alloc.h libltdl/lt__dirent.h libltdl/lt__glibc.h libltdl/lt__private.h libltdl/lt__strl.h libltdl/lt_dlloader.h libltdl/lt_error.h libltdl/lt_system.h libltdl/slist.h loaders/dld_link.c loaders/dlopen.c loaders/dyld.c loaders/load_add_on.c loaders/loadlibrary.c loaders/preopen.c loaders/shl_load.c lt__alloc.c lt__dirent.c lt__strl.c lt_dlloader.c lt_error.c ltdl.c ltdl.h ltdl.mk slist.c"
+  # Automake.  Similarly, do not remove Gnulib files.
+  all_pkgaux_files="compile depcomp missing ltmain.sh"
+  all_pkgmacro_files="libtool.m4 ltargz.m4 ltdl.m4 ltoptions.m4 ltsugar.m4 ltversion.in ltversion.m4 lt~obsolete.m4"
+  all_pkgltdl_files="COPYING.LIB Makefile Makefile.in Makefile.inc Makefile.am README acinclude.m4 aclocal.m4 argz_.h argz.c config.h.in config-h.in configure configure.ac configure.in libltdl/lt__alloc.h libltdl/lt__argz.h libltdl/lt__dirent.h libltdl/lt__glibc.h libltdl/lt__private.h libltdl/lt__strl.h libltdl/lt_dlloader.h libltdl/lt_error.h libltdl/lt_system.h libltdl/slist.h loaders/dld_link.c loaders/dlopen.c loaders/dyld.c loaders/load_add_on.c loaders/loadlibrary.c loaders/preopen.c loaders/shl_load.c lt__alloc.c lt__argz.c lt__dirent.c lt__strl.c lt_dlloader.c lt_error.c ltdl.c ltdl.h ltdl.mk slist.c"
 
   # Files installed by func_install_*, some files are missing from these
   # lists deliberately because their respective func_install has to handle
index 068f0d8..9c089e0 100644 (file)
@@ -1840,7 +1840,7 @@ else
 #  endif
 #endif
 
-/* When -fvisbility=hidden is used, assume the code has been annotated
+/* When -fvisibility=hidden is used, assume the code has been annotated
    correspondingly for the symbols needed.  */
 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 int fnord () __attribute__((visibility("default")));
@@ -2342,20 +2342,70 @@ aix[[4-9]]*)
       fi
       ;;
     esac
+    # Using Import Files as archive members, it is possible to support
+    # filename-based versioning of shared library archives on AIX. While
+    # this would work for both with and without runtime linking, it will
+    # prevent static linking of such archives. So we do filename-based
+    # shared library versioning with .so extension only, which is used
+    # when both runtime linking and shared linking is enabled.
+    # Unfortunately, runtime linking may impact performance, so we do
+    # not want this to be the default eventually. Also, we use the
+    # versioned .so libs for executables only if there is the -brtl
+    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
+    # To allow for filename-based versioning support, we need to create
+    # libNAME.so.V as an archive file, containing:
+    # *) an Import File, referring to the versioned filename of the
+    #    archive as well as the shared archive member, telling the
+    #    bitwidth (32 or 64) of that shared object, and providing the
+    #    list of exported symbols of that shared object, eventually
+    #    decorated with the 'weak' keyword
+    # *) the shared object with the F_LOADONLY flag set, to really avoid
+    #    it being seen by the linker.
+    # At run time we better use the real file rather than another symlink,
+    # but for link time we create the symlink libNAME.so -> libNAME.so.V
+
+    case $with_aix_soname,$aix_use_runtimelinking in
     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
     # soname into executable. Probably we can add versioning support to
     # collect2, so additional links can be useful in future.
-    if test yes = "$aix_use_runtimelinking"; then
+    aix,yes) # traditional libtool
+      dynamic_linker='AIX unversionable lib.so'
       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
       # instead of lib<name>.a to let people know that these are not
       # typical AIX shared libraries.
       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
-    else
+      ;;
+    aix,no) # traditional AIX only
+      dynamic_linker='AIX lib.a[(]lib.so.V[)]'
       # We preserve .a as extension for shared libraries through AIX4.2
       # and later when we are not doing run time linking.
       library_names_spec='$libname$release.a $libname.a'
       soname_spec='$libname$release$shared_ext$major'
-    fi
+      ;;
+    svr4,*) # full svr4 only
+      dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
+      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+      # We do not specify a path in Import Files, so LIBPATH fires.
+      shlibpath_overrides_runpath=yes
+      ;;
+    *,yes) # both, prefer svr4
+      dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
+      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
+      # unpreferred sharedlib libNAME.a needs extra handling
+      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
+      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
+      # We do not specify a path in Import Files, so LIBPATH fires.
+      shlibpath_overrides_runpath=yes
+      ;;
+    *,no) # both, prefer aix
+      dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
+      library_names_spec='$libname$release.a $libname.a'
+      soname_spec='$libname$release$shared_ext$major'
+      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
+      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
+      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
+      ;;
+    esac
     shlibpath_var=LIBPATH
   fi
   ;;
@@ -2543,7 +2593,7 @@ freebsd* | dragonfly*)
   version_type=freebsd-$objformat
   case $version_type in
     freebsd-elf*)
-      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
+      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
       need_version=no
       need_lib_prefix=no
       ;;
@@ -2808,11 +2858,32 @@ openbsd* | bitrig*)
 
 os2*)
   libname_spec='$name'
+  version_type=windows
   shrext_cmds=.dll
+  need_version=no
   need_lib_prefix=no
-  library_names_spec='$libname$shared_ext $libname.a'
+  # OS/2 can only load a DLL with a base name of 8 characters or less.
+  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
+    v=$($ECHO $release$versuffix | tr -d .-);
+    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
+    $ECHO $n$v`$shared_ext'
+  library_names_spec='${libname}_dll.$libext'
   dynamic_linker='OS/2 ld.exe'
-  shlibpath_var=LIBPATH
+  shlibpath_var=BEGINLIBPATH
+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+  postinstall_cmds='base_file=`basename \$file`~
+    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
+    dldir=$destdir/`dirname \$dlpath`~
+    test -d \$dldir || mkdir -p \$dldir~
+    $install_prog $dir/$dlname \$dldir/$dlname~
+    chmod a+x \$dldir/$dlname~
+    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
+      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
+    fi'
+  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
+    dlpath=$dir/\$dldll~
+    $RM \$dlpath'
   ;;
 
 osf3* | osf4* | osf5*)
@@ -2888,7 +2959,7 @@ sysv4*MP*)
   ;;
 
 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
-  version_type=freebsd-elf
+  version_type=sco
   need_lib_prefix=no
   need_version=no
   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
@@ -3452,6 +3523,9 @@ sysv4 | sysv4.3*)
 tpf*)
   lt_cv_deplibs_check_method=pass_all
   ;;
+os2*)
+  lt_cv_deplibs_check_method=pass_all
+  ;;
 esac
 ])
 
@@ -4060,6 +4134,11 @@ m4_if([$1], [CXX], [
       # (--disable-auto-import) libraries
       m4_if([$1], [GCJ], [],
        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+      case $host_os in
+      os2*)
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
+       ;;
+      esac
       ;;
     darwin* | rhapsody*)
       # PIC is the default on this platform
@@ -4379,6 +4458,11 @@ m4_if([$1], [CXX], [
       # (--disable-auto-import) libraries
       m4_if([$1], [GCJ], [],
        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+      case $host_os in
+      os2*)
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
+       ;;
+      esac
       ;;
 
     darwin* | rhapsody*)
@@ -4476,6 +4560,11 @@ m4_if([$1], [CXX], [
       # built for inclusion in a dll (and should export symbols for example).
       m4_if([$1], [GCJ], [],
        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+      case $host_os in
+      os2*)
+       _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
+       ;;
+      esac
       ;;
 
     hpux9* | hpux10* | hpux11*)
@@ -4725,13 +4814,17 @@ m4_if([$1], [CXX], [
   case $host_os in
   aix[[4-9]]*)
     # If we're using GNU nm, then we don't want the "-C" option.
-    # -C means demangle to AIX nm, but means don't demangle with GNU nm
-    # Also, AIX nm treats weak defined symbols like other global defined
-    # symbols, whereas GNU nm marks them as "W".
+    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+    # Without the "-l" option, or with the "-B" option, AIX nm treats
+    # weak defined symbols like other global defined symbols, whereas
+    # GNU nm marks them as "W".
+    # While the 'weak' keyword is ignored in the Export File, we need
+    # it in the Import File for the 'aix-soname' feature, so we have
+    # to replace the "-B" option with "-P" for AIX nm.
     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
     else
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+      _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
     fi
     ;;
   pw32*)
@@ -4942,6 +5035,34 @@ _LT_EOF
       _LT_TAGVAR(link_all_deplibs, $1)=yes
       ;;
 
+    os2*)
+      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+      _LT_TAGVAR(hardcode_minus_L, $1)=yes
+      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+      shrext_cmds=.dll
+      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+      ;;
+
     interix[[3-9]]*)
       _LT_TAGVAR(hardcode_direct, $1)=no
       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
@@ -5015,6 +5136,9 @@ _LT_EOF
         fi
 
        case $cc_basename in
+       tcc*)
+         _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
+         ;;
        xlf* | bgf* | bgxlf* | mpixlf*)
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
@@ -5144,19 +5268,35 @@ _LT_EOF
        no_entry_flag=
       else
        # If we're using GNU nm, then we don't want the "-C" option.
-       # -C means demangle to AIX nm, but means don't demangle with GNU nm
-       # Also, AIX nm treats weak defined symbols like other global
-       # defined symbols, whereas GNU nm marks them as "W".
+       # -C means demangle to GNU nm, but means don't demangle to AIX nm.
+       # Without the "-l" option, or with the "-B" option, AIX nm treats
+       # weak defined symbols like other global defined symbols, whereas
+       # GNU nm marks them as "W".
+       # While the 'weak' keyword is ignored in the Export File, we need
+       # it in the Import File for the 'aix-soname' feature, so we have
+       # to replace the "-B" option with "-P" for AIX nm.
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-         _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
        else
-         _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
        fi
        aix_use_runtimelinking=no
 
        # Test if we are trying to use run time linking or normal
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
-       # need to do runtime linking.
+       # have runtime linking enabled, and use it for executables.
+       # For shared libraries, we enable/disable runtime linking
+       # depending on the kind of the shared library created -
+       # when "with_aix_soname,aix_use_runtimelinking" is:
+       # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "aix,yes"  lib.so          shared, rtl:yes, for executables
+       #            lib.a           static archive
+       # "both,no"  lib.so.V(shr.o) shared, rtl:yes
+       #            lib.a(lib.so.V) shared, rtl:no,  for executables
+       # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a(lib.so.V) shared, rtl:no
+       # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
+       #            lib.a           static archive
        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
          for ld_flag in $LDFLAGS; do
          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
@@ -5164,6 +5304,13 @@ _LT_EOF
            break
          fi
          done
+         if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+           # With aix-soname=svr4, we create the lib.so.V shared archives only,
+           # so we don't have lib.a shared libs to link our executables.
+           # We have to force runtime linking in this case.
+           aix_use_runtimelinking=yes
+           LDFLAGS="$LDFLAGS -Wl,-brtl"
+         fi
          ;;
        esac
 
@@ -5183,6 +5330,14 @@ _LT_EOF
       _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
       _LT_TAGVAR(link_all_deplibs, $1)=yes
       _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
+      case $with_aix_soname,$aix_use_runtimelinking in
+      aix,*) ;; # traditional, no import file
+      svr4,* | *,yes) # use import file
+       # The Import File defines what to hardcode.
+       _LT_TAGVAR(hardcode_direct, $1)=no
+       _LT_TAGVAR(hardcode_direct_absolute, $1)=no
+       ;;
+      esac
 
       if test yes = "$GCC"; then
        case $host_os in aix4.[[012]]|aix4.[[012]].*)
@@ -5210,6 +5365,11 @@ _LT_EOF
        if test yes = "$aix_use_runtimelinking"; then
          shared_flag="$shared_flag "'$wl-G'
        fi
+       # Need to ensure runtime linking is disabled for the traditional
+       # shared library, or the linker may eventually find shared libraries
+       # /with/ Import File - we do not want to mix them.
+       shared_flag_aix='-shared'
+       shared_flag_svr4='-shared $wl-G'
       else
        # not using gcc
        if test ia64 = "$host_cpu"; then
@@ -5222,6 +5382,8 @@ _LT_EOF
          else
            shared_flag='$wl-bM:SRE'
          fi
+         shared_flag_aix='$wl-bM:SRE'
+         shared_flag_svr4='$wl-G'
        fi
       fi
 
@@ -5229,7 +5391,7 @@ _LT_EOF
       # It seems that -bexpall does not export symbols beginning with
       # underscore (_), so it is better to generate a list of symbols to export.
       _LT_TAGVAR(always_export_symbols, $1)=yes
-      if test yes = "$aix_use_runtimelinking"; then
+      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
        # Warning - without using the other runtime loading flags (-brtl),
        # -berok will link without error, but may produce a broken library.
        _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
@@ -5260,8 +5422,20 @@ _LT_EOF
            _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
          fi
          _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
-         # This is similar to how AIX traditionally builds its shared libraries.
-         _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+         _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+         # -brtl affects multiple linker settings, -berok does not and is overridden later
+         compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
+         if test svr4 != "$with_aix_soname"; then
+           # This is similar to how AIX traditionally builds its shared libraries.
+           _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+         fi
+         if test aix != "$with_aix_soname"; then
+           _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+         else
+           # used by -dlpreopen to get the symbols
+           _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
+         fi
+         _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
        fi
       fi
       ;;
@@ -5515,6 +5689,16 @@ _LT_EOF
       _LT_TAGVAR(link_all_deplibs, $1)=yes
       ;;
 
+    linux*)
+      case $cc_basename in
+      tcc*)
+       # Fabrice Bellard et al's Tiny C Compiler
+       _LT_TAGVAR(ld_shlibs, $1)=yes
+       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+       ;;
+      esac
+      ;;
+
     netbsd*)
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
@@ -5560,8 +5744,28 @@ _LT_EOF
       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
       _LT_TAGVAR(hardcode_minus_L, $1)=yes
       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
-      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+      shrext_cmds=.dll
+      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+       $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+       $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+       $ECHO EXPORTS >> $output_objdir/$libname.def~
+       prefix_cmds="$SED"~
+       if test EXPORTS = "`$SED 1q $export_symbols`"; then
+         prefix_cmds="$prefix_cmds -e 1d";
+       fi~
+       prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+       cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+       $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+       emximp -o $lib $output_objdir/$libname.def'
+      _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
       ;;
 
     osf3*)
@@ -5956,8 +6160,12 @@ if test -n "$compiler"; then
     ;;
 
   aix[[4-9]]*)
-    if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
-      test yes = "$enable_shared" && enable_static=no
+    if test ia64 != "$host_cpu"; then
+      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+      yes,aix,yes) ;;                  # shared object as lib.so file only
+      yes,svr4,*) ;;                   # shared object as lib.so archive member only
+      yes,*) enable_static=no ;;       # shared object in lib.a archive as well
+      esac
     fi
     ;;
   esac
@@ -6145,7 +6353,19 @@ if test yes != "$_lt_caught_CXX_error"; then
 
           # Test if we are trying to use run time linking or normal
           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
-          # need to do runtime linking.
+          # have runtime linking enabled, and use it for executables.
+          # For shared libraries, we enable/disable runtime linking
+          # depending on the kind of the shared library created -
+          # when "with_aix_soname,aix_use_runtimelinking" is:
+          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
+          # "aix,yes"  lib.so          shared, rtl:yes, for executables
+          #            lib.a           static archive
+          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
+          #            lib.a(lib.so.V) shared, rtl:no,  for executables
+          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
+          #            lib.a(lib.so.V) shared, rtl:no
+          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
+          #            lib.a           static archive
           case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
            for ld_flag in $LDFLAGS; do
              case $ld_flag in
@@ -6155,6 +6375,13 @@ if test yes != "$_lt_caught_CXX_error"; then
                ;;
              esac
            done
+           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
+             # With aix-soname=svr4, we create the lib.so.V shared archives only,
+             # so we don't have lib.a shared libs to link our executables.
+             # We have to force runtime linking in this case.
+             aix_use_runtimelinking=yes
+             LDFLAGS="$LDFLAGS -Wl,-brtl"
+           fi
            ;;
           esac
 
@@ -6174,6 +6401,14 @@ if test yes != "$_lt_caught_CXX_error"; then
         _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
         _LT_TAGVAR(link_all_deplibs, $1)=yes
         _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
+        case $with_aix_soname,$aix_use_runtimelinking in
+        aix,*) ;;      # no import file
+        svr4,* | *,yes) # use import file
+          # The Import File defines what to hardcode.
+          _LT_TAGVAR(hardcode_direct, $1)=no
+          _LT_TAGVAR(hardcode_direct_absolute, $1)=no
+          ;;
+        esac
 
         if test yes = "$GXX"; then
           case $host_os in aix4.[[012]]|aix4.[[012]].*)
@@ -6200,6 +6435,11 @@ if test yes != "$_lt_caught_CXX_error"; then
          if test yes = "$aix_use_runtimelinking"; then
            shared_flag=$shared_flag' $wl-G'
          fi
+         # Need to ensure runtime linking is disabled for the traditional
+         # shared library, or the linker may eventually find shared libraries
+         # /with/ Import File - we do not want to mix them.
+         shared_flag_aix='-shared'
+         shared_flag_svr4='-shared $wl-G'
         else
           # not using gcc
           if test ia64 = "$host_cpu"; then
@@ -6212,6 +6452,8 @@ if test yes != "$_lt_caught_CXX_error"; then
            else
              shared_flag='$wl-bM:SRE'
            fi
+           shared_flag_aix='$wl-bM:SRE'
+           shared_flag_svr4='$wl-G'
           fi
         fi
 
@@ -6220,10 +6462,11 @@ if test yes != "$_lt_caught_CXX_error"; then
         # underscore (_), so it is better to generate a list of symbols to
        # export.
         _LT_TAGVAR(always_export_symbols, $1)=yes
-        if test yes = "$aix_use_runtimelinking"; then
+       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
           # Warning - without using the other runtime loading flags (-brtl),
           # -berok will link without error, but may produce a broken library.
-          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
+          # The "-G" linker flag allows undefined symbols.
+          _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
           # Determine the default libpath from the value encoded in an empty
           # executable.
           _LT_SYS_MODULE_PATH_AIX([$1])
@@ -6252,9 +6495,21 @@ if test yes != "$_lt_caught_CXX_error"; then
              _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
            fi
            _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
-           # This is similar to how AIX traditionally builds its shared
-           # libraries.
-           _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $wl-bnoentry $compiler_flags $wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+           _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
+           # -brtl affects multiple linker settings, -berok does not and is overridden later
+           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
+           if test svr4 != "$with_aix_soname"; then
+             # This is similar to how AIX traditionally builds its shared
+             # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
+             _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
+           fi
+           if test aix != "$with_aix_soname"; then
+             _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
+           else
+             # used by -dlpreopen to get the symbols
+             _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
+           fi
+           _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
           fi
         fi
         ;;
@@ -6354,6 +6609,34 @@ if test yes != "$_lt_caught_CXX_error"; then
         _LT_DARWIN_LINKER_FEATURES($1)
        ;;
 
+      os2*)
+       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+       _LT_TAGVAR(hardcode_minus_L, $1)=yes
+       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
+       shrext_cmds=.dll
+       _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+         $ECHO EXPORTS >> $output_objdir/$libname.def~
+         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
+         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+         emximp -o $lib $output_objdir/$libname.def'
+       _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+         $ECHO EXPORTS >> $output_objdir/$libname.def~
+         prefix_cmds="$SED"~
+         if test EXPORTS = "`$SED 1q $export_symbols`"; then
+           prefix_cmds="$prefix_cmds -e 1d";
+         fi~
+         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
+         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
+         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
+         emximp -o $lib $output_objdir/$libname.def'
+       _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
+       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+       ;;
+
       dgux*)
         case $cc_basename in
           ec++*)
@@ -7407,8 +7690,12 @@ if test yes != "$_lt_disable_F77"; then
         fi
         ;;
       aix[[4-9]]*)
-       if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
-         test yes = "$enable_shared" && enable_static=no
+       if test ia64 != "$host_cpu"; then
+         case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+         yes,aix,yes) ;;               # shared object as lib.so file only
+         yes,svr4,*) ;;                # shared object as lib.so archive member only
+         yes,*) enable_static=no ;;    # shared object in lib.a archive as well
+         esac
        fi
         ;;
     esac
@@ -7541,8 +7828,12 @@ if test yes != "$_lt_disable_FC"; then
         fi
         ;;
       aix[[4-9]]*)
-       if test ia64 != "$host_cpu" && test no = "$aix_use_runtimelinking"; then
-         test yes = "$enable_shared" && enable_static=no
+       if test ia64 != "$host_cpu"; then
+         case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
+         yes,aix,yes) ;;               # shared object as lib.so file only
+         yes,svr4,*) ;;                # shared object as lib.so archive member only
+         yes,*) enable_static=no ;;    # shared object in lib.a archive as well
+         esac
        fi
         ;;
     esac
similarity index 88%
rename from m4/argz.m4
rename to m4/ltargz.m4
index f7bd7c0..b840397 100644 (file)
@@ -7,11 +7,9 @@
 # unlimited permission to copy and/or distribute it, with or without
 # modifications, as long as this notice is preserved.
 
-# serial 6 argz.m4
-
-AC_DEFUN([gl_FUNC_ARGZ],
-[gl_PREREQ_ARGZ
+# serial 1 ltargz.m4
 
+AC_DEFUN([LT_FUNC_ARGZ], [
 AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
 
 AC_CHECK_TYPES([error_t],
@@ -24,9 +22,9 @@ AC_CHECK_TYPES([error_t],
 #  include <argz.h>
 #endif])
 
-ARGZ_H=
+LT_ARGZ_H=
 AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
-       argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])
+       argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])])
 
 dnl if have system argz functions, allow forced use of
 dnl libltdl-supplied implementation (and default to do so
@@ -37,7 +35,7 @@ dnl     provides them, yet they are broken, is cygwin
 dnl     releases prior to 16-Mar-2007 (1.5.24 and earlier)
 dnl So, it's more straightforward simply to special case
 dnl this for known bad systems.
-AS_IF([test -z "$ARGZ_H"],
+AS_IF([test -z "$LT_ARGZ_H"],
     [AC_CACHE_CHECK(
         [if argz actually works],
         [lt_cv_sys_argz_works],
@@ -69,11 +67,8 @@ AS_IF([test -z "$ARGZ_H"],
      AS_IF([test yes = "$lt_cv_sys_argz_works"],
         [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
                    [This value is set to 1 to indicate that the system argz facility works])],
-        [ARGZ_H=argz.h
-        AC_LIBOBJ([argz])])])
+        [LT_ARGZ_H=lt__argz.h
+        AC_LIBOBJ([lt__argz])])])
 
-AC_SUBST([ARGZ_H])
+AC_SUBST([LT_ARGZ_H])
 ])
-
-# Prerequisites of lib/argz.c.
-AC_DEFUN([gl_PREREQ_ARGZ], [:])
index 7f30925..ce24858 100644 (file)
@@ -7,7 +7,7 @@
 # unlimited permission to copy and/or distribute it, with or without
 # modifications, as long as this notice is preserved.
 
-# serial 19 LTDL_INIT
+# serial 20 LTDL_INIT
 
 # LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE])
 # ------------------------------------------
@@ -373,7 +373,7 @@ AC_REQUIRE([LT_LIB_DLLOAD])dnl
 AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
 AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
 AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
-AC_REQUIRE([gl_FUNC_ARGZ])dnl
+AC_REQUIRE([LT_FUNC_ARGZ])dnl
 
 m4_require([_LT_CHECK_OBJDIR])dnl
 m4_require([_LT_HEADER_DLFCN])dnl
@@ -569,6 +569,11 @@ if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
   AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"],
     [Define to the shared library suffix, say, ".dylib".])
 fi
+if test -n "$shared_archive_member_spec"; then
+  m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl
+  AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"],
+    [Define to the shared archive member specification, say "(shr.o)".])
+fi
 ])# LT_SYS_MODULE_EXT
 
 # Old name:
@@ -651,6 +656,7 @@ LT_DLLOADERS=
 AC_SUBST([LT_DLLOADERS])
 
 AC_LANG_PUSH([C])
+lt_dlload_save_LIBS=$LIBS
 
 LIBADD_DLOPEN=
 AC_SEARCH_LIBS([dlopen], [dl],
@@ -706,7 +712,7 @@ darwin[[1567]].*)
 beos*)
   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
   ;;
-cygwin* | mingw* | os2* | pw32*)
+cygwin* | mingw* | pw32*)
   AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
   ;;
@@ -734,6 +740,7 @@ dnl This isn't used anymore, but set it for backwards compatibility
 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
 AC_SUBST([LIBADD_DL])
 
+LIBS=$lt_dlload_save_LIBS
 AC_LANG_POP
 ])# LT_LIB_DLLOAD
 
@@ -791,20 +798,102 @@ dnl AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [])
 # LT_FUNC_DLSYM_USCORE
 # --------------------
 AC_DEFUN([LT_FUNC_DLSYM_USCORE],
-[AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
+[AC_REQUIRE([_LT_COMPILER_PIC])dnl     for lt_prog_compiler_wl
+AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl  for lt_cv_sys_symbol_underscore
+AC_REQUIRE([LT_SYS_MODULE_EXT])dnl     for libltdl_cv_shlibext
 if test yes = "$lt_cv_sys_symbol_underscore"; then
-  if test yes = "$libltdl_cv_func_dlopen" ||
-     test yes = "$libltdl_cv_lib_dl_dlopen"; then
-       AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
-         [libltdl_cv_need_uscore],
-         [libltdl_cv_need_uscore=unknown
-          save_LIBS=$LIBS
-          LIBS="$LIBS $LIBADD_DLOPEN"
-         _LT_TRY_DLOPEN_SELF(
-           [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
-           [],                          [libltdl_cv_need_uscore=cross])
-         LIBS=$save_LIBS
-       ])
+  if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then
+    AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
+      [libltdl_cv_need_uscore],
+      [libltdl_cv_need_uscore=unknown
+      dlsym_uscore_save_LIBS=$LIBS
+      LIBS="$LIBS $LIBADD_DLOPEN"
+      libname=conftmod # stay within 8.3 filename limits!
+      cat >$libname.$ac_ext <<_LT_EOF
+[#line $LINENO "configure"
+#include "confdefs.h"
+/* When -fvisibility=hidden is used, assume the code has been annotated
+   correspondingly for the symbols needed.  */
+#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
+int fnord () __attribute__((visibility("default")));
+#endif
+int fnord () { return 42; }]
+_LT_EOF
+
+      # ltfn_module_cmds module_cmds
+      # Execute tilde-delimited MODULE_CMDS with environment primed for
+      # $module_cmds or $archive_cmds type content.
+      ltfn_module_cmds ()
+      {( # subshell avoids polluting parent global environment
+          module_cmds_save_ifs=$IFS; IFS='~'
+          for cmd in @S|@1; do
+            IFS=$module_cmds_save_ifs
+            libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext
+            rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=.
+            major=; versuffix=; verstring=; deplibs=
+            ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag=
+            eval $cmd
+          done
+          IFS=$module_cmds_save_ifs
+      )}
+
+      # Compile a loadable module using libtool macro expansion results.
+      $CC $pic_flag -c $libname.$ac_ext
+      ltfn_module_cmds "${module_cmds:-$archive_cmds}"
+
+      # Try to fetch fnord with dlsym().
+      libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2
+      cat >conftest.$ac_ext <<_LT_EOF
+[#line $LINENO "configure"
+#include "confdefs.h"
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+#include <stdio.h>
+#ifndef RTLD_GLOBAL
+#  ifdef DL_GLOBAL
+#    define RTLD_GLOBAL DL_GLOBAL
+#  else
+#    define RTLD_GLOBAL 0
+#  endif
+#endif
+#ifndef RTLD_NOW
+#  ifdef DL_NOW
+#    define RTLD_NOW DL_NOW
+#  else
+#    define RTLD_NOW 0
+#  endif
+#endif
+int main () {
+  void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
+  int status = $libltdl_dlunknown;
+  if (handle) {
+    if (dlsym (handle, "fnord"))
+      status = $libltdl_dlnouscore;
+    else {
+      if (dlsym (handle, "_fnord"))
+        status = $libltdl_dluscore;
+      else
+       puts (dlerror ());
+    }
+    dlclose (handle);
+  } else
+    puts (dlerror ());
+  return status;
+}]
+_LT_EOF
+      if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
+        (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
+        libltdl_status=$?
+        case x$libltdl_status in
+          x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;;
+         x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;;
+         x*) libltdl_cv_need_uscore=unknown ;;
+        esac
+      fi
+      rm -rf conftest* $libname*
+      LIBS=$dlsym_uscore_save_LIBS
+    ])
   fi
 fi
 
index de6520e..f51ec8c 100644 (file)
@@ -82,6 +82,8 @@ m4_if([$1],[LT_INIT],[
   _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
   _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
                   [_LT_ENABLE_FAST_INSTALL])
+  _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
+                  [_LT_WITH_AIX_SONAME([aix])])
   ])
 ])# _LT_SET_OPTIONS
 
@@ -319,6 +321,59 @@ dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
 dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
 
 
+# _LT_WITH_AIX_SONAME([DEFAULT])
+# ----------------------------------
+# implement the --with-aix-soname flag, and support the `aix-soname=aix'
+# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
+# is either `aix', `both' or `svr4'.  If omitted, it defaults to `aix'.
+m4_define([_LT_WITH_AIX_SONAME],
+[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
+shared_archive_member_spec=
+case $host,$enable_shared in
+power*-*-aix[[5-9]]*,yes)
+  AC_MSG_CHECKING([which variant of shared library versioning to provide])
+  AC_ARG_WITH([aix-soname],
+    [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
+      [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
+    [case $withval in
+    aix|svr4|both)
+      ;;
+    *)
+      AC_MSG_ERROR([Unknown argument to --with-aix-soname])
+      ;;
+    esac
+    lt_cv_with_aix_soname=$with_aix_soname],
+    [AC_CACHE_VAL([lt_cv_with_aix_soname],
+      [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
+    with_aix_soname=$lt_cv_with_aix_soname])
+  AC_MSG_RESULT([$with_aix_soname])
+  if test aix != "$with_aix_soname"; then
+    # For the AIX way of multilib, we name the shared archive member
+    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
+    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
+    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
+    # the AIX toolchain works better with OBJECT_MODE set (default 32).
+    if test 64 = "${OBJECT_MODE-32}"; then
+      shared_archive_member_spec=shr_64
+    else
+      shared_archive_member_spec=shr
+    fi
+  fi
+  ;;
+*)
+  with_aix_soname=aix
+  ;;
+esac
+
+_LT_DECL([], [shared_archive_member_spec], [0],
+    [Shared archive member basename, for filename based shared library versioning on AIX])dnl
+])# _LT_WITH_AIX_SONAME
+
+LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
+LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
+LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
+
+
 # _LT_WITH_PIC([MODE])
 # --------------------
 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
index 3535ff4..cb6da68 100644 (file)
@@ -9,15 +9,15 @@
 
 # @configure_input@
 
-# serial 4105 ltversion.m4
+# serial 4151 ltversion.m4
 # This file is part of GNU Libtool
 
-m4_define([LT_PACKAGE_VERSION], [2.4.2.458.26-92994])
-m4_define([LT_PACKAGE_REVISION], [2.4.3])
+m4_define([LT_PACKAGE_VERSION], [2.4.4])
+m4_define([LT_PACKAGE_REVISION], [2.4.4])
 
 AC_DEFUN([LTVERSION_VERSION],
-[macro_version='2.4.2.458.26-92994'
-macro_revision='2.4.3'
+[macro_version='2.4.4'
+macro_revision='2.4.4'
 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
 _LT_DECL(, macro_revision, 0)
 ])
index 010368c..0ff9f60 100644 (file)
@@ -28,7 +28,8 @@
 AT_SETUP([Run tests with low max_cmd_len])
 AT_KEYWORDS([recursive expensive])
 dnl If we already have failures, then reruns will fail too!
-fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do echo $f; end`
+fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do test -f "$f" && echo "$f"; done`
+echo "DEBUG: fail_list='$fail_list'"
 AT_CHECK([test -z "$fail_list" || (exit 77)])
 m4_ifdef([AT_CAPTURE_FILE],
 [AT_CAPTURE_FILE([testsuite.log])])
index 9e4bd47..95b4069 100644 (file)
@@ -35,7 +35,7 @@ int main() { return 0;}
 ]])
 
 $noskip && {
-$CC $CPPFLAGS $CFLAGS -arch ppc -arch i386 -o simple simple.c 2>&1 > /dev/null || noskip=false
+$CC $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 -o simple simple.c 2>&1 > /dev/null || noskip=false
 rm -f simple
 }
 
@@ -82,19 +82,19 @@ save_PATH=$PATH
 PATH=`pwd`/bin:$PATH
 export PATH
 
-AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o foo.lo $CPPFLAGS $CFLAGS -arch ppc -arch i386 foo.c],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o foo.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 foo.c],[0],[ignore],[ignore])
 
-AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o baz.lo $CPPFLAGS $CFLAGS -arch ppc -arch i386 baz.c],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o baz.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 baz.c],[0],[ignore],[ignore])
 
-AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC -o libfoo.la $CPPFLAGS $CFLAGS $LDFLAGS -arch ppc -arch i386 foo.lo baz.lo],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC -o libfoo.la $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch i386 foo.lo baz.lo],[0],[ignore],[ignore])
 
-AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o bar.lo $CPPFLAGS $CFLAGS -arch ppc -arch i386 bar.c],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o bar.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 bar.c],[0],[ignore],[ignore])
 
-AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC  -o libbar.la $CPPFLAGS $CFLAGS $LDFLAGS -arch ppc -arch i386 bar.lo libfoo.la -rpath /nonexistent],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC  -o libbar.la $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch i386 bar.lo libfoo.la -rpath /nonexistent],[0],[ignore],[ignore])
 
-AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o main.lo $CPPFLAGS $CFLAGS -arch ppc -arch i386 main.c],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=compile --tag=CC $CC -c -o main.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 main.c],[0],[ignore],[ignore])
 
-AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC  -o main$EXEEXT $CPPFLAGS $CFLAGS $LDFLAGS -arch ppc -arch i386 main.lo libbar.la],[0],[ignore],[ignore])
+AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC  -o main$EXEEXT $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch i386 main.lo libbar.la],[0],[ignore],[ignore])
 
 PATH=$save_PATH
 AT_CLEANUP
index 681bc8b..2222a83 100644 (file)
@@ -347,7 +347,7 @@ cos (0.0) = 1
 ** This is not GNU Hello. There is no built-in mail reader. **
 ]])
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 ]) # _LT_DEMO_SETUP
 
 
@@ -367,11 +367,11 @@ AT_CHECK([./helldl$EXEEXT |
 # Run the make install rule, and check that installed binaries work too.
 m4_define([_LT_CHECK_INSTALL],
 [# Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 
 LT_AT_CHECK_EXECUTE([install],
-        [$prefixdir/bin/hell_static], [$prefixdir/bin/hell])
-AT_CHECK([$prefixdir/bin/helldl$EXEEXT |
+        [$prefix/bin/hell_static], [$prefix/bin/hell])
+AT_CHECK([$prefix/bin/helldl$EXEEXT |
     $EGREP '(Welcome to .*GNU Hell|unsupported)'], 0, [ignore])
 ])
 
index ae83277..1972985 100644 (file)
@@ -254,7 +254,7 @@ libm cos (0.0) = 1
 var_l1(4) + var_l2(6) + var_l4(9) == 19
 ]])
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 ]) # _LT_SETUP
 
 
@@ -272,9 +272,9 @@ m4_define([_LT_CHECK_EXECUTE],
 # Run the make install rule, and check that installed binaries work too.
 m4_define([_LT_CHECK_INSTALL],
 [# Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 LT_AT_CHECK_EXECUTE([install],
-        [$prefixdir/bin/depdemo_static], [$prefixdir/bin/depdemo])
+        [$prefix/bin/depdemo_static], [$prefix/bin/depdemo])
 ])
 
 
index 9c5e823..172885f 100644 (file)
@@ -67,10 +67,13 @@ int main() { return a1() + a2() + a3() + c(); }
   AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o b$EXEEXT b.$OBJEXT ../liba1.la ../liba2.la ../liba3.la ../../c/libcee.la -rpath /nowhere],
           [0],[stdout],[ignore])
   AT_CHECK([$EGREP 'cee.*cee' stdout], 1, [ignore], [ignore])
-  AT_XFAIL_IF([case $host in
-                 *-*-aix*|*-*-bitrig*|hppa*-*-hpux*|*-*-interix*|*-*-openbsd*) false;;
-                 *):;;
-               esac])
+  AT_XFAIL_IF([dnl
+    eval `$LIBTOOL --config | $EGREP '^hardcode_(direct|direct_absolute|action)='`
+    case $hardcode_action,$hardcode_direct,$hardcode_direct_absolute in
+      relink,yes,no) :;;
+      *,no,*) :;;
+      *) false;;
+    esac])
   dnl This is currently broken in libtool
 )
 
index a466790..7431820 100755 (executable)
@@ -116,14 +116,14 @@ for mode in compile link install; do
           [0], [stdout])
   # NOTE: we use "..."'"'"..." to insert a literal quote into the expression
   #       because "...\"..." is not expanded consistently by all shells.
-  AT_CHECK([$GREP "$mode:.*$match_preflag"'"\?'"$flag\\\\\\\\:test\\\\\\\\"'"\? ' stdout],
+  AT_CHECK([$GREP "$mode:.*$match_preflag"'"\{0,1\}'"$flag\\\\\\\\:test\\\\\\\\"'"\{0,1\} ' stdout],
              [0], [ignore])
 
   # Shell metacharacters that should be backslashified by libtool.
   for mchar in \" \` \$; do
     AT_CHECK([$LIBTOOL -n --mode=$mode $preargs $preflag"$flag$mchar:test$mchar" $postargs],
             [0], [stdout])
-    AT_CHECK([$GREP "$mode:.*$match_preflag"'"'"\?$flag\\\\$mchar:test\\\\$mchar"'"'"\? " stdout], [0], [ignore])
+    AT_CHECK([$GREP "$mode:.*$match_preflag"'"'"\{0,1\}$flag\\\\$mchar:test\\\\$mchar"'"'"\{0,1\} " stdout], [0], [ignore])
   done
 
   # Shell metacharacters that should be double quoted by libtool, and need
index 566a2f4..7758f9d 100644 (file)
@@ -384,8 +384,8 @@ libtoolize: copying file 'build-aux/config.sub'
 libtoolize: copying file 'build-aux/install-sh'
 libtoolize: copying file 'build-aux/ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
-libtoolize: copying file 'm4/argz.m4'
 libtoolize: copying file 'm4/libtool.m4'
+libtoolize: copying file 'm4/ltargz.m4'
 libtoolize: copying file 'm4/ltdl.m4'
 libtoolize: copying file 'm4/ltoptions.m4'
 libtoolize: copying file 'm4/ltsugar.m4'
@@ -394,9 +394,8 @@ libtoolize: copying file 'm4/lt~obsolete.m4'
 libtoolize: putting libltdl files in 'ltdl'.
 libtoolize: copying file 'ltdl/COPYING.LIB'
 libtoolize: copying file 'ltdl/README'
-libtoolize: copying file 'ltdl/argz_.h'
-libtoolize: copying file 'ltdl/argz.c'
 libtoolize: copying file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: copying file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: copying file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: copying file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: copying file 'ltdl/libltdl/lt__private.h'
@@ -413,6 +412,7 @@ libtoolize: copying file 'ltdl/loaders/loadlibrary.c'
 libtoolize: copying file 'ltdl/loaders/preopen.c'
 libtoolize: copying file 'ltdl/loaders/shl_load.c'
 libtoolize: copying file 'ltdl/lt__alloc.c'
+libtoolize: copying file 'ltdl/lt__argz.c'
 libtoolize: copying file 'ltdl/lt__dirent.c'
 libtoolize: copying file 'ltdl/lt__strl.c'
 libtoolize: copying file 'ltdl/lt_dlloader.c'
@@ -457,8 +457,8 @@ libtoolize: linking file 'build-aux/install-sh'
 libtoolize: linking file 'build-aux/missing'
 libtoolize: linking file 'build-aux/ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
-libtoolize: linking file 'm4/argz.m4'
 libtoolize: linking file 'm4/libtool.m4'
+libtoolize: linking file 'm4/ltargz.m4'
 libtoolize: linking file 'm4/ltdl.m4'
 libtoolize: linking file 'm4/ltoptions.m4'
 libtoolize: linking file 'm4/ltsugar.m4'
@@ -471,11 +471,10 @@ libtoolize: linking file 'ltdl/Makefile.in'
 libtoolize: linking file 'ltdl/README'
 libtoolize: linking file 'ltdl/configure.ac'
 libtoolize: copying file 'ltdl/aclocal.m4'
-libtoolize: linking file 'ltdl/argz_.h'
-libtoolize: linking file 'ltdl/argz.c'
 libtoolize: linking file 'ltdl/config-h.in'
 libtoolize: copying file 'ltdl/configure'
 libtoolize: linking file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: linking file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: linking file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: linking file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: linking file 'ltdl/libltdl/lt__private.h'
@@ -492,6 +491,7 @@ libtoolize: linking file 'ltdl/loaders/loadlibrary.c'
 libtoolize: linking file 'ltdl/loaders/preopen.c'
 libtoolize: linking file 'ltdl/loaders/shl_load.c'
 libtoolize: linking file 'ltdl/lt__alloc.c'
+libtoolize: linking file 'ltdl/lt__argz.c'
 libtoolize: linking file 'ltdl/lt__dirent.c'
 libtoolize: linking file 'ltdl/lt__strl.c'
 libtoolize: linking file 'ltdl/lt_dlloader.c'
@@ -556,8 +556,8 @@ libtoolize: copying file 'build-aux/install-sh'
 libtoolize: copying file 'build-aux/missing'
 libtoolize: copying file 'build-aux/ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
-libtoolize: copying file 'm4/argz.m4'
 libtoolize: copying file 'm4/libtool.m4'
+libtoolize: copying file 'm4/ltargz.m4'
 libtoolize: copying file 'm4/ltdl.m4'
 libtoolize: copying file 'm4/ltoptions.m4'
 libtoolize: copying file 'm4/ltsugar.m4'
@@ -570,11 +570,10 @@ libtoolize: copying file 'ltdl/Makefile.in'
 libtoolize: copying file 'ltdl/README'
 libtoolize: copying file 'ltdl/configure.ac'
 libtoolize: copying file 'ltdl/aclocal.m4'
-libtoolize: copying file 'ltdl/argz_.h'
-libtoolize: copying file 'ltdl/argz.c'
 libtoolize: copying file 'ltdl/config-h.in'
 libtoolize: copying file 'ltdl/configure'
 libtoolize: copying file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: copying file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: copying file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: copying file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: copying file 'ltdl/libltdl/lt__private.h'
@@ -591,6 +590,7 @@ libtoolize: copying file 'ltdl/loaders/loadlibrary.c'
 libtoolize: copying file 'ltdl/loaders/preopen.c'
 libtoolize: copying file 'ltdl/loaders/shl_load.c'
 libtoolize: copying file 'ltdl/lt__alloc.c'
+libtoolize: copying file 'ltdl/lt__argz.c'
 libtoolize: copying file 'ltdl/lt__dirent.c'
 libtoolize: copying file 'ltdl/lt__strl.c'
 libtoolize: copying file 'ltdl/lt_dlloader.c'
@@ -883,8 +883,8 @@ libtoolize: copying file 'build-aux/config.sub'
 libtoolize: copying file 'build-aux/install-sh'
 libtoolize: copying file 'build-aux/ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
-libtoolize: copying file 'm4/argz.m4'
 libtoolize: copying file 'm4/libtool.m4'
+libtoolize: copying file 'm4/ltargz.m4'
 libtoolize: copying file 'm4/ltdl.m4'
 libtoolize: copying file 'm4/ltoptions.m4'
 libtoolize: copying file 'm4/ltsugar.m4'
@@ -893,9 +893,8 @@ libtoolize: copying file 'm4/lt~obsolete.m4'
 libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, 'ltdl'.
 libtoolize: copying file 'ltdl/COPYING.LIB'
 libtoolize: copying file 'ltdl/README'
-libtoolize: copying file 'ltdl/argz_.h'
-libtoolize: copying file 'ltdl/argz.c'
 libtoolize: copying file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: copying file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: copying file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: copying file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: copying file 'ltdl/libltdl/lt__private.h'
@@ -912,6 +911,7 @@ libtoolize: copying file 'ltdl/loaders/loadlibrary.c'
 libtoolize: copying file 'ltdl/loaders/preopen.c'
 libtoolize: copying file 'ltdl/loaders/shl_load.c'
 libtoolize: copying file 'ltdl/lt__alloc.c'
+libtoolize: copying file 'ltdl/lt__argz.c'
 libtoolize: copying file 'ltdl/lt__dirent.c'
 libtoolize: copying file 'ltdl/lt__strl.c'
 libtoolize: copying file 'ltdl/lt_dlloader.c'
@@ -957,8 +957,8 @@ libtoolize: copying file 'acaux/install-sh'
 libtoolize: copying file 'acaux/missing'
 libtoolize: copying file 'acaux/ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'acm4'.
-libtoolize: copying file 'acm4/argz.m4'
 libtoolize: copying file 'acm4/libtool.m4'
+libtoolize: copying file 'acm4/ltargz.m4'
 libtoolize: copying file 'acm4/ltdl.m4'
 libtoolize: copying file 'acm4/ltoptions.m4'
 libtoolize: copying file 'acm4/ltsugar.m4'
@@ -971,11 +971,10 @@ libtoolize: creating file 'ltdl/Makefile.in'
 libtoolize: copying file 'ltdl/README'
 libtoolize: creating file 'ltdl/configure.ac'
 libtoolize: creating file 'ltdl/aclocal.m4'
-libtoolize: copying file 'ltdl/argz_.h'
-libtoolize: copying file 'ltdl/argz.c'
 libtoolize: copying file 'ltdl/config-h.in'
 libtoolize: creating file 'ltdl/configure'
 libtoolize: copying file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: copying file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: copying file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: copying file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: copying file 'ltdl/libltdl/lt__private.h'
@@ -992,6 +991,7 @@ libtoolize: copying file 'ltdl/loaders/loadlibrary.c'
 libtoolize: copying file 'ltdl/loaders/preopen.c'
 libtoolize: copying file 'ltdl/loaders/shl_load.c'
 libtoolize: copying file 'ltdl/lt__alloc.c'
+libtoolize: copying file 'ltdl/lt__argz.c'
 libtoolize: copying file 'ltdl/lt__dirent.c'
 libtoolize: copying file 'ltdl/lt__strl.c'
 libtoolize: copying file 'ltdl/lt_dlloader.c'
@@ -1033,8 +1033,8 @@ libtoolize: linking file 'ltdl/install-sh'
 libtoolize: linking file 'ltdl/missing'
 libtoolize: linking file 'ltdl/ltmain.sh'
 libtoolize: putting macros in 'ltdl/m4'.
-libtoolize: linking file 'ltdl/m4/argz.m4'
 libtoolize: linking file 'ltdl/m4/libtool.m4'
+libtoolize: linking file 'ltdl/m4/ltargz.m4'
 libtoolize: linking file 'ltdl/m4/ltdl.m4'
 libtoolize: linking file 'ltdl/m4/ltoptions.m4'
 libtoolize: linking file 'ltdl/m4/ltsugar.m4'
@@ -1047,11 +1047,10 @@ libtoolize: creating file 'ltdl/Makefile.in'
 libtoolize: linking file 'ltdl/README'
 libtoolize: creating file 'ltdl/configure.ac'
 libtoolize: creating file 'ltdl/aclocal.m4'
-libtoolize: linking file 'ltdl/argz_.h'
-libtoolize: linking file 'ltdl/argz.c'
 libtoolize: linking file 'ltdl/config-h.in'
 libtoolize: creating file 'ltdl/configure'
 libtoolize: linking file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: linking file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: linking file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: linking file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: linking file 'ltdl/libltdl/lt__private.h'
@@ -1068,6 +1067,7 @@ libtoolize: linking file 'ltdl/loaders/loadlibrary.c'
 libtoolize: linking file 'ltdl/loaders/preopen.c'
 libtoolize: linking file 'ltdl/loaders/shl_load.c'
 libtoolize: linking file 'ltdl/lt__alloc.c'
+libtoolize: linking file 'ltdl/lt__argz.c'
 libtoolize: linking file 'ltdl/lt__dirent.c'
 libtoolize: linking file 'ltdl/lt__strl.c'
 libtoolize: linking file 'ltdl/lt_dlloader.c'
index 4306467..0e8909f 100644 (file)
@@ -27,9 +27,9 @@ AT_KEYWORDS([libltdl])
 
 # Ensure that no symbols from argz are unrenamed.
 eval `$LIBTOOL --config | $EGREP '^(NM|global_symbol_pipe|objext)='`
-argz_o=$abs_top_builddir/libltdl/argz.$objext
-AT_CHECK([test -f "$argz_o" || exit 77])
-AT_CHECK([eval "$NM \"\$argz_o\" | $global_symbol_pipe"],
+lt__argz_o=$abs_top_builddir/libltdl/lt__argz.$objext
+AT_CHECK([test -f "$lt__argz_o" || exit 77])
+AT_CHECK([eval "$NM \"\$lt__argz_o\" | $global_symbol_pipe"],
         [], [stdout], [ignore])
 # Check for global symbols beginning with "argz_"
 AT_CHECK([$GREP "^T argz_" stdout], [1])
index 6b3c163..edcccc5 100644 (file)
@@ -583,7 +583,7 @@ cos (0.0) = 1
 ** This is not GNU Hello. There is no built-in mail reader. **
 ]])
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 ]) # _LT_SETUP
 
 
@@ -609,12 +609,12 @@ m4_define([_LT_CHECK_INSTALL],
 [LT_AT_MAKE([install])
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 
-LT_AT_EXEC_CHECK([$prefixdir/bin/mdemo_static], 0, [ignore], [],
-    [$prefixdir/lib/foo1.la $prefixdir/lib/libfoo2.la | $GREP '^try_iterate: '])
-LT_AT_EXEC_CHECK([$prefixdir/bin/mdemo], 0, [ignore], [],
-    [$prefixdir/lib/foo1.la $prefixdir/lib/libfoo2.la | $GREP '^try_iterate: '])
+LT_AT_EXEC_CHECK([$prefix/bin/mdemo_static], 0, [ignore], [],
+    [$prefix/lib/foo1.la $prefix/lib/libfoo2.la | $GREP '^try_iterate: '])
+LT_AT_EXEC_CHECK([$prefix/bin/mdemo], 0, [ignore], [],
+    [$prefix/lib/foo1.la $prefix/lib/libfoo2.la | $GREP '^try_iterate: '])
 ])
 
 
@@ -733,18 +733,18 @@ AT_CHECK([cmp "$before" "$after"], 0, [ignore])
 
 # Running $MAKE install
 # Libtool does not create these directories
-$lt_INSTALL -d "$prefixdir/bin"
-$lt_INSTALL -d "$prefixdir/include"
-$lt_INSTALL -d "$prefixdir/lib"
+$lt_INSTALL -d "$prefix/bin"
+$lt_INSTALL -d "$prefix/include"
+$lt_INSTALL -d "$prefix/lib"
 
 sleep 1 # for MSYS
 ls -l . "$objdir" | $EGREP -v '(^total|testsuite.log$)' > "$before"
-ls -lR "$prefixdir" | $EGREP -v '(^total|testsuite.log$)' >> "$before"
+ls -lR "$prefix" | $EGREP -v '(^total|testsuite.log$)' >> "$before"
 force_dry_run=:
 LT_AT_MAKE([install])
 
 ls -l . "$objdir" | $EGREP -v '(^total|testsuite.log$)' > "$after"
-ls -lR "$prefixdir" | $EGREP -v '(^total|testsuite.log$)' >> "$after"
+ls -lR "$prefix" | $EGREP -v '(^total|testsuite.log$)' >> "$after"
 AT_CHECK([cmp "$before" "$after"], 0, [ignore])
 
 # Now really install
@@ -753,15 +753,15 @@ LT_AT_MAKE([install])
 
 # Running $MAKE uninstall
 # Libtool does not uninstall the programs, remove them first
-rm -f "$prefixdir/bin/mdemo$EXEEXT" "$prefixdir/bin/mdemo_static$EXEEXT"
+rm -f "$prefix/bin/mdemo$EXEEXT" "$prefix/bin/mdemo_static$EXEEXT"
 
 sleep 1 # for MSYS
 ls -l . "$objdir" | $EGREP -v '(^total|testsuite.log$)' > "$before"
-ls -lR "$prefixdir" | $EGREP -v '(^total|testsuite.log$)' >> "$before"
+ls -lR "$prefix" | $EGREP -v '(^total|testsuite.log$)' >> "$before"
 force_dry_run=:
 LT_AT_MAKE([uninstall])
 ls -l . "$objdir" | $EGREP -v '(^total|testsuite.log$)' > "$after"
-ls -lR "$prefixdir" | $EGREP -v '(^total|testsuite.log$)' >> "$after"
+ls -lR "$prefix" | $EGREP -v '(^total|testsuite.log$)' >> "$after"
 AT_CHECK([cmp "$before" "$after"], 0, [ignore])
 
 # Now really uninstall
index 0d1006d..751d819 100644 (file)
@@ -84,7 +84,7 @@ LT_AT_LIBTOOLIZE([--ltdl])
 AT_CHECK([if test -f ltdl/configure.ac; then false; fi])
 
 # Support vanilla autoconf-2.59 & automake-1.9.6
-for file in argz.c lt__dirent.c lt__strl.c; do
+for file in lt__argz.c lt__dirent.c lt__strl.c; do
   cp ltdl/$file $file
 done
 
@@ -108,7 +108,7 @@ LT_AT_LIBTOOLIZE([--copy --ltdl])
 AT_CHECK([if test -f ltdl/configure.ac; then false; fi])
 
 # Support vanilla autoconf-2.59 & automake-1.9.6
-for file in argz.c lt__dirent.c lt__strl.c; do
+for file in lt__argz.c lt__dirent.c lt__strl.c; do
   cp ltdl/$file $file
 done
 
@@ -134,7 +134,7 @@ LT_AT_LIBTOOLIZE([--copy --ltdl])
 AT_CHECK([if test -f ltdl/configure.ac; then false; fi])
 
 # Support vanilla autoconf-2.59 & automake-1.9.6
-for file in argz.c lt__dirent.c lt__strl.c; do
+for file in lt__argz.c lt__dirent.c lt__strl.c; do
   cp ltdl/$file $file
 done
 
index d636336..524cac1 100644 (file)
@@ -82,8 +82,8 @@ libtoolize: linking file './config.sub'
 libtoolize: linking file './install-sh'
 libtoolize: linking file './ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
-libtoolize: linking file 'm4/argz.m4'
 libtoolize: linking file 'm4/libtool.m4'
+libtoolize: linking file 'm4/ltargz.m4'
 libtoolize: linking file 'm4/ltdl.m4'
 libtoolize: linking file 'm4/ltoptions.m4'
 libtoolize: linking file 'm4/ltsugar.m4'
@@ -92,9 +92,8 @@ libtoolize: linking file 'm4/lt~obsolete.m4'
 libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, 'ltdl'.
 libtoolize: linking file 'ltdl/COPYING.LIB'
 libtoolize: linking file 'ltdl/README'
-libtoolize: linking file 'ltdl/argz_.h'
-libtoolize: linking file 'ltdl/argz.c'
 libtoolize: linking file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: linking file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: linking file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: linking file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: linking file 'ltdl/libltdl/lt__private.h'
@@ -111,6 +110,7 @@ libtoolize: linking file 'ltdl/loaders/loadlibrary.c'
 libtoolize: linking file 'ltdl/loaders/preopen.c'
 libtoolize: linking file 'ltdl/loaders/shl_load.c'
 libtoolize: linking file 'ltdl/lt__alloc.c'
+libtoolize: linking file 'ltdl/lt__argz.c'
 libtoolize: linking file 'ltdl/lt__dirent.c'
 libtoolize: linking file 'ltdl/lt__strl.c'
 libtoolize: linking file 'ltdl/lt_dlloader.c'
index 971808c..c119412 100644 (file)
@@ -1,7 +1,7 @@
 # Signature of the current package.
 m4_define([AT_PACKAGE_NAME],      [GNU Libtool])
 m4_define([AT_PACKAGE_TARNAME],   [libtool])
-m4_define([AT_PACKAGE_VERSION],   [2.4.3])
-m4_define([AT_PACKAGE_STRING],    [GNU Libtool 2.4.3])
+m4_define([AT_PACKAGE_VERSION],   [2.4.4])
+m4_define([AT_PACKAGE_STRING],    [GNU Libtool 2.4.4])
 m4_define([AT_PACKAGE_BUGREPORT], [bug-libtool@gnu.org])
 m4_define([AT_PACKAGE_URL],       [http://www.gnu.org/software/libtool/])
index ad2172b..d3804cf 100644 (file)
@@ -327,7 +327,7 @@ barbaz::baz is ok!
 convenience is ok!
 ]])
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 ]) # _LT_SETUP
 
 
index a5bfcef..f40852c 100644 (file)
@@ -129,10 +129,12 @@ LT_AT_TAG([CXX])
 AT_KEYWORDS([libtool])
 
 noskip=:
+withundef=:
 # Mac OS X.
 # The linker has issues with this test.
 case $host in
 *-darwin*) noskip=false ;;
+*-aix*) withundef=false ;;
 esac
 
 
@@ -243,7 +245,7 @@ AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXE
         [0], [ignore], [ignore])
 LT_AT_EXEC_CHECK([./sub/main], [ignore])
 # lib convenience
-if $noskip; then
+if $noskip && $withundef; then
   AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /foo],
           [0], [ignore], [ignore])
   AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la],
@@ -254,11 +256,14 @@ fi
 # both installed
 AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la lib/a.lo -rpath /foo],
         [0], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /bar],
-        [0], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la],
-        [0], [ignore], [ignore])
-LT_AT_EXEC_CHECK([./sub/main])
+if $withundef; then
+  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /bar],
+          [0], [ignore], [ignore])
+  AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la],
+          [0], [ignore], [ignore])
+  LT_AT_EXEC_CHECK([./sub/main])
+fi
+
 # both convenience, libb depending on liba
 AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la lib/a.lo],
         [0], [ignore], [ignore])
index 1fdfce3..d641782 100755 (executable)
@@ -1072,7 +1072,7 @@ fi
 # List of tests.
 if $at_list_p; then
   cat <<_ATEOF || at_write_fail=1
-GNU Libtool 2.4.3 test suite test groups:
+GNU Libtool 2.4.4 test suite test groups:
 
  NUM: FILE-NAME:LINE     TEST-GROUP-NAME
       KEYWORDS
@@ -1113,7 +1113,7 @@ _ATEOF
   exit $at_write_fail
 fi
 if $at_version_p; then
-  $as_echo "$as_me (GNU Libtool 2.4.3)" &&
+  $as_echo "$as_me (GNU Libtool 2.4.4)" &&
   cat <<\_ATEOF || at_write_fail=1
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1377,11 +1377,11 @@ exec 5>>"$at_suite_log"
 
 # Banners and logs.
 $as_echo "## ----------------------------- ##
-## GNU Libtool 2.4.3 test suite. ##
+## GNU Libtool 2.4.4 test suite. ##
 ## ----------------------------- ##"
 {
   $as_echo "## ----------------------------- ##
-## GNU Libtool 2.4.3 test suite. ##
+## GNU Libtool 2.4.4 test suite. ##
 ## ----------------------------- ##"
   echo
 
@@ -2278,7 +2278,7 @@ _ASBOX
   $as_echo "Please send $at_msg and all information you think might help:
 
    To: <bug-libtool@gnu.org>
-   Subject: [GNU Libtool 2.4.3] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly}
+   Subject: [GNU Libtool 2.4.4] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly}
 
 You may investigate any problem if you feel able to do so, in which
 case the test suite provides a good starting point.  Its output may
@@ -2302,7 +2302,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 LT_INIT
@@ -2362,7 +2362,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 LT_INIT
@@ -2419,7 +2419,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([first])
 AC_CONFIG_MACRO_DIRS([second])
@@ -2479,7 +2479,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtooize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtooize-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([first second third])
 LT_INIT
@@ -2538,7 +2538,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 LT_INIT
 AC_OUTPUT
@@ -2602,7 +2602,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 LT_INIT
@@ -2826,7 +2826,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 LT_INIT
@@ -3063,8 +3063,8 @@ libtoolize: copying file 'build-aux/config.sub'
 libtoolize: copying file 'build-aux/install-sh'
 libtoolize: copying file 'build-aux/ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
-libtoolize: copying file 'm4/argz.m4'
 libtoolize: copying file 'm4/libtool.m4'
+libtoolize: copying file 'm4/ltargz.m4'
 libtoolize: copying file 'm4/ltdl.m4'
 libtoolize: copying file 'm4/ltoptions.m4'
 libtoolize: copying file 'm4/ltsugar.m4'
@@ -3073,9 +3073,8 @@ libtoolize: copying file 'm4/lt~obsolete.m4'
 libtoolize: putting libltdl files in 'ltdl'.
 libtoolize: copying file 'ltdl/COPYING.LIB'
 libtoolize: copying file 'ltdl/README'
-libtoolize: copying file 'ltdl/argz_.h'
-libtoolize: copying file 'ltdl/argz.c'
 libtoolize: copying file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: copying file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: copying file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: copying file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: copying file 'ltdl/libltdl/lt__private.h'
@@ -3092,6 +3091,7 @@ libtoolize: copying file 'ltdl/loaders/loadlibrary.c'
 libtoolize: copying file 'ltdl/loaders/preopen.c'
 libtoolize: copying file 'ltdl/loaders/shl_load.c'
 libtoolize: copying file 'ltdl/lt__alloc.c'
+libtoolize: copying file 'ltdl/lt__argz.c'
 libtoolize: copying file 'ltdl/lt__dirent.c'
 libtoolize: copying file 'ltdl/lt__strl.c'
 libtoolize: copying file 'ltdl/lt_dlloader.c'
@@ -3106,7 +3106,7 @@ _ATEOF
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 LT_INIT
@@ -3162,8 +3162,8 @@ libtoolize: linking file 'build-aux/install-sh'
 libtoolize: linking file 'build-aux/missing'
 libtoolize: linking file 'build-aux/ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
-libtoolize: linking file 'm4/argz.m4'
 libtoolize: linking file 'm4/libtool.m4'
+libtoolize: linking file 'm4/ltargz.m4'
 libtoolize: linking file 'm4/ltdl.m4'
 libtoolize: linking file 'm4/ltoptions.m4'
 libtoolize: linking file 'm4/ltsugar.m4'
@@ -3176,11 +3176,10 @@ libtoolize: linking file 'ltdl/Makefile.in'
 libtoolize: linking file 'ltdl/README'
 libtoolize: linking file 'ltdl/configure.ac'
 libtoolize: copying file 'ltdl/aclocal.m4'
-libtoolize: linking file 'ltdl/argz_.h'
-libtoolize: linking file 'ltdl/argz.c'
 libtoolize: linking file 'ltdl/config-h.in'
 libtoolize: copying file 'ltdl/configure'
 libtoolize: linking file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: linking file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: linking file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: linking file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: linking file 'ltdl/libltdl/lt__private.h'
@@ -3197,6 +3196,7 @@ libtoolize: linking file 'ltdl/loaders/loadlibrary.c'
 libtoolize: linking file 'ltdl/loaders/preopen.c'
 libtoolize: linking file 'ltdl/loaders/shl_load.c'
 libtoolize: linking file 'ltdl/lt__alloc.c'
+libtoolize: linking file 'ltdl/lt__argz.c'
 libtoolize: linking file 'ltdl/lt__dirent.c'
 libtoolize: linking file 'ltdl/lt__strl.c'
 libtoolize: linking file 'ltdl/lt_dlloader.c'
@@ -3208,7 +3208,7 @@ _ATEOF
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([ltdl])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
@@ -3271,8 +3271,8 @@ libtoolize: linking file 'build-aux/install-sh'
 libtoolize: linking file 'build-aux/missing'
 libtoolize: linking file 'build-aux/ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
-libtoolize: linking file 'm4/argz.m4'
 libtoolize: linking file 'm4/libtool.m4'
+libtoolize: linking file 'm4/ltargz.m4'
 libtoolize: linking file 'm4/ltdl.m4'
 libtoolize: linking file 'm4/ltoptions.m4'
 libtoolize: linking file 'm4/ltsugar.m4'
@@ -3285,11 +3285,10 @@ libtoolize: linking file 'ltdl/Makefile.in'
 libtoolize: linking file 'ltdl/README'
 libtoolize: linking file 'ltdl/configure.ac'
 libtoolize: copying file 'ltdl/aclocal.m4'
-libtoolize: linking file 'ltdl/argz_.h'
-libtoolize: linking file 'ltdl/argz.c'
 libtoolize: linking file 'ltdl/config-h.in'
 libtoolize: copying file 'ltdl/configure'
 libtoolize: linking file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: linking file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: linking file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: linking file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: linking file 'ltdl/libltdl/lt__private.h'
@@ -3306,6 +3305,7 @@ libtoolize: linking file 'ltdl/loaders/loadlibrary.c'
 libtoolize: linking file 'ltdl/loaders/preopen.c'
 libtoolize: linking file 'ltdl/loaders/shl_load.c'
 libtoolize: linking file 'ltdl/lt__alloc.c'
+libtoolize: linking file 'ltdl/lt__argz.c'
 libtoolize: linking file 'ltdl/lt__dirent.c'
 libtoolize: linking file 'ltdl/lt__strl.c'
 libtoolize: linking file 'ltdl/lt_dlloader.c'
@@ -3317,7 +3317,7 @@ _ATEOF
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([ltdl])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
@@ -3380,8 +3380,8 @@ libtoolize: copying file 'build-aux/install-sh'
 libtoolize: copying file 'build-aux/missing'
 libtoolize: copying file 'build-aux/ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
-libtoolize: copying file 'm4/argz.m4'
 libtoolize: copying file 'm4/libtool.m4'
+libtoolize: copying file 'm4/ltargz.m4'
 libtoolize: copying file 'm4/ltdl.m4'
 libtoolize: copying file 'm4/ltoptions.m4'
 libtoolize: copying file 'm4/ltsugar.m4'
@@ -3394,11 +3394,10 @@ libtoolize: copying file 'ltdl/Makefile.in'
 libtoolize: copying file 'ltdl/README'
 libtoolize: copying file 'ltdl/configure.ac'
 libtoolize: copying file 'ltdl/aclocal.m4'
-libtoolize: copying file 'ltdl/argz_.h'
-libtoolize: copying file 'ltdl/argz.c'
 libtoolize: copying file 'ltdl/config-h.in'
 libtoolize: copying file 'ltdl/configure'
 libtoolize: copying file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: copying file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: copying file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: copying file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: copying file 'ltdl/libltdl/lt__private.h'
@@ -3415,6 +3414,7 @@ libtoolize: copying file 'ltdl/loaders/loadlibrary.c'
 libtoolize: copying file 'ltdl/loaders/preopen.c'
 libtoolize: copying file 'ltdl/loaders/shl_load.c'
 libtoolize: copying file 'ltdl/lt__alloc.c'
+libtoolize: copying file 'ltdl/lt__argz.c'
 libtoolize: copying file 'ltdl/lt__dirent.c'
 libtoolize: copying file 'ltdl/lt__strl.c'
 libtoolize: copying file 'ltdl/lt_dlloader.c'
@@ -3428,7 +3428,7 @@ _ATEOF
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([ltdl])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
@@ -3476,7 +3476,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 LT_INIT
 AC_OUTPUT
@@ -3527,7 +3527,7 @@ $at_traceon; }
 ## --------------------------------------- ##
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 LT_INIT
@@ -3733,7 +3733,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 LT_INIT
 AC_OUTPUT
 _ATEOF
@@ -3967,8 +3967,8 @@ libtoolize: copying file 'build-aux/config.sub'
 libtoolize: copying file 'build-aux/install-sh'
 libtoolize: copying file 'build-aux/ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
-libtoolize: copying file 'm4/argz.m4'
 libtoolize: copying file 'm4/libtool.m4'
+libtoolize: copying file 'm4/ltargz.m4'
 libtoolize: copying file 'm4/ltdl.m4'
 libtoolize: copying file 'm4/ltoptions.m4'
 libtoolize: copying file 'm4/ltsugar.m4'
@@ -3977,9 +3977,8 @@ libtoolize: copying file 'm4/lt~obsolete.m4'
 libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, 'ltdl'.
 libtoolize: copying file 'ltdl/COPYING.LIB'
 libtoolize: copying file 'ltdl/README'
-libtoolize: copying file 'ltdl/argz_.h'
-libtoolize: copying file 'ltdl/argz.c'
 libtoolize: copying file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: copying file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: copying file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: copying file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: copying file 'ltdl/libltdl/lt__private.h'
@@ -3996,6 +3995,7 @@ libtoolize: copying file 'ltdl/loaders/loadlibrary.c'
 libtoolize: copying file 'ltdl/loaders/preopen.c'
 libtoolize: copying file 'ltdl/loaders/shl_load.c'
 libtoolize: copying file 'ltdl/lt__alloc.c'
+libtoolize: copying file 'ltdl/lt__argz.c'
 libtoolize: copying file 'ltdl/lt__dirent.c'
 libtoolize: copying file 'ltdl/lt__strl.c'
 libtoolize: copying file 'ltdl/lt_dlloader.c'
@@ -4008,7 +4008,7 @@ _ATEOF
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([ltdl])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
@@ -4070,8 +4070,8 @@ libtoolize: copying file 'acaux/install-sh'
 libtoolize: copying file 'acaux/missing'
 libtoolize: copying file 'acaux/ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'acm4'.
-libtoolize: copying file 'acm4/argz.m4'
 libtoolize: copying file 'acm4/libtool.m4'
+libtoolize: copying file 'acm4/ltargz.m4'
 libtoolize: copying file 'acm4/ltdl.m4'
 libtoolize: copying file 'acm4/ltoptions.m4'
 libtoolize: copying file 'acm4/ltsugar.m4'
@@ -4084,11 +4084,10 @@ libtoolize: creating file 'ltdl/Makefile.in'
 libtoolize: copying file 'ltdl/README'
 libtoolize: creating file 'ltdl/configure.ac'
 libtoolize: creating file 'ltdl/aclocal.m4'
-libtoolize: copying file 'ltdl/argz_.h'
-libtoolize: copying file 'ltdl/argz.c'
 libtoolize: copying file 'ltdl/config-h.in'
 libtoolize: creating file 'ltdl/configure'
 libtoolize: copying file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: copying file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: copying file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: copying file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: copying file 'ltdl/libltdl/lt__private.h'
@@ -4105,6 +4104,7 @@ libtoolize: copying file 'ltdl/loaders/loadlibrary.c'
 libtoolize: copying file 'ltdl/loaders/preopen.c'
 libtoolize: copying file 'ltdl/loaders/shl_load.c'
 libtoolize: copying file 'ltdl/lt__alloc.c'
+libtoolize: copying file 'ltdl/lt__argz.c'
 libtoolize: copying file 'ltdl/lt__dirent.c'
 libtoolize: copying file 'ltdl/lt__strl.c'
 libtoolize: copying file 'ltdl/lt_dlloader.c'
@@ -4117,7 +4117,7 @@ _ATEOF
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([ltdl])
 AC_CONFIG_AUX_DIR([acaux])
 AC_CONFIG_MACRO_DIRS([acm4])
@@ -4174,8 +4174,8 @@ libtoolize: linking file 'ltdl/install-sh'
 libtoolize: linking file 'ltdl/missing'
 libtoolize: linking file 'ltdl/ltmain.sh'
 libtoolize: putting macros in 'ltdl/m4'.
-libtoolize: linking file 'ltdl/m4/argz.m4'
 libtoolize: linking file 'ltdl/m4/libtool.m4'
+libtoolize: linking file 'ltdl/m4/ltargz.m4'
 libtoolize: linking file 'ltdl/m4/ltdl.m4'
 libtoolize: linking file 'ltdl/m4/ltoptions.m4'
 libtoolize: linking file 'ltdl/m4/ltsugar.m4'
@@ -4188,11 +4188,10 @@ libtoolize: creating file 'ltdl/Makefile.in'
 libtoolize: linking file 'ltdl/README'
 libtoolize: creating file 'ltdl/configure.ac'
 libtoolize: creating file 'ltdl/aclocal.m4'
-libtoolize: linking file 'ltdl/argz_.h'
-libtoolize: linking file 'ltdl/argz.c'
 libtoolize: linking file 'ltdl/config-h.in'
 libtoolize: creating file 'ltdl/configure'
 libtoolize: linking file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: linking file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: linking file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: linking file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: linking file 'ltdl/libltdl/lt__private.h'
@@ -4209,6 +4208,7 @@ libtoolize: linking file 'ltdl/loaders/loadlibrary.c'
 libtoolize: linking file 'ltdl/loaders/preopen.c'
 libtoolize: linking file 'ltdl/loaders/shl_load.c'
 libtoolize: linking file 'ltdl/lt__alloc.c'
+libtoolize: linking file 'ltdl/lt__argz.c'
 libtoolize: linking file 'ltdl/lt__dirent.c'
 libtoolize: linking file 'ltdl/lt__strl.c'
 libtoolize: linking file 'ltdl/lt_dlloader.c'
@@ -4256,7 +4256,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 LT_INIT
@@ -4380,7 +4380,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 LT_INIT
@@ -4668,9 +4668,9 @@ $at_traceon; }
   # NOTE: we use "..."'"'"..." to insert a literal quote into the expression
   #       because "...\"..." is not expanded consistently by all shells.
   { set +x
-$as_echo "$at_srcdir/libtool.at:120: \$GREP \"\$mode:.*\$match_preflag\"'\"\\?'\"\$flag\\\\\\\\\\\\\\\\:test\\\\\\\\\\\\\\\\\"'\"\\? ' stdout"
-at_fn_check_prepare_dynamic "$GREP \"$mode:.*$match_preflag\"'\"\\?'\"$flag\\\\\\\\\\\\\\\\:test\\\\\\\\\\\\\\\\\"'\"\\? ' stdout" "libtool.at:120"
-( $at_check_trace; $GREP "$mode:.*$match_preflag"'"\?'"$flag\\\\\\\\:test\\\\\\\\"'"\? ' stdout
+$as_echo "$at_srcdir/libtool.at:120: \$GREP \"\$mode:.*\$match_preflag\"'\"\\{0,1\\}'\"\$flag\\\\\\\\\\\\\\\\:test\\\\\\\\\\\\\\\\\"'\"\\{0,1\\} ' stdout"
+at_fn_check_prepare_dynamic "$GREP \"$mode:.*$match_preflag\"'\"\\{0,1\\}'\"$flag\\\\\\\\\\\\\\\\:test\\\\\\\\\\\\\\\\\"'\"\\{0,1\\} ' stdout" "libtool.at:120"
+( $at_check_trace; $GREP "$mode:.*$match_preflag"'"\{0,1\}'"$flag\\\\\\\\:test\\\\\\\\"'"\{0,1\} ' stdout
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -4697,9 +4697,9 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
     { set +x
-$as_echo "$at_srcdir/libtool.at:126: \$GREP \"\$mode:.*\$match_preflag\"'\"'\"\\?\$flag\\\\\\\\\$mchar:test\\\\\\\\\$mchar\"'\"'\"\\? \" stdout"
-at_fn_check_prepare_dynamic "$GREP \"$mode:.*$match_preflag\"'\"'\"\\?$flag\\\\\\\\$mchar:test\\\\\\\\$mchar\"'\"'\"\\? \" stdout" "libtool.at:126"
-( $at_check_trace; $GREP "$mode:.*$match_preflag"'"'"\?$flag\\\\$mchar:test\\\\$mchar"'"'"\? " stdout
+$as_echo "$at_srcdir/libtool.at:126: \$GREP \"\$mode:.*\$match_preflag\"'\"'\"\\{0,1\\}\$flag\\\\\\\\\$mchar:test\\\\\\\\\$mchar\"'\"'\"\\{0,1\\} \" stdout"
+at_fn_check_prepare_dynamic "$GREP \"$mode:.*$match_preflag\"'\"'\"\\{0,1\\}$flag\\\\\\\\$mchar:test\\\\\\\\$mchar\"'\"'\"\\{0,1\\} \" stdout" "libtool.at:126"
+( $at_check_trace; $GREP "$mode:.*$match_preflag"'"'"\{0,1\}$flag\\\\$mchar:test\\\\$mchar"'"'"\{0,1\} " stdout
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -5100,7 +5100,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -5404,7 +5404,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -5501,9 +5501,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:388: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-shared"
+$as_echo "$at_srcdir/demo.at:388: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-shared"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "demo.at:388"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-shared
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-shared
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -5614,7 +5614,7 @@ $at_traceon; }
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 
 for target in install
 do
@@ -5633,7 +5633,7 @@ $at_traceon; }
 
 done
 
-lt_exe=$prefixdir/bin/hell_static; if test -f "$prefixdir/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell_static; if test -f "$prefix/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:390: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:390"
@@ -5648,7 +5648,7 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/hell; if test -f "$prefixdir/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell; if test -f "$prefix/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:390: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:390"
@@ -5668,10 +5668,10 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:390: \$prefixdir/bin/helldl\$EXEEXT |
+$as_echo "$at_srcdir/demo.at:390: \$prefix/bin/helldl\$EXEEXT |
     \$EGREP '(Welcome to .*GNU Hell|unsupported)'"
 at_fn_check_prepare_notrace 'an embedded newline' "demo.at:390"
-( $at_check_trace; $prefixdir/bin/helldl$EXEEXT |
+( $at_check_trace; $prefix/bin/helldl$EXEEXT |
     $EGREP '(Welcome to .*GNU Hell|unsupported)'
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
@@ -5701,7 +5701,7 @@ $at_traceon; }
 done
 
 
-leftovers=`find $prefixdir ! -type d ! -name '.*' -print`
+leftovers=`find $prefix ! -type d ! -name '.*' -print`
 { set +x
 $as_echo "$at_srcdir/demo.at:391: test -z \"\$leftovers\""
 at_fn_check_prepare_dynamic "test -z \"$leftovers\"" "demo.at:391"
@@ -5736,7 +5736,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -6040,7 +6040,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -6137,9 +6137,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:405: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-static"
+$as_echo "$at_srcdir/demo.at:405: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-static"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "demo.at:405"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-static
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-static
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -6250,7 +6250,7 @@ $at_traceon; }
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 
 for target in install
 do
@@ -6269,7 +6269,7 @@ $at_traceon; }
 
 done
 
-lt_exe=$prefixdir/bin/hell_static; if test -f "$prefixdir/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell_static; if test -f "$prefix/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:407: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:407"
@@ -6284,7 +6284,7 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/hell; if test -f "$prefixdir/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell; if test -f "$prefix/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:407: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:407"
@@ -6304,10 +6304,10 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:407: \$prefixdir/bin/helldl\$EXEEXT |
+$as_echo "$at_srcdir/demo.at:407: \$prefix/bin/helldl\$EXEEXT |
     \$EGREP '(Welcome to .*GNU Hell|unsupported)'"
 at_fn_check_prepare_notrace 'an embedded newline' "demo.at:407"
-( $at_check_trace; $prefixdir/bin/helldl$EXEEXT |
+( $at_check_trace; $prefix/bin/helldl$EXEEXT |
     $EGREP '(Welcome to .*GNU Hell|unsupported)'
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
@@ -6337,7 +6337,7 @@ $at_traceon; }
 done
 
 
-leftovers=`find $prefixdir ! -type d ! -name '.*' -print`
+leftovers=`find $prefix ! -type d ! -name '.*' -print`
 { set +x
 $as_echo "$at_srcdir/demo.at:408: test -z \"\$leftovers\""
 at_fn_check_prepare_dynamic "test -z \"$leftovers\"" "demo.at:408"
@@ -6372,7 +6372,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -6676,7 +6676,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -6773,9 +6773,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:422: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" "
+$as_echo "$at_srcdir/demo.at:422: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "demo.at:422"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir"
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -6886,7 +6886,7 @@ $at_traceon; }
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 
 for target in install
 do
@@ -6905,7 +6905,7 @@ $at_traceon; }
 
 done
 
-lt_exe=$prefixdir/bin/hell_static; if test -f "$prefixdir/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell_static; if test -f "$prefix/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:424: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:424"
@@ -6920,7 +6920,7 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/hell; if test -f "$prefixdir/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell; if test -f "$prefix/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:424: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:424"
@@ -6940,10 +6940,10 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:424: \$prefixdir/bin/helldl\$EXEEXT |
+$as_echo "$at_srcdir/demo.at:424: \$prefix/bin/helldl\$EXEEXT |
     \$EGREP '(Welcome to .*GNU Hell|unsupported)'"
 at_fn_check_prepare_notrace 'an embedded newline' "demo.at:424"
-( $at_check_trace; $prefixdir/bin/helldl$EXEEXT |
+( $at_check_trace; $prefix/bin/helldl$EXEEXT |
     $EGREP '(Welcome to .*GNU Hell|unsupported)'
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
@@ -6973,7 +6973,7 @@ $at_traceon; }
 done
 
 
-leftovers=`find $prefixdir ! -type d ! -name '.*' -print`
+leftovers=`find $prefix ! -type d ! -name '.*' -print`
 { set +x
 $as_echo "$at_srcdir/demo.at:425: test -z \"\$leftovers\""
 at_fn_check_prepare_dynamic "test -z \"$leftovers\"" "demo.at:425"
@@ -7008,7 +7008,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -7312,7 +7312,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 cat >demo.mk <<'_ATEOF'
@@ -7436,9 +7436,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:467: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-static"
+$as_echo "$at_srcdir/demo.at:467: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-static"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "demo.at:467"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-static
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-static
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -7505,7 +7505,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -7809,7 +7809,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -7906,9 +7906,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:482: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --enable-fast-install=no"
+$as_echo "$at_srcdir/demo.at:482: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --enable-fast-install=no"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "demo.at:482"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --enable-fast-install=no
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --enable-fast-install=no
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -8005,7 +8005,7 @@ $at_traceon; }
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 
 for target in install
 do
@@ -8024,7 +8024,7 @@ $at_traceon; }
 
 done
 
-lt_exe=$prefixdir/bin/hell_static; if test -f "$prefixdir/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell_static; if test -f "$prefix/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:486: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:486"
@@ -8039,7 +8039,7 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/hell; if test -f "$prefixdir/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell; if test -f "$prefix/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:486: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:486"
@@ -8059,10 +8059,10 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:486: \$prefixdir/bin/helldl\$EXEEXT |
+$as_echo "$at_srcdir/demo.at:486: \$prefix/bin/helldl\$EXEEXT |
     \$EGREP '(Welcome to .*GNU Hell|unsupported)'"
 at_fn_check_prepare_notrace 'an embedded newline' "demo.at:486"
-( $at_check_trace; $prefixdir/bin/helldl$EXEEXT |
+( $at_check_trace; $prefix/bin/helldl$EXEEXT |
     $EGREP '(Welcome to .*GNU Hell|unsupported)'
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
@@ -8092,7 +8092,7 @@ $at_traceon; }
 done
 
 
-leftovers=`find $prefixdir ! -type d ! -name '.*' -print`
+leftovers=`find $prefix ! -type d ! -name '.*' -print`
 { set +x
 $as_echo "$at_srcdir/demo.at:487: test -z \"\$leftovers\""
 at_fn_check_prepare_dynamic "test -z \"$leftovers\"" "demo.at:487"
@@ -8127,7 +8127,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -8431,7 +8431,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -8528,9 +8528,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:500: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --with-pic"
+$as_echo "$at_srcdir/demo.at:500: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --with-pic"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "demo.at:500"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --with-pic
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --with-pic
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -8692,7 +8692,7 @@ $at_traceon; }
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -8996,7 +8996,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 $LIBTOOLIZE
 
@@ -9092,9 +9092,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:538: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --with-pic=no"
+$as_echo "$at_srcdir/demo.at:538: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --with-pic=no"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "demo.at:538"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --with-pic=no
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --with-pic=no
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -9196,7 +9196,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -9500,7 +9500,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 cat >demo.mk <<'_ATEOF'
@@ -9657,9 +9657,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:611: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-static"
+$as_echo "$at_srcdir/demo.at:611: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-static"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "demo.at:611"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-static
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-static
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -9742,7 +9742,7 @@ $at_traceon; }
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 
 for target in install
 do
@@ -9761,7 +9761,7 @@ $at_traceon; }
 
 done
 
-lt_exe=$prefixdir/bin/hell_static; if test -f "$prefixdir/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell_static; if test -f "$prefix/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:613: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:613"
@@ -9776,7 +9776,7 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/hell; if test -f "$prefixdir/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell; if test -f "$prefix/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:613: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:613"
@@ -9796,10 +9796,10 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:613: \$prefixdir/bin/helldl\$EXEEXT |
+$as_echo "$at_srcdir/demo.at:613: \$prefix/bin/helldl\$EXEEXT |
     \$EGREP '(Welcome to .*GNU Hell|unsupported)'"
 at_fn_check_prepare_notrace 'an embedded newline' "demo.at:613"
-( $at_check_trace; $prefixdir/bin/helldl$EXEEXT |
+( $at_check_trace; $prefix/bin/helldl$EXEEXT |
     $EGREP '(Welcome to .*GNU Hell|unsupported)'
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
@@ -10043,7 +10043,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -10347,7 +10347,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -10444,9 +10444,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:719: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" "
+$as_echo "$at_srcdir/demo.at:719: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "demo.at:719"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir"
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -10529,7 +10529,7 @@ $at_traceon; }
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 
 for target in install
 do
@@ -10548,7 +10548,7 @@ $at_traceon; }
 
 done
 
-lt_exe=$prefixdir/bin/hell_static; if test -f "$prefixdir/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell_static; if test -f "$prefix/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:721: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:721"
@@ -10563,7 +10563,7 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/hell; if test -f "$prefixdir/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell; if test -f "$prefix/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:721: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:721"
@@ -10583,10 +10583,10 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:721: \$prefixdir/bin/helldl\$EXEEXT |
+$as_echo "$at_srcdir/demo.at:721: \$prefix/bin/helldl\$EXEEXT |
     \$EGREP '(Welcome to .*GNU Hell|unsupported)'"
 at_fn_check_prepare_notrace 'an embedded newline' "demo.at:721"
-( $at_check_trace; $prefixdir/bin/helldl$EXEEXT |
+( $at_check_trace; $prefix/bin/helldl$EXEEXT |
     $EGREP '(Welcome to .*GNU Hell|unsupported)'
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
@@ -10774,7 +10774,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -11078,7 +11078,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -11175,9 +11175,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:790: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" "
+$as_echo "$at_srcdir/demo.at:790: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "demo.at:790"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir"
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -11260,7 +11260,7 @@ $at_traceon; }
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 
 for target in install
 do
@@ -11279,7 +11279,7 @@ $at_traceon; }
 
 done
 
-lt_exe=$prefixdir/bin/hell_static; if test -f "$prefixdir/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell_static; if test -f "$prefix/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:792: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:792"
@@ -11294,7 +11294,7 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/hell; if test -f "$prefixdir/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell; if test -f "$prefix/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:792: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:792"
@@ -11314,10 +11314,10 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:792: \$prefixdir/bin/helldl\$EXEEXT |
+$as_echo "$at_srcdir/demo.at:792: \$prefix/bin/helldl\$EXEEXT |
     \$EGREP '(Welcome to .*GNU Hell|unsupported)'"
 at_fn_check_prepare_notrace 'an embedded newline' "demo.at:792"
-( $at_check_trace; $prefixdir/bin/helldl$EXEEXT |
+( $at_check_trace; $prefix/bin/helldl$EXEEXT |
     $EGREP '(Welcome to .*GNU Hell|unsupported)'
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
@@ -11368,7 +11368,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -11672,7 +11672,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 cat >Makefile.am <<'_ATEOF'
@@ -11941,9 +11941,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:977: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" "
+$as_echo "$at_srcdir/demo.at:977: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "demo.at:977"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir"
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -12026,7 +12026,7 @@ $at_traceon; }
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 
 for target in install
 do
@@ -12045,7 +12045,7 @@ $at_traceon; }
 
 done
 
-lt_exe=$prefixdir/bin/hell_static; if test -f "$prefixdir/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell_static; if test -f "$prefix/bin/hell_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:979: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:979"
@@ -12060,7 +12060,7 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/hell; if test -f "$prefixdir/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/hell; if test -f "$prefix/bin/hell$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/demo.at:979: if \"\$lt_exe\" ; then :; else lt_status=\$?;           test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "demo.at:979"
@@ -12080,10 +12080,10 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/demo.at:979: \$prefixdir/bin/helldl\$EXEEXT |
+$as_echo "$at_srcdir/demo.at:979: \$prefix/bin/helldl\$EXEEXT |
     \$EGREP '(Welcome to .*GNU Hell|unsupported)'"
 at_fn_check_prepare_notrace 'an embedded newline' "demo.at:979"
-( $at_check_trace; $prefixdir/bin/helldl$EXEEXT |
+( $at_check_trace; $prefix/bin/helldl$EXEEXT |
     $EGREP '(Welcome to .*GNU Hell|unsupported)'
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
@@ -12173,7 +12173,7 @@ fi
 
 # Set up a tests/demo.at style project.
 cat >configure.ac <<'_ATEOF'
-AC_INIT([demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -12477,7 +12477,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 # Bootstrap, and configure it so that we can extract libtool --config
@@ -12580,9 +12580,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/pic_flag.at:57: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options lt_cv_prog_compiler_pic=\"\$C_pic_flag\"               lt_cv_prog_compiler_pic_CXX=\"\$CXX_pic_flag\""
+$as_echo "$at_srcdir/pic_flag.at:57: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" lt_cv_prog_compiler_pic=\"\$C_pic_flag\"                lt_cv_prog_compiler_pic_CXX=\"\$CXX_pic_flag\""
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "pic_flag.at:57"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options lt_cv_prog_compiler_pic="$C_pic_flag"            lt_cv_prog_compiler_pic_CXX="$CXX_pic_flag"
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" lt_cv_prog_compiler_pic="$C_pic_flag"                 lt_cv_prog_compiler_pic_CXX="$CXX_pic_flag"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -12641,7 +12641,7 @@ at_xfail=no
 
 # Set up a tests/demo.at style project.
 cat >configure.ac <<'_ATEOF'
-AC_INIT([demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -12945,7 +12945,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 # Bootstrap, and configure it so that we can extract libtool --config
@@ -13044,9 +13044,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/with-pic.at:32: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/with-pic.at:32: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "with-pic.at:32"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -13095,9 +13095,9 @@ $at_traceon; }
 : ${MAKE=make}
 
 { set +x
-$as_echo "$at_srcdir/with-pic.at:44: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --disable-shared --with-pic=no"
+$as_echo "$at_srcdir/with-pic.at:44: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-shared --with-pic=no"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "with-pic.at:44"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --disable-shared --with-pic=no
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-shared --with-pic=no
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -13137,9 +13137,9 @@ $at_traceon; }
 $MAKE clean
 
 { set +x
-$as_echo "$at_srcdir/with-pic.at:49: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --disable-shared --with-pic=yes"
+$as_echo "$at_srcdir/with-pic.at:49: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-shared --with-pic=yes"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "with-pic.at:49"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --disable-shared --with-pic=yes
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-shared --with-pic=yes
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -13179,9 +13179,9 @@ $at_traceon; }
 $MAKE clean
 
 { set +x
-$as_echo "$at_srcdir/with-pic.at:54: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --disable-shared --with-pic=\"demo,foo,bar\""
+$as_echo "$at_srcdir/with-pic.at:54: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-shared --with-pic=\"demo,foo,bar\""
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "with-pic.at:54"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --disable-shared --with-pic="demo,foo,bar"
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-shared --with-pic="demo,foo,bar"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -13221,9 +13221,9 @@ $at_traceon; }
 $MAKE clean
 
 { set +x
-$as_echo "$at_srcdir/with-pic.at:59: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --disable-shared --with-pic=\"foo,bar\""
+$as_echo "$at_srcdir/with-pic.at:59: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-shared --with-pic=\"foo,bar\""
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "with-pic.at:59"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --disable-shared --with-pic="foo,bar"
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-shared --with-pic="foo,bar"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -13281,7 +13281,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([cdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([cdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -13481,9 +13481,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/cdemo.at:140: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-shared"
+$as_echo "$at_srcdir/cdemo.at:140: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-shared"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "cdemo.at:140"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-shared
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-shared
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -13581,7 +13581,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([cdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([cdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -13781,9 +13781,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/cdemo.at:155: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-static"
+$as_echo "$at_srcdir/cdemo.at:155: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-static"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "cdemo.at:155"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-static
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-static
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -13881,7 +13881,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([cdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([cdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -14081,9 +14081,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/cdemo.at:170: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" "
+$as_echo "$at_srcdir/cdemo.at:170: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "cdemo.at:170"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir"
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -14181,7 +14181,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([cdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([cdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -14381,9 +14381,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/cdemo.at:184: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-static"
+$as_echo "$at_srcdir/cdemo.at:184: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-static"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "cdemo.at:184"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-static
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-static
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -15276,7 +15276,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([depdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([depdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -15479,7 +15479,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -15576,9 +15576,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/depdemo.at:290: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-shared"
+$as_echo "$at_srcdir/depdemo.at:290: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-shared"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "depdemo.at:290"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-shared
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-shared
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -15674,7 +15674,7 @@ $at_traceon; }
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 for target in install
 do
   { set +x
@@ -15692,7 +15692,7 @@ $at_traceon; }
 
 done
 
-lt_exe=$prefixdir/bin/depdemo_static; if test -f "$prefixdir/bin/depdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/depdemo_static; if test -f "$prefix/bin/depdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/depdemo.at:292: if \"\$lt_exe\" ; then :; else lt_status=\$?;        test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "depdemo.at:292"
@@ -15707,7 +15707,7 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/depdemo; if test -f "$prefixdir/bin/depdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/depdemo; if test -f "$prefix/bin/depdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/depdemo.at:292: if \"\$lt_exe\" ; then :; else lt_status=\$?;        test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "depdemo.at:292"
@@ -15745,7 +15745,7 @@ $at_traceon; }
 done
 
 
-leftovers=`find $prefixdir ! -type d ! -name '.*' -print`
+leftovers=`find $prefix ! -type d ! -name '.*' -print`
 { set +x
 $as_echo "$at_srcdir/depdemo.at:293: test -z \"\$leftovers\""
 at_fn_check_prepare_dynamic "test -z \"$leftovers\"" "depdemo.at:293"
@@ -15780,7 +15780,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([depdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([depdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -15983,7 +15983,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -16080,9 +16080,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/depdemo.at:307: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-static"
+$as_echo "$at_srcdir/depdemo.at:307: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-static"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "depdemo.at:307"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-static
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-static
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -16178,7 +16178,7 @@ $at_traceon; }
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 for target in install
 do
   { set +x
@@ -16196,7 +16196,7 @@ $at_traceon; }
 
 done
 
-lt_exe=$prefixdir/bin/depdemo_static; if test -f "$prefixdir/bin/depdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/depdemo_static; if test -f "$prefix/bin/depdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/depdemo.at:309: if \"\$lt_exe\" ; then :; else lt_status=\$?;        test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "depdemo.at:309"
@@ -16211,7 +16211,7 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/depdemo; if test -f "$prefixdir/bin/depdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/depdemo; if test -f "$prefix/bin/depdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/depdemo.at:309: if \"\$lt_exe\" ; then :; else lt_status=\$?;        test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "depdemo.at:309"
@@ -16249,7 +16249,7 @@ $at_traceon; }
 done
 
 
-leftovers=`find $prefixdir ! -type d ! -name '.*' -print`
+leftovers=`find $prefix ! -type d ! -name '.*' -print`
 { set +x
 $as_echo "$at_srcdir/depdemo.at:310: test -z \"\$leftovers\""
 at_fn_check_prepare_dynamic "test -z \"$leftovers\"" "depdemo.at:310"
@@ -16284,7 +16284,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([depdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([depdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -16487,7 +16487,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -16584,9 +16584,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/depdemo.at:324: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" "
+$as_echo "$at_srcdir/depdemo.at:324: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "depdemo.at:324"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir"
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -16682,7 +16682,7 @@ $at_traceon; }
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 for target in install
 do
   { set +x
@@ -16700,7 +16700,7 @@ $at_traceon; }
 
 done
 
-lt_exe=$prefixdir/bin/depdemo_static; if test -f "$prefixdir/bin/depdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/depdemo_static; if test -f "$prefix/bin/depdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/depdemo.at:326: if \"\$lt_exe\" ; then :; else lt_status=\$?;        test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "depdemo.at:326"
@@ -16715,7 +16715,7 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/depdemo; if test -f "$prefixdir/bin/depdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/depdemo; if test -f "$prefix/bin/depdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/depdemo.at:326: if \"\$lt_exe\" ; then :; else lt_status=\$?;        test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "depdemo.at:326"
@@ -16753,7 +16753,7 @@ $at_traceon; }
 done
 
 
-leftovers=`find $prefixdir ! -type d ! -name '.*' -print`
+leftovers=`find $prefix ! -type d ! -name '.*' -print`
 { set +x
 $as_echo "$at_srcdir/depdemo.at:327: test -z \"\$leftovers\""
 at_fn_check_prepare_dynamic "test -z \"$leftovers\"" "depdemo.at:327"
@@ -16788,7 +16788,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([depdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([depdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -16991,7 +16991,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -17088,9 +17088,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/depdemo.at:340: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --enable-fast-install=no"
+$as_echo "$at_srcdir/depdemo.at:340: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --enable-fast-install=no"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "depdemo.at:340"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --enable-fast-install=no
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --enable-fast-install=no
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -17172,7 +17172,7 @@ $at_traceon; }
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 for target in install
 do
   { set +x
@@ -17190,7 +17190,7 @@ $at_traceon; }
 
 done
 
-lt_exe=$prefixdir/bin/depdemo_static; if test -f "$prefixdir/bin/depdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/depdemo_static; if test -f "$prefix/bin/depdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/depdemo.at:344: if \"\$lt_exe\" ; then :; else lt_status=\$?;        test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "depdemo.at:344"
@@ -17205,7 +17205,7 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/depdemo; if test -f "$prefixdir/bin/depdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/depdemo; if test -f "$prefix/bin/depdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/depdemo.at:344: if \"\$lt_exe\" ; then :; else lt_status=\$?;        test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "depdemo.at:344"
@@ -17243,7 +17243,7 @@ $at_traceon; }
 done
 
 
-leftovers=`find $prefixdir ! -type d ! -name '.*' -print`
+leftovers=`find $prefix ! -type d ! -name '.*' -print`
 { set +x
 $as_echo "$at_srcdir/depdemo.at:345: test -z \"\$leftovers\""
 at_fn_check_prepare_dynamic "test -z \"$leftovers\"" "depdemo.at:345"
@@ -17278,7 +17278,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([depdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([depdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE
@@ -17481,7 +17481,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -17578,9 +17578,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/depdemo.at:359: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" "
+$as_echo "$at_srcdir/depdemo.at:359: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "depdemo.at:359"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir"
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -17648,7 +17648,7 @@ $at_traceon; }
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 for target in install
 do
   { set +x
@@ -17666,7 +17666,7 @@ $at_traceon; }
 
 done
 
-lt_exe=$prefixdir/bin/depdemo_static; if test -f "$prefixdir/bin/depdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/depdemo_static; if test -f "$prefix/bin/depdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/depdemo.at:361: if \"\$lt_exe\" ; then :; else lt_status=\$?;        test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "depdemo.at:361"
@@ -17681,7 +17681,7 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/depdemo; if test -f "$prefixdir/bin/depdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/depdemo; if test -f "$prefix/bin/depdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
 $as_echo "$at_srcdir/depdemo.at:361: if \"\$lt_exe\" ; then :; else lt_status=\$?;        test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != 0 &&     test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "depdemo.at:361"
@@ -26352,7 +26352,7 @@ at_xfail=no
 
 
 
-eval "`$LIBTOOL --config | $EGREP '^(objdir|host_os)='`"
+eval "`$LIBTOOL --config | $EGREP '^(objdir|host_os|shared_archive_member_spec)='`"
 
 # Setup some library and program sources:
 # a library (a1), a new revision (a2), a compatible update (a3),
@@ -26900,18 +26900,28 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-# This test does not work on AIX, not even with runtimelinking, because
-# the linker always records the unversioned name as dependency.
+# On AIX, this test only works when the 'aix-soname' feature is enabled and
+# active, which is reflected in shared_archive_member_spec being set and LDFLAGS
+# containing -brtl. Otherwise, even with runtime linking, the linker always
+# records the unversioned name as dependency.
 { set +x
-$as_echo "$at_srcdir/versioning.at:233: :; case \$host_os in aix*) exit 77;; esac"
-at_fn_check_prepare_dynamic ":; case $host_os in aix*) exit 77;; esac" "versioning.at:233"
-( $at_check_trace; :; case $host_os in aix*) exit 77;; esac
+$as_echo "$at_srcdir/versioning.at:239: :; case \$host_os,\$shared_archive_member_spec,\$LDFLAGS in
+aix*,,*) exit 77 ;;
+aix*,*,*-brtl*) ;;
+aix*,*) exit 77 ;;
+esac"
+at_fn_check_prepare_notrace 'an embedded newline' "versioning.at:239"
+( $at_check_trace; :; case $host_os,$shared_archive_member_spec,$LDFLAGS in
+aix*,,*) exit 77 ;;
+aix*,*,*-brtl*) ;;
+aix*,*) exit 77 ;;
+esac
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 at_fn_diff_devnull "$at_stderr" || at_failed=:
 at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/versioning.at:233"
+at_fn_check_status 0 $at_status "$at_srcdir/versioning.at:239"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
@@ -27347,9 +27357,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/old-m4-iface.at:91: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;        \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/old-m4-iface.at:91: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;        \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "old-m4-iface.at:91"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -27638,9 +27648,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/old-m4-iface.at:162: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options --with-included-ltdl"
+$as_echo "$at_srcdir/old-m4-iface.at:162: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --with-included-ltdl"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "old-m4-iface.at:162"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --with-included-ltdl
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --with-included-ltdl
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -27701,7 +27711,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtoolize-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtoolize-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])
 LT_INIT
@@ -27764,7 +27774,7 @@ at_xfail=no
 
 
 cat >configure.in <<'_ATEOF'
-AC_INIT([old-ltdl-iface-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([old-ltdl-iface-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_MACRO_DIRS([m4])
 AC_CONFIG_LIBOBJ_DIR([ltdl])
 LT_CONFIG_LTDL_DIR([ltdl])
@@ -27814,8 +27824,8 @@ libtoolize: linking file './config.sub'
 libtoolize: linking file './install-sh'
 libtoolize: linking file './ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
-libtoolize: linking file 'm4/argz.m4'
 libtoolize: linking file 'm4/libtool.m4'
+libtoolize: linking file 'm4/ltargz.m4'
 libtoolize: linking file 'm4/ltdl.m4'
 libtoolize: linking file 'm4/ltoptions.m4'
 libtoolize: linking file 'm4/ltsugar.m4'
@@ -27824,9 +27834,8 @@ libtoolize: linking file 'm4/lt~obsolete.m4'
 libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, 'ltdl'.
 libtoolize: linking file 'ltdl/COPYING.LIB'
 libtoolize: linking file 'ltdl/README'
-libtoolize: linking file 'ltdl/argz_.h'
-libtoolize: linking file 'ltdl/argz.c'
 libtoolize: linking file 'ltdl/libltdl/lt__alloc.h'
+libtoolize: linking file 'ltdl/libltdl/lt__argz_.h'
 libtoolize: linking file 'ltdl/libltdl/lt__dirent.h'
 libtoolize: linking file 'ltdl/libltdl/lt__glibc.h'
 libtoolize: linking file 'ltdl/libltdl/lt__private.h'
@@ -27843,6 +27852,7 @@ libtoolize: linking file 'ltdl/loaders/loadlibrary.c'
 libtoolize: linking file 'ltdl/loaders/preopen.c'
 libtoolize: linking file 'ltdl/loaders/shl_load.c'
 libtoolize: linking file 'ltdl/lt__alloc.c'
+libtoolize: linking file 'ltdl/lt__argz.c'
 libtoolize: linking file 'ltdl/lt__dirent.c'
 libtoolize: linking file 'ltdl/lt__strl.c'
 libtoolize: linking file 'ltdl/lt_dlloader.c'
@@ -27994,9 +28004,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/old-ltdl-iface.at:134: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;     \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/old-ltdl-iface.at:134: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;     \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "old-ltdl-iface.at:134"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -28061,7 +28071,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([subdir-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([subdir-demo], 2.4.4, bug-libtool@gnu.org)
 AM_INIT_AUTOMAKE
 LT_INIT([win32-dll])
 AC_PROG_CC
@@ -28186,9 +28196,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/am-subdir.at:78: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;           \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/am-subdir.at:78: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;           \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "am-subdir.at:78"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -28306,7 +28316,7 @@ $at_traceon; }
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([subdir-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([subdir-demo], 2.4.4, bug-libtool@gnu.org)
 AM_INIT_AUTOMAKE
 AC_PROG_CC
 AM_PROG_CC_C_O
@@ -28439,9 +28449,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/am-subdir.at:146: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/am-subdir.at:146: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "am-subdir.at:146"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -30157,11 +30167,11 @@ at_xfail=no
 
 # Ensure that no symbols from argz are unrenamed.
 eval `$LIBTOOL --config | $EGREP '^(NM|global_symbol_pipe|objext)='`
-argz_o=$abs_top_builddir/libltdl/argz.$objext
+lt__argz_o=$abs_top_builddir/libltdl/lt__argz.$objext
 { set +x
-$as_echo "$at_srcdir/ltdl-api.at:31: test -f \"\$argz_o\" || exit 77"
-at_fn_check_prepare_dynamic "test -f \"$argz_o\" || exit 77" "ltdl-api.at:31"
-( $at_check_trace; test -f "$argz_o" || exit 77
+$as_echo "$at_srcdir/ltdl-api.at:31: test -f \"\$lt__argz_o\" || exit 77"
+at_fn_check_prepare_dynamic "test -f \"$lt__argz_o\" || exit 77" "ltdl-api.at:31"
+( $at_check_trace; test -f "$lt__argz_o" || exit 77
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -30172,9 +30182,9 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 { set +x
-$as_echo "$at_srcdir/ltdl-api.at:33: eval \"\$NM \\\"\\\$argz_o\\\" | \$global_symbol_pipe\""
+$as_echo "$at_srcdir/ltdl-api.at:33: eval \"\$NM \\\"\\\$lt__argz_o\\\" | \$global_symbol_pipe\""
 at_fn_check_prepare_notrace 'a shell pipeline' "ltdl-api.at:33"
-( $at_check_trace; eval "$NM \"\$argz_o\" | $global_symbol_pipe"
+( $at_check_trace; eval "$NM \"\$lt__argz_o\" | $global_symbol_pipe"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -32067,7 +32077,7 @@ at_xfail=no
 
 
 cat >configure.ac <<_EOT_
-AC_INIT([mdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([mdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 LT_CONFIG_LTDL_DIR([libltdl])
@@ -32624,7 +32634,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -32721,9 +32731,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/mdemo.at:630: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --with-included-ltdl --disable-shared"
+$as_echo "$at_srcdir/mdemo.at:630: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --with-included-ltdl --disable-shared"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mdemo.at:630"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --with-included-ltdl --disable-shared
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --with-included-ltdl --disable-shared
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -32863,13 +32873,13 @@ done
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 
-lt_exe=$prefixdir/bin/mdemo_static; if test -f "$prefixdir/bin/mdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/mdemo_static; if test -f "$prefix/bin/mdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
-$as_echo "$at_srcdir/mdemo.at:632: if \"\$lt_exe\" \$prefixdir/lib/foo1.la \$prefixdir/lib/libfoo2.la | \$GREP '^try_iterate: '; then :; else lt_status=\$?;      test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
+$as_echo "$at_srcdir/mdemo.at:632: if \"\$lt_exe\" \$prefix/lib/foo1.la \$prefix/lib/libfoo2.la | \$GREP '^try_iterate: '; then :; else lt_status=\$?;            test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_notrace 'a shell pipeline' "mdemo.at:632"
-( $at_check_trace; if "$lt_exe" $prefixdir/lib/foo1.la $prefixdir/lib/libfoo2.la | $GREP '^try_iterate: '; then :; else lt_status=$?;     test "$lt_status" != 0 &&       test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
+( $at_check_trace; if "$lt_exe" $prefix/lib/foo1.la $prefix/lib/libfoo2.la | $GREP '^try_iterate: '; then :; else lt_status=$?;           test "$lt_status" != 0 &&       test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -32880,11 +32890,11 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/mdemo; if test -f "$prefixdir/bin/mdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/mdemo; if test -f "$prefix/bin/mdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
-$as_echo "$at_srcdir/mdemo.at:632: if \"\$lt_exe\" \$prefixdir/lib/foo1.la \$prefixdir/lib/libfoo2.la | \$GREP '^try_iterate: '; then :; else lt_status=\$?;      test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
+$as_echo "$at_srcdir/mdemo.at:632: if \"\$lt_exe\" \$prefix/lib/foo1.la \$prefix/lib/libfoo2.la | \$GREP '^try_iterate: '; then :; else lt_status=\$?;            test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_notrace 'a shell pipeline' "mdemo.at:632"
-( $at_check_trace; if "$lt_exe" $prefixdir/lib/foo1.la $prefixdir/lib/libfoo2.la | $GREP '^try_iterate: '; then :; else lt_status=$?;     test "$lt_status" != 0 &&       test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
+( $at_check_trace; if "$lt_exe" $prefix/lib/foo1.la $prefix/lib/libfoo2.la | $GREP '^try_iterate: '; then :; else lt_status=$?;           test "$lt_status" != 0 &&       test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -32914,7 +32924,7 @@ $at_traceon; }
 done
 
 
-leftovers=`find $prefixdir ! -type d ! -name '.*' -print`
+leftovers=`find $prefix ! -type d ! -name '.*' -print`
 { set +x
 $as_echo "$at_srcdir/mdemo.at:633: test -z \"\$leftovers\""
 at_fn_check_prepare_dynamic "test -z \"$leftovers\"" "mdemo.at:633"
@@ -32949,7 +32959,7 @@ at_xfail=no
 
 
 cat >configure.ac <<_EOT_
-AC_INIT([mdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([mdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 LT_CONFIG_LTDL_DIR([libltdl])
@@ -33506,7 +33516,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -33603,9 +33613,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/mdemo.at:647: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --with-included-ltdl --disable-static"
+$as_echo "$at_srcdir/mdemo.at:647: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --with-included-ltdl --disable-static"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mdemo.at:647"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --with-included-ltdl --disable-static
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --with-included-ltdl --disable-static
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -33745,13 +33755,13 @@ done
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 
-lt_exe=$prefixdir/bin/mdemo_static; if test -f "$prefixdir/bin/mdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/mdemo_static; if test -f "$prefix/bin/mdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
-$as_echo "$at_srcdir/mdemo.at:649: if \"\$lt_exe\" \$prefixdir/lib/foo1.la \$prefixdir/lib/libfoo2.la | \$GREP '^try_iterate: '; then :; else lt_status=\$?;      test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
+$as_echo "$at_srcdir/mdemo.at:649: if \"\$lt_exe\" \$prefix/lib/foo1.la \$prefix/lib/libfoo2.la | \$GREP '^try_iterate: '; then :; else lt_status=\$?;            test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_notrace 'a shell pipeline' "mdemo.at:649"
-( $at_check_trace; if "$lt_exe" $prefixdir/lib/foo1.la $prefixdir/lib/libfoo2.la | $GREP '^try_iterate: '; then :; else lt_status=$?;     test "$lt_status" != 0 &&       test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
+( $at_check_trace; if "$lt_exe" $prefix/lib/foo1.la $prefix/lib/libfoo2.la | $GREP '^try_iterate: '; then :; else lt_status=$?;           test "$lt_status" != 0 &&       test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -33762,11 +33772,11 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/mdemo; if test -f "$prefixdir/bin/mdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/mdemo; if test -f "$prefix/bin/mdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
-$as_echo "$at_srcdir/mdemo.at:649: if \"\$lt_exe\" \$prefixdir/lib/foo1.la \$prefixdir/lib/libfoo2.la | \$GREP '^try_iterate: '; then :; else lt_status=\$?;      test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
+$as_echo "$at_srcdir/mdemo.at:649: if \"\$lt_exe\" \$prefix/lib/foo1.la \$prefix/lib/libfoo2.la | \$GREP '^try_iterate: '; then :; else lt_status=\$?;            test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_notrace 'a shell pipeline' "mdemo.at:649"
-( $at_check_trace; if "$lt_exe" $prefixdir/lib/foo1.la $prefixdir/lib/libfoo2.la | $GREP '^try_iterate: '; then :; else lt_status=$?;     test "$lt_status" != 0 &&       test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
+( $at_check_trace; if "$lt_exe" $prefix/lib/foo1.la $prefix/lib/libfoo2.la | $GREP '^try_iterate: '; then :; else lt_status=$?;           test "$lt_status" != 0 &&       test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -33796,7 +33806,7 @@ $at_traceon; }
 done
 
 
-leftovers=`find $prefixdir ! -type d ! -name '.*' -print`
+leftovers=`find $prefix ! -type d ! -name '.*' -print`
 { set +x
 $as_echo "$at_srcdir/mdemo.at:650: test -z \"\$leftovers\""
 at_fn_check_prepare_dynamic "test -z \"$leftovers\"" "mdemo.at:650"
@@ -33831,7 +33841,7 @@ at_xfail=no
 
 
 cat >configure.ac <<_EOT_
-AC_INIT([mdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([mdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 LT_CONFIG_LTDL_DIR([libltdl])
@@ -34388,7 +34398,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -34485,9 +34495,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/mdemo.at:664: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --with-included-ltdl"
+$as_echo "$at_srcdir/mdemo.at:664: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --with-included-ltdl"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mdemo.at:664"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --with-included-ltdl
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --with-included-ltdl
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -34627,13 +34637,13 @@ done
 
 
 # Windows hosts search for dlls in the command path.
-PATH=$prefixdir/lib:$PATH
+PATH=$prefix/lib:$PATH
 
-lt_exe=$prefixdir/bin/mdemo_static; if test -f "$prefixdir/bin/mdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/mdemo_static; if test -f "$prefix/bin/mdemo_static$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
-$as_echo "$at_srcdir/mdemo.at:666: if \"\$lt_exe\" \$prefixdir/lib/foo1.la \$prefixdir/lib/libfoo2.la | \$GREP '^try_iterate: '; then :; else lt_status=\$?;      test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
+$as_echo "$at_srcdir/mdemo.at:666: if \"\$lt_exe\" \$prefix/lib/foo1.la \$prefix/lib/libfoo2.la | \$GREP '^try_iterate: '; then :; else lt_status=\$?;            test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_notrace 'a shell pipeline' "mdemo.at:666"
-( $at_check_trace; if "$lt_exe" $prefixdir/lib/foo1.la $prefixdir/lib/libfoo2.la | $GREP '^try_iterate: '; then :; else lt_status=$?;     test "$lt_status" != 0 &&       test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
+( $at_check_trace; if "$lt_exe" $prefix/lib/foo1.la $prefix/lib/libfoo2.la | $GREP '^try_iterate: '; then :; else lt_status=$?;           test "$lt_status" != 0 &&       test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -34644,11 +34654,11 @@ $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
-lt_exe=$prefixdir/bin/mdemo; if test -f "$prefixdir/bin/mdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+lt_exe=$prefix/bin/mdemo; if test -f "$prefix/bin/mdemo$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
-$as_echo "$at_srcdir/mdemo.at:666: if \"\$lt_exe\" \$prefixdir/lib/foo1.la \$prefixdir/lib/libfoo2.la | \$GREP '^try_iterate: '; then :; else lt_status=\$?;      test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
+$as_echo "$at_srcdir/mdemo.at:666: if \"\$lt_exe\" \$prefix/lib/foo1.la \$prefix/lib/libfoo2.la | \$GREP '^try_iterate: '; then :; else lt_status=\$?;            test \"\$lt_status\" != 0 &&            test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
 at_fn_check_prepare_notrace 'a shell pipeline' "mdemo.at:666"
-( $at_check_trace; if "$lt_exe" $prefixdir/lib/foo1.la $prefixdir/lib/libfoo2.la | $GREP '^try_iterate: '; then :; else lt_status=$?;     test "$lt_status" != 0 &&       test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
+( $at_check_trace; if "$lt_exe" $prefix/lib/foo1.la $prefix/lib/libfoo2.la | $GREP '^try_iterate: '; then :; else lt_status=$?;           test "$lt_status" != 0 &&       test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -34678,7 +34688,7 @@ $at_traceon; }
 done
 
 
-leftovers=`find $prefixdir ! -type d ! -name '.*' -print`
+leftovers=`find $prefix ! -type d ! -name '.*' -print`
 { set +x
 $as_echo "$at_srcdir/mdemo.at:667: test -z \"\$leftovers\""
 at_fn_check_prepare_dynamic "test -z \"$leftovers\"" "mdemo.at:667"
@@ -34713,7 +34723,7 @@ at_xfail=no
 
 
 cat >configure.ac <<_EOT_
-AC_INIT([mdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([mdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 LT_CONFIG_LTDL_DIR([libltdl])
@@ -35270,7 +35280,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -35367,9 +35377,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/mdemo.at:680: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --with-included-ltdl"
+$as_echo "$at_srcdir/mdemo.at:680: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --with-included-ltdl"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mdemo.at:680"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --with-included-ltdl
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --with-included-ltdl
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -35587,13 +35597,13 @@ $at_traceon; }
 
 # Running $MAKE install
 # Libtool does not create these directories
-$lt_INSTALL -d "$prefixdir/bin"
-$lt_INSTALL -d "$prefixdir/include"
-$lt_INSTALL -d "$prefixdir/lib"
+$lt_INSTALL -d "$prefix/bin"
+$lt_INSTALL -d "$prefix/include"
+$lt_INSTALL -d "$prefix/lib"
 
 sleep 1 # for MSYS
 ls -l . "$objdir" | $EGREP -v '(^total|testsuite.log$)' > "$before"
-ls -lR "$prefixdir" | $EGREP -v '(^total|testsuite.log$)' >> "$before"
+ls -lR "$prefix" | $EGREP -v '(^total|testsuite.log$)' >> "$before"
 force_dry_run=:
 for target in install
 do
@@ -35614,7 +35624,7 @@ done
 
 
 ls -l . "$objdir" | $EGREP -v '(^total|testsuite.log$)' > "$after"
-ls -lR "$prefixdir" | $EGREP -v '(^total|testsuite.log$)' >> "$after"
+ls -lR "$prefix" | $EGREP -v '(^total|testsuite.log$)' >> "$after"
 { set +x
 $as_echo "$at_srcdir/mdemo.at:748: cmp \"\$before\" \"\$after\""
 at_fn_check_prepare_dynamic "cmp \"$before\" \"$after\"" "mdemo.at:748"
@@ -35651,11 +35661,11 @@ done
 
 # Running $MAKE uninstall
 # Libtool does not uninstall the programs, remove them first
-rm -f "$prefixdir/bin/mdemo$EXEEXT" "$prefixdir/bin/mdemo_static$EXEEXT"
+rm -f "$prefix/bin/mdemo$EXEEXT" "$prefix/bin/mdemo_static$EXEEXT"
 
 sleep 1 # for MSYS
 ls -l . "$objdir" | $EGREP -v '(^total|testsuite.log$)' > "$before"
-ls -lR "$prefixdir" | $EGREP -v '(^total|testsuite.log$)' >> "$before"
+ls -lR "$prefix" | $EGREP -v '(^total|testsuite.log$)' >> "$before"
 force_dry_run=:
 for target in uninstall
 do
@@ -35675,7 +35685,7 @@ $at_traceon; }
 done
 
 ls -l . "$objdir" | $EGREP -v '(^total|testsuite.log$)' > "$after"
-ls -lR "$prefixdir" | $EGREP -v '(^total|testsuite.log$)' >> "$after"
+ls -lR "$prefix" | $EGREP -v '(^total|testsuite.log$)' >> "$after"
 { set +x
 $as_echo "$at_srcdir/mdemo.at:765: cmp \"\$before\" \"\$after\""
 at_fn_check_prepare_dynamic "cmp \"$before\" \"$after\"" "mdemo.at:765"
@@ -35710,7 +35720,7 @@ $at_traceon; }
 done
 
 
-leftovers=`find $prefixdir ! -type d ! -name '.*' -print`
+leftovers=`find $prefix ! -type d ! -name '.*' -print`
 { set +x
 $as_echo "$at_srcdir/mdemo.at:769: test -z \"\$leftovers\""
 at_fn_check_prepare_dynamic "test -z \"$leftovers\"" "mdemo.at:769"
@@ -35745,7 +35755,7 @@ at_xfail=no
 
 
 cat >configure.ac <<_EOT_
-AC_INIT([mdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([mdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 LT_CONFIG_LTDL_DIR([libltdl])
@@ -36302,7 +36312,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 cat >mdemo.mk <<'_ATEOF'
@@ -36462,9 +36472,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/mdemo.at:841: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --with-included-ltdl"
+$as_echo "$at_srcdir/mdemo.at:841: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --with-included-ltdl"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "mdemo.at:841"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --with-included-ltdl
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --with-included-ltdl
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -36599,9 +36609,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/standalone.at:34: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/standalone.at:34: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "standalone.at:34"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -36677,9 +36687,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/standalone.at:49: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/standalone.at:49: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "standalone.at:49"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -36757,9 +36767,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/standalone.at:66: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options --enable-ltdl-install --prefix=\$prefix"
+$as_echo "$at_srcdir/standalone.at:66: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --enable-ltdl-install --prefix=\$prefix"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "standalone.at:66"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --enable-ltdl-install --prefix=$prefix
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --enable-ltdl-install --prefix=$prefix
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -37000,7 +37010,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([subproject-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([subproject-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([sub/ltdl])
 AC_CONFIG_AUX_DIR([sub/ltdl/config])
 AC_CONFIG_MACRO_DIRS([sub/ltdl/m4])
@@ -37103,9 +37113,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/subproject.at:62: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/subproject.at:62: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "subproject.at:62"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -37167,7 +37177,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([subproject-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([subproject-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([sub/ltdl])
 AC_CONFIG_AUX_DIR([sub/ltdl/config])
 AC_CONFIG_MACRO_DIRS([sub/ltdl/m4])
@@ -37270,9 +37280,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/subproject.at:78: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/subproject.at:78: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "subproject.at:78"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -37336,7 +37346,7 @@ at_xfail=no
 prefix=`pwd`/_inst
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([subproject-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([subproject-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([sub/ltdl])
 AC_CONFIG_AUX_DIR([sub/ltdl/config])
 AC_CONFIG_MACRO_DIRS([sub/ltdl/m4])
@@ -37439,9 +37449,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/subproject.at:97: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options --enable-ltdl-install --prefix=\$prefix"
+$as_echo "$at_srcdir/subproject.at:97: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --enable-ltdl-install --prefix=\$prefix"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "subproject.at:97"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --enable-ltdl-install --prefix=$prefix
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --enable-ltdl-install --prefix=$prefix
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -37669,7 +37679,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([subdirectory-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([subdirectory-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([ltdl])
 AC_CONFIG_AUX_DIR([ltdl/config])
 AC_CONFIG_MACRO_DIRS([ltdl/m4])
@@ -37731,7 +37741,7 @@ $at_traceon; }
 
 
 # Support vanilla autoconf-2.59 & automake-1.9.6
-for file in argz.c lt__dirent.c lt__strl.c; do
+for file in lt__argz.c lt__dirent.c lt__strl.c; do
   cp ltdl/$file $file
 done
 
@@ -37827,9 +37837,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/nonrecursive.at:92: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;        \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/nonrecursive.at:92: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;        \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "nonrecursive.at:92"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -37892,7 +37902,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([subdirectory-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([subdirectory-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([ltdl])
 AC_CONFIG_AUX_DIR([ltdl/config])
 AC_CONFIG_MACRO_DIRS([ltdl/m4])
@@ -37954,7 +37964,7 @@ $at_traceon; }
 
 
 # Support vanilla autoconf-2.59 & automake-1.9.6
-for file in argz.c lt__dirent.c lt__strl.c; do
+for file in lt__argz.c lt__dirent.c lt__strl.c; do
   cp ltdl/$file $file
 done
 
@@ -38050,9 +38060,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/nonrecursive.at:116: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/nonrecursive.at:116: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "nonrecursive.at:116"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -38115,7 +38125,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([subdirectory-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([subdirectory-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([ltdl])
 AC_CONFIG_AUX_DIR([ltdl/config])
 AC_CONFIG_MACRO_DIRS([ltdl/m4])
@@ -38179,7 +38189,7 @@ $at_traceon; }
 
 
 # Support vanilla autoconf-2.59 & automake-1.9.6
-for file in argz.c lt__dirent.c lt__strl.c; do
+for file in lt__argz.c lt__dirent.c lt__strl.c; do
   cp ltdl/$file $file
 done
 
@@ -38275,9 +38285,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/nonrecursive.at:142: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options --enable-ltdl-install --prefix=\$prefix"
+$as_echo "$at_srcdir/nonrecursive.at:142: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --enable-ltdl-install --prefix=\$prefix"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "nonrecursive.at:142"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --enable-ltdl-install --prefix=$prefix
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --enable-ltdl-install --prefix=$prefix
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -38350,7 +38360,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([subdirectory-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([subdirectory-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([ltdl])
 AC_CONFIG_AUX_DIR([ltdl/config])
 AC_CONFIG_MACRO_DIRS([ltdl/m4])
@@ -38431,9 +38441,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/recursive.at:68: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;           \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/recursive.at:68: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;           \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "recursive.at:68"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -38492,7 +38502,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([subdirectory-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([subdirectory-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([ltdl])
 AC_CONFIG_AUX_DIR([ltdl/config])
 AC_CONFIG_MACRO_DIRS([ltdl/m4])
@@ -38573,9 +38583,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/recursive.at:88: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;           \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/recursive.at:88: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;           \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "recursive.at:88"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -38634,7 +38644,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([subdirectory-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([subdirectory-demo], 2.4.4, bug-libtool@gnu.org)
 LT_CONFIG_LTDL_DIR([ltdl])
 AC_CONFIG_AUX_DIR([ltdl/config])
 AC_CONFIG_MACRO_DIRS([ltdl/m4])
@@ -38717,9 +38727,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/recursive.at:110: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options --enable-ltdl-install --prefix=\$prefix"
+$as_echo "$at_srcdir/recursive.at:110: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;          \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --enable-ltdl-install --prefix=\$prefix"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "recursive.at:110"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --enable-ltdl-install --prefix=$prefix
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --enable-ltdl-install --prefix=$prefix
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -38824,7 +38834,7 @@ $at_traceon; }
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([tagdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([tagdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AC_CANONICAL_TARGET
@@ -39131,7 +39141,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -39228,9 +39238,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/tagdemo.at:343: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-shared"
+$as_echo "$at_srcdir/tagdemo.at:343: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-shared"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "tagdemo.at:343"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-shared
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-shared
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -39358,7 +39368,7 @@ $at_traceon; }
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([tagdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([tagdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AC_CANONICAL_TARGET
@@ -39665,7 +39675,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -39762,9 +39772,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/tagdemo.at:358: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-static"
+$as_echo "$at_srcdir/tagdemo.at:358: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-static"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "tagdemo.at:358"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-static
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-static
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -39892,7 +39902,7 @@ $at_traceon; }
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([tagdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([tagdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AC_CANONICAL_TARGET
@@ -40199,7 +40209,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -40296,9 +40306,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/tagdemo.at:373: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" "
+$as_echo "$at_srcdir/tagdemo.at:373: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "tagdemo.at:373"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir"
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -40426,7 +40436,7 @@ $at_traceon; }
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([tagdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([tagdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIRS([m4])
 AC_CANONICAL_TARGET
@@ -40733,7 +40743,7 @@ case $host_os in mingw*)
   awk '{printf ("%s\r\n", $0);}' < expout > expout.t && mv -f expout.t expout ;;
 esac
 
-prefixdir=`pwd`/_inst
+prefix=`pwd`/_inst
 
 
 $LIBTOOLIZE
@@ -40830,9 +40840,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/tagdemo.at:388: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --disable-static"
+$as_echo "$at_srcdir/tagdemo.at:388: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-static"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "tagdemo.at:388"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --disable-static
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-static
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -41135,10 +41145,12 @@ $at_traceon; }
 
 
 noskip=:
+withundef=:
 # Mac OS X.
 # The linker has issues with this test.
 case $host in
 *-darwin*) noskip=false ;;
+*-aix*) withundef=false ;;
 esac
 
 
@@ -41230,15 +41242,15 @@ case $compiler_c_o in
 yes)
   main_o=sub/main.$OBJEXT
   { set +x
-$as_echo "$at_srcdir/template.at:222: \$CXX \$CPPFLAGS \$CXXFLAGS -c -o \$main_o ../src/sub/main.cpp"
-at_fn_check_prepare_dynamic "$CXX $CPPFLAGS $CXXFLAGS -c -o $main_o ../src/sub/main.cpp" "template.at:222"
+$as_echo "$at_srcdir/template.at:224: \$CXX \$CPPFLAGS \$CXXFLAGS -c -o \$main_o ../src/sub/main.cpp"
+at_fn_check_prepare_dynamic "$CXX $CPPFLAGS $CXXFLAGS -c -o $main_o ../src/sub/main.cpp" "template.at:224"
 ( $at_check_trace; $CXX $CPPFLAGS $CXXFLAGS -c -o $main_o ../src/sub/main.cpp
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:222"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:224"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
@@ -41246,15 +41258,15 @@ $at_traceon; }
 *)
   main_o=main.$OBJEXT
   { set +x
-$as_echo "$at_srcdir/template.at:227: \$CXX \$CPPFLAGS \$CXXFLAGS -c ../src/sub/main.cpp"
-at_fn_check_prepare_dynamic "$CXX $CPPFLAGS $CXXFLAGS -c ../src/sub/main.cpp" "template.at:227"
+$as_echo "$at_srcdir/template.at:229: \$CXX \$CPPFLAGS \$CXXFLAGS -c ../src/sub/main.cpp"
+at_fn_check_prepare_dynamic "$CXX $CPPFLAGS $CXXFLAGS -c ../src/sub/main.cpp" "template.at:229"
 ( $at_check_trace; $CXX $CPPFLAGS $CXXFLAGS -c ../src/sub/main.cpp
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:227"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:229"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
@@ -41262,138 +41274,138 @@ $at_traceon; }
 esac
 
 { set +x
-$as_echo "$at_srcdir/template.at:232: \$LIBTOOL --tag=CXX --mode=compile \$CXX \$CPPFLAGS \$CXXFLAGS -c -o lib/a.lo ../src/lib/a.cpp"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=compile $CXX $CPPFLAGS $CXXFLAGS -c -o lib/a.lo ../src/lib/a.cpp" "template.at:232"
+$as_echo "$at_srcdir/template.at:234: \$LIBTOOL --tag=CXX --mode=compile \$CXX \$CPPFLAGS \$CXXFLAGS -c -o lib/a.lo ../src/lib/a.cpp"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=compile $CXX $CPPFLAGS $CXXFLAGS -c -o lib/a.lo ../src/lib/a.cpp" "template.at:234"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=compile $CXX $CPPFLAGS $CXXFLAGS -c -o lib/a.lo ../src/lib/a.cpp
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:232"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:234"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 { set +x
-$as_echo "$at_srcdir/template.at:234: \$LIBTOOL --tag=CXX --mode=compile \$CXX \$CPPFLAGS \$CXXFLAGS -c -o lib2/b.lo ../src/lib2/b.cpp"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=compile $CXX $CPPFLAGS $CXXFLAGS -c -o lib2/b.lo ../src/lib2/b.cpp" "template.at:234"
+$as_echo "$at_srcdir/template.at:236: \$LIBTOOL --tag=CXX --mode=compile \$CXX \$CPPFLAGS \$CXXFLAGS -c -o lib2/b.lo ../src/lib2/b.cpp"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=compile $CXX $CPPFLAGS $CXXFLAGS -c -o lib2/b.lo ../src/lib2/b.cpp" "template.at:236"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=compile $CXX $CPPFLAGS $CXXFLAGS -c -o lib2/b.lo ../src/lib2/b.cpp
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:234"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:236"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 { set +x
-$as_echo "$at_srcdir/template.at:236: \$CXX \$CPPFLAGS \$CXXFLAGS -c ../src/sub/main.cpp"
-at_fn_check_prepare_dynamic "$CXX $CPPFLAGS $CXXFLAGS -c ../src/sub/main.cpp" "template.at:236"
+$as_echo "$at_srcdir/template.at:238: \$CXX \$CPPFLAGS \$CXXFLAGS -c ../src/sub/main.cpp"
+at_fn_check_prepare_dynamic "$CXX $CPPFLAGS $CXXFLAGS -c ../src/sub/main.cpp" "template.at:238"
 ( $at_check_trace; $CXX $CPPFLAGS $CXXFLAGS -c ../src/sub/main.cpp
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:236"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:238"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 # both convenience
 { set +x
-$as_echo "$at_srcdir/template.at:239: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib/liba.la lib/a.lo"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la lib/a.lo" "template.at:239"
+$as_echo "$at_srcdir/template.at:241: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib/liba.la lib/a.lo"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la lib/a.lo" "template.at:241"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la lib/a.lo
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:239"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:241"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 { set +x
-$as_echo "$at_srcdir/template.at:241: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib2/libb.la lib2/b.lo"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo" "template.at:241"
+$as_echo "$at_srcdir/template.at:243: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib2/libb.la lib2/b.lo"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo" "template.at:243"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:241"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:243"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 { set +x
-$as_echo "$at_srcdir/template.at:243: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o sub/main\$EXEEXT \$main_o lib2/libb.la lib/liba.la"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la" "template.at:243"
+$as_echo "$at_srcdir/template.at:245: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o sub/main\$EXEEXT \$main_o lib2/libb.la lib/liba.la"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la" "template.at:245"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:243"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:245"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 lt_exe=./sub/main; if test -f "./sub/main$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
-$as_echo "$at_srcdir/template.at:244: if \"\$lt_exe\" ; then :; else lt_status=\$?;       test \"\$lt_status\" != ignore &&       test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
-at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != ignore &&        test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "template.at:244"
+$as_echo "$at_srcdir/template.at:246: if \"\$lt_exe\" ; then :; else lt_status=\$?;       test \"\$lt_status\" != ignore &&       test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
+at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;          test \"$lt_status\" != ignore &&        test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "template.at:246"
 ( $at_check_trace; if "$lt_exe" ; then :; else lt_status=$?;      test "$lt_status" != ignore &&          test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 at_fn_diff_devnull "$at_stderr" || at_failed=:
 at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_skip $at_status "$at_srcdir/template.at:244"
+at_fn_check_skip $at_status "$at_srcdir/template.at:246"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
 # lib convenience
-if $noskip; then
+if $noskip && $withundef; then
   { set +x
-$as_echo "$at_srcdir/template.at:248: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /foo"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /foo" "template.at:248"
+$as_echo "$at_srcdir/template.at:250: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /foo"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /foo" "template.at:250"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /foo
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:248"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:250"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
   { set +x
-$as_echo "$at_srcdir/template.at:250: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o sub/main\$EXEEXT \$main_o lib2/libb.la lib/liba.la"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la" "template.at:250"
+$as_echo "$at_srcdir/template.at:252: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o sub/main\$EXEEXT \$main_o lib2/libb.la lib/liba.la"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la" "template.at:252"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:250"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:252"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
   lt_exe=./sub/main; if test -f "./sub/main$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
-$as_echo "$at_srcdir/template.at:251: if \"\$lt_exe\" ; then :; else lt_status=\$?;               test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
-at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;                  test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "template.at:251"
+$as_echo "$at_srcdir/template.at:253: if \"\$lt_exe\" ; then :; else lt_status=\$?;               test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
+at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;                  test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "template.at:253"
 ( $at_check_trace; if "$lt_exe" ; then :; else lt_status=$?;              test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 at_fn_diff_devnull "$at_stderr" || at_failed=:
 at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:251"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:253"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
 # both installed
 { set +x
-$as_echo "$at_srcdir/template.at:256: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib/liba.la lib/a.lo -rpath /foo"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la lib/a.lo -rpath /foo" "template.at:256"
+$as_echo "$at_srcdir/template.at:258: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib/liba.la lib/a.lo -rpath /foo"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la lib/a.lo -rpath /foo" "template.at:258"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la lib/a.lo -rpath /foo
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:256"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:258"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
-{ set +x
-$as_echo "$at_srcdir/template.at:258: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /bar"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /bar" "template.at:258"
+if $withundef; then
+  { set +x
+$as_echo "$at_srcdir/template.at:261: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /bar"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /bar" "template.at:261"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo -rpath /bar
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:258"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:261"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
-{ set +x
-$as_echo "$at_srcdir/template.at:260: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o sub/main\$EXEEXT \$main_o lib2/libb.la lib/liba.la"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la" "template.at:260"
+  { set +x
+$as_echo "$at_srcdir/template.at:263: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o sub/main\$EXEEXT \$main_o lib2/libb.la lib/liba.la"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la" "template.at:263"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la lib/liba.la
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:260"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:263"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
-lt_exe=./sub/main; if test -f "./sub/main$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
+  lt_exe=./sub/main; if test -f "./sub/main$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
-$as_echo "$at_srcdir/template.at:261: if \"\$lt_exe\" ; then :; else lt_status=\$?;               test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
-at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;                  test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "template.at:261"
+$as_echo "$at_srcdir/template.at:264: if \"\$lt_exe\" ; then :; else lt_status=\$?;               test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
+at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;                  test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "template.at:264"
 ( $at_check_trace; if "$lt_exe" ; then :; else lt_status=$?;              test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 at_fn_diff_devnull "$at_stderr" || at_failed=:
 at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:261"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:264"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 
+fi
+
 # both convenience, libb depending on liba
 { set +x
-$as_echo "$at_srcdir/template.at:264: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib/liba.la lib/a.lo"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la lib/a.lo" "template.at:264"
+$as_echo "$at_srcdir/template.at:269: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib/liba.la lib/a.lo"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la lib/a.lo" "template.at:269"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib/liba.la lib/a.lo
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:264"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:269"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 { set +x
-$as_echo "$at_srcdir/template.at:266: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la" "template.at:266"
+$as_echo "$at_srcdir/template.at:271: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la" "template.at:271"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:266"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:271"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 { set +x
-$as_echo "$at_srcdir/template.at:268: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o sub/main\$EXEEXT \$main_o lib2/libb.la"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la" "template.at:268"
+$as_echo "$at_srcdir/template.at:273: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o sub/main\$EXEEXT \$main_o lib2/libb.la"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la" "template.at:273"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:268"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:273"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 lt_exe=./sub/main; if test -f "./sub/main$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
-$as_echo "$at_srcdir/template.at:269: if \"\$lt_exe\" ; then :; else lt_status=\$?;               test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
-at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;                  test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "template.at:269"
+$as_echo "$at_srcdir/template.at:274: if \"\$lt_exe\" ; then :; else lt_status=\$?;               test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
+at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;                  test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "template.at:274"
 ( $at_check_trace; if "$lt_exe" ; then :; else lt_status=$?;              test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 at_fn_diff_devnull "$at_stderr" || at_failed=:
 at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:269"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:274"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
@@ -41514,42 +41529,42 @@ $at_traceon; }
 if $noskip; then
 
   { set +x
-$as_echo "$at_srcdir/template.at:274: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la -rpath /foo"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la -rpath /foo" "template.at:274"
+$as_echo "$at_srcdir/template.at:279: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la -rpath /foo"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la -rpath /foo" "template.at:279"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la -rpath /foo
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:274"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:279"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
   { set +x
-$as_echo "$at_srcdir/template.at:276: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o sub/main\$EXEEXT \$main_o lib2/libb.la"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la" "template.at:276"
+$as_echo "$at_srcdir/template.at:281: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o sub/main\$EXEEXT \$main_o lib2/libb.la"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la" "template.at:281"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:276"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:281"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
   lt_exe=./sub/main; if test -f "./sub/main$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
-$as_echo "$at_srcdir/template.at:277: if \"\$lt_exe\" ; then :; else lt_status=\$?;               test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
-at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;                  test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "template.at:277"
+$as_echo "$at_srcdir/template.at:282: if \"\$lt_exe\" ; then :; else lt_status=\$?;               test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
+at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;                  test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "template.at:282"
 ( $at_check_trace; if "$lt_exe" ; then :; else lt_status=$?;              test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 at_fn_diff_devnull "$at_stderr" || at_failed=:
 at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:277"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:282"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 # both installed
 if $noskip; then
   { set +x
-$as_echo "$at_srcdir/template.at:282: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la -rpath /bar"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la -rpath /bar" "template.at:282"
+$as_echo "$at_srcdir/template.at:287: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la -rpath /bar"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la -rpath /bar" "template.at:287"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o lib2/libb.la lib2/b.lo lib/liba.la -rpath /bar
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:282"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:287"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
   { set +x
-$as_echo "$at_srcdir/template.at:284: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o sub/main\$EXEEXT \$main_o lib2/libb.la"
-at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la" "template.at:284"
+$as_echo "$at_srcdir/template.at:289: \$LIBTOOL --tag=CXX --mode=link \$CXX \$CXXFLAGS \$LDFLAGS -o sub/main\$EXEEXT \$main_o lib2/libb.la"
+at_fn_check_prepare_dynamic "$LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la" "template.at:289"
 ( $at_check_trace; $LIBTOOL --tag=CXX --mode=link $CXX $CXXFLAGS $LDFLAGS -o sub/main$EXEEXT $main_o lib2/libb.la
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:284"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:289"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
   lt_exe=./sub/main; if test -f "./sub/main$EXEEXT"; then lt_exe=$lt_exe$EXEEXT; fi
 { set +x
-$as_echo "$at_srcdir/template.at:285: if \"\$lt_exe\" ; then :; else lt_status=\$?;               test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
-at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;                  test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "template.at:285"
+$as_echo "$at_srcdir/template.at:290: if \"\$lt_exe\" ; then :; else lt_status=\$?;               test \"X\$host\" != \"X\$build\" && test -x \"\$lt_exe\" && exit 77;            exit \$lt_status; fi"
+at_fn_check_prepare_dynamic "if \"$lt_exe\" ; then :; else lt_status=$?;                  test \"X$host\" != \"X$build\" && test -x \"$lt_exe\" && exit 77;       exit $lt_status; fi" "template.at:290"
 ( $at_check_trace; if "$lt_exe" ; then :; else lt_status=$?;              test "X$host" != "X$build" && test -x "$lt_exe" && exit 77;     exit $lt_status; fi
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 at_fn_diff_devnull "$at_stderr" || at_failed=:
 at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:285"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:290"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
 cd ..
 
 { set +x
-$as_echo "$at_srcdir/template.at:290: \$noskip || (exit 77)"
-at_fn_check_prepare_dynamic "$noskip || (exit 77)" "template.at:290"
+$as_echo "$at_srcdir/template.at:295: \$noskip || (exit 77)"
+at_fn_check_prepare_dynamic "$noskip || (exit 77)" "template.at:295"
 ( $at_check_trace; $noskip || (exit 77)
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 at_fn_diff_devnull "$at_stderr" || at_failed=:
 at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/template.at:290"
+at_fn_check_status 0 $at_status "$at_srcdir/template.at:295"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
@@ -42349,7 +42364,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtool-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtool-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_MACRO_DIRS([m4])
 LT_INIT
 AC_CONFIG_FILES([Makefile])
@@ -42473,9 +42488,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/early-libtool.at:111: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/early-libtool.at:111: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "early-libtool.at:111"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -42563,7 +42578,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([libtool-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([libtool-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_MACRO_DIRS([m4])
 LT_INIT
 LT_OUTPUT
@@ -42700,9 +42715,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/early-libtool.at:218: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/early-libtool.at:218: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "early-libtool.at:218"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -42906,9 +42921,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/no-executables.at:76: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/no-executables.at:76: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "no-executables.at:76"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -42920,9 +42935,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/no-executables.at:77: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options test_ac_libtool_dlopen=:"
+$as_echo "$at_srcdir/no-executables.at:77: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;      \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" test_ac_libtool_dlopen=:"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "no-executables.at:77"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options test_ac_libtool_dlopen=:
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" test_ac_libtool_dlopen=:
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -42943,10 +42958,12 @@ read at_status <"$at_status_file"
 at_fn_group_banner 147 'deplibs-ident.at:33' \
   "build tree relpaths" "                            " 22
 at_xfail=no
-      case $host in
-                 *-*-aix*|*-*-bitrig*|hppa*-*-hpux*|*-*-interix*|*-*-openbsd*) false;;
-                 *):;;
-               esac && at_xfail=yes
+          eval `$LIBTOOL --config | $EGREP '^hardcode_(direct|direct_absolute|action)='`
+    case $hardcode_action,$hardcode_direct,$hardcode_direct_absolute in
+      relink,yes,no) :;;
+      *,no,*) :;;
+      *) false;;
+    esac && at_xfail=yes
 (
   $as_echo "147. $at_setup_line: testing $at_desc ..."
   $at_traceon
@@ -43163,7 +43180,7 @@ esac
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([installable-ltdl-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([installable-ltdl-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([libltdl/config])
 AC_CONFIG_MACRO_DIRS([libltdl/m4])
 AC_CONFIG_HEADERS([config.h:config.hin])
@@ -43295,9 +43312,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/configure-iface.at:145: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --with-included-ltdl --prefix=\$prefix"
+$as_echo "$at_srcdir/configure-iface.at:145: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --with-included-ltdl --prefix=\$prefix"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "configure-iface.at:145"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --with-included-ltdl --prefix=$prefix
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --with-included-ltdl --prefix=$prefix
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -43399,9 +43416,9 @@ $LIBTOOLIZE --copy --ltdl=ltdl
 
 (cd ltdl
 { set +x
-$as_echo "$at_srcdir/configure-iface.at:171: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --enable-ltdl-install --prefix=\$prefix"
+$as_echo "$at_srcdir/configure-iface.at:171: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --enable-ltdl-install --prefix=\$prefix"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "configure-iface.at:171"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --enable-ltdl-install --prefix=$prefix
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --enable-ltdl-install --prefix=$prefix
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -43535,7 +43552,7 @@ esac
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([configure-iface-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([configure-iface-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_MACRO_DIRS([_inst/aclocal])
 AC_CONFIG_HEADERS([config.h:config.hin])
 AM_INIT_AUTOMAKE([foreign])
@@ -43674,9 +43691,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/configure-iface.at:229: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --with-ltdl-lib=\$prefix/lib --with-ltdl-include=\$prefix/include"
+$as_echo "$at_srcdir/configure-iface.at:229: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --with-ltdl-lib=\$prefix/lib --with-ltdl-include=\$prefix/include"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "configure-iface.at:229"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --with-ltdl-lib=$prefix/lib --with-ltdl-include=$prefix/include
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --with-ltdl-lib=$prefix/lib --with-ltdl-include=$prefix/include
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -43818,7 +43835,7 @@ esac
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([configure-iface-demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([configure-iface-demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([libltdl/config])
 AC_CONFIG_MACRO_DIRS([libltdl/m4])
 AC_CONFIG_HEADERS([config.h:config.hin])
@@ -43947,9 +43964,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/configure-iface.at:283: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --with-included-ltdl"
+$as_echo "$at_srcdir/configure-iface.at:283: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --with-included-ltdl"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "configure-iface.at:283"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --with-included-ltdl
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --with-included-ltdl
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -44111,9 +44128,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/configure-iface.at:321: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/configure-iface.at:321: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "configure-iface.at:321"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -44194,7 +44211,7 @@ $at_traceon; }
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([f77demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([f77demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE
 AC_PROG_CC
@@ -44515,9 +44532,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/f77demo.at:304: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-shared"
+$as_echo "$at_srcdir/f77demo.at:304: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-shared"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "f77demo.at:304"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-shared
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-shared
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -44717,7 +44734,7 @@ $at_traceon; }
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([f77demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([f77demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE
 AC_PROG_CC
@@ -45038,9 +45055,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/f77demo.at:319: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-static"
+$as_echo "$at_srcdir/f77demo.at:319: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-static"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "f77demo.at:319"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-static
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-static
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -45240,7 +45257,7 @@ $at_traceon; }
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([f77demo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([f77demo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE
 AC_PROG_CC
@@ -45561,9 +45578,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/f77demo.at:334: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" "
+$as_echo "$at_srcdir/f77demo.at:334: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "f77demo.at:334"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir"
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -45786,7 +45803,7 @@ $at_traceon; }
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([fcdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([fcdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE
 AC_PROG_CC
@@ -46121,9 +46138,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/fcdemo.at:318: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;     \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-shared"
+$as_echo "$at_srcdir/fcdemo.at:318: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;     \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-shared"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fcdemo.at:318"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-shared
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-shared
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -46343,7 +46360,7 @@ $at_traceon; }
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([fcdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([fcdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE
 AC_PROG_CC
@@ -46678,9 +46695,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/fcdemo.at:333: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;     \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" --disable-static"
+$as_echo "$at_srcdir/fcdemo.at:333: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;     \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" --disable-static"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fcdemo.at:333"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir" --disable-static
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" --disable-static
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -46900,7 +46917,7 @@ $at_traceon; }
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([fcdemo], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([fcdemo], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE
 AC_PROG_CC
@@ -47235,9 +47252,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/fcdemo.at:348: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;     \$CONFIG_SHELL ./configure \$configure_options --prefix=\"\$prefixdir\" "
+$as_echo "$at_srcdir/fcdemo.at:348: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;     \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "fcdemo.at:348"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options --prefix="$prefixdir"
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -47425,7 +47442,7 @@ _ATEOF
 
 
 $noskip && {
-$CC $CPPFLAGS $CFLAGS -arch ppc -arch i386 -o simple simple.c 2>&1 > /dev/null || noskip=false
+$CC $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 -o simple simple.c 2>&1 > /dev/null || noskip=false
 rm -f simple
 }
 
@@ -47495,9 +47512,9 @@ PATH=`pwd`/bin:$PATH
 export PATH
 
 { set +x
-$as_echo "$at_srcdir/darwin.at:85: \$LIBTOOL --mode=compile --tag=CC \$CC -c -o foo.lo \$CPPFLAGS \$CFLAGS -arch ppc -arch i386 foo.c"
-at_fn_check_prepare_dynamic "$LIBTOOL --mode=compile --tag=CC $CC -c -o foo.lo $CPPFLAGS $CFLAGS -arch ppc -arch i386 foo.c" "darwin.at:85"
-( $at_check_trace; $LIBTOOL --mode=compile --tag=CC $CC -c -o foo.lo $CPPFLAGS $CFLAGS -arch ppc -arch i386 foo.c
+$as_echo "$at_srcdir/darwin.at:85: \$LIBTOOL --mode=compile --tag=CC \$CC -c -o foo.lo \$CPPFLAGS \$CFLAGS -arch x86_64 -arch i386 foo.c"
+at_fn_check_prepare_dynamic "$LIBTOOL --mode=compile --tag=CC $CC -c -o foo.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 foo.c" "darwin.at:85"
+( $at_check_trace; $LIBTOOL --mode=compile --tag=CC $CC -c -o foo.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 foo.c
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -47509,9 +47526,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/darwin.at:87: \$LIBTOOL --mode=compile --tag=CC \$CC -c -o baz.lo \$CPPFLAGS \$CFLAGS -arch ppc -arch i386 baz.c"
-at_fn_check_prepare_dynamic "$LIBTOOL --mode=compile --tag=CC $CC -c -o baz.lo $CPPFLAGS $CFLAGS -arch ppc -arch i386 baz.c" "darwin.at:87"
-( $at_check_trace; $LIBTOOL --mode=compile --tag=CC $CC -c -o baz.lo $CPPFLAGS $CFLAGS -arch ppc -arch i386 baz.c
+$as_echo "$at_srcdir/darwin.at:87: \$LIBTOOL --mode=compile --tag=CC \$CC -c -o baz.lo \$CPPFLAGS \$CFLAGS -arch x86_64 -arch i386 baz.c"
+at_fn_check_prepare_dynamic "$LIBTOOL --mode=compile --tag=CC $CC -c -o baz.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 baz.c" "darwin.at:87"
+( $at_check_trace; $LIBTOOL --mode=compile --tag=CC $CC -c -o baz.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 baz.c
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -47523,9 +47540,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/darwin.at:89: \$LIBTOOL --mode=link --tag=CC \$CC -o libfoo.la \$CPPFLAGS \$CFLAGS \$LDFLAGS -arch ppc -arch i386 foo.lo baz.lo"
-at_fn_check_prepare_dynamic "$LIBTOOL --mode=link --tag=CC $CC -o libfoo.la $CPPFLAGS $CFLAGS $LDFLAGS -arch ppc -arch i386 foo.lo baz.lo" "darwin.at:89"
-( $at_check_trace; $LIBTOOL --mode=link --tag=CC $CC -o libfoo.la $CPPFLAGS $CFLAGS $LDFLAGS -arch ppc -arch i386 foo.lo baz.lo
+$as_echo "$at_srcdir/darwin.at:89: \$LIBTOOL --mode=link --tag=CC \$CC -o libfoo.la \$CPPFLAGS \$CFLAGS \$LDFLAGS -arch x86_64 -arch i386 foo.lo baz.lo"
+at_fn_check_prepare_dynamic "$LIBTOOL --mode=link --tag=CC $CC -o libfoo.la $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch i386 foo.lo baz.lo" "darwin.at:89"
+( $at_check_trace; $LIBTOOL --mode=link --tag=CC $CC -o libfoo.la $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch i386 foo.lo baz.lo
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -47537,9 +47554,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/darwin.at:91: \$LIBTOOL --mode=compile --tag=CC \$CC -c -o bar.lo \$CPPFLAGS \$CFLAGS -arch ppc -arch i386 bar.c"
-at_fn_check_prepare_dynamic "$LIBTOOL --mode=compile --tag=CC $CC -c -o bar.lo $CPPFLAGS $CFLAGS -arch ppc -arch i386 bar.c" "darwin.at:91"
-( $at_check_trace; $LIBTOOL --mode=compile --tag=CC $CC -c -o bar.lo $CPPFLAGS $CFLAGS -arch ppc -arch i386 bar.c
+$as_echo "$at_srcdir/darwin.at:91: \$LIBTOOL --mode=compile --tag=CC \$CC -c -o bar.lo \$CPPFLAGS \$CFLAGS -arch x86_64 -arch i386 bar.c"
+at_fn_check_prepare_dynamic "$LIBTOOL --mode=compile --tag=CC $CC -c -o bar.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 bar.c" "darwin.at:91"
+( $at_check_trace; $LIBTOOL --mode=compile --tag=CC $CC -c -o bar.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 bar.c
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -47551,9 +47568,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/darwin.at:93: \$LIBTOOL --mode=link --tag=CC \$CC  -o libbar.la \$CPPFLAGS \$CFLAGS \$LDFLAGS -arch ppc -arch i386 bar.lo libfoo.la -rpath /nonexistent"
-at_fn_check_prepare_dynamic "$LIBTOOL --mode=link --tag=CC $CC  -o libbar.la $CPPFLAGS $CFLAGS $LDFLAGS -arch ppc -arch i386 bar.lo libfoo.la -rpath /nonexistent" "darwin.at:93"
-( $at_check_trace; $LIBTOOL --mode=link --tag=CC $CC  -o libbar.la $CPPFLAGS $CFLAGS $LDFLAGS -arch ppc -arch i386 bar.lo libfoo.la -rpath /nonexistent
+$as_echo "$at_srcdir/darwin.at:93: \$LIBTOOL --mode=link --tag=CC \$CC  -o libbar.la \$CPPFLAGS \$CFLAGS \$LDFLAGS -arch x86_64 -arch i386 bar.lo libfoo.la -rpath /nonexistent"
+at_fn_check_prepare_dynamic "$LIBTOOL --mode=link --tag=CC $CC  -o libbar.la $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch i386 bar.lo libfoo.la -rpath /nonexistent" "darwin.at:93"
+( $at_check_trace; $LIBTOOL --mode=link --tag=CC $CC  -o libbar.la $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch i386 bar.lo libfoo.la -rpath /nonexistent
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -47565,9 +47582,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/darwin.at:95: \$LIBTOOL --mode=compile --tag=CC \$CC -c -o main.lo \$CPPFLAGS \$CFLAGS -arch ppc -arch i386 main.c"
-at_fn_check_prepare_dynamic "$LIBTOOL --mode=compile --tag=CC $CC -c -o main.lo $CPPFLAGS $CFLAGS -arch ppc -arch i386 main.c" "darwin.at:95"
-( $at_check_trace; $LIBTOOL --mode=compile --tag=CC $CC -c -o main.lo $CPPFLAGS $CFLAGS -arch ppc -arch i386 main.c
+$as_echo "$at_srcdir/darwin.at:95: \$LIBTOOL --mode=compile --tag=CC \$CC -c -o main.lo \$CPPFLAGS \$CFLAGS -arch x86_64 -arch i386 main.c"
+at_fn_check_prepare_dynamic "$LIBTOOL --mode=compile --tag=CC $CC -c -o main.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 main.c" "darwin.at:95"
+( $at_check_trace; $LIBTOOL --mode=compile --tag=CC $CC -c -o main.lo $CPPFLAGS $CFLAGS -arch x86_64 -arch i386 main.c
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -47579,9 +47596,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/darwin.at:97: \$LIBTOOL --mode=link --tag=CC \$CC  -o main\$EXEEXT \$CPPFLAGS \$CFLAGS \$LDFLAGS -arch ppc -arch i386 main.lo libbar.la"
-at_fn_check_prepare_dynamic "$LIBTOOL --mode=link --tag=CC $CC  -o main$EXEEXT $CPPFLAGS $CFLAGS $LDFLAGS -arch ppc -arch i386 main.lo libbar.la" "darwin.at:97"
-( $at_check_trace; $LIBTOOL --mode=link --tag=CC $CC  -o main$EXEEXT $CPPFLAGS $CFLAGS $LDFLAGS -arch ppc -arch i386 main.lo libbar.la
+$as_echo "$at_srcdir/darwin.at:97: \$LIBTOOL --mode=link --tag=CC \$CC  -o main\$EXEEXT \$CPPFLAGS \$CFLAGS \$LDFLAGS -arch x86_64 -arch i386 main.lo libbar.la"
+at_fn_check_prepare_dynamic "$LIBTOOL --mode=link --tag=CC $CC  -o main$EXEEXT $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch i386 main.lo libbar.la" "darwin.at:97"
+( $at_check_trace; $LIBTOOL --mode=link --tag=CC $CC  -o main$EXEEXT $CPPFLAGS $CFLAGS $LDFLAGS -arch x86_64 -arch i386 main.lo libbar.la
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -47941,7 +47958,7 @@ at_xfail=no
 
 
 cat >configure.ac <<'_ATEOF'
-AC_INIT([ld-stderr], 2.4.3, bug-libtool@gnu.org)
+AC_INIT([ld-stderr], 2.4.4, bug-libtool@gnu.org)
 AC_CONFIG_MACRO_DIRS([m4])
 AM_INIT_AUTOMAKE([foreign])
 AC_PROG_CC
@@ -47996,9 +48013,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/darwin.at:225: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;     \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/darwin.at:225: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;     \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "darwin.at:225"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -48024,9 +48041,9 @@ $at_traceon; }
 
 mv stdout expout
 { set +x
-$as_echo "$at_srcdir/darwin.at:228: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;     \$CONFIG_SHELL ./configure \$configure_options LDFLAGS=-L/there/is/no/dir/here"
+$as_echo "$at_srcdir/darwin.at:228: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;     \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" LDFLAGS=-L/there/is/no/dir/here"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "darwin.at:228"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options LDFLAGS=-L/there/is/no/dir/here
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" LDFLAGS=-L/there/is/no/dir/here
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -48761,9 +48778,9 @@ EOF
       # missing configure flags and other reasons.
       LDFLAGS=$save_LDFLAGS
       { set +x
-$as_echo "$at_srcdir/deplibs-mingw.at:81: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL \"\$abs_top_srcdir\"/configure \$configure_options || exit 77"
+$as_echo "$at_srcdir/deplibs-mingw.at:81: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       \$CONFIG_SHELL \"\$abs_top_srcdir\"/configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" || exit 77"
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "deplibs-mingw.at:81"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL "$abs_top_srcdir"/configure $configure_options || exit 77
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL "$abs_top_srcdir"/configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" || exit 77
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -49057,9 +49074,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/sysroot.at:203: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/sysroot.at:203: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "sysroot.at:203"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -49245,9 +49262,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/sysroot.at:203: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/sysroot.at:203: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "sysroot.at:203"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -49432,9 +49449,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/sysroot.at:203: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/sysroot.at:203: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "sysroot.at:203"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -49806,9 +49823,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/sysroot.at:204: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/sysroot.at:204: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "sysroot.at:204"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -49994,9 +50011,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/sysroot.at:204: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/sysroot.at:204: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "sysroot.at:204"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -50181,9 +50198,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/sysroot.at:204: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/sysroot.at:204: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "sysroot.at:204"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -50555,9 +50572,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/sysroot.at:205: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/sysroot.at:205: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "sysroot.at:205"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -50743,9 +50760,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/sysroot.at:205: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/sysroot.at:205: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "sysroot.at:205"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -50930,9 +50947,9 @@ $at_traceon; }
 
 
 { set +x
-$as_echo "$at_srcdir/sysroot.at:205: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options "
+$as_echo "$at_srcdir/sysroot.at:205: : \${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;    \$CONFIG_SHELL ./configure \$configure_options           --prefix=\"\$prefix\" --exec-prefix=\"\$prefix\" --bindir=\"\$prefix/bin\" --libdir=\"\$prefix/lib\" "
 at_fn_check_prepare_notrace 'a ${...} parameter expansion' "sysroot.at:205"
-( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options
+( $at_check_trace; : ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL;       $CONFIG_SHELL ./configure $configure_options           --prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib"
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
@@ -51465,17 +51482,18 @@ at_xfail=no
   $at_traceon
 
 
-fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do echo $f; end`
+fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do test -f "$f" && echo "$f"; done`
+echo "DEBUG: fail_list='$fail_list'"
 { set +x
-$as_echo "$at_srcdir/cmdline_wrap.at:32: test -z \"\$fail_list\" || (exit 77)"
-at_fn_check_prepare_dynamic "test -z \"$fail_list\" || (exit 77)" "cmdline_wrap.at:32"
+$as_echo "$at_srcdir/cmdline_wrap.at:33: test -z \"\$fail_list\" || (exit 77)"
+at_fn_check_prepare_dynamic "test -z \"$fail_list\" || (exit 77)" "cmdline_wrap.at:33"
 ( $at_check_trace; test -z "$fail_list" || (exit 77)
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 at_fn_diff_devnull "$at_stderr" || at_failed=:
 at_fn_diff_devnull "$at_stdout" || at_failed=:
-at_fn_check_status 0 $at_status "$at_srcdir/cmdline_wrap.at:32"
+at_fn_check_status 0 $at_status "$at_srcdir/cmdline_wrap.at:33"
 $at_failed && at_fn_log_failure
 $at_traceon; }
 
@@ -51492,15 +51510,15 @@ cd tests
 INNER_TESTSUITEFLAGS="$INNER_TESTSUITEFLAGS abs_top_srcdir=$abs_top_srcdir \
   abs_builddir=$abs_builddir"
 { set +x
-$as_echo "$at_srcdir/cmdline_wrap.at:47: \$CONFIG_SHELL \$abs_srcdir/testsuite -k libtool\$INNER_TESTSUITEFLAGS"
-at_fn_check_prepare_dynamic "$CONFIG_SHELL $abs_srcdir/testsuite -k libtool$INNER_TESTSUITEFLAGS" "cmdline_wrap.at:47"
+$as_echo "$at_srcdir/cmdline_wrap.at:48: \$CONFIG_SHELL \$abs_srcdir/testsuite -k libtool\$INNER_TESTSUITEFLAGS"
+at_fn_check_prepare_dynamic "$CONFIG_SHELL $abs_srcdir/testsuite -k libtool$INNER_TESTSUITEFLAGS" "cmdline_wrap.at:48"
 ( $at_check_trace; $CONFIG_SHELL $abs_srcdir/testsuite -k libtool$INNER_TESTSUITEFLAGS
 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
 at_status=$? at_failed=false
 $at_check_filter
 echo stderr:; cat "$at_stderr"
 echo stdout:; cat "$at_stdout"
-at_fn_check_status 0 $at_status "$at_srcdir/cmdline_wrap.at:47"
+at_fn_check_status 0 $at_status "$at_srcdir/cmdline_wrap.at:48"
 $at_failed && at_fn_log_failure  \
 "testsuite.log"
 $at_traceon; }
index 393be12..76ed722 100644 (file)
@@ -177,7 +177,8 @@ AT_KEYWORDS([autoconf automake])
 # additional OPTIONS.
 m4_define([LT_AT_CONFIGURE],
 [AT_CHECK([: ${CONFIG_SHELL=/bin/sh}; export CONFIG_SHELL; ]dnl
-         [$CONFIG_SHELL m4_default([$2], [./configure]) $configure_options $1],
+         [$CONFIG_SHELL m4_default([$2], [./configure]) $configure_options ]dnl
+          [--prefix="$prefix" --exec-prefix="$prefix" --bindir="$prefix/bin" --libdir="$prefix/lib" $1],
          [0], [ignore], [ignore])
 ])
 
@@ -228,8 +229,7 @@ m4_define([LT_AT_CHECK],
 # Bootstrap and configure the project, and check each GREP-EXPRESSION
 # works on the resulting libtool script.
 m4_define([LT_AT_CHECK_CONFIG],
-[LT_AT_BOOTSTRAP([], [-I m4], [], [--add-missing], [],
-        [--prefix="$prefixdir" $1], [ignore])
+[LT_AT_BOOTSTRAP([], [-I m4], [], [--add-missing], [], [$1], [ignore])
 m4_if([$#], 0, [],
       [$#], 1, [], [$0_(m4_shift($@))])
 ])
@@ -259,7 +259,7 @@ m4_if([$#], 1, [], [$0(m4_shift($@))])
 m4_define([LT_AT_CHECK_UNINSTALL],
 [LT_AT_MAKE([uninstall])
 
-leftovers=`find $prefixdir ! -type d ! -name '.*' -print`
+leftovers=`find $prefix ! -type d ! -name '.*' -print`
 AT_CHECK([test -z "$leftovers"])
 ])
 
index dac032c..629cb7f 100644 (file)
@@ -24,7 +24,7 @@
 AT_SETUP([versioning])
 AT_KEYWORDS([libtool])
 
-eval "`$LIBTOOL --config | $EGREP '^(objdir|host_os)='`"
+eval "`$LIBTOOL --config | $EGREP '^(objdir|host_os|shared_archive_member_spec)='`"
 
 # Setup some library and program sources:
 # a library (a1), a new revision (a2), a compatible update (a3),
@@ -228,9 +228,15 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o liba.la liba4.lo ]dnl
 AT_CHECK([$LIBTOOL --mode=install cp liba.la $libdir], [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=clean rm -f liba.la], [], [ignore], [ignore])
 
-# This test does not work on AIX, not even with runtimelinking, because
-# the linker always records the unversioned name as dependency.
-AT_CHECK([:; case $host_os in aix*) exit 77;; esac])
+# On AIX, this test only works when the 'aix-soname' feature is enabled and
+# active, which is reflected in shared_archive_member_spec being set and LDFLAGS
+# containing -brtl. Otherwise, even with runtime linking, the linker always
+# records the unversioned name as dependency.
+AT_CHECK([:; case $host_os,$shared_archive_member_spec,$LDFLAGS in
+aix*,,*) exit 77 ;;
+aix*,*,*-brtl*) ;;
+aix*,*) exit 77 ;;
+esac])
 
 test_installed