--- libaitio/configure.in 2010/02/23 22:54:48 1.1 +++ libaitio/configure.in 2011/02/10 22:07:59 1.6.2.1 @@ -1,8 +1,8 @@ # # $Author: misho $ -# $Id: configure.in,v 1.1 2010/02/23 22:54:48 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]) @@ -46,8 +46,21 @@ 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 - example/Makefile inc/Makefile lib/Makefile src/Makefile])