Christophe Jarry <[email protected]> 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
_______________________________________________
bug-groff mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-groff

Reply via email to