[GRASS5] configure.in Wants testers...

Eric G . Miller egm2 at jps.net
Tue Nov 28 04:08:00 EST 2000


On Tue, Nov 28, 2000 at 03:34:39PM +0700, Justin Hickey wrote:
> > Yes, I added that.  I thought that was supposed to be the "portable"
> > way to run 'pwd', but apparently it isn't.  `pwd` is supposed to be
> > bad, but I don't know why.  I'll take a look again.
> 
> Since my system seems to be causing the problem I did some poking around
> and I may be totally off-base here since my knowledge of autoconf is
> very minimal.
> 
> What I found was that the @srcdir@ variable (note the lower case) is
> preset by autoconf. I commented out the lines concerning the definition
> of SRCDIR in configure.in and changed the substitution string in
> Makefile.in to lower case. I then ran make distclean, ran autoconf, then
> ran configure and the substitution in Makefile turned out to be "." (a
> single dot - current directory).
> 
> Does this value make sense for our purposes? On my machine, when I ran
> make install, it solved the earlier problems, however, in
> src/CMD/generic/GISGEN.sh, there is a "cd /tmp" command at the top which
> screws up the $GMAKE variable, since it is set to ./src/CMD/gmake5.0
> (which does not exist in /tmp).
> 
> So, it appears that the . definition would work if all our scripts were
> written to take this into account. Does anybody know what kind of effort
> this would be (perhaps this is a minimal change)? Does the @srcdir@ get
> substituted with a dot on other systems? Or am I way off base and this
> is just a looney idea which somebody else has already looked into?
> 
> Any comments would be greatly appreciated. Thanks.

What I gleaned from the AutoConf docs I have, is that $top_srcdir should
be used to reference the TOP src directory.  Apparently it's not being
expanded, so I'll look into a way to make it be forcably expanded.

I guess I could just make the configure.in always use $(pwd).  That
should always work (right???).

-- 
Eric G. Miller <egm2 at jps.net>

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list