aboutsummaryrefslogtreecommitdiff
path: root/src/configure.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure.erl')
-rw-r--r--src/configure.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configure.erl b/src/configure.erl
index f39305b31..b9447c28d 100644
--- a/src/configure.erl
+++ b/src/configure.erl
@@ -60,6 +60,8 @@ start() ->
EVersion = "ERLANG_VERSION = " ++ erlang:system_info(version) ++ "\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),
Version = "EJABBERD_VERSION = " ++ ?VERSION ++ "\n",
ExpatDir = "EXPAT_DIR = c:\\sdk\\Expat-2.0.0\n",
OpenSSLDir = "OPENSSL_DIR = c:\\sdk\\OpenSSL\n",