libtool/mdemo
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
..
.cvsignore
configure.ac Libtool now builds with the help of Autoconf-2.50! 2001-06-28 22:02:06 +00:00
foo1.c * ltmain.in: remove duplicates from deplibs, handle 2000-02-23 23:10:05 +00:00
foo2.c * ltmain.in: remove duplicates from deplibs, handle 2000-02-23 23:10:05 +00:00
foo.h * ltmain.in: remove duplicates from deplibs, handle 2000-02-23 23:10:05 +00:00
main.c * update all copyright notices to 2000 2000-01-13 00:28:09 +00:00
Makefile.am * ltconfig.in: Removed all references to what used to be 2000-09-05 11:03:06 +00:00
README * mdemo/README: Explain the deliberate incompleteness of the 2000-01-14 13:50:21 +00:00
sub.c * ltmain.in: remove duplicates from deplibs, handle 2000-02-23 23:10:05 +00:00

This is mdemo, an example package that uses GNU libtool with an
Automake-generated environment to build two simple modules and 
a program.

It demonstrates how to build both dynamic and static libraries
that can be dlopened. mdemo uses libtool's portable dlopen
wrapper called "libltdl". 
All exported symbols are prefixed with "libname_LTX_" to avoid
symbols conflicts, especially when linking statically.
libltdl will automatically cut the prefix off to get the real name.

Note that on Windows, for the purposes of illustrating ltdl, the
libraries *are* built as dll's, but do not have the __declspec
machinery to make them suitable for loading at link time.  This is
only for clarity inside this example, look at the example in ../demo
to see how the __declspec macros should be set up.