[Y-devel] Update

Peter Prohaska pitrp at wg78.de
Fri Mar 26 19:36:27 GMT 2004


On Fri, Mar 26, 2004 at 03:24:11PM +0100, Nicolas Piganeau wrote:
> > Then type :
> >   aclocal
> >   autoconf
> >   automake --add-missing --copy
> >   ./configure
> >   make

Just a naote...
libtoolize could be needed.

> 
> I have :
> 
> autoconf 2.59
> automake 1.8.3
> libtool 1.6
> 
> When I run autoconf after aclocal this is what I get :
> 
> configure.ac:34: error: possibly undefined macro: AC_PROG_LIBTOOL
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure.ac:68: error: possibly undefined macro: AC_MSG_ERROR

My two cent...

Probably the easieast quick fix would be replacing AC_PROG_LIBTOOL with
LT_INIT, run `autogen.sh' and hope it went well.

Alternative... use an older libtool (1.5 should be sufficiently old).

What ia wrong...
libtool macro `AC_PROG_LIBTOOL' was replaced with `LT_INIT' in 1.6.
If you want to fix the problem by upgrading the configure.ac, you
should be aware that the libtool option macros like ...DLOPEN etc.
are now options you can pass to LT_INIT() like LT_INIT([dlopen]).
Note also that you need to have the new macro files in you aclocal path.
Especially 'ltoptions.m4' comes to mind.

Read the libtool info docs for more. The are good and up to date.

Happy fixink,
  peter.




More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved