[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_DEFUN([DX_REQUIRE_PROG], [
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])
AC_SUBST([DX_FLAG_[]DX_CURRENT_FEATURE], 0)
fi
])
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.
AC_DEFUN([DX_CLEAR_DEPEND], [
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?
aa
Ralf Wildenhues wrote:
>
> * aaragon wrote on Tue, Mar 03, 2009 at 06:54:35AM CET:
>>
>> address@hidden/Workspace/080427 cpputils$./autogen.sh
>> configure.ac:58: 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...
>> configure.ac:58: the top level
>
> That smells of M4 overquoting somewhere. Find out what changed, the
> Autoconf version, or any third-party macro code, or configure.ac.
> 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
> DX_FLAG_[]DX_CURRENT_FEATURE
> to
> DX_FLAG_][DX_CURRENT_FEATURE
>
> if you know that that is the actual overquoted code.
>
> Hope that helps.
>
> Cheers,
> Ralf
>
>
> _______________________________________________
> Autoconf mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/autoconf
>
>
--
View this message in context:
http://www.nabble.com/documentation-through-doxygen-stopped-working-tp22302910p22303760.html
Sent from the Gnu - Autoconf - General mailing list archive at Nabble.com.
- documentation through doxygen stopped working, aaragon, 2009/03/03
- Re: documentation through doxygen stopped working, Ralf Wildenhues, 2009/03/03
- Re: documentation through doxygen stopped working,
aaragon <=
- Re: documentation through doxygen stopped working, Russ Allbery, 2009/03/03
- Re: documentation through doxygen stopped working, Russ Allbery, 2009/03/03
- Re: documentation through doxygen stopped working, aaragon, 2009/03/03
- Re: documentation through doxygen stopped working, Russ Allbery, 2009/03/03
- Re: documentation through doxygen stopped working, aaragon, 2009/03/03
- Re: documentation through doxygen stopped working, aaragon, 2009/03/03
- Re: documentation through doxygen stopped working, Russ Allbery, 2009/03/03
- Re: documentation through doxygen stopped working, aaragon, 2009/03/03
- Re: documentation through doxygen stopped working, Russ Allbery, 2009/03/03