| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
5.10.6 Erlang Compiler and Interpreter Characteristics
Autoconf defines the following macros for determining paths to the essential Erlang/OTP programs:
- Macro: AC_ERLANG_PATH_ERLC ([value-if-not-found]@c, [path = ‘$PATH’]@c)
-
Determine an Erlang compiler to use. If
ERLCis not already set in the environment, check forerlc. Set output variableERLCto the complete path of the compiler command found. In addition, ifERLCFLAGSis not set in the environment, set it to an empty value.The two optional arguments have the same meaning as the two last arguments of macro
AC_PROG_PATHfor looking for theerlcprogram. For example, to look forerlconly in the ‘/usr/lib/erlang/bin’ directory:AC_ERLANG_PATH_ERLC([not found], [/usr/lib/erlang/bin])
- Macro: AC_ERLANG_NEED_ERLC ([path = ‘$PATH’]@c)
-
A simplified variant of the
AC_ERLANG_PATH_ERLCmacro, that prints an error message and exits theconfigurescript if theerlcprogram is not found.
- Macro: AC_ERLANG_PATH_ERL ([value-if-not-found]@c, [path = ‘$PATH’]@c)
-
Determine an Erlang interpreter to use. If
ERLis not already set in the environment, check forerl. Set output variableERLto the complete path of the interpreter command found.The two optional arguments have the same meaning as the two last arguments of macro
AC_PROG_PATHfor looking for theerlprogram. For example, to look forerlonly in the ‘/usr/lib/erlang/bin’ directory:AC_ERLANG_PATH_ERL([not found], [/usr/lib/erlang/bin])
- Macro: AC_ERLANG_NEED_ERL ([path = ‘$PATH’]@c)
-
A simplified variant of the
AC_ERLANG_PATH_ERLmacro, that prints an error message and exits theconfigurescript if theerlprogram is not found.
