Commit Graph

13 Commits

Author SHA1 Message Date
Benjamin Kramer
917bd7b901 Remove duplicated code
This was implemented for windows in llvm r73379
2009-07-11 13:58:23 +02:00
Frits van Bommel
bf89205f7d Look for configuration file in /etc and /etc/ldc too (absolute paths)
except on Windows. Also disabled the `$PREFIX/etc/ldc` case for Windows, since
the "/etc/ldc" part was #if'ed out anyway.
2009-06-09 12:19:52 +02:00
Christian Kamm
f8840f66c4 Move locating the configuration file into a separate function. Also look in PREFIX/etc/ldc. Fixes #322. 2009-06-08 19:48:20 +02:00
Frits van Bommel
f76870f255 Print the path to the configuration file being used if -v is passed. 2009-06-07 17:20:55 +02:00
Frits van Bommel
c6946d4072 Fix indentation, removing tabs. 2009-06-05 02:54:34 +02:00
Kelly Wilson
243a9bc4a6 There was another fix needed here for reading %%ldcbinarypath%% 2009-06-04 18:36:07 -06:00
Kelly Wilson
690ca32c0c Fix memory leak in configfile.cpp...probably the only one in ldc! 2009-06-04 16:46:05 -06:00
Kelly Wilson
7bf64922f5 Fix for finding ldc.conf file with mingw 2009-06-04 16:04:26 -06:00
Christian Kamm
dfaba71dce Fix the ldcbinarypath config file rewriting. 2009-05-10 18:14:36 +02:00
Christian Kamm
d7c984fbef Explicitly include string.h for strdup. 2009-05-10 18:03:32 +02:00
Christian Kamm
ba95eab71f In config file: replace %%ldcbinarypath%% with the path to the ldc executable. 2009-05-10 17:58:09 +02:00
Frits van Bommel
1e6bd8f8e8 Hopefully fix #232 2009-03-13 19:22:40 +01:00
Tomas Lindquist Olsen
8b751cce0e - Updated to DMD frontend 1.041.
- Removed dmd/inifile.c , it's not under a free license, replaced with libconfig based config file.
2009-03-12 20:37:27 +01:00