haiwen/seafile — pull request #879 by yason (2014-10-07 14:13:42+00:00)
Title: Some tweaks for configure and Makefile

Hi. While looking on output of configure script I've found some strange things. This is a first round to improve situation. This diff is doing next things:
Makefile:
- sets MAKE_CLIENT to app SUBDIR instead of daemon
- adds daemon to the list of SUBDIRS, so it'll be built by default.
configure:
- print that we are building seaf-daemon by default
- print that we are building python if --enable-python is set.

The remaining problem is that adding
if COMPILE_PYTHON
MAKE_CLIENT += python
endi
to Makefile and switching in SUBDIRS python to $(MAKE_PYTHON) gives me an error:
cd /tmp/pobj/seafile-daemon-3.1.6/seafile-3.1.6 && env AUTOCONF_VERSION=2.61 AUTOMAKE_VERSION=1.9 autoreconf -fi
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
app/Makefile.am: installing `./depcomp'
common/index/Makefile.am: installing `./compile'
python/seafile/Makefile.am:3: installing `./py-compile'
configure.ac:13: installing `./config.guess'
configure.ac:13: installing `./config.sub'
Makefile.am:12: `MAKE_PYTHON' is used but `MAKEdir' is undefined
autoreconf-2.61: automake failed with exit status: 1