Re: [Autogen-users] m4 error
Brought to you by:
bkorb
From: Dave H. <dav...@da...> - 2012-06-02 12:35:40
|
On Sat, Jun 2, 2012 at 11:58 AM, illusionoflife <ill...@gm...> wrote: > On Saturday, June 02, 2012 11:40:53 you wrote: >> AG_PATH_AUTOOPTS([5.12], [], [AC_MSG_ERROR([Autoopts not found])]) >> AG_PATH_AUTOOPTS([5.12], [], AC_MSG_ERROR([Autoopts not found])) >> >> My hunch is the first one will work, my head thinks the second one >> makes more sense. So much for understanding m4 :) > > Unfortuately, neither works. Same error. I don't use that macro, but I'm guessing autoopts.m4 needs work to get along with the latest autoconf and automake. In paritcular, AC_TRY_RUN and AC_TRY_LINK invocations need to add AC_LANG_PROGRAM or AC_LANG_SOURCE wrapping the C source code. If I were maintaining it, I'd use [] quotes around a lot more macro arguments than autoopts.m4 does currently. Cheers, Dave Hart |