This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Gnu make conditionals in Makefile.am
- To: Ralf Reißing <reissing at informatik dot uni-stuttgart dot de>
- Subject: Re: Gnu make conditionals in Makefile.am
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 12 Sep 2000 01:37:40 -0300
- Cc: automake at gnu dot org
- References: <39BCEC26.F62BE4AC@informatik.uni-stuttgart.de>
On Sep 11, 2000, Ralf Reißing <reissing@informatik.uni-stuttgart.de> wrote:
> Unfortunately, automake thinks these conditionals are automake
> conditionals ("endif without if") and does not process the file.
> Is there a way of "masking" conditionals from automake so it
> simply passes the code on to Makefile.in?
If automake had a FAQ, this would be there.
Set ENDIF=endif, AC_SUBST it, and use @ENDIF@ in Makefile.am
Remember that automake is supposed to create portable Makefiles, and
GNU make conditionals aren't portable.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me