Save Reid's notes from bugzilla on the proper procedure to upgrade libtool
[oota-llvm.git] / autoconf / README.TXT
1 Upgrading Libtool
2 -----------------
3
4 If you are in the mood to upgrade libtool, you must do the following:
5
6 1. configure/build/install libtool with --prefix=<PFX>
7 2. Copy <PFX>/share/aclocal/libtool.m4 to llvm/autoconf/m4/libtool.m4
8 3. Copy <PFX>/share/libtool/ltmain.sh to llvm/autoconf/ltmain.sh
9 4. Adjust the llvm/autoconf/m4/libtool.m4 file to ensure that the variable
10    default_ofile is set to "mklib" instead of "libtool"
11 5. Possibly adjust llvm/autoconf/m4/libtool.m4 to get rid of autoconf 
12    warnings related to obsolete autconf features (e.g. AC_TRY_LINK)