Reid Spencer 2197262119 This file contains macros that allow us to incorporate the ltdl source into
our own library so that it is magically hidden and we don't have to depend
on linking with -lltdl option.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18342 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-29 10:56:45 +00:00
..
2004-10-27 23:03:44 +00:00
2004-10-13 00:19:25 +00:00

Upgrading Libtool
-----------------

If you are in the mood to upgrade libtool, you must do the following:

1. configure/build/install libtool with --prefix=<PFX>
2. Copy <PFX>/share/aclocal/libtool.m4 to llvm/autoconf/m4/libtool.m4
3. Copy <PFX>/share/libtool/ltmain.sh to llvm/autoconf/ltmain.sh
4. Adjust the llvm/autoconf/m4/libtool.m4 file to ensure that the variable
   default_ofile is set to "mklib" instead of "libtool"
5. Possibly adjust llvm/autoconf/m4/libtool.m4 to get rid of autoconf 
   warnings related to obsolete autconf features (e.g. AC_TRY_LINK)