The configure call was done from make file without appropriate parameters,
which breaks cross-compiling. Include ffsb into configure.ac so that it is
included in the main configure call.

This fix is based on a patch by Fathi Boudra <[email protected]> for an
earlier version of LTP.

CC: Fathi Boudra <[email protected]>
Signed-off-by: Mats Liljegren <[email protected]>
---
 configure.ac   |    2 ++
 utils/Makefile |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 4ea5868..9f397e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,6 +142,8 @@ else
     AC_SUBST([WITH_REALTIME_TESTSUITE],["no"])
 fi
 
+AC_CONFIG_SUBDIRS([utils/ffsb-6.0-rc2])
+
 # END testsuites knobs
 LTP_CHECK_FORTIFY_SOURCE
 LTP_CHECK_CC_WARN_OLDSTYLE
diff --git a/utils/Makefile b/utils/Makefile
index 923bb2d..1508b35 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -30,7 +30,7 @@ FFSB                  := $(FFSBDIR)/ffsb
 
 $(FFSB): $(abs_srcdir)/$(FFSBDIR)
        mkdir -p $(FFSBDIR)
-       cd $(FFSBDIR) && "$^/configure" && $(MAKE) top_srcdir="$^" all
+       cd $(FFSBDIR) && $(MAKE) top_srcdir="$^" all
 
 ffsb: $(FFSB)
        cp $(FFSB) ffsb
-- 
1.7.10.4


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to