mail[Wesnoth-commits] r25176 - /trunk/SConstruct


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

Header


Content

Posted by soliton . de on March 27, 2008 - 02:34:
Author: soliton
Date: Thu Mar 27 02:34:23 2008
New Revision: 25176

URL: http://svn.gna.org/viewcvs/wesnoth?rev=25176&view=rev
Log:
* implement fifodir

Modified:
    trunk/SConstruct

Modified: trunk/SConstruct
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/SConstruct?rev=25176&r1=25175&r2=25176&view=diff
==============================================================================
--- trunk/SConstruct (original)
+++ trunk/SConstruct Thu Mar 27 02:34:23 2008
@@ -25,6 +25,7 @@
 opts.Add(BoolOption('raw_sockets', 'Set to use raw receiving sockets in the 
multiplayer network layer rather than the SDL_net facilities', False))
 opts.Add(BoolOption('internal_data', 'Set to put data in Mac OS X 
application fork', False))
 opts.Add(PathOption('prefsdir', 'user preferences directory', ".wesnoth", 
PathOption.PathAccept))
+opts.Add(PathOption('fifodir', 'directory for the wesnothd fifo socket 
file', "/var/run/wesnothd", PathOption.PathAccept))
 opts.Add(BoolOption('python', 'Enable in-game python extensions.', True))
 
 # These are implemented in the installation productions
@@ -34,7 +35,6 @@
 # FIXME: These are not yet implemented
 opts.Add(BoolOption('lite', 'Set to build lite version of wesnoth (no music 
or large images)', False))
 opts.Add(BoolOption('dummy_locales','Set to enable Wesnoth private locales', 
False))
-opts.Add(PathOption('fifodir', 'directory for the wesnothd fifo socket 
file', "/var/run/wesnothd", PathOption.PathAccept))
 opts.Add('server_uid', 'user id of the user who runs wesnothd', "")
 opts.Add('server_gid', 'group id of the user who runs wesnothd', "")
 opts.Add(BoolOption('desktop_entry','Clear to disable desktop-entry', True))
@@ -168,6 +168,9 @@
 
 if env['prefsdir']:
     env["CXXFLAGS"].append("-DPREFERENCES_DIR='\"%s\"'" % env['prefsdir'])
+
+if env['fifodir']:
+    env["CXXFLAGS"].append("-DFIFODIR='\"%s\"'" % env['fifodir'])
 
 if env['python']:
     env["CXXFLAGS"].append("-DHAVE_PYTHON")




Related Messages


Powered by MHonArc, Updated Thu Mar 27 03:01:48 2008