diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-06-28 17:49:33 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-06-28 17:49:33 +0200 |
commit | 4df550174668611d8cb3fcb571656aefb23caba9 (patch) | |
tree | 7a036e05318f0f518e2efd76be3b49c7c7fb3557 /configure | |
parent | ca01064235e35db95bfbdbc65fc0ec9d6a99681d (diff) |
New upstream version 2.0.0~rc1
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 349 |
1 files changed, 57 insertions, 292 deletions
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libvirt 1.3.5. +# Generated by GNU Autoconf 2.69 for libvirt 2.0.0. # # Report bugs to <libvir-list@redhat.com>. # @@ -590,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libvirt' PACKAGE_TARNAME='libvirt' -PACKAGE_VERSION='1.3.5' -PACKAGE_STRING='libvirt 1.3.5' +PACKAGE_VERSION='2.0.0' +PACKAGE_STRING='libvirt 2.0.0' PACKAGE_BUGREPORT='libvir-list@redhat.com' PACKAGE_URL='http://libvirt.org' @@ -659,7 +659,6 @@ with_sanlock=check with_sasl=check with_selinux=check with_ssh2=check -with_systemd_daemon=check with_udev=check with_wireshark_dissector=check with_yajl=check @@ -943,8 +942,6 @@ AUGPARSE XSLTPROC XMLCATALOG XMLLINT -HAVE_GLIBC_RPCGEN_FALSE -HAVE_GLIBC_RPCGEN_TRUE HAVE_RPCGEN_FALSE HAVE_RPCGEN_TRUE RPCGEN @@ -972,10 +969,6 @@ WITH_UDEV_FALSE WITH_UDEV_TRUE UDEV_LIBS UDEV_CFLAGS -WITH_SYSTEMD_DAEMON_FALSE -WITH_SYSTEMD_DAEMON_TRUE -SYSTEMD_DAEMON_LIBS -SYSTEMD_DAEMON_CFLAGS WITH_SSH2_FALSE WITH_SSH2_TRUE SSH2_LIBS @@ -2420,7 +2413,6 @@ with_sasl with_selinux with_selinux_mount with_ssh2 -with_systemd_daemon with_udev with_wireshark_dissector with_ws_plugindir @@ -2456,6 +2448,7 @@ with_vz with_bhyve with_libxml with_gnutls +with_tls_priority with_polkit with_firewalld with_secdriver_selinux @@ -2530,8 +2523,6 @@ PCIACCESS_CFLAGS PCIACCESS_LIBS SSH2_CFLAGS SSH2_LIBS -SYSTEMD_DAEMON_CFLAGS -SYSTEMD_DAEMON_LIBS UDEV_CFLAGS UDEV_LIBS WIRESHARK_DISSECTOR_CFLAGS @@ -3094,7 +3085,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libvirt 1.3.5 to adapt to many kinds of systems. +\`configure' configures libvirt 2.0.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -3164,7 +3155,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libvirt 1.3.5:";; + short | recursive ) echo "Configuration of libvirt 2.0.0:";; esac cat <<\_ACEOF @@ -3246,8 +3237,6 @@ Optional Packages: --with-selinux with libselinux support [default=check] --with-selinux-mount set SELinux mount point [default=check] --with-ssh2 with libssh2 (>= 1.3) support [default=check] - --with-systemd-daemon with libsystemd-daemon (>= 0.27.1) support - [default=check] --with-udev with libudev (>= 145) support [default=check] --with-wireshark-dissector with wireshark (>= 1.11.3) support [default=check] @@ -3294,6 +3283,8 @@ Optional Packages: --with-bhyve add BHyVe support [default=check] --with-libxml=[PFX] libxml2 location --with-gnutls use GNUTLS for encryption [default=check] + --with-tls-priority set the default TLS session priority string + [default=NORMAL] --with-polkit use PolicyKit for UNIX socket access checks [default=check] --with-firewalld enable firewalld support [default=check] @@ -3397,10 +3388,6 @@ Some influential environment variables: linker flags for PCIACCESS, overriding pkg-config SSH2_CFLAGS C compiler flags for SSH2, overriding pkg-config SSH2_LIBS linker flags for SSH2, overriding pkg-config - SYSTEMD_DAEMON_CFLAGS - C compiler flags for SYSTEMD_DAEMON, overriding pkg-config - SYSTEMD_DAEMON_LIBS - linker flags for SYSTEMD_DAEMON, overriding pkg-config UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config UDEV_LIBS linker flags for UDEV, overriding pkg-config WIRESHARK_DISSECTOR_CFLAGS @@ -3506,7 +3493,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libvirt configure 1.3.5 +libvirt configure 2.0.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -4215,7 +4202,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libvirt $as_me 1.3.5, which was +It was created by libvirt $as_me 2.0.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -5210,7 +5197,7 @@ fi # Define the identity of the package. PACKAGE='libvirt' - VERSION='1.3.5' + VERSION='2.0.0' cat >>confdefs.h <<_ACEOF @@ -5252,47 +5239,16 @@ AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. -_am_tools='gnutar plaintar pax cpio none' - -# The POSIX 1988 'ustar' format is defined with fixed-size fields. - # There is notably a 21 bits limit for the UID and the GID. In fact, - # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 - # and bug#13588). - am_max_uid=2097151 # 2^21 - 1 - am_max_gid=$am_max_uid - # The $UID and $GID variables are not portable, so we need to resort - # to the POSIX-mandated id(1) utility. Errors in the 'id' calls - # below are definitely unexpected, so allow the users to see them - # (that is, avoid stderr redirection). - am_uid=`id -u || echo unknown` - am_gid=`id -g || echo unknown` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 -$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } - if test $am_uid -le $am_max_uid; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - _am_tools=none - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 -$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } - if test $am_gid -le $am_max_gid; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - _am_tools=none - fi +_am_tools='gnutar pax cpio none' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 -$as_echo_n "checking how to create a ustar tar archive... " >&6; } + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5 +$as_echo_n "checking how to create a pax tar archive... " >&6; } # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. - _am_tools=${am_cv_prog_tar_ustar-$_am_tools} + _am_tools=${am_cv_prog_tar_pax-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in @@ -5304,8 +5260,8 @@ $as_echo_n "checking how to create a ustar tar archive... " >&6; } echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && break done - am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' - am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' + am__tar="$_am_tar --format=posix -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=posix -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) @@ -5317,14 +5273,14 @@ $as_echo_n "checking how to create a ustar tar archive... " >&6; } am__untar='tar xf -' ;; pax) - am__tar='pax -L -x ustar -w "$$tardir"' - am__tar_='pax -L -x ustar -w "$tardir"' + am__tar='pax -L -x pax -w "$$tardir"' + am__tar_='pax -L -x pax -w "$tardir"' am__untar='pax -r' ;; cpio) - am__tar='find "$$tardir" -print | cpio -o -H ustar -L' - am__tar_='find "$tardir" -print | cpio -o -H ustar -L' - am__untar='cpio -i -H ustar -d' + am__tar='find "$$tardir" -print | cpio -o -H pax -L' + am__tar_='find "$tardir" -print | cpio -o -H pax -L' + am__untar='cpio -i -H pax -d' ;; none) am__tar=false @@ -5335,7 +5291,7 @@ $as_echo_n "checking how to create a ustar tar archive... " >&6; } # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. - test -n "${am_cv_prog_tar_ustar}" && break + test -n "${am_cv_prog_tar_pax}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir @@ -5363,14 +5319,14 @@ $as_echo_n "checking how to create a ustar tar archive... " >&6; } done rm -rf conftest.dir - if ${am_cv_prog_tar_ustar+:} false; then : + if ${am_cv_prog_tar_pax+:} false; then : $as_echo_n "(cached) " >&6 else - am_cv_prog_tar_ustar=$_am_tool + am_cv_prog_tar_pax=$_am_tool fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 -$as_echo "$am_cv_prog_tar_ustar" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5 +$as_echo "$am_cv_prog_tar_pax" >&6; } @@ -5630,7 +5586,7 @@ _ACEOF fi LIBXML_REQUIRED="2.6.0" -GNUTLS_REQUIRED="1.0.25" +GNUTLS_REQUIRED="2.2.0" POLKIT_REQUIRED="0.6" PARTED_REQUIRED="1.8.0" DEVMAPPER_REQUIRED=1.0.0 @@ -60241,171 +60197,6 @@ fi -# Check whether --with-systemd-daemon was given. -if test "${with_systemd_daemon+set}" = set; then : - withval=$with_systemd_daemon; -fi - - - fail=0 - if test "x$with_systemd_daemon" != "xno" ; then - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD_DAEMON" >&5 -$as_echo_n "checking for SYSTEMD_DAEMON... " >&6; } - -if test -n "$SYSTEMD_DAEMON_CFLAGS"; then - pkg_cv_SYSTEMD_DAEMON_CFLAGS="$SYSTEMD_DAEMON_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon >= 0.27.1\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libsystemd-daemon >= 0.27.1") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_SYSTEMD_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon >= 0.27.1" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$SYSTEMD_DAEMON_LIBS"; then - pkg_cv_SYSTEMD_DAEMON_LIBS="$SYSTEMD_DAEMON_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon >= 0.27.1\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libsystemd-daemon >= 0.27.1") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_SYSTEMD_DAEMON_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon >= 0.27.1" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon >= 0.27.1" 2>&1` - else - SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon >= 0.27.1" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$SYSTEMD_DAEMON_PKG_ERRORS" >&5 - - - if test "x$with_systemd_daemon" != "xcheck"; then - fail=1 - fi - with_systemd_daemon=no - -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - - if test "x$with_systemd_daemon" != "xcheck"; then - fail=1 - fi - with_systemd_daemon=no - -else - SYSTEMD_DAEMON_CFLAGS=$pkg_cv_SYSTEMD_DAEMON_CFLAGS - SYSTEMD_DAEMON_LIBS=$pkg_cv_SYSTEMD_DAEMON_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - - with_systemd_daemon=yes - -fi - fi - - if test $fail = 1; then - as_fn_error $? "You must install the libsystemd-daemon >= 0.27.1 pkg-config module to compile libvirt" "$LINENO" 5 - fi - - if test "x$with_systemd_daemon" = "xyes" ; then - -cat >>confdefs.h <<_ACEOF -#define WITH_SYSTEMD_DAEMON 1 -_ACEOF - - fi - - if test "x$with_systemd_daemon" = "xyes"; then - WITH_SYSTEMD_DAEMON_TRUE= - WITH_SYSTEMD_DAEMON_FALSE='#' -else - WITH_SYSTEMD_DAEMON_TRUE='#' - WITH_SYSTEMD_DAEMON_FALSE= -fi - - - - - - - - - - - - - - - - - - old_CFLAGS="$CFLAGS" - old_LIBS="$LIBS" - CFLAGS="$CFLAGS $SYSTEMD_DAEMON_CFLAGS" - LIBS="$LIBS $SYSTEMD_DAEMON_LIBS" - for ac_func in sd_notify -do : - ac_fn_c_check_func "$LINENO" "sd_notify" "ac_cv_func_sd_notify" -if test "x$ac_cv_func_sd_notify" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SD_NOTIFY 1 -_ACEOF - -fi -done - - CFLAGS="$old_CFLAGS" - LIBS="$old_LIBS" - - - - - - - - - - - - - - - - - - - # Check whether --with-udev was given. if test "${with_udev+set}" = set; then : @@ -61829,15 +61620,6 @@ else HAVE_RPCGEN_FALSE= fi - if test "x$ac_cv_path_RPCGEN" != "xno" && - $ac_cv_path_RPCGEN -t </dev/null >/dev/null 2>&1; then - HAVE_GLIBC_RPCGEN_TRUE= - HAVE_GLIBC_RPCGEN_FALSE='#' -else - HAVE_GLIBC_RPCGEN_TRUE='#' - HAVE_GLIBC_RPCGEN_FALSE= -fi - # Extract the first word of "xmllint", so it can be a program name with args. set dummy xmllint; ac_word=$2 @@ -64136,9 +63918,9 @@ fi if test "x$with_login_shell" != "xno"; then - if test "x$with_win" = "xyes"; then + if test "x$with_linux" != "xyes"; then if test "x$with_login_shell" = "xyes"; then - as_fn_error $? "virt-login-shell is not supported on Windows" "$LINENO" 5 + as_fn_error $? "virt-login-shell is supported on Linux only" "$LINENO" 5 else with_login_shell=no; fi @@ -65078,6 +64860,22 @@ fi + +# Check whether --with-tls-priority was given. +if test "${with_tls_priority+set}" = set; then : + withval=$with_tls_priority; +else + with_tls_priority=NORMAL +fi + + + +cat >>confdefs.h <<_ACEOF +#define TLS_PRIORITY "$with_tls_priority" +_ACEOF + + + POLKIT_CFLAGS= POLKIT_LIBS= PKCHECK_PATH= @@ -66986,7 +66784,7 @@ else fi -if test "$with_storage_scsi" = "check"; then +if test "$with_storage_scsi" = "check" || test "$with_storage_scsi" = "yes"; then with_storage_scsi=yes @@ -67004,7 +66802,7 @@ else fi -if test "$with_storage_mpath" = "check"; then +if test "$with_storage_mpath" = "check" || test "$with_storage_mpath" = "yes"; then if test "$with_linux" = "yes"; then with_storage_mpath=yes @@ -67014,6 +66812,9 @@ cat >>confdefs.h <<_ACEOF _ACEOF else + if test "$with_storage_mpath" = "yes"; then + as_fn_error $? "mpath storage is only supported on Linux" "$LINENO" 5 + fi with_storage_mpath=no fi fi @@ -71562,10 +71363,6 @@ if test -z "${WITH_SSH2_TRUE}" && test -z "${WITH_SSH2_FALSE}"; then as_fn_error $? "conditional \"WITH_SSH2\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${WITH_SYSTEMD_DAEMON_TRUE}" && test -z "${WITH_SYSTEMD_DAEMON_FALSE}"; then - as_fn_error $? "conditional \"WITH_SYSTEMD_DAEMON\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${WITH_UDEV_TRUE}" && test -z "${WITH_UDEV_FALSE}"; then as_fn_error $? "conditional \"WITH_UDEV\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -71602,10 +71399,6 @@ if test -z "${HAVE_RPCGEN_TRUE}" && test -z "${HAVE_RPCGEN_FALSE}"; then as_fn_error $? "conditional \"HAVE_RPCGEN\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${HAVE_GLIBC_RPCGEN_TRUE}" && test -z "${HAVE_GLIBC_RPCGEN_FALSE}"; then - as_fn_error $? "conditional \"HAVE_GLIBC_RPCGEN\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then as_fn_error $? "conditional \"ENABLE_DEBUG\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -72271,7 +72064,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libvirt $as_me 1.3.5, which was +This file was extended by libvirt $as_me 2.0.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -72342,7 +72135,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libvirt config.status 1.3.5 +libvirt config.status 2.0.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -74940,36 +74733,6 @@ $as_echo "$as_me: $STR" >&6;} - if test "$with_systemd_daemon" = "no" || test -z "CFLAGS='$SYSTEMD_DAEMON_CFLAGS' LIBS='$SYSTEMD_DAEMON_LIBS'" ; then - STR=`printf "%10s: %-3s" "systemd_daemon" "$with_systemd_daemon"` - else - STR=`printf "%10s: %-3s (%s)" "systemd_daemon" "$with_systemd_daemon" "CFLAGS='$SYSTEMD_DAEMON_CFLAGS' LIBS='$SYSTEMD_DAEMON_LIBS'"` - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: $STR" >&5 -$as_echo "$as_me: $STR" >&6;} - - - - - - - - - - - - - - - - - - - - - - if test "$with_udev" = "no" || test -z "CFLAGS='$UDEV_CFLAGS' LIBS='$UDEV_LIBS'" ; then STR=`printf "%10s: %-3s" "udev" "$with_udev"` @@ -75195,6 +74958,8 @@ $as_echo "$as_me: Loader/NVRAM: $with_loader_nvram" >&6;} $as_echo "$as_me: virt-login-shell: $with_login_shell" >&6;} { $as_echo "$as_me:${as_lineno-$LINENO}: virt-host-validate: $with_host_validate" >&5 $as_echo "$as_me: virt-host-validate: $with_host_validate" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: TLS priority: $with_tls_priority" >&5 +$as_echo "$as_me: TLS priority: $with_tls_priority" >&6;} { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 $as_echo "$as_me: " >&6;} { $as_echo "$as_me:${as_lineno-$LINENO}: Developer Tools" >&5 |