bug-automake
[Top][All Lists]
Advanced

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

Re: automake-1.7.3: single test failure on NetBSD 1.6, and autoconf-2.57


From: Nelson H. F. Beebe
Subject: Re: automake-1.7.3: single test failure on NetBSD 1.6, and autoconf-2.57
Date: Mon, 14 Apr 2003 14:34:30 -0600 (MDT)

Thanks for the further explanation of the "make -e" interaction with
the setting of prefix in the environment.

I can easily remove the setting of prefix in the build environments,
which presumably will make the automake tests succeed.

The confusing point is that CC, CXX, CFLAGS, ... etc all carry over
from the environment into configure scripts.  From the end user's
point of view, why should prefix be treated any differently?  Perhaps
it is that you can set it with --prefix=/some/dir.

At present, the autoconf manual does not list prefix in the
Environment Variable Index, suggesting that prefix is, in fact, not
imported.  The code in configure scripts from autoconf-2.57 looks
first in the file defined by the environment variable CONFIG_SITE,
then in the setting provided by the --prefix=xxx option, and then
falls back to the GNU default of /usr/local.

This confirms your recommendation of using something like this in the
user-specific site configuration file:

        test "$prefix" = NONE && prefix=$HOME/`arch`/local

I'll make suitable changes in my build scripts.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- Center for Scientific Computing       FAX: +1 801 581 4148                  -
- University of Utah                    Internet e-mail: address@hidden  -
- Department of Mathematics, 110 LCB        address@hidden  address@hidden -
- 155 S 1400 E RM 233                       address@hidden                    -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------




reply via email to

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