summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-07-04 19:42:15 +0100
committerPeter Powell <petpow@saberuk.com>2013-07-05 07:12:02 +0100
commit1b475afbe5e033a55795271cdf98108dac3e97a7 (patch)
tree44ea99905d12ae86a65edfb29efcb6ffe4a96101 /configure
parent90a068af714dac058fba97e1b413dc8c0dbd5bcf (diff)
Expose compiler name to make.
- Convert ICC detection to use new variable.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index d8d356bfb..32e8fc12d 100755
--- a/configure
+++ b/configure
@@ -882,9 +882,10 @@ EOF
close(FILEHANDLE);
$config{BUILD_DIR} ||= resolve_directory($config{ME}."/build");
+ $config{COMPILER} = lc $cxx{NAME};
for my $var (qw(
- CXX SYSTEM BASE_DIR CONFIG_DIR MODULE_DIR BINARY_DIR BUILD_DIR DATA_DIR UID
+ CXX COMPILER SYSTEM BASE_DIR CONFIG_DIR MODULE_DIR BINARY_DIR BUILD_DIR DATA_DIR UID
STARTSCRIPT DESTINATION SOCKETENGINE
)) {
s/\@$var\@/$config{$var}/g;