[Pvfs2-cvs] commit by kunkel in pvfs2: configure configure.in
CVS commit program
cvs at parl.clemson.edu
Tue Aug 1 22:13:02 EDT 2006
Update of /projects/cvsroot/pvfs2
In directory parlweb1:/tmp/cvs-serv31760
Modified Files:
Tag: kunkel-branch
configure configure.in
Log Message:
Change default to aio, bugfix aio, I broke it for non-threaded, change
names to use underscores...
Index: configure
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure,v
diff -p -u -r1.302.2.3 -r1.302.2.4
--- configure 26 Jul 2006 17:25:33 -0000 1.302.2.3
+++ configure 2 Aug 2006 02:13:00 -0000 1.302.2.4
@@ -856,7 +856,7 @@ Optional Features:
--disable-static Do not build static client library
--enable-redhat24 Enable workaround for RedHat 2.4 kernel
--enable-nptl-workaround Enable workaround for buggy NPTL/Pthread libraries
- --enable-aio Enable asynchronous I/O instead of threaded I/O
+ --disable-aio use threaded I/O instead of asynchronous I/O
--disable-kernel-aio Forcibly disable kernel aio
--enable-kernel-sendfile Forcibly enable kernel sendfile
--enable-fast Disable optional debugging, enable optimizations.
@@ -5826,11 +5826,16 @@ rm -f conftest.err conftest.$ac_objext \
if test "${enable_aio+set}" = set; then
enableval="$enable_aio"
- if test "x$enableval" = "xyes"; then
- MISC_TROVE_FLAGS="$MISC_TROVE_FLAGS -D__PVFS2_USE_AIO__"
- HAVE_TROVE_AIO=1
-
+ if test "x$enableval" = "xno"; then
+ echo ""
fi
+
+else
+
+ MISC_TROVE_FLAGS="$MISC_TROVE_FLAGS -D__PVFS2_USE_AIO__"
+ HAVE_TROVE_AIO=1
+
+
fi;
Index: configure.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure.in,v
diff -p -u -r1.301.2.3 -r1.301.2.4
--- configure.in 26 Jul 2006 17:25:35 -0000 1.301.2.3
+++ configure.in 2 Aug 2006 02:13:02 -0000 1.301.2.4
@@ -310,14 +310,17 @@ AX_CHECK_PWRITE_AVAILABLE()
dnl use AIO and not threaded I/O
AC_ARG_ENABLE(aio,
-[ --enable-aio Enable asynchronous I/O instead of threaded I/O],
+[ --disable-aio use threaded I/O instead of asynchronous I/O],
[
- if test "x$enableval" = "xyes"; then
- MISC_TROVE_FLAGS="$MISC_TROVE_FLAGS -D__PVFS2_USE_AIO__"
- HAVE_TROVE_AIO=1
- AC_SUBST(HAVE_TROVE_AIO)
+ if test "x$enableval" = "xno"; then
+ echo ""
fi
],
+[
+ MISC_TROVE_FLAGS="$MISC_TROVE_FLAGS -D__PVFS2_USE_AIO__"
+ HAVE_TROVE_AIO=1
+ AC_SUBST(HAVE_TROVE_AIO)
+]
)
if test "x$HAVE_TROVE_PWRITE" = "x" ; then
More information about the Pvfs2-cvs
mailing list