Changeset 1555


Ignore:
Timestamp:
May 31, 2010 7:37:38 PM (10 years ago)
Author:
lou
Message:

Precursor; adding macro for doxygen in preparation for later changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r1551 r1555  
    25132513###########################################################################
    25142514
    2515 # This macro sets up usage of a Coin package.  It defines the
    2516 # PKGSRCDIR and PKGOBJDIR variables, refering to the main source and
    2517 # object directory of the package, respectively.  It also defines
    2518 # a COIN_HAS_PKG preprocessor macro and makefile conditional.  The
    2519 # argument should be the name (Pkg) of the project (in correct lower
    2520 # and upper case)
     2515# This macro sets up usage of a Coin package.  It defines the PKGSRCDIR,
     2516# PKGOBJDIR, and PKGDOCDIR variables, referring to the main source, object, and
     2517# documentation directories of the package, respectively.  It also defines a
     2518# COIN_HAS_PKG preprocessor macro and makefile conditional.  The argument
     2519# should be the name (Pkg) of the project (in correct lower and upper case)
    25212520
    25222521AC_DEFUN([AC_COIN_HAS_PROJECT],
     
    33783377]) # AC_COIN_HAS_GLPK
    33793378
     3379
     3380###########################################################################
     3381#                           COIN_DOXYGEN                                  #
     3382###########################################################################
     3383#
     3384# This macro determines the configuration information for doxygen, the tool
     3385# used to generate online documentation of COIN code.
     3386
     3387# This macro will define the following variables:
     3388#  coin_use_dot         determined based on presence/absence of dot (from
     3389#                       graphviz package)
     3390#  COIN_DOXY_TGTDIR     target directory for doxygen documentation
     3391
     3392AC_DEFUN([AC_COIN_DOXYGEN],
     3393[
     3394
     3395AC_MSG_NOTICE([configuring doxygen documentation options])
     3396
     3397# Check to see if doxygen is available.
     3398
     3399AC_MSG_CHECKING([for doxygen])
     3400AC_CHECK_PROG([coin_cv_have_doxygen],[doxygen],[yes],[no])
     3401AC_MSG_RESULT([$coin_cv_have_doxygen])
     3402
     3403# Look for the dot tool from the graphviz package, unless the user has
     3404# disabled it.
     3405
     3406AC_ARG_WITH([dot],
     3407  AS_HELP_STRING([--with-dot],
     3408                 [use dot (from graphviz) when creating documentation with
     3409                  doxygen if available; disable with --without-dot]),
     3410  [],[withval=yes])
     3411  if test x$withval = xno ; then
     3412    coin_cv_use_dot=no
     3413    AC_MSG_RESULT([disabled])
     3414  else
     3415    AC_MSG_CHECKING([for dot])
     3416    AC_CHECK_PROG([coin_cv_use_dot],[$withval],[yes],[no])
     3417    AC_MSG_RESULT([$coin_cv_use_dot])
     3418  fi
     3419
     3420]) # AC_COIN_DOXYGEN
     3421
     3422
    33803423###########################################################################
    33813424#                           COIN_HAS_PKGCONFIG                            #
Note: See TracChangeset for help on using the changeset viewer.