with_elfutils
with_dyninst
enable_virt
+enable_libvirt
with_python2_probes
with_python3_probes
+enable_monitor
with_bpf
with_selinux
with_java
etc. found).
--enable-virt enable building of stapvirt support (default on if
libvirt etc. found).
+ --disable-libvirt Do not use libvirt even if present
+ --disable-monitor Disable monitor
--enable-http Enable building http web compilation service, if
possible
-if test "x$GMSGFMT" = "x:"; then
- as_fn_error $? "missing gnu /usr/bin/msgfmt" "$LINENO" 5
-fi
-
# We want the 'PYTHON' varible to be python version 2. We also want
# our custom 'PYTHON3' varible to be python version 3.
#
fi
+# Check whether --enable-libvirt was given.
+if test "${enable_libvirt+set}" = set; then :
+ enableval=$enable_libvirt;
+fi
+
+
+if test "$enable_libvirt" != no; then
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvirt" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
- have_libvirt=yes
+ have_libvirt=yes
$as_echo "#define HAVE_LIBVIRT 1" >>confdefs.h
+fi
fi
if test "${have_libvirt}" = "yes"; then
HAVE_LIBVIRT_TRUE=
fi
+# Check whether --enable-monitor was given.
+if test "${enable_monitor+set}" = set; then :
+ enableval=$enable_monitor;
+fi
+
+if test "$enable_monitor" != "no"; then
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jsonc" >&5
$as_echo "yes" >&6; }
have_ncurses=yes
fi
- if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == "yes"; then
+if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == yes; then
+
+$as_echo "#define HAVE_MONITOR_LIBS 1" >>confdefs.h
+
+fi
+fi
+ if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == "yes" -a "$enable_monitor" != "no"; then
HAVE_MONITOR_LIBS_TRUE=
HAVE_MONITOR_LIBS_FALSE='#'
else
HAVE_MONITOR_LIBS_FALSE=
fi
-if test "${have_jsonc}" == "yes" -a "${have_ncurses}" == yes; then
-
-$as_echo "#define HAVE_MONITOR_LIBS 1" >>confdefs.h
-
-fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler .section \"?\" flags support" >&5
$as_echo_n "checking for assembler .section \"?\" flags support... " >&6; }