1 ################################################################################
5 ################################################################################
7 APR_UTIL_VERSION
= 1.5.4
8 APR_UTIL_SITE
= http
://archive.apache.org
/dist/apr
9 APR_UTIL_LICENSE
= Apache-2.0
10 APR_UTIL_LICENSE_FILES
= LICENSE
11 APR_UTIL_INSTALL_STAGING
= YES
12 APR_UTIL_DEPENDENCIES
= apr expat
13 APR_UTIL_CONF_OPTS
= \
14 --with-apr
=$(STAGING_DIR
)/usr
/bin
/apr-1-config
15 APR_UTIL_CONFIG_SCRIPTS
= apu-1-config
17 # When iconv is available, then use it to provide charset conversion
19 APR_UTIL_DEPENDENCIES
+= $(if
$(BR2_PACKAGE_LIBICONV
),libiconv
)
21 ifeq ($(BR2_PACKAGE_BERKELEYDB
),y
)
22 APR_UTIL_CONF_OPTS
+= --with-dbm
=db53
--with-berkeley-db
="$(STAGING_DIR)/usr"
23 APR_UTIL_DEPENDENCIES
+= berkeleydb
25 APR_UTIL_CONF_OPTS
+= --without-berkeley-db
28 ifeq ($(BR2_PACKAGE_GDBM
),y
)
29 APR_UTIL_CONF_OPTS
+= --with-gdbm
="$(STAGING_DIR)/usr"
30 APR_UTIL_DEPENDENCIES
+= gdbm
32 APR_UTIL_CONF_OPTS
+= --without-gdbm
35 ifeq ($(BR2_PACKAGE_MYSQL
),y
)
36 APR_UTIL_CONF_OPTS
+= --with-mysql
="$(STAGING_DIR)/usr"
37 APR_UTIL_DEPENDENCIES
+= mysql
39 APR_UTIL_CONF_OPTS
+= --without-mysql
42 ifeq ($(BR2_PACKAGE_SQLITE
),y
)
43 APR_UTIL_CONF_OPTS
+= --with-sqlite3
="$(STAGING_DIR)/usr"
44 APR_UTIL_DEPENDENCIES
+= sqlite
46 APR_UTIL_CONF_OPTS
+= --without-sqlite3
49 ifeq ($(BR2_PACKAGE_OPENSSL
),y
)
50 APR_UTIL_CONF_OPTS
+= --with-crypto
--with-openssl
="$(STAGING_DIR)/usr"
51 APR_UTIL_DEPENDENCIES
+= openssl
53 APR_UTIL_CONF_OPTS
+= --without-crypto
56 ifeq ($(BR2_PACKAGE_UNIXODBC
),y
)
57 APR_UTIL_CONF_OPTS
+= --with-odbc
="$(STAGING_DIR)/usr"
58 # avoid using target binary $(STAGING_DIR)/usr/bin/odbc_config
59 APR_UTIL_CONF_ENV
+= ac_cv_path_ODBC_CONFIG
=""
60 APR_UTIL_DEPENDENCIES
+= unixodbc
62 APR_UTIL_CONF_OPTS
+= --without-odbc
65 $(eval
$(autotools-package
))