From 4f255ffbeb3bf3b4076afc22c14d2641077feb0d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 25 Jan 2001 12:28:46 +0000 Subject: [PATCH] make the configure script die if select() or socket() is missing --- configure.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.in b/configure.in index a1af285ab..ae7ca6540 100644 --- a/configure.in +++ b/configure.in @@ -628,6 +628,9 @@ AC_CHECK_FUNCS( socket \ dnl removed 'getpass' check on October 26, 2000 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) fi