When building the IDE check that waste is available, to forestall
surprises later (the IDE won't work without waste).
diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile
index 7b4922e..ff689b6 100644
--- a/Mac/OSX/Makefile
+++ b/Mac/OSX/Makefile
@@ -98,6 +98,11 @@
 	$(INSTALL_DATA) $(RESOURCEFILE) $(APPINSTALLDIR)/Contents/Resources/$(RESOURCEFILE)
 	
 install_IDE: $(INSTALLED_PYTHONW)
+	@if $(INSTALLED_PYTHONW) -c "import waste"; then ; else \
+		echo PythonIDE needs the \"waste\" extension module; \
+		echo See Mac/OSX/README for details; \
+		exit 1; \
+	fi
 	$(INSTALLED_PYTHONW) $(srcdir)/Mac/scripts/BuildApplet.py \
 		--output $(PYTHONAPPSDIR)/PythonIDE.app --noargv \
 		$(srcdir)/Mac/Tools/IDE/PythonIDE.py