[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Groff 1.21 does not build when cross-compiling
From: |
Daiki Ueno |
Subject: |
Re: Groff 1.21 does not build when cross-compiling |
Date: |
Fri, 29 Jul 2011 13:01:19 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Christophe Jarry <address@hidden> writes:
> checking whether we are cross compiling... configure: error: in
> `/microcebus/build/groff-1.21/src/libs/gnulib': configure: error: cannot run C
> compiled programs.
It looks that the original config args should be passed to
src/libs/gnulib/configure. Could you try the attached patch? This is
based on a snippet in "(autoconf) config.status Invocation".
Index: Makefile.in
===================================================================
RCS file: /sources/groff/groff/Makefile.in,v
retrieving revision 1.116
diff -u -r1.116 Makefile.in
--- Makefile.in 26 Jul 2011 17:11:09 -0000 1.116
+++ Makefile.in 29 Jul 2011 03:59:19 -0000
@@ -774,7 +774,8 @@
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
Regards,
--
Daiki Ueno