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

* src/Makefile.in: Allow compilation with HiPE (EJAB-412)

* src/configure.ac: Likewise

SVN Revision: 1038
This commit is contained in:
Badlop 2007-12-06 17:09:35 +00:00
parent 10c6f3d991
commit 9527f3c9b1
3 changed files with 16 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2007-12-06 Badlop <badlop@process-one.net>
* src/Makefile.in: Allow compilation with HiPE (EJAB-412)
* src/configure.ac: Likewise
* src/msgs/cs.msg: Updated (thanks to Lukáš Polívka alias
Spike411)

View File

@ -22,6 +22,10 @@ ifdef ejabberd_debug
ERLC_FLAGS+=-Dejabberd_debug
endif
ifeq (@hipe@, true)
ERLC_FLAGS+=+native
endif
ifeq (@roster_gateway_workaround@, true)
ERLC_FLAGS+=-DROSTER_GATEWAY_WORKAROUND
endif

View File

@ -44,6 +44,15 @@ AC_MOD_ENABLE(tls, yes)
AC_MOD_ENABLE(odbc, no)
AC_MOD_ENABLE(ejabberd_zlib, yes)
AC_ARG_ENABLE(hipe,
[ --enable-hipe Compile natively with HiPE, not recommended (default: no)],
[case "${enableval}" in
yes) hipe=true ;;
no) hipe=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-hipe) ;;
esac],[hipe=false])
AC_SUBST(hipe)
AC_ARG_ENABLE(roster_gateway_workaround,
[ --enable-roster-gateway-workaround Turn on workaround for processing gateway subscriptions (default: no)],
[case "${enableval}" in