diff: fix include path in mgnuc.in

Tyson Dowd trd at cs.mu.OZ.AU
Mon Apr 5 20:26:33 AEST 1999


Hi,

The profiler directory was refusing to compile without this as
it sets MERCURY_C_INCL_DIR.

===================================================================


Estimated hours taken: 1

scripts/mgnuc.in:
	Fix a bug fjh introduced in his last change to mgnuc.
	C_INCL_DIR was renamed as MERC_C_INCL_DIR, but the old
	variable name was used to set the include path.


Index: scripts/mgnuc.in
===================================================================
RCS file: /home/mercury1/repository/mercury/scripts/mgnuc.in,v
retrieving revision 1.60
diff -u -r1.60 mgnuc.in
--- mgnuc.in	1999/04/03 17:10:53	1.60
+++ mgnuc.in	1999/04/05 09:47:36
@@ -58,7 +58,7 @@
 FULLARCH=@FULLARCH@
 NONSHARED_LIB_DIR=${MERCURY_NONSHARED_LIB_DIR=@NONSHARED_LIB_DIR@}
 MERC_C_INCL_DIR=${MERCURY_C_INCL_DIR=@LIBDIR@/inc}
-MERC_ALL_C_INCL_DIRS=${MERCURY_ALL_C_INCL_DIRS=-I$C_INCL_DIR}
+MERC_ALL_C_INCL_DIRS=${MERCURY_ALL_C_INCL_DIRS=-I$MERC_C_INCL_DIR}
 LOCAL_C_INCL_DIR=${MERCURY_LOCAL_C_INCL_DIR=/usr/local/include}
 ALL_LOCAL_C_INCL_DIRS=${MERCURY_ALL_LOCAL_C_INCL_DIRS=-I$LOCAL_C_INCL_DIR}
 ALL_C_INCL_DIRS="$MERC_ALL_C_INCL_DIRS $ALL_LOCAL_C_INCL_DIRS"


-- 
       Tyson Dowd           # There isn't any reason why Linux can't be
                            # implemented as an enterprise computing solution.
     trd at cs.mu.oz.au        # Find out what you've been missing while you've
http://www.cs.mu.oz.au/~trd # been rebooting Windows NT. -- InfoWorld, 1998.



More information about the developers mailing list