From b3a734a5342a49688f3cc3345c26dd6b4e866b7e Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Wed, 13 Oct 2004 01:07:55 +0000 Subject: [PATCH] Save Reid's notes from bugzilla on the proper procedure to upgrade libtool git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16947 91177308-0d34-0410-b5e6-96231b3b80d8 --- autoconf/README.TXT | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 autoconf/README.TXT diff --git a/autoconf/README.TXT b/autoconf/README.TXT new file mode 100644 index 00000000000..59724a441b9 --- /dev/null +++ b/autoconf/README.TXT @@ -0,0 +1,12 @@ +Upgrading Libtool +----------------- + +If you are in the mood to upgrade libtool, you must do the following: + +1. configure/build/install libtool with --prefix= +2. Copy /share/aclocal/libtool.m4 to llvm/autoconf/m4/libtool.m4 +3. Copy /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) -- 2.34.1