svn commit: samba r13202 - branches/SAMBA_3_0/source trunk/source

vlendec at samba.org vlendec at samba.org
Sat Jan 28 11:30:45 GMT 2006


Author: vlendec
Date: 2006-01-28 11:30:43 +0000 (Sat, 28 Jan 2006)
New Revision: 13202

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13202

Log:
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

Modified:
   branches/SAMBA_3_0/source/configure.in
   trunk/source/configure.in


Changeset:
Modified: branches/SAMBA_3_0/source/configure.in
===================================================================
--- branches/SAMBA_3_0/source/configure.in	2006-01-28 01:09:08 UTC (rev 13201)
+++ branches/SAMBA_3_0/source/configure.in	2006-01-28 11:30:43 UTC (rev 13202)
@@ -4530,8 +4530,8 @@
 	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

Modified: trunk/source/configure.in
===================================================================
--- trunk/source/configure.in	2006-01-28 01:09:08 UTC (rev 13201)
+++ trunk/source/configure.in	2006-01-28 11:30:43 UTC (rev 13202)
@@ -4558,8 +4558,8 @@
 	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



More information about the samba-cvs mailing list