--- Begin Message ---
Subject: |
automake uses two different values for DejaGNU srcdir |
Date: |
Wed, 12 Jan 2011 13:52:09 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
When automake is configured to use DejaGNU, it uses two different values
for srcdir. There are two different cases in lib/am/dejagnu.am:
The first is in check-DEJAGNU:
check-DEJAGNU: site.exp
## Life is easiest with an absolute srcdir, so do that.
srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \
This value is passed to runtest with a --srcdir option.
The second is in site.exp:
site.exp: Makefile
@echo 'Making a new site.exp file...'
@echo '## these variables are automatically generated by make ##'
>site.tmp
@echo '# Do not edit here. If you wish to override these values'
>>site.tmp
@echo '# edit the last section' >>site.tmp
@echo 'set srcdir $(srcdir)' >>site.tmp
This value is read by DejaGNU after option processing is complete,
effectively overwriting the value passed with the --srcdir option.
The value of srcdir stored in site.exp should be an absolute path, just
like the value passed to runtest via --srcdir.
Ian
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#7833: automake uses two different values for DejaGNU srcdir |
Date: |
Sat, 22 Oct 2011 20:53:10 +0200 |
User-agent: |
KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) |
On Wednesday 19 October 2011, Stefano Lattarini wrote:
> Reference:
> <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7873>
>
> I've rebased my patch on the "fixup" commit `v1.11-250-g0c0b402', and
> I will merge it to maint (and push) in a couple of days if there is
> no objection by then. The updated patch is attached, for reference.
>
Pushed now. I'm closing this bug report.
Regards,
Stefano
--- End Message ---