bug-autoconf
[Top][All Lists]
Advanced

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

Re: Relative paths for $INSTALL


From: Ralf Wildenhues
Subject: Re: Relative paths for $INSTALL
Date: Thu, 22 Jul 2010 07:38:56 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

Hi Russ,

* Russ Allbery wrote on Wed, Jul 21, 2010 at 11:41:41PM CEST:
> So, in short, it would be very nice if there were some way to force
> Autoconf to use absolute paths when substituting paths to scripts in the
> aux directory into generated files.  Is there any chance that Autoconf
> could add an AC_PROG_INSTALL_ABS or some other way to say that the
> substituted path to install-sh needs to be an absolute path?

I think this is a valid request, but you should also take into account
that it breaks building in directories with, e.g., spaces in the
absolute name.  This works with current Autoconf and Automake (not
Libtool, unfortunately) as long as you specify a relative name without
spaces when calling configure.

There are more programs affected besides install-sh, and the way to
enable it should not carry INSTALL in the name, because that is
misleading IMVHO.  The macro could ensure `pwd` contains no dangerous
characters.

I can look into it eventually.

Thanks,
Ralf



reply via email to

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