Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
2e44a3d5
Commit
2e44a3d5
authored
Aug 08, 2019
by
Ralf Mueller
🎣
Browse files
make python handling compatible with python3
parent
fd53d360
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
2e44a3d5
...
...
@@ -312,8 +312,8 @@ AC_ARG_ENABLE(python,
[AC_CHECK_PROG(PYTHON,python,python)
enable_python=no
for PYTHON_INCLUDES in \
"-I`$PYTHON -c 'from distutils import sysconfig;print
sysconfig.get_python_inc()'`" \
"-I`$PYTHON -c 'from distutils import sysconfig;print
sysconfig.get_python_lib(1,1)' | $SED 's/lib/include/'`"
"-I`$PYTHON -c 'from distutils import sysconfig;print
(
sysconfig.get_python_inc()
)
'`" \
"-I`$PYTHON -c 'from distutils import sysconfig;print
(
sysconfig.get_python_lib(1,1)
)
' | $SED 's/lib/include/'`"
do
save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment