Opened 13 years ago

Closed 13 years ago

#338 closed enhancement (fixed)

configure warning about missing latex could be improved when Doxygen already is missing

Reported by: Peter Owned by: Jari Häkkinen
Priority: trivial Milestone: yat 0.4
Component: build Version: trunk
Keywords: Cc:

Description

I get following warning

configure: WARNING:
        Doxygen was not found. Yat will compile and work without doxygen.
        However, in order to enable generation of documentation, please
        install Doxygen available at http://www.doxygen.org/

configure: WARNING:
        latex was not found. Yat will compile and work without latex.
        However, in order to enable Doxygen to generate LaTeX,
        Postscript, and PDF output, please install latex
        http://www.tug.org/interest.html\#free

What do you think about the second warning? I mean when Doxygen is not available it is a bit stupid to talk about Doxygen is warning. On the other hand, if Doxygen is installed and there is no latex installed something is wrong with Doxygen installation. Doxygen uses latex also to generate html since latex is used to generate the formulas in html.

I think we can skip the second warning. Alternatively, we only display the warning when Doxygen is available and latex is not and say something like

        latex was not found. Yat will compile and work without latex.
        However, in order to enable Doxygen to generate documentation, 
        please install latex
        http://www.tug.org/interest.html\#free

Opinion?

Change History (1)

comment:1 Changed 13 years ago by Peter

Resolution: fixed
Status: newclosed

in [1148]

Note: See TracTickets for help on using tickets.