diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-01-28 11:30:43 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2006-01-28 11:30:43 +0000 |
commit | b7877966d9d2fd140397264f49163120fbd41dfa (patch) | |
tree | 48622a7d3cba04089d99b6f65c89e19f3acc5d2e /source/configure.in | |
parent | 3e029ecf08ee8db1d6f82ae827e6a704c2f4f48c (diff) | |
download | samba-b7877966d9d2fd140397264f49163120fbd41dfa.tar.gz samba-b7877966d9d2fd140397264f49163120fbd41dfa.tar.xz samba-b7877966d9d2fd140397264f49163120fbd41dfa.zip |
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
Diffstat (limited to 'source/configure.in')
-rw-r--r-- | source/configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/configure.in b/source/configure.in index 44517ae6eab..7079bf7437a 100644 --- a/source/configure.in +++ b/source/configure.in @@ -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 |