diff options
author | Daniel Stutzbach <daniel@stutzbachenterprises.com> | 2010-08-31 19:51:07 (GMT) |
---|---|---|
committer | Daniel Stutzbach <daniel@stutzbachenterprises.com> | 2010-08-31 19:51:07 (GMT) |
commit | a606faa491af05b99dba6ebafa57662cf6b451fe (patch) | |
tree | 240a19fb31ddaadd3742ea85df0b0cb4ff81badd /configure.in | |
parent | 061b14a4a1f64532bfb4d716849ae662c09da62a (diff) | |
download | cpython-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.in | 7 |
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])) |