aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2010-01-09 16:31:45 +0000
committerMickaël Rémond <mickael.remond@process-one.net>2010-01-09 16:31:45 +0000
commit7b05ba0e1ee3d1bfb1dec0564a4c847cda6c7a7b (patch)
treec6a104ea4c2593281c033aed63a6befb946271ba
parentAttempt to fix dialyzer warning: adhoc.erl:51: Guard test XData::'false' | #x... (diff)
Match Erlang typing documentation, to remove dialyzer warning. Code was working fine however.
SVN Revision: 2870
-rw-r--r--src/configure.erl10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/configure.erl b/src/configure.erl
index cd7e48710..59304e883 100644
--- a/src/configure.erl
+++ b/src/configure.erl
@@ -1,7 +1,7 @@
%%%----------------------------------------------------------------------
%%% File : configure.erl
%%% Author : Alexey Shchepin <alexey@process-one.net>
-%%% Purpose :
+%%% Purpose :
%%% Created : 27 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%%
%%%
@@ -58,7 +58,7 @@ start() ->
end,
EVersion = "ERLANG_VERSION = " ++ erlang:system_info(version) ++ "\n",
- EIDirS = "EI_DIR = " ++ code:lib_dir("erl_interface") ++ "\n",
+ EIDirS = "EI_DIR = " ++ code:lib_dir(erl_interface) ++ "\n",
RootDirS = "ERLANG_DIR = " ++ code:root_dir() ++ "\n",
%% Load the ejabberd application description so that ?VERSION can read the vsn key
application:load(ejabberd),
@@ -67,8 +67,8 @@ start() ->
OpenSSLDir = "OPENSSL_DIR = c:\\sdk\\OpenSSL\n",
DBType = "DBTYPE = generic\n", %% 'generic' or 'mssql'
- SSLDir = "SSLDIR = " ++ code:lib_dir("ssl") ++ "\n",
- StdLibDir = "STDLIBDIR = " ++ code:lib_dir("stdlib") ++ "\n",
+ SSLDir = "SSLDIR = " ++ code:lib_dir(ssl) ++ "\n",
+ StdLibDir = "STDLIBDIR = " ++ code:lib_dir(stdlib) ++ "\n",
file:write_file("Makefile.inc",
list_to_binary(EVersion ++
@@ -87,5 +87,3 @@ start() ->
ZlibDir ++
ZlibLib)),
halt().
-
-