=================================================================== RCS file: /home/cvs/OpenXM/src/cfep/MyDocument.m,v retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- OpenXM/src/cfep/MyDocument.m 2007/09/29 05:49:23 1.7 +++ OpenXM/src/cfep/MyDocument.m 2007/10/07 06:04:55 1.8 @@ -74,6 +74,10 @@ static NSMenuItem *menuItemPrettyPrint = nil; // pret [self addMenuExec]; // adding the execution menu. [textViewIn setAllowsUndo:YES]; if ([textViewIn isContinuousSpellCheckingEnabled]) [textViewIn toggleContinuousSpellChecking: self]; // Turn off the spell checking. + if ([MyEnvironment isX11Installed] != 1) + [self messageDialog: NSLocalizedString(@"X11 is not installed. To install it, insert MacOS DVD1 and open Optional install->Applications->X11",nil) with: 0]; + if ([MyEnvironment isGccInstalled] != 1) + [self messageDialog: NSLocalizedString(@"gcc is not installed. To install it, insert MacOS DVD1 and open Xcode Tools->XcodeTools.mpkg",nil) with: 0]; [self sayTheMessageAboutX]; [self initAux]; }