use system's gf2x if available
dimpase opened this issue · 16 comments
the usual spkg-configure.m4 thing
Component: packages: standard
Author: Dima Pasechnik
Branch: 844e241
Reviewer: François Bissey
Issue created by migration from https://trac.sagemath.org/ticket/27238
the test is not sufficient to tell version 1.2 from 1.1
One ought to be able to test for signature of a particular function in gf2x.h, which changed from 1.1 to 1.2.
gf2x takes long time to build, as it does tuning, so that's quite a building speedup.
Is there a mix of tabs and white spaces in that file? Just looking at it in the browser, I didn't checkout the branch. Other than that it looks sound and should do the trick.
Branch pushed to git repo; I updated commit sha1. New commits:
844e241 | whitespaces adjusted, tabs removed |
fixed whitespaces now, sorry.
Those things are quite clear on the diff but I think they are harmless in M4. Let's move on.
Reviewer: François Bissey
Changed branch from u/dimpase/packages/gf2x-config to 844e241
I've provided the upstream with a PR to do a pkg-config configuration, so this could be simplified eventually. See
dimpase/gf2x@c7cd1f2
and
https://gforge.inria.fr/tracker/index.php?func=detail&aid=21746&group_id=1874&atid=6979