## ##
-## Optionnal features selection ##
+## Optional features selection ##
## ##
# numa integration
# The numa integration requires libnuma
AE_IF_FEATURE_ENABLED([numa], [
- AC_CHECK_LIB([numa], [numa_available], [], [
+ AC_CHECK_LIB([numa], [numa_available], [
+ AC_DEFINE([HAVE_LIBNUMA], [1], [Define to 1 if libnuma is available.])
+ ], [
AC_MSG_ERROR([dnl
libnuma is not available. Please either install it (e.g. libnuma-dev) or use
[LDFLAGS]=-Ldir to specify the right location, or use --disable-numa configure
AX_PROG_JAVA
AX_PROG_JAR
- # Get the CPPFLAGS required to build jni libaries
+ # Get the CPPFLAGS required to build jni libraries
AX_JNI_INCLUDE_DIR
for jni_include_dir in $JNI_INCLUDE_DIRS; do
JNI_CPPFLAGS="$JNI_CPPFLAGS -I$jni_include_dir"