diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-06-06 09:23:22 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-06-06 08:23:10 +0200 |
commit | d2f6d0ba1e362522438d78374715485daae10919 (patch) | |
tree | ab1b8bb9ef8fc845cbb326bd5df18f4965c76f3e /source3/smbd | |
parent | bbc1b0c9853322da10483f72c020fe0dd83b28fa (diff) | |
download | samba-d2f6d0ba1e362522438d78374715485daae10919.tar.gz samba-d2f6d0ba1e362522438d78374715485daae10919.tar.bz2 samba-d2f6d0ba1e362522438d78374715485daae10919.zip |
build: Rationalise AIO support in configure, ensure on by default
With this change, the define to check for AIO is HAVE_AIO, consistant
with other subsystems.
It is now also on by default in the autoconf build, as it has been for waf.
Andrew Bartlett
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/aio.c | 2 | ||||
-rw-r--r-- | source3/smbd/globals.c | 2 | ||||
-rw-r--r-- | source3/smbd/globals.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c index aa8aee00fb..131094de36 100644 --- a/source3/smbd/aio.c +++ b/source3/smbd/aio.c @@ -23,7 +23,7 @@ #include "smbd/globals.h" #include "../lib/util/tevent_ntstatus.h" -#if defined(WITH_AIO) +#if defined(HAVE_AIO) /* The signal we'll use to signify aio done. */ #ifndef RT_SIGNAL_AIO diff --git a/source3/smbd/globals.c b/source3/smbd/globals.c index f107c0e661..7c4ffec099 100644 --- a/source3/smbd/globals.c +++ b/source3/smbd/globals.c @@ -25,7 +25,7 @@ #include "messages.h" #include "tdb_compat.h" -#if defined(WITH_AIO) +#if defined(HAVE_AIO) struct aio_extra *aio_list_head = NULL; struct tevent_signal *aio_signal_event = NULL; int aio_pending_size = 0; diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index ccf79fe5ff..2c0056660f 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -20,7 +20,7 @@ #include "system/select.h" -#if defined(WITH_AIO) +#if defined(HAVE_AIO) struct aio_extra; extern struct aio_extra *aio_list_head; extern struct tevent_signal *aio_signal_event; |