autoconf-patches
[Top][All Lists]
Advanced

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

Re: i960-* and b.out


From: Ralf Corsepius
Subject: Re: i960-* and b.out
Date: 14 Sep 2002 07:22:40 +0200

Am Sam, 2002-09-14 um 06.45 schrieb Ralf Corsepius:
> Am Fre, 2002-09-13 um 16.06 schrieb Akim Demaille:

> > How about this one?
> With this patch applied, autoconf-2.54 gets the correct "default output"
> and the correct OBJEXT, but is wrong on EXEEXT in all 'empty'-EXEEXT
> cases:

ROTFL - Isn't m4-quoting intuitive? ;)

This fragment from your patched lang.m4:

   conftest.$ac_ext )
        # This is the source file.
        ;;
    [ab].out )
        # We found the default executable, but exeext='' is most
        # certainly right.
        break;;
    *.* )

gets expanded into 

    conftest.$ac_ext )
        # This is the source file.
         ;;
    ab.out )
        # We found the default executable, but exeext='' is most
        # certainly right.
        break;;
    *.* )

=> The [] get stripped off 

Changing the [ab].out from your patch into [[ab]].out seems to help (cf.
below).

Ralf

Attachment: lang.m4.diff
Description: Text Data


reply via email to

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