Commit 5590f887 authored by Tiago Peixoto's avatar Tiago Peixoto

configure.ac: Remove prefix from numpy include

parent 17e38420
Pipeline #273 failed with stage
in 1 minute and 26 seconds
......@@ -195,8 +195,8 @@ AC_ARG_WITH([numpy], [AS_HELP_STRING([--with-numpy=DIR],[directory where numpy i
[NUMPY_CPPFLAGS="-I${NUMPY_DIR}"]
[CPPFLAGS_TEMP=${CPPFLAGS}]
[CPPFLAGS=${PYTHON_CPPFLAGS} ${CPPFLAGS}]
AC_CHECK_HEADER([${NUMPY_DIR}/numpy/arrayobject.h],
[CPPFLAGS=${PYTHON_CPPFLAGS} ${NUMPY_CPPFLAGS} ${CPPFLAGS}]
AC_CHECK_HEADER([numpy/arrayobject.h],
[],
[AC_MSG_ERROR([Numpy extension header not found])],
[[#include "Python.h"]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment