| Last change
                  on this file since 1689:f1795dafe42c was
                  1489:f7e9cc3bc2da,
                  checked in by Akos Ladanyi, 20 years ago | 
        
          | separate file for each m4 script
consistent naming
removed cxxflags.m4
 | 
        | File size:
            786 bytes | 
      
      
        
  | Line |  | 
|---|
| 1 | AC_DEFUN([LX_ENABLE_DOC], | 
|---|
| 2 | [ | 
|---|
| 3 | AC_ARG_ENABLE([doc], | 
|---|
| 4 | AS_HELP_STRING([--enable-doc@<:@=yes|no|full@:>@], [build the documentation (full enables internal documentation too) @<:@default=yes@:>@]) | 
|---|
| 5 | AS_HELP_STRING([--disable-doc], [do not build the documentation]), | 
|---|
| 6 | [], [enable_doc=yes]) | 
|---|
| 7 |  | 
|---|
| 8 | AC_MSG_CHECKING([whether to build the documention]) | 
|---|
| 9 | case "$enable_doc" in | 
|---|
| 10 | yes) | 
|---|
| 11 | DOXYGEN_INTERNAL_DOCS=NO | 
|---|
| 12 | AC_MSG_RESULT([yes]) | 
|---|
| 13 | ;; | 
|---|
| 14 | full) | 
|---|
| 15 | DOXYGEN_INTERNAL_DOCS=YES | 
|---|
| 16 | AC_MSG_RESULT([full]) | 
|---|
| 17 | ;; | 
|---|
| 18 | no) | 
|---|
| 19 | DOXYGEN_INTERNAL_DOCS=NO | 
|---|
| 20 | AC_MSG_RESULT([no]) | 
|---|
| 21 | ;; | 
|---|
| 22 | *) | 
|---|
| 23 | AC_MSG_ERROR([bad value $enable_doc for option --enable-doc]) | 
|---|
| 24 | ;; | 
|---|
| 25 | esac | 
|---|
| 26 | AC_SUBST(DOXYGEN_INTERNAL_DOCS) | 
|---|
| 27 | AM_CONDITIONAL([WANT_DOC], [test x"$enable_doc" != x"no"]) | 
|---|
| 28 | ]) | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.