host.rc
changeset 405 46fe89d09123
parent 394 70ecff920548
child 498 6f86545993ac
--- a/host.rc	Fri Dec 03 18:36:14 1999 +0100
+++ b/host.rc	Fri Dec 03 20:36:58 1999 +0100
@@ -161,8 +161,12 @@
 	('/opt/smalltalk/include' asFilename exists) ifTrue:[
 	    includes := includes , '-I/opt/smalltalk/include '.
 	] ifFalse:[
-	    'private.rc [warning]: no >>include<< directory found along your path.' errorPrintCR.
-	    'private.rc [warning]: this will affect stc-compilation from within the browser.' infoPrintCR.
+	    "/ if this is a production program, dont care for a warning
+	    (Smalltalk isStandAloneApp or:[Smalltalk isHeadless]) 
+	    ifFalse:[
+	        'private.rc [warning]: no >>include<< directory found along your path.' infoPrintCR.
+	        'private.rc [warning]: this will affect stc-compilation from within the browser.' infoPrintCR.
+	    ]
 	]
     ].
 ].