diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-17 03:04:27 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-17 03:04:27 +0000 |
commit | 3a186342c975a8bbd3f588d180a55e381b31883c (patch) | |
tree | 2efefce23e807e5479e0bf4e9fd7cfd5870b51f2 /configure | |
parent | c9a998effe0ffe6e6a9d6c80cebb1a1e4b28b3ec (diff) |
Remove .*.d dependency garbage, and use a dedicated build directory
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11738 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -611,6 +611,7 @@ should NOT be used. You should probably specify a newer compiler.\n\n"; dir_check("are the configuration files", "CONFIG_DIR"); dir_check("are the modules to be compiled to", "MODULE_DIR"); dir_check("is the IRCd binary to be placed", "BINARY_DIR"); + dir_check("do you want the build to take place", "BUILD_DIR"); my $chose_hiperf = 0; if ($has_kqueue) { @@ -1075,8 +1076,11 @@ EOF close(FILEHANDLE); print "Writing \e[1;32m$file\e[0m ...\n"; + + $config{BUILD_DIR} ||= 'build'; + for my $var (qw( - CC SYSTEM BASE_DIR CONFIG_DIR MODULE_DIR BINARY_DIR + CC SYSTEM BASE_DIR CONFIG_DIR MODULE_DIR BINARY_DIR BUILD_DIR STARTSCRIPT DESTINATION EXTRA_DIR SOCKETENGINE )) { s/\@$var\@/$config{$var}/g; |