X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=configure.in;h=836c30ca34776348db62a56c4bf7e63b73a2530c;hb=f3b29e52ea5a7b013f8294065920365e5d17d18f;hp=e38db7d07ff8b8fb5f568420702b53284cb0b7a1;hpb=bd038ec003e48a1830206cca86a5cf6b00730345;p=cln.git diff --git a/configure.in b/configure.in index e38db7d..836c30c 100644 --- a/configure.in +++ b/configure.in @@ -13,7 +13,7 @@ dnl Makefile ------>> 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_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 @@ -95,7 +94,7 @@ 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) AC_DEFINE_UNQUOTED(CL_VERSION_PATCHLEVEL, $CL_VERSION_PATCHLEVEL) -dnl concateneted release version +dnl concatenated release version CL_VERSION=$CL_VERSION_MAJOR.$CL_VERSION_MINOR.$CL_VERSION_PATCHLEVEL AC_DEFINE_UNQUOTED(CL_VERSION, $CL_VERSION) AC_SUBST(CL_VERSION) @@ -145,7 +144,6 @@ dnl checks for compiler characteristics dnl CL_CHAR_UNSIGNED dnl DEFS __CHAR_UNSIGNED__ if char is unsigned -test -d 'include' || mkdir 'include' 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) @@ -164,6 +162,7 @@ if test "$with_gmp" = yes; then fi fi if test "$with_gmp" = yes; then + CL_GMP_SET_UINTD AC_DEFINE(CL_USE_GMP) else AC_MSG_WARN([disabling external GNU MP library]) @@ -181,4 +180,4 @@ changequote([,])dnl cp "$srcdir/$f" "$f" fi done -AC_OUTPUT([Makefile src/Makefile tests/Makefile benchmarks/Makefile examples/Makefile doc/Makefile cln-config cln.spec], [chmod +x cln-config]) +AC_OUTPUT([Makefile src/Makefile tests/Makefile benchmarks/Makefile examples/Makefile doc/Makefile cln-config cln-config.1 cln.spec], [chmod +x cln-config])