tools: Tell gnu build systems that ftello works macos-tools
authorHauke Mehrtens <[email protected]>
Sat, 7 Sep 2019 23:21:37 +0000 (01:21 +0200)
committerHauke Mehrtens <[email protected]>
Sat, 12 Oct 2019 15:14:42 +0000 (17:14 +0200)
This forces gl_cv_func_ftello_works=yes for all tools using gnulibs.

Signed-off-by: Hauke Mehrtens <[email protected]>
tools/coreutils/Makefile
tools/findutils/Makefile
tools/m4/Makefile
tools/sed/Makefile

index 76080b79609dded4486fd885d9564e9c7d9790f4..5e194ff9f8a88dffcaeda542d784f2c8a50c3e4a 100644 (file)
@@ -25,6 +25,9 @@ BUILD_BINS = $(patsubst %,src/%,$(BUILD_PROGRAMS))
 HOST_CONFIGURE_ARGS += \
         --enable-install-program=$(subst $(space),$(comma),$(strip $(BUILD_PROGRAMS)))
 
+HOST_CONFIGURE_VARS += \
+       gl_cv_func_ftello_works=yes \
+
 HOST_MAKE_FLAGS += \
        PROGRAMS="$(BUILD_BINS)" \
        LIBRARIES= MANS= SUBDIRS=.
index c1c45eeaabd052ff6378a468401ef283923a3988..574c5fb32fc91880dc412a9ea81c8166891c2461 100644 (file)
@@ -18,4 +18,7 @@ HOST_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/host-build.mk
 
+HOST_CONFIGURE_VARS += \
+       gl_cv_func_ftello_works=yes
+
 $(eval $(call HostBuild))
index a6d931b0fd51efeecca3c53a9acb463aab5a0944..3d6efd2785583501a257c45ab5d82e209b68ce65 100644 (file)
@@ -19,7 +19,9 @@ HOST_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/host-build.mk
 
-HOST_CONFIGURE_VARS += gl_cv_func_strstr_linear=no
+HOST_CONFIGURE_VARS += \
+       gl_cv_func_strstr_linear=no \
+       gl_cv_func_ftello_works=yes \
 
 define Host/Clean
        -$(MAKE) -C $(HOST_BUILD_DIR) uninstall
index ddeb6c457f8fc8032ece3c7d517bbdc357f56815..0ab25fa92ebc35bebf91a9831279600af3b93dd2 100644 (file)
@@ -30,6 +30,7 @@ HOST_CONFIGURE_VARS += \
        ac_cv_search_setfilecon=no \
        ac_cv_header_selinux_context_h=no \
        ac_cv_header_selinux_selinux_h=no \
+       gl_cv_func_ftello_works=yes \
 
 define Host/Compile
        +$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) SHELL="$(BASH)"