Changeset 3798


Ignore:
Timestamp:
Apr 27, 2019, 11:36:43 AM (4 years ago)
Author:
Peter
Message:

allow user to turn off doxygen

Location:
branches/0.16-stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/0.16-stable/README

    r3792 r3798  
    208208[http://www.doxygen.org/ Doxygen] 1.5 (or newer) is required for
    209209generation of the API documentation. If doxygen application is
    210 missing, generation of API documentation is disabled.
     210missing, generation of API documentation is disabled. You can turn off
     211doxygen usage with
     212
     213  #> ./configure DOXYGEN=no
    211214
    212215= Documentation =
  • branches/0.16-stable/configure.ac

    r3792 r3798  
    138138AX_COMPILER_VENDOR
    139139
     140AC_ARG_VAR([DOXYGEN], [path to doxygen program])
    140141have_doxygen=no
    141 AC_PATH_PROG([DOXYGEN], [doxygen], [no])
    142 if test "$DOXYGEN" = "no"; then
     142
     143# Let the user turn off usage of doxygen
     144AS_VAR_IF([DOXYGEN], [no], [
     145  have_doxygen=notwanted
     146], [
     147  AC_PATH_PROG([DOXYGEN], [doxygen], [no])
     148  AS_VAR_IF([DOXYGEN], [no], [
    143149   AC_MSG_WARN([unable to find doxygen application])
    144 else
     150  ], [ # if we found doxygen look that it's new enough
    145151   doxygen_min_version=1.5
    146152   AC_MSG_CHECKING([if doxygen is at least $doxygen_min_version])
     
    149155                      [have_doxygen=yes], [have_doxygen=old])
    150156   AC_MSG_RESULT([$doxygen_version])
    151 fi
     157 ])
     158])
    152159
    153160AC_SUBST(have_doxygen)
     
    679686        [no], [doxygen_message="no (doxygen not found)"],
    680687        [old], [doxygen_message="no (\`$DOXYGEN' too old)"],
     688        [notwanted], [doxygen_message="no"],
    681689        [AC_MSG_WARN([unexpected value \$have_doxygen: '$have_doxygen'])
    682690         AS_BOX([Report this to ]AC_PACKAGE_BUGREPORT)
Note: See TracChangeset for help on using the changeset viewer.