[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ifdef expessions in Makefile.am
From: |
Ralf Wildenhues |
Subject: |
Re: ifdef expessions in Makefile.am |
Date: |
Fri, 18 Dec 2009 08:45:41 +0100 |
User-agent: |
Mutt/1.5.20 (2009-10-28) |
* Joakim Tjernlund wrote on Thu, Dec 17, 2009 at 11:29:19PM CET:
> if @TEST@ then
> SUBDIRS+= dir1/dir2/@TEST@
> SUBDIRS+= dir3/dir2/@TEST@
> SUBDIRS+= dir4/@TEST@
> ....
> endif
The syntax is
if TEST
SUBDIRS += ...
endif
and there should not be any indentation of `if' and `endif', and at most
spaces for indentation of variable assignments, no TABs.
You already learned that running aclocal and autoconf is required;
the first time you use AM_CONDITIONAL, the code of this macro needs to
be added to your aclocal.m4 file.
If you need to maintain a patch against a Libtool macro, then what most
users do is write a bootstrap or autogen.sh script which consists of
something like
libtoolize [--copy] [--install]
patch -p0 - <<EOF
here comes your patch text for m4/libtool.m4
EOF
aclocal -I m4
autoconf
automake -Wall
Cheers,
Ralf
- ifdef expessions in Makefile.am, Joakim Tjernlund, 2009/12/17
- Re: ifdef expessions in Makefile.am, Peter Johansson, 2009/12/17
- Re: ifdef expessions in Makefile.am, Joakim Tjernlund, 2009/12/17
- Re: ifdef expessions in Makefile.am, Peter Johansson, 2009/12/17
- Re: ifdef expessions in Makefile.am, Joakim Tjernlund, 2009/12/17
- Re: ifdef expessions in Makefile.am, Peter Johansson, 2009/12/17
- Re: ifdef expessions in Makefile.am, Joakim Tjernlund, 2009/12/17
- Message not available
- Re: ifdef expessions in Makefile.am, Joakim Tjernlund, 2009/12/17
- Re: ifdef expessions in Makefile.am,
Ralf Wildenhues <=
- Re: ifdef expessions in Makefile.am, Joakim Tjernlund, 2009/12/20
- Re: ifdef expessions in Makefile.am, Ralf Wildenhues, 2009/12/21
- Re: ifdef expessions in Makefile.am, Joakim Tjernlund, 2009/12/21
- [PATCH 0/2] Re: ifdef expessions in Makefile.am, bonzini, 2009/12/22
- Re: [PATCH 0/2] Re: ifdef expessions in Makefile.am, Joakim Tjernlund, 2009/12/22
- Re: [PATCH 0/2] Re: ifdef expessions in Makefile.am, Paolo Bonzini, 2009/12/22
- [PATCH 1/2] split -Wl test, bonzini, 2009/12/22
- [PATCH 2/2] extract static flag detection, bonzini, 2009/12/22