--- a/host.rc Wed May 08 09:57:58 2013 +0200
+++ b/host.rc Tue May 21 23:16:03 2013 +0200
@@ -78,11 +78,16 @@
"/ running in a development environment...
includes := includes , '-I../../../stx/include '.
] ifFalse:[
- "/ if this is a production program, dont care for a warning
- (Smalltalk isStandAloneApp or:[Smalltalk isHeadless])
- ifFalse:[
- 'host.rc [warning]: no >>include<< directory found along your path.' infoPrintCR.
- 'host.rc [warning]: this might affect stc-compilation from within the browser.' infoPrintCR.
+ ('../../include' asFilename exists) ifTrue:[
+ "/ running in a development environment...
+ includes := includes , '-I../../include '.
+ ] ifFalse:[
+ "/ if this is a production program, dont care for a warning
+ (Smalltalk isStandAloneApp or:[Smalltalk isHeadless])
+ ifFalse:[
+ 'host.rc [warning]: no >>include<< directory found along your path.' infoPrintCR.
+ 'host.rc [warning]: this might affect stc-compilation from within the browser.' infoPrintCR.
+ ]
]
]
].