summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangwoo Ryu <cwryu@debian.org>2014-10-13 03:44:26 +0900
committerChangwoo Ryu <cwryu@debian.org>2014-10-13 03:44:26 +0900
commit1b4247fc0675450564c733e5caa40768cd413162 (patch)
tree3a645ab7d82becc2dd2b4047f8c1846bb8b866fa
parentf8998fd2252ef3ed88e2b9e71f43eaca6bbb1af9 (diff)
downloadibus-hangul-1b4247fc0675450564c733e5caa40768cd413162.tar.gz
Add configure --with-python option
It could be used to select python2 or python3
-rw-r--r--configure.ac7
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