[commit] r2119 - configure SUGAR=1 unless --without-SUGAR

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[commit] r2119 - configure SUGAR=1 unless --without-SUGAR

commits-3
 
Author: piumarta
Date: 2009-08-31 13:06:40 -0700 (Mon, 31 Aug 2009)
New Revision: 2119

Modified:
   trunk/platforms/unix/ChangeLog
   trunk/platforms/unix/vm/config.cmake
Log:
configure SUGAR=1 unless --without-SUGAR

Modified: trunk/platforms/unix/ChangeLog
===================================================================
--- trunk/platforms/unix/ChangeLog 2009-08-31 19:52:56 UTC (rev 2118)
+++ trunk/platforms/unix/ChangeLog 2009-08-31 20:06:40 UTC (rev 2119)
@@ -1,5 +1,7 @@
 2009-08-31    <[hidden email]>
 
+ * vm/config.cmake: Configure SUGAR as 1 unless --without-SUGAR.
+
  * plugins/SqueakFFIPrims/config.cmake: Correctly detect arch and
  abi.  Enable ASM language.
 

Modified: trunk/platforms/unix/vm/config.cmake
===================================================================
--- trunk/platforms/unix/vm/config.cmake 2009-08-31 19:52:56 UTC (rev 2118)
+++ trunk/platforms/unix/vm/config.cmake 2009-08-31 20:06:40 UTC (rev 2119)
@@ -221,3 +221,11 @@
 CHECK_FUNCTION_EXISTS (mmap HAVE_MMAP)
 
 CONFIG_DEFINE (HAVE_MMAP)
+
+# OLPC
+
+IF (NOT without-SUGAR)
+  SET (SUGAR 1)
+ENDIF ()
+
+CONFIG_DEFINE (SUGAR)