summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-01-28 11:30:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:17 -0500
commit5fa89783ab44e52495036531c2ceb69f2f9aa59d (patch)
treecbac134b3a62f5593cebaf03327dfd47294df5bb
parentbd34c2ac25af690a00cbbded5b57a834a4e35875 (diff)
downloadsamba-5fa89783ab44e52495036531c2ceb69f2f9aa59d.tar.gz
samba-5fa89783ab44e52495036531c2ceb69f2f9aa59d.tar.bz2
samba-5fa89783ab44e52495036531c2ceb69f2f9aa59d.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 (This used to be commit 246b5b43566f15732091ec9a775b864399f9418d)
-rw-r--r--source3/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 44517ae6ea..7079bf7437 100644
--- a/source3/configure.in
+++ b/source3/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