apr: needs mmu

Uses fork() in apr_proc_fork() which is used by almost all the packages
that use apr (log4cxx, subversion).
apr-util doesn't use fork or apr_proc_fork but it's of no use alone.

[Peter: also hide log4cxx comment if !BR2_USE_MMU]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias 2013-11-27 10:00:41 -03:00 committed by Peter Korsgaard
parent b7eb4b3619
commit 1f2d661854
4 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,7 @@ config BR2_PACKAGE_APR_UTIL
select BR2_PACKAGE_ZLIB select BR2_PACKAGE_ZLIB
# apr really needs shared library support # apr really needs shared library support
depends on !BR2_PREFER_STATIC_LIB depends on !BR2_PREFER_STATIC_LIB
depends on BR2_USE_MMU # apr
help help
The utility library for the apache runtime project The utility library for the apache runtime project

View File

@ -2,6 +2,7 @@ config BR2_PACKAGE_APR
bool "apr" bool "apr"
# apr really needs shared library support # apr really needs shared library support
depends on !BR2_PREFER_STATIC_LIB depends on !BR2_PREFER_STATIC_LIB
depends on BR2_USE_MMU # fork() in apr_proc_fork()
help help
The mission of the Apache Portable Runtime (APR) project is to create The mission of the Apache Portable Runtime (APR) project is to create
and maintain software libraries that provide a predictable and and maintain software libraries that provide a predictable and

View File

@ -6,6 +6,7 @@ config BR2_PACKAGE_LOG4CXX
depends on !BR2_PREFER_STATIC_LIB depends on !BR2_PREFER_STATIC_LIB
depends on BR2_INSTALL_LIBSTDCPP depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # apr
help help
Apache log4cxx is a logging framework for C++ patterned Apache log4cxx is a logging framework for C++ patterned
after Apache log4j. after Apache log4j.
@ -15,3 +16,4 @@ config BR2_PACKAGE_LOG4CXX
comment "log4cxx needs a toolchain w/ C++, threads, dynamic library" comment "log4cxx needs a toolchain w/ C++, threads, dynamic library"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_PREFER_STATIC_LIB BR2_PREFER_STATIC_LIB
depends on BR2_USE_MMU

View File

@ -3,6 +3,7 @@ config BR2_PACKAGE_SUBVERSION
select BR2_PACKAGE_APR_UTIL select BR2_PACKAGE_APR_UTIL
# apr really needs shared library support # apr really needs shared library support
depends on !BR2_PREFER_STATIC_LIB depends on !BR2_PREFER_STATIC_LIB
depends on BR2_USE_MMU # apr
select BR2_PACKAGE_NEON select BR2_PACKAGE_NEON
select BR2_PACKAGE_NEON_XML select BR2_PACKAGE_NEON_XML
help help