package/log4cpp: force autoreconf
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 3 Sep 2017 11:53:37 +0000 (13:53 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 3 Sep 2017 12:45:33 +0000 (14:45 +0200)
The upstream provided configure script produces a broken
log4cpp-1.1.3/log4cpp/include/log4cpp/config.h file with its custom
AC_CREATE_PREFIX_CONFIG_H m4 macro. Running autoreconf fixes this
problem.

Fixes
http://autobuild.buildroot.net/results/9be23d91098d2f3724bb9535333fed8d27ef992a/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/log4cpp/log4cpp.mk

index aab05f22f6327c72044b3d9e6b0dceac7ac7e215..8664a54385e1eb7f38a0c4616278aa3b694f66d4 100644 (file)
@@ -13,6 +13,9 @@ LOG4CPP_LICENSE = LGPL-2.1+
 LOG4CPP_LICENSE_FILES = log4cpp/COPYING
 LOG4CPP_INSTALL_STAGING = YES
 LOG4CPP_CONF_OPTS = --enable-doxygen=no --enable-dot=no
+# needed to fix broken configure script
+LOG4CPP_AUTORECONF = YES
+LOG4CPP_AUTORECONF_OPTS = -I m4
 
 # The default <pkg>_CONFIG_SCRIPTS handling does not apply
 define LOG4CPP_STAGING_CONFIG_SCRIPT_FIXUP