[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: documentation through doxygen stopped working

From: aaragon
Subject: Re: documentation through doxygen stopped working
Date: Mon, 2 Mar 2009 23:35:05 -0800 (PST)

Hi Ralf, thanks for replying. I don't understand much the m4 code. I can say
that it stopped working after upgrading autotools. Part of the macro (the
one that fails) is:

AC_PATH_TOOL([$1], [$2])
if test "$DX_FLAG_[]DX_CURRENT_FEATURE$$1" = 1; then
    AC_MSG_WARN([$2 not found - will not DX_CURRENT_DESCRIPTION])

so I tried doing what you suggested in two of the lines above (replacing []
with ][ solved it). Then the same problem showed up somewhere else:

# Turn off the DX_CURRENT_FEATURE if the required feature is off.
test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_][DX_CURRENT_FEATURE], 0)

and I did the same. Then everything was fine, but the macro is broken now
because no configuration file for Doxygen was written. Since I don't
understand the code above, I have no idea what's doing. Do you know what's
going on?


Ralf Wildenhues wrote:
> * aaragon wrote on Tue, Mar 03, 2009 at 06:54:35AM CET:
>> address@hidden/Workspace/080427 cpputils$./ 
>> error: AC_SUBST: `DX_FLAG_[]DX_CURRENT_FEATURE' is not a
>> valid shell variable name
>> acinclude.m4:77: DX_REQUIRE_PROG is expanded from...
>> acinclude.m4:117: DX_ARG_ABLE is expanded from...
>> acinclude.m4:178: DX_INIT_DOXYGEN is expanded from...
>> the top level
> That smells of M4 overquoting somewhere.  Find out what changed, the
> Autoconf version, or any third-party macro code, or
> In case of doubt, please post a small example to reproduce the above
> together with a pointer to the exact DX_REQUIRE_PROG macro implementation.
> Stabbing in the dark, try to change the failing
> to
> if you know that that is the actual overquoted code.
> Hope that helps.
> Cheers,
> Ralf
> _______________________________________________
> Autoconf mailing list
> address@hidden

View this message in context:
Sent from the Gnu - Autoconf - General mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]