diff options
author | Ned Deily <nad@python.org> | 2021-10-05 10:02:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 10:02:57 (GMT) |
commit | 0af08f343a7b792f527b78e2a35d9453039940c2 (patch) | |
tree | 8ed6359f38c7734bde75576f2f44e8c5b42ec9ce /configure | |
parent | bd627eb7ed08a891dd1356756feb1ce2600358e4 (diff) | |
download | cpython-0af08f343a7b792f527b78e2a35d9453039940c2.zip cpython-0af08f343a7b792f527b78e2a35d9453039940c2.tar.gz cpython-0af08f343a7b792f527b78e2a35d9453039940c2.tar.bz2 |
bpo-45163: Restrict added libnetwork check to builds on Haiku. (GH-28729)
For example, without the guard the check could cause macOS
installer builds to fail to install on older supported macOS
releases where libnetwork is not available and is not needed
on any release.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -10573,8 +10573,9 @@ if test "x$ac_cv_lib_socket_socket" = xyes; then : fi # SVR4 sockets -# Haiku system library -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnetwork" >&5 +case $ac_sys_system/$ac_sys_release in + Haiku*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnetwork" >&5 $as_echo_n "checking for socket in -lnetwork... " >&6; } if ${ac_cv_lib_network_socket+:} false; then : $as_echo_n "(cached) " >&6 @@ -10614,6 +10615,8 @@ if test "x$ac_cv_lib_network_socket" = xyes; then : LIBS="-lnetwork $LIBS" fi + ;; +esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libs" >&5 $as_echo_n "checking for --with-libs... " >&6; } |