[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: question about autoconf patch (for Mo DeJong)

From: Mo DeJong <supermo_at_bayarea.net>
Date: 2001-10-05 02:13:58 CEST

On Thu, 4 Oct 2001 18:20:03 -0500
<kfogel@collab.net> wrote:

> Mo, I'm trying out that new patch upgrading us to autoconf >2.50 and
> libtool >1.4. I applied the patch to a completely clean, freshly
> checked-out working copy (had apr and neon in it, of course), then ran
> `autogen.sh'. Among the output, I saw this message:
>
> You should add the contents of `/usr/local/share/aclocal/libtool.m4' \
> to `aclocal.m4'.
>
> Should we care about this? Does it mean exactly what it says? The
> only `aclocal.m4' in the working copy is ./neon/aclocal.m4 -- not even
> part of Subversion. Is that the one it's referring to?
>
> -Karl

No, these messages from libtoolize are meaningless. They are printed now
because I removed the --automake flag to libtoolize (since we no longer
use automake).

(Old)
Copying libtool helper files...
Creating getdate.c...

(New)
Copying libtool helper files...
You should add the contents of `/usr/local/project/install/autotools/share/aclocal/libtool.m4' to `aclocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, `ac-helpers'.
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
Creating getdate.c...

I see 3 possible options.

1. Do nothing and wait for the erroneous bug reports to roll in.
2. Redirect the output of libtoolize to /dev/null.
3. Continue to pass the --automake flag to libtoolize.

I took a look at the code for libtoolize and there is no other way to turn these
warnings off. I would have expected a --silent flag but there is none. If we redirect
the output to /dev/null then we will not see these pointless errors, but then
again if a real error ever showed up we would not see that either. If we just
continue to pass --automake then things should work as before. It seems wrong
to pass --automake when we are not using automake, but perhaps it does not
matter. I poked around in libtoolize.in and it looked like this --automake flag
does not really do anything other than stopping the printing of diagnostic messages.
Perhaps it would be better to just leave it in with a note in autogen.sh saying that
--automake really just means --quiet.

Mo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:44 2006

This is an archived mail posted to the Subversion Dev mailing list.