| delorie.com/archives/browse.cgi | search |
| From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: automake help needed |
| Date: | 6 Aug 2001 12:40:29 GMT |
| Organization: | Aachen University of Technology (RWTH) |
| Lines: | 15 |
| Message-ID: | <9km37t$o7c$1@nets3.rz.RWTH-Aachen.DE> |
| References: | <3b6cd296 DOT 9879890 AT news DOT escape DOT com> |
| NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
| X-Trace: | nets3.rz.RWTH-Aachen.DE 997101629 24812 137.226.32.75 (6 Aug 2001 12:40:29 GMT) |
| X-Complaints-To: | abuse AT rwth-aachen DOT de |
| NNTP-Posting-Date: | 6 Aug 2001 12:40:29 GMT |
| Originator: | broeker@ |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Peter J. Farley III <pjfarley3 AT escape DOT com> wrote: [...] > automake complains that the "else" and "endif" have no matching "if", > but "ifdef" is a valid Make conditional according to the latest Make > info file. You're looking in the wrong place. You need an _automake_ conditional, here, not a Make conditional. And automake only supports 'if', not 'ifdef'. Make operators 'ifdef' and 'ifeq' are GNU extensions which automake doesn't use, in order to stay portable to non-GNU makes. I.e. you can't use GNU make conditionals in a Makefile.am, I think. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |