check for paccept in configure.ac
This commit is contained in:
parent
e643adbd42
commit
5294db4d20
@ -165,8 +165,8 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/ac/ar-lib \
|
|||||||
$(top_srcdir)/ac/config.sub $(top_srcdir)/ac/install-sh \
|
$(top_srcdir)/ac/config.sub $(top_srcdir)/ac/install-sh \
|
||||||
$(top_srcdir)/ac/ltmain.sh $(top_srcdir)/ac/missing \
|
$(top_srcdir)/ac/ltmain.sh $(top_srcdir)/ac/missing \
|
||||||
$(top_srcdir)/pkgs/hio.spec.in ac/ar-lib ac/compile \
|
$(top_srcdir)/pkgs/hio.spec.in ac/ar-lib ac/compile \
|
||||||
ac/config.guess ac/config.sub ac/install-sh ac/ltmain.sh \
|
ac/config.guess ac/config.sub ac/depcomp ac/install-sh \
|
||||||
ac/missing
|
ac/ltmain.sh ac/missing
|
||||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
distdir = $(PACKAGE)-$(VERSION)
|
distdir = $(PACKAGE)-$(VERSION)
|
||||||
top_distdir = $(distdir)
|
top_distdir = $(distdir)
|
||||||
|
2
hio/configure
vendored
2
hio/configure
vendored
@ -14187,7 +14187,7 @@ _ACEOF
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
for ac_func in pipe2 accept4 sendmsg recvmsg writev readv
|
for ac_func in pipe2 accept4 paccept sendmsg recvmsg writev readv
|
||||||
do :
|
do :
|
||||||
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||||
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
||||||
|
@ -137,7 +137,7 @@ AC_CHECK_FUNCS([backtrace backtrace_symbols])
|
|||||||
AC_CHECK_FUNCS([fork vfork posix_spawn gettid nanosleep select])
|
AC_CHECK_FUNCS([fork vfork posix_spawn gettid nanosleep select])
|
||||||
AC_CHECK_FUNCS([makecontext swapcontext getcontext setcontext])
|
AC_CHECK_FUNCS([makecontext swapcontext getcontext setcontext])
|
||||||
AC_CHECK_FUNCS([snprintf _vsnprintf _vsnwprintf])
|
AC_CHECK_FUNCS([snprintf _vsnprintf _vsnwprintf])
|
||||||
AC_CHECK_FUNCS([pipe2 accept4 sendmsg recvmsg writev readv])
|
AC_CHECK_FUNCS([pipe2 accept4 paccept sendmsg recvmsg writev readv])
|
||||||
AC_CHECK_FUNCS([isatty mmap munmap])
|
AC_CHECK_FUNCS([isatty mmap munmap])
|
||||||
AC_CHECK_LIB([rt], [clock_gettime], [LIBS="$LIBS -lrt"])
|
AC_CHECK_LIB([rt], [clock_gettime], [LIBS="$LIBS -lrt"])
|
||||||
|
|
||||||
|
@ -235,6 +235,9 @@
|
|||||||
/* Define to 1 if you have the <openssl/ssl.h> header file. */
|
/* Define to 1 if you have the <openssl/ssl.h> header file. */
|
||||||
#undef HAVE_OPENSSL_SSL_H
|
#undef HAVE_OPENSSL_SSL_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `paccept' function. */
|
||||||
|
#undef HAVE_PACCEPT
|
||||||
|
|
||||||
/* Define to 1 if you have the `pipe2' function. */
|
/* Define to 1 if you have the `pipe2' function. */
|
||||||
#undef HAVE_PIPE2
|
#undef HAVE_PIPE2
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#if defined(HAVE_SYS_EVENT_H) && defined(HAVE_KQUEUE) && defined(HAVE_KEVENT)
|
#if defined(HAVE_SYS_EVENT_H) && defined(HAVE_KQUEUE) && defined(HAVE_KEVENT)
|
||||||
# include <sys/event.h>
|
# include <sys/event.h>
|
||||||
# define USE_KQUEUE
|
# define USE_KQUEUE
|
||||||
#if defined(HAVE_SYS_EPOLL_H)
|
#elif defined(HAVE_SYS_EPOLL_H)
|
||||||
# include <sys/epoll.h>
|
# include <sys/epoll.h>
|
||||||
# define USE_EPOLL
|
# define USE_EPOLL
|
||||||
#elif defined(HAVE_SYS_POLL_H)
|
#elif defined(HAVE_SYS_POLL_H)
|
||||||
|
Loading…
Reference in New Issue
Block a user