]> www.ginac.de Git - cln.git/blobdiff - configure.ac
Enable modifying operators by default.
[cln.git] / configure.ac
index bcaf4150cb6e9c09972f06765fb1104b9d0853d5..2c90a92cbdd99eb7fb12c75a15a092c57d7aaa1f 100644 (file)
@@ -75,6 +75,7 @@ case $host_os in
   dnl Shared libraries are not supported on some platforms [yet]
     ;;
     *)
+     AC_ENABLE_SHARED
     ;;
 esac
 AC_PROG_LIBTOOL
@@ -91,7 +92,7 @@ dnl * if backwards compatibility has been broken, set CL_AGE to 0.
 dnl $(CL_CURRENT):$(CL_REVISION):$(CL_AGE) results in
 dnl libcln.so.$(CL_CURRENT)-$(CL_AGE)
 CL_CURRENT=5
-CL_REVISION=0
+CL_REVISION=1
 CL_AGE=0
 dnl make substitutions
 AC_SUBST(CL_CURRENT)
@@ -100,7 +101,7 @@ AC_SUBST(CL_AGE)
 dnl release version
 CL_VERSION_MAJOR=1
 CL_VERSION_MINOR=2
-CL_VERSION_PATCHLEVEL=0
+CL_VERSION_PATCHLEVEL=1
 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)
@@ -159,8 +160,10 @@ CL_MACHINE([floating-point types and behaviour],${srcdir}/autoconf/floatparam.c,
 dnl
 dnl           interfacing to GNU gmp (must be at least version 3)
 dnl
-AC_ARG_WITH(gmp, [  --with-gmp              use external fast low-level functions from GNU MP 3.
-                          [default=yes]], ,with_gmp="yes")
+AC_ARG_WITH(gmp, AS_HELP_STRING([--with-gmp], 
+  [use external fast low-level functions from GNU MP (default: yes).]),
+  with_gmp="$withval",
+  with_gmp="yes")
 if test "$with_gmp" = yes; then
   CL_GMP_H_VERSION
   if test "$cl_cv_new_gmp_h" = no; then with_gmp="no"; fi
@@ -188,4 +191,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-config.1 cln.spec cln.pc], [chmod +x cln-config])
+AC_OUTPUT([Makefile src/Makefile tests/Makefile benchmarks/Makefile examples/Makefile doc/Makefile cln.spec cln.pc])