X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=configure.ac;h=94cb5733b85f23e58cab9a981fd273523e635cdf;hp=c5c5631594bd73c9c76e3f1b404e7befb2db55f7;hb=6f8e33fb3604e30db5a67684ddf8bde6997efd0c;hpb=ae0841226375ede1f1008a9a18a3e8abb72dc300 diff --git a/configure.ac b/configure.ac index c5c56315..94cb5733 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ dnl autoconf sees "AC_MAJOR_VERSION" and complains about an undefined macro dnl (don't we all *love* M4?)... GINACLIB_MAJOR_VERSION=1 -GINACLIB_MINOR_VERSION=2 +GINACLIB_MINOR_VERSION=3 GINACLIB_MICRO_VERSION=0 GINACLIB_INTERFACE_AGE=0 GINACLIB_BINARY_AGE=0 @@ -72,10 +72,6 @@ AM_PROG_LIBTOOL AM_PROG_LEX AC_PROG_YACC -dnl Configure options. -AC_ARG_ENABLE(html-doc, [ --enable-html-doc build HTML documentation [default=no]], , enable_html_doc=no) -AC_ARG_ENABLE(ps-doc, [ --enable-ps-doc build PostScript documentation [default=no]], , enable_ps_doc=no) - dnl Check for data types which are needed by the hash function dnl (golden_ratio_hash). AC_CHECK_SIZEOF(long, 4) @@ -136,34 +132,18 @@ dnl Documentation needs only be built when extending it, so never mind if it dnl cannot find those helpers: AC_PATH_PROG(DOXYGEN, doxygen, "") AC_PATH_PROG(LATEX, latex, "") +AC_PATH_PROG(PDFLATEX, pdflatex, "") AC_PATH_PROG(MAKEINDEX, makeindex, "") AC_PATH_PROG(DVIPS, dvips, "") AC_PATH_PROG(FIG2DEV, fig2dev, "") -dnl Determine which documentation shall be built -TUTORIAL_TARGETS= -REFERENCE_TARGETS= -if test "x${enable_html_doc}" = "xyes"; then - TUTORIAL_TARGETS="$TUTORIAL_TARGETS ginac.html" - if [[ "$DOXYGEN" ]]; then - REFERENCE_TARGETS="$REFERENCE_TARGETS index.html" - fi -fi -if test "x${enable_ps_doc}" = "xyes"; then - TUTORIAL_TARGETS="$TUTORIAL_TARGETS ginac.ps" - if [[ "$DOXYGEN" ]]; then - REFERENCE_TARGETS="$REFERENCE_TARGETS reference.ps" - fi -fi -AC_SUBST(TUTORIAL_TARGETS) -AC_SUBST(REFERENCE_TARGETS) - dnl Output makefiles etc. AC_CONFIG_FILES([ Makefile GiNaC.spec ginac-config ginac-config.1 +ginac.pc ginac/Makefile ginac/version.h check/Makefile @@ -174,6 +154,10 @@ tools/viewgar.1 doc/Makefile doc/tutorial/Makefile doc/reference/Makefile +doc/reference/DoxyfileHTML +doc/reference/DoxyfileTEX +doc/reference/DoxyfilePDF +doc/reference/Doxyfooter ]) AC_CONFIG_COMMANDS([default],[[chmod +x ginac-config]],[[]]) AC_OUTPUT