From 8a1496df7ad58936a8f9ff929ff629f3d38f51d8 Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Mon, 7 Jul 2014 21:16:30 +0900 Subject: FEAT: add a check_gcc_variable_attribute function in config command. --- numpy/distutils/command/config.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'numpy/distutils/command/config.py') diff --git a/numpy/distutils/command/config.py b/numpy/distutils/command/config.py index 512471d7f..513d1b064 100644 --- a/numpy/distutils/command/config.py +++ b/numpy/distutils/command/config.py @@ -17,6 +17,7 @@ import distutils from numpy.distutils.exec_command import exec_command from numpy.distutils.mingw32ccompiler import generate_manifest from numpy.distutils.command.autodist import (check_gcc_function_attribute, + check_gcc_variable_attribute, check_inline, check_compiler_gcc4, check_compile_without_warning) @@ -428,6 +429,9 @@ int main () def check_gcc_function_attribute(self, attribute, name): return check_gcc_function_attribute(self, attribute, name) + def check_gcc_variable_attribute(self, attribute): + return check_gcc_variable_attribute(self, attribute) + def check_compile_without_warning(self, code): """Returns True if the given code may be compiled without warning.""" return check_compile_without_warning(self, code) -- cgit v1.2.1