Abort with error message when no libxml

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11958 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2002-01-02 21:18:09 +00:00
parent 15cbe22642
commit c005d3b7a3
2 changed files with 11 additions and 0 deletions

View file

@ -362,6 +362,13 @@ main(int argc, char **argv, char **env)
[NSProcessInfo initializeWithArguments: argv count: argc environment: env];
#endif
#if HAVE_LIBXML == 0
NSLog(@"ERROR: The GNUstep Base Library was built\n"
@" without an available libxml library. Autogsdoc needs the libxml\n"
@" library to function. Aborting");
exit(1);
#endif
defs = [NSUserDefaults standardUserDefaults];
[defs registerDefaults: [NSDictionary dictionaryWithObjectsAndKeys:
@"Untitled", @"Project",