--- libaitsched/configure 2022/09/26 19:44:25 1.44.2.1 +++ libaitsched/configure 2022/10/03 22:16:36 1.44.2.2 @@ -721,6 +721,7 @@ enable_aio enable_epoll enable_kqueue with_kq_events +with_elwix ' ac_precious_vars='build_alias host_alias @@ -1362,6 +1363,7 @@ Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-kq_events Set how many kqueue events can scheduling at one time + --with-elwix Build library with libelwix memory managemant Some influential environment variables: CC C compiler command @@ -4441,6 +4443,30 @@ printf "%s\n" "#define KQ_EVENTS $KQ_EVENTS" >>confdef { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KQ_EVENTS" >&5 printf "%s\n" "$KQ_EVENTS" >&6; } + +ELWIX=no +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking With libelwix Build" >&5 +printf %s "checking With libelwix Build... " >&6; } + +# Check whether --with-elwix was given. +if test ${with_elwix+y} +then : + withval=$with_elwix; ELWIX=$withval + case "$withval" in + yes) + +printf "%s\n" "#define __ELWIX /**/" >>confdefs.h + + CFLAGS="-g ${CFLAGS}" + LIBS="${LIBS} -lelwix" + ;; + *) + ;; + esac +fi + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ELWIX" >&5 +printf "%s\n" "$ELWIX" >&6; } ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"