Skip to content

Commit

Permalink
Revert python3 edition checking to 3.2
Browse files Browse the repository at this point in the history
verion checking is better be the lowest available level;
Add with-python option back to allow downstream customize python env.
  • Loading branch information
qiangzhao committed Sep 19, 2024
1 parent 5b794d4 commit ad45afd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,15 @@ AC_CHECK_FUNCS([ibus_config_get_values])
CFLAGS="$save_CFLAGS"
LIBS="$save_LIBS"


# check env
AC_PATH_PROG(ENV, env)
AC_SUBST(ENV)

# check python
AM_PATH_PYTHON([3.7])
AM_PATH_PYTHON([3.2])

# assign the specified python version
AC_ARG_WITH(python, AS_HELP_STRING([--with-python[=PATH]], [Select python version]), [PYTHON=$with_python], [])

# check icon_prop_key in IBus.EngineDesc
AC_MSG_CHECKING([if IBus.EngineDesc has get_icon_prop_key])
Expand Down

0 comments on commit ad45afd

Please sign in to comment.