diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-12-03 13:35:21 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-12-03 13:35:21 +0100 |
commit | 99476ba2c26d3192ebb752de52ccd6222ea7e095 (patch) | |
tree | b3ea893fc33ae1820db72abd5f644480ddfdf557 /configure | |
parent | 2d087683eb360e4da617c56cd70a57d9eda00082 (diff) |
New upstream version 0.9.8~rc1
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 169 |
1 files changed, 143 insertions, 26 deletions
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.66 for libvirt 0.9.7. +# Generated by GNU Autoconf 2.66 for libvirt 0.9.8. # # Report bugs to <libvir-list@redhat.com>. # @@ -562,8 +562,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libvirt' PACKAGE_TARNAME='libvirt' -PACKAGE_VERSION='0.9.7' -PACKAGE_STRING='libvirt 0.9.7' +PACKAGE_VERSION='0.9.8' +PACKAGE_STRING='libvirt 0.9.8' PACKAGE_BUGREPORT='libvir-list@redhat.com' PACKAGE_URL='http://libvirt.org' @@ -726,6 +726,7 @@ VGS PVS VGSCAN VGCHANGE +LVCHANGE LVREMOVE VGREMOVE PVREMOVE @@ -859,6 +860,10 @@ EBTABLES_PATH IP6TABLES_PATH IPTABLES_PATH IP_PATH +LIBVIRT_INIT_SCRIPT_SYSTEMD_FALSE +LIBVIRT_INIT_SCRIPT_SYSTEMD_TRUE +LIBVIRT_INIT_SCRIPT_UPSTART_FALSE +LIBVIRT_INIT_SCRIPT_UPSTART_TRUE LIBVIRT_INIT_SCRIPT_RED_HAT_FALSE LIBVIRT_INIT_SCRIPT_RED_HAT_TRUE ENABLE_DEBUG_FALSE @@ -886,6 +891,7 @@ HAVE_RPCGEN_TRUE RPCGEN HAVE_LIBTASN1_FALSE HAVE_LIBTASN1_TRUE +RT_LIBS WARN_PYTHON_CFLAGS WARN_LDFLAGS LIBVIRT_NODELETE @@ -2537,7 +2543,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 0.9.7 to adapt to many kinds of systems. +\`configure' configures libvirt 0.9.8 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -2607,7 +2613,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libvirt 0.9.7:";; + short | recursive ) echo "Configuration of libvirt 0.9.8:";; esac cat <<\_ACEOF @@ -2674,8 +2680,9 @@ Optional Packages: --with-test add test driver support [default=yes] --with-remote add remote driver support [default=yes] --with-libvirtd add libvirtd support [default=yes] - --with-init-script=[redhat|auto|none] - Style of init script to install [default=auto] + --with-init-script[=STYLE] + Style of init script to install: redhat, systemd, + systemd+redhat, upstart, auto, none [default=auto] --with-rhel5-api=[ARG] build for the RHEL-5 API [default=no] --with-libxml=[PFX] libxml2 location --with-sasl use cyrus SASL for authentication [default=check] @@ -2864,7 +2871,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libvirt configure 0.9.7 +libvirt configure 0.9.8 generated by GNU Autoconf 2.66 Copyright (C) 2010 Free Software Foundation, Inc. @@ -3568,7 +3575,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 0.9.7, which was +It was created by libvirt $as_me 0.9.8, which was generated by GNU Autoconf 2.66. Invocation command line was $ $0 $@ @@ -4502,7 +4509,7 @@ fi # Define the identity of the package. PACKAGE='libvirt' - VERSION='0.9.7' + VERSION='0.9.8' cat >>confdefs.h <<_ACEOF @@ -49516,9 +49523,26 @@ done LIBS=$old_libs +old_LIBS=$LIBS +RT_LIBS= +LIBS="$LIBS $LIB_PTHREAD -lrt" +ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" +if test "x$ac_cv_func_clock_gettime" = x""yes; then : + + +$as_echo "#define HAVE_CLOCK_GETTIME /**/" >>confdefs.h + + RT_LIBS=-lrt + +fi + +LIBS=$old_libs + + for ac_header in pwd.h paths.h regex.h sys/un.h \ sys/poll.h syslog.h mntent.h net/ethernet.h linux/magic.h \ - sys/un.h sys/syscall.h netinet/tcp.h ifaddrs.h libtasn1.h + sys/un.h sys/syscall.h netinet/tcp.h ifaddrs.h libtasn1.h \ + net/if.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" @@ -50116,11 +50140,6 @@ _ACEOF cat >>confdefs.h <<_ACEOF -#define BRCTL "$BRCTL" -_ACEOF - - -cat >>confdefs.h <<_ACEOF #define TC "$TC" _ACEOF @@ -50379,16 +50398,40 @@ $as_echo_n "checking for init script flavor... " >&6; } # Check whether --with-init-script was given. if test "${with_init_script+set}" = set; then : withval=$with_init_script; +else + with_init_script=check fi -if test "x$with_init_script" = "x" || test "x$with_init_script" = "xauto"; then - if test "$cross_compiling" = yes || test ! -f /etc/redhat-release; then - with_init_script=none - else - with_init_script=redhat - fi -fi - if test x$with_init_script = xredhat; then +init_redhat=no +init_systemd=no +init_upstart=no +case "$with_init_script" in + systemd+redhat) + init_redhat=yes + init_systemd=yes + ;; + systemd) + init_systemd=yes + ;; + upstart) + init_upstart=yes + ;; + redhat) + init_redhat=yes + ;; + none) + ;; + check) + if test "$cross_compiling" != yes && test -f /etc/redhat-release; then + init_redhat=yes + with_init_script=redhat + fi + ;; + *) + as_fn_error $? "Unknown initscript flavour $with_init_script" "$LINENO" 5 + ;; +esac + if test "$init_redhat" = "yes"; then LIBVIRT_INIT_SCRIPT_RED_HAT_TRUE= LIBVIRT_INIT_SCRIPT_RED_HAT_FALSE='#' else @@ -50396,6 +50439,22 @@ else LIBVIRT_INIT_SCRIPT_RED_HAT_FALSE= fi + if test "$init_upstart" = "yes"; then + LIBVIRT_INIT_SCRIPT_UPSTART_TRUE= + LIBVIRT_INIT_SCRIPT_UPSTART_FALSE='#' +else + LIBVIRT_INIT_SCRIPT_UPSTART_TRUE='#' + LIBVIRT_INIT_SCRIPT_UPSTART_FALSE= +fi + + if test "$init_systemd" = "yes"; then + LIBVIRT_INIT_SCRIPT_SYSTEMD_TRUE= + LIBVIRT_INIT_SCRIPT_SYSTEMD_FALSE='#' +else + LIBVIRT_INIT_SCRIPT_SYSTEMD_TRUE='#' + LIBVIRT_INIT_SCRIPT_SYSTEMD_FALSE= +fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_init_script" >&5 $as_echo "$with_init_script" >&6; } @@ -54975,6 +55034,47 @@ $as_echo "no" >&6; } fi + # Extract the first word of "lvchange", so it can be a program name with args. +set dummy lvchange; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if test "${ac_cv_path_LVCHANGE+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + case $LVCHANGE in + [\\/]* | ?:[\\/]*) + ac_cv_path_LVCHANGE="$LVCHANGE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_dummy="$PATH:/sbin:/usr/sbin" +for as_dir in $as_dummy +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_LVCHANGE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +LVCHANGE=$ac_cv_path_LVCHANGE +if test -n "$LVCHANGE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LVCHANGE" >&5 +$as_echo "$LVCHANGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + # Extract the first word of "vgchange", so it can be a program name with args. set dummy vgchange; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 @@ -55188,6 +55288,7 @@ fi if test -z "$PVREMOVE" ; then as_fn_error $? "We need pvremove for LVM storage driver" "$LINENO" 5 ; fi if test -z "$VGREMOVE" ; then as_fn_error $? "We need vgremove for LVM storage driver" "$LINENO" 5 ; fi if test -z "$LVREMOVE" ; then as_fn_error $? "We need lvremove for LVM storage driver" "$LINENO" 5 ; fi + if test -z "$LVCHANGE" ; then as_fn_error $? "We need lvchange for LVM storage driver" "$LINENO" 5 ; fi if test -z "$VGCHANGE" ; then as_fn_error $? "We need vgchange for LVM storage driver" "$LINENO" 5 ; fi if test -z "$VGSCAN" ; then as_fn_error $? "We need vgscan for LVM storage driver" "$LINENO" 5 ; fi if test -z "$PVS" ; then as_fn_error $? "We need pvs for LVM storage driver" "$LINENO" 5 ; fi @@ -55200,6 +55301,7 @@ fi if test -z "$PVREMOVE" ; then with_storage_lvm=no ; fi if test -z "$VGREMOVE" ; then with_storage_lvm=no ; fi if test -z "$LVREMOVE" ; then with_storage_lvm=no ; fi + if test -z "$LVCHANGE" ; then with_storage_lvm=no ; fi if test -z "$VGCHANGE" ; then with_storage_lvm=no ; fi if test -z "$VGSCAN" ; then with_storage_lvm=no ; fi if test -z "$PVS" ; then with_storage_lvm=no ; fi @@ -55247,6 +55349,11 @@ _ACEOF cat >>confdefs.h <<_ACEOF +#define LVCHANGE "$LVCHANGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF #define VGCHANGE "$VGCHANGE" _ACEOF @@ -59566,6 +59673,14 @@ if test -z "${LIBVIRT_INIT_SCRIPT_RED_HAT_TRUE}" && test -z "${LIBVIRT_INIT_SCRI as_fn_error $? "conditional \"LIBVIRT_INIT_SCRIPT_RED_HAT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${LIBVIRT_INIT_SCRIPT_UPSTART_TRUE}" && test -z "${LIBVIRT_INIT_SCRIPT_UPSTART_FALSE}"; then + as_fn_error $? "conditional \"LIBVIRT_INIT_SCRIPT_UPSTART\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${LIBVIRT_INIT_SCRIPT_SYSTEMD_TRUE}" && test -z "${LIBVIRT_INIT_SCRIPT_SYSTEMD_FALSE}"; then + as_fn_error $? "conditional \"LIBVIRT_INIT_SCRIPT_SYSTEMD\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${WITH_OPENVZ_TRUE}" && test -z "${WITH_OPENVZ_FALSE}"; then as_fn_error $? "conditional \"WITH_OPENVZ\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -60206,7 +60321,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 0.9.7, which was +This file was extended by libvirt $as_me 0.9.8, which was generated by GNU Autoconf 2.66. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -60277,7 +60392,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 0.9.7 +libvirt config.status 0.9.8 configured by $0, generated by GNU Autoconf 2.66, with options \\"\$ac_cs_config\\" @@ -62524,6 +62639,8 @@ $as_echo "$as_me: Python: $with_python" >&6;} $as_echo "$as_me: DTrace: $with_dtrace" >&6;} { $as_echo "$as_me:${as_lineno-$LINENO}: XML Catalog: $XML_CATALOG_FILE" >&5 $as_echo "$as_me: XML Catalog: $XML_CATALOG_FILE" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: Init script: $with_init_script" >&5 +$as_echo "$as_me: Init script: $with_init_script" >&6;} { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 $as_echo "$as_me: " >&6;} { $as_echo "$as_me:${as_lineno-$LINENO}: Privileges" >&5 |