mail[Wesnoth-commits] r12976 - /trunk/configure.ac


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by grzywacz on August 04, 2006 - 14:19:
Author: grzywacz
Date: Fri Aug  4 14:18:34 2006
New Revision: 12976

URL: http://svn.gna.org/viewcvs/wesnoth?rev=12976&view=rev
Log:
Introduce a new configure switch (--enable-lowmem) for reduced memory usage 
by removing extra functionality

Modified:
    trunk/configure.ac

Modified: trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/configure.ac?rev=12976&r1=12975&r2=12976&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Fri Aug  4 14:18:34 2006
@@ -89,7 +89,20 @@
 then
        CPPFLAGS="$CPPFLAGS -DUSE_TINY_GUI"
 fi
+
 AM_CONDITIONAL([TINYGUI], [test "x$tinygui" = "xyes"])
+
+AC_ARG_ENABLE([lowmem],
+              AS_HELP_STRING([--enable-lowmem], [reduce memory usage by 
removing extra functionality]),
+             [lowmem=$enableval],
+             [lowmem=no])
+
+if test "x$lowmem" = "xyes"
+then
+       CPPFLAGS="$CPPFLAGS -DLOW_MEM"
+fi
+
+AM_CONDITIONAL([LOWMEM], [test "x$lowmem" = "xyes"])
 
 DATADIR=$PACKAGE
 AC_ARG_WITH([datadir-name],




Related Messages


Powered by MHonArc, Updated Fri Aug 04 15:20:14 2006