THRIFT-646. erlang: Misc build cleanups
authorDavid Reiss <dreiss@apache.org>
Tue, 18 May 2010 16:52:48 +0000 (16:52 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 18 May 2010 16:52:48 +0000 (16:52 +0000)
commit9e2fd7987db241b5f35967e157223b398349b07e
tree383c3be13eb70d040cb115c5be92c05f8466cc7c
parentb6657f142e86135fea5d3352f7155165744a7282
THRIFT-646. erlang: Misc build cleanups

- Use AC_ERLANG_PATH_ERLC to find erlc, instead of the generic
  AC_PATH_PROG.
- Also check for erl, just in case it is used internally by checks.
- Use AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR instead of manual hackery to
  find the location where Erlang libraries should be installed.  (This
  doesn't use the discovered version of Erlang, though.  See
  http://lists.gnu.org/archive/html/bug-autoconf/2010-05/msg00003.html .)
- Minor style changes in Makefile.am
- Remove some hacks we were using in the old makefile that were
  necessary because we were not using automake.
- Remove ebin in a "maintainer-clean-local" rule to avoid shadowing the
  default "maintainer-clean" rule which handles MAINTAINERCLEANFILES.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@945744 13f79535-47bb-0310-9956-ffa450edef68
configure.ac
lib/erl/Makefile.am