[Top][All Lists]

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

Re: Adding ACLOCAL_AMFLAGS to Makefile.am break autoreconf

From: Mike Frysinger
Subject: Re: Adding ACLOCAL_AMFLAGS to Makefile.am break autoreconf
Date: Wed, 28 Jan 2009 16:45:55 -0500
User-agent: KMail/1.10.4 (Linux/2.6.28; KDE/4.1.4; x86_64; ; )

On Wednesday 28 January 2009 16:15:45 Gonsolo wrote:
> No m4 directory, no AC_CONFIG_MACRO_DIR([m4]) in configure.ac, no
> ACLOCAL_AMFLAGS in Makefile.am, running autoreconf:
> Everything works, except libtool suggests:
> libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
> libtoolize: rerunning libtoolize, to keep the correct libtool macros
> in-tree.
> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

it's a suggestion, not a 'must do'.  it doesnt document every step you must 
complete in order to make this work.  like i said, i imagine you'd prefer 
libtoolize just shut the hell up.

> The next run of autoreconf fails with:
> aclocal: couldn't open directory `m4': No such file or directory
> autoreconf: aclocal failed with exit status: 1

that's because you didnt create the m4 dir first

> So it seems to me libtoolize suggests something that breaks the system.

it's suggesting you switch to a dedicated m4 directory.  if you dont want to 
do that, then ignore the suggestion.

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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