Changeset 2297 for trunk/configure.ac


Ignore:
Timestamp:
Jul 12, 2010, 3:22:39 PM (11 years ago)
Author:
Peter
Message:

dvi, ps, and pdf docs are no longer supported

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r2266 r2297  
    8585
    8686have_doxygen=no
    87 dx_enable_latex=no
    88 dx_enable_dvi=no
    89 dx_enable_ps=no
    90 dx_enable_pdf=no
    9187AC_PATH_PROG([DOXYGEN], [doxygen], [no])
    9288if test "$DOXYGEN" = "no"; then
     
    9995                      [have_doxygen=yes])
    10096   AC_MSG_RESULT([$doxygen_version])
    101    dx_enable_latex=yes
    102    # doxygen 1.5.8 has a bug for latex output and enums
    103    AS_IF([test $have_doxygen = yes],
    104          [AX_COMPARE_VERSION([$doxygen_version], [eq], [1.5.8],
    105                  [AC_MSG_WARN([doxygen 1.5.8 detected - latex output turned off])
    106                   dx_enable_latex=no])])
    107 fi
    108 
    109 # we need latex output to generate dvi, ps, and pdf
    110 AS_IF([test $dx_enable_latex = yes],
    111   [dx_enable_pdf=yes
    112    ACLTX_PROG_PDFLATEX([dx_enable_pdf=no])
    113    ACLTX_PROG_MAKEINDEX([dx_enable_pdf=no])
    114    dx_enable_dvi=yes
    115    ACLTX_PROG_LATEX([dx_enable_dvi=no])
    116    # ps needs dvi
    117    dx_enable_ps=$dx_enable_dvi
    118    ACLTX_PROG_DVIPS([dx_enable_ps=no])
    119    AS_IF([test "x$dx_enable_ps" != xno], [
    120      YAT_PROG_DVIPS_PSPICTURE([], [dx_enable_ps=no
    121                                    AC_MSG_NOTICE([ps generation turned off])])
    122    ])
    123   ]
    124 )
     97fi
    12598
    12699AC_SUBST(have_doxygen)
    127100AM_CONDITIONAL([DX_ENABLE_HTML], [test x$have_doxygen = xyes])
    128 AM_CONDITIONAL([DX_ENABLE_LATEX], [test x$dx_enable_latex = xyes])
    129 AM_CONDITIONAL([DX_ENABLE_DVI], [test x$dx_enable_dvi = xyes])
    130 AM_CONDITIONAL([DX_ENABLE_PS], [test x$dx_enable_ps = xyes])
    131 AM_CONDITIONAL([DX_ENABLE_PDF], [test x$dx_enable_pdf = xyes])
    132101AC_CONFIG_FILES([test/documentation_test.sh],
    133102                [chmod +x test/documentation_test.sh])
Note: See TracChangeset for help on using the changeset viewer.