X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;h=b62542287f6fbbaedf7421f288c849253c40eb22;hb=2137460a3901f8abdae909cf72e43e6ac23507ec;hp=1b986eab53aa95690c4e20960c1ccc6691e64866;hpb=3a6597e5885e485f3497a96f4f93a12ab7c5dc7a;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index 1b986eab..b6254228 100644 --- a/configure.ac +++ b/configure.ac @@ -322,7 +322,7 @@ AC_ARG_VAR([CLASSPATH], [Java class path]) ## ## -## Optionnal features selection ## +## Optional features selection ## ## ## # numa integration @@ -404,7 +404,9 @@ AE_IF_FEATURE_ENABLED([java-agent-all], [ # 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 @@ -419,7 +421,7 @@ AS_IF([AE_IS_FEATURE_ENABLED([jni-interface]) || AE_IS_FEATURE_ENABLED([java-age 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"