This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
RE: Help: Missing something simple...
- To: "'Pavel Roskin'" <pavel_roskin@geocities.com>
- Subject: RE: Help: Missing something simple...
- From: "Masterson, David" <David.Masterson@kla-tencor.com>
- Date: Thu, 20 May 1999 12:18:30 -0700
- Cc: automake@gnu.org
That was the key! My perusal of the info files did not turn up this. The
autoconf info files talk about having AC_INIT near the beginning of the
file. The automake info files talk about having AM_INIT_AUTOMAKE near the
beginning of the file. However, I didn't see anything that said which
should come first.
Thanks!
-----Original Message-----
From: Pavel Roskin [mailto:pavel_roskin@geocities.com]
Sent: Thursday, May 20, 1999 11:56 AM
To: Masterson, David
Cc: automake@gnu.org
Subject: RE: Help: Missing something simple...
Hello, David!
> Exactly the same results each time. I believe the above installations are
> correct, but is there something I could do to verify it other than use
> '--version' flag which reports the right information. It appears that
> aclocal.m4 isn't having an effect on the output (except to cause
> AM_INIT_AUTOMAKE to go away). Any ideas?
I should have tried your example before posting my previous message :-(
You should swap AC_INIT and AM_INIT_AUTOMAKE. Autoconf ignores everything
before AC_INIT (to be exact, it doesn't write anything to configure before
it meets AC_INIT).
Next thing you will need to do is to use something more persistent as the
argument to AC_INIT. I usually use a source file which is not going to be
moved or deleted.
Please read "info autoconf" and "info automake". Both autoconf and
automake are not fool-proof. They can detect some errors, but definitely
not all.
Pavel Roskin