Better configuration, gui will compile without DPS

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2954 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1998-09-03 14:35:49 +00:00
parent 1572c3e3da
commit b8fca3dc09
5 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Mon Aug 31 16:28:58 1998 Adam Fedor <fedor@ultra.doc.com>
* src/NSBundle.m (+mainBundle:): Remove *_obj directory to
find main bundle path.
Wed Sep 02 14:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk> Wed Sep 02 14:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* src/Coder.m: ([-decodeObject:]) fixed to autorelease as it should. * src/Coder.m: ([-decodeObject:]) fixed to autorelease as it should.

View file

@ -280,6 +280,10 @@ _bundle_load_callback(Class theClass, Category *theCategory)
s = [path lastPathComponent]; s = [path lastPathComponent];
if ([s isEqual: gnustep_target_cpu]) if ([s isEqual: gnustep_target_cpu])
path = [path stringByDeletingLastPathComponent]; path = [path stringByDeletingLastPathComponent];
/* object dir */
s = [path lastPathComponent];
if ([s hasSuffix: @"_obj"])
path = [path stringByDeletingLastPathComponent];
NSDebugLLog(@"NSBundle", @"(NSBundle): Found main in %@\n", path); NSDebugLLog(@"NSBundle", @"(NSBundle): Found main in %@\n", path);
/* We do alloc and init separately so initWithPath: knows /* We do alloc and init separately so initWithPath: knows

View file

@ -21,7 +21,9 @@
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#ifndef _REENTRANT
#define _REENTRANT #define _REENTRANT
#endif
#include <config.h> #include <config.h>
#include <gnustep/base/preface.h> #include <gnustep/base/preface.h>

View file

@ -37,7 +37,6 @@ TEST_TOOL_NAME = \
test01 \ test01 \
test02 \ test02 \
heap \ heap \
nxst \
prepend \ prepend \
pipes \ pipes \
server \ server \

View file

@ -1,7 +1,7 @@
#include <stdio.h> #include <stdio.h>
#include <gnustep/base/TcpPort.h> #include <gnustep/base/TcpPort.h>
#include <gnustep/base/Notification.h>
#include <gnustep/base/Invocation.h> #include <gnustep/base/Invocation.h>
#include <Foundation/NSNotification.h>
#include <Foundation/NSRunLoop.h> #include <Foundation/NSRunLoop.h>
id announce_new_connection (id notification) id announce_new_connection (id notification)