Fix failure to locate tools

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27215 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-12-06 08:01:09 +00:00
parent 09955c2002
commit 19b84c87b4
7 changed files with 17 additions and 38 deletions

View file

@ -173,7 +173,6 @@ static id<GSSoundSvr> the_server = nil;
if (cmd == nil && recursion == NO)
{
#ifdef GNUSTEP_BASE_LIBRARY
NSEnumerator *enumerator;
NSString *path;
NSFileManager *mgr;
@ -190,16 +189,13 @@ static id<GSSoundSvr> the_server = nil;
break;
}
}
#else
cmd = RETAIN([@GNUSTEP_TOOLS_NO_DESTDIR
stringByAppendingPathComponent: @"gnustep_sndd"]);
#endif
}
if (recursion == YES || cmd == nil)
{
NSLog(@"Unable to contact sound server - "
@"please ensure that gnustep_sndd is running for %@.", description);
@"please ensure that gnustep_sndd is running for %@.",
description);
return nil;
}
else