autoconf: Erlang Compiler and Interpreter

1 
1 5.10.7 Erlang Compiler and Interpreter Characteristics
1 ------------------------------------------------------
1 
1 Autoconf defines the following macros for determining paths to the
1 essential Erlang/OTP programs:
1 
1  -- Macro: AC_ERLANG_PATH_ERLC ([VALUE-IF-NOT-FOUND], [PATH = `$PATH'])
1      Determine an Erlang compiler to use.  If `ERLC' is not already set
1      in the environment, check for `erlc'.  Set output variable `ERLC'
1      to the complete path of the compiler command found.  In addition,
1      if `ERLCFLAGS' is not set in the environment, set it to an empty
1      value.
1 
1      The two optional arguments have the same meaning as the two last
1      arguments of macro `AC_PATH_PROG' for looking for the `erlc'
1      program.  For example, to look for `erlc' only in the
1      `/usr/lib/erlang/bin' directory:
1 
1           AC_ERLANG_PATH_ERLC([not found], [/usr/lib/erlang/bin])
1 
1  -- Macro: AC_ERLANG_NEED_ERLC ([PATH = `$PATH'])
1      A simplified variant of the `AC_ERLANG_PATH_ERLC' macro, that
1      prints an error message and exits the `configure' script if the
1      `erlc' program is not found.
1 
1  -- Macro: AC_ERLANG_PATH_ERL ([VALUE-IF-NOT-FOUND], [PATH = `$PATH'])
1      Determine an Erlang interpreter to use.  If `ERL' is not already
1      set in the environment, check for `erl'.  Set output variable
1      `ERL' to the complete path of the interpreter command found.
1 
1      The two optional arguments have the same meaning as the two last
1      arguments of macro `AC_PATH_PROG' for looking for the `erl'
1      program.  For example, to look for `erl' only in the
1      `/usr/lib/erlang/bin' directory:
1 
1           AC_ERLANG_PATH_ERL([not found], [/usr/lib/erlang/bin])
1 
1  -- Macro: AC_ERLANG_NEED_ERL ([PATH = `$PATH'])
1      A simplified variant of the `AC_ERLANG_PATH_ERL' macro, that
1      prints an error message and exits the `configure' script if the
1      `erl' program is not found.
1