libtool
[Top][All Lists]
Advanced

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

Re: libltdl and make dist


From: Gary V. Vaughan
Subject: Re: libltdl and make dist
Date: Thu, 21 Apr 2005 13:20:25 +0100
User-agent: Mozilla Thunderbird 0.9 (X11/20041103)

Ralf Wildenhues wrote:
> Your bootstrap has
> 
> | $LIBTOOLIZE --version | head -n 1 && $LIBTOOLIZE --force
> 
> but should have
> 
> | $LIBTOOLIZE --version | head -n 1 && $LIBTOOLIZE --force  --ltdl
> 
> instead, to ensure consistent versions of m4 files.  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])

Cheers,
        Gary.
-- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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