> -----Original Message-----
> From: Akim Demaille [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 12, 2000 12:11 PM
> To: Bernard Dautrevaux
> Cc: Autoconf mailing list (Adresse de messagerie)
> Subject: Re: Autoupdate test failing on Solaris7
>
>
> >>>>> "Bernard" == Bernard Dautrevaux
> <[EMAIL PROTECTED]> writes:
>
> Bernard> There is one test that fails, the autoupdate test (test 111
> Bernard> in my case).
>
> This is a known problem of autoupdate: it needs a powerful sed. I'm
> thinking about rewriting it in Perl. Contribution are highly
> appreciated :)
>
> I'll change autoupdate so that it checks sed is GNU sed, this is
> catching way too many people. I apologize for not having
> done this before.
I think that OK.
>
> Bernard> There is two problems in this test:
>
> Bernard> First when creating "au.txt" using "autoconf --trace"
> Bernard> autoconf was not able to find "acversion.m4"; I must say that
> Bernard> I build autoconf in a subdirectory (name autoconf-native) of
> Bernard> the autoconf directory; what seems to happen is that
> Bernard> autoupdate is started with an autoconf_dir set to ../.., that
> Bernard> is the source directory; however "acversion.m4" is in the
> Bernard> build directory :-)
>
> This is bizarre: make distcheck works fine and it runs a very similar
> layout. I just checked what you said:
>
> tar zxvf autoconf
> cd autoconf
> mkdir build
> cd build
> ../configure
> make check
>
> and it works fine. It must be related to the other problem.
>
Did you actually check the au.txt file, or just check the test pass? this do
not cause the test to fail, it just generate a bizarre line at the top of
au.txt, then autoupdate runs correctly (it just would not be able to convert
an old AC_VERSION to a new one I think, but as AC_VERSION is just define'd,
not AC_DEFUN'edr AU_DEFUN'ed that should not cause any problem).
>
> Bernard> I know I could install gnu sed, but not everybody is allways
> Bernard> willing to.
>
> I agree, nevertheless I will not try to have autoupdate be portable.
> Portability is a PITA, and I won't devote time for portability issues
> on the maintainer side.
>
Sure enough; I've already decided to install gnu sed if I need to use
autoupdate :)
>
>
> Bernard> OTOH, there is only two sed scripts generated from au.txt,
> Bernard> and only one use of each, so splitting them in less than 50
> Bernard> line scripts (as is done for the scripts generated by
> Bernard> config.status) should not be too complicated.
>
> Bernard> Any better ideas?
>
> Rewrite everything in Python :)
>
Sure! you volunteer? :-) :-) :-(
Regards,
Bernard
--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel: +33 (0) 1 47 68 80 80
Fax: +33 (0) 1 47 88 97 85
e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
--------------------------------------------