[m-rev.] diff: add --enable-hlc-ll-debug-grades to configure

Peter Ross pro at missioncriticalit.com
Thu Mar 22 10:41:34 AEDT 2007


Hi,


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


configure.in:
	Add the option --enable-hlc-ll-debug-grades which adds hlc.gcd.ll_debug
	to the list of grades to install.


Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.487
diff -u -r1.487 configure.in
--- configure.in	13 Feb 2007 00:16:54 -0000	1.487
+++ configure.in	21 Mar 2007 23:36:34 -0000
@@ -2882,6 +2882,11 @@
                   [install profiling versions of the high level C grade]),
    enable_hlc_prof_grades="$enableval",enable_hlc_prof_grades=no)
 
+AC_ARG_ENABLE(hlc-low-level-debug-grades,
+   AC_HELP_STRING([--enable-hlc-low-level-debug-grades],
+                  [install a low level debugging version of the high level C grade]),
+   enable_hlc_ll_debug_grades="$enableval",enable_hlc_ll_debug_grades=no)
+
 # We don't enable the .NET grades by default because that may lead to
 # installation process breaking on Linux systems that have DotGNU or Mono
 # installed.
@@ -2912,6 +2917,7 @@
 	enable_mm_grades=no
 	enable_dmm_grades=no
 	enable_hlc_prof_grades=no
+	enable_hlc_ll_debug_grades=no
 	enable_par_grades=no
 	enable_dotnet_grades=no
 	enable_java_grade=no
@@ -3065,6 +3071,11 @@
 	if test "$enable_decl_debug_grades" = yes; then
 		LIBGRADES="$LIBGRADES $BEST_DEBUG_BASE_GRADE.gc.decldebug"
 	fi
+fi
+
+# Add low level debug grades
+if test "$enable_hlc_ll_debug_grades" = yes; then
+	LIBGRADES="$LIBGRADES hlc.gcd.ll_debug"
 fi
 
 # Add the .par (thread-safe) grade, if it is supported for this system


-- 
Software Engineer                                (Work)   +32 2 757 10 15
Mission Critical                                 (Mobile) +32 485 482 559
--------------------------------------------------------------------------
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