]> www.ginac.de Git - ginac.git/commitdiff
Finalize 1.8.7 release. release_1-8-7
authorRichard Kreckel <kreckel@ginac.de>
Sat, 12 Aug 2023 16:17:41 +0000 (18:17 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Sat, 12 Aug 2023 16:17:41 +0000 (18:17 +0200)
Makefile.am
NEWS
ginac/version.h
m4/ax_cxx_compile_stdcxx.m4
m4/lib-link.m4

index 950d12d5365a00c175991d20f3fb141dc1b1d418..8d66956d90930de471229c3f34bc53dc4a0eb5a1 100644 (file)
@@ -17,7 +17,7 @@ CMAKE_FILES = CMakeLists.txt \
              cmake/modules/FindGiNaC.cmake \
              cmake/modules/FindLibDL.cmake
 
-BUILD_HELPERS = scripts/yaptu.py scripts/fixupind.py
+BUILD_HELPERS = scripts/yaptu.py
 
 # All the rest of the distributed files
 EXTRA_DIST = ginac.pc GiNaC.spec $(BUILD_HELPERS) $(CMAKE_FILES)
diff --git a/NEWS b/NEWS
index 546b0ff3d663a6ac98ea74db6efb6e8f38f256df..828b0130e9dbc02cae70f73d060937df6252d4fd 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,6 @@
 This file records noteworthy changes.
 
-1.8.7 (dd mm yyyy)
+1.8.7 (12 August 2023)
 * Fix series expansion of polynomial(x)^n for small and large n.
 * Fix bugs in internal parser from strings.
 * Make ginsh evaluate line-by-line in non-interactive mode.
index 9b3301fd3930c91b58706ba1a9f7dd65e3649e34..c101910f10d6daefb6c22d6fe521cc5e69ac7482 100644 (file)
@@ -30,7 +30,7 @@
 #define GINACLIB_MINOR_VERSION 8
 
 /* Micro version of GiNaC */
-#define GINACLIB_MICRO_VERSION 6
+#define GINACLIB_MICRO_VERSION 7
 
 // GiNaC library version information. It has very little to do with GiNaC
 // version number. In particular, library version is OS dependent. 
@@ -56,7 +56,7 @@
 //  * change matrix inverse to use default argument (twice)
 //  * check for interfaces marked as deprecated
 #define GINAC_LT_CURRENT  12
-#define GINAC_LT_REVISION 5
+#define GINAC_LT_REVISION 6
 #define GINAC_LT_AGE      1
 
 /*
index a3d964c699aac74685d2407f3f01ad077d1a15a1..8edf5152ec7a91bea5858436ae70bb6e877689a4 100644 (file)
@@ -43,7 +43,7 @@
 #   and this notice are preserved.  This file is offered as-is, without any
 #   warranty.
 
-#serial 15
+#serial 18
 
 dnl  This macro is based on the code from the AX_CXX_COMPILE_STDCXX_11 macro
 dnl  (serial version number 13).
@@ -104,9 +104,18 @@ AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl
     dnl HP's aCC needs +std=c++11 according to:
     dnl http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf
     dnl Cray's crayCC needs "-h std=c++11"
+    dnl MSVC needs -std:c++NN for C++17 and later (default is C++14)
     for alternative in ${ax_cxx_compile_alternatives}; do
-      for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
-        cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch])
+      for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}" MSVC; do
+        if test x"$switch" = xMSVC; then
+          dnl AS_TR_SH maps both `:` and `=` to `_` so -std:c++17 would collide
+          dnl with -std=c++17.  We suffix the cache variable name with _MSVC to
+          dnl avoid this.
+          switch=-std:c++${alternative}
+          cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_${switch}_MSVC])
+        else
+          cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch])
+        fi
         AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch,
                        $cachevar,
           [ac_save_CXX="$CXX"
index 653e34f8d1c28cde18b191b62ea07e30edfc1b2d..5f8afae61a6a6093547ff10737765aa791fade0e 100644 (file)
@@ -224,7 +224,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
     additional_libdir3=
   fi
   dnl Search the library and its dependencies in $additional_libdir and
-  dnl $LDFLAGS. Using breadth-first-seach.
+  dnl $LDFLAGS. Use breadth-first search.
   LIB[]NAME=
   LTLIB[]NAME=
   INC[]NAME=