e1c9a23490
linknx configure.ac uses the LIBCURL_CHECK_CONFIG macro that is only defined in libcurl.m4 that is part of libcurl. Select libcurl for now to fix autoreconf. Fixes: http://autobuild.buildroot.net/results/96e/96e9ae0df7ebb7ad3d748a6b518cc59570e0b995/ http://autobuild.buildroot.net/results/179/17971c9f8925ff8623a7d97aac8eda0c287a76c9/ http://autobuild.buildroot.net/results/2a8/2a8af93d6439b313b048ccac7b6cfecbb6baff55/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# linknx
|
|
#
|
|
################################################################################
|
|
|
|
LINKNX_VERSION = 0.0.1.32
|
|
LINKNX_SITE = http://downloads.sourceforge.net/project/linknx/linknx/linknx-$(LINKNX_VERSION)
|
|
LINKNX_LICENSE = GPLv2+
|
|
LINKNX_INSTALL_STAGING = YES
|
|
# Patching acinclude.m4
|
|
LINKNX_AUTORECONF = YES
|
|
LINKNX_CONF_OPTS = \
|
|
--without-lua \
|
|
--without-log4cpp \
|
|
--without-pth-test \
|
|
--with-pth=$(STAGING_DIR)/usr \
|
|
--disable-smtp \
|
|
--with-libcurl=$(STAGING_DIR)/usr/bin/curl-config
|
|
|
|
LINKNX_DEPENDENCIES = libpthsem libcurl \
|
|
$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
|
|
|
|
# This is needed to make autoreconf happy
|
|
define LINKNX_CREATE_MISSING_FILES
|
|
touch $(@D)/NEWS $(@D)/AUTHORS $(@D)/README
|
|
endef
|
|
LINKNX_POST_EXTRACT_HOOKS += LINKNX_CREATE_MISSING_FILES
|
|
|
|
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
|
LINKNX_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr/bin/mysql_config
|
|
LINKNX_DEPENDENCIES += mysql
|
|
else
|
|
LINKNX_CONF_OPTS += --without-mysql
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|