----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/18957/#review38665 -----------------------------------------------------------
A couple of potential bugs and a couple of renaming/logic changes configure.ac <https://reviews.apache.org/r/18957/#comment70925> shouldn't the default be with_bundled_leveldb=yes for now? configure.ac <https://reviews.apache.org/r/18957/#comment70926> Remove the 'x' so it's just test -n "$with_leveldb" configure.ac <https://reviews.apache.org/r/18957/#comment70931> test "x$with_included_leveldb" != "xyes" || test "x$enable_bundled" != "xyes" so they both have the same logic. Or use disable_bundled and without_included. configure.ac <https://reviews.apache.org/r/18957/#comment70932> s/==/=/ configure.ac <https://reviews.apache.org/r/18957/#comment70933> WITH_BUNDLED_LEVELDB? - Adam B On March 26, 2014, 8:50 a.m., Till Toenshoff wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/18957/ > ----------------------------------------------------------- > > (Updated March 26, 2014, 8:50 a.m.) > > > Review request for mesos and Benjamin Hindman. > > > Bugs: MESOS-1071 > https://issues.apache.org/jira/browse/MESOS-1071 > > > Repository: mesos-git > > > Description > ------- > > Allows preventing the use of bundled libraries in favor of preinstalled > versions, where possible. > > --disable-bundled generally switches from bundled to preinstalled libraries. > > If --disable-bundled is supplied or --with-leveldb[=DIR] or > --without-included-leveldb was given but the configuration phase could not > locate the dependency, it stops with an error. > If --disable-bundled is not supplied and no --with-leveldb[=DIR] or > --without-included-leveldb was given, the bundled library is built and used. > > --without-included-leveldb and --with-leveldb without a path are semantically > equal. > > NOTE: This review only implements this preinstalled library usage on LevelDB. > Subsequent review requests for other bundled libraries will follow as soon as > this implementation has been accepted. > > > Diffs > ----- > > 3rdparty/Makefile.am 23ff1fa > configure.ac 5404dc2 > src/Makefile.am 47d03b3 > src/python/setup.py.in 02f00ef > > Diff: https://reviews.apache.org/r/18957/diff/ > > > Testing > ------- > > ../configure > make check > > installed leveldb in custom location > ../configure --with-leveldb=/CUSTOM_LOCATION > make check > > installed leveldb in common location > ../configure --with-leveldb > make check > > installed leveldb in common location > ../configure --without-included-leveldb > make check > > installed leveldb in common location > ../configure --disable-bundled > make check > > > Thanks, > > Till Toenshoff > >
