1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

removed the vprintf check, we have our own internal anyway

gethostbyname_r arg-number checks no longer made if there isn't any
gethostbyname_r function!
aborts the configure if socket() is absent
This commit is contained in:
Daniel Stenberg 2000-08-17 16:33:02 +00:00
parent e2a63bee59
commit f8e916db46

View File

@ -170,6 +170,8 @@ AC_CHECK_FUNCS( gethostbyname_r \
inet_ntoa_r
)
if test "$ac_cv_func_gethostbyname_r" = "yes"; then
dnl **********************************************************************
dnl Time to make a check for gethostbyname_r
dnl If it exists, it may use one of three different interfaces
@ -314,6 +316,9 @@ dnl **********************************************************************
fi
fi
dnl **********************************************************************
dnl Back to "normal" configuring
dnl **********************************************************************
@ -369,7 +374,7 @@ AC_DEFINE_UNQUOTED(OS, "${host}")
dnl Checks for library functions.
dnl AC_PROG_GCC_TRADITIONAL
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
dnl AC_FUNC_VPRINTF
AC_CHECK_FUNCS( socket \
select \
strdup \
@ -395,6 +400,10 @@ AC_CHECK_FUNCS( socket \
RAND_screen
)
if test "$ac_cv_func_select" != "yes"; then
AC_MSG_ERROR(Can't work without an existing socket() function)
fi
AC_PATH_PROG( PERL, perl, ,
$PATH:/usr/local/bin/perl:/usr/bin/:/usr/local/bin )
AC_SUBST(PERL)