Skip to content

Commit

Permalink
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. graph-algorithms/edge-addition-planarity-suite#125
  • Loading branch information
orlitzky committed Dec 10, 2024
1 parent f48da11 commit ea0f811
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 ea0f811

Please sign in to comment.