aboutsummaryrefslogtreecommitdiff
path: root/src/configure.ac
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2010-07-01 20:54:01 +1000
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2010-07-01 20:54:01 +1000
commit715cc5ea3bf01ea99b2516c0d3d48e2a5ccb8174 (patch)
tree3e38ad6059a757be34cafe3d80c55c0aa922387b /src/configure.ac
parentFix privacy check when serving local Last (thanks to Brian Acton)(EJAB-1271) (diff)
New configure option: --enable-nif
Diffstat (limited to 'src/configure.ac')
-rw-r--r--src/configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/configure.ac b/src/configure.ac
index 20bfdf6f1..70a6fb43c 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -94,6 +94,15 @@ AC_ARG_ENABLE(full_xml,
esac],[full_xml=false])
AC_SUBST(full_xml)
+AC_ARG_ENABLE(nif,
+[AC_HELP_STRING([--enable-nif], [replace some functions with C equivalents. You should have Erlang R13B04 or higher (default: no)])],
+[case "${enableval}" in
+ yes) nif=true ;;
+ no) nif=false ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-nif) ;;
+esac],[nif=false])
+AC_SUBST(nif)
+
AC_CONFIG_FILES([Makefile
$make_mod_irc
$make_mod_muc