mirror of
https://github.com/moparisthebest/curl
synced 2024-11-12 04:25:08 -05:00
make the configure script die if select() or socket() is missing
This commit is contained in:
parent
80d75b0eaf
commit
4f255ffbeb
@ -628,6 +628,9 @@ AC_CHECK_FUNCS( socket \
|
|||||||
dnl removed 'getpass' check on October 26, 2000
|
dnl removed 'getpass' check on October 26, 2000
|
||||||
|
|
||||||
if test "$ac_cv_func_select" != "yes"; then
|
if test "$ac_cv_func_select" != "yes"; then
|
||||||
|
AC_MSG_ERROR(Can't work without an existing select() function)
|
||||||
|
fi
|
||||||
|
if test "$ac_cv_func_socket" != "yes"; then
|
||||||
AC_MSG_ERROR(Can't work without an existing socket() function)
|
AC_MSG_ERROR(Can't work without an existing socket() function)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user