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

Commit

Permalink
build/pkgs/gfan/spkg-configure.m4: New
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jan 11, 2020
1 parent b8f53f7 commit 6ec1214
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions build/pkgs/gfan/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SAGE_SPKG_CONFIGURE(
[gfan], [
AC_CACHE_CHECK([for gfan >= 0.6.2], [ac_cv_path_GFAN], [
AC_PATH_PROGS_FEATURE_CHECK([GFAN_VERSION], [gfan_version], [
gfan_version=`$ac_path_GFAN_VERSION | $SED -n '/^gfan/s/gfan//p'`
AS_IF([test -n "$gfan_version"], [
AX_COMPARE_VERSION([$gfan_version], [ge], [0.6.2], [
ac_cv_path_GFAN_VERSION="$ac_path_GFAN_VERSION"
])
])
])
])
AS_IF([test -z "$ac_cv_path_GFAN_VERSION"], [sage_spkg_install_gfan=yes])
])

0 comments on commit 6ec1214

Please sign in to comment.