X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=configure.ac;h=06e6e10e645a08e79443ae0df470a116feafaff6;hb=a42089bd2788e4eeb14527c53d9d620fc33141df;hp=67214731eea80be86d7bebcf99fa958644674604;hpb=9e315de8b7ae99a4918373802e90c001142784a3;p=lttng-tools.git diff --git a/configure.ac b/configure.ac index 67214731e..06e6e10e6 100644 --- a/configure.ac +++ b/configure.ac @@ -639,6 +639,17 @@ AX_CONFIG_FEATURE( ) AM_CONDITIONAL([COMPAT_EPOLL], [ test "$enable_epoll" = "yes" ]) +AS_IF([test "x$ac_cv_func_dirfd" = "xyes"], + [AX_CONFIG_FEATURE_ENABLE(dirfd)], + [AX_CONFIG_FEATURE_DISABLE(dirfd)] +) +AX_CONFIG_FEATURE( + [dirfd], [Use directory file descriptors], + [COMPAT_DIRFD], [This platform supports directory file descriptors.], + [enable_dirfd="yes"], [enable_dirfd="no"] +) +AM_CONDITIONAL([COMPAT_DIRFD], [ test "$enable_dirfd" = "yes" ]) + AM_CONDITIONAL([TEST_JAVA_JUL_AGENT], [test "x$test_java_agent_jul" = "xyes"]) AM_CONDITIONAL([TEST_JAVA_LOG4J_AGENT], [test "x$test_java_agent_log4j" = "xyes"])