Skip to content

Commit

Permalink
Trac #34765: meson: Add spkg-configure.m4
Browse files Browse the repository at this point in the history
Although `meson` is written in Python, `meson-python` invokes `meson`
only as an executable (not as a Python package), so we can use a system
`meson` package.

URL: https://trac.sagemath.org/34765
Reported by: mkoeppe
Ticket author(s): Matthias Koeppe
Reviewer(s): Dima Pasechnik
  • Loading branch information
Release Manager committed Nov 21, 2022
2 parents d94c733 + f5b5d99 commit 01beb6a
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/pkgs/meson/distros/alpine.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
meson
1 change: 1 addition & 0 deletions build/pkgs/meson/distros/arch.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
meson
1 change: 1 addition & 0 deletions build/pkgs/meson/distros/debian.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
meson
1 change: 1 addition & 0 deletions build/pkgs/meson/distros/fedora.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
meson
1 change: 1 addition & 0 deletions build/pkgs/meson/distros/freebsd.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
devel/meson
1 change: 1 addition & 0 deletions build/pkgs/meson/distros/gentoo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dev-util/meson
1 change: 1 addition & 0 deletions build/pkgs/meson/distros/homebrew.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
meson
1 change: 1 addition & 0 deletions build/pkgs/meson/distros/nix.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
meson
1 change: 1 addition & 0 deletions build/pkgs/meson/distros/opensuse.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
meson
1 change: 1 addition & 0 deletions build/pkgs/meson/distros/repology.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
meson
1 change: 1 addition & 0 deletions build/pkgs/meson/distros/slackware.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
meson
15 changes: 15 additions & 0 deletions build/pkgs/meson/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
SAGE_SPKG_CONFIGURE(
[meson], [
AC_CACHE_CHECK([for meson >= 0.63.3], [ac_cv_path_MESON], [
AC_PATH_PROGS_FEATURE_CHECK([MESON], [meson], [
meson_version=`$ac_path_MESON --version 2>&1`
AS_IF([test -n "$meson_version"], [
AX_COMPARE_VERSION([$meson_version], [ge], [0.63.3], [
ac_cv_path_MESON="$ac_path_MESON"
ac_path_MESON_found=:
])
])
])
])
AS_IF([test -z "$ac_cv_path_MESON"], [sage_spkg_install_meson=yes])
])

0 comments on commit 01beb6a

Please sign in to comment.