]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2339] changed the search order of python executable: seek python3.x first.
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 9 Oct 2012 20:17:59 +0000 (13:17 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Thu, 11 Oct 2012 17:04:42 +0000 (10:04 -0700)
this works around a bit awkward installation setup where there's a link
from "python3" to "python3.x" but not from "python3-config" to the
corresponding "python3.x-config".  That happens for recent versions of
Homebrew.

configure.ac

index 4799b7d60c5ff83017b5881f28ba8597d5eb0c93..4cea7ae8e374024a0689443d75755bb394750944 100644 (file)
@@ -232,7 +232,7 @@ AM_CONDITIONAL(SET_ENV_LIBRARY_PATH, test $SET_ENV_LIBRARY_PATH = yes)
 AC_SUBST(SET_ENV_LIBRARY_PATH)
 AC_SUBST(ENV_LIBRARY_PATH)
 
-m4_define([_AM_PYTHON_INTERPRETER_LIST], [python python3 python3.1 python3.2])
+m4_define([_AM_PYTHON_INTERPRETER_LIST], [python python3.2 python3.1 python3])
 AC_ARG_WITH([pythonpath],
 AC_HELP_STRING([--with-pythonpath=PATH],
   [specify an absolute path to python executable when automatic version check (incorrectly) fails]),