This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libtool - how to find/make it ?
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Subject: Re: libtool - how to find/make it ?
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 29 Sep 2001 11:41:39 -0300
- Cc: gcc at gcc dot gnu dot org, Jürgen Pfeifer <juergen dot pfeifer at gmx dot net>
- Organization: GCC Team, Red Hat
- References: <3BB5C4D0.FD6DD621@moene.indiv.nluug.nl>
On Sep 29, 2001, Toon Moene <toon@moene.indiv.nluug.nl> wrote:
> Is there a libtool doctor in audience who can explain to me what to do
> if I want to use libtool when just building C and Fortran ?
AM_PROG_LIBTOOL should be enough to get the libtool script created in
the build tree of the package.
You may want to add the following bit of magic to a newly-created
libf2c/aclocal.m4 to avoid having to copy libtool.m4 to
libf2c/aclocal.m4:
sinclude(../libtool.m4)
dnl The lines below arrange for aclocal not to bring an installed
dnl libtool.m4 into aclocal.m4, while still arranging for automake to
dnl add a definition of LIBTOOL to Makefile.in.
ifelse(,,,[AC_SUBST(LIBTOOL)
AC_DEFUN([AM_PROG_LIBTOOL])
])
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me