| 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.