mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-11 16:50:42 +00:00
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:
parent
d3f3dc0fc0
commit
b81b88d736
2 changed files with 11 additions and 0 deletions
|
@ -11,6 +11,10 @@
|
||||||
* Documentation/install.texi: Update.
|
* Documentation/install.texi: Update.
|
||||||
* Documentation/news.texi: Likewise.
|
* Documentation/news.texi: Likewise.
|
||||||
|
|
||||||
|
* Tools/autogsdoc.m (main): When no libxml, abort with a useful error
|
||||||
|
message.
|
||||||
|
|
||||||
|
|
||||||
2002-01-02 Richard Frith-Macdonald <rfm@gnu.org>
|
2002-01-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/GSXML.m: Tidied some methods and added autogsdoc comments.
|
* Source/GSXML.m: Tidied some methods and added autogsdoc comments.
|
||||||
|
|
|
@ -362,6 +362,13 @@ main(int argc, char **argv, char **env)
|
||||||
[NSProcessInfo initializeWithArguments: argv count: argc environment: env];
|
[NSProcessInfo initializeWithArguments: argv count: argc environment: env];
|
||||||
#endif
|
#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 = [NSUserDefaults standardUserDefaults];
|
||||||
[defs registerDefaults: [NSDictionary dictionaryWithObjectsAndKeys:
|
[defs registerDefaults: [NSDictionary dictionaryWithObjectsAndKeys:
|
||||||
@"Untitled", @"Project",
|
@"Untitled", @"Project",
|
||||||
|
|
Loading…
Reference in a new issue