[Numpy-svn] r8564 - trunk/numpy/core
numpy-svn at scipy.org
numpy-svn at scipy.org
Sat Jul 31 06:13:56 EDT 2010
Author: rgommers
Date: 2010-07-31 05:13:56 -0500 (Sat, 31 Jul 2010)
New Revision: 8564
Modified:
trunk/numpy/core/SConscript
Log:
BUG: fix numscons build issue introduced in r8541.
The problem was that if endian.h was not detected, @DEFINE_NPY_HAVE_ENDIAN_H@
was still present in _numpyconfig.h, causing compilation to fail.
Modified: trunk/numpy/core/SConscript
===================================================================
--- trunk/numpy/core/SConscript 2010-07-31 10:04:54 UTC (rev 8563)
+++ trunk/numpy/core/SConscript 2010-07-31 10:13:56 UTC (rev 8564)
@@ -81,6 +81,8 @@
st = config.CheckHeader("endian.h")
if st:
numpyconfig_sym.append(('DEFINE_NPY_HAVE_ENDIAN_H', '#define NPY_HAVE_ENDIAN_H 1'))
+else:
+ numpyconfig_sym.append(('DEFINE_NPY_HAVE_ENDIAN_H', ''))
def check_type(type, include = None):
st = config.CheckTypeSize(type, includes = include)
More information about the Numpy-svn
mailing list