X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=configure.ac;h=eabcff2aeae81c868f509b86c5e10bece5300a42;hb=4601fccef0e891f7eb5c2a33995e239c1d9590c1;hp=c922e3224866aea009ac843b726830e61a6e3a4a;hpb=b7d2e95f49f3b34c9f00a0fb4d9de10bba056180;p=lttng-tools.git diff --git a/configure.ac b/configure.ac index c922e3224..eabcff2ae 100644 --- a/configure.ac +++ b/configure.ac @@ -53,6 +53,8 @@ LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" CC="$PTHREAD_CC" +AX_LIB_SOCKET_NSL + # Compute minor/major/patchlevel version numbers major_version=$(echo AC_PACKAGE_VERSION | $SED 's/^\([[0-9]]\)*\.[[0-9]]*\.[[0-9]]*.*$/\1/') minor_version=$(echo AC_PACKAGE_VERSION | $SED 's/^[[0-9]]*\.\([[0-9]]*\)\.[[0-9]]*.*$/\1/') @@ -111,7 +113,7 @@ AC_CHECK_FUNCS([ \ gethostbyname gethostname getpagesize localtime_r memchr memset \ mkdir munmap putenv realpath rmdir socket strchr strcspn strdup \ strncasecmp strndup strnlen strpbrk strrchr strstr strtol strtoul \ - strtoull \ + strtoull dirfd gethostbyname2 getipnodebyname \ ]) # Babeltrace viewer check @@ -403,8 +405,6 @@ else fi -AX_LIB_SOCKET_NSL - # Epoll check. If not present, the build will fallback on poll() API AX_HAVE_EPOLL( [AX_CONFIG_FEATURE_ENABLE(epoll)], @@ -752,13 +752,6 @@ AS_IF([test "x${enable_python_binding:-yes}" = xyes], [ AS_ECHO("Disabled") ]) -# Do we build only the consumerd, or everything -AS_IF([test "x$consumerd_only" = "xyes"],[ - AS_ECHO("Only the consumerd daemon will be built.") -],[ - AS_ECHO("All binaries will be built.") -]) - # Print the bindir and libdir this `make install' will install into. AS_ECHO() AS_ECHO_N("Binaries will be installed in: ") @@ -767,47 +760,45 @@ AS_ECHO_N("Libraries will be installed in: ") AS_ECHO("`eval eval echo $libdir`") # If we build the sessiond, print the paths it will use -AS_IF([test "x$consumerd_only" = "xno"],[ - AS_ECHO() - AS_ECHO_N("The lttng command will look for the lttng-sessiond executable at: ") - AS_IF([test "$SESSIOND_BIN" = ""],[ - AS_ECHO_N("`eval eval echo $bindir`") - AS_ECHO("/lttng-sessiond") - ],[ - AS_ECHO("$SESSIOND_BIN") - ]) +AS_ECHO() +AS_ECHO_N("The lttng command will search for the lttng-sessiond executable at: ") +AS_IF([test "$SESSIOND_BIN" = ""],[ + AS_ECHO_N("`eval eval echo $bindir`") + AS_ECHO("/lttng-sessiond") +],[ + AS_ECHO("$SESSIOND_BIN") +]) - AS_ECHO() - AS_ECHO("The sessiond daemon will look in the following directories: ") - AS_ECHO_N("32-bit consumerd executable at: ") - AS_IF([test "$CONSUMERD32_BIN" = ""],[ - AS_ECHO_N("`eval eval echo $lttnglibexecdir`") - AS_ECHO("/lttng-consumerd") - ],[ - AS_ECHO("$CONSUMERD32_BIN") - ]) +AS_ECHO() +AS_ECHO("The sessiond daemon will search the following directories: ") +AS_ECHO_N("32-bit consumerd executable: ") +AS_IF([test "$CONSUMERD32_BIN" = ""],[ + AS_ECHO_N("`eval eval echo $lttnglibexecdir`") + AS_ECHO("/lttng-consumerd") +],[ + AS_ECHO("$CONSUMERD32_BIN") +]) - AS_ECHO_N("32-bit consumer libraries in: ") - AS_IF([test "$CONSUMERD32_LIBDIR" = ""],[ - AS_ECHO("`eval eval echo $libdir`") - ],[ - AS_ECHO("$CONSUMERD32_LIBDIR") - ]) +AS_ECHO_N("32-bit consumer libraries: ") +AS_IF([test "$CONSUMERD32_LIBDIR" = ""],[ + AS_ECHO("`eval eval echo $libdir`") +],[ + AS_ECHO("$CONSUMERD32_LIBDIR") +]) - AS_ECHO_N("64-bit consumerd executable at: ") - AS_IF([test "$CONSUMERD64_BIN" = ""],[ - AS_ECHO_N("`eval eval echo $lttnglibexecdir`") - AS_ECHO("/lttng-consumerd") - ],[ - AS_ECHO("$CONSUMERD64_BIN") - ]) +AS_ECHO_N("64-bit consumerd executable: ") +AS_IF([test "$CONSUMERD64_BIN" = ""],[ + AS_ECHO_N("`eval eval echo $lttnglibexecdir`") + AS_ECHO("/lttng-consumerd") +],[ + AS_ECHO("$CONSUMERD64_BIN") +]) - AS_ECHO_N("64-bit consumer libraries in: ") - AS_IF([test "$CONSUMERD64_LIBDIR" = ""],[ - AS_ECHO("`eval eval echo $libdir`") - ],[ - AS_ECHO("$CONSUMERD64_LIBDIR") - ]) +AS_ECHO_N("64-bit consumer libraries: ") +AS_IF([test "$CONSUMERD64_LIBDIR" = ""],[ + AS_ECHO("`eval eval echo $libdir`") +],[ + AS_ECHO("$CONSUMERD64_LIBDIR") ]) AS_ECHO()