Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tiago Peixoto
graph-tool
Commits
ee4d43cf
Commit
ee4d43cf
authored
Mar 11, 2012
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve automatic detection of scipy/numpy include paths
parent
cb0e04d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
configure.ac
configure.ac
+5
-3
No files found.
configure.ac
View file @
ee4d43cf
...
...
@@ -213,9 +213,10 @@ dnl Checks for header files.
dnl numpy
AC_PYTHON_MODULE(numpy, fatal)
[NUMPY_DIR="${PYTHON_SITE_PKG}/numpy"]
dnl [NUMPY_DIR="${PYTHON_SITE_PKG}/numpy"]
[NUMPY_DIR=`$PYTHON -c "import os, numpy; print os.path.dirname(numpy.__file__)"`]
AC_ARG_WITH([numpy], [AS_HELP_STRING([--with-numpy=DIR],[directory where numpy is installed
[default=
${PYTHON_SITE_PKG}/numpy
] ])],
[default=
"autodetected"
] ])],
NUMPY_DIR=$withval)
[NUMPY_DIR="${NUMPY_DIR}/core/include/numpy"]
AC_CHECK_HEADER([${NUMPY_DIR}/arrayobject.h],
...
...
@@ -225,7 +226,8 @@ AC_CHECK_HEADER([${NUMPY_DIR}/arrayobject.h],
dnl scipy
AC_PYTHON_MODULE(scipy, fatal)
[SCIPY_DIR="${PYTHON_SITE_PKG}/scipy"]
dnl [SCIPY_DIR="${PYTHON_SITE_PKG}/scipy"]
[SCIPY_DIR=`$PYTHON -c "import os, scipy; print os.path.dirname(scipy.__file__)"`]
AC_ARG_WITH([scipy], [AS_HELP_STRING([--with-scipy=DIR],[scipy install directory
[default=${PYTHON_SITE_PKG}/scipy] ])],
[SCIPY_DIR=$withval])
...
...
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