X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=configure.ac;h=94cb5733b85f23e58cab9a981fd273523e635cdf;hp=3bc8fb8f08e9d4b5541c7d60081117734122f5f1;hb=6f8e33fb3604e30db5a67684ddf8bde6997efd0c;hpb=7682d7a967d5df4e3d45fd47b4b96ee33daa48bf diff --git a/configure.ac b/configure.ac index 3bc8fb8f..94cb5733 100644 --- a/configure.ac +++ b/configure.ac @@ -19,10 +19,10 @@ 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=0 -GINACLIB_MICRO_VERSION=5 -GINACLIB_INTERFACE_AGE=3 -GINACLIB_BINARY_AGE=5 +GINACLIB_MINOR_VERSION=3 +GINACLIB_MICRO_VERSION=0 +GINACLIB_INTERFACE_AGE=0 +GINACLIB_BINARY_AGE=0 GINACLIB_VERSION=$GINACLIB_MAJOR_VERSION.$GINACLIB_MINOR_VERSION.$GINACLIB_MICRO_VERSION AC_SUBST(GINACLIB_MAJOR_VERSION) @@ -41,8 +41,8 @@ dnl The version number in newly created archives will be ARCHIVE_VERSION. dnl Archives version (ARCHIVE_VERSION-ARCHIVE_AGE) thru ARCHIVE_VERSION can dnl be read by this version of the GiNaC library. -ARCHIVE_VERSION=1 -ARCHIVE_AGE=1 +ARCHIVE_VERSION=2 +ARCHIVE_AGE=2 AC_SUBST(ARCHIVE_VERSION) AC_SUBST(ARCHIVE_AGE) @@ -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) @@ -115,6 +111,7 @@ AC_CHECK_HEADER(sstream, , GINAC_ERROR([The standard header file could AC_CHECK_HEADER(typeinfo, , GINAC_ERROR([The standard header file could not be found.])) AC_CHECK_HEADER(stdexcept, , GINAC_ERROR([The standard header file could not be found.])) AC_CHECK_HEADER(algorithm, , GINAC_ERROR([The standard header file could not be found.])) +AC_CHECK_HEADER(limits, , GINAC_ERROR([The standard header file could not be found.])) dnl We need to have Bruno Haible's CLN installed. dnl (CLN versions >= 1.1.0 must have installed cln.m4 at a visible place, @@ -135,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 @@ -173,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