]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
25 years ago* libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE):
Alexandre Oliva [Sun, 14 May 2000 08:07:23 +0000 (08:07 +0000)] 
* libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE):
Pick LIBLTLD from top_builddir and INCLTDL from top_srcdir.
* mdemo/configure.in: Remove comments on
AC_LIBLTLD_CONVENIENCE.

25 years ago* configure.in: Look for C++ compiler.
Alexandre Oliva [Sun, 14 May 2000 07:55:53 +0000 (07:55 +0000)] 
* configure.in: Look for C++ compiler.
* Makefile.am (libtool): Configure CXX tag.
* tests/Makefile.am: Test tagdemo only if CXX found.

25 years ago* libtool.m4 (_AC_PROG_LIBTOOL): Renamed from...
Alexandre Oliva [Sun, 14 May 2000 07:54:41 +0000 (07:54 +0000)] 
* libtool.m4 (_AC_PROG_LIBTOOL): Renamed from...
(AC_PROG_LIBTOOL): Just AC_REQUIRE(_AC_PROG_LIBTOOL), to avoid
effects of multiple runs.
(_AC_PROG_LIBTOOL): Use AC_BEFORE to warn if called before
AC_LIBTOOL_CXX.

25 years ago* tagdemo/Makefile.am (lib_LTLIBRARIES): Moved libbaz.la from
Alexandre Oliva [Sun, 14 May 2000 07:53:09 +0000 (07:53 +0000)] 
* tagdemo/Makefile.am (lib_LTLIBRARIES): Moved libbaz.la from
noinst_LTLIBRARIES.

25 years ago* configure.in: Bump version number to 1.4a, since this will
Alexandre Oliva [Sun, 14 May 2000 07:51:28 +0000 (07:51 +0000)] 
* configure.in: Bump version number to 1.4a, since this will
eventually become libtool 1.5.

25 years agoForgot to remove acinclude.m4; added .cvsignore
Ossama Othman [Wed, 29 Mar 2000 06:50:53 +0000 (06:50 +0000)] 
Forgot to remove acinclude.m4; added .cvsignore

25 years agoShould not be in the CVS tree
Ossama Othman [Wed, 29 Mar 2000 06:37:46 +0000 (06:37 +0000)] 
Should not be in the CVS tree

25 years ago* ltmain.in (libobjs, reload_conv_objs): When searching for object
Ossama Othman [Mon, 28 Feb 2000 17:51:35 +0000 (17:51 +0000)] 
* ltmain.in (libobjs, reload_conv_objs): When searching for object
files, search for "*.$objext," not "*.o."
(compile_command, finalize_command, progfiles): No need to
transform `.lo' objects into standard `.o' objects.  `.lo' files
are converted to the appropriate `.o' file earlier in the link
mode code.
* doc/libtool.texi (AC_LIBTOOL_CXX): Documented this
macro, and the `tagdemo' test that utilizes it.  Updated C++ and
tagged configuration documentation.

25 years ago* libtool.m4, ltconfig.in: Merged in changes from most recent HEAD
Ossama Othman [Sat, 26 Feb 2000 00:04:12 +0000 (00:04 +0000)] 
* libtool.m4, ltconfig.in: Merged in changes from most recent HEAD
branch version.
* ltmain.in: Merged in changes from most recent HEAD branch
version (ILD updates), and fixed parallel build error.
* tagdemo/acinclude.m4, tagdemo/aclocal.m4, tagdemo/configure:
regenerated these files against updated libtool.m4.

25 years ago* libtool.m4 (AC_LIBTOOL_CXX): Added missing "$lt_target" command
Ossama Othman [Wed, 23 Feb 2000 02:45:07 +0000 (02:45 +0000)] 
* libtool.m4 (AC_LIBTOOL_CXX): Added missing "$lt_target" command

25 years ago* libtool.m4 (AC_PROG_LIBTOOL): Added missing "$lt_target" command
Ossama Othman [Wed, 23 Feb 2000 02:44:31 +0000 (02:44 +0000)] 
* libtool.m4 (AC_PROG_LIBTOOL): Added missing "$lt_target" command
line argument in call to `ltconfig'.  This fixes a problem that
was occuring when a host type was specified by the user.  Also
added missing "$reload_flag" environment.

25 years ago* libtoolize.in (files): Add C++ support if configure.in uses
Ossama Othman [Thu, 17 Feb 2000 18:01:32 +0000 (18:01 +0000)] 
* libtoolize.in (files): Add C++ support if configure.in uses
AC_LIBTOOL_CXX, i.e. add `ltcf-cxx.sh' to list of files to be
copied during libtoolization.
* ltdl.m4: Added this file to the multi-language branch.

25 years ago* ltcf-cxx.sh (predeps, postdeps, predep_objects,
Ossama Othman [Tue, 8 Feb 2000 18:47:30 +0000 (18:47 +0000)] 
* ltcf-cxx.sh (predeps, postdeps, predep_objects,
postdep_objects): Split {pre,post}deps into a variable that hold
library dependencies and another that holds objects needed during
shared library generation.  This was needed so that the objects
needed for shared library generation do not get analyzed by the
ILD mechanism.  The objects are only used during the initial
creation of the shared library, not during subsequent links to
that library.
(archive_cmds, archive_expsym_cmds): Added $predep_objects before
all objects and libraries, and $postdep_objects after them.  This
is necessary when linking C++ shared libraries.
(output_verbose_link_cmds): Added shared library generation
compiler flag.  The objects and libraries the compiler links when
creating shared libraries may be different than those used when
linking programs, particulary for object files.
* ltconfig.in (predep_objects, postdep_objects): Include these
variables in the generated libtool script.
* ltmain.in: Quote regular expression used for automatic tagged
configuration selection.  Also improved the regular expression
used for matching.
Updated clean mode to work properly with the new `.lo' files.
(libs): Only add $predeps and $postdeps to the list of dependency
libraries when linking a library.
* tagdemo/Makefile.am (noinst_LTLIBRARIES): Added another test
library that depends on the existing test library.  It was added
to exercise the ILD mechanism when using tagged configurations.
(tagdemo_LDADD): The tagdemo program now depends on the new test
library.  Since the new test library depends on the previous one,
the previous library should be linked to the program as well.
* Makefile.in: Regenerated from updated Makefile.am.
* tagdemo/baz.cpp, tagdemo/baz.h: Added these sources.  They are
new test library sources.
* tagdemo/main.cpp (main): Added call to method in new test
library.

25 years ago* ltmain.in: The "-R*" case in the loop that iterates through
Ossama Othman [Sun, 6 Feb 2000 03:54:56 +0000 (03:54 +0000)] 
* ltmain.in: The "-R*" case in the loop that iterates through
library dependencies doesn't handle the case of the "lib" link
mode.  As such, the next iteration should immediately follow.  The
"continue" inside the "if" block has been moved outside that
block.  Previously, the "-R*" case would just "fall through" when
in "lib" link mode, but $lib="" which caused a "library not found"
error later on.
Reported by Stephan Kulow <coolo@kde.org>

25 years ago* bootstrap: Merged updates from HEAD branch.
Ossama Othman [Sun, 6 Feb 2000 00:29:57 +0000 (00:29 +0000)] 
* bootstrap: Merged updates from HEAD branch.
(sub): Added tagdemo to list of subdirectories to be
bootstrapped.
* ltcf-cxx.sh (AR): Removed redefinition of $AR to C++ compiler on
Solaris for the Sun C++ and Green Hills C++ compilers.  `ar' must
be used to extract object files from the archives, despite the
fact that the archive must be created by the compiler.
Reported by Stephan Kulow <coolo@kde.org>
(predeps, postdeps): Remove any space between "-{L,R}" and the
path.  Some compilers, such as HP aCC add space between them.
* ltconfig.in (dlopen, dlopen_support): Merged updates from HEAD
branch.
* ltmain.in: Merged updates from HEAD branch.
(libext): Do not reset $libext to `al' when creating convenience
libraries.  Some compilers have problems with such a non-standard
extension.
Reported by Stephan Kulow <coolo@kde.org>
* doc/libtool.texi: Merged updates from HEAD branch.
* libltdl/Makefile.am, libltdl/configure.in, libltdl/ltdl.c,
libltdl/ltdl.h: Merged updates from HEAD branch.

25 years ago* ltconfig.in (available_tags): The name of each newly added
Ossama Othman [Fri, 4 Feb 2000 03:53:36 +0000 (03:53 +0000)] 
* ltconfig.in (available_tags): The name of each newly added
tagged configuration is appended to this list.  This is done at
ltconfig time so that the generated `libtool' script need not
determine which tags it supports everytime it is used.  The
available_tags variable is used by `ltmain.in' to iterate over
each of the tagged configurations when attempting to automatically
choose which one to use for the supplied compile/link command.
* ltmain.in: Added ability to automatically determine which tagged
configuration to use based on the compiler found in the supplied
base compile command.
(available_tags): This new variable contains a list of available
tagged configurations.  This gets generated at ltconfig time.
(object_name, old_object): Renamed these to pic_object and
non_pic_object, respectively.
* doc/libtool.texi (Configuration tags): Updated documentation.
Libtool now has the ability to infer which tagged configuration to
use based on the compiler found in the supplied base compile
command.
* tagdemo/configure.in, tagdemo/configure: Removed explicit
substitution of "--tag=CXX" in $LIBTOOL.  The newly added
automatic selection of tagged configurations obviates the need to
explicitly specify which tag to use.

25 years ago* ltcf-cxx.sh: Added some untested HPUX aCC support.
Ossama Othman [Tue, 1 Feb 2000 23:14:36 +0000 (23:14 +0000)] 
* ltcf-cxx.sh: Added some untested HPUX aCC support.
* ltmain.in: Inadvertently removed some of the tags patch.
* tagdemo/Makefile.am, tagdemo/Makefile.in, tagdemo/README,
tagdemo/acinclude.m4, tagdemo/aclocal.m4, tagdemo/configure,
tagdemo/configure.in, tagdemo/foo.cpp, tagdemo/foo.h,
tagdemo/main.cpp: *sigh* I checked this directory into the HEAD
branch instead of the multi-language-branch.
Reported by Stephan Kulow <coolo@kde.org>

25 years ago* configure.in (CONF_SUBDIRS): Added the `tagdemo' directory to
Ossama Othman [Tue, 1 Feb 2000 05:42:00 +0000 (05:42 +0000)] 
* configure.in (CONF_SUBDIRS): Added the `tagdemo' directory to
the list.
* ltcf-cxx.sh: Remove any residual `a.out' files resulting from
the "eval $output_verbose_link_cmds."
* ltconfig.in: Cleaned up nested quotes that were introduced with
the tags patch.  This fixes part sh.test failure.
* ltmain.in: Check if "$run" is of zero length before creating a
`.lo' file.  This fixes the dryrun.test failure.
Cleaned up nested quotes that were introduced with
the tags patch.  This fixes another part sh.test failure.
Remove "$libobj" not "libobj."
Exit with an error if both $object_name and $old_object are set to
"none" in the corresponding `.lo' file.  This should never happen.
Changed remaining uses of "mkdir" to "$mkdir."
Added dry run case to `.lo' case in link mode.  This fixes the
link-2.test failure.
(object_name, old_object): Prepend the subdirectory the `.lo'
resides in to the object names extracted from the `.lo' file.
This fixes the build-relink2.test failure.
(tempemovelist): Use $echo "X..." instead of echo "..." since
$Xsed is being used.  This fixes the last part of the sh.test
failure.
* tagdemo/Makefile.am, tagdemo/Makefile.in, tagdemo/README,
tagdemo/acinclude.m4, tagdemo/aclocal.m4, tagdemo/configure,
tagdemo/configure.in, tagdemo/foo.cpp, tagdemo/foo.h,
tagdemo/main.cpp, tests/tagdemo-conf.test tests/tagdemo-exec.test
tests/tagdemo-make.test tests/tagdemo-shared.test
tests/tagdemo-static.test: Added a new tagdemo that exercises
libtool's tagged configuration support found in the multilanguage
branch.
* tests/Makefile.am (TESTS): Added the tagdemo tests to the list.
* tests/quote.test: Updated to HEAD branch version.  This fixes
the quote.test failure.

25 years ago* ltconfig.in (compile_c_lo): Removed the test that checks if
Ossama Othman [Mon, 31 Jan 2000 19:23:44 +0000 (19:23 +0000)] 
* ltconfig.in (compile_c_lo): Removed the test that checks if
compiler support "-c -o file.lo" since the changes made to
ltmain.in remove the need to do this.
* ltmain.in:  Changed compile mode to generate `.lo' libtool
objects, instead of generating PIC objects that end in `.lo'.
These are analogous to libtool archive `.la' files.  They contain
the name of the PIC and non-PIC objects.  All PIC objects will now
be placed in `$objdir' (usually `.libs').  No changes to existing
Makefiles should be necessary.  Libtool should work the same as it
did prior to this change.  This change was necessary to correct a
problem with Sun C++'s template repository mechanism since it
couldn't handle repository objects ending in `.lo'.  This change
causes some tests to fail, so it still needs some work.  The tests
that fail are: dryrun.test, build-relink2.test, link-2.test.  The
quote.test and sh.test tests also fail but they failed after the
initial multi-language changes were made.

25 years ago* libtool.m4, ltconfig.in, ltmain.in: Merged updates found in
Ossama Othman [Tue, 25 Jan 2000 21:04:24 +0000 (21:04 +0000)] 
* libtool.m4, ltconfig.in, ltmain.in:  Merged updates found in
HEAD branch.

25 years ago* ltcf-c.sh: Merged updates related to PIC flags and link
Ossama Othman [Tue, 25 Jan 2000 21:04:03 +0000 (21:04 +0000)] 
* ltcf-c.sh: Merged updates related to PIC flags and link
characteristics from HEAD branch ltconfig.in.

25 years ago* libtool.m4, ltconfig.in, ltmain.in: Merged updates found in
Ossama Othman [Tue, 25 Jan 2000 21:02:04 +0000 (21:02 +0000)] 
* libtool.m4, ltconfig.in, ltmain.in:  Merged updates found in
HEAD branch.

* ltcf-c.sh: Merged updates related to PIC flags and link
characteristics from HEAD branch ltconfig.in.

25 years ago* ltcf-c.sh: split off the osf3 section, so that the osf4 and osf5
Ossama Othman [Sun, 23 Jan 2000 03:10:33 +0000 (03:10 +0000)] 
* ltcf-c.sh: split off the osf3 section, so that the osf4 and osf5
sections can add `-msym' to arguments passed to the linker for
shared libs.
Reported by Tim Mooney  <mooney@dogbert.cc.ndsu.NoDak.edu>

25 years ago* ltconfig.in (ac_cv_prog_cc_pic_works,
Ossama Othman [Sun, 23 Jan 2000 03:10:06 +0000 (03:10 +0000)] 
* ltconfig.in (ac_cv_prog_cc_pic_works,
ac_cv_prog_cc_static_works): Make sure variable is not an empty
string, even if it is set.

25 years ago* ltcf-cxx.sh: Added support for the DEC/Compaq C++ compiler on
Ossama Othman [Sun, 23 Jan 2000 03:09:27 +0000 (03:09 +0000)] 
* ltcf-cxx.sh: Added support for the DEC/Compaq C++ compiler on
Linux and osf[3,4,5].

25 years ago* libtool.m4 (AC_LIBTOOL_CXX): Added LDFLAGS to list of variables to
Ossama Othman [Sun, 23 Jan 2000 03:08:59 +0000 (03:08 +0000)] 
* libtool.m4 (AC_LIBTOOL_CXX): Added LDFLAGS to list of variables to
pass to ltconfig when creating C++ compiler tag.

25 years ago* libtool.m4 (AC_LIBTOOL_CXX): Added LDFLAGS to list of variables to
Ossama Othman [Sun, 23 Jan 2000 03:07:22 +0000 (03:07 +0000)] 
* libtool.m4 (AC_LIBTOOL_CXX): Added LDFLAGS to list of variables to
pass to ltconfig when creating C++ compiler tag.

* ltcf-cxx.sh: Added support for the DEC/Compaq C++ compiler on
Linux and osf[3,4,5].

(whole_archive_flag_spec): Corrected commands that check if GNU
linker supports "--whole-archive" flag.  GNU C++'s
"-print-prog-name" flag is used to determine what the linker is
instead of using the 'LD' variable.

(ac_cv_prog_cc_wl): Corrected value for Sun C++.  Previously it
was set to '-Wl,' when it should have been '-Qoption ld '.

* ltconfig.in (ac_cv_prog_cc_pic_works,
ac_cv_prog_cc_static_works): Make sure variable is not an empty
string, even if it is set.

25 years agoCorrected ChangeLog style to match the one used by the HEAD libtool branch.
Ossama Othman [Sun, 23 Jan 2000 02:39:31 +0000 (02:39 +0000)] 
Corrected ChangeLog style to match the one used by the HEAD libtool branch.

26 years agoMoved CVS to subversions.gnu.org
Ossama Othman [Wed, 8 Dec 1999 10:53:19 +0000 (10:53 +0000)] 
Moved CVS to subversions.gnu.org

26 years agoTemporarily reset the test language to C just before calling
Ossama Othman [Mon, 6 Dec 1999 01:50:10 +0000 (01:50 +0000)] 
Temporarily reset the test language to C just before calling
AC_OBJEXT and AC_EXEEXT and then restore the previous one when
done, instead of doing an AC_BEFORE(...AC_LANG_CPLUSPLUS...).  A
warning would always occur anyway because AC_PROG_CXX calls
AC_LANG_CPLUSPLUS.

26 years ago*** empty log message ***
Ossama Othman [Mon, 6 Dec 1999 01:49:43 +0000 (01:49 +0000)] 
*** empty log message ***

26 years agoThe tagged configuration was being cached and overwriting the C
Ossama Othman [Sun, 5 Dec 1999 22:42:10 +0000 (22:42 +0000)] 
The tagged configuration was being cached and overwriting the C
compiler cached configuration.  For now, the tagged configuration
will not be cached.

26 years agoMake sure AC_LIBTOOL_SETUP is called before any macros that set
Ossama Othman [Sun, 5 Dec 1999 22:41:28 +0000 (22:41 +0000)] 
Make sure AC_LIBTOOL_SETUP is called before any macros that set
the autoconf test language (e.g. AC_LANG_CPLUSPLUS).  Autoconf's
AC_EXEEXT macro only works for C compilers.  AC_EXEEXT gets
confused and thinks that an extension such as the C++ source file
extenstion ".C" is an executable file extension, which screws up
the libtool configuration.

Pass the same autoconf variables used in the main ltconfig run to
the ltconfig configuration tag run (with the exception of a few).
This probably isn't necessary but I think it is a good idea to do
so.

26 years agoMore C++ support updates.
Ossama Othman [Sun, 5 Dec 1999 22:40:45 +0000 (22:40 +0000)] 
More C++ support updates.

26 years agoMade "appending to libtool" message more descriptive
Ossama Othman [Sun, 5 Dec 1999 01:24:25 +0000 (01:24 +0000)] 
Made "appending to libtool" message more descriptive

26 years ago*** empty log message ***
Ossama Othman [Sun, 5 Dec 1999 01:24:07 +0000 (01:24 +0000)] 
*** empty log message ***

26 years agoMake sure $ac_cv_prog_cc_pic_works and $ac_cv_prog_cc_static_works
Ossama Othman [Sun, 5 Dec 1999 00:35:57 +0000 (00:35 +0000)] 
Make sure $ac_cv_prog_cc_pic_works and $ac_cv_prog_cc_static_works
are unset since their C compiler cached values will override their
C++ compiler specific values.  Note that it was not enough to
reset their values.  They had to be unset.

26 years agoMade invocation of ltconfig in AC_LIBTOOL_CXX macro more like the
Ossama Othman [Sun, 5 Dec 1999 00:34:58 +0000 (00:34 +0000)] 
Made invocation of ltconfig in AC_LIBTOOL_CXX macro more like the
one in AC_PROG_LIBTOOL.  This adds some ILD related flags to the
invocation, in addition to providing the $libtool_flags to
ltconfig that was previously in AC_PROG_LIBTOOL (via
AC_LIBTOOL_SETUP).  This fixes an ILD related bug with the C++
support, and also fixes a problem where both the static and shared
libraries were being built even if one of them was explicitly
disabled.

26 years agoMore C++ support updates. Looking good!
Ossama Othman [Sun, 5 Dec 1999 00:34:19 +0000 (00:34 +0000)] 
More C++ support updates.  Looking good!

26 years agoCosmetic update: added a empty line at the end.
Ossama Othman [Sat, 4 Dec 1999 21:09:41 +0000 (21:09 +0000)] 
Cosmetic update: added a empty line at the end.

26 years agoCorrected tag name variable in "END LIBTOOL TAG CONFIG: $tagname"
Ossama Othman [Sat, 4 Dec 1999 21:08:51 +0000 (21:08 +0000)] 
Corrected tag name variable in "END LIBTOOL TAG CONFIG: $tagname"
text.

26 years agoDisable shared library support for currently unconfigured
Ossama Othman [Sat, 4 Dec 1999 21:08:32 +0000 (21:08 +0000)] 
Disable shared library support for currently unconfigured
platforms.

Updated IRIX, Linux and Solaris link characteristics.  They now
match more with their C compiler counterparts.

26 years agoAdded ltcf-c.sh to list of files related to "libtoolization."
Ossama Othman [Sat, 4 Dec 1999 21:07:54 +0000 (21:07 +0000)] 
Added ltcf-c.sh to list of files related to "libtoolization."
Until we decide if other compiler/language libtool configuation
scripts should also be included in the file list, leave out
ltcf-cxx.sh for now.

26 years agoChange name of macro that enables C++ support in libtool from
Ossama Othman [Sat, 4 Dec 1999 21:06:46 +0000 (21:06 +0000)] 
Change name of macro that enables C++ support in libtool from
"AC_LIBTOOL_CPP" to "AC_LIBTOOL_CXX."  "CPP" is typically
associated with preprocessors, whereas CXX is associated with C++
compilers.

Moved LTCC before CC in call to ltconfig to make sure LTCC is not
set to the compiler pointed to by CC after CC has been reset to
another compiler.

Call ltconfig with ${CONFIG_SHELL-/bin/sh} just like we do in
AC_PROG_LIBTOOL.

Save value of $CC and $CFLAGS before resetting them for use with
configuration tags.

26 years agoAdded ltcf-c.sh, ltcf-cxx.sh and ChangeLog.1 to list of files to
Ossama Othman [Sat, 4 Dec 1999 21:06:08 +0000 (21:06 +0000)] 
Added ltcf-c.sh, ltcf-cxx.sh and ChangeLog.1 to list of files to
include in the distribution.

Added ltcf-sh.sh and ltcf-cxx.sh to the list of data files.

26 years agoMoved "LTCC" in "--add-tag" example before "CC" because users may
Ossama Othman [Sat, 4 Dec 1999 21:04:41 +0000 (21:04 +0000)] 
Moved "LTCC" in "--add-tag" example before "CC" because users may
inadvertently do something like the following:

  CC=$CXX LTCC=$CC ./ltconfig --add-tag=...

Doing the above would set LTCC to the C++ compiler ($CXX), which
is incorrect since LTCC should be the C compiler.  Also added
documentation explaining this potential problem.

26 years ago*** empty log message ***
Ossama Othman [Sat, 4 Dec 1999 21:02:41 +0000 (21:02 +0000)] 
*** empty log message ***

26 years agospelling correction
Ossama Othman [Sat, 4 Dec 1999 03:00:51 +0000 (03:00 +0000)] 
spelling correction

26 years agoThe beginnings of multi-compiler/language support in libtool.
Ossama Othman [Sat, 4 Dec 1999 02:58:49 +0000 (02:58 +0000)] 
The beginnings of multi-compiler/language support in libtool.

26 years agoMoved the contents of the ChangeLog of the head branch to this file so
Alexandre Oliva [Sat, 4 Dec 1999 02:57:27 +0000 (02:57 +0000)] 
Moved the contents of the ChangeLog of the head branch to this file so
that the ChangeLog for the multi-language branch is "clean."  I may
merge the two change logs before the multi-language branch is merged
into the main trunk.

I did *not* change the ChangeLog on the main trunk!

26 years agoAdded this file. It contains C++ compiler related configuration
Alexandre Oliva [Sat, 4 Dec 1999 02:55:16 +0000 (02:55 +0000)] 
Added this file.  It contains C++ compiler related configuration
code (e.g. C++ compiler as linker, etc).  It is meant to be used
when creating configuration tags using the newly added "--add-tag"
ltconfig option.  See the libtool documentation for more details.
Eventually, the contents of this file will be moved to
`libtool.m4'.

This script also includes support for extracting the objects and
libraries the compiler would use when linking a C++ binary.  This
support should allow static constructors and the like to work
properly.

26 years agoAdded this file. It contains all of the C compiler related
Alexandre Oliva [Sat, 4 Dec 1999 02:54:45 +0000 (02:54 +0000)] 
Added this file.  It contains all of the C compiler related
configuration code that was previously in ltconfig.in.  This
script is meant to be source by the ltconfig script alone.  It is
not meant for use by the user.  Eventually, the contents of this
file will be moved to `libtool.m4'.

26 years agoChange that is part of Alexandre's configuration tags patch but isn't
Alexandre Oliva [Sat, 4 Dec 1999 02:54:05 +0000 (02:54 +0000)] 
Change that is part of Alexandre's configuration tags patch but isn't
related to multi-language support.

The change just makes sure the that a shell variable is set.

26 years agoThe beginnings of multi-compiler/language support in libtool.
Alexandre Oliva [Sat, 4 Dec 1999 02:48:03 +0000 (02:48 +0000)] 
The beginnings of multi-compiler/language support in libtool.

Integrated Alexandre's configuration tags patch, part of Thomas'
patch and part of my patch.

These patches make it possible for libtool to support
compilers besides C compilers.  This also includes support for
linkers besides `ld', and similarly for other tools commonly used
for development.  See the libtool documentation for more details.

Moved all C compiler related configuration code to `ltcf-c.sh',
described below.

Multi-compiler/language still isn't complete but testing is now
possible.

26 years agoThe beginnings of multi-compiler/language support in libtool.
Alexandre Oliva [Sat, 4 Dec 1999 02:46:42 +0000 (02:46 +0000)] 
The beginnings of multi-compiler/language support in libtool.

Integrated Alexandre's configuration tags patch.

26 years ago* ltconfig.in (ac_compile): Use $ac_ext instead of .c. multi-language-fork
Alexandre Oliva [Fri, 3 Dec 1999 03:21:29 +0000 (03:21 +0000)] 
* ltconfig.in (ac_compile): Use $ac_ext instead of .c.
(ac_link): Likewise.
(dlfcn.h, ac_try): Do not add filename, it is already in
ac_compile.
Reported by Stephane Conversy <Stephane.Conversy@lri.fr>

26 years ago* ltconfig.in (linux-gnu*): Disable hardcode_into_libs until it
Alexandre Oliva [Fri, 3 Dec 1999 03:10:22 +0000 (03:10 +0000)] 
* ltconfig.in (linux-gnu*): Disable hardcode_into_libs until it
works together with fast_install.

26 years ago* libtool.m4: Use host when --target is not specified.
Alexandre Oliva [Fri, 3 Dec 1999 02:57:29 +0000 (02:57 +0000)] 
* libtool.m4: Use host when --target is not specified.

26 years ago* configure.in: AC_SUBST variables that are used by ltconfig to
Alexandre Oliva [Fri, 3 Dec 1999 02:27:33 +0000 (02:27 +0000)] 
* configure.in: AC_SUBST variables that are used by ltconfig to
build libtool.

26 years ago* ltconfig.in (irix6*): Do not override deplibs_check_method
Alexandre Oliva [Fri, 3 Dec 1999 02:10:41 +0000 (02:10 +0000)] 
* ltconfig.in (irix6*): Do not override deplibs_check_method
here.

26 years ago* libtool.m4: Do not AC_SUBST anything other than LIBTOOL.
Alexandre Oliva [Fri, 3 Dec 1999 02:09:19 +0000 (02:09 +0000)] 
* libtool.m4: Do not AC_SUBST anything other than LIBTOOL.

26 years ago* ltconfig.in (linux-gnu*): Set hardcode_into_libs=yes.
Michael Forster [Fri, 3 Dec 1999 02:02:23 +0000 (02:02 +0000)] 
* ltconfig.in (linux-gnu*): Set hardcode_into_libs=yes.

26 years ago* ltconfig.in: Be friendlier to C++ compilers when testing
Gary V. Vaughan [Mon, 29 Nov 1999 21:32:12 +0000 (21:32 +0000)] 
* ltconfig.in:  Be friendlier to C++ compilers when testing
for dlopen support.
Reported by Stephan Kulow <coolo@itm.mu-luebeck.de>

26 years ago* libtool.m4: better use of $target instead of $host to support
Gary V. Vaughan [Fri, 26 Nov 1999 00:34:17 +0000 (00:34 +0000)] 
* libtool.m4:  better use of $target instead of $host to support
cross compilation.
Reported by Sam Latinga <slouken@devolution.com>

26 years ago* configure.in: generate ltconfig and ltmain.sh before configuring
Thomas Tanner [Tue, 16 Nov 1999 15:20:50 +0000 (15:20 +0000)] 
* configure.in: generate ltconfig and ltmain.sh before configuring
  libltdl

26 years ago* tests/sh.test: New test to detect uses of quotes within
Alexandre Oliva [Thu, 4 Nov 1999 16:15:50 +0000 (16:15 +0000)] 
* tests/sh.test: New test to detect uses of quotes within
backticks within quotes.
* ltconfig.in, ltmain.in: Fix detected errors.  Mark false
positives with a comment that disables the detector.
Reported by Akim Demaille <akim@epita.fr>

26 years ago* configure.in: Move ltconfig and ltmain.sh generation back...
Alexandre Oliva [Thu, 4 Nov 1999 15:46:07 +0000 (15:46 +0000)] 
* configure.in: Move ltconfig and ltmain.sh generation back...
* Makefile.am: here.

26 years ago* NEWS: updated
Thomas Tanner [Tue, 2 Nov 1999 12:33:05 +0000 (12:33 +0000)] 
* NEWS: updated
* THANKS: added Olly Betts and Pavel Roskin
* doc/libtool.texi: fix typo

* fix major bugs which rendered libtool virtually
  unusable (i.e. not portable):
* ltconfig.in: don't hardcode system dependent variables in ltconfig!!
  but set sane defaults
* Makefile.am: pass variables from AC_LIBTOOL_SETUP to ltconfig
* libtool.m4: ditto, fix typo in AC_PROG_LD_RELOAD_FLAG

* ltconfig.in: use old_deplibs for archives, too
  remove second occurence of sysv5
* ltmain.in: fix typo, fix the second occurence of -DPIC, too

* libltdl/Makefile.am: increment version number, fix typo
* libltdl/ltdl.c (lt_dlsym): don't report an error if the
  libltdl-style symbol name wasn't found

* ltconfig.in: add support for Unixware (sysv4.2uw2*)

26 years ago* ltmain.in: Damnit! Cygwin cvs committed all the
Gary V. Vaughan [Sat, 30 Oct 1999 10:39:28 +0000 (10:39 +0000)] 
* ltmain.in:  Damnit!  Cygwin cvs committed all the
dos line endings.

26 years ago* ltmain.in (-DPIC): changed the order of pic flags a little to
Stephane Conversy [Thu, 28 Oct 1999 21:07:29 +0000 (21:07 +0000)] 
* ltmain.in (-DPIC):  changed the order of pic flags a little to
prevent upsetting the sgi c++ compiler.

26 years ago* ltconfig.in (opt_cr): Handle crlf sequences output by the
Olly Betts [Thu, 28 Oct 1999 20:28:11 +0000 (20:28 +0000)] 
* ltconfig.in (opt_cr):  Handle crlf sequences output by the
mingw toolchain.

26 years ago* libtool.m4: Third time lucky, with Tor's patch.
Olly Betts [Thu, 28 Oct 1999 20:18:15 +0000 (20:18 +0000)] 
* libtool.m4:  Third time lucky, with Tor's patch.

26 years ago* libtool.m4: these was a missing `*' in the -mno-cygwin
Tor Lillqvist [Wed, 20 Oct 1999 18:30:08 +0000 (18:30 +0000)] 
* libtool.m4:  these was a missing `*' in the -mno-cygwin
match.
* ltconfig.in (cygwin, ltdll_obj): fixed a quoting error.
(export_symbols_cmds): added missing cosmetic newline.

26 years ago* libtool.m4: test command used == which should be =.
Tor Lillqvist [Mon, 18 Oct 1999 20:03:57 +0000 (20:03 +0000)] 
* libtool.m4: test command used == which should be =.
Support -mno-cygwin flag for building mingw32 dlls.
* ltconfig.in (file_magic_cmd): add missing quotes.
(deplibs_check_method): and here.

26 years ago* libltdl/ltdl.c (lt_dlopen): Do not search paths when the
Alexandre Oliva [Sat, 16 Oct 1999 07:05:39 +0000 (07:05 +0000)] 
* libltdl/ltdl.c (lt_dlopen): Do not search paths when the
specified library is not just a basename.

26 years ago* libtool.m4 (AC_PATH_FILE): new macro replaces
Gary V. Vaughan [Sun, 10 Oct 1999 00:47:55 +0000 (00:47 +0000)] 
* libtool.m4 (AC_PATH_FILE): new macro replaces
AC_PATH_TOOL_GREP_OUTPUT.
(AC_PATH_TOOL_PREFIX): new macro replaces
AC_PATH_PROG_GREP_OUTPUT.
(AC_LD_RELOAD_FLAG):  migrated from ltconfig.in.
(AC_DEPLIBS_CHECK_METHOD): ditto.
* ltconfig.in (reload_flag): moved to libtool.m4.
(deplbs_check_method): ditto.

26 years ago* libtool.m4 (AC_PATH_PROG_VERSION_GREP): removed in favour of the
Gary V. Vaughan [Thu, 7 Oct 1999 15:40:07 +0000 (15:40 +0000)] 
* libtool.m4 (AC_PATH_PROG_VERSION_GREP): removed in favour of the
more general AC_PATH_PROG_GREP_OUTPUT.
(AC_PATH_TOOL_VERSION_GREP): removed in favour of the more general
AC_PATH_TOOL_GREP_OUTPUT.
(AC_PROG_LIBTOOL):  Search for a working find program in the
user's PATH using the new macros.

26 years ago* NEWS: updtaed.
Gary V. Vaughan [Wed, 6 Oct 1999 22:13:17 +0000 (22:13 +0000)] 
* NEWS: updtaed.

26 years ago* ltmain.in (-no-install): This doesn't work on win32 since
Gary V. Vaughan [Mon, 4 Oct 1999 14:44:15 +0000 (14:44 +0000)] 
* ltmain.in (-no-install):  This doesn't work on win32 since
the search path for libraries is not encoded in the binary,
and dlls not in $PATH won't be found.  Fall back to -no-fast-install
instead.

26 years ago* ltmain.in (-no-fast-install): Wrapper script used to add the
Gary V. Vaughan [Mon, 4 Oct 1999 14:26:11 +0000 (14:26 +0000)] 
* ltmain.in (-no-fast-install):  Wrapper script used to add the
exeext on again when naming the wrapped executable.

26 years ago* ltconfig.in: Set $FILE to @FILE@ for substitution with
Gary V. Vaughan [Sun, 3 Oct 1999 20:41:21 +0000 (20:41 +0000)] 
* ltconfig.in:  Set $FILE to @FILE@ for substitution with
the value found in libtool.m4 at configure time.
* libtool.m4 (AC_PATH_TOOL_GREP_VERSION):  New macro, combines
AC_PATH_PROG and AC_CHECK_TOOL with a test which greps the
output of $ac_dir/${ac_prefix}<tool> --version for a
given regex.
(AC_PATH_PROG_GREP_VERSION):  New macro used by the above.
(AC_LIBTOOL_SETUP): Use the new macros to search the PATH
[starting at /usr/bin] for a file program which accepts
--version and has "file" in its --version output.

26 years ago* NEWS: new -no-install flag
Thomas Tanner [Sun, 3 Oct 1999 16:36:32 +0000 (16:36 +0000)] 
* NEWS: new -no-install flag
* configure.in: fix typo
* doc/libtool.texi(Link mode): document -no-install flag,
  correct -no-fast-install docs
* libtool.m4: check for "file" command
* ltconfig.in: don't hardcode /usr/bin/file, remove second
  definition of sysv5, replace linkopts -> linker_flags
* ltmain.in: add new -no-install flag, print help for -no-install
  and -no-fast-install flags

* ltmain.in: always create output_objdir

* libltdl/Makefile.am: don't preserve file attributes when
  installing the libltdl sources

26 years ago* configure.in (AC_OUTPUT_COMMANDS): generate ltmain.sh
Gary V. Vaughan [Fri, 1 Oct 1999 23:12:15 +0000 (23:12 +0000)] 
* configure.in (AC_OUTPUT_COMMANDS): generate ltmain.sh
* Makefile.am (ltmain.sh ltconfig): removed.  Automake inserts the
rules to automatically call config.status.

26 years ago* libtool.m4: be sure to AC_SUBST values no longer tested in
Gary V. Vaughan [Fri, 1 Oct 1999 16:07:39 +0000 (16:07 +0000)] 
* libtool.m4: be sure to AC_SUBST values no longer tested in
ltconfig.in.
* ltconfig.in: replaced several of the simple feature tests with
substitutions from config.status.
* Makefile.am (ltconfig): generate ltconfig with config.status.
* configure.in (AC_OUTPUT): generate ltconfig with config.status.

26 years ago* ltconfig.in (sco3.2v5): use pass_all deplibs_check_method
Donald Anderson [Thu, 30 Sep 1999 00:26:51 +0000 (00:26 +0000)] 
* ltconfig.in (sco3.2v5): use pass_all deplibs_check_method
for SCO3.2.

26 years ago* ltconfig.in (whole-archive-flag-spec): I had been
Gary V. Vaughan [Wed, 29 Sep 1999 23:15:35 +0000 (23:15 +0000)] 
* ltconfig.in (whole-archive-flag-spec):  I had been
wondering why my file system was filling up with empty
files named `71'... seems I forgot to hold in the
shift key when redirecting stderr, 2>&1.  Doh!

26 years ago* ltconfig.in (sysv): More UW7 support.
Vadim [Wed, 29 Sep 1999 23:08:26 +0000 (23:08 +0000)] 
* ltconfig.in (sysv):  More UW7 support.

26 years ago* ltmain.in (shlibpath_var): ensure the variable is non-empty before
Albert Cheng [Tue, 28 Sep 1999 08:30:34 +0000 (08:30 +0000)] 
* ltmain.in (shlibpath_var): ensure the variable is non-empty before
exporting it.

26 years ago* ltconfig.in (sysv5): Added support required for shared
Manfred Weichel [Mon, 27 Sep 1999 20:22:28 +0000 (20:22 +0000)] 
* ltconfig.in (sysv5): Added support required for shared
library linking on SCO UW7.

26 years ago* ltconfig.in (whole-archive-flag-spec): test whether the
Gary V. Vaughan [Wed, 22 Sep 1999 00:14:08 +0000 (00:14 +0000)] 
* ltconfig.in (whole-archive-flag-spec): test whether the
version of GNU ld being used understands --whole-archive
before using it.

26 years ago* ltmain.in: don't ignore convenience libraries for objects/archives
Thomas Tanner [Sun, 19 Sep 1999 21:02:26 +0000 (21:02 +0000)] 
* ltmain.in: don't ignore convenience libraries for objects/archives
  (temporary hack)

26 years ago* ltconfig.in (CDPATH): Set to `:' instead of empty.
Alexandre Oliva [Tue, 14 Sep 1999 23:30:47 +0000 (23:30 +0000)] 
* ltconfig.in (CDPATH): Set to `:' instead of empty.
* ltmain.in (CDPATH): Likewise.
Reported by Greg McGary <gkm@eng.ascend.com>

26 years ago* ltconfig.in (ltdll.c, impgen.c): Prevent the shell from
Gary V. Vaughan [Tue, 24 Aug 1999 15:50:48 +0000 (15:50 +0000)] 
* ltconfig.in (ltdll.c, impgen.c): Prevent the shell from
expanding variables & backslash escapes when writing these
files to the libtool script.

26 years ago* NEWS: mention fixes
Thomas Tanner [Tue, 24 Aug 1999 11:05:14 +0000 (11:05 +0000)] 
* NEWS: mention fixes
* doc/PLATFORMS: GNU/Hurd update
* depdemo: make use of variables
* ltconfig.in: use CC -E when checking for ELF support
  on NetBSD (reported by Todd Vierling <tv@pobox.com>),
  replace all occurences of 'linkopts' with 'linker_flags'
* ltmain.in: move ltdll.c and impgen.c to ltconfig.in and
  only add them to the libtool script if it's necessary

* ltconfig.in: add support for UnixWare 7.X.X
* doc/PLATFORMS: add new platforms

* doc/libtool.texi: document use of noinst_LTLIBRARIES for
  convenience libraries

* ltconfig.in: check for freebsdelf3, not just freebsd3.
Set hardcode_into_libs=yes for FreeBSD 3.0 and 3.1

* ltmain.in: enable workaround for freebsdelf3.0

* ltconfig.in: export_dynamic_flag_spec is -rdynamic on BSD/OS

26 years ago* libltdl/COPYING.LIB: Update to version 2.1.
Alexandre Oliva [Sat, 7 Aug 1999 07:40:18 +0000 (07:40 +0000)] 
* libltdl/COPYING.LIB: Update to version 2.1.
* libltdl/ltdl.h, libltdl/ltdl.c: Update FSF address.

26 years ago* libtool.m4 (mingw*, AC_PROG_LD): use tr for carriage return
Gary V. Vaughan [Tue, 3 Aug 1999 11:44:17 +0000 (11:44 +0000)] 
* libtool.m4 (mingw*, AC_PROG_LD): use tr for carriage return
stripping.
* ltconfig.in: ditto.
From Olly Betts <olly@muscat.co.uk>

26 years ago* doc/libtool.texi (Compile mode): typo correction.
Olly Betts [Mon, 2 Aug 1999 22:40:36 +0000 (22:40 +0000)] 
* doc/libtool.texi (Compile mode): typo correction.
(Link mode): and another.
(Release numbers):  and another.
(Distributing libltdl): and another.
(Test descriptions): and another.
(libtool script contents): and one more.

26 years ago* libtool.m4 (AC_PROG_LD): strip carriage returns from the
Olly Betts [Mon, 2 Aug 1999 22:24:34 +0000 (22:24 +0000)] 
* libtool.m4 (AC_PROG_LD): strip carriage returns from the
output of gcc -print-prog-name=ld.
* ltconfig.in: ditto.

26 years agoAdded pending patches file to mail subdir
Pavel Roskin [Thu, 29 Jul 1999 23:40:57 +0000 (23:40 +0000)] 
Added pending patches file to mail subdir

26 years ago* ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else
Pavel Roskin [Thu, 29 Jul 1999 23:28:06 +0000 (23:28 +0000)] 
* ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else
initialised structures are sometimes emitted in the code section.