comparison gen/configfile.cpp @ 1114:454f0c8acc4b

Hopefully fix #232
author Frits van Bommel <fvbommel wxs.nl>
date Fri, 13 Mar 2009 19:22:40 +0100
parents b30fe7e1dbb9
children b6e819244062
comparison
equal deleted inserted replaced
1113:123812e02bc8 1114:454f0c8acc4b
39 39
40 if (!p.exists()) 40 if (!p.exists())
41 { 41 {
42 // 3) try the install-prefix/etc 42 // 3) try the install-prefix/etc
43 p = sys::Path(LDC_INSTALL_PREFIX); 43 p = sys::Path(LDC_INSTALL_PREFIX);
44 #if !_WIN32
45 // Does Window need something similar?
46 p.appendComponent("etc");
47 #endif
44 p.appendComponent(filename); 48 p.appendComponent(filename);
45 49
46 if (!p.exists()) 50 if (!p.exists())
47 { 51 {
48 // 4) try next to the executable 52 // 4) try next to the executable