summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwl <wl>2011-07-29 20:16:42 +0000
committerwl <wl>2011-07-29 20:16:42 +0000
commit943308afd2770a2f4a30103c85a20a61b15f8f35 (patch)
tree99c54863ad66d2f76d4088e8768278cc4c319f06
parent10f2f7c92c0a878763d523dd798c6c4be0f8e3aa (diff)
downloadgroff-943308afd2770a2f4a30103c85a20a61b15f8f35.tar.gz
Fix cross building.
Problem reported by Christophe Jarry <christophe.jarry@ouvaton.org>. * Makefile.in ($GNULIBDIRS): Pass original config arguments to src/libs/gnulib/configure.
-rw-r--r--ChangeLog8
-rw-r--r--Makefile.in3
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a5bac257..9a39f04b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-07-29 Daiki Ueno <ueno@unixuser.org>
+
+ Fix cross building.
+ Problem reported by Christophe Jarry <christophe.jarry@ouvaton.org>.
+
+ * Makefile.in ($GNULIBDIRS): Pass original config arguments to
+ src/libs/gnulib/configure.
+
2011-06-25 Deri James <deri@chuzzlewit.demon.co.uk>
Add new output device `gropdf'.
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