Changeset 1560


Ignore:
Timestamp:
Jun 9, 2010 6:53:30 AM (10 years ago)
Author:
stefan
Message:

fixes to AC_COIN_DOXYGEN: AC_CHECK_PROG already prints 'checking for xxx... yyy'; check for dot (instead of 'yes') if user did not specify --with-dot option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r1559 r1560  
    33973397# Check to see if doxygen is available.
    33983398
    3399 AC_MSG_CHECKING([for doxygen])
    34003399AC_CHECK_PROG([coin_cv_have_doxygen],[doxygen],[yes],[no])
    3401 AC_MSG_RESULT([$coin_cv_have_doxygen])
    34023400
    34033401# Look for the dot tool from the graphviz package, unless the user has
     
    34083406                 [use dot (from graphviz) when creating documentation with
    34093407                  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
     3408  [],[withval=dot])
     3409if test x$withval = xno ; then
     3410  coin_cv_use_dot=no
     3411else
     3412  AC_CHECK_PROG([coin_cv_use_dot],[$withval],[yes],[no])
     3413fi
    34193414
    34203415]) # AC_COIN_DOXYGEN
Note: See TracChangeset for help on using the changeset viewer.