> Since I'm not an erlang user, I'll leave it to your judgment which is > more useful. But for backwards compatibility, I'd prefer a patch along > the lines of the former (better to change the docs to match reality, > than to change reality and break configure.ac that happened to depend on > the old semantics). > Here's a patch. Should I send it to autoconf-patches instead? I license this patch under the GFDL. The commit message is public domain.
--David commit b1005a543347f39c9b78ce17d86afb59a1de71ad Author: David Reiss <dre...@facebook.com> Date: Tue May 11 11:02:20 2010 -0700 Correct documentation for AC_ERLANG_SUBST_INSTALL_LIB_DIR Previously, the docs incorrectly stated that the default value was $ERLANG_LIB_DIR. The default has always been $libdir/erlang/lib (at least as far as the git repo goes back). I didn't wrap the second isntance in a @code{} operator because it added some ugly extra quotes in the .info generated docs. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index d6a08bc..8423b86 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -8360,8 +8360,7 @@ Set the @code{ERLANG_INSTALL_LIB_DIR} output variable to the directory into which every built Erlang library should be installed in a separate subdirectory. If this variable is not set in the environment when @command{configure} runs, -its default value is @code{$ERLANG_LIB_DIR}, which value is set by the -...@code{ac_erlang_subst_lib_dir} macro. +its default value is @code{$libdir/erlang/lib}. @end defmac @defmac AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR (@var{library}, @var{version}) @@ -8372,9 +8371,7 @@ Set the @samp{erlang_install_lib_d...@var{library}} output variable to the directory into which the built Erlang library @var{library} version @var{version} should be installed. If this variable is not set in the environment when @command{configure} runs, its default value is -...@samp{$erlang_install_lib_dir/@var{librar...@var{version}}, the value of the -...@code{erlang_install_lib_dir} variable being set by the -...@code{ac_erlang_subst_install_lib_dir} macro. +...@samp{$libdir/erlang/lib/@var{librar...@var{version}}. @end defmac