Changeset 957 for trunk/configure.ac


Ignore:
Timestamp:
Oct 9, 2007, 10:07:24 PM (14 years ago)
Author:
Peter
Message:

Generation of documentation is disabled if software is missing. For
example if doxygen is missing doxygen is not issued, but for example
Statistics.pdf is generated and so on and so forth.

Also, I added variables dvi-local, pdf-local, and html-local. This
means that one now can issue ,e.g., 'make pdf' and hopefully get what one was
hoping for.

I divided clean-local into clean-local and mostlyclean-local. The
latter is included in a 'make mostlyclean' call and both are included
in a 'make clean' call.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r955 r957  
    4646AC_PROG_CXX
    4747AC_PROG_INSTALL
    48 AC_CHECK_PROG([DOXYGEN], [doxygen], [yes], [no])
    49 AC_CHECK_PROG([DVIPDFM], [dvipdfm], [yes], [no])
    50 AC_CHECK_PROG([LATEX], [latex], [yes], [no])
    51 AC_CHECK_PROG([LATEX2HTML], [latex2html], [yes], [no])
     48AC_CHECK_PROG([HAVE_DOXYGEN], [doxygen], [true], [false])
     49AC_CHECK_PROG([HAVE_DVIPDFM], [dvipdfm], [true], [false])
     50AC_CHECK_PROG([HAVE_LATEX], [latex], [true], [false])
     51AC_CHECK_PROG([HAVE_LATEX2HTML], [latex2html], [true], [false])
    5252
    5353# Checks for libraries.
     
    144144# when in debug mode
    145145if (test "$enable_debug" == "yes"); then
    146    if (test "$DOXYGEN" != "yes") ; then
     146   if (test "$HAVE_DOXYGEN" != "true") ; then
    147147      AC_MSG_WARN([Doxygen was not found. Yat will compile and work
    148148  without doxygen.  However, in order to enable
     
    150150  available at http://www.doxygen.org/])
    151151   fi       
    152    if (test "$LATEX" != "yes") ; then
     152   if (test "$HAVE_LATEX" != "true") ; then
    153153      AC_MSG_WARN([latex was not found. Yat will compile and work
    154154  without latex. However, supporting documentation on
     
    156156  latex.])
    157157   fi       
    158    if (test "$DVIPDFM" != "yes") ; then
     158   if (test "$HAVE_DVIPDFM" != "true") ; then
    159159      AC_MSG_WARN([dvipdfm was not found. Yat will compile and work
    160160  without dvipdfm. However, pdf document on statistics
    161161  used in yat cannot be generated without dvipdfm.])
    162162   fi       
    163    if (test "$LATEX2HTML" != "yes") ; then
     163   if (test "$HAVE_LATEX2HTML" != "true") ; then
    164164      AC_MSG_WARN([latex2html was not found. Yat will compile and work
    165165  without Latex. However, html document on statistics
Note: See TracChangeset for help on using the changeset viewer.