[m-rev.] diff: fix up-to-date check on Cygwin

Julien Fischer juliensf at csse.unimelb.edu.au
Fri Oct 29 16:11:39 AEDT 2010


Branches: main, 10.04

Fix a configuration problem on Cygwin.
(Note this affects compilers that produce exectuables that rely on cygwin.dll,
no those that are just using Cygwin as environment for cross-compiling to
native Windows.)

configure.in:
 	Don't pass `--linkage static' on Cygwin hosts when checking for
 	an up-to-date mmc since the static version of libgcc_s may not
 	be present.

Julien.

Index: configure.in
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/configure.in,v
retrieving revision 1.564
diff -u -r1.564 configure.in
--- configure.in	30 Sep 2010 07:23:30 -0000	1.564
+++ configure.in	29 Oct 2010 04:58:37 -0000
@@ -261,6 +261,7 @@
      *solaris2.10)       link_static_opt= ;;
      *apple*darwin*)     link_static_opt= ;;
      *linux*)            link_static_opt= ;;
+    *cygwin*)           link_static_opt= ;;
      *)                  link_static_opt="--linkage static" ;;
  esac


--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list