X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwrappergen%2Fsrc%2FHXX2SALOME_GENERIC_CLASS_NAME_SRC%2Fadm_local%2Funix%2Fconfig_files%2Fcheck_python.m4;h=2522e3c60f2e1b1b20998a9a3a03b0b1c6286ae5;hb=fc23b8dcb9236e2a86bacc06af8b360ba9c30c69;hp=3c8253293c1d8ce1d461643bcb7db564007c6635;hpb=c81be9b5e74b26e207bd6efd0ccf68418ac536a3;p=modules%2Fyacs.git diff --git a/src/wrappergen/src/HXX2SALOME_GENERIC_CLASS_NAME_SRC/adm_local/unix/config_files/check_python.m4 b/src/wrappergen/src/HXX2SALOME_GENERIC_CLASS_NAME_SRC/adm_local/unix/config_files/check_python.m4 index 3c8253293..2522e3c60 100644 --- a/src/wrappergen/src/HXX2SALOME_GENERIC_CLASS_NAME_SRC/adm_local/unix/config_files/check_python.m4 +++ b/src/wrappergen/src/HXX2SALOME_GENERIC_CLASS_NAME_SRC/adm_local/unix/config_files/check_python.m4 @@ -1,9 +1,9 @@ -dnl Copyright (C) 2006-2012 CEA/DEN, EDF R&D +dnl Copyright (C) 2006-2021 CEA/DEN, EDF R&D dnl dnl This library is free software; you can redistribute it and/or dnl modify it under the terms of the GNU Lesser General Public dnl License as published by the Free Software Foundation; either -dnl version 2.1 of the License. +dnl version 2.1 of the License, or (at your option) any later version. dnl dnl This library is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -56,7 +56,7 @@ AC_DEFUN([CHECK_PYTHON], AC_SUBST(PYTHONHOME) changequote(<<, >>)dnl - PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"` + PYTHON_VERSION=`$PYTHON -c "import sys; print(sys.version[:3])"` changequote([, ])dnl AC_SUBST(PYTHON_VERSION) @@ -79,7 +79,7 @@ AC_DEFUN([CHECK_PYTHON], dnl to know which OS Python thinks this is. AC_SUBST(PYTHON_PLATFORM) - PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"` + PYTHON_PLATFORM=`$PYTHON -c "import sys; print(sys.platform)"` AC_SUBST(PYTHON_SITE) AC_ARG_WITH(python-site,