>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:

 Alexandre> On Feb  3, 2001, Alexandre Duret-Lutz <[EMAIL PROTECTED]> wrote:
 >> OTOH, autoconf defines @INSTALL@ using $ac_aux_dir, and $(INSTALL) is
 >> usable anywhere.  That's because this variable has a special treatment
 >> in config.status (its relative path is adjusted with regard to the
 >> depth of the generated file).  Maybe another solution would be to
 >> provide a mean for the autoconf user to specify additional variable to
 >> be handled likewise.

 >> Using relative paths whenever a file from the package (such as
 >> the files in $ac_aux_dir) is refered to seems better to me
 >> because it allows people to move a whole tree without requiring
 >> `make distclean'.

 Alexandre> Yep.  I like the solution proposed above.  In fact, I like it very
 Alexandre> much!

Another idea among the same lines: let config.status
automagically adjust all AC_SUBST'ed variables whose value 
start with the value of $srcdir.
-- 
Alexandre Duret-Lutz

Reply via email to