[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Non-numeric argument to divert error?
From: |
Akim Demaille |
Subject: |
Re: Non-numeric argument to divert error? |
Date: |
10 Jul 2001 10:44:38 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor) |
| Hi all.
| While upgrading a package to autoconf 2.50, I ran into
| a error/warning message that I don't understand.
|
| % cat aclocal.m4
| divert(-1)
| define(AC_CHECK_DEBUGGING,[])
| divert
|
| With autoconf 2.13, nothing is printed:
|
| % /usr/bin/autoconf
|
| With autoconf 2.50:
|
| % autoconf
| ./aclocal.m4:3: /usr/bin/m4: Non-numeric argument to built-in `divert'
|
| I poked around on the web and found some examples that
| seemed to indicate that diverting to an unknown number
| like -1 was ok. Any ideas about how to resolve this?
Well, fix what it is complaining about: line 3, not 1. And anyway,
you are not supposed to play with diversion in Autoconf. I would
disable them for users actually.