diff options
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index c3b594d55d..761768c45a 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -5497,7 +5497,9 @@ AC_ARG_WITH(aio-support, case "$host_os" in *) AIO_LIBS=$LIBS + no_rt_LIBS=$LIBS AC_CHECK_LIB(rt,aio_read,[AIO_LIBS="$LIBS -lrt"]) + LIBS=$no_rt_LIBS AC_CHECK_LIB(aio,aio_read,[AIO_LIBS="$LIBS -laio"]) AC_CACHE_CHECK([for asynchronous io support],samba_cv_HAVE_AIO,[ aio_LIBS=$LIBS |