From f826ded5eaf52bd863c250cadfddd0a56b98f938 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Thu, 1 Jul 2021 14:23:53 -0700 Subject: [PATCH] build/pkgs/4ti2/spkg-configure.m4: Check for executable's with prefix 4ti2_ too --- build/pkgs/4ti2/spkg-configure.m4 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build/pkgs/4ti2/spkg-configure.m4 b/build/pkgs/4ti2/spkg-configure.m4 index 291997e6a1a..e01562c50da 100644 --- a/build/pkgs/4ti2/spkg-configure.m4 +++ b/build/pkgs/4ti2/spkg-configure.m4 @@ -1,9 +1,11 @@ SAGE_SPKG_CONFIGURE([4ti2], [ SAGE_SPKG_DEPCHECK([gmp mpir glpk zlib], [ - dnl Debian installs these programs with an executable prefix "4ti2-" - dnl but polymake and our own code do not handle this yet (Singular does). + dnl Debian installs these programs with an executable prefix "4ti2-", + dnl OpenSUSE uses the prefix "4ti2_". + dnl Singular checks for unprefixed and prefixed with "4ti2-". + dnl Polymake does not check for prefixed binaries. m4_foreach([prog], [hilbert,markov,graver,zsolve,qsolve,rays,ppi,circuits,groebner], [ - AC_CHECK_PROGS([FOURTITWO_]m4_toupper(prog), prog [4ti2-]prog) + AC_CHECK_PROGS([FOURTITWO_]m4_toupper(prog), prog [4ti2-]prog [4ti2_]prog) AS_VAR_IF([FOURTITWO_]m4_toupper(prog), [""], [sage_spkg_install_4ti2=yes]) AC_SUBST([FOURTITWO_]m4_toupper(prog)) ])