mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-13 15:46:55 +08:00
checkout by generating ltmain.sh, using that to create libtool, and then adding the tags to that, all from config.status. * configure.ac (AC_CONFIG_FILES): Make config/ltmain.sh, and copy it to libltdl. * Makefile.am ($(srcdir)/config/ltmain.sh): This file is now created by config.status. Adjust this rule. (libtoolize): Set CONFIG_COMMANDS to empty to prevent regenerating the libtool script as a side effect of running this rule. * libtool.m4: Bump serial number. Fix comment typos. (_LT_CONFIG_LIBTOOL_INIT, _LT_CONFIG_LIBTOOL, _LT_CONFIG_SAVE_COMMANDS, _LT_CONFIG_COMMANDS: New macros. They don't work for some reason - the variable value quoting in the init section is all wrong. Not used at the moment. (AC_LIBTOOL_CONFIG): Generate libtool from config.status. (_LT_AC_TAG_CONFIG): Add the tags in config.status. (compiler_DEFAULT): Save the compiler value for the DEFAULT tag, or it gets overwritten by the other macros. (EOF): Globally replace with _LT_EOF to avoid namespace pollution. * tests/demo/configure.ac (STATIC): Check $enable_static instead of running ./libtool which doesn't exist yet. (BINARY_HELLDL): Check $lt_cv_sys_global_symbol_pipe with case instead of grepping ./libtool which doesn't exist yet. * tests/pdemo/configure.ac (STATIC, BINARY_HELLDL): Ditto. * doc/libtool.texi (AC_PROG_LIBTOOL): Add some notes about trying to get config details from `libtool --config'. * NEWS: Updated. |
||
---|---|---|
.. | ||
.cvsignore | ||
configure.ac | ||
dlmain.c | ||
foo.c | ||
foo.h | ||
hell1.c | ||
hell2.c | ||
hello.c | ||
main.c | ||
Makefile.am | ||
README |
This is GNU hell, an example package that uses GNU libtool with an Automake-generated environment to build a simple library and program. Admittedly, it would be better if this was a more realistic example, say, a program that actually did something useful, but we can't have everything. Send bug reports and comments about GNU hell to the libtool mailing list <bug-libtool@gnu.org>.