host.rc
changeset 677 222fd88429a3
parent 676 98a21f90890a
child 678 728aff120ee7
--- 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.