autoconf
[Top][All Lists]
Advanced

[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: Tue, 3 Mar 2009 15:02:37 -0800 (PST)

Hi Russ, thanks for the help. The file you're working with is quite old.
There is a much newer file in teh autoconf archive:

http://autoconf-archive.cryp.to/ax_prog_doxygen.html

I've been working with that version. I don't think the code has changed much
since 2004, so I'll try to manually apply the patch.

I'll let you know how it goes,

aa



Russ Allbery wrote:
> 
> Russ Allbery <address@hidden> writes:
>> Ralf Wildenhues <address@hidden> writes:
> 
>>> 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.
> 
>> I just ran into the same thing when going from Autoconf 2.61 to 2.63.
> 
> The following patch appears to fix the problem, although I'm not very
> comfortable with it.  This business of forming variable names by
> concatenating a macro expansion with a static string makes me nervous
> because I don't understand the quoting implications.  I'm worried that
> this is just going to break again.  I'd love to see this class reworked to
> use a more obvious and clear approach to this.
> 
> --- a/doxygen.m4
> +++ b/doxygen.m4
> @@ -76,9 +76,9 @@ AC_DEFUN([DX_IF_FEATURE], [ifelse(DX_FEATURE_$1, ON,
> [$2], [$3])])
>  # Require the specified program to be found for the DX_CURRENT_FEATURE to
> work.
>  AC_DEFUN([DX_REQUIRE_PROG], [
>  AC_PATH_TOOL([$1], [$2])
> -if test "$DX_FLAG_[]DX_CURRENT_FEATURE$$1" = 1; then
> +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)
> +    AC_SUBST([DX_FLAG_]DX_CURRENT_FEATURE, 0)
>  fi
>  ])
>  
> @@ -101,7 +101,7 @@ test "$DX_FLAG_$1" = "$2" \
>  # ----------------------------------------------------------
>  # 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)
> +test "$DX_FLAG_$1" = "$2" || AC_SUBST([DX_FLAG_]DX_CURRENT_FEATURE, 0)
>  ])
>  
>  # DX_FEATURE_ARG(FEATURE, DESCRIPTION,
> 
> -- 
> Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>
> 
> 
> _______________________________________________
> 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-tp22302910p22320020.html
Sent from the Gnu - Autoconf - General mailing list archive at Nabble.com.





reply via email to

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