Skip to content

Commit

Permalink
sagemathgh-39111: build/pkgs/planarity/spkg-configure.m4: update head…
Browse files Browse the repository at this point in the history
…er check

In the `./configure` test for libplanarity, we should be testing for
`planarity/graph.h` instead of `planarity/planarity.h`:

  1. `graph.h` is what we actually use in
`src/sage/graphs/planarity.pyx`,
  2. `planarity.h` is going away in a future version.

cf. https://github.com/graph-algorithms/edge-addition-planarity-
suite/pull/125

URL: sagemath#39111
Reported by: Michael Orlitzky
Reviewer(s): Frédéric Chapoton
  • Loading branch information
Release Manager committed Dec 11, 2024
2 parents 6581ac2 + ea0f811 commit 5dbfb88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tarball=configure-VERSION.tar.gz
sha1=ca942ace2e5104f3ae9e57946c8228b0bdb580c5
sha256=99c0a76943170a85d2eb868d72dd673c6b0df529d99b808458bdb3b285dec8fe
sha1=833ad527e9b6578c945d2cfaec675d4dbb8f87d9
sha256=897e5cc212ce07ba9982a87c3b9b3595caef7541b5e1b8cfdf7e2f22d574fa44
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d129e08e85a0c6530fa140dfc04c86ac0b74e05e
35ea9808371c06596778e571092258d3908d8122
2 changes: 1 addition & 1 deletion build/pkgs/planarity/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SAGE_SPKG_CONFIGURE([planarity], [
AC_LANG_PUSH([C])
AC_CHECK_HEADER([planarity/planarity.h], [
AC_CHECK_HEADER([planarity/graph.h], [
AC_CHECK_LIB([planarity], [gp_InitGraph], [
AC_MSG_CHECKING([for planarity version 3.0 or later])
AC_COMPILE_IFELSE(
Expand Down

0 comments on commit 5dbfb88

Please sign in to comment.