The Makefile would still force the use of and linking against uClibc++
even though libstdc++ may have been chosen, which would result in the
package depending on libstdcpp ($(CXX_DEPENDS) but we would still be
missing an libuClibc++ library depdency.
Fix this by looking at CONFIG_USE_UCLIBCXX to adjust the configure
script variables.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Instead of using the broken upstream autogen.sh, utilize then generic
autoreconf PKG_FIXUP.
This fixes the following configure error after the recent automake
update in trunk:
-- 8< --
You must have at least GNU Automake 1.7 (up to 1.14) installed
in order to bootstrap smartmontools from SVN. Download the
appropriate package for your distribution, or the source tarball
from ftp://ftp.gnu.org/gnu/automake/ .
Also note that support for new Automake series (anything newer
than 1.14) is only added after extensive tests. If you live in
the bleeding edge, you should know what you're doing, mainly how
to test it before the developers. Be patient.
make[2]: *** [.../.configured_] Error 1
-- >8 --
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
rsync is in no way related to smartmontools. Additionally rsync
is missing in the new github repo.
Signed-off-by: Stefan Hellermann <stefan@the2masters.de>