AM_COND_IF

2009-01-02 Thread Matěj Týč
Hello, I would like to use the AM_COND_IF macro in my configure.ac, but when I run autoreconf, I get an error message saying that the macro couldn't be found anywhere. I have tried to google it, but it seems that nobody has this problem... Any suggestions? The error message I get:

Re: AM_COND_IF

2009-01-02 Thread Jan Engelhardt
On Friday 2009-01-02 17:33, Matěj Týč wrote: Hello, I would like to use the AM_COND_IF macro in my configure.ac, but when I run autoreconf, I get an error message saying that the macro couldn't be found anywhere. I could not find it in the manual either, so the macro is probably not the right

Automake_flags not override

2009-01-02 Thread Jan Engelhardt
Hi, given a configure.ac which defines AM_INIT_AUTOMAKE([-Wall]), running `automake -Wnone` still produces the warnings I had with -Wall. I think command line should override any earlier flags.

Portable suffix rules question

2009-01-02 Thread Jan Engelhardt
Hi, I reckon that %-style suffix rules (e.g. %.o: %.c) are rather unportable, but I wonder how the old-fashioned suffix rule for %.1: %.1.php would look like.

Re: Portable suffix rules question

2009-01-02 Thread Andreas Schwab
Jan Engelhardt jeng...@medozas.de writes: I reckon that %-style suffix rules (e.g. %.o: %.c) are rather unportable, but I wonder how the old-fashioned suffix rule for %.1: %.1.php would look like. There is none. A suffix rule can contain at most two periods, so the closest you can get is

Re: AM_COND_IF

2009-01-02 Thread Matěj Týč
I could not find it in the manual either, so the macro is probably not the right one to start with. It is in the manual, of course (that's where I have found it). Look here: http://sources.redhat.com/automake/automake.html#Conditionals

Re: AM_COND_IF

2009-01-02 Thread Matěj Týč
Did you try regenerating the aclocal files?- usually done by `autoreconf -fi`. Yes, I tried it and it did not help, I still get the error. Are there any files where the macro is supposed to be defined to check?

Re: AM_COND_IF

2009-01-02 Thread Jan Engelhardt
On Friday 2009-01-02 20:57, Matěj Týč wrote: Did you try regenerating the aclocal files?- usually done by `autoreconf -fi`. Yes, I tried it and it did not help, I still get the error. Are there any files where the macro is supposed to be defined to check? Grepping in the automake tree