25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

Match Erlang typing documentation, to remove dialyzer warning. Code was working fine however.

SVN Revision: 2870
This commit is contained in:
Mickaël Rémond 2010-01-09 16:31:45 +00:00
parent a0554183c5
commit 4fba4db32f

View File

@ -1,7 +1,7 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : configure.erl %%% File : configure.erl
%%% Author : Alexey Shchepin <alexey@process-one.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : %%% Purpose :
%%% Created : 27 Jan 2003 by Alexey Shchepin <alexey@process-one.net> %%% Created : 27 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%% %%%
%%% %%%
@ -50,7 +50,7 @@ start() ->
end, end,
EVersion = "ERLANG_VERSION = " ++ erlang:system_info(version) ++ "\n", 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", RootDirS = "ERLANG_DIR = " ++ code:root_dir() ++ "\n",
%% Load the ejabberd application description so that ?VERSION can read the vsn key %% Load the ejabberd application description so that ?VERSION can read the vsn key
application:load(ejabberd), application:load(ejabberd),
@ -58,8 +58,8 @@ start() ->
OpenSSLDir = "OPENSSL_DIR = c:\\sdk\\OpenSSL\n", OpenSSLDir = "OPENSSL_DIR = c:\\sdk\\OpenSSL\n",
DBType = "DBTYPE = generic\n", %% 'generic' or 'mssql' DBType = "DBTYPE = generic\n", %% 'generic' or 'mssql'
SSLDir = "SSLDIR = " ++ code:lib_dir("ssl") ++ "\n", SSLDir = "SSLDIR = " ++ code:lib_dir(ssl) ++ "\n",
StdLibDir = "STDLIBDIR = " ++ code:lib_dir("stdlib") ++ "\n", StdLibDir = "STDLIBDIR = " ++ code:lib_dir(stdlib) ++ "\n",
file:write_file("Makefile.inc", file:write_file("Makefile.inc",
list_to_binary(EVersion ++ list_to_binary(EVersion ++
@ -73,5 +73,3 @@ start() ->
ZlibDir ++ ZlibDir ++
ZlibLib)), ZlibLib)),
halt(). halt().