[m-rev.] trivial diff: aclocal.m4: fix quoting error

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Nov 14 19:30:36 AEDT 2002


Estimated hours taken: 0.25
Branches: main, release

aclocal.m4:
	Fix a quoting error that resulted in a spurious error message
	from configure when configuring with non-GCC C compilers.

Workspace: /home/mars/fjh/ws1/mercury
Index: aclocal.m4
===================================================================
RCS file: /home/mercury1/repository/mercury/aclocal.m4,v
retrieving revision 1.13
diff -u -d -r1.13 aclocal.m4
--- aclocal.m4	10 Oct 2002 22:31:06 -0000	1.13
+++ aclocal.m4	14 Nov 2002 08:28:55 -0000
@@ -65,7 +65,7 @@
 AC_REQUIRE([AC_PROG_CC])
 AC_MSG_CHECKING(whether to pass -I/usr/local/include to C compiler)
 ALL_LOCAL_C_INCL_DIRS=""
-if test $GCC = yes; then
+if test "$GCC" = yes; then
 	# Don't add -I/usr/local/include, since it causes a warning
 	# with gcc 3.1, and gcc already searches /usr/local/include
 	AC_MSG_RESULT(no)

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list