[m-rev.] trivial diff: fix configuration test for Visual C

Julien Fischer juliensf at csse.unimelb.edu.au
Sun Sep 4 03:49:55 AEST 2011


Branches: main, 11.07

aclocal.m4:
 	Invoke Visual C correctly in one of the configuration
 	tests.

 	Fix a typo: s/confests.c/conftest.c/

Julien.

Index: aclocal.m4
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/aclocal.m4,v
retrieving revision 1.38
diff -u -r1.38 aclocal.m4
--- aclocal.m4	25 Aug 2011 14:16:37 -0000	1.38
+++ aclocal.m4	3 Sep 2011 17:41:47 -0000
@@ -553,7 +553,7 @@
  }
  EOF

-echo "$CC -o conftest conftests.c" >&AC_FD_CC 2>&1
+echo "$CC -o conftest conftest.c" >&AC_FD_CC 2>&1
  if
      $CC -o conftest conftest.c
  then
@@ -611,9 +611,9 @@
  }
  EOF

-echo "$CC -o conftest contest.c" >&AC_FD_CC 2>&1
+echo "$CC conftest.c -Fecontest" >&AC_FD_CC 2>&1
  if
-    $CC -o conftest conftest.c
+    $CC conftest.c -Feconftest > /dev/null
  then
      mercury_cv_msvc_version=`./conftest`
  else

--------------------------------------------------------------------------
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