Math Processor Unit Library

libmpu – library of arithmetic functions for integer, real, and complex numbers of increased digit capacity

16 Commits   0 Branches   2 Tags
author: kx <kx@radix-linux.su> 2024-12-20 16:11:07 +0300 committer: kx <kx@radix-linux.su> 2024-12-20 16:11:07 +0300 commit: 868b2b66b564b5c00e3a74d10be45db7151627ac parent: cce2ae8d3312493b7653358bb4af201d3271377b
Commit Summary:
Version 1.0.14
Diffstat:
1 file changed, 9 insertions, 0 deletions
diff --git a/version-tool b/version-tool
new file mode 100755
index 0000000..1e8bbcb
--- /dev/null
+++ b/version-tool
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+config=$1
+
+version=`cat "$config" | grep '^AC_INIT' | sed 's,.*\[\([0-9]*\.[0-9]*\.[0-9]*\)\].*,\1,'`
+
+echo "${version}"
+
+
+#
+# доработать так, стобы он мог выдавать version_HEX в зависимости от параметра -d short/hex
+#
+# $1 - это configure.ac но с путем к top_srcdir !!!!!!!!!
+#
+