Include automatic determination of poly version.
--- a/etc/settings Thu Apr 14 19:16:07 2005 +0200
+++ b/etc/settings Thu Apr 14 19:30:57 2005 +0200
@@ -33,7 +33,9 @@
# Poly/ML 4.0, 4.1, 4.1.x
# include version number, needed for choosing right options
- ML_SYSTEM=polyml-4.1.3
+ # If automatic setting doesn't work, use e.g. ML_VERSION=4.1.3
+ ML_VERSION=$(echo "OS.Process.exit OS.Process.success;" | /usr/bin/poly --version | sed -n 's,Poly/ML[ ]*\([^ ]*\)[ ]*Release,\1,p')
+ ML_SYSTEM=polyml-${ML_VERSION}
# processor/OS type
ML_PLATFORM=x86-linux
# where to find binaries