summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-08-31 19:51:07 (GMT)
committerDaniel Stutzbach <daniel@stutzbachenterprises.com>2010-08-31 19:51:07 (GMT)
commita606faa491af05b99dba6ebafa57662cf6b451fe (patch)
tree240a19fb31ddaadd3742ea85df0b0cb4ff81badd /configure.in
parent061b14a4a1f64532bfb4d716849ae662c09da62a (diff)
downloadcpython-a606faa491af05b99dba6ebafa57662cf6b451fe.zip
cpython-a606faa491af05b99dba6ebafa57662cf6b451fe.tar.gz
cpython-a606faa491af05b99dba6ebafa57662cf6b451fe.tar.bz2
Issue 5553: Improved Py_LOCAL_INLINE to actually inline under compilers other than MSC
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index f36b28c..df8dc9a 100644
--- a/configure.in
+++ b/configure.in
@@ -660,6 +660,13 @@ case `"$ac_prog" -V 2>&1 < /dev/null` in
esac
AC_MSG_RESULT($GNULD)
+AC_C_INLINE
+if test "$ac_cv_c_inline" != no ; then
+ AC_DEFINE(USE_INLINE,1)
+ AC_SUBST(USE_INLINE)
+fi
+
+
AC_MSG_CHECKING(for --enable-shared)
AC_ARG_ENABLE(shared,
AS_HELP_STRING([--enable-shared], [disable/enable building shared python library]))