--- a/host.rc Wed Dec 21 13:30:17 2005 +0100
+++ b/host.rc Wed Dec 21 14:24:03 2005 +0100
@@ -149,29 +149,21 @@
Compiler ccCompilationOptions:'-O'.
includes := ''.
- ('../../include' asFilename exists) ifTrue:[
- "/ running in a development environment ...
- includes := includes , '-I../../include '.
- ].
incDir := Smalltalk getSystemFileName:'include'.
incDir notNil ifTrue:[
includes := includes , '-I' , incDir asFilename pathName , ' '
] ifFalse:[
- "/ running in a shared environment ...
- ('/usr/local/lib/smalltalk/include' asFilename exists) ifTrue:[
- includes := includes , '-I/usr/local/lib/smalltalk/include '.
+ ('../../../stx/include' asFilename exists) ifTrue:[
+ "/ running in a development environment ...
+ includes := includes , '-I../../../stx/include '.
] ifFalse:[
- ('/opt/smalltalk/include' asFilename exists) ifTrue:[
- includes := includes , '-I/opt/smalltalk/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 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:[
+ 'host.rc [warning]: no >>include<< directory found along your path.' infoPrintCR.
+ 'host.rc [warning]: this might affect stc-compilation from within the browser.' infoPrintCR.
]
- ].
+ ]
].
Compiler stcCompilationIncludes:includes.