25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Use -include_lib instead of -include to include exmpp.hrl. This is a

better solution than specifying the path (with -I) on erlc(1) command
line.

SVN Revision: 1388
This commit is contained in:
Jean-Sébastien Pédron 2008-06-30 12:13:15 +00:00
parent b32aba27c1
commit d05c2ee8a1
5 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2008-06-30 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
* src/Makefile.in: Remove the -I flag for exmpp includes; the
-include_lib pragma is a better solution.
* src/ejabberd_c2s.erl, src/ejabberd_s2s_in.erl,
src/ejabberd_s2s_out.erl: Use -include_lib instead of -include to
include exmpp.hrl.
2008-06-27 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
* src/ejabberd_c2s.erl, src/ejabberd_s2s_out.erl,

View File

@ -12,7 +12,7 @@ ERLANG_CFLAGS= @ERLANG_CFLAGS@
EXPAT_LIBS = @EXPAT_LIBS@
ERLANG_LIBS = @ERLANG_LIBS@
ERLC_FLAGS += @ERLANG_SSL39@ -I@ERLANG_EXMPP@/include
ERLC_FLAGS += @ERLANG_SSL39@
ASN_FLAGS = -bber_bin +der +compact_bit_string +optimize +noobj
# make debug=true to compile Erlang module with debug informations.

View File

@ -54,7 +54,7 @@
handle_info/3,
terminate/3]).
-include("exmpp.hrl").
-include_lib("exmpp/include/exmpp.hrl").
-include("ejabberd.hrl").
-include("mod_privacy.hrl").

View File

@ -46,7 +46,7 @@
handle_info/3,
terminate/3]).
-include("exmpp.hrl").
-include_lib("exmpp/include/exmpp.hrl").
-include("ejabberd.hrl").
-ifdef(SSL39).

View File

@ -54,7 +54,7 @@
code_change/4,
test_get_addr_port/1]).
-include("exmpp.hrl").
-include_lib("exmpp/include/exmpp.hrl").
-include("ejabberd.hrl").