diff options
author | Victor Stinner <vstinner@python.org> | 2023-05-24 22:08:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-24 22:08:36 (GMT) |
commit | 17e1fe0f9ba87eb170493daa0a4de207425195fd (patch) | |
tree | db9e645358037bcec78ab5f92ff53a1cb49e691a /configure | |
parent | b1cb30ec8639e4e65f62e8f6cd44e979640431c8 (diff) | |
download | cpython-17e1fe0f9ba87eb170493daa0a4de207425195fd.zip cpython-17e1fe0f9ba87eb170493daa0a4de207425195fd.tar.gz cpython-17e1fe0f9ba87eb170493daa0a4de207425195fd.tar.bz2 |
gh-104773: PEP 594: Remove the nis module (#104897)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 319 |
1 files changed, 0 insertions, 319 deletions
@@ -666,8 +666,6 @@ MODULE__SQLITE3_FALSE MODULE__SQLITE3_TRUE MODULE_READLINE_FALSE MODULE_READLINE_TRUE -MODULE_NIS_FALSE -MODULE_NIS_TRUE MODULE__GDBM_FALSE MODULE__GDBM_TRUE MODULE__DBM_FALSE @@ -847,8 +845,6 @@ TCLTK_LIBS TCLTK_CFLAGS LIBSQLITE3_LIBS LIBSQLITE3_CFLAGS -LIBNSL_LIBS -LIBNSL_CFLAGS LIBMPDEC_INTERNAL LIBMPDEC_CFLAGS MODULE__CTYPES_MALLOC_CLOSURE @@ -1108,8 +1104,6 @@ LIBUUID_CFLAGS LIBUUID_LIBS LIBFFI_CFLAGS LIBFFI_LIBS -LIBNSL_CFLAGS -LIBNSL_LIBS LIBSQLITE3_CFLAGS LIBSQLITE3_LIBS TCLTK_CFLAGS @@ -1926,9 +1920,6 @@ Some influential environment variables: LIBFFI_CFLAGS C compiler flags for LIBFFI, overriding pkg-config LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config - LIBNSL_CFLAGS - C compiler flags for LIBNSL, overriding pkg-config - LIBNSL_LIBS linker flags for LIBNSL, overriding pkg-config LIBSQLITE3_CFLAGS C compiler flags for LIBSQLITE3, overriding pkg-config LIBSQLITE3_LIBS @@ -13217,275 +13208,6 @@ fi -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNSL" >&5 -$as_echo_n "checking for LIBNSL... " >&6; } - -if test -n "$LIBNSL_CFLAGS"; then - pkg_cv_LIBNSL_CFLAGS="$LIBNSL_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnsl\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libnsl") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_LIBNSL_CFLAGS=`$PKG_CONFIG --cflags "libnsl" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$LIBNSL_LIBS"; then - pkg_cv_LIBNSL_LIBS="$LIBNSL_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnsl\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libnsl") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_LIBNSL_LIBS=`$PKG_CONFIG --libs "libnsl" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - LIBNSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnsl" 2>&1` - else - LIBNSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnsl" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$LIBNSL_PKG_ERRORS" >&5 - - - LIBNSL_CFLAGS=${LIBNSL_CFLAGS-""} - save_CFLAGS=$CFLAGS -save_CPPFLAGS=$CPPFLAGS -save_LDFLAGS=$LDFLAGS -save_LIBS=$LIBS - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing yp_match" >&5 -$as_echo_n "checking for library containing yp_match... " >&6; } -if ${ac_cv_search_yp_match+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_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 yp_match (); -int -main () -{ -return yp_match (); - ; - return 0; -} -_ACEOF -for ac_lib in '' nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_yp_match=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_yp_match+:} false; then : - break -fi -done -if ${ac_cv_search_yp_match+:} false; then : - -else - ac_cv_search_yp_match=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yp_match" >&5 -$as_echo "$ac_cv_search_yp_match" >&6; } -ac_res=$ac_cv_search_yp_match -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - have_nis=yes -else - have_nis=no -fi - - -CFLAGS=$save_CFLAGS -CPPFLAGS=$save_CPPFLAGS -LDFLAGS=$save_LDFLAGS -LIBS=$save_LIBS - - - case $ac_cv_search_yp_match in #( - no) : - libnsl="" ;; #( - "none required") : - libnsl="" ;; #( - *) : - libnsl="$ac_cv_search_yp_match" - ;; -esac - LIBNSL_LIBS=${LIBNSL_LIBS-$libnsl} - -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - - LIBNSL_CFLAGS=${LIBNSL_CFLAGS-""} - save_CFLAGS=$CFLAGS -save_CPPFLAGS=$CPPFLAGS -save_LDFLAGS=$LDFLAGS -save_LIBS=$LIBS - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing yp_match" >&5 -$as_echo_n "checking for library containing yp_match... " >&6; } -if ${ac_cv_search_yp_match+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_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 yp_match (); -int -main () -{ -return yp_match (); - ; - return 0; -} -_ACEOF -for ac_lib in '' nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_yp_match=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_yp_match+:} false; then : - break -fi -done -if ${ac_cv_search_yp_match+:} false; then : - -else - ac_cv_search_yp_match=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yp_match" >&5 -$as_echo "$ac_cv_search_yp_match" >&6; } -ac_res=$ac_cv_search_yp_match -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - have_nis=yes -else - have_nis=no -fi - - -CFLAGS=$save_CFLAGS -CPPFLAGS=$save_CPPFLAGS -LDFLAGS=$save_LDFLAGS -LIBS=$save_LIBS - - - case $ac_cv_search_yp_match in #( - no) : - libnsl="" ;; #( - "none required") : - libnsl="" ;; #( - *) : - libnsl="$ac_cv_search_yp_match" - ;; -esac - LIBNSL_LIBS=${LIBNSL_LIBS-$libnsl} - -else - LIBNSL_CFLAGS=$pkg_cv_LIBNSL_CFLAGS - LIBNSL_LIBS=$pkg_cv_LIBNSL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - have_nis=yes -fi - -if test "x$have_nis" = xyes; then : - - save_CFLAGS=$CFLAGS -save_CPPFLAGS=$CPPFLAGS -save_LDFLAGS=$LDFLAGS -save_LIBS=$LIBS - - - CPPFLAGS="$CPPFLAGS $LIBNSL_CFLAGS" - for ac_header in rpc/rpc.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "rpc/rpc.h" "ac_cv_header_rpc_rpc_h" "$ac_includes_default" -if test "x$ac_cv_header_rpc_rpc_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_RPC_RPC_H 1 -_ACEOF - -fi - -done - - -CFLAGS=$save_CFLAGS -CPPFLAGS=$save_CPPFLAGS -LDFLAGS=$save_LDFLAGS -LIBS=$save_LIBS - - - -fi - - if test "$ac_sys_system" = "Emscripten" -a -z "$LIBSQLITE3_CFLAGS" -a -z "$LIBSQLITE3_LIBS"; then : @@ -25662,13 +25384,11 @@ case $ac_sys_system in #( py_cv_module__scproxy=n/a - py_cv_module_nis=n/a ;; #( QNX*) : py_cv_module__scproxy=n/a - py_cv_module_nis=n/a ;; #( FreeBSD*) : @@ -25691,7 +25411,6 @@ case $ac_sys_system in #( py_cv_module__xxsubinterpreters=n/a py_cv_module__xxinterpchannels=n/a py_cv_module_grp=n/a - py_cv_module_nis=n/a py_cv_module_pwd=n/a py_cv_module_resource=n/a py_cv_module_syslog=n/a @@ -27293,40 +27012,6 @@ fi $as_echo "$py_cv_module__gdbm" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module nis" >&5 -$as_echo_n "checking for stdlib extension module nis... " >&6; } - if test "$py_cv_module_nis" != "n/a"; then : - - if true; then : - if test "$have_nis" = yes -a "$ac_cv_header_rpc_rpc_h" = yes; then : - py_cv_module_nis=yes -else - py_cv_module_nis=missing -fi -else - py_cv_module_nis=disabled -fi - -fi - as_fn_append MODULE_BLOCK "MODULE_NIS_STATE=$py_cv_module_nis$as_nl" - if test "x$py_cv_module_nis" = xyes; then : - - as_fn_append MODULE_BLOCK "MODULE_NIS_CFLAGS=$LIBNSL_CFLAGS$as_nl" - as_fn_append MODULE_BLOCK "MODULE_NIS_LDFLAGS=$LIBNSL_LIBS$as_nl" - -fi - if test "$py_cv_module_nis" = yes; then - MODULE_NIS_TRUE= - MODULE_NIS_FALSE='#' -else - MODULE_NIS_TRUE='#' - MODULE_NIS_FALSE= -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_nis" >&5 -$as_echo "$py_cv_module_nis" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module readline" >&5 $as_echo_n "checking for stdlib extension module readline... " >&6; } if test "$py_cv_module_readline" != "n/a"; then : @@ -28387,10 +28072,6 @@ if test -z "${MODULE__GDBM_TRUE}" && test -z "${MODULE__GDBM_FALSE}"; then as_fn_error $? "conditional \"MODULE__GDBM\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${MODULE_NIS_TRUE}" && test -z "${MODULE_NIS_FALSE}"; then - as_fn_error $? "conditional \"MODULE_NIS\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${MODULE_READLINE_TRUE}" && test -z "${MODULE_READLINE_FALSE}"; then as_fn_error $? "conditional \"MODULE_READLINE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 |