source: m4/ax_prog_doxygen.m4@ 4702

Last change on this file since 4702 was 4702, checked in by Christoph Mayer, 15 years ago

locking für enter method neu

File size: 769 bytes
Line 
1# SYNOPSIS
2#
3# AX_PROG_DOXYGEN()
4#
5# DESCRIPTION
6#
7# Test for the Doxygen
8#
9# --enable-doxygen option enable or disable generation of the
10# documentation, when available.
11#
12# LAST MODIFICATION
13#
14# 2008-12-11
15
16AC_DEFUN([AX_PROG_DOXYGEN],
17[
18AC_ARG_VAR([DOXYGEN_PROG],[Doxygen program])
19
20AC_ARG_ENABLE([doxygen],
21 AS_HELP_STRING([--enable-doxygen], [Turn on doxygen documentation generation.]))
22
23AM_CONDITIONAL([DOXYGEN], [test "x${enable_doxygen}" = "xyes"])
24
25if test "${enable_doxygen}" = "yes"; then
26 dnl Check for existance of doxygen
27 AC_CHECK_PROG([DOXYGEN_PROG],
28 [doxygen],
29 doxygen,
30 no)
31fi
32
33if test "$DOXYGEN_PROG" = "no"; then
34 AC_MSG_ERROR([Doxygen was not found. Check for installation or configure with --disable-doxygen])
35fi
36])
Note: See TracBrowser for help on using the repository browser.