From 943308afd2770a2f4a30103c85a20a61b15f8f35 Mon Sep 17 00:00:00 2001 From: wl Date: Fri, 29 Jul 2011 20:16:42 +0000 Subject: Fix cross building. Problem reported by Christophe Jarry . * Makefile.in ($GNULIBDIRS): Pass original config arguments to src/libs/gnulib/configure. --- Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index ca7d7e78..09eb5738 100644 --- a/Makefile.in +++ b/Makefile.in @@ -774,7 +774,8 @@ $(GNULIBDIRS): FORCE case $(do) in \ all) \ cd $@; \ - test -f Makefile || $(SHELL) $$srcdir/configure ; \ + args=`$(top_builddir)/config.status --config`; \ + test -f Makefile || eval $$srcdir/configure "$$args" --srcdir=$$srcdir; \ $(MAKE) ACLOCAL=: AUTOCONF=: AUTOHEADER=: AUTOMAKE=: $(do) ;; \ esac -- cgit v1.2.1