summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/config.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-03-11 06:38:42 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-03-11 06:38:42 +0000
commit354e0ebb14530307b1f1c6b6ae38e3cfc05f364b (patch)
tree610f07ad6e62b085d9143d1177f341d61dfbbb49 /numpy/distutils/command/config.py
parent523a237e73e03636dab96df9856babde479438e6 (diff)
downloadnumpy-354e0ebb14530307b1f1c6b6ae38e3cfc05f364b.tar.gz
Add check for (C) inline.
Diffstat (limited to 'numpy/distutils/command/config.py')
-rw-r--r--numpy/distutils/command/config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/distutils/command/config.py b/numpy/distutils/command/config.py
index f91af019b..67e4030a7 100644
--- a/numpy/distutils/command/config.py
+++ b/numpy/distutils/command/config.py
@@ -15,6 +15,7 @@ from distutils.ccompiler import CompileError, LinkError
import distutils
from numpy.distutils.exec_command import exec_command
from numpy.distutils.mingw32ccompiler import generate_manifest
+from numpy.distutils.command.autodist import check_inline
LANG_EXT['f77'] = '.f'
LANG_EXT['f90'] = '.f90'
@@ -340,6 +341,11 @@ int main ()
return self.try_link(body, headers, include_dirs,
libraries, library_dirs)
+ def check_inline(self):
+ """Return the inline keyword recognized by the compiler, empty string
+ otherwise."""
+ return check_inline(self)
+
def get_output(self, body, headers=None, include_dirs=None,
libraries=None, library_dirs=None,
lang="c"):