]> www.ginac.de Git - ginac.git/blobdiff - configure.ac
include ginac.pc in libginac-dev [Alexei Sheplyakov]
[ginac.git] / configure.ac
index dd4eadecbcd80643616fcd7b05fcb35de56a23bb..94cb5733b85f23e58cab9a981fd273523e635cdf 100644 (file)
@@ -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=14
-GINACLIB_INTERFACE_AGE=1
-GINACLIB_BINARY_AGE=14
+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 <sstream> header file could
 AC_CHECK_HEADER(typeinfo, , GINAC_ERROR([The standard <typeinfo> header file could not be found.]))
 AC_CHECK_HEADER(stdexcept, , GINAC_ERROR([The standard <stdexcept> header file could not be found.]))
 AC_CHECK_HEADER(algorithm, , GINAC_ERROR([The standard <algorithm> header file could not be found.]))
+AC_CHECK_HEADER(limits, , GINAC_ERROR([The standard <limits> 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