On Sat, Jun 2, 2012 at 9:37 AM, illusionoflife
<illusion.of.lif...@gmail.com> wrote:
> Hello. I am trying to use autoopts,
> so I call
> AG_PATH_AUTOOPTS([5.12,[ ,[AC_MSG_ERROR([Autogen not found])]]])
>
> in configure.ac
> But I get following error. I suspect, that my version of autotools is too new.
> But what have I to do?

I can see how you might make this mistake, based on the documentation
in the source of AG_PATH_AUTOOPTS:

dnl AG_PATH_AUTOOPTS([MIN-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])

The [] above are not intended to be correct m4 quoting, but rather
simply show that all the arguments are optional.  Try:

AG_PATH_AUTOOPTS([5.12], [], [AC_MSG_ERROR([Autoopts not found])])

or possibly

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 :)

Cheers,
Dave Hart

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to