This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Gnu make conditionals in Makefile.am


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]