Fixed typo in last change

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26974 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2008-10-27 14:06:22 +00:00
parent be804b53cf
commit e86b337250
3 changed files with 2437 additions and 3164 deletions

View file

@ -1,13 +1,13 @@
/* Test whether Objective-C runtime was compiled with thread support */
#ifdef gnu-runtime
#ifdef GNU_RUNTIME
/* Dummy NXConstantString impl for so libobjc that doesn't include it */
#include <objc/NXConstStr.h>
@implementation NXConstantString
@end
#endif
#ifdef gnu-runtime
#ifdef GNU_RUNTIME
#include <objc/thr.h>
#endif
@ -18,7 +18,7 @@ main()
{
id o = [Object new];
#ifdef gnu-runtime
#ifdef GNU_RUNTIME
return (objc_thread_detach (@selector(hash), o, nil) == NULL) ? -1 : 0;
#else
/* On Apple, there is no ObjC-specific thread library. We need to

5593
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -1084,7 +1084,7 @@ saved_CFLAGS="$CFLAGS"
saved_LIBS="$LIBS"
CFLAGS="$CFLAGS -x objective-c -I$srcdir $OBJC_CPPFLAGS $OBJC_LDFLAGS"
if test "$OBJC_RUNTIME_LIB" = "gnu"; then
CFLAGS="$CFLAGS -fgnu-runtime"
CFLAGS="$CFLAGS -fgnu-runtime -DGNU_RUNTIME"
fi
if test "$OBJC_RUNTIME_LIB" = "nx"; then
CFLAGS="$CFLAGS -DNeXT_RUNTIME"