|
@@ -13,10 +13,13 @@ NCFTP_LICENSE_FILES = doc/LICENSE.txt
|
|
|
|
|
|
NCFTP_DEPENDENCIES = host-autoconf
|
|
|
|
|
|
+# The bundled configure script is generated by autoconf 2.13 and doesn't
|
|
|
+# detect cross-compilation correctly. Therefore, we have to regenerate it.
|
|
|
+# We need to pass -I because of the non-standard m4 directory name, and
|
|
|
+# none of the other autotools are used, so the below is the easiest.
|
|
|
define NCFTP_RUN_AUTOCONF
|
|
|
(cd $(@D); $(HOST_DIR)/usr/bin/autoconf -I$(@D)/autoconf_local/)
|
|
|
endef
|
|
|
-
|
|
|
NCFTP_PRE_CONFIGURE_HOOKS += NCFTP_RUN_AUTOCONF
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_NCFTP_GET),y)
|