automake
[Top][All Lists]
Advanced

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

Re: multiple AM_CONDITIONALs doens't work in CVS Automake


From: Lars J. Aas
Subject: Re: multiple AM_CONDITIONALs doens't work in CVS Automake
Date: Fri, 9 Mar 2001 16:49:42 +0100
User-agent: Mutt/1.2.5i

On Fri, Mar 09, 2001 at 04:40:35PM +0100, Akim Demaille wrote:
: sub make_condition
: {
:     print STDERR "MAKE0: " . scalar(@_) . "\n";

I added this line too.

:     my $res = join ('@@', @_);
:     print STDERR "MAKE1: $res\n";
:     return ''
:       unless $res;
: 
:     $res = '@' . $res . '@';
:     $res =~ s/ /@@/;
:     print STDERR "MAKE2: $res\n";
:     return $res;
: }

Automake then gave me output like this:

MAKE0: 1
MAKE1: 
SIMAGE_JPEG_SUPPORT_FALSESIMAGE_PIC_SUPPORT_FALSESIMAGE_PNG_SUPPORT_FALSESIMAGE_RGB_SUPPORT_FALSESIMAGE_TGA_SUPPORT_FALSESIMAGE_TIFF_SUPPORT_FALSESIMAGE_UNGIF_SUPPORT_TRUE
MAKE2: 
@SIMAGE_JPEG_SUPPORT_FALSESIMAGE_PIC_SUPPORT_FALSESIMAGE_PNG_SUPPORT_FALSESIMAGE_RGB_SUPPORT_FALSESIMAGE_TGA_SUPPORT_FALSESIMAGE_TIFF_SUPPORT_FALSESIMAGE_UNGIF_SUPPORT_TRUE@
MAKE0: 1
MAKE1: 
SIMAGE_JPEG_SUPPORT_FALSESIMAGE_PIC_SUPPORT_FALSESIMAGE_PNG_SUPPORT_FALSESIMAGE_RGB_SUPPORT_FALSESIMAGE_TGA_SUPPORT_FALSESIMAGE_TIFF_SUPPORT_FALSESIMAGE_UNGIF_SUPPORT_FALSE
MAKE2: 
@SIMAGE_JPEG_SUPPORT_FALSESIMAGE_PIC_SUPPORT_FALSESIMAGE_PNG_SUPPORT_FALSESIMAGE_RGB_SUPPORT_FALSESIMAGE_TGA_SUPPORT_FALSESIMAGE_TIFF_SUPPORT_FALSESIMAGE_UNGIF_SUPPORT_FALSE@

I assume you won't need more of the output, but I've attached the
Makefile.am file that is being used.

  Lars J

Attachment: Makefile.am
Description: Text document


reply via email to

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