Commit Graph

1307 Commits

Author SHA1 Message Date
Gary V. Vaughan
f2b86e159b * libltdl/ltdl.c (LT_DLSTRLEN): Call strlen only if the argument
is non-NULL and non-zero in length.  Changed all calls to strlen
appropriately.
2001-06-26 01:06:00 +00:00
Gary V. Vaughan
62216889fc * libltdl/ltdl.c: Prototype all static functions. 2001-06-26 00:53:37 +00:00
Gary V. Vaughan
6c7f7fe214 * ltdl.m4: Bump serial number to 3.
(AC_LIB_LTDL): Require AC_HEADER_DIRENT for ltdl.c.
* libltdl/ltdl.h (lt_dlforeachfile): Prototype for new function.
* libltdl/ltdl.c: Include an appropriate header for the
opendir/dirent api.
(foreach_dirinpath): Visit each file in a list of directories.
(find_file_callback): Factor out the core of find_file() to make
use of foreach_dirinpath().
(find_file): Use it!
(find_handle_callback, find_handle): Ditto.
(lt_dlforeachfile):  New function to find files in a searchpath.,,
(foreachfile_callback): ...using this callback.
* doc/libtool.texi (Libltdl interface): Document new
lt_dlforeachfile api call.
2001-06-26 00:50:39 +00:00
Gary V. Vaughan
dedf379123 Merged the last few changes to the multi-language-branch made after the
original mergepoint:

2000-06-04  Mark Mitchell  <mark@codesourcery.com>

        * ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
        with_gcc]: Use `gcc -shared' to build a shared library.

2001-06-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>

        * ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
        archives.

2001-05-28  Simon Patarin <simon.patarin@inria.fr>

        * ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++  shared
        libraries when using g++ with native linker.

2001-05-28  Albert Chin  <china@thewrittenword.com>

        * ltconfig.in (version_type, soname_spec) [aix4* | aix5*]: Use
        linux-style versioning, and remove trailing .o from soname_spec.

2001-05-22  Alexandre Oliva  <aoliva@redhat.com>

        * ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
        [aix4*|aix5*]: Prepend blank.

2001-05-20  Alexandre Oliva  <aoliva@redhat.com>

        * ltconfig.in: Fix sh.test regression introduced in previous patch.

        * ltconfig.in (lt_cv_sys_max_cmd_len): Improve test to work better
        in case of non-built-in echo.  Set bounds correctly.

        * ltcf-cxx.sh (allow_undefined_flag) [aix4* | aix5*]: Fix quote
        error.

        * ltmain.in (exec_cmd): New variable.  Don't exec programs within
        the big `case'; set the variable instead, and exec the cmd
        afterwards, so that the shell gets a chance to clean up here-doc
        files.
        * NEWS: Update.

2001-05-16  Alan Modra  <amodra@one.net.au>

        * libtool.m4 (lt_cv_deplibs_check_method): pass_all for hppa*-linux.

2001-05-03  Andreas Jaeger  <aj@suse.de>, Andreas Schwab  <schwab@suse.de>

        * ltmain.in (relink_command): Arrange for wrapper script to save
        output to a variable and display it only if relinking fails.
2001-06-25 20:42:45 +00:00
Gary V. Vaughan
fa8d520aba * THANKS: Aded Albert Chin-A-Young. 2001-06-25 00:54:25 +00:00
Gary V. Vaughan
b856e5093c * libtool.m4 (IFS): When IFS is changed to split a string for
examination in a loop, restore it inside the loop as well as
outside incase IFS is needed by commands in that loop.
Reported by Pavel Roskin <proski@gnu.org>
2001-06-25 00:51:41 +00:00
Albert Chin-A-Young
7b4a5b764d * libtool.m4: Prefer shl_load to dlopen on HP-UX because dlopen
won't work properly without a patch.
2001-06-25 00:30:52 +00:00
Daniel Harvey
c36bb3bdd9 * libtool.m4 (ltdll_cmds): [$]0 doesn't appear to translate through
the script correctly, change to $''0
2001-06-25 00:09:33 +00:00
Maciej W. Rozycki
40782c7c7d * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
mips-*-linux* and mipsel-*-linux*.
2001-06-25 00:00:27 +00:00
Andreas Schwab
3088fab908 * libtool.m4 (AC_LIBTOOL_SETUP): Remove failed try to
transform linux to linux-gnu in $host.
(AC_LIBTOOL_SYS_DYNAMIC_LINKER): Match $host_os against
linux*, not linux-gnu*.
(AC_DEPLIBS_CHECK_METHOD): Likewise.
2001-06-24 22:32:25 +00:00
Gary V. Vaughan
ec2762657b * libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR): Set
PATH_SEPARATOR appropriately if it is not set already,
(_LT_AC_TAGCONFIG): Use it.
(AC_ENABLE_SHARED): Ditto.
(AC_ENABLE_STATIC): Ditto.
(AC_ENABLE_FAST_INSTALL): Ditto.
(AC_PATH_TOOL_PREFIX): Ditto.
(AC_PATH_MAGIC): Ditto.
(AC_PATH_PROG_NM): Ditto.

From Tim Van Holder  <tim.van.holder@pandora.be>:
* libtool.m4: Use the canonical absolute path test
([\/]* | ?:[\/]) and $PATH_SEPARATOR wherever
appropriate.
(AC_LIBTOOL_PROG_CC_PIC): Properly recognize DJGPP as a
platform that doesn't support shared libraries.
(AC_LIBTOOL_SYS_MAX_CMD_LEN): Avoid this test on DJGPP; use a
fixed value (12K) instead.
(AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Don't forget $ac_exeext
when testing for link success.
2001-06-24 20:13:04 +00:00
Gary V. Vaughan
bdae088956 * configure.in (AM_INIT_AUTOMAKE): Bumped version to 1.4a. 2001-06-24 19:13:42 +00:00
Gary V. Vaughan
9f92691646 Complete the new configure time tags creation facility based on
the ltcf-*.sh and ltconfig.in files from multi-language-branch:
* libtool.m4:  More refactoring and reformatting.
(_LT_AC_LANG_GCJ_CONFIG): Merged ltcf-gcj.sh from
multi-language-branch.
(_LT_AC_LANG_CXX_CONFIG): Merged ltcf-cxx.sh from
multi-language-branch.
* configure.in (AC_PROG_CXX, LT_AC_PROG_GCJ): Compiler checks must
be done before AC_PROG_LIBTOOL which appends tags based on their
results.
2001-06-24 17:55:52 +00:00
Robert Boehne
f960e6e4ac * docs/libtool.texi: Updated the libltdl interface documentation
to bring it up to date.
2001-06-16 17:33:05 +00:00
Gary V. Vaughan
53d16eb7b0 * demo/Makefile.am (objdir): Use `libtool --config' for
extracting configuration values, since a given value may
be present in each tag.
(hc-libpath): Ditto.
(hc-minusL): Ditto.
* libtool.m4 (_LT_AC_TAGCONFIG): Add tagged configurations from
the --with-tags option.
(_LT_AC_LTCONFIG_HACK): Factored out into separate configuration
macros -- The interdependencies and running order are still
immutable, and need a lot of work to fix.
(AC_LIBTOOL_CONFIG): Taken from the previous incarnation of
_LT_AC_LTCONFIG_HACK -- this macro is used both to create the
primary (C language) libtool configuration from
_LT_AC_LTCONFIG_HACK and also to append tagged configurations from
_LT_AC_TAGCONFIG.
* NEWS:  Merged from multi-language-branch.
2001-06-06 22:06:58 +00:00
Robert Boehne
3d35267f09 Changed the date in the last commit, my bad. 2001-06-06 14:58:48 +00:00
Robert Boehne
1c0ec8cf1c * bootstrap: Added tagdemo and pdemo tests from
multi-language-branch.
* configure.in: Added pdemo and tagdemo to CONF_SUBDIRS
and merged references to CXX and GCJ from multi-language-branch.
*pdemo: Added test directory from multi-language-branch.
*tagdemo: Added test directory from multi-language-branch.
*tests/Makefile.am: Merged additional tests from
multi-language-branch.
*tests/pdemo-*.test: ditto.
*tests/tagdemo-*.test: ditto.
2001-06-06 14:53:29 +00:00
Gary V. Vaughan
9760fef7d0 * libtool.m4: Merged ltconfig.in from multi-language-branch. 2001-05-30 19:52:43 +00:00
Gary V. Vaughan
e813ac76c2 * libtool.m4: Reformatting for consistency, and some refactoring
in preparation for ltcf-*.sh merge.
2001-05-28 23:45:17 +00:00
Gary V. Vaughan
3b5c84d654 * ltmain.in: Merged from multi-language-branch.
* libtool.m4: Merged from multi-language-branch.
* ChangeLog: Started afresh.  Old ChangeLog history moved to...
* ChangeLog.1: ...here.
2001-05-27 23:20:45 +00:00
Alexandre Oliva
7ceafe420d * configure.in: Reverted to 1.4, to avoid confusion with MLB.
Mainline is the release snapshot, except for the ChangeLog version
number, until the multi-language branch is merged into it.
2001-05-20 18:34:33 +00:00
Bruce Korb
e8eae17357 file link-txt.tpl was initially added on branch binary-branch. 2001-05-13 16:44:40 +00:00
Bruce Korb
60cf0ae45b file install-txt.tpl was initially added on branch binary-branch. 2001-05-13 16:44:40 +00:00
Bruce Korb
c3a749fae2 file finish-txt.tpl was initially added on branch binary-branch. 2001-05-13 16:44:40 +00:00
Bruce Korb
366da26f7c file execute-txt.tpl was initially added on branch binary-branch. 2001-05-13 16:44:40 +00:00
Bruce Korb
4cbf36fb1d file compile-txt.tpl was initially added on branch binary-branch. 2001-05-13 16:44:40 +00:00
Bruce Korb
d3cd3e0d19 file clean-txt.tpl was initially added on branch binary-branch. 2001-05-13 16:44:40 +00:00
Bruce Korb
a781a31384 file base-txt.tpl was initially added on branch binary-branch. 2001-05-13 16:44:40 +00:00
Bruce Korb
505f815081 file ltmacros.tpl was initially added on branch binary-branch. 2001-05-13 03:59:27 +00:00
Bruce Korb
f979dd839a file ltexe.c was initially added on branch binary-branch. 2001-05-13 01:51:15 +00:00
Bruce Korb
ca6cecc2de file lt_exe.tpl was initially added on branch binary-branch. 2001-05-12 21:01:45 +00:00
Bruce Korb
7c77724e4f file ltstr.tpl was initially added on branch binary-branch. 2001-05-12 16:06:21 +00:00
Bruce Korb
f5156df16b file ltversion.c was initially added on branch binary-branch. 2001-05-12 16:05:11 +00:00
Bruce Korb
125b9eb413 file ltcompile.c was initially added on branch binary-branch. 2001-05-12 15:52:03 +00:00
Bruce Korb
e19f605edf file ltconfig.x was initially added on branch binary-branch. 2001-05-12 15:46:18 +00:00
Bruce Korb
3ef002d0a5 file ltmain.c was initially added on branch binary-branch. 2001-05-12 15:44:22 +00:00
Bruce Korb
72b5ce75d7 file ltopts.def was initially added on branch binary-branch. 2001-05-12 15:22:17 +00:00
Bruce Korb
e9ec0ae22a file ltstr.def was initially added on branch binary-branch. 2001-05-12 14:59:12 +00:00
Bruce Korb
e67c4b0b1f file ltmain.mk was initially added on branch binary-branch. 2001-05-12 14:45:57 +00:00
Bruce Korb
9ce136be0f file lt_base.def was initially added on branch binary-branch. 2001-05-12 14:43:45 +00:00
Bruce Korb
5f0156c5dc file ltmain.tpl was initially added on branch binary-branch. 2001-05-12 14:43:24 +00:00
Bruce Korb
dc0abcb1e9 file lt_clean.def was initially added on branch binary-branch. 2001-05-12 14:26:40 +00:00
Bruce Korb
4627bcd3a1 file lt_execute.def was initially added on branch binary-branch. 2001-05-12 14:20:49 +00:00
Bruce Korb
0dd11aa8e6 file lt_finish.def was initially added on branch binary-branch. 2001-05-12 14:16:35 +00:00
Bruce Korb
aad1bd11cc file lt_install.def was initially added on branch binary-branch. 2001-05-12 14:12:48 +00:00
Bruce Korb
614ed6fcb2 file lt_link.def was initially added on branch binary-branch. 2001-05-12 14:09:32 +00:00
Bruce Korb
4b6d75c60c file lt_compile.def was initially added on branch binary-branch. 2001-05-12 14:04:45 +00:00
Bruce Korb
62700fb3ed file README was initially added on branch binary-branch. 2001-05-12 13:37:18 +00:00
Gary V. Vaughan
67db3944ea * configure.in: bumped version to 1.4a. 2001-04-25 01:01:23 +00:00
Gary V. Vaughan
c54d9834ab GNU libtool 1.4 was released.
* configure.in: Bumped version to 1.4.
* config.sub, config.guess:  Synchronised from ftp.gnu.org.
* NEWS: updated.
2001-04-25 00:05:38 +00:00