Hi,
I tried building libtool on Mac OS X 10.7.2 with Xcode 4.2.1 llvm-gcc compiler, and got a bunch of errors for the test suites.
Here is the procedure that I followed to build it.
Step 01.00: Install GNU libtool.
Step 01.01: Download libtool 2.4.2
To build from sources using the git repository
$ git clone git://git.savannah.gnu.org/libtool.git
$ cd libtool
$ ./bootstrap
$ ./configure CC='/usr/bin/llvm-gcc-4.2' CPP='/usr/bin/llvm-cpp-4.2' CXX='/usr/bin/llvm-g++-4.2' CXXCPP='/usr/bin/llvm-cpp-4.2' CFLAGS='-arch i386 -arch x86_64' CPPFLAGS='-arch i386 -arch x86_64' CXXFLAGS='-arch i386 -arch x86_64' LDFLAGS='-arch i386 -arch x86_64' --disable-dependency-tracking
$ make -j 6
$ make -j 6 check-local
Support for older m4 interface.
71: AM_PROG_LIBTOOL ok
Support for older libltdl interfaces.
Libtool subdir-objects support.
Libltdl functionality.
76: lt_dlexit unloading libs ok
77: lt_dlopenadvise library loading ok
79: lt_dlopen archive ok
80: lt_dlopenext error messages ok
81: libdir of installed modules ok
82: ltdl API ok
83: dlloader API ok
86: resident modules ok
87: SList functionality ok
Standalone Libltdl.
Subproject Libltdl.
Nonrecursive Automake Libltdl.
Recursive Automake Libltdl.
configure interface to libltdl.
115: convenience libltdl ok
Libtool stress test.
116: Link option thorough search test ok
## ------------- ##
## Test results. ##
## ------------- ##
ERROR: 104 tests were run,
28 failed (4 expected failures).
24 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##
Elvis Dowson