From: barate Date: Mon, 9 Sep 2013 08:15:44 +0000 (+0000) Subject: Fix system Python detection with autotools on Ubuntu 13.04 X-Git-Tag: begin_agr_portmanager_branch_131004~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=86515e08920c3ea1ab53ebb375c036df854d96df;p=modules%2Fkernel.git Fix system Python detection with autotools on Ubuntu 13.04 --- diff --git a/salome_adm/unix/config_files/python.m4 b/salome_adm/unix/config_files/python.m4 index c79262f4f..6274d6ac9 100644 --- a/salome_adm/unix/config_files/python.m4 +++ b/salome_adm/unix/config_files/python.m4 @@ -64,6 +64,10 @@ AC_DEFUN([CHECK_PYTHON], AC_SUBST(PYTHON_VERSION) PY_MAKEFILE=${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python$PYTHON_VERSION/config/Makefile + if test ! -f "$PY_MAKEFILE"; then + # For Ubuntu >= 13.04 + PY_MAKEFILE=${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python$PYTHON_VERSION/config-${build_cpu}-${build_os}/Makefile + fi if test ! -f "$PY_MAKEFILE"; then if test "${build_cpu::6}" = "x86_64" ; then PY_MAKEFILE=${PYTHON_PREFIX}/lib64/python$PYTHON_VERSION/config/Makefile