diff options
author | Antoine Pitrou <pitrou@free.fr> | 2017-07-18 15:05:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-18 15:05:03 (GMT) |
commit | f474c5a3f3c1fbc0383800b88e8518d43a52d1d1 (patch) | |
tree | 9c29ab7759d4e8b23dcf2ba3f0ff84bf94e9e299 /configure | |
parent | efa26bcd5085279fc4e9ae96d052272a5214c2bd (diff) | |
download | cpython-f474c5a3f3c1fbc0383800b88e8518d43a52d1d1.zip cpython-f474c5a3f3c1fbc0383800b88e8518d43a52d1d1.tar.gz cpython-f474c5a3f3c1fbc0383800b88e8518d43a52d1d1.tar.bz2 |
bpo-30946: Remove obsolete fallback code in readline module (#2738)
* Remove obsolete fallback code in readline module
* Add NEWS
* Remove obsolete include
* Fix macro on Windows
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 44 |
1 files changed, 0 insertions, 44 deletions
@@ -15228,50 +15228,6 @@ $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h fi -# check for readline 2.1 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_callback_handler_install in -lreadline" >&5 -$as_echo_n "checking for rl_callback_handler_install in -lreadline... " >&6; } -if ${ac_cv_lib_readline_rl_callback_handler_install+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lreadline $READLINE_LIBS $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char rl_callback_handler_install (); -int -main () -{ -return rl_callback_handler_install (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_readline_rl_callback_handler_install=yes -else - ac_cv_lib_readline_rl_callback_handler_install=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_callback_handler_install" >&5 -$as_echo "$ac_cv_lib_readline_rl_callback_handler_install" >&6; } -if test "x$ac_cv_lib_readline_rl_callback_handler_install" = xyes; then : - -$as_echo "#define HAVE_RL_CALLBACK 1" >>confdefs.h - -fi - - # check for readline 2.2 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ |