Macaulay2 / mathicgb

Compute (signature) Groebner bases using the fast datastructures from mathic.
2 stars 4 forks source link

Fix cross building by using test -f instead of AC_CHECK_FILE #14

Closed d-torrance closed 4 years ago

d-torrance commented 5 years ago

From Debian bug #929037 [1], reported by Helmut Grohne helmut@subdivi.de:

mathicgb fails to cross build from source, because it abuses AC_CHECK_FILE to discover source files on the build machine. The macro is meant to check for files on the host. Please use simple "test -f" here. The attached patch makes mathicgb cross buildable. Please consider applying it.

Helmut

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929037