]> www.ginac.de Git - cln.git/blobdiff - configure.in
Interoperability with gcc-3.0 -fuse-cxa-atexit.
[cln.git] / configure.in
index d4959f9a00df1d6c77351b0d6b3ef5e38f7ac3e7..68ffa38404e1261367fc75cc5721f57a7dbe6f80 100644 (file)
@@ -1,5 +1,4 @@
 dnl  AUTOCONF configuration for CLN
-dnl  Bruno Haible 8.1.1999
 dnl
 dnl  configure.in ---<autoconf>--->> configure
 dnl
@@ -13,7 +12,8 @@ dnl  Makefile   ---<make>--->> libcln.a
 dnl
 dnl
 AC_INIT(src/integer/gcd/cl_I_gcd.cc)
-AC_CONFIG_HEADER(include/cln/config.h src/base/cl_base_config.h src/base/cl_gmpconfig.h src/float/cl_float_config.h src/timing/cl_t_config.h)
+AC_CONFIG_AUX_DIR(autoconf)
+AC_CONFIG_HEADER(include/cln/config.h include/cln/version.h src/base/cl_base_config.h src/base/cl_gmpconfig.h src/float/cl_float_config.h src/timing/cl_t_config.h)
 AC_PROG_MAKE_SET
 dnl This piece of sed script replaces every line containing '@subdir@'
 dnl by several consecutive lines, each referencing one subdir.
@@ -65,7 +65,6 @@ CL_CANONICAL_HOST_CPU
 dnl
 dnl           check for build configuration
 dnl
-LIBS=-lm
                       dnl libcln depends on libm
 PACKAGE=cln
                       dnl libtool wants PACKAGE
@@ -75,13 +74,13 @@ AM_PROG_LIBTOOL
 dnl Libtool's library version information for CLN.
 dnl (Not to be confused with CLN's release version.)
 dnl Making new releases:
-dnl * increment CLN_REVISION,
+dnl * increment CL_REVISION,
 dnl * if any functions/classes have been added, removed or changed, increment
-dnl   CLN_CURRENT and set CLN_REVISION to 0,
-dnl * if any functions/classes have been added, increment CLN_AGE,
-dnl * if backwards compatibility has been broken, set CLN_AGE to 0.
-CL_CURRENT=1
-CL_REVISION=0
+dnl   CL_CURRENT and set CL_REVISION to 0,
+dnl * if any functions/classes have been added, increment CL_AGE,
+dnl * if backwards compatibility has been broken, set CL_AGE to 0.
+CL_CURRENT=2
+CL_REVISION=1
 CL_AGE=0
 dnl make substitutions
 AC_SUBST(CL_CURRENT)
@@ -90,7 +89,7 @@ AC_SUBST(CL_AGE)
 dnl release version
 CL_VERSION_MAJOR=1
 CL_VERSION_MINOR=1
-CL_VERSION_PATCHLEVEL=0
+CL_VERSION_PATCHLEVEL=2
 dnl release version for cln/config.h, so it can be tested by the preprocessor
 AC_DEFINE_UNQUOTED(CL_VERSION_MAJOR, $CL_VERSION_MAJOR)
 AC_DEFINE_UNQUOTED(CL_VERSION_MINOR, $CL_VERSION_MINOR)
@@ -145,6 +144,7 @@ dnl           checks for compiler characteristics
 dnl
 CL_CHAR_UNSIGNED
                       dnl DEFS __CHAR_UNSIGNED__ if char is unsigned
+test -d 'include/cln' || mkdir -p 'include/cln'
 CL_MACHINE([integer types and behaviour],${srcdir}/autoconf/intparam.c,include/cln/intparam.h,cl_cv_file_intparam_h)
                       dnl builds include/cln/intparam.h
 CL_MACHINE([floating-point types and behaviour],${srcdir}/autoconf/floatparam.c,include/cln/floatparam.h,cl_cv_file_floatparam_h)