libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libltdl and make dist


From: Ralf Wildenhues
Subject: Re: libltdl and make dist
Date: Thu, 21 Apr 2005 15:09:30 +0200
User-agent: Mutt/1.4.1i

* Gary V. Vaughan wrote on Thu, Apr 21, 2005 at 02:20:25PM CEST:
> Ralf Wildenhues wrote:
> > 
> > Actually, if you
> > don't need to support older Autoconf versions, it should use
> > `autoreconf' instead of calling the autotools individually.
> > If you want only one instance of the libtool.m4 macros and can allow use
> > of latest autotools only, you should create a m4 directory, add
> >  ACLOCAL_AMFLAGS = -I m4
> > to toplevel Makefile.am, put all .m4 files there 
> > (autoreconf calls the autotools with the right options then)
> > [and for a future libtoolize version
> >  AC_CONFIG_MACRO_DIR([m4])
> > to toplevel configure.ac].
> 
> Actually, you can do even better than that when using libltdl.  To avoid
> duplication of configaux files and m4 macros between libltdl and your parent
> project then in $top_srcdir/Makefile.am:
> 
> ACLOCAL_AMFLAGS = -I libltdl/m4
> 
> in $top_srcdir/configure.ac:
> 
> AC_CONFIG_AUX_DIR([libltdl/config])
> AC_CONFIG_MACRO_DIR([libltdl/m4])

Sure.  But then you need to modify libltdl/Makefile.am and
libltdl/configure.ac as well.  This interferes with
  libtoolize --ltdl
overwriting these changes.

Note the bug reporter uses 1.5.x of Libtool.

Regards,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]