]> granicus.if.org Git - curl/commitdiff
make the configure script die if select() or socket() is missing
authorDaniel Stenberg <daniel@haxx.se>
Thu, 25 Jan 2001 12:28:46 +0000 (12:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Jan 2001 12:28:46 +0000 (12:28 +0000)
configure.in

index a1af285ab5e954a2235dacfa9bafadc3279d6097..ae7ca6540e4e7b634b9423c1ffaed7b39d03828d 100644 (file)
@@ -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