Salome HOME
Copyright update 2021
[tools/configuration.git] / autotools / m4 / check_swig.m4
index 8136f11e550e27e2de395f3e89c8daf051c72210..0ebbf9253b15838b58178c41de206e9d760f167b 100644 (file)
@@ -1,4 +1,4 @@
-dnl Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+dnl Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 dnl
 dnl Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 dnl CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -58,7 +58,7 @@ EOF
    AC_MSG_RESULT($swig_ok) 
 fi
 
-numpydir=`$PYTHON -c "import numpy;print numpy.get_include()" 2>/dev/null`
+numpydir=`$PYTHON -c "import numpy;print(numpy.get_include())" 2>/dev/null`
 if test -d "$numpydir"; then
    numpy_ok=yes
    PYTHON_INCLUDES="-I$numpydir $PYTHON_INCLUDES"