Skip to content

Commit

Permalink
gh-39111: build/pkgs/planarity/spkg-configure.m4: update header check
Browse files Browse the repository at this point in the history
    
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: #39111
Reported by: Michael Orlitzky
Reviewer(s): Frédéric Chapoton
  • Loading branch information
Release Manager committed Dec 13, 2024
2 parents 92e640d + ea0f811 commit 696584f
Showing 1 changed file with 1 addition and 1 deletion.
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 696584f

Please # to comment.