Merge from dawn

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4853 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 1999-09-09 02:56:20 +00:00
parent e7e9407307
commit 078e46d305
346 changed files with 2126 additions and 1058 deletions

13
config/config.loadtest.m Normal file
View file

@ -0,0 +1,13 @@
@interface Test
static int test_result;
+(void) load;
+(int) test_result;
@end
@implementation Test
static int test_result = 1;
+(void) load {test_result = 0;}
+(int) test_result {return test_result;}
@end
int main (void) {return [Test test_result];}

View file

@ -0,0 +1,8 @@
#include <objc/objc.h>
main()
{
objc_condition_timedwait(NULL,NULL,NULL);
exit(0);
}

10
config/config_thread.m Normal file
View file

@ -0,0 +1,10 @@
/* Test whether Objective-C runtime was compiled with thread support */
/* From thr.c */
extern int __objc_init_thread_system(void);
int
main()
{
return (__objc_init_thread_system());
}