-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
bpo-45847: Port nis module to PY_STDLIB_MOD (GH-29699) #29699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
Signed-off-by: Christian Heimes <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3191,6 +3191,26 @@ if test "$have_glibc_memmove_bug" = yes; then | |
AS_VAR_APPEND([LIBMPDEC_CFLAGS], [" -U_FORTIFY_SOURCE"]) | ||
fi | ||
|
||
|
||
dnl check for NIS / libnsl dependencies | ||
dnl libnsl dependencies include tirpc includes and lib | ||
PKG_CHECK_MODULES([LIBNSL], [libnsl], [have_nis=yes], [ | ||
LIBNSL_CFLAGS= | ||
AC_SEARCH_LIBS([yp_match], [nsl], [have_nis=yes], [have_nis=no]) | ||
AS_CASE([$ac_cv_search_yp_match], | ||
[no], [LIBNSL_LIBS=], | ||
["none required"], [LIBNSL_LIBS=], | ||
[LIBNSL_LIBS=$ac_cv_search_yp_match] | ||
) | ||
]) | ||
|
||
AS_VAR_IF([have_nis], [yes], [ | ||
WITH_SAVE_ENV([ | ||
CPPFLAGS="$LIBNSL_CFLAGS $CFLAGS" | ||
AC_CHECK_HEADERS([rpc/rpc.h]) | ||
]) | ||
]) | ||
|
||
dnl Check for SQLite library. Use pkg-config if available. | ||
PKG_CHECK_MODULES( | ||
[LIBSQLITE3], [sqlite3 >= 3.7.15], [], [ | ||
|
@@ -6166,6 +6186,9 @@ PY_STDLIB_MOD([_sha3], [test "$with_builtin_sha3" = yes]) | |
PY_STDLIB_MOD([_blake2], [test "$with_builtin_blake2" = yes]) | ||
|
||
PY_STDLIB_MOD([_decimal], [], [], [$LIBMPDEC_CFLAGS], [$LIBMPDEC_LDFLAGS]) | ||
PY_STDLIB_MOD([nis], | ||
[], [test "$have_nis" = yes -a "$ac_cv_header_rpc_rpc_h" = yes], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. AFAICS, header check for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's right there:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤦🏻 |
||
[$LIBNSL_CFLAGS], [$LIBNSL_LIBS]) | ||
PY_STDLIB_MOD([_sqlite3], | ||
[test "$have_sqlite3" = "yes"], | ||
[test "$have_supported_sqlite3" = "yes"], | ||
|
Uh oh!
There was an error while loading. Please reload this page.