--- libaitio/configure.in 2010/03/09 09:26:27 1.2 +++ libaitio/configure.in 2011/02/10 22:07:59 1.6.2.1 @@ -1,8 +1,8 @@ # # $Author: misho $ -# $Id: configure.in,v 1.2 2010/03/09 09:26:27 misho Exp $ +# $Id: configure.in,v 1.6.2.1 2011/02/10 22:07:59 misho Exp $ # -AC_INIT(libaitio, 1.0, misho@openbsd-bg.org) +AC_INIT(libaitio, 1.5, misho@openbsd-bg.org) AC_CONFIG_SRCDIR([src/aitio.c]) AC_CONFIG_HEADERS([inc/config.h]) @@ -45,6 +45,20 @@ AC_ARG_ENABLE(debug, ;; esac ],) AC_MSG_RESULT($DEBUG) + +AIO=yes +AC_MSG_CHECKING(AIO Build) +AC_ARG_ENABLE(aio, + [ --enable-aio Build library with AIO operations], + [ AIO=$enableval + case "$enableval" in + yes) + AC_DEFINE(AIO_OPS,, [Build library with AIO operations]) + ;; + *) + ;; + esac ], AC_DEFINE(AIO_OPS,, [Build library with AIO operations])) +AC_MSG_RESULT($AIO) AC_CONFIG_FILES([Makefile inc/Makefile