bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool 1.6 should provide support for A[CM]_PROG_LIBTOOL


From: Morten Brix Pedersen
Subject: Re: libtool 1.6 should provide support for A[CM]_PROG_LIBTOOL
Date: Thu, 13 May 2004 02:02:46 +0200
User-agent: Mutt/1.5.6i

Hi Scott,

* Scott James Remnant <address@hidden> [2004-05-13 01:45:55]:
> On Wed, 2004-05-12 at 23:30 +0200, Morten Brix Pedersen wrote:
> 
> > It seems that LC_INIT has replaced A[CM]_PROG_LIBTOOL in libtool 1.6. I
> > suggest that libtool only deprecated these options and still provide
> > backwards compatability support.
> > 
> It does...
> 
> If it's not working, there's a bug somewhere; have you got an example
> configure.ac that fails?

Here's an example configure.ac:

    AC_INIT
    AM_INIT_AUTOMAKE
    AC_CONFIG_HEADERS(config.h)
    AM_PROG_LIBTOOL
    AC_OUTPUT

Here's my autogen.sh:


    #!/bin/sh

    # build it all
    libtoolize --copy --force && \
    aclocal $ACLOCAL_FLAGS && \
    autoheader && \
    automake --include-deps --add-missing --copy && \
    autoconf

    # in case automake generated errors
    autoconf

And here's some test runs:

libtool 1.6:
    mbp:~/test$ libtool --version
    ltmain.sh (GNU libtool 1.1467 2004/04/01 04:43:56) 1.5a
     
    Copyright (C) 2004  Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    mbp:~/test$ ./autogen.sh
    libtoolize: copying file `./config.guess'
    libtoolize: copying file `./config.sub'
    libtoolize: copying file `./ltmain.sh'
    libtoolize: copying file `./ltoptions.m4'
    libtoolize: copying file `./ltsugar.m4'
    libtoolize: copying file `./ltversion.m4'
    libtoolize: copying file `./libtool.m4'
    aclocal: configure.ac: 2: macro `AM_PROG_LIBTOOL' not found in library


libtool 1.5:
    mbp:~/test$ libtool --version
    ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42) Debian: 203 
$
     
    Copyright (C) 2003  Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    mbp:~/test$ ./autogen.sh
    mbp:~/test$



I'm using Debian's libtool from experimental, package version 1.6-0+1.5a-4.

Thanks.

  - Morten.

-- 
http://mbrix.dk/




reply via email to

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