Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/pkgs/giac/spkg-configure.m4: Reject giac >= 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Aug 24, 2020
1 parent 83543d0 commit 4cf38df
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build/pkgs/giac/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@ SAGE_SPKG_CONFIGURE([giac], [
SAGE_SPKG_DEPCHECK([pari], [
dnl giac does not seem to reveal its patchlevel
m4_pushdef([GIAC_MIN_VERSION], [1.5.0])
AC_CACHE_CHECK([for giac >= ]GIAC_MIN_VERSION, [ac_cv_path_GIAC], [
m4_pushdef([GIAC_MAX_VERSION], [1.5.999])
AC_CACHE_CHECK([for giac >= ]GIAC_MIN_VERSION[, <= ]GIAC_MAX_VERSION, [ac_cv_path_GIAC], [
AC_PATH_PROGS_FEATURE_CHECK([GIAC], [giac], [
giac_version=$($ac_path_GIAC --version 2> /dev/null | tail -1)
AS_IF([test -n "$giac_version"], [
AX_COMPARE_VERSION([$giac_version], [ge], GIAC_MIN_VERSION, [
ac_cv_path_GIAC="$ac_path_GIAC"
AX_COMPARE_VERSION([$giac_version], [le], GIAC_MAX_VERSION, [
ac_cv_path_GIAC="$ac_path_GIAC"
])
])
])
])
Expand Down

0 comments on commit 4cf38df

Please sign in to comment.