diff options
author | Changwoo Ryu <cwryu@debian.org> | 2014-10-13 03:44:26 +0900 |
---|---|---|
committer | Changwoo Ryu <cwryu@debian.org> | 2014-10-13 03:44:26 +0900 |
commit | 1b4247fc0675450564c733e5caa40768cd413162 (patch) | |
tree | 3a645ab7d82becc2dd2b4047f8c1846bb8b866fa | |
parent | f8998fd2252ef3ed88e2b9e71f43eaca6bbb1af9 (diff) | |
download | ibus-hangul-1b4247fc0675450564c733e5caa40768cd413162.tar.gz |
Add configure --with-python option
It could be used to select python2 or python3
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 57e4b20..a3e016c 100644 --- a/configure.ac +++ b/configure.ac @@ -67,7 +67,12 @@ PKG_CHECK_MODULES(HANGUL, [ AC_PATH_PROG(ENV_PROG, env) AC_SUBST(ENV_PROG) -#check python +# Define python version +AC_ARG_WITH(python, + AS_HELP_STRING([--with-python[=PATH]], + [Select python2 or python3]), + [PYTHON=$with_python], [] +) AM_PATH_PYTHON([2.5]) # define GETTEXT_* variables |