summaryrefslogtreecommitdiff
path: root/lang/erlang
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2002-11-03 20:16:29 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2002-11-03 20:16:29 +0000
commited579b7fb7034d5b5793214333c0e2b60e8362f5 (patch)
treec0e56fcbf1e23b01ce1a78741b6256c127d8bc17 /lang/erlang
parentUse PORTCOMMENT. (diff)
Add WITH_ERLANG_HIPE option, to enable HiPE support.
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index d76834a3f860..6a56891984c1 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -52,6 +52,10 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-threads
.endif
+.if defined(WITH_ERLANG_HIPE)
+CONFIGURE_ARGS+= --enable-hipe
+.endif
+
.if !defined(WITHOUT_JAVA)
# The Java applications that are part of the Erlang distribution are
# not strictly necessary - it is included for completeness sake. A
@@ -78,6 +82,9 @@ pre-extract:
.if !defined(WITH_ERLANG_THREADS)
@${ECHO_MSG} "You can enable support for threaded I/O by defining WITH_ERLANG_THREADS."
.endif
+.if !defined(WITH_ERLANG_HIPE)
+ @${ECHO_MSG} "You can enable HiPE support by defining WITH_ERLANG_HIPE."
+.endif
pre-configure:
# Regenerate erts configuration script