gnu: automake-1.17: Fix cross-build.

* gnu/packages/autotools.scm (automake)[arguments]: Skip two tests that
attempt to run [cross-]built executables, when cross-building.

Change-Id: I24bd012352400583fd8aad67c6d1f344954f973c
This commit is contained in:
Janneke Nieuwenhuizen 2025-09-12 11:59:50 +02:00
parent 832f6130d6
commit 868161a287
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -462,7 +462,16 @@ Makefile, simplifying the entire process for the developer.")
;; make: Nothing to be done for 'all'.
"t/remake-aclocal-version-mismatch.sh")
(("^#!.*" all)
(string-append all "exit 77;\n")))))))))))
(string-append all "exit 77;\n")))))
#$@(if (%current-target-system)
#~((add-before 'check 'cross-skip-tests
(lambda _
;; These tests try to execute a cross-built program
(substitute* '("t/dist-vs-built-sources.sh"
"t/subobj-objname-clash.sh")
(("^#!.*" all)
(string-append all "exit 77;\n"))))))
#~())))))))
(define-public libtool
(package