summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Léonard <laurent@open-minds.org>2010-02-03 19:17:31 +0100
committerLaurent Léonard <laurent@open-minds.org>2010-02-03 19:17:31 +0100
commit022955770ae2df1cecd96113de3c1f0ddf43d81c (patch)
tree25ceb80d44db2d55f5caaa95f5edb33424bdd3d0 /configure
parent96f8d94006a423241bbd90ac29efe5ae5bd0b56b (diff)
Imported Upstream version 0.7.6
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure735
1 files changed, 447 insertions, 288 deletions
diff --git a/configure b/configure
index f7603008f..25a09557a 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for libvirt 0.7.5.
+# Generated by GNU Autoconf 2.63 for libvirt 0.7.6.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
@@ -743,8 +743,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='libvirt'
PACKAGE_TARNAME='libvirt'
-PACKAGE_VERSION='0.7.5'
-PACKAGE_STRING='libvirt 0.7.5'
+PACKAGE_VERSION='0.7.6'
+PACKAGE_STRING='libvirt 0.7.6'
PACKAGE_BUGREPORT=''
ac_unique_file="src/libvirt.c"
@@ -1032,11 +1032,10 @@ ANSI2KNR
U
LIBTESTS_LIBDEPS
abs_aux_dir
+HAVE_WINT_T
+HAVE_WCHAR_H
NEXT_AS_FIRST_DIRECTIVE_WCHAR_H
NEXT_WCHAR_H
-HAVE_WCHAR_H
-HAVE_WINT_T
-WCHAR_H
REPLACE_WCWIDTH
REPLACE_WCSNRTOMBS
REPLACE_WCSRTOMBS
@@ -1126,7 +1125,6 @@ REPLACE_NULL
HAVE__BOOL
STDBOOL_H
LIBSOCKET
-SYS_SELECT_H
HAVE_SYS_SELECT_H
NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H
NEXT_SYS_SELECT_H
@@ -1167,6 +1165,7 @@ HAVE_RAWMEMCHR
HAVE_DECL_MEMRCHR
HAVE_MEMPCPY
HAVE_DECL_MEMMEM
+HAVE_MBSLEN
GNULIB_STRVERSCMP
GNULIB_STRSIGNAL
GNULIB_STRERROR
@@ -1371,8 +1370,6 @@ REPLACE_DPRINTF
HAVE_VDPRINTF
HAVE_VASPRINTF
HAVE_RENAMEAT
-HAVE_FTELLO
-HAVE_FSEEKO
HAVE_DPRINTF
HAVE_DECL_VSNPRINTF
HAVE_DECL_SNPRINTF
@@ -1421,7 +1418,6 @@ GNULIB_FFLUSH
GNULIB_FCLOSE
GNULIB_DPRINTF
HAVE_WINSOCK2_H
-SYS_IOCTL_H
SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
SYS_IOCTL_H_HAVE_WINSOCK2_H
GNULIB_IOCTL
@@ -1467,6 +1463,7 @@ HAVE_LINK
HAVE_LCHOWN
HAVE_GETUSERSHELL
HAVE_GETPAGESIZE
+HAVE_GETLOGIN
HAVE_GETHOSTNAME
HAVE_GETGROUPS
HAVE_GETDTABLESIZE
@@ -1500,6 +1497,7 @@ GNULIB_LCHOWN
GNULIB_GETUSERSHELL
GNULIB_GETPAGESIZE
GNULIB_GETLOGIN_R
+GNULIB_GETLOGIN
GNULIB_GETHOSTNAME
GNULIB_GETGROUPS
GNULIB_GETDTABLESIZE
@@ -1522,7 +1520,6 @@ PRAGMA_SYSTEM_HEADER
INCLUDE_NEXT_AS_FIRST_DIRECTIVE
INCLUDE_NEXT
HAVE_ARPA_INET_H
-ARPA_INET_H
HAVE_DECL_INET_PTON
HAVE_DECL_INET_NTOP
GNULIB_INET_PTON
@@ -2282,7 +2279,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.7.5 to adapt to many kinds of systems.
+\`configure' configures libvirt 0.7.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -2352,7 +2349,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libvirt 0.7.5:";;
+ short | recursive ) echo "Configuration of libvirt 0.7.6:";;
esac
cat <<\_ACEOF
@@ -2373,10 +2370,10 @@ Optional Features:
--enable-compile-warnings=[no/minimum/yes/maximum/error]
Turn on compiler warnings
--enable-iso-c Try to warn if code is not ISO C
- --enable-debug=no/yes enable debugging output
- --enable-test-coverage turn on code coverage instrumentation
- --enable-test-oom memory allocation failure checking
- --enable-test-locking thread locking tests using CIL
+ --enable-debug=[no|yes] enable debugging output [default=yes]
+ --enable-test-coverage turn on code coverage instrumentation [default=no]
+ --enable-test-oom memory allocation failure checking [default=no]
+ --enable-test-locking thread locking tests using CIL [default=no]
--disable-nls do not use Native Language Support
--disable-rpath do not hardcode runtime library paths
@@ -2390,56 +2387,70 @@ Optional Packages:
$datadir/doc/html
--with-html-subdir=path directory used under html-dir, default
$PACKAGE-$VERSION/html
- --with-xen add XEN support (on)
- --with-xen-inotify add XEN inotify support (on)
- --with-qemu add QEMU/KVM support (on)
- --with-uml add UML support (on)
- --with-openvz add OpenVZ support (on)
- --with-libssh2=PFX libssh2 location
- --with-phyp=PFX add PHYP support (on)
- --with-vbox add VirtualBox support (on)
- --with-lxc add Linux Container support (on)
- --with-one add ONE support (on)
- --with-esx add ESX support (on)
- --with-test add test driver support (on)
- --with-remote add remote driver support (on)
- --with-libvirtd add libvirtd support (on)
- --with-remote-pid-file=pidfile|none
+ --with-xen add XEN support [default=check]
+ --with-xen-inotify add XEN inotify support [default=check]
+ --with-qemu add QEMU/KVM support [default=yes]
+ --with-uml add UML support [default=check]
+ --with-openvz add OpenVZ support [default=yes]
+ --with-libssh2=[PFX] libssh2 location [default=/usr/local/lib]
+ --with-phyp add PHYP support [default=check]
+ --with-vbox add VirtualBox support [default=yes]
+ --with-lxc add Linux Container support [default=check]
+ --with-one add ONE support [default=check]
+ --with-esx add ESX support [default=check]
+ --with-test add test driver support [default=yes]
+ --with-remote add remote driver support [default=yes]
+ --with-libvirtd add libvirtd support [default=yes]
+ --with-remote-pid-file=[pidfile|none]
PID file for libvirtd
- --with-init-script=redhat|auto|none
- Style of init script to install (defaults to 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
- --with-yajl use YAJL for JSON parsing/formatting
- --with-polkit use PolicyKit for UNIX socket access checks
- --with-avahi use avahi to advertise remote daemon
- --with-selinux use SELinux to manage security
- --with-secdriver-selinux use SELinux security driver
- --with-apparmor use AppArmor to manage security
- --with-secdriver-apparmor use AppArmor security driver
- --with-numactl use numactl for host topology info
- --with-capng use libcap-ng to reduce libvirtd privileges
- --with-network with virtual network driver (on)
- --with-netcf libnetcf support to configure physical host network interfaces
- --with-storage-fs with FileSystem backend for the storage driver (on)
- --with-storage-lvm with LVM backend for the storage driver (on)
- --with-storage-iscsi with iSCSI backend for the storage driver (on)
- --with-storage-scsi with SCSI backend for the storage driver (on)
- --with-storage-mpath with mpath backend for the storage driver (on)
- --with-storage-disk with GPartd Disk backend for the storage driver (on)
- --with-python Build python bindings (on)
- --with-xen-proxy add XEN setuid proxy support (on)
+ --with-init-script=[redhat|auto|none]
+ Style of init script to install [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]
+ --with-yajl use YAJL for JSON parsing/formatting [default=check]
+ --with-polkit use PolicyKit for UNIX socket access checks
+ [default=check]
+ --with-avahi use avahi to advertise remote daemon [default=check]
+ --with-selinux use SELinux to manage security [default=check]
+ --with-secdriver-selinux
+ use SELinux security driver [default=check]
+ --with-apparmor use AppArmor to manage security [default=check]
+ --with-secdriver-apparmor
+ use AppArmor security driver [default=check]
+ --with-numactl use numactl for host topology info [default=check]
+ --with-capng use libcap-ng to reduce libvirtd privileges
+ [default=check]
+ --with-network with virtual network driver [default=yes]
+ --with-netcf libnetcf support to configure physical host network
+ interfaces [default=check]
+ --with-storage-fs with FileSystem backend for the storage driver
+ [default=check]
+ --with-storage-lvm with LVM backend for the storage driver
+ [default=check]
+ --with-storage-iscsi with iSCSI backend for the storage driver
+ [default=check]
+ --with-storage-scsi with SCSI backend for the storage driver
+ [default=check]
+ --with-storage-mpath with mpath backend for the storage driver
+ [default=check]
+ --with-storage-disk with GPartd Disk backend for the storage driver
+ [default=check]
+ --with-python Build python bindings [default=yes]
+ --with-xen-proxy add XEN setuid proxy support [default=auto]
--with-gnu-ld assume the C compiler uses GNU ld default=no
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
--without-libiconv-prefix don't search for libiconv in includedir and libdir
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
--without-libintl-prefix don't search for libintl in includedir and libdir
- --with-driver-modules build drivers as loadable modules
- --with-hal use HAL for host device enumeration
- --with-udev use libudev for host device enumeration
- --with-qemu-user username to run QEMU system instance as
- --with-qemu-group groupname to run QEMU system instance as
+ --with-driver-modules build drivers as loadable modules [default=no]
+ --with-hal use HAL for host device enumeration [default=check]
+ --with-udev use libudev for host device enumeration
+ [default=check]
+ --with-qemu-user username to run QEMU system instance as
+ [default=root]
+ --with-qemu-group groupname to run QEMU system instance as
+ [default=root]
Some influential environment variables:
CC C compiler command
@@ -2555,7 +2566,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libvirt configure 0.7.5
+libvirt configure 0.7.6
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -2569,7 +2580,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.7.5, which was
+It was created by libvirt $as_me 0.7.6, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -3457,7 +3468,7 @@ fi
# Define the identity of the package.
PACKAGE='libvirt'
- VERSION='0.7.5'
+ VERSION='0.7.6'
cat >>confdefs.h <<_ACEOF
@@ -6337,7 +6348,6 @@ fi
GNULIB_INET_PTON=0;
HAVE_DECL_INET_NTOP=1;
HAVE_DECL_INET_PTON=1;
- ARPA_INET_H='';
@@ -6780,6 +6790,7 @@ _ACEOF
GNULIB_GETDTABLESIZE=0;
GNULIB_GETGROUPS=0;
GNULIB_GETHOSTNAME=0;
+ GNULIB_GETLOGIN=0;
GNULIB_GETLOGIN_R=0;
GNULIB_GETPAGESIZE=0;
GNULIB_GETUSERSHELL=0;
@@ -6813,6 +6824,7 @@ _ACEOF
HAVE_GETDTABLESIZE=1;
HAVE_GETGROUPS=1;
HAVE_GETHOSTNAME=1;
+ HAVE_GETLOGIN=1;
HAVE_GETPAGESIZE=1;
HAVE_GETUSERSHELL=1;
HAVE_LCHOWN=1;
@@ -6862,7 +6874,6 @@ _ACEOF
SYS_IOCTL_H_HAVE_WINSOCK2_H=0;
SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
- SYS_IOCTL_H='';
@@ -6918,8 +6929,6 @@ _ACEOF
HAVE_DECL_SNPRINTF=1;
HAVE_DECL_VSNPRINTF=1;
HAVE_DPRINTF=1;
- HAVE_FSEEKO=1;
- HAVE_FTELLO=1;
HAVE_RENAMEAT=1;
HAVE_VASPRINTF=1;
HAVE_VDPRINTF=1;
@@ -9338,6 +9347,13 @@ $as_echo "$gl_cv_var_stdin_large_offset" >&6; }
+ :
+
+
+
+
+
+
@@ -10152,8 +10168,7 @@ _ACEOF
-
- ARPA_INET_H='arpa/inet.h'
+ :
gl_save_LIBS=$LIBS
@@ -11162,6 +11177,13 @@ fi
+ :
+
+
+
+
+
+
@@ -11602,6 +11624,7 @@ $as_echo "$gl_cv_func_malloc_posix" >&6; }
GNULIB_STRERROR=0;
GNULIB_STRSIGNAL=0;
GNULIB_STRVERSCMP=0;
+ HAVE_MBSLEN=0;
HAVE_DECL_MEMMEM=1;
HAVE_MEMPCPY=1;
HAVE_DECL_MEMRCHR=1;
@@ -13031,10 +13054,13 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_sys_select_h_selfcontained" >&5
$as_echo "$gl_cv_header_sys_select_h_selfcontained" >&6; }
- if test $gl_cv_header_sys_select_h_selfcontained = yes; then
- SYS_SELECT_H=''
- else
- SYS_SELECT_H='sys/select.h'
+
+ :
+
+
+
+
+
@@ -13098,12 +13124,13 @@ $as_echo "$gl_cv_next_sys_select_h" >&6; }
- if test $ac_cv_header_sys_select_h = yes; then
- HAVE_SYS_SELECT_H=1
- else
- HAVE_SYS_SELECT_H=0
- fi
+ if test $ac_cv_header_sys_select_h = yes; then
+ HAVE_SYS_SELECT_H=1
+ else
+ HAVE_SYS_SELECT_H=0
+ fi
+ if test $gl_cv_header_sys_select_h_selfcontained != yes; then
@@ -13280,7 +13307,6 @@ done
-
:
@@ -16048,7 +16074,84 @@ fi
REPLACE_WCSRTOMBS=0;
REPLACE_WCSNRTOMBS=0;
REPLACE_WCWIDTH=0;
- WCHAR_H='';
+
+
+ { $as_echo "$as_me:$LINENO: checking whether <wchar.h> uses 'inline' correctly" >&5
+$as_echo_n "checking whether <wchar.h> uses 'inline' correctly... " >&6; }
+if test "${gl_cv_header_wchar_h_correct_inline+set}" = set; then
+ $as_echo_n "(cached) " >&6
+else
+ gl_cv_header_wchar_h_correct_inline=yes
+ cat >conftest.$ac_ext <<_ACEOF
+
+ /* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#define wcstod renamed_wcstod
+#include <wchar.h>
+extern int zero (void);
+int main () { return zero(); }
+
+_ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ mv conftest.$ac_objext conftest1.$ac_objext
+ cat >conftest.$ac_ext <<_ACEOF
+
+ /* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#define wcstod renamed_wcstod
+#include <wchar.h>
+int zero (void) { return 0; }
+
+_ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ mv conftest.$ac_objext conftest2.$ac_objext
+ if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then
+ :
+ else
+ gl_cv_header_wchar_h_correct_inline=no
+ fi
+ fi
+ fi
+ rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext
+
+fi
+{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_wchar_h_correct_inline" >&5
+$as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; }
+ if test $gl_cv_header_wchar_h_correct_inline = no; then
+ { { $as_echo "$as_me:$LINENO: error: <wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
+This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
+C99 mode. You have four options:
+ - Add the flag -fgnu89-inline to CC and reconfigure, or
+ - Fix your include files, using parts of
+ <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
+ - Use a gcc version older than 4.3, or
+ - Don't use the flags -std=c99 or -std=gnu99.
+Configuration aborted." >&5
+$as_echo "$as_me: error: <wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
+This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
+C99 mode. You have four options:
+ - Add the flag -fgnu89-inline to CC and reconfigure, or
+ - Fix your include files, using parts of
+ <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
+ - Use a gcc version older than 4.3, or
+ - Don't use the flags -std=c99 or -std=gnu99.
+Configuration aborted." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
@@ -16254,7 +16357,6 @@ _ACEOF
if test $ac_cv_header_arpa_inet_h = yes; then
HAVE_ARPA_INET_H=1
else
- ARPA_INET_H='arpa/inet.h'
HAVE_ARPA_INET_H=0
fi
@@ -16738,24 +16840,8 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
fi
{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_fseeko" >&5
$as_echo "$gl_cv_func_fseeko" >&6; }
- if test $gl_cv_func_fseeko = no; then
- HAVE_FSEEKO=0
-
-
-
-
-
-
-
-
-
- gl_LIBOBJS="$gl_LIBOBJS fseeko.$ac_objext"
-
-
- REPLACE_FSEEKO=1
-
-
- elif test $gl_cv_var_stdin_large_offset = no; then
+ if test $gl_cv_func_fseeko = no \
+ || test $gl_cv_var_stdin_large_offset = no; then
@@ -20729,7 +20815,7 @@ done
- ARPA_INET_H='arpa/inet.h'
+ :
gl_save_LIBS=$LIBS
@@ -21029,8 +21115,7 @@ fi
-
- ARPA_INET_H='arpa/inet.h'
+ :
gl_save_LIBS=$LIBS
@@ -21339,8 +21424,7 @@ fi
gl_LIBOBJS="$gl_LIBOBJS ioctl.$ac_objext"
-
- SYS_IOCTL_H='sys/ioctl.h'
+ :
fi
@@ -21642,6 +21726,13 @@ $as_echo "$gl_cv_func_working_mkstemp" >&6; }
+ :
+
+
+
+
+
+
@@ -23176,7 +23267,7 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$a
fi
- rm -f conftest.link
+ rm -f conftest.link conftest.lnk2
fi
{ $as_echo "$as_me:$LINENO: result: $gl_cv_func_readlink_works" >&5
$as_echo "$gl_cv_func_readlink_works" >&6; }
@@ -26028,6 +26119,7 @@ _ACEOF
gl_LIBOBJS="$gl_LIBOBJS stat.$ac_objext"
+
fi
@@ -27917,6 +28009,7 @@ _ACEOF
+
:
@@ -27991,6 +28084,78 @@ $as_echo "$gl_cv_next_stdio_h" >&6; }
+ for gl_func in fseeko ftello; do
+ as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
+ { $as_echo "$as_me:$LINENO: checking whether $gl_func is declared without a macro" >&5
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
+if { as_var=$as_gl_Symbol; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdio.h>
+
+int
+main ()
+{
+#undef $gl_func
+ (void) $gl_func;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ eval "$as_gl_Symbol=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_gl_Symbol=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_gl_Symbol'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ as_val=`eval 'as_val=${'$as_gl_Symbol'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
+_ACEOF
+
+ eval ac_cv_have_decl_$gl_func=yes
+fi
+
+ done
+
+
+
+
+
@@ -29113,12 +29278,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:$LINENO: result: $gl_cv_decl_ioctl_in_sys_ioctl_h" >&5
$as_echo "$gl_cv_decl_ioctl_in_sys_ioctl_h" >&6; }
- if test $gl_cv_decl_ioctl_in_sys_ioctl_h != yes; then
- SYS_IOCTL_H='sys/ioctl.h'
- fi
else
HAVE_SYS_IOCTL_H=0
- SYS_IOCTL_H='sys/ioctl.h'
fi
@@ -29384,10 +29545,13 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_sys_select_h_selfcontained" >&5
$as_echo "$gl_cv_header_sys_select_h_selfcontained" >&6; }
- if test $gl_cv_header_sys_select_h_selfcontained = yes; then
- SYS_SELECT_H=''
- else
- SYS_SELECT_H='sys/select.h'
+
+ :
+
+
+
+
+
@@ -29451,12 +29615,13 @@ $as_echo "$gl_cv_next_sys_select_h" >&6; }
- if test $ac_cv_header_sys_select_h = yes; then
- HAVE_SYS_SELECT_H=1
- else
- HAVE_SYS_SELECT_H=0
- fi
+ if test $ac_cv_header_sys_select_h = yes; then
+ HAVE_SYS_SELECT_H=1
+ else
+ HAVE_SYS_SELECT_H=0
+ fi
+ if test $gl_cv_header_sys_select_h_selfcontained != yes; then
@@ -29626,7 +29791,6 @@ done
fi
-
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
if test -z "$MKDIR_P"; then
@@ -30963,6 +31127,7 @@ $as_echo "$gl_cv_time_r_posix" >&6; }
+
:
@@ -31039,6 +31204,81 @@ $as_echo "$gl_cv_next_unistd_h" >&6; }
+ for gl_func in environ; do
+ as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
+ { $as_echo "$as_me:$LINENO: checking whether $gl_func is declared without a macro" >&5
+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
+if { as_var=$as_gl_Symbol; eval "test \"\${$as_var+set}\" = set"; }; then
+ $as_echo_n "(cached) " >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <unistd.h>
+/* Some systems declare environ in the wrong header. */
+#ifndef __GLIBC__
+# include <stdlib.h>
+#endif
+
+int
+main ()
+{
+#undef $gl_func
+ (void) $gl_func;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
+$as_echo "$ac_try_echo") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ eval "$as_gl_Symbol=yes"
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_gl_Symbol=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+ac_res=`eval 'as_val=${'$as_gl_Symbol'}
+ $as_echo "$as_val"'`
+ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ as_val=`eval 'as_val=${'$as_gl_Symbol'}
+ $as_echo "$as_val"'`
+ if test "x$as_val" = x""yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
+_ACEOF
+
+ eval ac_cv_have_decl_$gl_func=yes
+fi
+
+ done
+
+
+
+
:
@@ -31378,59 +31618,6 @@ done
- { $as_echo "$as_me:$LINENO: checking whether <wchar.h> is standalone" >&5
-$as_echo_n "checking whether <wchar.h> is standalone... " >&6; }
-if test "${gl_cv_header_wchar_h_standalone+set}" = set; then
- $as_echo_n "(cached) " >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-#include <wchar.h>
-wchar_t w;
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- gl_cv_header_wchar_h_standalone=yes
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- gl_cv_header_wchar_h_standalone=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:$LINENO: result: $gl_cv_header_wchar_h_standalone" >&5
-$as_echo "$gl_cv_header_wchar_h_standalone" >&6; }
-
-
- if test $gt_cv_c_wint_t = yes; then
- HAVE_WINT_T=1
- else
- HAVE_WINT_T=0
- fi
-
-
-
-
- if test $gl_cv_header_wchar_h_standalone != yes || test $gt_cv_c_wint_t != yes || test -n "$STDDEF_H"; then
- WCHAR_H=wchar.h
- fi
:
@@ -31439,12 +31626,6 @@ $as_echo "$gl_cv_header_wchar_h_standalone" >&6; }
- if test $ac_cv_header_wchar_h = yes; then
- HAVE_WCHAR_H=1
- else
- HAVE_WCHAR_H=0
- fi
-
@@ -31508,6 +31689,20 @@ $as_echo "$gl_cv_next_wchar_h" >&6; }
+ if test $ac_cv_header_wchar_h = yes; then
+ HAVE_WCHAR_H=1
+ else
+ HAVE_WCHAR_H=0
+ fi
+
+
+
+ if test $gt_cv_c_wint_t = yes; then
+ HAVE_WINT_T=1
+ else
+ HAVE_WINT_T=0
+ fi
+
@@ -34240,8 +34435,8 @@ esac
-macro_version='2.2.6'
-macro_revision='1.3012'
+macro_version='2.2.6b'
+macro_revision='1.3017'
@@ -34717,13 +34912,13 @@ if test "${lt_cv_nm_interface+set}" = set; then
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
- (eval echo "\"\$as_me:34720: $ac_compile\"" >&5)
+ (eval echo "\"\$as_me:34915: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
- (eval echo "\"\$as_me:34723: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+ (eval echo "\"\$as_me:34918: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
- (eval echo "\"\$as_me:34726: output\"" >&5)
+ (eval echo "\"\$as_me:34921: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
@@ -35925,7 +36120,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 35928 "configure"' > conftest.$ac_ext
+ echo '#line 36123 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -37292,11 +37487,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:37295: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:37490: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:37299: \$? = $ac_status" >&5
+ echo "$as_me:37494: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -37631,11 +37826,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:37634: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:37829: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:37638: \$? = $ac_status" >&5
+ echo "$as_me:37833: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -37736,11 +37931,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:37739: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:37934: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:37743: \$? = $ac_status" >&5
+ echo "$as_me:37938: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -37791,11 +37986,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:37794: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:37989: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:37798: \$? = $ac_status" >&5
+ echo "$as_me:37993: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -40594,7 +40789,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 40597 "configure"
+#line 40792 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -40690,7 +40885,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 40693 "configure"
+#line 40888 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -43189,7 +43384,7 @@ fi
if test "${with_xen+set}" = set; then
withval=$with_xen;
else
- with_xen=yes
+ with_xen=check
fi
@@ -43598,6 +43793,8 @@ else
fi
+old_LIBS="$LIBS"
+old_CFLAGS="$CFLAGS"
XEN_LIBS=""
XEN_CFLAGS=""
if test "$with_xen" != "no" ; then
@@ -43606,8 +43803,6 @@ if test "$with_xen" != "no" ; then
XEN_LIBS="-L$with_xen/lib64 -L$with_xen/lib"
fi
fail=0
- old_LIBS="$LIBS"
- old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $XEN_CFLAGS"
LIBS="$LIBS $XEN_LIBS"
{ $as_echo "$as_me:$LINENO: checking for xs_read in -lxenstore" >&5
@@ -43682,21 +43877,16 @@ if test "x$ac_cv_lib_xenstore_xs_read" = x""yes; then
else
- if test "$with_xen" = "check" ; then
- with_xen=no
- else
- with_xen=no
+ if test "$with_xen" = "yes"; then
fail=1
fi
+ with_xen=no
fi
+fi
- test $fail = 1 &&
- { { $as_echo "$as_me:$LINENO: error: You must install the Xen development package to compile Xen driver with -lxenstore" >&5
-$as_echo "$as_me: error: You must install the Xen development package to compile Xen driver with -lxenstore" >&2;}
- { (exit 1); exit 1; }; }
-
+if test "$with_xen" != "no" ; then
@@ -43761,80 +43951,22 @@ _ACEOF
else
- { { $as_echo "$as_me:$LINENO: error: Cannot find standard Xen headers. Is xen-devel installed?" >&5
-$as_echo "$as_me: error: Cannot find standard Xen headers. Is xen-devel installed?" >&2;}
- { (exit 1); exit 1; }; }
+ if test "$with_xen" = "yes"; then
+ fail=1
+ fi
+ with_xen=no
fi
done
-
-
-for ac_header in xen/sys/privcmd.h
-do
-as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
-$as_echo_n "checking for $ac_header... " >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
- $as_echo_n "(cached) " >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include <stdio.h>
-#include <stdint.h>
-#include <xen/xen.h>
-
-
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
-$as_echo "$ac_try_echo") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- eval "$as_ac_Header=yes"
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- eval "$as_ac_Header=no"
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
-ac_res=`eval 'as_val=${'$as_ac_Header'}
- $as_echo "$as_val"'`
- { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-as_val=`eval 'as_val=${'$as_ac_Header'}
- $as_echo "$as_val"'`
- if test "x$as_val" = x""yes; then
- cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-else
+if test "$with_xen" != "no" ; then
+ found=
-for ac_header in xen/linux/privcmd.h
+for ac_header in xen/sys/privcmd.h xen/linux/privcmd.h
do
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
@@ -43849,8 +43981,8 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <stdio.h>
-#include <stdint.h>
-#include <xen/xen.h>
+ #include <stdint.h>
+ #include <xen/xen.h>
#include <$ac_header>
@@ -43893,25 +44025,28 @@ as_val=`eval 'as_val=${'$as_ac_Header'}
cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
-
-else
-
- { { $as_echo "$as_me:$LINENO: error: Cannot find header file <xen/linux/privcmd.h> or <xen/sys/privcmd.h>. Is xen-devel installed?" >&5
-$as_echo "$as_me: error: Cannot find header file <xen/linux/privcmd.h> or <xen/sys/privcmd.h>. Is xen-devel installed?" >&2;}
- { (exit 1); exit 1; }; }
-
+ found=yes; break;
fi
done
-
+ if test "x$found" != "xyes"; then
+ if test "$with_xen" = "yes"; then
+ fail=1
+ fi
+ with_xen=no
+ fi
fi
-done
+LIBS="$old_LIBS"
+CFLAGS="$old_CFLAGS"
- LIBS="$old_LIBS"
- CFLAGS="$old_CFLAGS"
+if test $fail = 1; then
+ { { $as_echo "$as_me:$LINENO: error: You must install the Xen development package to compile Xen driver with -lxenstore" >&5
+$as_echo "$as_me: error: You must install the Xen development package to compile Xen driver with -lxenstore" >&2;}
+ { (exit 1); exit 1; }; }
fi
+
if test "$with_xen" = "yes"; then
cat >>confdefs.h <<_ACEOF
@@ -43919,6 +44054,7 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
fi
+
if test "$with_xen" = "yes"; then
WITH_XEN_TRUE=
WITH_XEN_FALSE='#'
@@ -52214,6 +52350,14 @@ else
fi
+if test "$enable_shared:$with_python" = no:yes; then
+ { $as_echo "$as_me:$LINENO: WARNING: Disabling shared libraries is incompatible with building Python extensions." >&5
+$as_echo "$as_me: WARNING: Disabling shared libraries is incompatible with building Python extensions." >&2;}
+ { $as_echo "$as_me:$LINENO: WARNING: Ignoring --with-python." >&5
+$as_echo "$as_me: WARNING: Ignoring --with-python." >&2;}
+ with_python=no
+fi
+
PYTHON_VERSION=
PYTHON_INCLUDES=
if test "$with_python" != "no" ; then
@@ -52353,6 +52497,14 @@ else
am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
;;
+ *)
+ case $am_py_prefix in
+ /usr|/System*) ;;
+ *)
+ am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
+ ;;
+ esac
+ ;;
esac
fi
@@ -52383,6 +52535,14 @@ else
am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
;;
+ *)
+ case $am_py_exec_prefix in
+ /usr|/System*) ;;
+ *)
+ am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
+ ;;
+ esac
+ ;;
esac
fi
@@ -55694,7 +55854,6 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
-
# Only COPYING.LIB is under version control, yet COPYING
# is included as part of the distribution tarball.
# Copy one to the other, but only if this is a srcdir-build.
@@ -56564,7 +56723,7 @@ exec 6>&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.7.5, which was
+This file was extended by libvirt $as_me 0.7.6, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -56631,7 +56790,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-libvirt config.status 0.7.5
+libvirt config.status 0.7.6
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"