[m-dev.] trivial diff: no space after "-I"

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Nov 21 00:13:20 AEDT 2000


Estimated hours taken: 0.5

configure.in:
	Delete the space after `-I' options that we pass to the
	C compiler, since some C compilers (e.g. lcc, and the DEC
	OSF1 cc) don't work if you use spaces there.

Workspace: /home/mercury0/fjh/mercury
Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.231
diff -u -d -r1.231 configure.in
--- configure.in	2000/11/12 05:59:16	1.231
+++ configure.in	2000/11/20 13:07:57
@@ -225,14 +225,14 @@
 
 # we also need to add the appropriate `-I' options so that the test programs
 # can #include various Mercury runtime headers.
-CFLAGS="-I runtime -I runtime/machdeps $CFLAGS"
+CFLAGS="-Iruntime -Iruntime/machdeps $CFLAGS"
 
 # Make sure we search /usr/local/include and /usr/local/lib for
 # header files and libraries.  GNU C normally searches /usr/local/include
 # by default, but (inconsistently) it does _not_ search /usr/local/lib;
 # and in any case the user might be using a different C compiler that
 # doesn't search either of those by default.
-CFLAGS="-I /usr/local/include $CFLAGS"
+CFLAGS="-I/usr/local/include $CFLAGS"
 LIBS="-L/usr/local/lib $LIBS"
 
 AC_PROG_CPP

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list