mirror of
https://github.com/samba-team/samba.git
synced 2025-02-24 13:57:43 +03:00
r13202: Fix the build for --with-aio-support. Sorry.
Jeremy, configure.in decides whether aio support works quite early in the sequence of checks. Wouldn't it be better to only use aio support if really all necessary functions actually are around? Volker (This used to be commit 246b5b43566f15732091ec9a775b864399f9418d)
This commit is contained in:
parent
bd34c2ac25
commit
5fa89783ab
@ -4530,8 +4530,8 @@ AC_ARG_WITH(aio-support,
|
||||
AC_MSG_RESULT(yes)
|
||||
case "$host_os" in
|
||||
*)
|
||||
AC_CHECK_LIB(rt,aio_read,[AIO_LIBS="$AIO_LIBS -lrt"])
|
||||
AC_CHECK_LIB(aio,aio_read,[AIO_LIBS="$AIO_LIBS -laio"])
|
||||
AC_CHECK_LIB(rt,aio_read,[AIO_LIBS="$LIBS -lrt"])
|
||||
AC_CHECK_LIB(aio,aio_read,[AIO_LIBS="$LIBS -laio"])
|
||||
AC_CACHE_CHECK([for asynchronous io support],samba_cv_HAVE_AIO,[
|
||||
aio_LIBS=$LIBS
|
||||
LIBS=$AIO_LIBS
|
||||
|
Loading…
x
Reference in New Issue
Block a user