* src/configure.ac: Likewise
SVN Revision: 1038
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)
ERLC_FLAGS+=-Dejabberd_debug
endif
+ifeq (@hipe@, true)
+ ERLC_FLAGS+=+native
+endif
+
ifeq (@roster_gateway_workaround@, true)
ERLC_FLAGS+=-DROSTER_GATEWAY_WORKAROUND
endif
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