Skip to content

Commit

Permalink
Enhance auto detection of python-config
Browse files Browse the repository at this point in the history
Patch by: michaelortmann
  • Loading branch information
michaelortmann authored May 5, 2024
1 parent 093cc36 commit d7d3c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod/python.mod/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ python_avail="false"

if test "x$egg_enable_python" != "xno"; then
if test "x$egg_with_python_config" = "x"; then
AC_PATH_PROGS([python_config_bin], [python3-config python-config])
AC_PATH_PROGS([python_config_bin], [python3-config python-config python3.12-config python3.11-config python3.10-config python3.9-config python3.8-config])
else
if test -d "$egg_with_python_config"; then
AC_MSG_NOTICE([Checking for python-config binaries in $egg_with_python_config])
Expand Down

0 comments on commit d7d3c0c

Please sign in to comment.