Re: running automake

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Thu Jan 14 1999 - 12:33:20 EST


On Jan 14, 1999, Godmar Back <gback@cs.utah.edu> wrote:

> Now I want to create the corresponding
> kaffe/kaffevm/systems/linux-threads/Makefile.in
> which automake should do, right?

Only if the configure script would create
kaffe/kaffevm/systems/linux-threads/Makefile

Just add it to AC_OUTPUT in configur.ein and automake will create it
for you. You may run

automake kaffe/kaffevm/systems/linux-threads/Makefile

to speed things up (yes, no extension)

> I tried running automake in the linux-threads, but it complained about
> not being able to find configure.in.

Yep, you must always run automake in the top-level directory, because
it has to parse configure.in for all the common definitions
(AC_SUBST). BTW, you wouldn't have to add a definition of ZIP to a
Makefile it ZIP was defined in configure.in. Adding

AC_PATH_PROG(ZIP, zip)
AC_SUBST(ZIP)

to configure.in should suffice, and would have the good side effect
that ZIP would be defined in any Makefile that might need it (and any
script that contained `zip=@ZIP@', and we could override ZIP=`kaffe
kaffe.utils.jar' as soon as we implement it.

> I also tried to --enable-maintainer-mode, but this got me only to the
> segfault I showed in my last email.

Yep, FreeBSD has still been a problem; I don't understand, people have
been able to build shared libraries on FreeBSD before! But Thomas
Tanner has committed a patch to libtool just before I left to home
last night, that might help get things going.

WRT to the `sh' problem, I'm still investigating it, but I was able to
complete the build at marker by running `make SHELL=bash'

> Which leads to my next question: if you configure with an option that
> implies to only include a certain part of the tree, such as with-engine
> or with-threads, does that mean that in maintainer mode only those
> Makefile.in will be updated?

Yep. But `make dist' will take care of updating the whole tree, if
anything happens to be out of date. Except that I haven't been able
to finish the work to have a full working tree after `make dist'.
kaffe.def, for example, isn't distributed yet :-(

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:41 EDT