[m-rev.] for post-commit review: updates for the ml script

Julien Fischer jfischer at opturion.com
Thu Jan 23 20:12:39 AEDT 2020


For post-commit review by Peter.

--------------------------------

Updates for the ml script.

scripts/ml.in:
     Shared librares are now the default on FreeBSD systems.

     Handle 64-bit Cygwin systems the same as 32-bit ones.

     Update references to the configure script source.

Julien.

diff --git a/scripts/ml.in b/scripts/ml.in
index f9f00ce..88676e1 100644
--- a/scripts/ml.in
+++ b/scripts/ml.in
@@ -133,9 +133,9 @@ case $mercury_libs in
  	default)
  		mercury_libs=shared
  		case $FULLARCH in
-			i*86-*-freebsd*|i*86-*-cygwin*|i*86-*-solaris*)
+			*-cygwin*|i*86-*-solaris*)
  				# Shared libraries are not the default on the above systems.
-				# See configure.in for details.
+				# See configure.ac for details.
  				case $make_shared_lib in
  					false)
  						mercury_libs=static
@@ -151,9 +151,9 @@ case $all_libs in
  	default)
  		all_libs=shared
  		case $FULLARCH in
-			i*86-*-freebsd*|i*86-*-cygwin*)
+			*-cygwin*)
  				# Shared libraries are not the default on the above systems.
-				# See configure.in for details.
+				# See configure.ac for details.
  				#
  				# We don't do this for Solaris/x86 because -ldl is
  				# only available for dynamically linked executables


More information about the reviews mailing list