summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-04-21 06:52:19 (GMT)
committerGitHub <noreply@github.com>2017-04-21 06:52:19 (GMT)
commit791dc831198f3ecc1531f8e6f05debf4ce234d00 (patch)
treedebedec99881ffb16db1298e05360d398bb5378c /configure
parentf60c9e54f501065f3be2a4cfb4c387dfa2f243a9 (diff)
downloadcpython-791dc831198f3ecc1531f8e6f05debf4ce234d00.zip
cpython-791dc831198f3ecc1531f8e6f05debf4ce234d00.tar.gz
cpython-791dc831198f3ecc1531f8e6f05debf4ce234d00.tar.bz2
remove configure test for inline keyword (#1231)
We require C99, so a configure test for this standard feature is not needed.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure51
1 files changed, 0 insertions, 51 deletions
diff --git a/configure b/configure
index ac16ce7..b4dc5f1 100755
--- a/configure
+++ b/configure
@@ -695,7 +695,6 @@ ARFLAGS
ac_ct_AR
AR
RANLIB
-USE_INLINE
GNULD
LINKCC
LDVERSION
@@ -5839,56 +5838,6 @@ esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNULD" >&5
$as_echo "$GNULD" >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
-$as_echo_n "checking for inline... " >&6; }
-if ${ac_cv_c_inline+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_cv_c_inline=no
-for ac_kw in inline __inline__ __inline; do
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#ifndef __cplusplus
-typedef int foo_t;
-static $ac_kw foo_t static_foo () {return 0; }
-$ac_kw foo_t foo () {return 0; }
-#endif
-
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_c_inline=$ac_kw
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- test "$ac_cv_c_inline" != no && break
-done
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
-$as_echo "$ac_cv_c_inline" >&6; }
-
-case $ac_cv_c_inline in
- inline | yes) ;;
- *)
- case $ac_cv_c_inline in
- no) ac_val=;;
- *) ac_val=$ac_cv_c_inline;;
- esac
- cat >>confdefs.h <<_ACEOF
-#ifndef __cplusplus
-#define inline $ac_val
-#endif
-_ACEOF
- ;;
-esac
-
-if test "$ac_cv_c_inline" != no ; then
-
-$as_echo "#define USE_INLINE 1" >>confdefs.h
-
-
-fi
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-shared" >&5
$as_echo_n "checking for --enable-shared... " >&6; }
# Check whether --enable-shared was given.