Changeset 793
- Timestamp:
- 10/15/06 15:50:24 (6 years ago)
- Location:
- trunk/ithildin
- Files:
-
- 2 added
- 3 edited
-
SConstruct (modified) (3 diffs)
-
modules/echo/SConscript (modified) (1 diff)
-
modules/echo/modconfig.h (added)
-
modules/log/SConscript (added)
-
modules/log/log.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ithildin/SConstruct
r787 r793 28 28 env = Environment(ENV = { 29 29 'PATH': os.environ['PATH'], 30 }) 30 }, 31 CPPPATH = ['#/include'] 32 ) 31 33 32 34 # Perform some magic to get the repository version. If we have svn and we … … 279 281 280 282 # Set our final environment parameters. 281 env.Append(CPPPATH = '#/include')282 283 env.Append(LIBPATH = '#/lib') 283 284 env.AppendUnique(RPATH = [env['libdir'], env['libdir'] + '/modules']) … … 314 315 315 316 for m in modules.split(','): 316 if m: env.SConscript('modules/%s/SConscript' % m) 317 if not m: continue 318 # create a modified env for each module 319 modenv = env.Copy() 320 env.SConscript('modules/%s/SConscript' % m, exports = ['modenv']) 321 del modenv 317 322 318 323 # vi:set ts=8 sts=4 sw=4 tw=76 et syntax=python: -
trunk/ithildin/modules/echo/SConscript
r790 r793 16 16 # Build specification for the ithildin library 17 17 env.Install(env['libdir'] + '/modules', 18 env.SharedLibrary(target = 'echo', source = Split(''' 19 echo.c 20 '''), 21 SHLIBPREFIX = '', 22 LIBS = 'ithildin' 18 modenv.SharedLibrary(target = 'echo', source = 'echo.c', SHLIBPREFIX = '', 19 LIBS = 'ithildin', CPPDEFINES = env['CPPDEFINES'] + ['MODULE'], 20 CPPPATH = env['CPPPATH'] + ['.'] 23 21 ) 24 22 ) -
trunk/ithildin/modules/log/log.c
r787 r793 200 200 static int log_parse_conf(conf_list_t *conf) { 201 201 char *s; 202 #ifdef HAVE_SYSLOG 202 203 int facility = LOG_DAEMON; 204 #endif 203 205 conf_list_t *clp = NULL; 204 206 log_hook_t *lhp; … … 212 214 if (conf == NULL) { 213 215 #ifdef HAVE_SYSLOG 214 openlog( PACKAGE_NAME, LOG_PID, facility);216 openlog(me.execname, LOG_PID, facility); 215 217 /* Make a hook that dumps to syslog. */ 216 218 lhp = log_hook_create();
Note: See TracChangeset
for help on using the changeset viewer.
