Skip to content

Commit

Permalink
TODO: fix python path checking during configure.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-canaday committed Aug 13, 2023
1 parent f0b79e5 commit a6ba31f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions m4/ymo_dependencies.m4
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ AC_DEFUN([YMO_CHECK_DEPENDENCIES],[
AX_CHECK_UUID_UTIL_LINUX([],
[AC_MSG_ERROR([util-linux libuuid required to build libyimmo])])
PKG_CHECK_MODULES([BSAT], [libbsat])
PKG_CHECK_MODULES([PYTHON], [python-3.9-embed], [], [
PKG_CHECK_MODULES([PYTHON], [python-3.8-embed], [YMO_NOTICE([Found python 3.8])], [
PKG_CHECK_MODULES([PYTHON], [python-3.11-embed], [], [
PKG_CHECK_MODULES([PYTHON], [python-3.10-embed], [YMO_NOTICE([Found python 3.10])], [
PKG_CHECK_MODULES([PYTHON], [python3-embed], [YMO_NOTICE([Found python 3])], [
PKG_CHECK_MODULES([PYTHON], [python3], [YMO_NOTICE([Found python 3])])
])
Expand Down
2 changes: 2 additions & 0 deletions wsgi/ymo_wsgi_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ void issue_startup_msg(ymo_wsgi_proc_t* w_proc)
YIMMO_VERSION_MINOR,
YIMMO_VERSION_PATCH);

printf("Python version: %i.%i.%i\n",
PY_MAJOR_VERSION, PY_MINOR_VERSION, PY_MICRO_VERSION);
/* Log level info: */
ymo_log_level_t level = ymo_log_get_level();

Expand Down

0 comments on commit a6ba31f

Please sign in to comment.