You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2013/05/03 00:34:38 UTC
git commit: Reorder Linux AIO autoconf detection
Updated Branches:
refs/heads/master 0bcdca5ac -> 634cb6622
Reorder Linux AIO autoconf detection
Keep the checking message near the result so that it is not interleaved
with unrelated junk.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/634cb662
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/634cb662
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/634cb662
Branch: refs/heads/master
Commit: 634cb6622bc786813f8d05ef7550e58ce8bd804b
Parents: 0bcdca5
Author: James Peach <jp...@apache.org>
Authored: Thu May 2 15:33:29 2013 -0700
Committer: James Peach <jp...@apache.org>
Committed: Thu May 2 15:33:29 2013 -0700
----------------------------------------------------------------------
configure.ac | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/634cb662/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index b4c629a..911e053 100644
--- a/configure.ac
+++ b/configure.ac
@@ -411,18 +411,6 @@ fi
TS_ARG_ENABLE_VAR([use], [reclaimable_freelist])
AC_SUBST(use_reclaimable_freelist)
-#
-# If the OS is linux, we can use the '--enable-linux-native-aio' option to
-# replace the aio thread mode. Effective only on the linux system.
-#
-
-AC_MSG_CHECKING([whether to enable Linux native AIO])
-AC_ARG_ENABLE([linux-native-aio],
- [AS_HELP_STRING([--enable-linux-native-aio], [enable native Linux AIO support @<:@default=no@:>@])],
- [enable_linux_native_aio="${enableval}"],
- [enable_linux_native_aio=no]
-)
-
# Configure how many stats to allocate for plugins. Default is 512.
#
AC_ARG_WITH([max-api-stats],
@@ -1208,6 +1196,18 @@ AS_IF([test "x$enable_posix_cap" != "xno"],
)
AC_SUBST(use_posix_cap)
+#
+# If the OS is linux, we can use the '--enable-linux-native-aio' option to
+# replace the aio thread mode. Effective only on the linux system.
+#
+
+AC_MSG_CHECKING([whether to enable Linux native AIO])
+AC_ARG_ENABLE([linux-native-aio],
+ [AS_HELP_STRING([--enable-linux-native-aio], [enable native Linux AIO support @<:@default=no@:>@])],
+ [enable_linux_native_aio="${enableval}"],
+ [enable_linux_native_aio=no]
+)
+
AS_IF([test "x$enable_linux_native_aio" = "xyes"], [
if test $host_os_def != "linux"; then
AC_MSG_ERROR([Linux native AIO can only be enabled on Linux systems])