[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ifdef not allowed
From: |
Karl Eichwalder |
Subject: |
ifdef not allowed |
Date: |
Tue, 06 Nov 2001 20:53:53 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) |
Hello,
I'm wondering why automake doesn't allow conditionals like:
f=$(shell test -e /etc/passwd && echo /etc/passwd)
hello:
echo hello
ifdef f
echo $(f)
endif
Reading the automake manual on Conditionals I have got the impression,
only 'if' is allowed. Why not passing through 'ifdef' structures? At
least, please improve the error message:
Makefile.am:24: endif without if
It took me quite some time to understand what automake wants me to do ;)
[Yes, I know, it's easily possible to solve the job mentioned above
going other ways.]
--
address@hidden (work) / address@hidden (home): |
http://www.suse.de/~ke/ | ,__o
Free Translation Project: | _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*)
- ifdef not allowed,
Karl Eichwalder <=