Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
9b55b319
Commit
9b55b319
authored
Nov 21, 2009
by
Tiago Peixoto
Browse files
Fix bug with locate and python detection in m4/ax_python.m4
parent
0fcef394
Changes
1
Show whitespace changes
Inline
Side-by-side
m4/ax_python.m4
View file @
9b55b319
...
...
@@ -64,7 +64,7 @@ ax_python_bin=$PYTHON_BIN
if test x$ax_python_bin != x; then
AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no)
AC_CHECK_HEADER([$ax_python_bin/Python.h],
[[ax_python_header=`locate
-n 1
$ax_python_bin/Python.h | sed -e s,/Python.h,,`]],
[[ax_python_header=`locate $ax_python_bin/Python.h |
head -n 1 |
sed -e s,/Python.h,,`]],
ax_python_header=no)
if test "$ax_python_lib" != "no"; then
if test "$ax_python_header" != "no"; then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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