Commit Graph

108 Commits

Author SHA1 Message Date
Gary V. Vaughan
98cf23f00b * Makefile.am (EXTRA_DIST): Don't forget to distribute
ChangeLog.1.
2001-07-23 21:06:02 +00:00
Gary V. Vaughan
cb2c3d2ed8 Libtool now builds with the help of Autoconf-2.50!
* configure.ac (AC_PREREQ):  Require Autoconf-2.50 or newer.
(AC_PROG_CPP, AC_EXEEXT, AC_OBJEXT):  Removed.  Autoconf-2.50
doesn't have the AC_REQUIRE bug that required these to be called
explicitly from here.  Autoconf-2.50 uses this file instead of...
* configure.in: ...this, which is now deleted.
* cdemo/configure.ac, cdemo/configure.in: Ditto.
* demo/configure.ac, demo/configure.in: Ditto.
* depdemo/configure.ac, depdemo/configure.in: Ditto.
* libltdl/configure.ac, libltdl/configure.in: Ditto.
* mdemo/configure.ac, mdemo/configure.in: Ditto.
* pdemo/configure.ac, pdemo/configure.in: Ditto.
* libltdl/acconfig.h:  Deleted.
* Makefile.am (libtool): libtool now depends on configure.ac.
* libtool.m4 (_LT_AC_LOCK):  Use 2.50's AC_LANG_PUSH/AC_LANG_POP
instead of 2.13's AC_LANG_SAVE/AC_LANG_RESTORE.
(AC_LIBTOOL_LANG_C_CONFIG): Ditto.
(AC_LIBTOOL_LANG_CXX_CONFIG): Ditto.
* libtoolize.in:  Use $configure_ac, instead of hardcoding
configure.in.
2001-06-28 22:02:06 +00:00
Gary V. Vaughan
b030600990 * doc/PLATFORMS: Updated.
* demo/configure.in:  Revert to the `libtool --features' test.
* Makefile.am (libtool):  This needs to rerun configure now that
libtool is generated entirely by AC_PROG_LIBTOOL again.
(ltconfig): Removed.
(ltmain.sh):  Is now regenerated when ltmain.in changes.
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Now does all of the work for
generating libtool immediately in configure.in, rather than
deferring part of the creation until config.status runs.
2000-09-21 00:10:41 +00:00
Gary V. Vaughan
e50bee4743 * bootstrap: Backed out yesterdays patch which is no longer
necessary.
* Makefile.am (libtool): Reworked rule for regeneration of libtool,
now that it is built entirely withing config.status.
(libtoolize): Tidied for orthogonality with the other generation
rules.
(ltconfig):  This is now generated by AC_PROG_LIBTOOL, called from
make by running config.status --recheck.
(ltmain.sh): Moved primary generation of this file into here...
* configure.in (AC_OUTPUT): ...instead of here.
* libtool.m4 (AC_OUTPUT_COMMANDS):  Write the config to ltconfig
where it can be reused, rather than directly to libtool.
* demo/configure.in:  libtool is no longer present immediately
after AC_LIBTOOL_M4 has completed, so the tests now grep through
ltconfig instead -- which *will* be present.
2000-09-17 00:44:49 +00:00
Gary V. Vaughan
d6e6eab7ac * Makefile.am (EXTRA_DIST): The bootstrap script should be
distributed with libtool.
2000-09-14 20:51:43 +00:00
Gary V. Vaughan
4cd778d127 * Makefile.am (ltmain.sh): Make this depend on TSDEPS again
so that the Changelog timestamp is used for ltmain.sh at `make
dist' time.
2000-09-07 00:34:07 +00:00
Gary V. Vaughan
e927e43114 libtool.m4 now contains a version of the code that used to run
from ltconfig, so that ltmain.sh and then libtool are
generated at configure time.

* Makefile.am:  Don't generate ltmain.sh or ltconfig anymore.
* bootstrap: ltconfig is no more!
* configure.in: Call AC_PROG_LIBTOOL directly.
(AC_OUTPUT): Generate tmain.sh.
* libtool.m4: Don't build an argument list for ltconfig.
(_LT_AC_LTCONFIG_HACK):  Refactoring of the former contents of
ltconfig.in to take advantage of the m4 macros from autoconf.
* ltmain.in: Don't do a version check against ltconfig.
* tests/assign.test: Remove reference to ltconfig.
* tests/hardcode.test: ditto.
* tests/sh.test: ditto.
2000-09-06 17:31:09 +00:00
Alexandre Oliva
467ffde098 * Makefile.am (libtool, clibtool): Pass CONFIG_SHELL along with
ECHO down to ltconfig.
2000-09-04 07:30:48 +00:00
Gary V. Vaughan
0e072fa33e Move the echo detection code to a macro in libtool.m4. The code
at the top ofltconfig.in is ugly, but will go away when the rest
of ltconfig is migrated.

* Makefile.am (libtool):  Pass the value of $ECHO to ltconfig as
an environment variable.
* libtool.m4 (_LT_AC_PROG_ECHO_BACKSLASH): Quote the ECHO value
correctly so that it inserts the correct code into configure.in
suitably quoted for M4 expansion.  This code needs to be near
the top of configure.in as it calls itself recursively, so I
am using AC_DIVERSION_NOTICE (or simply NOTICE on CVS
Autoconf).  The value of ECHO is also substitued into the
Makefile to be used when Make calls ltconfig to generate
libtool, so another layer of quotation is required for the
Makefile.
(AC_LIBTOOL_SETUP):  Use it.
* ltconfig.in: Accept a value for ECHO from the environment, and
carefully substitue for $0 if it is present in the ECHO value.
Because ECHO was quoted for Make, when ltconfig is called by
configure, it is overquoted, and one layer of quotes must be
stripped.
2000-08-31 17:23:44 +00:00
Gary V. Vaughan
43befcdf5a * configure.in: Due to a bug in autoconf-2.13 implementation of
AC_SUBST, `AC_SUBST(FILE)' can never work.  Use MAGIC as the
holder of the command to run in file_magic_cmd instead.
* ltconfig.in: s/FILE/MAGIC/g.
* libtool.m4 (AC_PROG_LIBTOOL): set MAGIC in the environment when
calling ltconfig.
(AC_PATH_MAGIC):  renamed from AC_PATH_FILE.
(AC_PATH_TOOL_PREFIX):  s/FILE/MAGIC/g.  Also set file_magic_cmd
to '${MAGIC}' so that make can grok it.
* Makefile.am (libtool):
(clibtool): ditto.
2000-02-22 23:35:52 +00:00
Alexandre Oliva
a7a4a73302 * ltdl.m4: Renamed from...
* libltdl/ltdl.m4: that no longer exists.
* configure.in (ACINCLUDE_M4_LIST): Removed libltdl/acinclude.m4.
* Makefile.am (aclocal_macros): Added ltdl.m4.
(libltdl/acinclude.m4): Concatenate libtool.m4 and ltdl.m4.
* bootstrap: Likewise.
* libltdl/Makefile.am (ACLOCAL): Remove the definition.  Relying
upon -I may lead to duplicates.
* doc/libtool.texi: Suggest appending ltdl.m4 to acinclude.m4.
* libtoolize.in: Check AC_LIB_LTDL version number in aclocal.m4.
1999-12-16 11:40:16 +00:00
Alexandre Oliva
527fc71c03 * configure.in: Move ltconfig and ltmain.sh generation back...
* Makefile.am: here.
1999-11-04 15:46:07 +00:00
Thomas Tanner
974da4c714 * 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*)
1999-11-02 12:33:05 +00:00
Gary V. Vaughan
536476a058 * configure.in (AC_OUTPUT_COMMANDS): generate ltmain.sh
* Makefile.am (ltmain.sh ltconfig): removed.  Automake inserts the
rules to automatically call config.status.
1999-10-01 23:12:15 +00:00
Gary V. Vaughan
52a93a8718 * 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.
1999-10-01 16:07:39 +00:00
Thomas Tanner
1b2ea275d2 * NEWS: updated
* TODO: -Wc, -Wl, implemented
* AUTHORS: changed my email address
* doc/libtool.texi: fix "wierd" typo :)
* ltmain.in: linking against convenience libraries was broken,
  implemented the "-Wc," "-Wl," "-Xcompiler" "-Xlinker" flag for
  compiler and linker-specific flags,
  add -lc before we do the deplibs check
* ltconfig.in: linkopts -> compiler_flags for $CC and linker_flags
  for $LD, link_all_deplibs=yes on IRIX


* NEWS: insert todays date alongside 1.3.1 release.
* Makefile.in: use gnu not gnits rules
* config.guess: synch with gnu common & apply Takabatake-san's
MIPS *000 patch.
* config.sub: synch with gnu common.
1999-05-22 18:04:32 +00:00
Pavel Roskin
9a931b5e53 * Makefile.am (EXTRA_DIST): Don't distribute instutils.
(install-data-hook): use libltdl/Makefile.am's local-install files
rule.
* libltdl/Makefile.am (local-install-files):  New rule to install
libltdl without creating links or mode 777 directories.
* instutil/*: deleted.
1999-05-22 12:50:00 +00:00
Alexandre Oliva
5da077c29b * instutil/chmod: New script to avoid chmod'ing files while
installing libltdl's sources.
* instutil/ln: New script to avoid hard-linking libltdl's sources
in the install tree.
* Makefile.am (EXTRA_DIST): Dist them.
(instal-data-hook): Add srcdir/instutil to the beginning of the
PATH before installing libltdl's sources.
1999-05-14 06:50:32 +00:00
Gary V. Vaughan
8781ebc814 * Makefile.am (install-data-hook): make sure the install directory
is not left world writable.
Reported by Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1999-05-06 14:42:18 +00:00
Alexandre Oliva
18678cddb5 * libtool.m4 (OBJDUMP): Pass it to ltconfig.
* configure.in: AC_SUBST DLLTOOL, OBJDUMP and AS.
* Makefile.am (libtool, clibtool): Pass them to ltconfig.
* doc/libtool.texi (Invoking ltconfig): Document OBJDUMP.
1999-04-25 19:05:55 +00:00
Pavel Roskin
7a1fa534af tabify 1999-04-25 09:08:09 +00:00
Pavel Roskin
3e995631de * Makefile.am (uninstall-local): Remove installed libltdl tree. 1999-04-25 09:07:02 +00:00
Alexandre Oliva
4ddeed6d75 * Makefile.am (CVS): allow command-line overriding of cvs 1999-04-05 21:21:49 +00:00
Alexandre Oliva
d05274cd86 * libtool.m4 (LDFLAGS, LIBS): pass them to ltconfig, for the tests
that involve linking
* Makefile.am (LDFLAGS, LIBS, libtool, clibtool): ditto
* tests/Makefile.am (CFLAGS, CPPFLAGS, LDFLAGS, LIBS): set
(LDFLAGS, LIBS, TESTS_ENVIRONMENT): pass them down
1999-04-02 06:22:10 +00:00
Thomas Tanner
96dc12316e * NEWS: updated
* README: updated (BeOS support, no longer shared libraries
  support for AmigaOS), cleanups, we have now two mailing lists
* REAMDE-alpha: autogen -> bootstrap, we have now two mailing lists
* THANKS: added Xavier Pianet
* doc/PLATFORMS: BeOS works
* doc/libtool.texi: we have now to two mailing lists,
  updated -dlopen self documentation, documented libltdl's license,
  put each author in a separate line,
  inter-library dependencies on uninstalled libtool libraries are
  now supported, cleanups and minor corrections
* libltdl/COPYING.LIB: new file
* libltdl/ltdl.[ch]: added special exception to the LGPL license
* libtool.spec: removed, it was outdated
* Makefile.am: removed libtool.spec
* ltmain.in: use TMPDIR when possible, create a subdirectory
  in the temporary directory, added -export-symbols-regex to the help,
1999-03-27 16:58:10 +00:00
Thomas Tanner
e65f46d3fc * use the same header in all configure.in's and Makefile.am's
* NEWS: improved support for BeOS and Cygwin
* TODO: ILD branch was merged, all internal variables and macros
  are now documented
* demo/Makefile.am: use $(LIBS) instead of -lm
* doc/libtool.texi: documented new variable hardcode_into_libs
  and thread_safe_flag_spec, renamed all AM_ENABLE/DISABLE_* macros
  to AC_*, documented AC_DISABLE_FAST_INSTALL and AC_LIBTOOL_DLOPEN
* libltdl/ltdl.c: added two new error messages (cannot_open_error,
  cannot_close_error), use them where approriate,
  BeOS support (thanks to Xavier Pianet), on BeOS search modules
  additionally in ADDON_PATH
* libtool.m4: rewrote AC_CHECK_LIBM: BeOS and Cygwin don't have
  libm and *-ncr-sysv4.3* requires libmw
* ltconfig.in: don't check for LoadLibrary, hardcode dlopen
  configuration for BeOS and Cygwin
* ltmain.in: fix sourcing of .la files on Solaris
  (patch by Raja R Harinath)
1999-03-20 00:27:33 +00:00
Alexandre Oliva
37d2685834 * Makefile.am (EXTRA_DIST): add mkstamp
Reported by Xavier Pianet <xavier@xingo.com>
1999-03-16 22:17:46 +00:00
Alexandre Oliva
2443e3b73b * Makefile.am (EXTRA_DIST): add ChangeLog.0 1999-03-16 21:04:50 +00:00
Alexandre Oliva
19718ecd62 * Makefile.am (all-recursive): depend on ACINCLUDE_M4_LIST
(all-local, check-local): remove, unused
1999-03-14 05:41:21 +00:00
Thomas Tanner
a840ce0b07 * NEWS: ordered by importance
* Makefile.am: set LIBTOOL_FLAGS when generating libtool
* configure.in: check for dlopen support and set LIBTOOL_FLAGS
  accordingly
1999-03-10 17:23:28 +00:00
Alexandre Oliva
305bdedf2a * Makefile.am (install-data-hook): install libltdl as a directory,
not as a tar-file, so that we do not modify the build tree at make
install time
* libtoolize.in (ltdl, ltdl_tar): update
1999-03-09 22:57:26 +00:00
Alexandre Oliva
96e28112be * configure.in, Makefile.am, NEWS: install libltdl by default 1999-03-09 22:13:49 +00:00
Alexandre Oliva
9b2ff91e8e * Makefile.am (ltconfig, ltmain.sh): some broken makes don't like
macros in targets; replace $(srcdir) with @srcdir@
* configure.in (ACINCLUDE_M4_LIST): same problem; expand $srcdir
1999-01-27 06:23:47 +00:00
Alexandre Oliva
ec63fb9c6b * configure.in (pkgdatadir): define pkgdatadir explicitly, and
* Makefile.am (aclocaldir): do not set it explicitly, automake
does already
1999-01-27 03:04:34 +00:00
Gary V. Vaughan
0b8d821a54 * Makefile.am (install-data-hook): Don't show the if expression
that tests for gzip with a conditional error message; just do it
quietly and show the error if it fails, or the next action if it
succeeds.
1999-01-26 15:22:52 +00:00
Alexandre Oliva
6d87da784d * mkstamp: move the sed script to extract revision and date
information into a separate shell-script, so that we can break
lines between commands; FreeBSD's sed doesn't like `;' after `t'
Reported by Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
* Makefile.am: use mkstamp
* THANKS: added Axel Thimm
1999-01-25 06:57:48 +00:00
Alexandre Oliva
92ee62a8dc * Makefile.am (ltconfig, ltmain.sh): add ChangeLog Revision to
TIMESTAMP
* configure.in: get values of PACKAGE and VERSION set by
AM_INIT_AUTOMAKE, and extract only TIMESTAMP from the ChangeLog
1999-01-22 18:04:51 +00:00
Alexandre Oliva
b5f7c8b282 * Makefile.am (ltconfig, ltmain.sh, TIMESTAMP): let's not assume
anything about the format of the date, just that it does not
contain `$'
1999-01-22 15:19:51 +00:00
Gary V. Vaughan
675c928466 * Makefile.am ($(srcdir)/ltconfig): Oops. cvs co keyword
expansion ate the sed expression! Changed sed separator to '%'
because there are '/' in the date.  Added missing '(' to search
expression.  Inserted a null string to stop cvs from expanding it
next time =)O|
($(srcdir)/ltmain.sh): ditto.
1999-01-22 13:27:51 +00:00
Alexandre Oliva
3b6142f95e * Makefile.am (TSDEPS_DIST): dist-time dependencies for timestamps
(timestamps, update-timestamps): check whether TSDEPS_DIST are
up-to-date and update ltconfig and ltmain.sh if needed
(ltconfig, ltmain.sh): depend on TSDEPS; replace @TIMESTAMP@ with
the Date tag in the ChangeLog
(TSDEPS): empty unless overridden by update-timestamps
* ltconfig.in, ltmain.in (TIMESTAMP): append timestamp to most
references to VERSION
1999-01-22 12:21:05 +00:00
Alexandre Oliva
96f5eb0883 * Makefile.am (@DIST_MAKEFILE_LIST@): work around Ultrix /bin/sh bug
* tests/nomode.test (must specify a MODE): ditto
Reported by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* THANKS: Added Rainer Orth
1999-01-20 22:12:51 +00:00
Alexandre Oliva
8d2800fa9a * Makefile.am (check-local): depend on libltdl/Makefile 1999-01-19 23:50:26 +00:00
Alexandre Oliva
5bab79af94 * Makefile.am (check-local): depend on libltdl/Makefile 1999-01-19 23:48:08 +00:00
Alexandre Oliva
086c174e8f * Makefile.am (libltdl.tar.gz): don't create it as part of the
build, since it is likely to become stale if we do
	(install-data-hook): create and install libltdl.tar.gz, without
	depending on GNU tar
	Reported by Manfred Weichel <Manfred.Weichel@pdb.siemens.de>
1999-01-18 13:16:55 +00:00
Thomas Tanner
6b7c38b36c *** empty log message *** 1999-01-17 11:19:40 +00:00
Thomas Tanner
1b42249d43 *** empty log message *** 1999-01-15 09:21:04 +00:00
Alexandre Oliva
22d81a591e * Makefile.am: Moved ltconfig and ltmain.sh back into srcdir, and
add them to the distribution.  Added work-around if `mv -f' fails.
	fix @AINCLUDE_M4_LIST@ and @DIST_MAKEFILE_LIST@ for relative and
	absolute specifications of srcdir
1999-01-14 19:08:18 +00:00
Thomas Tanner
1f37f97bf1 *** empty log message *** 1999-01-14 15:07:12 +00:00
Alexandre Oliva
3f2c102add * Makefile.am (@DIST_MAKEFILE_LIST@): `$' must be doubled 1999-01-13 16:08:28 +00:00
Alexandre Oliva
c31f2100f3 * configure.in (AC_CONFIG_DIRS): configure only libltdl, and then,
only if --enable-ltdl-install
	(CONF_SUBDIRS): list directories that are configured on demand,
	but that must be included in the distribution
	(ACINCLUDE_M4_LIST, DIST_MAKEFILE_LIST): generated from CONF_SUBDIRS
	* Makefile.am (AUTOMAKE_OPTIONS): added version 1.3e and
	readme-alpha, to handle README-alpha automatically
	(EXTRA_DIST): removed README-alpha
	(BUILD_SUBDIRS): subdirectories that are always built
	(SUBDIRS): BUILD_SUBDIRS plus BUILD_LTDL
	(DIST_SUBDIRS): BUILD_SUBDIRS plus CONF_SUBDIRS, from configure
	(all-local, check-local): depend on $(ACINCLUDE_M4_LIST), from
	configure, and libtool, so that it is built before subdirs
	(configure-subdirs): new target
	(configure-subdirs, distdir): depend on $(DIST_MAKEFILE_LIST),
	from configure
	(@DIST_MAKEFILE_LIST@): create subdir if needed, then run
	configure.
	On-demand configuration of subdirs at distribution time was
	suggested by Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
1999-01-13 10:41:07 +00:00